LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-09-2011, 05:18 PM   #1
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Rep: Reputation: 0
Unable to get Phatbox hard drive caddy to mount


Hi everyone

I'm struggling to get a USB removable hard drive to mount in Linux. Its part of a removable car audio system called a Phatbox.

I can see the unit is being recognised by the system, but I can't find a relevant /dev/sda* entry which I can then mount to a folder. Can anyone help?

My kernel is 2.6.35-27-generic-pae - as part of Ubuntu meerkat

My starting point for all this is dmesg (as usual!), which after I pull out and plug in the device, says the following:


[] usb 2-1: USB disconnect, address 5
[] usb 2-2: new high speed USB device using ehci_hcd and address 6
[] scsi7 : usb-storage 2-2:1.0

When I do the same, /var/log/messages says:

23:03:01 Notebook-PC kernel: [ 1046.117967] usb 2-2: USB disconnect, address 7
23:03:01 Notebook-PC halevt: Running: halevt-umount -u /org/freedesktop/Hal/devices/usb_device_424_20cd_noserial_if0_scsi_host; halevt-umount -s
23:03:01 Notebook-PC halevt: Running: halevt-umount -u /org/freedesktop/Hal/devices/usb_device_424_20cd_noserial_if0; halevt-umount -s
23:03:01 Notebook-PC halevt: Running: halevt-umount -u /org/freedesktop/Hal/devices/usb_device_424_20cd_noserial; halevt-umount -s
23:03:07 Notebook-PC kernel: [ 1052.740079] usb 2-2: new high speed USB device using ehci_hcd and address 8
23:03:07 Notebook-PC kernel: [ 1052.909300] scsi9 : usb-storage 2-2:1.0
23:03:30 pete-HP-Pavilion-dv9700-Notebook-PC kernel: [ 1075.152126] usb 2-2: reset high speed USB device using ehci_hcd and address 8
23:03:40 pete-HP-Pavilion-dv9700-Notebook-PC kernel: [ 1085.408200] usb 2-2: reset high speed USB device using ehci_hcd and address 8
23:03:56 Notebook-PC kernel: [ 1101.669121] usb 2-2: reset high speed USB device using ehci_hcd and address 8
23:03:56 Notebook-PC kernel: [ 1101.928045] usb 2-2: reset high speed USB device using ehci_hcd and address 8
23:04:07 Notebook-PC kernel: [ 1112.184489] usb 2-2: reset high speed USB device using ehci_hcd and address 8
23:04:07 Notebook-PC kernel: [ 1112.331065] scsi 9:0:0:0: Device offlined - not ready after error recovery


I can see at the end there it says "not ready after error recovery" - how do I find out what that error was?

Then lsusb gives me this line:

Bus 002 Device 009: ID 0424:20cd Standard Microsystems Corp. Sitecom Internal Multi Memory reader/writer MD-005

I've looked up Sitecom on the HCL and MD-005 doesn't appear - does that mean its not compatible or just not on the list? Its listed here - http://www.linux-usb.org/usb.ids


So - can anyone help? How do I diagnose why that error happened - and why it is that although its discovered it as a scsi device, scsi9, it then offlines it?

Any help much appreciated!

Thanks,

Pete
 
Old 03-10-2011, 01:18 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
The error may have been that you just unplugged it instead or doing a proper removal.

You should boot with it plugged in and check under /media to see if it shows up there.
 
Old 03-10-2011, 01:56 PM   #3
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
I'm afraid I've tried pretty much every combination of booting / plugging / unplugging / re-inserting drive into cradle... I'll try one more time and see though - but I thought that an unmounted device was safe to remove and plug in with no issues!?

I think the bit that strikes me as odd is that it has never ever been assigned anything under /dev/sd*. It only ever gets called "scsi9" or something like that.

In theory there should be two partitions as well, but only one device shows up.
 
Old 03-10-2011, 01:57 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
It should be /dev/sdc and should get mounted under /media
 
Old 03-10-2011, 02:04 PM   #5
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
...but /dev/sdc does not exist...should I create it somehow? I'm sure I read once that you could do that...although I thought Ubuntu was supposed to avoid users from having to get that technical...
 
Old 03-10-2011, 02:08 PM   #6
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
I've recreated /dev/sdc with MAKEDEV - but when I try and mount them, it just tells me its not a valid block device. And in dmesg its still not associating the drives with any of them (1, 2, 3, etc)...
 
Old 03-10-2011, 02:13 PM   #7
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by PetrosPetros View Post
...but /dev/sdc does not exist...should I create it somehow? I'm sure I read once that you could do that...although I thought Ubuntu was supposed to avoid users from having to get that technical...
You shouldn't have to do this. Udev should take care of all of this for you.
 
Old 03-10-2011, 02:14 PM   #8
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
So is the issue with udev perhaps?
 
Old 03-10-2011, 02:21 PM   #9
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Do you have a LiveCD you can try it with?
 
Old 03-10-2011, 02:45 PM   #10
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
I tried that..same events in dmesg I'm afraid and no sd* devices in /dev...

I think the key to this is the line which says:

scsi9 : usb-storage 2-2:1.0

and the line which says

scsi 9:0:0:0: Device offlined - not ready after error recovery

- so firstly it doesn't get assigned to anything in /dev, and then there's an error.

Other people's dmesg's on other forums seem to have lines saying "[] sdc: sdc1" or similar - which tell you which block device it is. Mine's not getting that far.

I tried setting the rsyslog debug output to be included - but no more messages are appearing... I've used linux for a while but I'm stuck on this one for what other information I can gather to debug this!
 
Old 03-11-2011, 02:26 PM   #11
PetrosPetros
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
Does anyone else have any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to mount USB external hard drive Irene Chan Linux - Newbie 11 03-13-2010 01:02 PM
unable to mount hard drive marcusnerison Linux - Hardware 11 05-17-2008 04:29 PM
Unable to mount external hard drive JenovaProject Linux - Hardware 1 04-06-2008 03:14 PM
Unable to mount iStore USB External Hard Drive LupisYonderboy Linux - Newbie 3 10-20-2007 09:12 AM
Sunami External USB 2.0 HDD caddy, Hitachi 40gb drive nickpye Linux - Hardware 1 02-16-2004 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration