usb port blocking (Notebook, Intel chipsets)

Bug #493199 reported by Hadmut Danisch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux
Invalid
High
linux (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

Hi,

I have a Toshiba Notebook (about 2 years old) that has for several months (and still with 9.10) trouble with the USB ports when accessing USB sticks (pendrive) or flash memory cards with usb flash card adapters. When trying to write data (especially large files) the writethrough gets slower and slower and finally blocks complety. Happens all the time, requires reboot.

In most cases, the log files don't tell any problem, but sometimes dmesg/kern.log contains reports like

Dec 5 12:54:13 localhost kernel: [ 4769.176361] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:54:13 localhost kernel: [ 4769.176378] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:54:30 localhost kernel: [ 4786.555738] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:54:30 localhost kernel: [ 4786.555755] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:54:45 localhost kernel: [ 4801.177099] INFO: task cp:15585 blocked for more than 120 seconds.
Dec 5 12:54:45 localhost kernel: [ 4801.177107] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Dec 5 12:54:45 localhost kernel: [ 4801.177114] cp D c08145c0 0 15585 6474 0x00000000
Dec 5 12:54:45 localhost kernel: [ 4801.177126] e29f790c 00000082 e8298000 c08145c0 e5db6718 c08145c0 8e92be93 0000042a
Dec 5 12:54:45 localhost kernel: [ 4801.177144] c08145c0 c08145c0 e5db6718 c08145c0 00000001 0000042a c08145c0 e2b6aa80
Dec 5 12:54:45 localhost kernel: [ 4801.177160] e5db6480 c21135c0 e29f7944 ee270998 e29f7918 c056f2ae ee270970 e29f7958
Dec 5 12:54:45 localhost kernel: [ 4801.177177] Call Trace:
Dec 5 12:54:45 localhost kernel: [ 4801.177192] [<c056f2ae>] io_schedule+0x1e/0x30
Dec 5 12:54:45 localhost kernel: [ 4801.177202] [<c0303207>] get_request_wait+0xa7/0x160
Dec 5 12:54:45 localhost kernel: [ 4801.177211] [<c02f89c7>] ? elv_merge+0x27/0x1b0
Dec 5 12:54:45 localhost kernel: [ 4801.177221] [<c015c280>] ? autoremove_wake_function+0x0/0x40
Dec 5 12:54:45 localhost kernel: [ 4801.177230] [<c0303338>] __make_request+0x78/0x3a0
Dec 5 12:54:45 localhost kernel: [ 4801.177238] [<c015c29b>] ? autoremove_wake_function+0x1b/0x40
Dec 5 12:54:45 localhost kernel: [ 4801.177247] [<c012e890>] ? __wake_up_common+0x40/0x70
Dec 5 12:54:45 localhost kernel: [ 4801.177257] [<c0302324>] generic_make_request+0x334/0x510
Dec 5 12:54:45 localhost kernel: [ 4801.177266] [<c0133080>] ? __wake_up+0x40/0x50
Dec 5 12:54:45 localhost kernel: [ 4801.177276] [<c0157fdb>] ? insert_work+0x5b/0xa0
Dec 5 12:54:45 localhost kernel: [ 4801.177286] [<c0127c38>] ? default_spin_lock_flags+0x8/0x10
Dec 5 12:54:45 localhost kernel: [ 4801.177296] [<c01b529e>] ? mempool_alloc_slab+0xe/0x10
Dec 5 12:54:45 localhost kernel: [ 4801.177304] [<c01b529e>] ? mempool_alloc_slab+0xe/0x10
Dec 5 12:54:45 localhost kernel: [ 4801.177312] [<c01b55d7>] ? mempool_alloc+0x37/0xe0
Dec 5 12:54:45 localhost kernel: [ 4801.177322] [<c0302570>] submit_bio+0x70/0x110
Dec 5 12:54:45 localhost kernel: [ 4801.177331] [<c021173b>] mpage_bio_submit+0x1b/0x20
Dec 5 12:54:45 localhost kernel: [ 4801.177339] [<c0212630>] __mpage_writepage+0x520/0x6d0
Dec 5 12:54:45 localhost kernel: [ 4801.177349] [<c01b44c2>] ? find_get_pages_tag+0x32/0x110
Dec 5 12:54:45 localhost kernel: [ 4801.177360] [<c01ba2dd>] write_cache_pages+0x16d/0x390
Dec 5 12:54:45 localhost kernel: [ 4801.177368] [<c0212110>] ? __mpage_writepage+0x0/0x6d0
Dec 5 12:54:45 localhost kernel: [ 4801.177376] [<c021184a>] mpage_writepages+0x3a/0x70
Dec 5 12:54:45 localhost kernel: [ 4801.177395] [<f8af9a80>] ? fat_get_block+0x0/0x270 [fat]
Dec 5 12:54:45 localhost kernel: [ 4801.177410] [<f8af9e6d>] fat_writepages+0xd/0x10 [fat]
Dec 5 12:54:45 localhost kernel: [ 4801.177419] [<c01ba551>] do_writepages+0x21/0x40
Dec 5 12:54:45 localhost kernel: [ 4801.177430] [<c02038be>] writeback_single_inode+0x16e/0x3d0
Dec 5 12:54:45 localhost kernel: [ 4801.177440] [<c0313bfd>] ? prop_fraction_single+0x3d/0x70
Dec 5 12:54:45 localhost kernel: [ 4801.177449] [<c0203fbd>] generic_sync_sb_inodes+0x38d/0x4a0
Dec 5 12:54:45 localhost kernel: [ 4801.177458] [<c02041ad>] writeback_inodes+0x4d/0xe0
Dec 5 12:54:45 localhost kernel: [ 4801.177494] [<c01b9e2f>] balance_dirty_pages_ratelimited_nr+0x4f/0x60
Dec 5 12:54:45 localhost kernel: [ 4801.177503] [<c01b275a>] generic_perform_write+0x13a/0x190
Dec 5 12:54:45 localhost kernel: [ 4801.177513] [<c01b33fd>] generic_file_buffered_write+0x5d/0x150
Dec 5 12:54:45 localhost kernel: [ 4801.177523] [<c01b4da3>] __generic_file_aio_write_nolock+0x1f3/0x510
Dec 5 12:54:45 localhost kernel: [ 4801.177532] [<c012e890>] ? __wake_up_common+0x40/0x70
Dec 5 12:54:45 localhost kernel: [ 4801.177540] [<c01b51d9>] generic_file_aio_write+0x59/0xd0
Dec 5 12:54:45 localhost kernel: [ 4801.177549] [<c0133080>] ? __wake_up+0x40/0x50
Dec 5 12:54:45 localhost kernel: [ 4801.177560] [<c01e765c>] do_sync_write+0xbc/0x100
Dec 5 12:54:45 localhost kernel: [ 4801.177568] [<c0213b40>] ? fsnotify+0xd0/0x120
Dec 5 12:54:45 localhost kernel: [ 4801.177577] [<c015c280>] ? autoremove_wake_function+0x0/0x40
Dec 5 12:54:45 localhost kernel: [ 4801.177588] [<c02c7f8f>] ? security_file_permission+0xf/0x20
Dec 5 12:54:45 localhost kernel: [ 4801.177596] [<c01e77ff>] ? rw_verify_area+0x5f/0xe0
Dec 5 12:54:45 localhost kernel: [ 4801.177605] [<c01e791a>] vfs_write+0x9a/0x190
Dec 5 12:54:45 localhost kernel: [ 4801.177613] [<c01e75a0>] ? do_sync_write+0x0/0x100
Dec 5 12:54:45 localhost kernel: [ 4801.177621] [<c01e83dd>] sys_write+0x3d/0x70
Dec 5 12:54:45 localhost kernel: [ 4801.177629] [<c010336c>] syscall_call+0x7/0xb
Dec 5 12:54:47 localhost kernel: [ 4803.944488] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:54:47 localhost kernel: [ 4803.944503] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:55:05 localhost kernel: [ 4821.324367] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:55:05 localhost kernel: [ 4821.324384] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:55:22 localhost kernel: [ 4838.712993] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:55:22 localhost kernel: [ 4838.713014] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:55:35 localhost kernel: [ 4851.158359] wlan0: authenticate with AP 00:24:fe:08:85:f9
Dec 5 12:55:35 localhost kernel: [ 4851.167637] wlan0: authenticated
Dec 5 12:55:35 localhost kernel: [ 4851.167644] wlan0: associate with AP 00:24:fe:08:85:f9
Dec 5 12:55:35 localhost kernel: [ 4851.170986] wlan0: RX AssocResp from 00:24:fe:08:85:f9 (capab=0x431 status=0 aid=4)
Dec 5 12:55:35 localhost kernel: [ 4851.170995] wlan0: associated
Dec 5 12:55:39 localhost kernel: [ 4856.105744] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:55:39 localhost kernel: [ 4856.105761] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:55:57 localhost kernel: [ 4873.513217] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:55:57 localhost kernel: [ 4873.513234] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:56:14 localhost kernel: [ 4890.909159] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:56:14 localhost kernel: [ 4890.909175] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information
Dec 5 12:56:32 localhost kernel: [ 4908.303484] sd 8:0:0:2: [sdd] Sense Key : No Sense [current]
Dec 5 12:56:32 localhost kernel: [ 4908.303501] sd 8:0:0:2: [sdd] Add. Sense: No additional sense information

regards

ProblemType: Bug
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: hadmut 2224 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x94300000 irq 22'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,1179ff64,00100003 HDA:14f12c06,14f10000,00100000'
   Controls : 17
   Simple ctrls : 11
Date: Sun Dec 6 16:13:55 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=362fff71-4d1c-40ad-8850-9d80523f5b88
MachineType: TOSHIBA Satellite L300
Package: linux-image-2.6.31-16-generic 2.6.31-16.52
ProcCmdLine: root=/dev/mapper/nord-root ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/tcsh
ProcVersionSignature: Ubuntu 2.6.31-16.52-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-16-generic N/A
 linux-firmware 1.25
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Uname: Linux 2.6.31-16-generic i686
WpaSupplicantLog:

XsessionErrors:
 (gnome-settings-daemon:2346): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (gnome-settings-daemon:2346): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (polkit-gnome-authentication-agent-1:3268): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (nautilus:3136): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-panel:2920): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window
dmi.bios.date: 03/19/2008
dmi.bios.vendor: INSYDE
dmi.bios.version: 1.30
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Base Board Product Name
dmi.board.vendor: Intel Corp.
dmi.board.version: Base Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnINSYDE:bvr1.30:bd03/19/2008:svnTOSHIBA:pnSatelliteL300:pvrPSLB0E-02T01XGR:rvnIntelCorp.:rnBaseBoardProductName:rvrBaseBoardVersion:cvnChassisManufacturer:ct1:cvrChassisVersion:
dmi.product.name: Satellite L300
dmi.product.version: PSLB0E-02T01XGR
dmi.sys.vendor: TOSHIBA

Revision history for this message
Hadmut Danisch (hadmut) wrote :
Andy Whitcroft (apw)
tags: added: kernel-karmic
Revision history for this message
Hadmut Danisch (hadmut) wrote :

Hi,

I have submitted a bug to kernel.org. See http://bugzilla.kernel.org/show_bug.cgi?id=14778

They guess it is a hardware problem, but while analyzing the usb monitor dumps they found that something is accesssing the card reader every 30ms, which shouldn't be the case. So there's another problem with ubuntu...

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in linux:
status: Unknown → Confirmed
Revision history for this message
Hadmut Danisch (hadmut) wrote :

I meanwhile saw a similar problem on a distinct machine with a 16 GB (encrypted) USB Pendrive.

Everything looks like bug # 183839 which claims to be fixed but doesn't tell how.

Changed in linux:
status: Confirmed → Invalid
Changed in linux:
importance: Unknown → High
Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
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.