Re: BUG() in asm/pci.h:142 with 2.4.13

Jens Axboe
2001-10-25T11:20:16Z

[-- Attachment #1: Type: text/plain, Size: 964 bytes --]

On Thu, Oct 25 2001, Christian Hammers wrote:
> Hello
>
> My system crashed several times now with 2.4.11-pre6 and 2.4.13
> (pre6 because it was the first one I got that fixed some 2GB RAM memory
> allocation bug).
>
> 2.4.13 was the easiest one to reproduce: when starting the tape backup
> to a HP DDS3/DAT Streamer (C1537A) via a Adaptec SCSI Controller
> (Adaptec 7892A in /proc/pci) on a Gigabyte GA-6VTXD Dual Motherboard with
> two PIII and 2GB of RAM it crashed immediately with the error attached
> below. The machine was under "stresstest-simulation" load at this time.
>
> The tape_backup.pl uses the "mt" and "cpio" commands to access /dev/nst0.
>
> Maybe worth noting is, that the system crashed another time yesterday
> after replacing the external SCSI RAID Chassis/Controller (not the
> disks in it) and just this moment with another message (see below).

Could you try this patch and see if it fixes the pci.h BUG at least?

--
Jens Axboe

[-- Attachment #2: sg-page-1 --]
[-- Type: text/plain, Size: 327 bytes --]

--- drivers/scsi/scsi_merge.c~ Thu Oct 25 12:15:35 2001
+++ drivers/scsi/scsi_merge.c Thu Oct 25 12:16:20 2001
@@ -943,6 +943,7 @@
}
count++;
sgpnt[count - 1].address = bh->b_data;
+ sgpnt[count - 1].page = NULL;
sgpnt[count - 1].length += bh->b_size;
if (!dma_host) {
SCpnt->request_bufflen += bh->b_size;