NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/43973: transfer errors with 2TB HDD



>Number:         43973
>Category:       kern
>Synopsis:       errors accessing last block of 2TB disk
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 15 06:30:00 +0000 2010
>Originator:     Darren Reed
>Release:        NetBSD 5.1_RC4
>Organization:
NetBSD
>Environment:
        VMWare guest
System: NetBSD homeworld.netbsd.org 4.0_STABLE NetBSD 4.0_STABLE (NBMAIL) #1: 
Sun Nov 29 15:36:09 UTC 2009 
root@ADMIN:/usr/obj/sys/arch/i386/compile.i386/NBMAIL i386
Architecture: i386
Machine: i386
>Description:
From the dmesg output below, we can see that NetBSD has trouble accessing the 
last block on a 2TB disk

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
        
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/20090426022
9Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC
total memory = 255 MB
avail memory = 239 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
VMware, Inc. VMware Virtual Platform (None)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2668MHz, id 0x106a5
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <INTEL ,440BX   ,06040000>, AslId <VMW ,01324272>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 24-bit timer
PIC (PNP0001) at acpi0 not configured
attimer1 at acpi0 (TIME, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
pckbc1 at acpi0 (KBC, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOUS, PNP0F13): aux port
pckbc2: irq 12
LPTB (PNP0400) at acpi0 not configured
COMA (PNP0501) at acpi0 not configured
COMB (PNP0501) at acpi0 not configured
FDC (PNP0700) at acpi0 not configured
acpiacad0 at acpi0 (ACAD, ACPI0003-1): ACPI AC Adapter
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x7190 (rev. 0x01)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x7191 (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
pcib0 at pci0 dev 7 function 0
pcib0: vendor 0x8086 product 0x7110 (rev. 0x08)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
piixpm0 at pci0 dev 7 function 3
piixpm0: vendor 0x8086 product 0x7113 (rev. 0x08)
timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
piixpm0: 24-bit timer
piixpm0: SMBus disabled
vendor 0x15ad product 0x0740 (miscellaneous system, revision 0x10) at pci0 dev 7
 function 7 not configured
vga1 at pci0 dev 15 function 0: vendor 0x15ad product 0x0405 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga1 not configured
mpt0 at pci0 dev 16 function 0: vendor 0x1000 product 0x0030
mpt0: applying 1030 quirk
mpt0: interrupting at ioapic0 pin 17
scsibus0 at mpt0: 16 targets, 8 luns per target
ppb1 at pci0 dev 17 function 0: vendor 0x15ad product 0x0790 (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci2 dev 1 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
wm0: interrupting at ioapic0 pin 19
wm0: 32-bit 66MHz PCI bus
wm0: 256 word (8 address bits) MicroWire EEPROM
wm0: Ethernet address 00:0c:29:4d:6a:25
makphy0 at wm0 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FD
X, auto
wm1 at pci2 dev 2 function 0: Intel i82545EM 1000BASE-T Ethernet, rev. 1
wm1: interrupting at ioapic0 pin 16
wm1: 32-bit 66MHz PCI bus
wm1: 256 word (8 address bits) MicroWire EEPROM
wm1: Ethernet address 00:0c:29:4d:6a:39
makphy1 at wm1 phy 1: Marvell 88E1011 Gigabit PHY, rev. 3
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FD
X, auto
ppb2 at pci0 dev 21 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb2: unsupported PCI Express version
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ppb3 at pci0 dev 21 function 1: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb3: unsupported PCI Express version
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 21 function 2: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb4: unsupported PCI Express version
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
ppb5 at pci0 dev 21 function 3: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb5: unsupported PCI Express version
pci6 at ppb5 bus 6
pci6: i/o space, memory space enabled, rd/line, wr/inv ok
ppb6 at pci0 dev 21 function 4: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb6: unsupported PCI Express version
pci7 at ppb6 bus 7
pci7: i/o space, memory space enabled, rd/line, wr/inv ok
ppb7 at pci0 dev 21 function 5: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb7: unsupported PCI Express version
pci8 at ppb7 bus 8
pci8: i/o space, memory space enabled, rd/line, wr/inv ok
ppb8 at pci0 dev 21 function 6: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb8: unsupported PCI Express version
pci9 at ppb8 bus 9
pci9: i/o space, memory space enabled, rd/line, wr/inv ok
ppb9 at pci0 dev 21 function 7: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb9: unsupported PCI Express version
pci10 at ppb9 bus 10
pci10: i/o space, memory space enabled, rd/line, wr/inv ok
ppb10 at pci0 dev 22 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb10: unsupported PCI Express version
pci11 at ppb10 bus 11
pci11: i/o space, memory space enabled, rd/line, wr/inv ok
ppb11 at pci0 dev 22 function 1: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb11: unsupported PCI Express version
pci12 at ppb11 bus 12
pci12: i/o space, memory space enabled, rd/line, wr/inv ok
ppb12 at pci0 dev 22 function 2: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb12: unsupported PCI Express version
pci13 at ppb12 bus 13
pci13: i/o space, memory space enabled, rd/line, wr/inv ok
ppb13 at pci0 dev 22 function 3: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb13: unsupported PCI Express version
pci14 at ppb13 bus 14
pci14: i/o space, memory space enabled, rd/line, wr/inv ok
ppb14 at pci0 dev 22 function 4: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb14: unsupported PCI Express version
pci15 at ppb14 bus 15
pci15: i/o space, memory space enabled, rd/line, wr/inv ok
ppb15 at pci0 dev 22 function 5: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb15: unsupported PCI Express version
pci16 at ppb15 bus 16
pci16: i/o space, memory space enabled, rd/line, wr/inv ok
ppb16 at pci0 dev 22 function 6: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb16: unsupported PCI Express version
pci17 at ppb16 bus 17
pci17: i/o space, memory space enabled, rd/line, wr/inv ok
ppb17 at pci0 dev 22 function 7: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb17: unsupported PCI Express version
pci18 at ppb17 bus 18
pci18: i/o space, memory space enabled, rd/line, wr/inv ok
ppb18 at pci0 dev 23 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb18: unsupported PCI Express version
pci19 at ppb18 bus 19
pci19: i/o space, memory space enabled, rd/line, wr/inv ok
ppb19 at pci0 dev 23 function 1: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb19: unsupported PCI Express version
pci20 at ppb19 bus 20
pci20: i/o space, memory space enabled, rd/line, wr/inv ok
ppb20 at pci0 dev 23 function 2: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb20: unsupported PCI Express version
pci21 at ppb20 bus 21
pci21: i/o space, memory space enabled, rd/line, wr/inv ok
ppb21 at pci0 dev 23 function 3: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb21: unsupported PCI Express version
pci22 at ppb21 bus 22
pci22: i/o space, memory space enabled, rd/line, wr/inv ok
ppb22 at pci0 dev 23 function 4: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb22: unsupported PCI Express version
pci23 at ppb22 bus 23
pci23: i/o space, memory space enabled, rd/line, wr/inv ok
ppb23 at pci0 dev 23 function 5: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb23: unsupported PCI Express version
pci24 at ppb23 bus 24
pci24: i/o space, memory space enabled, rd/line, wr/inv ok
ppb24 at pci0 dev 23 function 6: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb24: unsupported PCI Express version
pci25 at ppb24 bus 25
pci25: i/o space, memory space enabled, rd/line, wr/inv ok
ppb25 at pci0 dev 23 function 7: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb25: unsupported PCI Express version
pci26 at ppb25 bus 26
pci26: i/o space, memory space enabled, rd/line, wr/inv ok
ppb26 at pci0 dev 24 function 0: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb26: unsupported PCI Express version
pci27 at ppb26 bus 27
pci27: i/o space, memory space enabled, rd/line, wr/inv ok
ppb27 at pci0 dev 24 function 1: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb27: unsupported PCI Express version
pci28 at ppb27 bus 28
pci28: i/o space, memory space enabled, rd/line, wr/inv ok
ppb28 at pci0 dev 24 function 2: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb28: unsupported PCI Express version
pci29 at ppb28 bus 29
pci29: i/o space, memory space enabled, rd/line, wr/inv ok
ppb29 at pci0 dev 24 function 3: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb29: unsupported PCI Express version
pci30 at ppb29 bus 30
pci30: i/o space, memory space enabled, rd/line, wr/inv ok
ppb30 at pci0 dev 24 function 4: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb30: unsupported PCI Express version
pci31 at ppb30 bus 31
pci31: i/o space, memory space enabled, rd/line, wr/inv ok
ppb31 at pci0 dev 24 function 5: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb31: unsupported PCI Express version
pci32 at ppb31 bus 32
pci32: i/o space, memory space enabled, rd/line, wr/inv ok
ppb32 at pci0 dev 24 function 6: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb32: unsupported PCI Express version
pci33 at ppb32 bus 33
pci33: i/o space, memory space enabled, rd/line, wr/inv ok
ppb33 at pci0 dev 24 function 7: vendor 0x15ad product 0x07a0 (rev. 0x01)
ppb33: unsupported PCI Express version
pci34 at ppb33 bus 34
pci34: i/o space, memory space enabled, rd/line, wr/inv ok
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 2668130790 Hz quality 3000
acpiacad0: AC adapter online.
scsibus0: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
wd0 at atabus0 drive 0: <VMware Virtual IDE Hard Drive>
wd0: drive supports 64-sector PIO transfers, LBA addressing
wd0: 1228 MB, 2494 cyl, 16 head, 63 sec, 512 bytes/sect x 2514944 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd1 at atabus0 drive 1: <VMware Virtual IDE Hard Drive>
wd1: drive supports 64-sector PIO transfers, LBA48 addressing
wd1: 1863 GB, 4134422 cyl, 15 head, 63 sec, 512 bytes/sect x 3907029168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <VMware Virtual IDE CDROM Drive, 1000000000000000000,
0000000> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
md0: internal 5000 KB image area
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
piixide0:0:1: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
piixide0:0:1: bus-master DMA error: status=0x66
wd1: transfer error, downgrading to Ultra-DMA mode 1
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 1 (using DMA)
wd1d: error reading fsbn 3907029167 (wd1 bn 3907029167; cn 4134422 tn 5 sn 62),
retrying
wd1: (uncorrectable data error, interface CRC error)
piixide0:0:1: lost interrupt
        type: ata tc_bcount: 512 tc_skip: 0
piixide0:0:1: bus-master DMA error: status=0x66
wd1: transfer error, downgrading to PIO mode 4
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd1(piixide0:0:1): using PIO mode 4
wd1d: error reading fsbn 3907029167 (wd1 bn 3907029167; cn 4134422 tn 5 sn 62),
retrying
wd1: (uncorrectable data error, interface CRC error)
wd1: soft error (corrected)
boot device: cd0
root on md0a dumps on md0b
root file system type: ffs
WARNING: clock gained 30 days
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console

>How-To-Repeat:
        Boot NetBSD with 2TB disk attached
>Fix:
        



Home | Main Index | Thread Index | Old Index