Port-amd64 archive

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

Hard disk is too slow on NetBSD-5.0.1/x86_64



On freshly installed NetBSD-5.0.1/x86_64 300Gb hard disk works too slowly.

   dd if=/dev/wd0d of=/dev/null bs=1024k count=100

command says that data read speed is ~5Mb/s.

I expect speed about 70Mb/s or so. In dmesg I see the following

   wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
   pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00

I run "short" SMART test and it completed successfully.
What causes this problem and how to fix it?

Below is full dmesg.

======================================================================
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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.1 (GENERIC) #0: Thu Jul 30 00:08:07 UTC 2009
        
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/amd64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 1791 MB
avail memory = 1720 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.6 @ 0xfb5c0 (21 entries)
To Be Filled By O.E.M. To Be Filled By O.E.M. (To Be Filled By O.E.M.)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1606MHz, id 0x106c2
cpu1 at mainbus0 apid 2: Intel 686-class, 1606MHz, id 0x106c2
cpu2 at mainbus0 apid 1: Intel 686-class, 1606MHz, id 0x106c2
cpu3 at mainbus0 apid 3: Intel 686-class, 1606MHz, id 0x106c2
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <071709,RSDT1230,20090717>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
hpet0 at acpi0 (HPET, PNP0103-0)
hpet0: mem 0xfed00000-0xfed00fff irq 2,8
timecounter: Timecounter "hpet0" frequency 25000000 Hz quality 2000
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43
WMI0 (pnp0c14) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
attimer1: attached to pcppi1
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 0x10de product 0x0a82 (rev. 0xb1)
vendor 0x10de product 0x0a88 (RAM memory, revision 0xb1) at pci0 dev 0 function 
1 not configured
pcib0 at pci0 dev 3 function 0
pcib0: vendor 0x10de product 0x0aad (rev. 0xb2)
vendor 0x10de product 0x0aa4 (RAM memory, revision 0xb1) at pci0 dev 3 function 
1 not configured
vendor 0x10de product 0x0aa2 (SMBus serial bus, revision 0xb1) at pci0 dev 3 
function 2 not configured
vendor 0x10de product 0x0a89 (RAM memory, revision 0xb1) at pci0 dev 3 function 
3 not configured
vendor 0x10de product 0x0aa3 (Co-processor processor, revision 0xb1) at pci0 
dev 3 function 5 not configured
ohci0 at pci0 dev 4 function 0: vendor 0x10de product 0x0aa5 (rev. 0xb1)
LUB0: Picked IRQ 16 with weight 0
ohci0: interrupting at ioapic0 pin 16
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 4 function 1: vendor 0x10de product 0x0aa6 (rev. 0xb1)
LUB2: Picked IRQ 18 with weight 0
ehci0: interrupting at ioapic0 pin 18
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 12 ports each: ohci0
usb1 at ehci0: USB revision 2.0
azalia0 at pci0 dev 8 function 0: Generic High Definition Audio Controller
LAZA: Picked IRQ 20 with weight 0
azalia0: interrupting at ioapic0 pin 20
azalia0: host: 0x10de/0x0ac0 (rev. 177), HDA rev. 1.0
ppb0 at pci0 dev 9 function 0: vendor 0x10de product 0x0aab (rev. 0xb1)
pci1 at ppb0 bus 2
pci1: no spaces enabled!
nfe0 at pci0 dev 10 function 0: vendor 0x10de product 0x0ab0 (rev. 0xb1)
LMAC: Picked IRQ 21 with weight 0
nfe0: interrupting at ioapic0 pin 21
nfe0: Ethernet address 90:e6:ba:25:46:eb
rgephy0 at nfe0 phy 3: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pciide0 at pci0 dev 11 function 0
pciide0: vendor 0x10de product 0x0ab5 (rev. 0xb1)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to native-PCI mode
LSA0: Picked IRQ 22 with weight 0
pciide0: using ioapic0 pin 22 for native-PCI interrupt
atabus0 at pciide0 channel 0
pciide0: secondary channel wired to native-PCI mode
atabus1 at pciide0 channel 1
ppb1 at pci0 dev 16 function 0: vendor 0x10de product 0x0aa0 (rev. 0xb1)
pci2 at ppb1 bus 1
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: vendor 0x10de product 0x087d (rev. 0xb1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: 0x1106/0x0397 (rev. 0.0), HDA rev. 1.0
azalia0: codec[3]: 0x10de/0x0007 (rev. 1.0), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 6 ports with 6 removable, self powered
wd0 at atabus0 drive 0: <ST9320325AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Slimtype DVD A  DS8A3S, 906200301141, HP51> cdrom 
removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Chicony USB Keyboard, rev 2.00/1.57, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: Chicony USB Keyboard, rev 2.00/1.57, addr 2, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=2
uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub0 port 2 configuration 1 interface 0
uhidev2: Logitech USB Receiver, rev 2.00/57.01, addr 3, iclass 3/1
ums0 at uhidev2: 16 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev3 at uhub0 port 2 configuration 1 interface 1
uhidev3: Logitech USB Receiver, rev 2.00/57.01, addr 3, iclass 3/0
uhidev3: 17 report ids
uhid3 at uhidev3 reportid 3: input=4, output=0, feature=0
uhid4 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid5 at uhidev3 reportid 17: input=19, output=19, feature=0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364303 (wd0 bn 
268435455; cn 266305 tn 0 sn 15)
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364295 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364295 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364295 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364295 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364295 (wd0 bn 
268435455; cn 266305 tn 0 sn 15), retrying
pciide0:0:0: timeout waiting for DRQ, st=0x51, err=0x00
wd0g: device timeout writing fsbn 245364288 of 245364288-245364295 (wd0 bn 
268435455; cn 266305 tn 0 sn 15)
syncing disks... 13 11 done
unmounting file systems...Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 
2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    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.1 (GENERIC) #0: Thu Jul 30 00:08:07 UTC 2009
        
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/amd64/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/amd64/compile/GENERIC
total memory = 1791 MB
avail memory = 1720 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.6 @ 0xfb5c0 (21 entries)
To Be Filled By O.E.M. To Be Filled By O.E.M. (To Be Filled By O.E.M.)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1606MHz, id 0x106c2
cpu1 at mainbus0 apid 2: Intel 686-class, 1606MHz, id 0x106c2
cpu2 at mainbus0 apid 1: Intel 686-class, 1606MHz, id 0x106c2
cpu3 at mainbus0 apid 3: Intel 686-class, 1606MHz, id 0x106c2
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 11, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <071709,RSDT1230,20090717>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
ACPI-Safe 32-bit timer
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
hpet0 at acpi0 (HPET, PNP0103-0)
hpet0: mem 0xfed00000-0xfed00fff irq 2,8
timecounter: Timecounter "hpet0" frequency 25000000 Hz quality 2000
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43
WMI0 (pnp0c14) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
attimer1: attached to pcppi1
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 0x10de product 0x0a82 (rev. 0xb1)
vendor 0x10de product 0x0a88 (RAM memory, revision 0xb1) at pci0 dev 0 function 
1 not configured
pcib0 at pci0 dev 3 function 0
pcib0: vendor 0x10de product 0x0aad (rev. 0xb2)
vendor 0x10de product 0x0aa4 (RAM memory, revision 0xb1) at pci0 dev 3 function 
1 not configured
vendor 0x10de product 0x0aa2 (SMBus serial bus, revision 0xb1) at pci0 dev 3 
function 2 not configured
vendor 0x10de product 0x0a89 (RAM memory, revision 0xb1) at pci0 dev 3 function 
3 not configured
vendor 0x10de product 0x0aa3 (Co-processor processor, revision 0xb1) at pci0 
dev 3 function 5 not configured
ohci0 at pci0 dev 4 function 0: vendor 0x10de product 0x0aa5 (rev. 0xb1)
LUB0: Picked IRQ 16 with weight 0
ohci0: interrupting at ioapic0 pin 16
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
ehci0 at pci0 dev 4 function 1: vendor 0x10de product 0x0aa6 (rev. 0xb1)
LUB2: Picked IRQ 18 with weight 0
ehci0: interrupting at ioapic0 pin 18
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 12 ports each: ohci0
usb1 at ehci0: USB revision 2.0
azalia0 at pci0 dev 8 function 0: Generic High Definition Audio Controller
LAZA: Picked IRQ 20 with weight 0
azalia0: interrupting at ioapic0 pin 20
azalia0: host: 0x10de/0x0ac0 (rev. 177), HDA rev. 1.0
ppb0 at pci0 dev 9 function 0: vendor 0x10de product 0x0aab (rev. 0xb1)
pci1 at ppb0 bus 2
pci1: no spaces enabled!
nfe0 at pci0 dev 10 function 0: vendor 0x10de product 0x0ab0 (rev. 0xb1)
LMAC: Picked IRQ 21 with weight 0
nfe0: interrupting at ioapic0 pin 21
nfe0: Ethernet address 90:e6:ba:25:46:eb
rgephy0 at nfe0 phy 3: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 2
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pciide0 at pci0 dev 11 function 0
pciide0: vendor 0x10de product 0x0ab5 (rev. 0xb1)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to native-PCI mode
LSA0: Picked IRQ 22 with weight 0
pciide0: using ioapic0 pin 22 for native-PCI interrupt
atabus0 at pciide0 channel 0
pciide0: secondary channel wired to native-PCI mode
atabus1 at pciide0 channel 1
ppb1 at pci0 dev 16 function 0: vendor 0x10de product 0x0aa0 (rev. 0xb1)
pci2 at ppb1 bus 1
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci2 dev 0 function 0: vendor 0x10de product 0x087d (rev. 0xb1)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: 0x1106/0x0397 (rev. 0.0), HDA rev. 1.0
azalia0: codec[3]: 0x10de/0x0007 (rev. 1.0), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
uhub0 at usb0: vendor 0x10de OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 6 ports with 6 removable, self powered
uhub1 at usb1: vendor 0x10de EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 6 ports with 6 removable, self powered
wd0 at atabus0 drive 0: <ST9320325AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <Slimtype DVD A  DS8A3S, 906200301141, HP51> cdrom 
removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Chicony USB Keyboard, rev 2.00/1.57, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1
uhidev1: Chicony USB Keyboard, rev 2.00/1.57, addr 2, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=2, output=0, feature=2
uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0
uhidev2 at uhub0 port 2 configuration 1 interface 0
uhidev2: Logitech USB Receiver, rev 2.00/57.01, addr 3, iclass 3/1
ums0 at uhidev2: 16 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhidev3 at uhub0 port 2 configuration 1 interface 1
uhidev3: Logitech USB Receiver, rev 2.00/57.01, addr 3, iclass 3/0
uhidev3: 17 report ids
uhid3 at uhidev3 reportid 3: input=4, output=0, feature=0
uhid4 at uhidev3 reportid 16: input=6, output=6, feature=0
uhid5 at uhidev3 reportid 17: input=19, output=19, feature=0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)


-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index