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

From: Helge Hafting (helgehaf@aitel.hist.no)
Date: Wed Feb 06 2002 - 04:22:27 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:48 EST