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

Alexander Jacocks <[email protected]> Wed, 12 Jun 2024 10:29:59 -0400
Newsgroups gmane.os.netbsd.general,gmane.os.netbsd.ports.i386
Message-ID <[email protected]>
--Apple-Mail-9B1F2F51-A98D-4875-A2AD-3244A8D5DD06
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr">=EF=BB=BF<meta http-equiv=3D=
"content-type" content=3D"text/html; charset=3Dutf-8">And it was pointed out=
 to me that my paste of the DMA error was incorrect. Here is the correct log=
:<div><br></div><div><div>[ &nbsp; &nbsp; 1.000004] pci0 at mainbus0 bus 0: c=
onfiguration mode 1</div><div>[ &nbsp; &nbsp; 1.000004] pci0: i/o space, mem=
ory space enabled, rd/line, rd/mult, wr/inv ok</div><div>[ &nbsp; &nbsp; 1.0=
00004] pchb0 at pci0 dev 0 function 0: Silicon Integrated System 5597/5598 H=
ost Bridge (rev. 0x10)</div><div>[ &nbsp; &nbsp; 1.000004] pcib0 at pci0 dev=
 1 function 0: Silicon Integrated System 85C503 or 5597/5598 ISA Bridge (rev=
. 0x01)</div><div>[ &nbsp; &nbsp; 1.000004] siside0 at pci0 dev 1 function 1=
</div><div>[ &nbsp; &nbsp; 1.000004] siside0: Silicon Integrated Systems 559=
7/5598 IDE controller (rev. 0xd0)</div><div>[ &nbsp; &nbsp; 1.000004] siside=
0: bus-master DMA support present, but unused (couldn't map registers)</div>=
<div>[ &nbsp; &nbsp; 1.000004] siside0: primary channel configured to compat=
ibility mode</div><div>[ &nbsp; &nbsp; 1.000004] siside0: primary channel in=
terrupting at irq 14</div><div>[ &nbsp; &nbsp; 1.000004] atabus0 at siside0 c=
hannel 0</div><div>[ &nbsp; &nbsp; 1.000004] siside0: secondary channel conf=
igured to compatibility mode</div><div>[ &nbsp; &nbsp; 1.000004] siside0: se=
condary channel ignored (disabled)</div></div><div><br></div><div>I tried si=
mply forcing DMA on by adding the 0x0001 flag to the pciide driver, with a m=
inor mod to the GENERIC kernel, but it didn=E2=80=99t change the behavior an=
y. I also attempted to add in a Maxtor SATA-150 PCI IDE controller, but that=
 produces DMA errors every time it is accessed, so that=E2=80=99s a no-go, a=
s well.</div><div><br></div><div>Any thoughts are appreciated.</div><div><br=
></div><div>Thanks!</div><div>- Alex</div><div><br><div dir=3D"ltr"><blockqu=
ote type=3D"cite">On Jun 11, 2024, at 9:12=E2=80=AFPM, Alexander Jacocks &lt=
;[email protected]&gt; wrote:<br><br></blockquote></div><blockquote type=3D=
"cite"><div dir=3D"ltr">=EF=BB=BF<div dir=3D"ltr"><div>As an update to my po=
st, I have tried replacing the storage device that I was using with a differ=
ent one, and the DMA issue persists. I also updated the BIOS on the board to=
 the most recent one released, and that made no difference.</div><div><br></=
div><div>Unfortunately, ACPI doesn't seem to be working on this board, and I=
'd guess that might be why the pciide driver can't enable DMA on the siside c=
hipset.</div><div><br></div><div>Any ideas?<br></div><div><br></div><div>- A=
lex<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"=
gmail_attr">On Mon, Jun 10, 2024 at 5:48=E2=80=AFPM Alexander Jacocks &lt;<a=
 href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:<br></d=
iv><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">All,<br=
><br>I have an IBM 586ve SBC in an IBM Industrial PC 7587, as described here=
:<br><div><a href=3D"https://www.ardent-tool.com/SBC/586VE_SBC.html" target=3D=
"_blank">https://www.ardent-tool.com/SBC/586VE_SBC.html</a></div><div><br></=
div><div>The machine mostly works fine, but I get these ACPI errors during b=
oot:</div><div><br></div><div>[ &nbsp; &nbsp; 1.000004] mainbus0 (root)<br>[=
 &nbsp; &nbsp; 1.000004] Firmware Error (ACPI): A valid RSDP was not found (=
20221020/tbxf<br>root-275)<br>[ &nbsp; &nbsp; 1.000004] autoconfiguration er=
ror: acpi_probe: failed to initialize tables<br>[ &nbsp; &nbsp; 1.000004] AC=
PI Error: Could not remove SCI handler (20221020/evmisc-316)<br>[ &nbsp; &nb=
sp; 1.000004] cpu0 at mainbus0<br>[ &nbsp; &nbsp; 1.000004] ACPI Error: AE_B=
AD_PARAMETER, Thread 3242924096 could not acquir<br>e Mutex [ACPI_MTX_Tables=
] (0x2) (20221020/utmutex-326)<br>[ &nbsp; &nbsp; 1.000004] ACPI Error: Mute=
x [ACPI_MTX_Tables] (0x2) is not acquired, canno<br>t release (20221020/utmu=
tex-367)</div><div><br></div><div>Additionally, DMA is not enabled, even tho=
ugh it is supposed to be supported on the SIS 5597/5598 chipset:<br></div><d=
iv><br></div><div>[ &nbsp; &nbsp; 1.000004] mainbus0 (root)<br>[ &nbsp; &nbs=
p; 1.000004] Firmware Error (ACPI): A valid RSDP was not found (20221020/tbx=
f<br>root-275)<br>[ &nbsp; &nbsp; 1.000004] autoconfiguration error: acpi_pr=
obe: failed to initialize tables<br>[ &nbsp; &nbsp; 1.000004] ACPI Error: Co=
uld not remove SCI handler (20221020/evmisc-316)<br>[ &nbsp; &nbsp; 1.000004=
] cpu0 at mainbus0<br>[ &nbsp; &nbsp; 1.000004] ACPI Error: AE_BAD_PARAMETER=
, Thread 3242924096 could not acquir<br>e Mutex [ACPI_MTX_Tables] (0x2) (202=
21020/utmutex-326)<br>[ &nbsp; &nbsp; 1.000004] ACPI Error: Mutex [ACPI_MTX_=
Tables] (0x2) is not acquired, canno<br>t release (20221020/utmutex-367)</di=
v><div><br></div><div>There aren't really a lot of BIOS settings on this boa=
rd, as it's an IBM SurePath BIOS system. <br></div><div><br></div><div>Has a=
nyone else seen this issue?</div><div><br></div><div>Thanks!<br></div><div>-=
 Alex<br></div></div>
</blockquote></div>
</div></blockquote></div></div></body></html>=

--Apple-Mail-9B1F2F51-A98D-4875-A2AD-3244A8D5DD06--