OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
hdd errors

From: Francesco Toscan (francescotoscan.biz)
Date: Mon Nov 03 2003 - 07:02:31 CST


Hi misc,

today I installed OpenBSD 3.4 on a test box, which previously ran
FreeBSD 4.8. While installing distribution sets, 3.4 kernel started
complaining about soft transfer errors, downgrading to UDMA mode 1. Now
after boot, when the system mounts the partitions, it always downgrades
to UDMA mode 1 and dumps several reading errors. It also dumps errors
while reading/writing to disk.
It seems bad hardware, but FreeBSD didn't give such warnings, running
the disk on UDMA33. For testing purposes I reinstalled FreeBSD
4.8...with no errors even putting the disk under huge load. Maybe
FreeBSD silently corrects errors without raising anything to the user?
Or it's an OpenBSD related problem? 3.3 gave the same warnings too.

dmesg follows.

TIA,
f.

OpenBSD 3.4 (GENERIC) #18: Wed Sep 17 03:34:47 MDT 2003
     deraadti386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD K6-2 ("AuthenticAMD" 586-class) 351 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem = 268009472 (261728K)
avail mem = 242401280 (236720K)
using 3297 buffers containing 13504512 bytes (13188K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(06) BIOS, date 07/16/99, BIOS32 rev. 0
0xf0690
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 0xf0000/0xd42
pcibios0: PCI IRQ Routing Table rev. 1.0 0xf0ca0/160 (8 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/0xbc00
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Acer Labs M1541 Host-PCI" rev 0x04
ppb0 at pci0 dev 1 function 0 "Acer Labs M5243 AGP/PCI-PCI" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia GeForce2 MX" rev 0xa1
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ohci0 at pci0 dev 2 function 0 "Acer Labs M5237 USB" rev 0x03: irq 12,
OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
"Acer Labs M7101 Power Mgmt" rev 0x00 at pci0 dev 3 function 0 not
configured
pcib0 at pci0 dev 7 function 0 "Acer Labs M1543 PCI-ISA" rev 0xc3
eap0 at pci0 dev 10 function 0 "Ensoniq CT5880" rev 0x02: irq 10
eap0: eap1371_read_codec timeout 2
ac97: codec id 0x54524123 (TriTech Microelectronics TR28602)
audio0 at eap0
xl0 at pci0 dev 12 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 11
address 00:60:08:1e:d1:32
nsphy0 at xl0 phy 24: DP83840 10/100 media interface, rev. 1
pciide0 at pci0 dev 15 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc1:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <Maxtor 91021U2>
wd0: 16-sector PIO, LBA, 9770MB, 16383 cyl, 16 head, 63 sec, 20010816
sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TEAC, CD-532E, 1.0A> SCSI0 5/cdrom
removable
atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <HP, CD-Writer+ 8100, 1.0g> SCSI0 5/cdrom
removable
cd0(pciide0:1:0): using PIO mode 3, DMA mode 1
cd1(pciide0:1:1): using PIO mode 3, DMA mode 1
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
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lpt1 at isa0 port 0x278/4: polled
lm0 at isa0 port 0x290/8: W83781D
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask d040 netmask d840 ttymask d8c2
pctr: user-level cycle counter enabled
mtrr: K6-family MTRR support (2 registers)
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
wd0a: DMA error reading fsbn 27808 of 27808-27839 (wd0 bn 27808; cn 27
tn 9 sn 25), retrying
wd0: soft error (corrected)
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1
wd0a: DMA error reading fsbn 27648 of 27648-27679 (wd0 bn 27648; cn 27
tn 6 sn 54), retrying
wd0: soft error (corrected)