Re: one-line-patch against SCSI-Read-Error-BUG()

Helge Hafting
2002-02-06T09:23:35Z

Alan Cox wrote:
>
> > Since at least kernel 2.4.16 there is a BUG() in pci.h,
> > that crashes the kernel on any attempt to read a SCSI-Sector
> > from an erased MO-Medium and on any attempt to read
> > a sector from a SCSI-disk, which returns "Read-Error".
>
> Adaptec aic7xxx card ?

You don't need an adaptec to BUG on scsi read errors.

I have a tekram adapter using the new SYM53C8XX version 2 driver.
One of my quantum atlas IV have a few bad sectors. Reading
the file (ext2 fs on top of raid0) tends to merely cause error messages.
badblocks also runs fine. But fsck -c triggers the BUG.

Helge Hafting