[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: kernel: Bogus pci_unmap_single: dma_addr 0 base 800000 size 800000



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]