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

Alexander Jacocks <[email protected]> Thu, 13 Jun 2024 08:39:37 -0400
Newsgroups gmane.os.netbsd.general,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
> On Jun 13, 2024, at 5:51=E2=80=AFAM, Manuel Bouyer <[email protected]=
> wrote:
>=20
> =EF=BB=BFOn Wed, Jun 12, 2024 at 10:29:59AM -0400, Alexander Jacocks wrote=
:
>>   And it was pointed out to me that my paste of the DMA error was incorre=
ct.
>>   Here is the correct log:
>>   [     1.000004] pci0 at mainbus0 bus 0: configuration mode 1
>>   [     1.000004] pci0: i/o space, memory space enabled, rd/line, rd/mult=
,
>>   wr/inv ok
>>   [     1.000004] pchb0 at pci0 dev 0 function 0: Silicon Integrated Syst=
em
>>   5597/5598 Host Bridge (rev. 0x10)
>>   [     1.000004] pcib0 at pci0 dev 1 function 0: Silicon Integrated Syst=
em
>>   85C503 or 5597/5598 ISA Bridge (rev. 0x01)
>>   [     1.000004] siside0 at pci0 dev 1 function 1
>>   [     1.000004] siside0: Silicon Integrated Systems 5597/5598 IDE
>>   controller (rev. 0xd0)
>>   [     1.000004] siside0: bus-master DMA support present, but unused
>>   (couldn't map registers)
>=20
> The problem here is that the DMA registers are not mappable, so can't be
> used by the driver. Some BIOS settings (like PnP support) may affect this.=

>=20
>>   [     1.000004] siside0: secondary channel ignored (disabled)
>>   I tried simply forcing DMA on by adding the 0x0001 flag to the pciide
>>   driver, with a minor mod to the GENERIC kernel, but it didn't change th=
e
>>   behavior any. I also attempted to add in a Maxtor SATA-150 PCI IDE
>=20
> Yes, that won't work in this case.

Interesting. I was able to verify that Windows 98SE is able to enable DMA su=
pport, even with the current BIOS settings. This BIOS is pretty limited in w=
hat can be configured, unfortunately.

Would disabling ACPI and enabling APM possibly help? Since this board clearl=
y has a broken ACPI configuration, that seems like a possibility.

Thanks!
- Alex=