HDD not recognized


7 posts
by FFes » Mon Jul 02, 2012 8:12 pm
I have a external USB HDD, with its own power supply. It has a ext2 file system on it. When I connect it to my laptop it is properly recognized. But when I connect it to my pi, it is not recognized.

/var/log/syslog show a large number of these lines:

Code: Select all
Jul  2 22:03:08 raspberrypi kernel: [ 2030.168080] usb 1-1.3: USB disconnect, device number 29
Jul  2 22:03:08 raspberrypi kernel: [ 2030.186746] sr0: scsi3-mmc drive: 0x/168x writer dvd-ram cd/rw cdda caddy
Jul  2 22:03:08 raspberrypi kernel: [ 2030.190569] sr 25:0:0:0: Attached scsi CD-ROM sr0
Jul  2 22:04:09 raspberrypi kernel: [ 2090.728379] usb 1-1.3: new high speed USB device number 30 using dwc_otg
Jul  2 22:04:09 raspberrypi kernel: [ 2090.829903] usb 1-1.3: New USB device found, idVendor=0930, idProduct=0b05
Jul  2 22:04:09 raspberrypi kernel: [ 2090.829939] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul  2 22:04:09 raspberrypi kernel: [ 2090.829960] usb 1-1.3: Product: USB 2.0 CD + HDD
Jul  2 22:04:09 raspberrypi kernel: [ 2090.829976] usb 1-1.3: Manufacturer: Toshiba
Jul  2 22:04:09 raspberrypi kernel: [ 2090.830001] usb 1-1.3: SerialNumber: 11140600090D
Jul  2 22:04:09 raspberrypi kernel: [ 2090.844883] scsi26 : usb-storage 1-1.3:1.0
Jul  2 22:04:10 raspberrypi kernel: [ 2091.849548] scsi scan: INQUIRY result too short (5), using 36
Jul  2 22:04:10 raspberrypi kernel: [ 2091.849598] scsi 26:0:0:0: CD-ROM            Toshiba  USB 2.0 CD-ROM   1.14 PQ: 0 ANSI: 0


No /dev/sd* entries are available to mount. There is a /dev/sr0 but I cannot mount it.

The disk is not shown with "fdisk -l"
Posts: 9
Joined: Mon Jul 02, 2012 8:02 pm
by SirLagz » Tue Jul 03, 2012 3:37 am
Looks like it's being detected as a CD rom rather than a Hard drive.
Have you tried a google for that particular external hdd on linux and see if anyone else has had issues ?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
by FFes » Tue Jul 03, 2012 7:05 am
It has served as the HDD to my NSLU2, running both Unslung and Debian, for some years. As said, it already has a ext2-fs and my laptop (when booted with Linux) recogizes it as without any problem.

There is indeed a CD-ROM part and a HDD part on the drive (the syslog output says so as well), but that has never been a problem.

Know that the lines in my original post are repeated every X (don't know x at the moment) minutes.
Posts: 9
Joined: Mon Jul 02, 2012 8:02 pm
by FFes » Tue Jul 03, 2012 7:22 am
Oops, misread your reply a bit. I did try to google the vendorid and productid and found one (according to Google Translate) Italian form post from 2009 with what look like a similar problem, but there was no solution in that post.
Posts: 9
Joined: Mon Jul 02, 2012 8:02 pm
by SirLagz » Tue Jul 03, 2012 2:27 pm
try plugging it into a machine that it works with, and do a lsusb, and then do the same on the Pi.

Does it get detected as one device or two devices on the other machine that it works on?
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
by FFes » Tue Jul 03, 2012 9:31 pm
Turned out be some problem with the disk. It was not recognized running Linux on my laptop. The lsusb showed it as one device, but I could not fsck it, no devices added to /dev, it just didn't work.

On my WinXP desktop with ext2fsd installed the disk just worked. After unmounting the disk everything worked, on the Linux booted laptop as well as on the pi. I'm running e2fsck right now to correct any error that still would be on the disk.

So, problem solved. Thanks for the reply.
Posts: 9
Joined: Mon Jul 02, 2012 8:02 pm
by SirLagz » Thu Jul 05, 2012 2:26 am
No problem :)
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044
Posts: 1704
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia