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

Alexander Jacocks <[email protected]> Thu, 13 Jun 2024 09:58:34 -0400
Newsgroups gmane.os.netbsd.ports.i386,gmane.os.netbsd.general
Message-ID <[email protected]>
> On Jun 13, 2024, at 8:44=E2=80=AFAM, Manuel Bouyer <[email protected]=
> wrote:
>=20
> =EF=BB=BFOn Thu, Jun 13, 2024 at 08:39:37AM -0400, Alexander Jacocks wrote=
:
>>=20
>>>> On Jun 13, 2024, at 5:51?AM, Manuel Bouyer <[email protected]> wro=
te:
>>>=20
>>> ?On 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 incorr=
ect.
>>>>  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/mul=
t,
>>>>  wr/inv ok
>>>>  [     1.000004] pchb0 at pci0 dev 0 function 0: Silicon Integrated Sys=
tem
>>>>  5597/5598 Host Bridge (rev. 0x10)
>>>>  [     1.000004] pcib0 at pci0 dev 1 function 0: Silicon Integrated Sys=
tem
>>>>  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 thi=
s.
>>>=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 t=
he
>>>>  behavior any. I also attempted to add in a Maxtor SATA-150 PCI IDE
>>>=20
>>> Yes, that won't work in this case.
>>=20
>> Interesting. I was able to verify that Windows 98SE is able to enable DMA=
 support, even with the current BIOS settings. This BIOS is pretty limited i=
n what can be configured, unfortunately.
>=20
> =46rom memory, win98 was the "PnP OS". it had to be disabled for others.
>=20
>>=20
>> Would disabling ACPI and enabling APM possibly help? Since this board cle=
arly has a broken ACPI configuration, that seems like a possibility.
>=20
> No APM is something different
>=20

And PNP is currently disabled, as much as is possible. Is there anything els=
e that I can try to do to make the registers mappable?

Thanks!
- Alex=