Re: kernel 2.4.17 crashes on SCSI-errors

From: R.Oehler@GDImbH.com
Date: Fri Jan 04 2002 - 04:48:43 EST


On 04-Jan-2002 Jens Axboe wrote:
>> kernel BUG at /usr/src/linux-2.4.17-Dbg/include/asm/pci.h:147!
>> from [aic7xxx]ahc_linux_run_device_queue+0x39d
>
> aic7xxx is calling pci_map_sg on either an unitialized scatterlist, or
> maybe just specifying too many segments. try and add a printk to print
> 'i' before the BUG() at line 147 in include/asm-i386/pci.h

Line 147 now reads: {printk("nents=%d, i=%d\n",nents,i); BUG();}
and syslog buf yields:

<4>Incorrect number of segments after building list.
<4>nents=3, i=1.
<4>kernel BUG at /usr/src/linux-2.4.17-Dbg/include/asm/pci.h:147!

Regards,
        Ralf

 -----------------------------------------------------------------
| Ralf Oehler
| GDI - Gesellschaft fuer Digitale Informationstechnik mbH
|
| E-Mail: R.Oehler@GDImbH.com
| Tel.: +49 6182-9271-23
| Fax.: +49 6182-25035
| Mail: GDI, Bensbruchstraße 11, D-63533 Mainhausen
| HTTP: www.GDImbH.com
 -----------------------------------------------------------------

time is a funny concept

-
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 : Mon Jan 07 2002 - 21:00:24 EST