[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DMA Errors
Sorry for the repeat posting, but I think I picked the worse time to post it
originally. I'm really hoping that someone with experience with the way
OpenBSD loads its IDE driver (?) might be able to lend some advice...
I'm running OpenBSD on a PC that has an Acer Labs M5259 UDMA IDE controller.
(See below for dmesg output.)
Notably are the DMA errors. After trying several Ultra-DMA and DMA modes, it
finally settles upon something called "PIO mode 4".
It seems to work after this, but I would like to eliminate the boot-up delay
for this testing. If "PIO mode 4" is what works, I want this to be used to
start with. (Mind you, if it's possible for it to work the Ultra-DMA modes,
I'd be happy with that too.)
I've search the archives and Google for something like this, but haven't
been able to find any solutions (and not really any of the same problems,
neither).
It might be useful to note that the FreeBSD 4.7 kernel does not have a
problem with this IDE controller.
dmesg output:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OpenBSD 3.2 (EMPLAYER) #16: Fri Feb 7 07:18:31 PST 2003
emedia@emplayer.my.domain:/usr/src/sys/arch/i386/compile/EMPLAYER
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class, 128KB L2
cache) 733 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,
SIMD
real mem = 125415424 (122476K)
avail mem = 112271360 (109640K)
using 1556 buffers containing 6373376 bytes (6224K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 07/06/01, BIOS32 rev. 0 @ 0xfdae0
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf7840/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 ("Acer Labs M1543 PCI-ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xa800 0xd0000/0x8000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1621 Host-PCI" rev 0x04
ppb0 at pci0 dev 1 function 0 "Acer Labs M5247 AGP/PCI-PCI" rev 0x01
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia Aladdin TNT2" rev 0x20
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Acer Labs M5237 USB" rev 0x03 at pci0 dev 2 function 0 not configured
pcib0 at pci0 dev 7 function 0 "Acer Labs M1543 PCI-ISA" rev 0xc3
cmpci0 at pci0 dev 12 function 0 "C-Media Electronics CMI8738/C3DX Audio"
rev 0x10: irq 12
audio0 at cmpci0
sis0 at pci0 dev 14 function 0 "SIS 900 10/100BaseTX" rev 0x02: irq 9
address 00:d0:09:f3:40:67
ukphy0 at sis0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000760, model 0x0000, rev. 0
pciide0 at pci0 dev 15 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc2: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 2B020H1>
wd0: 16-sector PIO, LBA48, 19541MB, 16383 cyl, 16 head, 63 sec, 40020624
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <, ATAPI CDROM., 10AM> SCSI0 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4
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
pcppi0 at isa0 port 0x61
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 c240 ttymask c242
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 3
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 3
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to Ultra-DMA mode 0
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 0
wd0c: device timeout reading fsbn 64 (wd0 bn 64; cn 0 tn 1 sn 1), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to DMA mode 2
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
wd0c: device timeout reading fsbn 64 (wd0 bn 64; cn 0 tn 1 sn 1), retrying
wd0(pciide0:0:0): timeout
type: ata
c_bcount: 512
c_skip: 0
pciide0:0:0: bus-master DMA error: missing interrupt, status=0x21
wd0: transfer error, downgrading to PIO mode 4
wd0(pciide0:0:0): using PIO mode 4
wd0c: device timeout reading fsbn 64 (wd0 bn 64; cn 0 tn 1 sn 1), retrying
wd0: soft error (corrected)
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
------ End of Forwarded Message
- References:
- DMA Errors
- From: Patrick Gibson <openbsd_list@patrickg.com>