Hello!
In an attempt to expand the available disk in my server I bought
a "Silicon Image SiI3112" PCI - SATA controller.
There is no problem while booting with the bsd.rd.
Booting the normal kernel produces a number of read timeouts and
finally boots normally. (Using OpenBSD 4.4 there is no problem I
did not test release 4.5 to 4.8).
Trying to access the disk with disklabel freezes the system a few
seconds and then prints a faulty label. (There is wd0a, wd0b and
wd0d on this disk).
:; disklabel wd0
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: WDC WD2500PD-07F
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 30401
total sectors: 488397168
boundstart: 0
boundend: 488397168
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
c: 488397168 0 unused
while the message
wd0: flush cache command timeout
is added to dmesg.
Are there any useful commands or kernel knobs I could twist to
provide a more comprehensive bug report?
Jan J
OpenBSD 5.0 (GENERIC) #43: Wed Aug 17 10:10:52 MDT 2011
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) 4 CPU 2.00GHz ("GenuineIntel" 686-class) 2 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real mem = 1072721920 (1023MB)
avail mem = 1045123072 (996MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/17/03, BIOS32 rev. 0 @ 0xffe90, SMBIOS
rev. 2.3 @ 0xf0450 (82 entries)
bios0: vendor Dell Computer Corporation version "A07" date 12/17/2003
bios0: Dell Computer Corporation Precision WorkStation 340
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC BOOT
acpi0: wakeup devices VBTN(S4) PCI0(S5) USB0(S3) USB1(S3) PCI1(S5) KBD_(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
acpicpu0 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc0000/0x9000 0xc9000/0x5000 0xce000/0x2000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82850 Host" rev 0x04
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf4000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82850/82860 AGP" rev 0x04
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Matrox MGA G550 AGP" rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb1 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x04
pci2 at ppb1 bus 2
pciide0 at pci2 dev 8 function 0 "CMD Technology SiI3112 SATA" rev 0x02: DMA
pciide0: using apic 1 int 17 for native-PCI interrupt
pciide0: port 0: device present, speed: 1.5Gb/s
wd0 at pciide0 channel 0 drive 0: <WDC WD2500PD-07FZB1>
wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd0(pciide0:0:0): using BIOS timings, Ultra-DMA mode 5
xl0 at pci2 dev 12 function 0 "3Com 3c905C 100Base-TX" rev 0x78: apic 1 int 18,
address 00:06:5b:dc:7b:ae
exphy0 at xl0 phy 24: 3Com internal media interface
ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x04
pciide1 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x04: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd1 at pciide1 channel 0 drive 0: <ST380021A>
wd1: 16-sector PIO, LBA, 76319MB, 156301488 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide1 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITEON, DVD-ROM LTD163, GDHA> ATAPI 5/cdrom
removable
cd0(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x04: apic 1 int 19
ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x04: apic 1 int 17
iic0 at ichiic0
admtm0 at iic0 addr 0x2d: 47m192
uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x04: apic 1 int 23
isa0 at ichpcib0
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
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb1 at uhci1: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
uhub2 at uhub0 port 1 "Texas Instruments TUSB2046 hub" rev 1.10/1.25 addr 2
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
uhidev0 at uhub2 port 3 configuration 1 interface 0 "Sun Microsystems Type 6
Mouse" rev 1.00/1.02 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
uhidev1 at uhub2 port 4 configuration 1 interface 0 "Sun Microsystems Type 6
Keyboard" rev 1.00/1.02 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes, country code 26
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 64 of 64-67 (wd0 bn 64; cn 0 tn 1 sn 1),
retrying
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 64 of 64-67 (wd0 bn 64; cn 0 tn 1 sn 1),
retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 64 of 64-67 (wd0 bn 64; cn 0 tn 1 sn 1),
retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 64 of 64-67 (wd0 bn 64; cn 0 tn 1 sn 1),
retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 64 of 64-67 (wd0 bn 64; cn 0 tn 1 sn 1),
retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 64 of 64-67 (wd0 bn 64; cn 0 tn 1 sn 1)
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 1024 of 1024-1027 (wd0 bn 1024; cn 0 tn 16 sn
16), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 1024 of 1024-1027 (wd0 bn 1024; cn 0 tn 16 sn
16), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 1024 of 1024-1027 (wd0 bn 1024; cn 0 tn 16 sn
16), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 1024 of 1024-1027 (wd0 bn 1024; cn 0 tn 16 sn
16), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 1024 of 1024-1027 (wd0 bn 1024; cn 0 tn 16 sn
16), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 1024 of 1024-1027 (wd0 bn 1024; cn 0 tn 16 sn
16)
wd0: flush cache command timeout
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wsmouse0 detached
ums0 detached
uhidev0 detached
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev1 detached
uhub2 detached
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:0: not ready, st=0xd0<BSY,DRDY,DSC>, err=0x00
pciide0 channel 0: reset failed for drive 0
wd0c: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: flush cache command timeout
root on wd1a (d113dd88b22fc637.a) swap on wd1b dump on wd1b
uhub2 at uhub0 port 1 "Texas Instruments TUSB2046 hub" rev 1.10/1.25 addr 2
uhidev0 at uhub2 port 3 configuration 1 interface 0 "Sun Microsystems Type 6
Mouse" rev 1.00/1.02 addr 3
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons
wsmouse0 at ums0 mux 0
uhidev1 at uhub2 port 4 configuration 1 interface 0 "Sun Microsystems Type 6
Keyboard" rev 1.00/1.02 addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes, country code 26
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0