New IT forum
11 August 2022, 06:40:01 pm *
Welcome, %1$s. Please login or register.

: MiraBox now in stock.
 
Pages: [1]

Author Topic: Cannot mount USB Hard disk - controller problem?  (Read 8709 times)

manscher

  • Newbie
  • *
  • Posts: 21
Cannot mount USB Hard disk - controller problem?
« on: 02 July 2014, 06:00:48 pm »

Summary: USB harddisk will not mount on Sheevaplug, mounts fine on laptop, sheevaplug mounts other disks fine. Any ideas on how to determine where the problem is?

I recently had a disk error on my (externally powered) 3TB USB harddisk attached to my white Sheevaplug running Debian 7.4 Wheezy. Using fsck I fixed disk errors on all partitions, fixed the GPT partition table using gdisk, and the disk mounts just fine on my laptop booted with a system rescue linux image from pendrivelinux.com. However, on sheevaplug the mount operation hangs a long time, after which I get strange timeouts, for example:

Quote
[email protected]:~# mount /root/
usb 1-1: reset high-speed USB device number 3 using orion-ehci
INFO: task mount:2874 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
mount           D c044059c     0  2874   2641 0x00000000
[<c044059c>] (__schedule+0x4c8/0x54c) from [<c0440be0>] (io_schedule+0x98/0x108)
[<c0440be0>] (io_schedule+0x98/0x108) from [<c00dca70>] (sleep_on_buffer+0x8/0x10)
[<c00dca70>] (sleep_on_buffer+0x8/0x10) from [<c043f450>] (__wait_on_bit+0x54/0xa0)
[<c043f450>] (__wait_on_bit+0x54/0xa0) from [<c043f514>] (out_of_line_wait_on_bit+0x78/0x84)
[<c043f514>] (out_of_line_wait_on_bit+0x78/0x84) from [<c0113c28>] (__ext3_get_inode_loc+0x37c/0x3d4)
[<c0113c28>] (__ext3_get_inode_loc+0x37c/0x3d4) from [<c0114d78>] (ext3_iget+0x3c/0x418)
[<c0114d78>] (ext3_iget+0x3c/0x418) from [<c043db04>] (ext3_get_journal+0xc/0xdc)
[<c043db04>] (ext3_get_journal+0xc/0xdc) from [<c0123f20>] (ext3_fill_super+0xb90/0x14ec)
[<c0123f20>] (ext3_fill_super+0xb90/0x14ec) from [<c00b69a0>] (mount_bdev+0x128/0x1bc)
[<c00b69a0>] (mount_bdev+0x128/0x1bc) from [<c011dbe4>] (ext3_mount+0x10/0x18)
[<c011dbe4>] (ext3_mount+0x10/0x18) from [<c00b75d0>] (mount_fs+0x10/0xb8)
[<c00b75d0>] (mount_fs+0x10/0xb8) from [<c00cd7c0>] (vfs_kern_mount+0x4c/0xb4)
[<c00cd7c0>] (vfs_kern_mount+0x4c/0xb4) from [<c00cd85c>] (do_kern_mount+0x34/0xd0)
[<c00cd85c>] (do_kern_mount+0x34/0xd0) from [<c00cf368>] (do_mount+0x60c/0x688)
[<c00cf368>] (do_mount+0x60c/0x688) from [<c00cf470>] (sys_mount+0x84/0xc4)
[<c00cf470>] (sys_mount+0x84/0xc4) from [<c0008b80>] (ret_fast_syscall+0x0/0x2c)
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda2): using internal journal
EXT3-fs (sda2): mounted filesystem with writeback data mode

Even though it claims at the end to have mounted the disk, I still get no files at the mount point, except for one time (hasn't happened again). Curiously, a USB stick and another (older) USB disk could mount just fine. I have made no changes to distribution (e.g. upgrading packages) before the change. fsck reports that the drive is clean:

Quote
[email protected]:~# fsck -y -v /dev/sda2
fsck from util-linux 2.20.1
e2fsck 1.42.5 (29-Jul-2012)
root: clean, 200/327680 files, 76080/1310720 blocks

The harddisk had been working just fine fore a year before this. Since I can mount the USB harddisk just fine on my laptop, I'm suspecting a hardware problem in the Sheevaplug, on the other hand, it mounts other USB devices just fine. Any ideas on how I can determine where the fault lies?

Martin

Update:
When plugging in the drive, the following message appears on the serial device (and dmesg)

Quote
usb 1-1: new high-speed USB device number 4 using orion-ehci
scsi1 : usb-storage 1-1:1.0
scsi 1:0:0:0: Direct-Access     Seagate  Expansion Desk   0319 PQ: 0 ANSI: 6
sd 1:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Mode Sense: 2b 00 10 08
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 1:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
 sda: sda1 sda2 sda3 sda4 sda5
sd 1:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.72 TiB)
sd 1:0:0:0: [sda] Attached SCSI disk
usb 1-1: reset high-speed USB device number 4 using orion-ehci
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda3): using internal journal
EXT3-fs (sda3): recovery complete
EXT3-fs (sda3): mounted filesystem with writeback data mode
« Last Edit: 02 July 2014, 06:38:35 pm by manscher »
Logged

Ralph Houston

  • New IT customer
  • Full Member
  • *
  • Posts: 136
Re: Cannot mount USB Hard disk - controller problem?
« Reply #1 on: 04 July 2014, 07:11:32 am »

Is the disk power supply OK?
Logged

manscher

  • Newbie
  • *
  • Posts: 21
Re: Cannot mount USB Hard disk - controller problem?
« Reply #2 on: 08 July 2014, 09:47:28 pm »

Is the disk power supply OK?
Yes, it would seem so. After you asked, I tried another power supply with the same specs, and same results.

It seems that its the disk that is the problem, not the Sheevaplug; the problem now also appears when connecting to my laptop. I'm in progress with copying the data to a new disk (while crossing my fingers :-)
Logged
Pages: [1]
 
 

Powered by MySQL Powered by PHP SMF 2.0.10 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!