tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: device module auto loading fix

On Wed, Mar 25, 2009 at 09:59:17AM +0100, Adam Hamsik wrote:
> 2) scsipi/cd.c During testing, I was not able to boot install cd even with
> my  patch. I have found that version 1.284 of cd.c (was not pulled to -5)
> file  introduces some bug which makes cdopen return ENXIO during boot of
> install cd.  Reverting to 1.283 version fixes problem for me and I can boot
> -current install  cd again.

I committed that patch. The only significant issue i can find is the bmajor
lookup in cdgetdisklabel(). It was bluntly specifying the major 0 wich
resulted in ioctl's being issued on the wrong device!

Maybe a different path to get the CD devices major needs to be taken? If so,
then ata_raid's one is also broken since i looked at that code.

With regards,

Attachment: pgpZsxvPPniG5.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index