LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 12-02-2006, 02:37 PM   #1
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Rep: Reputation: 15
Angry Help please umbuntu hotplug (USB drives) not detected


Hi,

Right I have installed Umbuntu 6.10 (edgy) by the old fashioned sledgehammer approach of disconnecting the other drives so there was no way that the installer could put grub onto them. Then I reconnected. turns out that Umbuntu is seeing my sata drive as hd0 and the ide one as hd1. even though they are detected the other way around in the Bios!

I now have a problem with usb pen drives not being detected. I have checked the admin section and all the right boxes are ticked. But when I plug in a drive. Nothing. Zilch.

The drives are vfat formatted and work happily under Suse and Mandriva (they are displayed on the desktop) so why not Umbuntu? I know nothing about the hotplug system and don't even know where to begin other lsusb. This produces 3 devices when I've only plugged two drives in.

Anyone any ideas where I can even start?

John.
 
Old 12-02-2006, 10:56 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
with the usb device not plugged in already, plug it in then post the output of 'dmesg | tail' you may have to run this command with sudo.

if all goes well it should display the device file the USB drive is using, say, /dev/sda1 for example. then use the mount command to mount this device to a previously-created directory, such as 'mount /dev/sda1 /mnt/usbPen -t vfat -o rw'
 
Old 12-03-2006, 12:08 AM   #3
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
nodraj approach should work but truth is you shouldn't have to do any mounting if you have a valid install. No end to devices with storage should mount automatically. An appropriate icon should pop up on the desk top. Clicking the icon takes you into Nautilus. You will probably asked with a pop up if you want to download pictures. You just click ignore if your treating the media as another disk. You clearly have some configuration that has gone south. You need not unplug drives since you select the partitions used for the install. I think you had an installation problem.
 
Old 12-03-2006, 12:14 PM   #4
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Original Poster
Rep: Reputation: 15
I did wonder if something had gone wrong on install. Problem is that I am not a strong user so have no idea where to even start looking. Could you give me some pointers?

J.
 
Old 12-03-2006, 05:40 PM   #5
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 59
we have both suggested methods. tell us what part you are stuck on exactly, thanks
 
Old 12-04-2006, 06:16 AM   #6
Cogvos
Member
 
Registered: Feb 2005
Distribution: Suse 9.3 also Redhat 9, Umbuto, Mandriva 2005
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by nadroj
we have both suggested methods. tell us what part you are stuck on exactly, thanks
Ok here goes. Although dmesg|tail does give the relevent info for manually mounting a drive. This is a pain. Particularly if you have to do it every time you plug a pen drive or other usb drive in. Also I tried it with an ide drive in an external usb housing. dmesg|tail showed it as sdf: sdf1 sdf2 sdf3 <sdf5 sdf6>. But mount /dev/sdf5 -t ext3 /media/linux2 produced an error 'no such device sdf5'.

You're correct in that the hotplug system *should* pick drive up automatically and it does, provided...

There are no other usb devices plugged in, such as a printer or usb mouse.

I've only just discoved the above after a lot of trial and error. If any other usb device is plugged in then I get a repeating error in the logs, can't remember exact details (not currently on the linux box) but it's along the lines of 'device bla bla cannot accept address at something'. Hotplug then just sulks and refuses to accept any usb drives.

This is a real pain since my printer is a usb device. So I cannot print and have a usb drive installed. Strangely if I remove the printer then dmesg|tail reports lpt0 removed. So its recognised correctly (?) but still causes hotplug to sulk.

I confess that I haven't tried a manual mount without other usb devices selected as, well the usb drives mount and there's no point.

So the pointers I need involve debugging the hotplug trail and finding out why plugging any usb device in other than a drive causes the whole hotplug system to sulk. Initially I need to know where the heck umbuntu puts it. /etc/init.d/ does not contain hotplug so I can't even start/stop the service.

Hope you can point me in the right direction.

John.
 
Old 12-04-2006, 03:24 PM   #7
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
Your install is working in very strange ways. Not the expert, I'd consider a clean install. For what its worth there are rules that have some control over device startup. For example I had to add a rule for my Palm PDA cradle which is USB. These rules are found in /etc/udev/rules.d but I suspect you have a larger problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CD Drives not detected ..seems a little weird deepclutch Linux - Hardware 3 08-16-2006 04:55 AM
No sound on Umbuntu 5.04 conormckay Linux - Newbie 6 04-06-2006 07:25 PM
Redhat does but Umbuntu doesn't? aquaboot Ubuntu 11 08-16-2005 11:27 AM
append = tell kernel I have more drives then detected carboncopy Slackware 10 08-11-2003 10:36 PM
RedHat Linux with HotPlug Tape drives ne1scott Linux - Hardware 2 07-04-2003 08:17 PM


All times are GMT -5. The time now is 01:43 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration