Re: kernel BUG

From: Eric Weiss (ew@unixpunx.net)
Date: Fri Jun 28 2002 - 14:54:40 EST


On Thu, 2002-06-27 at 14:23, Chaoyang Deng wrote:
>
>Hi,
>
>I am working on an iSCSI target driver with a Fibre Channel disk. After I
>updated my OS to linux7.3 with kernel 2.4.18-3, I got problem: my driver
>will crash my box. I am not sure if it is a bug in my code or in the
>Qlogic Fibre Channel driver or in the kernel. Could anyone give me a hint?
>

The BUG() is popping in include/asm/pci.h:pci_map_sg(). If either sg_list.address
or sg_list.page is not NULL, or both are NULL the BUG() is called. The reason
for this is around 2.4.13-pre2 bounce buffers along with a nasty memcpy where added
in linux/drivers/scsi/scsi_lib.c:scsi_io_completion() to scatterlists for HighMemIO
support, along with two extra members (page & offset) to struct scatterlist in
include/linux/scatterlist.h.

                                               Eric Weiss

___________________________________________________________

http://webmail.unixpunx.org - Free mail for hackers, free mail for the punks.

-
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 : Sun Jun 30 2002 - 22:00:13 EST