Re: custom kernel / driver loading issue

From: William Winkler (spam_at_spam.net)
Date: 05/01/04


Date: Sat, 1 May 2004 07:37:19 -0500

I've had that exact error occur at pivot time when my grub config used
root=/dev/... notation on the kernel line but my fstab used root=label=...

"Peter Eisch" <peter@boku.net> wrote in message
news:BCB72FEA.2F07%peter@boku.net...
>
> I've retrofitted a stripped down RH7.3 install with the current cciss
driver
> (for SmartArray 641 support) and have an image which installs really well
> EXCEPT that after the reboot the kernel's not able to load / and sits with
> the info:
>
> ...
> Red Hat nash version 3.3.10 sta...
> Loading scsi_mod module
> SCSI subsystem driver Revsion...
> Loading sd_mod module
> Loading aic7xxx module
> scsi0: Adaptec AIC7XXX EISA/V...
> <munge>
> scsi1: Adaptec AIC7XXX EISA/V...
> <munge>
>
> blk: queue c254c218, I/O limit 4095MB (mask 0xffffffff)
> Loading jdb module
> Journalled Block Device driver loaded
> Loading ext3 module
> Mounting /proc filesystem
> Creating root device
> Mounting root filesystem
> mount: error 6 mounting ext3
> pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2
> Freeing unused kernel memory: 144k freed
> Kernel panic: No init found. Try passing init= option to kernel
>
> Now, I'm guessing that if I had the cciss.o sitting right next to the
ext3.o
> and the jbd.o there might be a chance that the kernel would load the
> module, right?
>
> [root@host hp]# strings
> /lib/modules/2.4.20-29.7.progeny.3v0/kernel/drivers/block/cciss.o | \
> grep description=
> description=Driver for HP SA5xxx SA6xxx Controllers version 2.4.50-1
> [root@host hp]#
>
> This is the right version and such, so the right driver for the
> 2.4.20-29.7.progeny.3v0 kernel is there. The grub.conf looks totally
legit
> as well with / being defined as: /dev/cciss/c0d0p3.
>
> What do I need to add to the post in my kickstart script to ensure the
> cciss.o driver gets loaded after the OS is installed?
>
> While I'm on that topic, the eepro100 doesn't load either unless 'alias
eth0
> eepro100' is added to the modules.conf.
>
> Are these two problems related?
>
> Thanks for any tips/leads/pointers, etc.
>
> Peter
>



Relevant Pages

  • Re: cpufreq longhaul locks up
    ... Symbols match kernel version 2.6.21. ... Real Time Clock Driver v1.12ac ... Loading scsi_mod ... Loading xfs ...
    (Linux-Kernel)
  • Re: Dynamically loading binaries in Kernel mode.
    ... All I would have to do to detect your dynamic load is to put a bp on ... in the kernel and all the associated ref count problems that arise from ... You can easily write a driver that functions as a DLL, ... keeping the logic intact and loading it when required and unloading it ...
    (microsoft.public.development.device.drivers)
  • Re: CURRENT panics sometimes
    ... > kernel trap 12 with interrupts disabled ... page fault while in kernel mode ... Did you add your NDIS driver to /boot/loader.conf, or are you loading ...
    (freebsd-current)
  • custom kernel / driver loading issue
    ... I've retrofitted a stripped down RH7.3 install with the current cciss driver ... Loading scsi_mod module ... SCSI subsystem driver Revsion... ... Kernel panic: No init found. ...
    (linux.redhat.install)
  • Re: Perfectly updated kernel wont boot
    ... It seems that you need to compile the ext file system as part of the ... kernel and not as a seperate module. ... > Loading scsi_mod module ...
    (linux.redhat)