usb device no longer auto mounts

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

usb device no longer auto mounts

Rick Pasotto
I am running 'testing', updated daily. I have a usb device that used to
automatically mount and open a window showing the root of the mounted
file system. It no longer does. The kernel mounts the usb device but
gnome-volume-manager no longer mounts the file system.

I have restarted gnome (and X) to no avail.

What do I try next? Or, how can I manually mount the sub device
filesystem (what's the path to the device)?

--
A ducks legs, though short, cannot be lengthened
without discomfort to the duck;
A crane's legs, though long, cannot be shortened
without discomfort to the crane.
    Rick Pasotto    [hidden email]    http://www.niof.net


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Andrea Vettorello
On 2/17/06, Rick Pasotto <[hidden email]> wrote:
> I am running 'testing', updated daily. I have a usb device that used to
> automatically mount and open a window showing the root of the mounted
> file system. It no longer does. The kernel mounts the usb device but
> gnome-volume-manager no longer mounts the file system.
>
> I have restarted gnome (and X) to no avail.
>
> What do I try next?

Is "gnome-volume-manager" running?

>Or, how can I manually mount the sub device
> filesystem (what's the path to the device)?
>

If the needed kernel modules are loaded (usually usb-storage and
dependencies) the device should be "/dev/sda1" (but better if you look
in your syslog), so you can use "mount" or "pmount" to mount the
device, i will suggest "pmount /dev/sda1 usd-disk", this should create
a /media/usb-disk mount point...


Andrea

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Hamish Moffatt
On Sat, Feb 18, 2006 at 08:00:34AM +0100, Andrea Vettorello wrote:

> On 2/17/06, Rick Pasotto <[hidden email]> wrote:
> > I am running 'testing', updated daily. I have a usb device that used to
> > automatically mount and open a window showing the root of the mounted
> > file system. It no longer does. The kernel mounts the usb device but
> > gnome-volume-manager no longer mounts the file system.
> >
> > I have restarted gnome (and X) to no avail.
> >
> > What do I try next?
>
> Is "gnome-volume-manager" running?

I seem to have the same problem here - my USB hard disk (iRiver H140 MP3
player) is not automatically mounted any more. The modules are loaded
and /dev/sdc* is created, and gnome-volume-manager is running.

I can successfully pmount /dev/sdc1 manually.

[6:26pm] hamish@noddy:~> hal-device | grep sdc1
  block.device = '/dev/sdc1'  (string)
  linux.sysfs_path_device = '/sys/block/sdc/sdc1'  (string)
  linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)

So it looks like gnome-volume-manager is not doing the right thing.


On another PC of mine, PCMCIA IDE disks (ie compact flash card in PCMCIA
adapter) are not automatically mounted, but hal-device doesn't list the
device so I presume it's a hal or udev problem firstly.


Hamish
--
Hamish Moffatt VK3SB <[hidden email]> <[hidden email]>


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Sjoerd Simons-2
On Sat, Feb 18, 2006 at 06:28:51PM +1100, Hamish Moffatt wrote:

> On Sat, Feb 18, 2006 at 08:00:34AM +0100, Andrea Vettorello wrote:
> > On 2/17/06, Rick Pasotto <[hidden email]> wrote:
> > > I am running 'testing', updated daily. I have a usb device that used to
> > > automatically mount and open a window showing the root of the mounted
> > > file system. It no longer does. The kernel mounts the usb device but
> > > gnome-volume-manager no longer mounts the file system.
> > >
> > > I have restarted gnome (and X) to no avail.
> > >
> > > What do I try next?
> >
> > Is "gnome-volume-manager" running?
>
> I seem to have the same problem here - my USB hard disk (iRiver H140 MP3
> player) is not automatically mounted any more. The modules are loaded
> and /dev/sdc* is created, and gnome-volume-manager is running.
>
> I can successfully pmount /dev/sdc1 manually.
>
> [6:26pm] hamish@noddy:~> hal-device | grep sdc1
>   block.device = '/dev/sdc1'  (string)
>   linux.sysfs_path_device = '/sys/block/sdc/sdc1'  (string)
>   linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)
>
> So it looks like gnome-volume-manager is not doing the right thing.

Can you run gnome-volume-manager on the command line and mail the output it
gives when you plug in your usb device?
 
> On another PC of mine, PCMCIA IDE disks (ie compact flash card in PCMCIA
> adapter) are not automatically mounted, but hal-device doesn't list the
> device so I presume it's a hal or udev problem firstly.

Hal doesn't deal with PCMCIA IDE stuff because the kernel support for it is too
broken (and not easy to fix).

  Sjoerd
--
One has to look out for engineers -- they begin with sewing machines
and end up with the atomic bomb.
                -- Marcel Pagnol


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Andrea Vettorello
In reply to this post by Hamish Moffatt
On 2/18/06, Hamish Moffatt <[hidden email]> wrote:

[...]

> > >
> > > I have restarted gnome (and X) to no avail.
> > >
> > > What do I try next?
> >
> > Is "gnome-volume-manager" running?
>
> I seem to have the same problem here - my USB hard disk (iRiver H140 MP3
> player) is not automatically mounted any more. The modules are loaded
> and /dev/sdc* is created, and gnome-volume-manager is running.
>
> I can successfully pmount /dev/sdc1 manually.
>
> [6:26pm] hamish@noddy:~> hal-device | grep sdc1
>   block.device = '/dev/sdc1'  (string)
>   linux.sysfs_path_device = '/sys/block/sdc/sdc1'  (string)
>   linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)
>
> So it looks like gnome-volume-manager is not doing the right thing.
>
>
> On another PC of mine, PCMCIA IDE disks (ie compact flash card in PCMCIA
> adapter) are not automatically mounted, but hal-device doesn't list the
> device so I presume it's a hal or udev problem firstly.
>

Yep, i suspect this too. Testing and Sid version of
gnome-volume-manager are the same (1.4.0-4), but i can confirm that
with Sid auto-mounting works as expected...


Andrea

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Sven Luther
On Sat, Feb 18, 2006 at 09:35:14AM +0100, Andrea Vettorello wrote:

> On 2/18/06, Hamish Moffatt <[hidden email]> wrote:
>
> [...]
>
> > > >
> > > > I have restarted gnome (and X) to no avail.
> > > >
> > > > What do I try next?
> > >
> > > Is "gnome-volume-manager" running?
> >
> > I seem to have the same problem here - my USB hard disk (iRiver H140 MP3
> > player) is not automatically mounted any more. The modules are loaded
> > and /dev/sdc* is created, and gnome-volume-manager is running.
> >
> > I can successfully pmount /dev/sdc1 manually.
> >
> > [6:26pm] hamish@noddy:~> hal-device | grep sdc1
> >   block.device = '/dev/sdc1'  (string)
> >   linux.sysfs_path_device = '/sys/block/sdc/sdc1'  (string)
> >   linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)
> >
> > So it looks like gnome-volume-manager is not doing the right thing.
> >
> >
> > On another PC of mine, PCMCIA IDE disks (ie compact flash card in PCMCIA
> > adapter) are not automatically mounted, but hal-device doesn't list the
> > device so I presume it's a hal or udev problem firstly.
> >
>
> Yep, i suspect this too. Testing and Sid version of
> gnome-volume-manager are the same (1.4.0-4), but i can confirm that
> with Sid auto-mounting works as expected...

This is probably a udev/kernel bad interaction. I am running sarge with a
sid kernel (but was not really able to backport udev last i tried), and i am
seeing this kind of behavior also.

Friendly,

Sven Luther


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Jean-Christophe Dubacq
In reply to this post by Rick Pasotto
On Fri, Feb 17, 2006 at 03:33:15PM -0500, Rick Pasotto wrote:
> I am running 'testing', updated daily. I have a usb device that used to
> automatically mount and open a window showing the root of the mounted
> file system. It no longer does. The kernel mounts the usb device but
> gnome-volume-manager no longer mounts the file system.
>
> I have restarted gnome (and X) to no avail.
>
> What do I try next? Or, how can I manually mount the sub device
> filesystem (what's the path to the device)?

Bug of hal. I do not understand why this could go into testing.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350762


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Scott Hutton-2
I had the same problem. I rebooted, went into Gnome Control Centre
(deb-apps-system-gnome), and the settings in Removable Drives had been
reset. I set them back so that it automounted :).

Scott

On Sat, 2006-02-18 at 19:21 +0100, Jean-Christophe Dubacq wrote:

> On Fri, Feb 17, 2006 at 03:33:15PM -0500, Rick Pasotto wrote:
> > I am running 'testing', updated daily. I have a usb device that used
> to
> > automatically mount and open a window showing the root of the
> mounted
> > file system. It no longer does. The kernel mounts the usb device but
> > gnome-volume-manager no longer mounts the file system.
> >
> > I have restarted gnome (and X) to no avail.
> >
> > What do I try next? Or, how can I manually mount the sub device
> > filesystem (what's the path to the device)?
>

Send instant messages to your online friends http://au.messenger.yahoo.com 


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Hamish Moffatt
In reply to this post by Jean-Christophe Dubacq
On Sat, Feb 18, 2006 at 07:21:47PM +0100, Jean-Christophe Dubacq wrote:

> On Fri, Feb 17, 2006 at 03:33:15PM -0500, Rick Pasotto wrote:
> > I am running 'testing', updated daily. I have a usb device that used to
> > automatically mount and open a window showing the root of the mounted
> > file system. It no longer does. The kernel mounts the usb device but
> > gnome-volume-manager no longer mounts the file system.
> >
> > I have restarted gnome (and X) to no avail.
> >
> > What do I try next? Or, how can I manually mount the sub device
> > filesystem (what's the path to the device)?
>
> Bug of hal. I do not understand why this could go into testing.
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350762

That's not the problem here. "lshal --monitor" shows all the right
things (included a volume being added) but g-v-m doesn't mount it.

Hamish
--
Hamish Moffatt VK3SB <[hidden email]> <[hidden email]>


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Hamish Moffatt
In reply to this post by Sven Luther
On Sat, Feb 18, 2006 at 09:44:23AM +0100, Sven Luther wrote:
> This is probably a udev/kernel bad interaction. I am running sarge with a
> sid kernel (but was not really able to backport udev last i tried), and i am
> seeing this kind of behavior also.

I'm still running 2.6.14; perhaps that's it.

Hamish
--
Hamish Moffatt VK3SB <[hidden email]> <[hidden email]>


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Hamish Moffatt
In reply to this post by Sjoerd Simons-2
On Sat, Feb 18, 2006 at 09:24:53AM +0100, Sjoerd Simons wrote:

> On Sat, Feb 18, 2006 at 06:28:51PM +1100, Hamish Moffatt wrote:
> > I seem to have the same problem here - my USB hard disk (iRiver H140 MP3
> > player) is not automatically mounted any more. The modules are loaded
> > and /dev/sdc* is created, and gnome-volume-manager is running.
> >
> > I can successfully pmount /dev/sdc1 manually.
> >
> > [6:26pm] hamish@noddy:~> hal-device | grep sdc1
> >   block.device = '/dev/sdc1'  (string)
> >   linux.sysfs_path_device = '/sys/block/sdc/sdc1'  (string)
> >   linux.sysfs_path = '/sys/block/sdc/sdc1'  (string)
> >
> > So it looks like gnome-volume-manager is not doing the right thing.
>
> Can you run gnome-volume-manager on the command line and mail the output it
> gives when you plug in your usb device?

I've installed linux-image-2.6.15-foo now and it's working.
Previously I was running 2.6.14.


Hamish
--
Hamish Moffatt VK3SB <[hidden email]> <[hidden email]>


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Sjoerd Simons-2
In reply to this post by Jean-Christophe Dubacq
On Sat, Feb 18, 2006 at 07:21:47PM +0100, Jean-Christophe Dubacq wrote:

> On Fri, Feb 17, 2006 at 03:33:15PM -0500, Rick Pasotto wrote:
> > I am running 'testing', updated daily. I have a usb device that used to
> > automatically mount and open a window showing the root of the mounted
> > file system. It no longer does. The kernel mounts the usb device but
> > gnome-volume-manager no longer mounts the file system.
> >
> > I have restarted gnome (and X) to no avail.
> >
> > What do I try next? Or, how can I manually mount the sub device
> > filesystem (what's the path to the device)?
>
> Bug of hal. I do not understand why this could go into testing.
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350762

Maybe because the bug is closed ?

  Sjoerd
--
When the weight of the paperwork equals the weight of the plane, the
plane will fly.
                -- Donald Douglas


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Sjoerd Simons-2
In reply to this post by Hamish Moffatt
On Sun, Feb 19, 2006 at 12:56:48PM +1100, Hamish Moffatt wrote:

> On Sat, Feb 18, 2006 at 07:21:47PM +0100, Jean-Christophe Dubacq wrote:
> > On Fri, Feb 17, 2006 at 03:33:15PM -0500, Rick Pasotto wrote:
> > > I am running 'testing', updated daily. I have a usb device that used to
> > > automatically mount and open a window showing the root of the mounted
> > > file system. It no longer does. The kernel mounts the usb device but
> > > gnome-volume-manager no longer mounts the file system.
> > >
> > > I have restarted gnome (and X) to no avail.
> > >
> > > What do I try next? Or, how can I manually mount the sub device
> > > filesystem (what's the path to the device)?
> >
> > Bug of hal. I do not understand why this could go into testing.
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350762
>
> That's not the problem here. "lshal --monitor" shows all the right
> things (included a volume being added) but g-v-m doesn't mount it.

Would be great if somebody would send the output of g-v-m, so we can actually
figure out what is going wrong :)

  Sjoerd
--
Murphy's Law, that brash proletarian restatement of Godel's Theorem.
                -- Thomas Pynchon, "Gravity's Rainbow"


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Hamish Moffatt
On Sun, Feb 19, 2006 at 04:42:26PM +0100, Sjoerd Simons wrote:
> On Sun, Feb 19, 2006 at 12:56:48PM +1100, Hamish Moffatt wrote:
> > That's not the problem here. "lshal --monitor" shows all the right
> > things (included a volume being added) but g-v-m doesn't mount it.
>
> Would be great if somebody would send the output of g-v-m, so we can actually
> figure out what is going wrong :)

Since the 2.6.14 -> 2.6.15 upgrade fixed it for me, it's probably not
g-v-m anyway. I'll try to boot back soon and get the dump.

Hamish
--
Hamish Moffatt VK3SB <[hidden email]> <[hidden email]>


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Basanta Shrestha
In reply to this post by Rick Pasotto
Dear Rick,
please check that the login name that you are logging with, is in the
plugdev group. Check /etc/group. And make sure that gnome-volume-manage
does its job of automounting.

Basanta
MPP


Rick Pasotto wrote:

>I am running 'testing', updated daily. I have a usb device that used to
>automatically mount and open a window showing the root of the mounted
>file system. It no longer does. The kernel mounts the usb device but
>gnome-volume-manager no longer mounts the file system.
>
>I have restarted gnome (and X) to no avail.
>
>What do I try next? Or, how can I manually mount the sub device
>filesystem (what's the path to the device)?
>
>  
>


--
To UNSUBSCRIBE, email to [hidden email]
with a subject of "unsubscribe". Trouble? Contact [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: usb device no longer auto mounts

Tim Dijkstra
In reply to this post by Hamish Moffatt
On Sun, 19 Feb 2006 12:56:48 +1100
Hamish Moffatt <[hidden email]> wrote:

> On Sat, Feb 18, 2006 at 07:21:47PM +0100, Jean-Christophe Dubacq
> wrote:
> > On Fri, Feb 17, 2006 at 03:33:15PM -0500, Rick Pasotto wrote:
> > > I am running 'testing', updated daily. I have a usb device that
> > > used to automatically mount and open a window showing the root of
> > > the mounted file system. It no longer does. The kernel mounts the
> > > usb device but gnome-volume-manager no longer mounts the file
> > > system.
> > >
> > > I have restarted gnome (and X) to no avail.
> > >
> > > What do I try next? Or, how can I manually mount the sub device
> > > filesystem (what's the path to the device)?
> >
> > Bug of hal. I do not understand why this could go into testing.
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=350762
>
> That's not the problem here. "lshal --monitor" shows all the right
> things (included a volume being added) but g-v-m doesn't mount it.
I had similar symptoms, but it turned out usb was stuck in state D0
after a suspend/resume cycle. This made usb very slow. It would take
minutes to get it mounted.

So, if you see this after resume, you could try the workaround in
http://bugzilla.kernel.org/show_bug.cgi?id=6024

grts Tim

signature.asc (196 bytes) Download Attachment