|
|||||||||||
|
kernel/2939: OpenBSD 3.1 fails when using DMA on SIS 5513
From: <joel(at)ionix.com.au>
Date: Tue Oct 01 2002 - 00:12:27 EDT
System : OpenBSD 3.1 Architecture: OpenBSD.i386 Machine : i386 >How-To-Repeat:
Boot system, without modifying kernel configuration. This may be
a combination of motherboard/chipset bug and OpenBSD.
When booted normally the following entry appears for the disk drive:
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
A dmesg from the system (with DMA disabled) is given below:
OpenBSD 3.1 (GENERIC) #59: Sat Apr 13 15:28:52 MDT 2002
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium 4 ("GenuineIntel" 686-class) 2.42 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 536391680 (523820K)
change (y/n) ? change (y/n) ? channel [-1] ? flags [0] ? 0x0ffc 30 wd* changed 30 wd* at wdc0|wdc1|wdc*|wdc*|pciide* channel -1 flags 0xffc UKC> quit Continuing... mainbus0 (root) bios0 at mainbus0: AT/286+(f7) BIOS, date 07/01/02, BIOS32 rev. 0 @ 0xfaa50 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown pcibios0 at bios0: rev. 2.1 @ 0xf0000/0xd654
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfd5a0/176 (9 entries)
pcibios0: PCI Exclusive IRQs: 3 4 5 7 10 11
pcibios0: PCI Interrupt Router at 000:02:0 ("SIS 85C503 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xcc00 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 vendor "SIS", unknown product 0x646 rev 0x00 ppb0 at pci0 dev 1 function 0 "SIS 86C201 Host-AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Nvidia GeForce2 MX" rev 0xb2 wsdisplay0 at vga1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 2 function 0 "SIS 85C503 ISA" rev 0x04 pciide0 at pci0 dev 2 function 5 "SIS 5513 EIDE" rev 0x00: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <ST340016A> wd0: 16-sector PIO, LBA, 38166MB, 16383 cyl, 16 head, 63 sec, 78165360 sectors wd0(pciide0:0:0): using PIO mode 4 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <ATAPI-CD, ROM-DRIVE-52MAX, 52ED> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 rl0 at pci0 dev 15 function 0 "Realtek 8139" rev 0x10: irq 11 address 00:20:ed:42:96:69 rlphy0 at rl0 phy 0: RTL internal phy isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask c040 netmask c840 ttymask d842 pctr: user-level cycle counter enabled dkcsum: wd0 matched BIOS disk 80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 >Fix:
Disable DMA on the wd0 device (flags 0x0ffc) or disable pciide
driver. Both of these are unsuitable long term due to decreased
system performance.
>Release-Note:
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:37 EDT |
||||||||||
|
|||||||||||