Jump to content

Disk goes to sleep


ffi
 Share

Recommended Posts

I installed cooker on a usb flashdisk (ext2) and everytime I do some intensive file operations like urpmi, processes in ksysguard say disk sleep.

 

I see a package being installed, which goes quite fast and then the next one takes ages to continue and so on, all the while when waiting seeing usb-storage and urpmi in disk sleep state

 

 

 

I bought the flash disk asking for the fasted (and most expensive) and it said it was readyboost ready.

 

in ps aux the states are listed as D+ and D<

Edited by ffi
Link to comment
Share on other sites

a test using smart to show the states:

 

$ ps aux | grep D 

USER	   PID %CPU %MEM	VSZ   RSS TTY	  STAT START   TIME COMMAND

root	   452  0.0  0.0	  0	 0 ?		D<   08:29   0:04 [usb-storage]
root	  3020  0.0  0.0   3392   988 ?		D	08:29   0:00 hald-addon-storage: polling /dev/sda (every 2 sec)
root	 16363  6.4  2.7 214512 86228 pts/2	Dl+  12:11   0:11 /usr/bin/python /usr/bin/smart --gui

Link to comment
Share on other sites

from dmesg, I bolded my device, is it low speed of high speed?

 

 

 

usbcore: registered new interface driver usbfsusbcore: registered new interface driver hub

 

 

usbcore: registered new device driver usb

ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18

ehci_hcd 0000:00:1a.7: setting latency timer to 64

ehci_hcd 0000:00:1a.7: EHCI Host Controller

ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1

ehci_hcd 0000:00:1a.7: debug port 1

ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported

ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfebff400

ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 4 ports detected

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: EHCI Host Controller

usb usb1: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb ehci_hcd

usb usb1: SerialNumber: 0000:00:1a.7

ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23

ehci_hcd 0000:00:1d.7: setting latency timer to 64

ehci_hcd 0000:00:1d.7: EHCI Host Controller

ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2

ehci_hcd 0000:00:1d.7: debug port 1

ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported

ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfebff000

usb 1-2: new high speed USB device using ehci_hcd and address 2

ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb2: configuration #1 chosen from 1 choice

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 6 ports detected

usb 1-2: configuration #1 chosen from 1 choice

usb 1-2: New USB device found, idVendor=04f2, idProduct=b033

usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0

usb 1-2: Product: USB2.0 1.3M UVC WebCam

Synaptics Touchpad, model: 1, fw: 6.2, id: 0x81a0b1, caps: 0xa04711/0x200000

input: SynPS/2 Synaptics TouchPad as /class/input/input1

usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb2: Product: EHCI Host Controller

usb usb2: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb ehci_hcd

usb usb2: SerialNumber: 0000:00:1d.7

ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver

USB Universal Host Controller Interface driver v3.0

uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

uhci_hcd 0000:00:1a.0: setting latency timer to 64

uhci_hcd 0000:00:1a.0: UHCI Host Controller

uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3

uhci_hcd 0000:00:1a.0: irq 16, io base 0x0000e080

usb usb3: configuration #1 chosen from 1 choice

hub 3-0:1.0: USB hub found

hub 3-0:1.0: 2 ports detected

usb 2-3: new high speed USB device using ehci_hcd and address 2

usb 2-3: configuration #1 chosen from 1 choice

usb 2-3: New USB device found, idVendor=0325, idProduct=ac02

usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3

usb 2-3: Product: ATV

usb 2-3: Manufacturer: OCZ Technology

usb 2-3: SerialNumber: AA04012700113409

usb usb3: New USB device found, idVendor=1d6b, idProduct=0001

usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb3: Product: UHCI Host Controller

usb usb3: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb uhci_hcd

usb usb3: SerialNumber: 0000:00:1a.0

uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21

uhci_hcd 0000:00:1a.1: setting latency timer to 64

uhci_hcd 0000:00:1a.1: UHCI Host Controller

uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4

uhci_hcd 0000:00:1a.1: irq 21, io base 0x0000e000

usb usb4: configuration #1 chosen from 1 choice

hub 4-0:1.0: USB hub found

hub 4-0:1.0: 2 ports detected

usb usb4: New USB device found, idVendor=1d6b, idProduct=0001

usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb4: Product: UHCI Host Controller

usb usb4: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb uhci_hcd

usb usb4: SerialNumber: 0000:00:1a.1

uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23

uhci_hcd 0000:00:1d.0: setting latency timer to 64

uhci_hcd 0000:00:1d.0: UHCI Host Controller

uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5

uhci_hcd 0000:00:1d.0: irq 23, io base 0x0000dc00

usb usb5: configuration #1 chosen from 1 choice

hub 5-0:1.0: USB hub found

hub 5-0:1.0: 2 ports detected

usb usb5: New USB device found, idVendor=1d6b, idProduct=0001

usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb5: Product: UHCI Host Controller

usb usb5: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb uhci_hcd

usb usb5: SerialNumber: 0000:00:1d.0

uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19

uhci_hcd 0000:00:1d.1: setting latency timer to 64

uhci_hcd 0000:00:1d.1: UHCI Host Controller

uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6

uhci_hcd 0000:00:1d.1: irq 19, io base 0x0000d880

usb usb6: configuration #1 chosen from 1 choice

hub 6-0:1.0: USB hub found

hub 6-0:1.0: 2 ports detected

usb 4-2: new full speed USB device using uhci_hcd and address 2

usb 4-2: configuration #1 chosen from 1 choice

usb 4-2: New USB device found, idVendor=0b05, idProduct=1712

usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=3

usb 4-2: SerialNumber: 0194E8-5B-0002

usb usb6: New USB device found, idVendor=1d6b, idProduct=0001

usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb6: Product: UHCI Host Controller

usb usb6: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb uhci_hcd

usb usb6: SerialNumber: 0000:00:1d.1

uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18

uhci_hcd 0000:00:1d.2: setting latency timer to 64

uhci_hcd 0000:00:1d.2: UHCI Host Controller

uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7

uhci_hcd 0000:00:1d.2: irq 18, io base 0x0000d800

usb usb7: configuration #1 chosen from 1 choice

hub 7-0:1.0: USB hub found

hub 7-0:1.0: 2 ports detected

usb 6-2: new low speed USB device using uhci_hcd and address 2

usb 6-2: configuration #1 chosen from 1 choice

usb 6-2: New USB device found, idVendor=046d, idProduct=c521

usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0

usb 6-2: Product: USB Receiver

usb 6-2: Manufacturer: Logitech

usb usb7: New USB device found, idVendor=1d6b, idProduct=0001

usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb7: Product: UHCI Host Controller

usb usb7: Manufacturer: Linux 2.6.27-desktop-0.rc6.3.2mnb uhci_hcd

usb usb7: SerialNumber: 0000:00:1d.2

SCSI subsystem initialized

Driver 'sd' needs updating - please use bus_type methods

Initializing USB Mass Storage driver...

scsi0 : SCSI emulation for USB Mass Storage devices

usb-storage: device found at 2

usb-storage: waiting for device to settle before scanning

usb 7-2: new full speed USB device using uhci_hcd and address 2

usb 7-2: configuration #1 chosen from 1 choice

usb 7-2: New USB device found, idVendor=08ff, idProduct=1600

usb 7-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0

usb 7-2: Product: Fingerprint Sensor

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

Link to comment
Share on other sites

scsi 0:0:0:0: Direct-Access OCZ ATV 1100 PQ: 0 ANSI: 0 CCSsd 0:0:0:0: [sda] 15663104 512-byte hardware sectors (8020 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 15663104 512-byte hardware sectors (8020 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00

sd 0:0:0:0: [sda] Assuming drive cache: write through

 sda: sda1

sd 0:0:0:0: [sda] Attached SCSI removable disk

usb-storage: device scan complete

usbcore: registered new interface driver ub

No dock devices found.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...