[Bug 428469] Re: hdparm and ata_id makes USB drive hang

Tormod Volden 428469 at bugs.launchpad.net
Tue May 7 19:18:15 UTC 2013


Someone with the right super powers please set the linux task to "Fix
committed". The patch is in the main tree (for 3.10), and is also queued
up for 3.0, 3.4, 3.5, 3.8 and 3.9 stable branches.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to hdparm in Ubuntu.
https://bugs.launchpad.net/bugs/428469

Title:
  hdparm and ata_id makes USB drive hang

Status in The Linux Kernel:
  Invalid
Status in “hdparm” package in Ubuntu:
  New
Status in “linux” package in Ubuntu:
  Won't Fix

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_CMD(identify) failed: Invalid exchange
   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/controlC0:  tormod     3094 F.... pulseaudio
  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,08800000,00090500 HDA:11c13026,11c13026,00100600'
     Controls      : 39
     Simple ctrls  : 23
  Date: Sat Sep 12 17:51:05 2009
  DistroRelease: Ubuntu 9.10
  HibernationDevice: RESUME=UUID=d6223bfb-d64e-4243-96d5-5d5a22c7d50f
  MachineType: Acer, inc. TravelMate 8100
  Package: linux-image-2.6.31-10-generic 2.6.31-10.30
  PccardctlIdent:
   Socket 0:
     no product info available
  PccardctlStatus:
   Socket 0:
     no card
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-10-generic root=UUID=a2034346-c604-47aa-b10f-292a29ed94b4 ro
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-10.30-generic
  RelatedPackageVersions:
   linux-backports-modules-2.6.31-10-generic N/A
   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.version: N/A
  dmi.modalias: dmi:bvnAcer:bvr3C25:bd01/20/06:svnAcer,inc.:pnTravelMate8100:pvrNotApplicable:rvnAcer,Inc.:rnKingfisher:rvrNotApplicable:cvn,Inc.:ct1:cvrN/A:
  dmi.product.name: TravelMate 8100
  dmi.product.version: Not Applicable
  dmi.sys.vendor: Acer, inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/428469/+subscriptions




More information about the foundations-bugs mailing list