List Info

Thread: USB flash drive mount point fun




USB flash drive mount point fun
country flaguser name
United States
2007-06-27 08:49:48
Can anyone tell me why my USB flash drive, while connected
to my laptop
would bounce from /media/sda1, to sdb1, to sdc1, to sdd1, to
sde1?

I had to guess the correct mount point 3 times while copying
files over.
  I would like to assume one of the latest updates has done
this, but I
can't be sure.  It's never done that before.  Ideas?

-- 
Da mihi sis bubulae frustrum assae, solana tuberosa in modo
gallico
fricta, ac quassum lactatum coagulatum crassum


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
Czech Republic
2007-06-27 09:32:05
Just a guess, do you unmount it?

On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney
<mhaneyercbroadband.org>  
wrote:

> Can anyone tell me why my USB flash drive, while
connected to my laptop
> would bounce from /media/sda1, to sdb1, to sdc1, to
sdd1, to sde1?
>
> I had to guess the correct mount point 3 times while
copying files over.
>   I would like to assume one of the latest updates has
done this, but I
> can't be sure.  It's never done that before.  Ideas?
>


-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
United States
2007-06-27 09:52:48
Lukas Oliva wrote:
> Just a guess, do you unmount it?
> 
> On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney
<mhaneyercbroadband.org>
> wrote:
> 
>> Can anyone tell me why my USB flash drive, while
connected to my laptop
>> would bounce from /media/sda1, to sdb1, to sdc1, to
sdd1, to sde1?
>>
>> I had to guess the correct mount point 3 times
while copying files over.
>>   I would like to assume one of the latest updates
has done this, but I
>> can't be sure.  It's never done that before. 
Ideas?
>>
> 
> 

During the time while I was copying the files?  No.  It was
connected
and mounted the entire time.  I've never seen a mounted
device
unmount/remount at a different mount point before.  It's
bizarre.


-- 
Da mihi sis bubulae frustrum assae, solana tuberosa in modo
gallico
fricta, ac quassum lactatum coagulatum crassum


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
United States
2007-06-27 09:58:24
Lukas Oliva wrote:
> Just a guess, do you unmount it?
> 
> On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney
<mhaneyercbroadband.org>
> wrote:
> 
>> Can anyone tell me why my USB flash drive, while
connected to my laptop
>> would bounce from /media/sda1, to sdb1, to sdc1, to
sdd1, to sde1?
>>
>> I had to guess the correct mount point 3 times
while copying files over.
>>   I would like to assume one of the latest updates
has done this, but I
>> can't be sure.  It's never done that before. 
Ideas?
>>
> 
> 
Jun 26 12:10:51 octavian sde: sde1 sde2
Jun 26 12:10:52 octavian ivman: UDI
/org/freedesktop/Hal/devices/volume_uuid_0804_2032 is device
/dev/sde1
Jun 26 12:10:52 octavian ivman: Device /dev/sde1 appears to
be mountable
Jun 26 12:10:57 octavian ivman: Attempting to mount device
/dev/sde1
Jun 26 12:10:57 octavian ivman: Running: pmount -u 007
'/dev/sde1'
Jun 26 12:10:58 octavian ivman: UDI
/org/freedesktop/Hal/devices/volume_uuid_0804_2032 is device
/dev/sde1
Jun 26 12:10:58 octavian ivman: Device /dev/sde1 appears to
be mountable

I just grepped syslog and get these messages logged for each
mount point
(sda1 to sde1) throughout the time I had the flash drive
connected
yesterday.  It looks like ivman is misbehaving somehow.



-- 
Da mihi sis bubulae frustrum assae, solana tuberosa in modo
gallico
fricta, ac quassum lactatum coagulatum crassum


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
Czech Republic
2007-06-27 10:18:20
   Let me get this straight, you mount your flash disc, copy
your files and  
work and bythis time, you never get the stick off, you never
do  
umount/remount and for some reason you find, your device
changed? Or 2)  
You mounted coppied, worked, got it off, then replugged and
saw different  
device? Or 3) As in the second possibility, but unmounted it
correctly  
first?
If the second or third is what you did, you can write
yourself some udev  
rule.

   plhu

On Wed, 27 Jun 2007 16:58:24 +0200, Mark Haney
<mhaneyercbroadband.org>  
wrote:

> Lukas Oliva wrote:
>> Just a guess, do you unmount it?
>>
>> On Wed, 27 Jun 2007 15:49:48 +0200, Mark Haney
<mhaneyercbroadband.org>
>> wrote:
>>
<snip>
>>
>>
> Jun 26 12:10:51 octavian sde: sde1 sde2
> Jun 26 12:10:52 octavian ivman: UDI
> /org/freedesktop/Hal/devices/volume_uuid_0804_2032 is
device /dev/sde1
> Jun 26 12:10:52 octavian ivman: Device /dev/sde1
appears to be mountable
> Jun 26 12:10:57 octavian ivman: Attempting to mount
device /dev/sde1
> Jun 26 12:10:57 octavian ivman: Running: pmount -u 007
'/dev/sde1'
> Jun 26 12:10:58 octavian ivman: UDI
> /org/freedesktop/Hal/devices/volume_uuid_0804_2032 is
device /dev/sde1
> Jun 26 12:10:58 octavian ivman: Device /dev/sde1
appears to be mountable
>
> I just grepped syslog and get these messages logged for
each mount point
> (sda1 to sde1) throughout the time I had the flash
drive connected
> yesterday.  It looks like ivman is misbehaving
somehow.
>
>
>


-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
United States
2007-06-27 10:35:20
Lukas Oliva wrote:
>   Let me get this straight, you mount your flash disc,
copy your files
> and work and bythis time, you never get the stick off,
you never do
> umount/remount and for some reason you find, your
device changed? Or 2)
> You mounted coppied, worked, got it off, then replugged
and saw
> different device? Or 3) As in the second possibility,
but unmounted it
> correctly first?
> If the second or third is what you did, you can write
yourself some udev
> rule.
> 
>   plhu
> 

Okay, obviously I'm sucking at making things clear today. 
Here's a
second stab at what I"m doing.  I have a USB flash
drive (2GB).  I plub
it into the USB port on my laptop.  I copy files.  I dig
around for the
other files I need, I go back to copy more files (via
konqueror) and
/while the usb drive is still and has been connected the
entire time/ I
look and see that the drive has moved from /media/sda1 to
/media/sdb1.

I copy more files, look around, find more things to copy, go
back and
the drive is now at /media/sdc1, etc.  All the while I've
not unmounted
or removed the drive at all.  It's just sitting there
blinking it's
little green LED light occasionally.

Does that make a little more sense?




-- 
Da mihi sis bubulae frustrum assae, solana tuberosa in modo
gallico
fricta, ac quassum lactatum coagulatum crassum


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support
-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
user name
2007-06-27 10:45:10
Mark Haney, mused, then expounded:
> 
> Does that make a little more sense?
>

The logfile told all.  My guess is during usb bus
resets/rediscovery (an
automatic thing) ivman has the mount, but because the
lowered numbered
drive is already there, a new device gets created (probably
by ivman)
and remounted as the old one disappeared, but the node in
/dev still exists.

My guess is if you get rid of ivman, this will not occur
anymore.  Of course
you're back to old, boring, reliable, manual
mounting/umounting of removeable
devices.

Bob 
-  
-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
Czech Republic
2007-06-27 10:39:11
   Yes, this is clear. Well I have never seen this, but
(just another  
guess), as you seem to use KDE, does KDE use ivman or does
it handle  
automatical mounting by its own mechanism? If so than maybe
you should  
check some KDE setting for this. The best thing Ican say is:
try to enable  
ivman/udev verbose logging and see why it is
disconnected/reconnected. The  
other thng you could do is to disable ivman temporarily and
see if KDE can  
mount it on its own.

  Lukas

On Wed, 27 Jun 2007 17:35:20 +0200, Mark Haney
<mhaneyercbroadband.org>  
wrote:

> Lukas Oliva wrote:
>>   Let me get this straight, you mount your flash
disc, copy your files
>> and work and bythis time, you never get the stick
off, you never do
>> umount/remount and for some reason you find, your
device changed? Or 2)
>> You mounted coppied, worked, got it off, then
replugged and saw
>> different device? Or 3) As in the second
possibility, but unmounted it
>> correctly first?
>> If the second or third is what you did, you can
write yourself some udev
>> rule.
>>
>>   plhu
>>
>
> Okay, obviously I'm sucking at making things clear
today.  Here's a
> second stab at what I"m doing.  I have a USB flash
drive (2GB).  I plub
> it into the USB port on my laptop.  I copy files.  I
dig around for the
> other files I need, I go back to copy more files (via
konqueror) and
> /while the usb drive is still and has been connected
the entire time/ I
> look and see that the drive has moved from /media/sda1
to /media/sdb1.
>
> I copy more files, look around, find more things to
copy, go back and
> the drive is now at /media/sdc1, etc.  All the while
I've not unmounted
> or removed the drive at all.  It's just sitting there
blinking it's
> little green LED light occasionally.
>
> Does that make a little more sense?
>
>
>
>


-- 
gentoo-amd64gentoo.org mailing list


Re: USB flash drive mount point fun
country flaguser name
Mexico
2007-06-27 11:32:39
On Wednesday 27 June 2007 08:35:20 Mark Haney wrote:
> Okay, obviously I'm sucking at making things clear
today.  Here's a
> second stab at what I"m doing.  I have a USB flash
drive (2GB).  I plub
> it into the USB port on my laptop.  I copy files.  I
dig around for the
> other files I need, I go back to copy more files (via
konqueror) and
> /while the usb drive is still and has been connected
the entire time/ I
> look and see that the drive has moved from /media/sda1
to /media/sdb1.
>
> I copy more files, look around, find more things to
copy, go back and
> the drive is now at /media/sdc1, etc.  All the while
I've not unmounted
> or removed the drive at all.  It's just sitting there
blinking it's
> little green LED light occasionally.
>
> Does that make a little more sense?

  I have seen this in a friends workstation that had a
external usb hard 
drive, what I noticed then was that something goes wrong
when writing to the 
device and the USB resets, it can be many small writes or
one big flush, in  
this particular case it got fixed by moving the drive from
one port to 
another... I know it sounds odd but it happends on my laptop
aswell with my 
wifi, thumbdrive and usb phone in one particular port...
they all work fine 
on the other 3 ports


-- 
Guillermo Antonio Amaral Bastidas
# Free & Open Source Software Advocate
# KDE Developer (gamaral)
$ irc: guillermoamaralfreenode

blog: http://blog.guillerm
oamaral.com/

site: http://www.guillermoa
maral.com/
% gpg: http:
//downloads.guillermoamaral.com/public.asc
Re: USB flash drive mount point fun
user name
2007-06-27 11:32:38
On Wed, 27 Jun 2007 08:45:10 -0700, Bob Sanders wrote:

> My guess is if you get rid of ivman, this will not
occur anymore.  Of
> course you're back to old, boring, reliable, manual
mounting/umounting
> of removeable devices.

Except that KDE will handle it automatically without ivman.
It is
possible that KDE and ivman are fighting over the drive,
causing the
repeated remounting. Get rid of ivman, let KDE do it all
itself and see
whether the problem persists.


-- 
Neil Bothwick

Taglines are like cars - You get a good one, then someone
nicks it.
[1-10] [11-18]

about | contact  Other archives ( Real Estate discussion Medical topics )