You are not logged in.

#1 2004-12-19 02:05:59

n3olynx
Member
From: New York, NY
Registered: 2004-12-06
Posts: 46

Compiling Kernel Question

I'm going to compile the 2.6.9 kernel using abs and following the instructions posted in wiki.  I'm doing this to fix some issues with my computer, mainly USB and SATA. Is there a way that I can compile the kernel without compromising other packages installed through pacman? Ex. ipw2100 would have to be compiled again due to the new kernel.

Offline

#2 2004-12-19 03:30:47

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: Compiling Kernel Question

Start with the .config from the present kernel (/usr/src/linux-2.6.9-ARCH/.config) and then modify from there.   Pacman doesn't change anything to do with the kernel except when you update the kernel and when you install specific drivers (nvidia, alsa, others?).   These are then loaded either with /etc/modprobe.conf or /etc/rc.conf.  Make sure you leave these as modules, if you decide to build them in, take the lines out of the modprobe.conf.

There are a lot of things that you can remove from the build, as they are just there for wide hardware compatibility. 

I think hotplug might autoload your usb module.

Offline

#3 2004-12-19 03:44:47

n3olynx
Member
From: New York, NY
Registered: 2004-12-06
Posts: 46

Re: Compiling Kernel Question

All right, I'll try this out.

Hot plug does load the usb modules correctly. But, the kernel or something crashes when I reboot and the USB devices are still connected. I  previously compiled a new kernel and made USB integrated and this solved the problem. But, I think because I compiled the kernel for a Pentium M processor, modules such as ipw2100 wouldn't be loaded correctly by hotplug.

Thanks

Offline

#4 2004-12-19 06:02:16

n3olynx
Member
From: New York, NY
Registered: 2004-12-06
Posts: 46

Re: Compiling Kernel Question

Nope. That didn't help.  I get errors saying invalid module format for ieee80211_crypt, ieee80211 and ipw2100. So, I guess I have to compile the ipw2100 module to work with my new kernel.

Offline

#5 2004-12-19 12:03:24

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Compiling Kernel Question

you can't switch cpu architecture if you are using arch modules,
it should stay as default,


arch + gentoo + initng + python = enlisy

Offline

#6 2004-12-19 14:10:46

n3olynx
Member
From: New York, NY
Registered: 2004-12-06
Posts: 46

Re: Compiling Kernel Question

I did keep the cpu architecture intact. I just changed the usb section to have USB HID built into the kernel instead of as a module. So I guess for every package that is kernel dependent I have to recompile to work with my kernel.

Offline

Board footer

Powered by FluxBB