You are not logged in.

#1 2011-09-11 00:54:00

shayan
Member
From: Edmonton
Registered: 2011-07-26
Posts: 9

External hard drives not appearing in /dev/sd*

Hi,
I have two hard drives and sometimes my machine does not recognize them.
The output of dmesg is:

[73646.858436] scsi19 : usb-storage 2-2:1.0
[73646.858565] usb 2-1: USB disconnect, device number 8
[73646.858978] JBD2: I/O error detected when updating journal superblock for sdc1-8.
[73646.859011] Aborting journal on device sdc1-8.
[73646.859019] JBD2: I/O error detected when updating journal superblock for sdc1-8.
[73646.859028] journal commit I/O error
[73647.015382] xhci_hcd 0000:0e:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88018b43e540
[73647.015386] xhci_hcd 0000:0e:00.0: xHCI xhci_drop_endpoint called with disabled ep ffff88018b43e500
[73647.015485] xhci_hcd 0000:0e:00.0: ERROR: unexpected command completion code 0x13.
[73647.857071] scsi 19:0:0:0: Direct-Access     Seagate  FreeAgent Go     102D PQ: 0 ANSI: 4
[73647.857259] sd 19:0:0:0: Attached scsi generic sg2 type 0
[73647.858790] sd 19:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[73647.859965] sd 19:0:0:0: [sdb] Write Protect is off
[73647.859970] sd 19:0:0:0: [sdb] Mode Sense: 1c 00 00 00
[73647.861185] sd 19:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[73647.922185]  sdb: sdb1
[73647.933135] sd 19:0:0:0: [sdb] Attached SCSI disk
[73648.489441] EXT3-fs: barriers not enabled
[73648.502272] kjournald starting.  Commit interval 5 seconds
[73648.502380] EXT3-fs (sdb1): warning: mounting fs with errors, running e2fsck is recommended
[73648.504671] EXT3-fs (sdb1): using internal journal
[73648.504674] EXT3-fs (sdb1): recovery complete
[73648.504677] EXT3-fs (sdb1): mounted filesystem with ordered data mode
[73661.070794] Buffer I/O error on device sdc1, logical block 0
[73661.070797] lost page write due to I/O error on sdc1
[73661.070799] EXT4-fs error (device sdc1): ext4_put_super:771: Couldn't clean up the journal
[73661.070803] EXT4-fs (sdc1): Remounting filesystem read-only
[73661.070805] EXT4-fs (sdc1): previous I/O error to superblock detected
[73661.070808] Buffer I/O error on device sdc1, logical block 0
[73661.070809] lost page write due to I/O error on sdc1
[73686.314268] usb 2-1: new high speed USB device number 14 using xhci_hcd
[73686.514453] usb 2-1: Device not responding to set address.
[73686.717517] usb 2-1: Device not responding to set address.
[73686.920027] usb 2-1: device not accepting address 14, error -71
[73686.973321] hub 2-0:1.0: unable to enumerate USB device on port 1

My machine is up-to-date with kernel 3.0
Usually I have to restart my machine in order to use the disks.
lsusb does not show the external hard disk I am talking about.

Offline

#2 2011-09-11 16:13:45

benmorgan
Member
From: Germany
Registered: 2006-07-28
Posts: 67

Re: External hard drives not appearing in /dev/sd*

Are you talking about the last few lines, usb 2-1 and hub 2-0?

Offline

#3 2011-09-11 16:21:21

shayan
Member
From: Edmonton
Registered: 2011-07-26
Posts: 9

Re: External hard drives not appearing in /dev/sd*

I was using the hard drive normally and this problem occured.
I think all of the lines are related. My external hard drive is formatted as EXT-4 and dmesg shows ext fs failure before complaining about enumeration.
I cannot reproduce this bug. However, it happens time to time.
The port is usb 3.0 and the hard disk is western digital portable hdd with usb 3.0.
I guess this problem maybe related to usb 3.0.

Offline

#4 2011-10-10 10:28:30

matiit
Member
From: Poland
Registered: 2007-04-13
Posts: 141
Website

Re: External hard drives not appearing in /dev/sd*

I've got the same problem.
That commands should help. (each time sad )

# modprobe -r xhci_hcd;
# modprobe xhci_hcd;

Offline

Board footer

Powered by FluxBB