LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Red Hat custom Kernel compilation mini-How-To for Red Hat 8-9 (https://www.linuxquestions.org/questions/red-hat-31/red-hat-custom-kernel-compilation-mini-how-to-for-red-hat-8-9-a-91503/)

Thetargos 08-27-2004 02:06 AM

I posted a reply on that thread ;)

cuchumino 08-28-2004 10:12 AM

hey ppl.

Im trying to get the 2.6.8.1 linux kernel to run on red hat 9, but i keep getting this problem.
i config the kernel, then i write

# make clean install bzImage modules modules_install

and then it begins to go, and stops almos always here in this part.

LD [M] drivers/net/pcmcia/ibmtr_cs.ko
CC drivers/net/pcmcia/nmclan_cs.mod.o
LD [M] drivers/net/pcmcia/nmclan_cs.ko
CC drivers/net/pcmcia/pcnet_cs.mod.o
In file included from include/linux/sched.h:190,
from include/linux/module.h:10,
from drivers/net/pcmcia/pcnet_cs.mod.c:1:
include/linux/aio.h:159: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[1]: *** [drivers/net/pcmcia/pcnet_cs.mod.o] Error 1
make: *** [modules] Error 2


what do i do??

Thetargos 08-28-2004 05:09 PM

Do you need the PCMCIA subsystem in your kernel? You may want to try to leave that out.

cuchumino 08-28-2004 09:13 PM

that would be under which menu or submenu in menuconfig...??

hehe im a noob at this sort of thing

:newbie:

Thetargos 08-28-2004 10:09 PM

At the buses interfaces, in fact you get to select it/de-select it at many points, I'd suggest you run through all menus to make sure you completely eliminate it ;)

cuchumino 08-28-2004 10:16 PM

thanx dude. that helped. the build is complete. But now when the kernel starts up, i get

no init found

stumped there also

Thetargos 08-28-2004 11:38 PM

You need to enable initial RAM disk support in the kernel due to the way RH boots, that's under Block devices (in device drivers), compile it into the kernel image rather than as a module!

cuchumino 08-29-2004 09:11 AM

okay, at boot im not getting the init error anymore. I am now getting a

Kernel panic : VSF : Unable to mount on unknown block (0,0)


Hey, Thetargos, thanks for the help so far.:)

Thetargos 08-29-2004 08:09 PM

NP, the VFS error is (and please re-read this in the Guide) because in 2.6.x kernels you HAVE to compile your filesystem driver (Ext2, ext3 or ReiserFS) directly into the kernel image!! try that!

cuchumino 08-30-2004 10:46 PM

thanks for the tips. I can get it up and running, withoud cdrom, or sound support...

I get it to start up, but there are some modules that fail to load, i mean when RH loads and all, there are some modules that say FAILED. Should i look for them in the kernel or what?

Im gonna keep reading the guide and see if i missed anything. thanks agaín.

Thetargos 08-31-2004 12:47 AM

Yes, because if you are using the SCSI emulation layer in the kernel, you'll find that it is NOT required for kernels 2.6, this is especially true for CD-Writer and some also recommend this for some DVD drives. Check in your gru.conf for a statement like /dev/hdc=ide-scsi, this means it will use the SCSI emulation for this ATAPI device. Note that if you have a CD-Writer, you will have to update your burning programs, especially cdrecord and cdrdao to ones with support for ATAPI devices (instead of SCSI or emulated devices).

suowei1979 09-16-2004 10:37 PM

thx,it is good:)

Thetargos 09-16-2004 11:51 PM

You are welcome ;)

wongster 11-22-2004 10:28 PM

Hi folks,

I'm on RH9.0 with 2.4.20-8. Saw that there is 2.6.9 available. Is it possible to go from 2.4.20 to 2.6.9? All the resources I can find on the web is about moving from 2.4.20 to 2.4.x, nothing about moving from a .2 to a .6.

Thanks.

Wongster :)

Thetargos 11-22-2004 10:33 PM

Well, going from RH9's 2.4 to 2.6 is no easy endeavor. If you really want to go with 2.6.x, you should either install FC1 (just so you have system virutally identical to RH9) or go straight to FC2 or 3. In FC1 installing a 2.6 kernel is a snap (just build it with the instructions provided in this thread and you will have no problems).


All times are GMT -5. The time now is 06:44 PM.