[2.6.38] Attached Verbatim USB-stick results in high CPU

Bug #778052 reported by Sam_
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Reproducable.
Attached usb-stick immediately results in high CPU range 81-89 %.
CPU fan races from ~1200 to ~2200 rpm.
Copy 350+MB from local hd to usb-stick. (Side note: more or less slow Bug #392089)
After finished, open palimpsest to unmount usb-stick.
Result: palimpsest freeze, mouse freeze.
Switch to tty, kill palimpsest and gvfs-gdu-volume.
Back to desktop CPU slowed a little down, range 69-72 %.
Reopen palimpsest, CPU races again to ~80+%
Unmount and safely remove usb-stick. CPU slows immediately down to 2-3%.

It doesn't occur when usb-hd is switched on.
It didn't occur in Maverick.
USB-stick is FAT32, usb-hd is ext4 and fat32.
FWIW.
usb-stick
$sudo hdparm -tT /dev/sdc1
/dev/sdc1:
 Timing cached reads: 1322 MB in 2.00 seconds = 659.56 MB/sec
 Timing buffered disk reads: 36 MB in 3.14 seconds = 11.48 MB/sec

usb-hd
$sudo hdparm -tT /dev/sdb1
/dev/sdb1:
 Timing cached reads: 1292 MB in 2.01 seconds = 643.43 MB/sec
 Timing buffered disk reads: 50 MB in 3.06 seconds = 16.33 MB/sec

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: zookeeper 1453 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfe8f8000 irq 45'
   Mixer name : 'Realtek ALC1200'
   Components : 'HDA:10ec0888,104382fe,00100101'
   Controls : 40
   Simple ctrls : 22
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfe9fc000 irq 46'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100100'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Date: Thu May 5 20:25:02 2011
HibernationDevice: RESUME=UUID=cd79b927-9bc1-41b4-a855-b59c9381bb59
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: System manufacturer System Product Name
ProcEnviron:
 LANGUAGE=de:en
 LANG=C
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=4140dca6-fb8d-48b8-a427-c00093cb684a ro
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to natty on 2011-04-28 (6 days ago)
dmi.bios.date: 07/30/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0305
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5QLD PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0305:bd07/30/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QLDPRO:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: zootie 1607 F.... pulseaudio
CRDA: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xd4400000 irq 16'
   Mixer name : 'IDT 92HD88B1'
   Components : 'HDA:111d7667,103c1475,00100105'
   Controls : 14
   Simple ctrls : 9
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd4310000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=b7df2b2e-608b-4290-b3b2-3b4ced196417
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110423)
MachineType: Hewlett-Packard HP 625
NonfreeKernelModules: wl
Package: linux (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-8-generic root=UUID=4a760393-cea9-45d3-88c0-841b7a37104d ro
ProcVersionSignature: Ubuntu 3.0.0-8.10-generic 3.0.1
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-8-generic N/A
 linux-backports-modules-3.0.0-8-generic N/A
 linux-firmware 1.59
StagingDrivers: brcmsmac brcmutil
Tags: oneiric staging
Uname: Linux 3.0.0-8-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-08-01 (12 days ago)
UserGroups:

dmi.bios.date: 12/07/2010
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68DVA Ver. F.06
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 1475
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 72.0E
dmi.chassis.asset.tag: CNU1080QP1
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68DVAVer.F.06:bd12/07/2010:svnHewlett-Packard:pnHP625:pvr:rvnHewlett-Packard:rn1475:rvrKBCVersion72.0E:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP 625
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Revision history for this message
Sam_ (and-sam) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Yan Li (yanli) wrote :

FWIW, I'm seeing this similar phenomenon, but with a Debian 2.6.38-2-amd64 kernel running on an HP EliteBook 2540p. It is probably a bug in upstream 2.6.38 kernel.

Revision history for this message
Yan Li (yanli) wrote :

I'm still not sure how to trigger this issue on my HP EliteBook 2540p. This morning Debian delivered a new kernel 2.6.38-2-amd64 (Version: 2.6.38-5) and with it I seems can't see this issue any more. But it is also possible that this bug is only triggered after the machine has run for a long time.

Revision history for this message
Emil Gitman (ediulia) wrote :

hello. i have the same problem with USB..
also i found the same problem described on fedora bugzilla site

maybe it can be useful

https://bugzilla.redhat.com/show_bug.cgi?id=575381

Revision history for this message
Emil Gitman (ediulia) wrote :

and.. i have HP EliteBook 2540p like Yan Li

Revision history for this message
Sam_ (and-sam) wrote :

Still the case on an updated Oneiric and HP 625 notebook, description exactly as the topic. As soon as usb-stick gets unmounted CPU decreases rapidly.
New observations, the issue occurs only with Verbatim stick, I've tested another generic-stick on Natty and Oneiric with no issues at all, no high CPU and top doesn't even take notice from udisk-daemon or gvfs-volume.
Both sticks aren't empty and file copy works.

Since Verbatim didn't have issues with Maverick, there obviously were changes made somewhere, that Ubuntu doesn't like Verbatim anymore.

Note, due to Oneiric I'll make an apport-collect now with plugged in Verbatim.

Revision history for this message
Sam_ (and-sam) wrote :

apport-collect doesn't work. Attach screenshot of plugged-in generic-stick.

Sam_ (and-sam)
tags: added: oneiric
Revision history for this message
Sam_ (and-sam) wrote :

The issue is gone with kernel linux-image-3.0.0-8-generic.
Plugged in verbatim-stick doesn't lead to cpu raise or freeze, neither does opening palimpsest.

$ apt-cache policy linux-image-3.0.0-8-generic
linux-image-3.0.0-8-generic:
  Installed: 3.0.0-8.10
  Candidate: 3.0.0-8.11
  Version table:
     3.0.0-8.11 0

tags: added: apport-collected staging
description: updated
Revision history for this message
Sam_ (and-sam) wrote : AcpiTables.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : AlsaDevices.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : AplayDevices.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : BootDmesg.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : IwConfig.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Lspci.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : Lsusb.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : PciMultimedia.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : ProcModules.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : RfKill.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : UdevDb.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : UdevLog.txt

apport information

Revision history for this message
Sam_ (and-sam) wrote : WifiSyslog.txt

apport information

Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-11.17)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel currently in the release pocket than the one you tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-11.17
Revision history for this message
Sam_ (and-sam) wrote :

Thanks Brad. Unfortunately I'm unable to find 3.0.0-11.17 for Natty, looking at mainline and ppa. Please point me to the .deb file, thanks.
http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D

Revision history for this message
Sam_ (and-sam) wrote :

Issue solved due to upgrade to Oneiric and formatted verbatim. Thanks for the fix.

Changed in linux (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.