2.6.8 stock kernel bug

From: Haines Brown (brownh_at_teufel.hartford-hwp.com)
Date: 12/24/04


Date: Fri, 24 Dec 2004 17:24:04 GMT

I've been exploring the problem that I can't mount my IDE cdrom
drive (sarge with kernel 2.6.8-1-386). Apparently, the kernel does not
load the driver, even though it's a stock kernel.

I now have looked at bugs for kernel-image-2.6.8-1-386 and find the
following comment:

> The kernel doesn't detect the CD-ROM drives automatically, which
> forces you to hack around.
>
> The problem is that by default, the initrd loads the ata_piix
> module, which detects ide0 bus correctly as SATA, but for some
> reason missdetects the normal ATA ide1 bus, and when later
> ide-generic is loaded, it fails to find the CDROMS.
>
> This is the output after a normal boot, with ata_piix loaded before
> ide-generic.
>
> ...
>
> Making the initrd load ide-generic before the rest fixes this issue
> for us, but I don't know if that has implications in other setups.
>
> After this issue is worked around, the install finishes without
> further problems, but of course you have to recreate the inird in
> the newly installed Debian system or the same problem gets reroduced
> with the Debian kernel.

Apparently recompiling the kernel is not the solution.

How do I implement this hack? How do I get ide-generic to load first?

This discussion is concerning the installer, but my system is already
up and running. Is the implication that I must recompile my initrd
such that ide-generic is loaded first?

-- 
      Haines Brown
        


Relevant Pages

  • Re: Person new to FreeBSD needs help...
    ... It comes up when the system can't find a bootable kernel; ... It sounds like it's a pretty cut and dried install. ... Person new to FreeBSD needs help... ... > out what is going wrong, but it wasn't far from "unable to load ...
    (freebsd-questions)
  • Re: 2.4.22 & IDE modules
    ... > recently installed my first debian desktop box. ... > install cd linked to on debian.org, finished the base install, canceled ... But I still have to load ide-detect manually to ... > I'd much prefer to stick with the provided binary kernel packages. ...
    (Debian-User)
  • Unable to load a kernel !
    ... Unable to load a kernel! ... Booting from CD FreeBSD seems to install without problems. ...
    (freebsd-questions)
  • Re: Very high load on P4 machines with 2.4.28
    ... the machine with the highest load average is the ... a load of 0.75, pushing out 14Mbit/s. ... > increases your wait I/O time in this particular application. ... nothing that would suggest such change, but then I'm not a kernel hacker, I ...
    (Linux-Kernel)
  • Re: Dynamically loading binaries in Kernel mode.
    ... Right now only the kernel will load ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)