Skip to main content

Problems compiling 2.4 kernel

More
20 years 6 months ago #3464 by jacko0
Hi,
I am trying to compile my first kernel. I am using a book called Beginning Red Hat Linux 9.
I follow the guide up to the point when i "make install"

when that finishes i get the following error

H E L P!!


Thanks

Jacko


*Snip*
make[2]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot/compressed'
objcopy -O binary -R .note -R .comment -S compressed/bvmlinux compressed/bvmlinux.out
tools/build -b bbootsect bsetup compressed/bvmlinux.out CURRENT > bzImage
Root device is (8, 2)
Boot sector 512 bytes.
Setup is 2520 bytes.
System is 1250 kB
warning: kernel is too big for standalone boot from floppy
sh -x ./install.sh 2.4.26 bzImage /usr/src/linux-2.4.26/System.map ""
+ ''
+ ''
+ exec /sbin/installkernel 2.4.26 bzImage /usr/src/linux-2.4.26/System.map ''
/lib/modules/2.4.26 is not a directory.
mkinitrd failed
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/boot'
make: *** [install] Error 2
More
20 years 6 months ago #3470 by sahirh
hmm looks like a problem with the modules, did you run a make modules ? just as a tip, i found rh9 a pain in the neck to recompile the kernel for.. in fat in the end I gave up on it.. tat was 2.4.20-8 to 2.6.0 stable.. but there were a lot of issues already..


what kernel are you currently running. ?

Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
More
20 years 6 months ago #3490 by jacko0
OK, The main reason why i am tring to recomile the kernel is because i am using an IBM T40 laptop and i want to get the Centrino wireless card working. I know there was no support for it in Linux, but the drivers have now been released.
So i goto ipw2100.sourceforge.net/ Download the drivers.

I have tried to follow the instructions but I am not winning!

I want to add the drivers into the kernel and not load in the drivers/modules everytime linux boots.

I understand about the kernel tree, I have got 2.4 and 2.6 kernels.
I was going to try 2.4 first, so i follow the instructions and add the driver to the wireless path in the tree. I think I have to then run a patch to tell xconfig to add the new wireless driver.

But when i run the patch the pc just hangs.

So i try and modify the kernel without adding any new driver just to see if i can get that to work. Everything is fine until the make install.
Time to create page: 0.120 seconds