hdparm and ata_id makes USB drive hang
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Invalid
|
Medium
|
|||
hdparm (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I have installed Karmic on a USB drive. Because of bug #419231 I need to add ums_cypress to the initrd for this. During boot I noticed several long waits with no activity. Bootchart indicated it was hdparm hanging. When I run hdparm manually it hangs for 15 seconds:
$ time sudo hdparm /dev/sdb
/dev/sdb:
HDIO_DRIVE_
readonly = 0 (off)
readahead = 256 (on)
geometry = 30401/255/63, sectors = 488397168, start = 0
real 0m15.979s
user 0m0.000s
sys 0m0.008s
It leaves this in dmesg:
[ 207.928097] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 215.928057] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 240.928054] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 248.928049] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 279.928054] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 287.928107] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 411.472048] ACPI: EC: missing confirmations, switch off interrupt mode.
[ 610.112052] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 618.112042] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 639.112168] usb 1-6: reset high speed USB device using ehci_hcd and address 2
[ 647.112049] usb 1-6: reset high speed USB device using ehci_hcd and address 2
Interesting enough the time stamps all end with the same millisecond part, like in bug #397096.
ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xc8000000 irq 16'
Mixer name : 'Realtek ALC880'
Components : 'HDA:10ec0880,
Controls : 39
Simple ctrls : 23
Date: Sat Sep 12 17:51:05 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=
MachineType: Acer, inc. TravelMate 8100
Package: linux-image-
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.16
RfKill:
SourcePackage: linux
Uname: Linux 2.6.31-10-generic i686
dmi.bios.date: 01/20/06
dmi.bios.vendor: Acer
dmi.bios.version: 3C25
dmi.board.name: Kingfisher
dmi.board.vendor: Acer, Inc.
dmi.board.version: Not Applicable
dmi.chassis.type: 1
dmi.chassis.vendor: , Inc.
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.name: TravelMate 8100
dmi.product.
dmi.sys.vendor: Acer, inc.
Changed in linux: | |
status: | Unknown → Invalid |
Changed in linux: | |
importance: | Unknown → Medium |
Changed in hdparm (Ubuntu): | |
status: | New → Invalid |
Hi Tormod, thanks for the detailed report. I think there is enough information here for a developer to have a look at it. Cheers.