From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.back-rdu.redhat.com (8.11.6/8.11.6) with ESMTP id hBBGmWR01191 for ; Thu, 11 Dec 2003 11:48:32 -0500 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id hBBGtgu24485 for axp-list@listman.back-rdu.redhat.com; Thu, 11 Dec 2003 11:55:42 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id hBBGtg224481 for ; Thu, 11 Dec 2003 11:55:42 -0500 Received: from zcamail03.zca.compaq.com (zcamail03.zca.compaq.com [161.114.32.103]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id hBBGtf210945 for ; Thu, 11 Dec 2003 11:55:41 -0500 Received: from mailrelay01.cac.cpqcorp.net (mailrelay01.cac.cpqcorp.net [16.47.132.152]) by zcamail03.zca.compaq.com (Postfix) with ESMTP id 028309307; Thu, 11 Dec 2003 08:55:32 -0800 (PST) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by mailrelay01.cac.cpqcorp.net (Postfix) with ESMTP id B51A71F5F; Thu, 11 Dec 2003 08:55:13 -0800 (PST) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.11.6/8.11.6) id hBBGscc17219; Thu, 11 Dec 2003 11:54:38 -0500 X-Authentication-Warning: linux04.mro.cpqcorp.net: jestabro set sender to Jay.Estabrook@hp.com using -f Date: Thu, 11 Dec 2003 11:54:38 -0500 From: Jay Estabrook To: AXP-Liste , Tim Meyer Subject: Re: kernel: Bogus pci_unmap_single: dma_addr 0 base 800000 size 800000 Message-ID: <20031211115438.B17183@linux04.mro.cpqcorp.net> Mail-Followup-To: Jay Estabrook , AXP-Liste , Tim Meyer References: <20031210085334.GA24130@itp.uni-hannover.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20031210085334.GA24130@itp.uni-hannover.de>; from kreutzm@itp.uni-hannover.de on Wed, Dec 10, 2003 at 09:53:34AM +0100 X-loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: junk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Wed, Dec 10, 2003 at 09:53:34AM +0100, Helge Kreutzmann wrote: > > since we had a spare SCSI disk lying around (and I have no idea where > I should get the appropriate containers for the nice drive bays the > rawhide has) we added another SCSI adapter to our SMP rawhide. An > external MO drive works fine, but during access of the attaced drive we > see lots of > > kernel: Bogus pci_unmap_single: dma_addr 0 base 800000 size 800000 > > The controller is an "Adaptec AHA-2940U2/W". The relevant code is in > arch/alpha/kernel/pci_iommu.c > and looks like: > if (dma_ofs * PAGE_SIZE >= arena->size) { > printk(KERN_ERR "Bogus pci_unmap_single: dma_addr %lx " > " base %lx size %x\n", dma_addr, arena->dma_base, > arena->size); > return; > BUG(); > } > (this is 2.4.21). This looks like a know BUG(). Is this harmless or is > there a workaround available? It *may* be harmless, in the case where direct-map was used for DMA. The "dma_addr" passed in (0 in this case) is not a valid address for either direct-map or scatter-gather-map DMA, and indicates something may have gone wrong in the driver. But, this doesn't explain why the MO drive worked and the HDD doesn't... If your RAWHIDE has more than 2GB of memory, then it most likely WILL be a problem at some point. So, what Adaptec driver was used, and what did it report for the chipset? --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook HPTC - LINUX support Hewlett-Packard Company - MRO1-2/K15 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@hp.com -----------------------------------------------------------------------------