Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@hp.com>
To: AXP-Liste <axp-list@redhat.com>, Tim Meyer <meyer@itp.uni-hannover.de>
Subject: Re: kernel: Bogus pci_unmap_single: dma_addr 0  base 800000 size 800000
Date: Thu, 11 Dec 2003 14:40:38 -0500	[thread overview]
Message-ID: <20031211144038.B17430@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <20031211174410.GB14267@itp.uni-hannover.de>; from kreutzm@itp.uni-hannover.de on Thu, Dec 11, 2003 at 06:44:10PM +0100

On Thu, Dec 11, 2003 at 06:44:10PM +0100, Helge Kreutzmann wrote:
> On Thu, Dec 11, 2003 at 11:54:38AM -0500, Jay Estabrook wrote:
> > 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...
> 
> Well, the HDD seems to work so far (we copied some data on and off),
> just that access fills the logs with this warning. Maybe DMA is not
> used for external/"optical" drives?

That'd be very odd, as DMA must be used for all SCSIs, IIRC.

> No, we are below 1 GB and I don't think it will be ever upgraded.

So, direct-map DMA is all that will be used, which means that the error
message is probably benign, but we should try to understand WHY it occurs
anyway...

> CONFIG_SCSI_AIC7XXX_OLD=y
> CONFIG_AIC7XXX_OLD_CMDS_PER_DEVICE=8

Ah, the old one; have you tried the new one? Could you?

> The chipset is reported according to /proc as:
> uker:/var/log# cat /proc/scsi/aic7xxx/0 
> Adaptec AIC7xxx driver version: 5.2.4/5.2.0
> Compile Options:
>   TCQ Enabled By Default : Disabled
>   AIC7XXX_PROC_STATS     : Disabled
> 
> Adapter Configuration:
>            SCSI Adapter: Adaptec AHA-294X Ultra2 SCSI host adapter
>                            Ultra-2 LVD/SE Wide Controller at PCI 1/4/0
>     Programmed I/O Base: 200008800

AHA! This address, IIRC, means that the card is on the SECOND PCI bus;
this sometimes can "expose" driver problems that don't show up when it
is on the first PCI bus.

Any chance you could try it on the FIRST PCI bus to see?

> Is there any check you'd recommend before using the drive attached to
> this adapter?

Well, I'd prefer those messages to go away, so...

1. try the card on the FIRST PCI bus instead of the SECOND.
2. try the newer AIC7xxx driver.

The FIRST PCI bus is made up of the 4 slots with the  3 EISA slots
in between them (from the docs I can see).

Good luck!

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



      reply	other threads:[~2003-12-11 19:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10  8:53 kernel: Bogus pci_unmap_single: dma_addr 0 base 800000 size 800000 Helge Kreutzmann
2003-12-11 16:54 ` Jay Estabrook
2003-12-11 17:44   ` Helge Kreutzmann
2003-12-11 19:40     ` Jay Estabrook [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox