When you did the make xconfig did you select the compac array and the scsi drive as modules? If not that's you problem. If you just went through looking for the sound and USB Stuff the others are disabled by default. You might be better off getting the kernel tar Ball from kernel.org and really starting from scratch. That way you have to enable every option you want. The LILO error I have had that myself just change the LABLE tag to A real device name "/dev/hda1" or wherever you root is. That should fix that.
-----Original Message----- From: Bryan Durkee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 4:11 PM To: '[EMAIL PROTECTED]' Subject: Long: Cpqarray not found when building custom kernel Hi, Background: I'm a Windows NT/2000 server admin with a little Linux experience, but not much. I'm trying to get proficient enough with Linux so I can deploy a production Linux box, but I'm just not up to speed yet. As an excersise (in frustration?) I'm trying to build a custom kernel on an old Compaq Proliant 2500. Since it's my first attempt and I want to keep things simple, the only things I'm trying to change is to remove sound and USB support. 2.4.18-18.8.0 kernel. I'm following step-by-step the documentation in Appendix A of The Official Red Hat Linux Customization Guide from the web. Started with "make mrproper" in the /usr/src/linux-2.4.18-18.8.0 directory. Did "make xconfig" while in Gnome, for sound and usb I set options to No and then saved and exited. "make dep" seemed to go fine, as did "make clean", "make bzImage", "make modules", and "make modules_install". Problem(?): When I did a "make install", I saw the following errors at the end: No module cpqarray found for kernel 2.4.18-18.8.0custom make[1]: *** [install] Error 1 make[1]: Leaving directory '/usr/src/linux-2.4.18-18.8.0/arch/i386/boot' make: *** [install] Error 2 Not knowing any better, I plowed on. An initrd-2.4.18-18.8.0custom.img file was not in the /boot dir so I tried to create one using: "/sbin/mkinitrd /boot/initrd-2.4.18-18.8.0custom.img 2.4.18-18.8.0custom" which returned the message "No module cpqarray found for kernel 2.4.18-18.8.0custom" and didn't create the initrd file. This seemed very similar to Jeff Davis's "Compiling 2.4.18 kernel - missing module-info file?" post from a while back and I tried to make sense of that thread. I copied the cpqarray.o from /lib/modules/linux-2.4.18-18.8.0/kernel/drivers/block to /lib/modules/2.4.18-18.8.0custom/kernel/drivers/block and did another "make install" which lead to a "No module sym53c8xx found..." Found that file and dumped it into /lib.modules/..../drivers/scsi and tried yet another "make install". That returns a "grubby fatal error: unable to find a suitable template" but it finally did make the /boot/initrd-2.4.18-18.8.0custom.img file. Not knowing any better, I still plowed on. I'm using Lilo and there was no entry created but I added a new section manually. Only thing odd about the entry I created is the line append="mem=exactmap mem=640k@0 mem=127M@1M root=LABEL=/" which is (apparantly) required for Proliant 2500 owners. Ran /sbin/lilo -v and got no errors so I rebooted. Kernel panic is a bad thing, right? Here's the last of the info from the boot: ds: no socket drivers loaded! VFS: Cannot open root device "LABEL=/" or 00:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 00:00 I think things started going seriously wrong when the "make modules" or "make modules_install" didn't put the cpqarray.o and sym53c8xx.o files into /lib/modules/linux-2.4.18-18.8.0custom/kernel/drivers/... where they were needed, but I'm guessing about that. Even if it's a good guess, I still don't have a clue as to how I should make that work better next time. Any advice or assistance would be greatly appreciated, thanks for managing to read through the entire message. Bryan Durkee NT Server Manager More info: I searched for cpqarr* from / and found a lot of cpqarray files, including: cpqarray.c in /usr/src/linux-2.4.18-18.8.0/drivers/block cpqarray.h in /usr/src/linux-2.4.18-18.8.0/drivers/block cpqarray.o in /lib/modules/linux-2.4.18-18.8.0/kernel/drivers/block No idea which ones are important or relevant. /etc/modules.conf has the following lines in it related to SCSI: alias scsi_hostadapter cpqarray alias scsi_hostadapter1 sym53c8xx -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list
