NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 10.0 DMA Issues With SIS-5597/5598 Chipset



On Tue, Jun 18, 2024 at 12:27:45PM -0400, J. Alexander Jacocks wrote:
> >
> >     Cardbus CIS Pointer: 0x00000000
> >     Subsystem vendor ID: 0xaf69
> >     Subsystem ID: 0x1d97
> >     Expansion ROM Base Address Register: 0x00000000
> >       base: 0x00000000
> >       Expansion ROM Enable: off
> >       Validation Status: Validation not supported
> >       Validation Details: 0x0
> >     Reserved @ 0x34: 0x00000000
> >     Reserved @ 0x38: 0x00000000
> >     Maximum Latency: 0x00
> >     Minimum Grant: 0x00
> >     Interrupt pin: 0x01 (pin A)
> >     Interrupt line: 0x00
> >
> >   Device-dependent header:
> >     0x40: 0x00000301 0x00000000 0x03220700 0x02000200
> >     0x50: 0x000d0200 0x00000000 0x00000000 0x00000000
> >     0x60: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0x70: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0x80: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0x90: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0xa0: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0xb0: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0xc0: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0xd0: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0xe0: 0x00000000 0x00000000 0x00000000 0x00000000
> >     0xf0: 0x00000000 0x00000000 0x00000000 0x00000000
> >
> > - Alex
> >
> 
> Did this reveal any clues to the source of the problem?

For the IDE controller:


> >       Bus mastering: off

Either this adapter doesn't support DMA (AFAIK it should) or the BIOS
failed to turn it on. Anyway the driver should turn it on if it can map the
DMA registers

> >     Base address register at 0x10
> >       type: I/O
> >       base: 0x00002000
> >     Base address register at 0x14
> >       type: I/O
> >       base: 0x00002100
> >     Base address register at 0x18
> >       type: I/O
> >       base: 0x00002200
> >     Base address register at 0x1c
> >       type: I/O
> >       base: 0x00002300
> >     Base address register at 0x20
> >       type: I/O
> >       base: 0xfd64ffa0
> >     Base address register at 0x24
> >       not implemented

PCIIDE_REG_BUS_MASTER_DMA is 0x20; but the base address doesn't make sense
here. Again it looks like a BIOS failure.
You could try rewritng it in the driver to an arbitrary base address (say,
0x00002400) but it may conflict with other hardware

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index