Hello everybody.
After upgrading to Karmic my laptop begun having a strange behaviour regarding my external hard drive, a LACIE 500GB disk.
At what seems random times, the hard drive partitions are not automagically mounted by GNOME anymore, and there is no way to mount them manually.
If the drive is already plugged in since boot time, partitions may be already mounted when gnome starts OR be mounted some time later, with the nautilus windows popping up on the screen showing the disk contents.
The same thing when it is hot-plugged: sometimes the partitions are detected immediately, sometimes it takes a while, and sometimes the drive is ignored.
Additionally, even when it's working ok there is a chance that it will suddenly cease functioning, apps cannot write/read files to it anymore causing serious errors (the drive also holds some virtualbox machines' virtual drives).
This is happening on my laptop, a COMPAL HEL80/81 with karmic, and it didn't happen before the upgrade.
I include some output, after that the hard disk has abruptly ceased "functioning", and after i tried unplugging and plugging it back a couple times:
uname - a:
lsusb:Code:Linux caspar 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
fdisk -l:Code:Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 005: ID 1241:1166 Belkin MI-2150 Trust Mouse Bus 004 Device 003: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 011: ID 059f:1021 LaCie, Ltd Bus 001 Device 007: ID 10fd:0535 Anubis Electronics, Ltd Bus 001 Device 004: ID 0c45:624f Microdia PC Camera (SN9C201 + OV9650) Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 002: ID 0a5c:2101 Broadcom Corp. A-Link BlueUsbA2 Bluetooth Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
As you can see, the hard drive is indeed recognized as sdc. But:Code:Disk /dev/sda: 100.0 GB, 100030242816 bytes 255 heads, 63 sectors/track, 12161 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0006a764 Device Boot Start End Blocks Id System /dev/sda1 * 1 5228 41993878+ 7 HPFS/NTFS /dev/sda2 5229 5246 144585 83 Linux /dev/sda3 5247 12161 55544737+ 83 Linux Disk /dev/sdc: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00097383 Device Boot Start End Blocks Id System /dev/sdc1 1 52268 419842678+ 7 HPFS/NTFS /dev/sdc2 52269 54920 21302190 83 Linux /dev/sdc3 54921 60801 47239132+ 83 Linux
ls -l /dev/sd*:
The node files under /dev are not there!Code:brw-rw---- 1 root disk 8, 0 2010-01-06 12:11 /dev/sda brw-rw---- 1 root disk 8, 1 2010-01-06 12:11 /dev/sda1 brw-rw---- 1 root disk 8, 2 2010-01-06 12:11 /dev/sda2 brw-rw---- 1 root disk 8, 3 2010-01-06 12:11 /dev/sda3 brw-rw---- 1 root disk 8, 32 2010-01-06 16:23 /dev/sdc
This is an (extended) output of dmesg after the first trial of un/replug:
This goes back in time, as i don't know haow many of that are related to the hard drive...Code:[13440.604439] INFO: task sync:11944 blocked for more than 120 seconds. [13440.604444] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [13440.604448] sync D c08145c0 0 11944 11941 0x00000000 [13440.604455] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [13440.604464] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [13440.604473] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [13440.604481] Call Trace: [13440.604492] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [13440.604497] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [13440.604508] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [13440.604513] [<c05701b7>] ? down_read+0x17/0x20 [13440.604518] [<c0207875>] sync_filesystems+0xb5/0x100 [13440.604522] [<c0207901>] sys_sync+0x11/0x40 [13440.604527] [<c010336c>] syscall_call+0x7/0xb [13560.605075] INFO: task sync:11944 blocked for more than 120 seconds. [13560.605080] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [13560.605083] sync D c08145c0 0 11944 11941 0x00000000 [13560.605089] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [13560.605097] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [13560.605104] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [13560.605111] Call Trace: [13560.605121] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [13560.605125] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [13560.605129] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [13560.605133] [<c05701b7>] ? down_read+0x17/0x20 [13560.605138] [<c0207875>] sync_filesystems+0xb5/0x100 [13560.605141] [<c0207901>] sys_sync+0x11/0x40 [13560.605146] [<c010336c>] syscall_call+0x7/0xb [13680.605096] INFO: task sync:11944 blocked for more than 120 seconds. [13680.605101] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [13680.605105] sync D c08145c0 0 11944 11941 0x00000000 [13680.605110] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [13680.605118] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [13680.605125] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [13680.605133] Call Trace: [13680.605143] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [13680.605147] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [13680.605151] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [13680.605156] [<c05701b7>] ? down_read+0x17/0x20 [13680.605161] [<c0207875>] sync_filesystems+0xb5/0x100 [13680.605164] [<c0207901>] sys_sync+0x11/0x40 [13680.605169] [<c010336c>] syscall_call+0x7/0xb [13800.605069] INFO: task sync:11944 blocked for more than 120 seconds. [13800.605074] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [13800.605077] sync D c08145c0 0 11944 11941 0x00000000 [13800.605082] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [13800.605090] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [13800.605098] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [13800.605105] Call Trace: [13800.605115] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [13800.605124] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [13800.605128] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [13800.605132] [<c05701b7>] ? down_read+0x17/0x20 [13800.605136] [<c0207875>] sync_filesystems+0xb5/0x100 [13800.605140] [<c0207901>] sys_sync+0x11/0x40 [13800.605144] [<c010336c>] syscall_call+0x7/0xb [13920.605101] INFO: task sync:11944 blocked for more than 120 seconds. [13920.605110] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [13920.605116] sync D c08145c0 0 11944 11941 0x00000000 [13920.605127] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [13920.605142] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [13920.605156] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [13920.605171] Call Trace: [13920.605186] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [13920.605194] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [13920.605202] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [13920.605210] [<c05701b7>] ? down_read+0x17/0x20 [13920.605219] [<c0207875>] sync_filesystems+0xb5/0x100 [13920.605226] [<c0207901>] sys_sync+0x11/0x40 [13920.605233] [<c010336c>] syscall_call+0x7/0xb [14040.605072] INFO: task sync:11944 blocked for more than 120 seconds. [14040.605077] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [14040.605080] sync D c08145c0 0 11944 11941 0x00000000 [14040.605086] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [14040.605094] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [14040.605101] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [14040.605109] Call Trace: [14040.605119] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [14040.605123] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [14040.605127] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [14040.605131] [<c05701b7>] ? down_read+0x17/0x20 [14040.605136] [<c0207875>] sync_filesystems+0xb5/0x100 [14040.605140] [<c0207901>] sys_sync+0x11/0x40 [14040.605144] [<c010336c>] syscall_call+0x7/0xb [14160.605112] INFO: task sync:11944 blocked for more than 120 seconds. [14160.605120] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [14160.605127] sync D c08145c0 0 11944 11941 0x00000000 [14160.605137] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [14160.605152] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [14160.605167] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [14160.605181] Call Trace: [14160.605197] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [14160.605205] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [14160.605213] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [14160.605221] [<c05701b7>] ? down_read+0x17/0x20 [14160.605229] [<c0207875>] sync_filesystems+0xb5/0x100 [14160.605236] [<c0207901>] sys_sync+0x11/0x40 [14160.605244] [<c010336c>] syscall_call+0x7/0xb [14280.605118] INFO: task sync:11944 blocked for more than 120 seconds. [14280.605126] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [14280.605132] sync D c08145c0 0 11944 11941 0x00000000 [14280.605142] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [14280.605158] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [14280.605172] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [14280.605186] Call Trace: [14280.605201] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [14280.605209] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [14280.605217] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [14280.605225] [<c05701b7>] ? down_read+0x17/0x20 [14280.605234] [<c0207875>] sync_filesystems+0xb5/0x100 [14280.605241] [<c0207901>] sys_sync+0x11/0x40 [14280.605248] [<c010336c>] syscall_call+0x7/0xb [14400.605149] INFO: task sync:11944 blocked for more than 120 seconds. [14400.605157] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [14400.605164] sync D c08145c0 0 11944 11941 0x00000000 [14400.605174] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [14400.605189] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [14400.605203] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [14400.605218] Call Trace: [14400.605233] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [14400.605241] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [14400.605249] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [14400.605257] [<c05701b7>] ? down_read+0x17/0x20 [14400.605265] [<c0207875>] sync_filesystems+0xb5/0x100 [14400.605272] [<c0207901>] sys_sync+0x11/0x40 [14400.605280] [<c010336c>] syscall_call+0x7/0xb [14520.605125] INFO: task sync:11944 blocked for more than 120 seconds. [14520.605133] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [14520.605139] sync D c08145c0 0 11944 11941 0x00000000 [14520.605149] e7bc9f2c 00000082 00000000 c08145c0 e8784168 c08145c0 7efa22b5 00000c06 [14520.605165] c08145c0 c08145c0 e8784168 c08145c0 7ef9be15 00000c06 c08145c0 f50be540 [14520.605179] e8783ed0 e7bc9f60 e8783ed0 f1a2883c e7bc9f58 c0570a25 fffeffff f57bf200 [14520.605193] Call Trace: [14520.605208] [<c0570a25>] rwsem_down_failed_common+0x75/0x1a0 [14520.605217] [<c0570b9d>] rwsem_down_read_failed+0x1d/0x30 [14520.605225] [<c0570bf7>] call_rwsem_down_read_failed+0x7/0x10 [14520.605233] [<c05701b7>] ? down_read+0x17/0x20 [14520.605241] [<c0207875>] sync_filesystems+0xb5/0x100 [14520.605248] [<c0207901>] sys_sync+0x11/0x40 [14520.605256] [<c010336c>] syscall_call+0x7/0xb [14748.725297] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use) [14768.459814] usb 1-1: USB disconnect, address 10 [14769.808146] hub 4-0:1.0: port 1 disabled by hub (EMI?), re-enabling... [14769.808157] usb 4-1: USB disconnect, address 4 [14770.072061] usb 4-1: new low speed USB device using uhci_hcd and address 5 [14770.271541] usb 4-1: configuration #1 chosen from 1 choice [14770.324055] input: HID 1241:1166 as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/input/input10 [14770.324166] generic-usb 0003:1241:1166.0003: input,hidraw0: USB HID v1.10 Mouse [HID 1241:1166] on usb-0000:00:1d.2-1/input0 [14774.600268] usb 1-1: new high speed USB device using ehci_hcd and address 11 [14774.733506] usb 1-1: configuration #1 chosen from 1 choice [14774.735209] scsi5 : SCSI emulation for USB Mass Storage devices [14774.735530] usb-storage: device found at 11 [14774.735535] usb-storage: waiting for device to settle before scanning [14779.732347] usb-storage: device scan complete [14779.732975] scsi 5:0:0:0: Direct-Access SAMSUNG HM500LI PQ: 0 ANSI: 2 CCS [14779.734658] sd 5:0:0:0: Attached scsi generic sg2 type 0 [14779.736627] sd 5:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB) [14779.737618] sd 5:0:0:0: [sdc] Write Protect is off [14779.737626] sd 5:0:0:0: [sdc] Mode Sense: 34 00 00 00 [14779.737631] sd 5:0:0:0: [sdc] Assuming drive cache: write through [14779.739109] sd 5:0:0:0: [sdc] Assuming drive cache: write through [14779.739117] sdc: sdc1 sdc2 sdc3 [14779.774362] sd 5:0:0:0: [sdc] Assuming drive cache: write through [14779.774369] sd 5:0:0:0: [sdc] Attached SCSI disk
Finally, just the dmesg output that occurs after unplugging and plugging the drive back:
Any help would be GREATLY appreciated. Thank you very much!Code:[15150.033868] usb 1-1: USB disconnect, address 11 [15158.128068] usb 1-1: new high speed USB device using ehci_hcd and address 12 [15158.261649] usb 1-1: configuration #1 chosen from 1 choice [15158.265491] scsi6 : SCSI emulation for USB Mass Storage devices [15158.265944] usb-storage: device found at 12 [15158.265949] usb-storage: waiting for device to settle before scanning [15163.265270] usb-storage: device scan complete [15163.265893] scsi 6:0:0:0: Direct-Access SAMSUNG HM500LI PQ: 0 ANSI: 2 CCS [15163.266803] sd 6:0:0:0: Attached scsi generic sg2 type 0 [15163.272185] sd 6:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465 GiB) [15163.273044] sd 6:0:0:0: [sdc] Write Protect is off [15163.273047] sd 6:0:0:0: [sdc] Mode Sense: 34 00 00 00 [15163.273050] sd 6:0:0:0: [sdc] Assuming drive cache: write through [15163.274771] sd 6:0:0:0: [sdc] Assuming drive cache: write through [15163.274776] sdc: sdc1 sdc2 sdc3 [15163.306540] sd 6:0:0:0: [sdc] Assuming drive cache: write through [15163.306546] sd 6:0:0:0: [sdc] Attached SCSI disk
Bookmarks