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

Jens Axboe (axboe@suse.de)
Thu, 25 Oct 2001 13:11:07 +0200


--qlTNgmc+xy1dBmNv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=sg-page-1

--- 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;

--qlTNgmc+xy1dBmNv-- - 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/