FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 07-12-2011, 11:16 PM
Nick Lidakis
 
Default USB media no longer shows up in file manager for root or normal users

I'm running the latest x86 Debian Sid.

The norm was that when USB media was plugged in would show up
in /media where I could mount it by clicking on the appropriate
icon in Thunar file manager. This was for my regular user account.

Suddenly, USB media no longer shows up in Thunar. I have to mount them as
root.

from dmesg:

[122338.324044] usb 1-10: new high speed USB device number 7 using ehci_hcd
[122338.457761] usb 1-10: New USB device found, idVendor=0781, idProduct=5406
[122338.457771] usb 1-10: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[122338.457780] usb 1-10: Product: U3 Cruzer Micro
[122338.457787] usb 1-10: Manufacturer: SanDisk
[122338.457793] usb 1-10: SerialNumber: 000018604575513E
[122338.458323] scsi8 : usb-storage 1-10:1.0
[122339.458195] scsi 8:0:0:0: Direct-Access SanDisk U3 Cruzer Micro
4.05 PQ: 0 ANSI: 2
[122339.460937] sd 8:0:0:0: Attached scsi generic sg8 type 0
[122339.461287] sd 8:0:0:0: [sdg] 4013709 512-byte logical blocks: (2.05
GB/1.91 GiB)
[122339.462034] sd 8:0:0:0: [sdg] Write Protect is off
[122339.462043] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
[122339.462050] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[122339.466057] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[122339.469168] sdg:
[122339.472156] sd 8:0:0:0: [sdg] Assuming drive cache: write through
[122339.472168] sd 8:0:0:0: [sdg] Attached SCSI removable disk

I don't recall ever having to mess with udev or its rules. Plugging in media
just worked for a normal user. I am a member of plugdev, I should mention.

my fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1 / ext3 defaults,errors=remount-ro 0
# 1
UUID=ab09f8df-6703-4483-a162-26647bd8884d / ext3
defaults,errors=remount-ro 0 1
# /dev/sda6 /home ext3 defaults 0 2
UUID=88d3b128-1ba4-4511-8428-79b4f0fbbf35 /home ext3
defaults 0 2
# /dev/sda5 none swap sw 0 0
UUID=48f73142-3355-4f5d-98a3-360e6ec03296 none swap sw
0 0
# /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/cdrom2 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0

# /dev/sdb /media/backup ext3 user 0 0
UUID=1f9bb8e8-9df8-4216-9386-baf7ccebcc59 /media/backup ext3 user
0 0
/etc/fstab (END)


How do I go back to the way things were?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110712231643.GA27947@phobos">http://lists.debian.org/20110712231643.GA27947@phobos
 
Old 07-13-2011, 12:31 AM
Patrick Wiseman
 
Default USB media no longer shows up in file manager for root or normal users

Revert to the stable consolekit.


Patrick

On Jul 12, 2011 7:17 PM, "Nick Lidakis" <nlidakis@verizon.net> wrote:> I'm running the latest x86 Debian Sid.

>
> The norm was that when USB media was plugged in would show up
> in /media where I could mount it by clicking on the appropriate
> icon in Thunar file manager. This was for my regular user account.

>
> Suddenly, USB media no longer shows up in Thunar. I have to mount them as
> root.
>
> from dmesg:
>
> [122338.324044] usb 1-10: new high speed USB device number 7 using ehci_hcd

> [122338.457761] usb 1-10: New USB device found, idVendor=0781, idProduct=5406
> [122338.457771] usb 1-10: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [122338.457780] usb 1-10: Product: U3 Cruzer Micro

> [122338.457787] usb 1-10: Manufacturer: SanDisk
> [122338.457793] usb 1-10: SerialNumber: 000018604575513E
> [122338.458323] scsi8 : usb-storage 1-10:1.0
> [122339.458195] scsi 8:0:0:0: Direct-Access SanDisk U3 Cruzer Micro

> 4.05 PQ: 0 ANSI: 2
> [122339.460937] sd 8:0:0:0: Attached scsi generic sg8 type 0
> [122339.461287] sd 8:0:0:0: [sdg] 4013709 512-byte logical blocks: (2.05
> GB/1.91 GiB)
> [122339.462034] sd 8:0:0:0: [sdg] Write Protect is off

> [122339.462043] sd 8:0:0:0: [sdg] Mode Sense: 03 00 00 00
> [122339.462050] sd 8:0:0:0: [sdg] Assuming drive cache: write through
> [122339.466057] sd 8:0:0:0: [sdg] Assuming drive cache: write through

> [122339.469168] sdg:
> [122339.472156] sd 8:0:0:0: [sdg] Assuming drive cache: write through
> [122339.472168] sd 8:0:0:0: [sdg] Attached SCSI removable disk
>
> I don't recall ever having to mess with udev or its rules. Plugging in media

> just worked for a normal user. I am a member of plugdev, I should mention.
>
> my fstab:
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point> <type> <options> <dump> <pass>

> proc /proc proc defaults 0 0
> # /dev/sda1 / ext3 defaults,errors=remount-ro 0
> # 1
> UUID=ab09f8df-6703-4483-a162-26647bd8884d / ext3

> defaults,errors=remount-ro 0 1
> # /dev/sda6 /home ext3 defaults 0 2
> UUID=88d3b128-1ba4-4511-8428-79b4f0fbbf35 /home ext3
> defaults 0 2

> # /dev/sda5 none swap sw 0 0
> UUID=48f73142-3355-4f5d-98a3-360e6ec03296 none swap sw
> 0 0
> # /dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

> /dev/cdrom2 /media/cdrom0 udf,iso9660 user,noauto 0 0
> /dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
>
> # /dev/sdb /media/backup ext3 user 0 0

> UUID=1f9bb8e8-9df8-4216-9386-baf7ccebcc59 /media/backup ext3 user
> 0 0
> /etc/fstab (END)
>
>
> How do I go back to the way things were?
>
>
> --

> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

> Archive: http://lists.debian.org/20110712231643.GA27947@phobos
>
 
Old 07-13-2011, 03:58 PM
Nick Lidakis
 
Default USB media no longer shows up in file manager for root or normal users

On Tue, Jul 12, 2011 at 08:31:00PM -0400, Patrick Wiseman wrote:
> Revert to the stable consolekit.
>
> Patrick
> On Jul 12, 2011 7:17 PM, "Nick Lidakis" <nlidakis@verizon.net> wrote:
> > I'm running the latest x86 Debian Sid...
> > Suddenly, USB media no longer shows up in Thunar. I have to mount them
> > as...

Ok I removed consolekit 0.4.5:

apt-get remove consolekit

The following packages will be REMOVED:
consolekit policykit-1 policykit-1-gnome
0 upgraded, 0 newly installed, 3 to remove and 23 not upgraded.
After this operation, 1,946 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 157546 files and directories currently installed.)
Removing policykit-1-gnome ...
Removing policykit-1 ...
Removing consolekit ...
Processing triggers for man-db ...
phobos:/home/nick#

Then install consolekit 0.4.1 from Debian stable:


phobos:/home/nick# dpkg -i consolekit_0.4.1-4_i386.deb
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
package 'cnews':
error in Version string 'cr.g7-40.4': version number does not start with
digit
Selecting previously deselected package consolekit.
(Reading database ... 157416 files and directories currently installed.)
Unpacking consolekit (from consolekit_0.4.1-4_i386.deb) ...
Setting up consolekit (0.4.1-4) ...

I then did:

apt-get install policykit-1 policykit-1-gnome

The following NEW packages will be installed:
policykit-1 policykit-1-gnome
0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/146 kB of archives.
After this operation, 1,274 kB of additional disk space will be used.
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
package 'cnews':
error in Version string 'cr.g7-40.4': version number does not start with
digit
Selecting previously deselected package policykit-1.
(Reading database ... 157445 files and directories currently installed.)
Unpacking policykit-1 (from .../policykit-1_0.101-4_i386.deb) ...
Selecting previously deselected package policykit-1-gnome.
Unpacking policykit-1-gnome (from .../policykit-1-gnome_0.101-2_i386.deb) ...
Processing triggers for man-db ...
Setting up policykit-1 (0.101-4) ...
Setting up policykit-1-gnome (0.101-2) ...

Should I also install policykit-1 and policykit-1-gnome from stable as well?

After a reboot, no USB device get mounted.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110713155849.GA2285@phobos">http://lists.debian.org/20110713155849.GA2285@phobos
 
Old 07-13-2011, 06:54 PM
Patrick Wiseman
 
Default USB media no longer shows up in file manager for root or normal users

On Wed, Jul 13, 2011 at 11:58 AM, Nick Lidakis <nlidakis@verizon.net> wrote:
> On Tue, Jul 12, 2011 at 08:31:00PM -0400, Patrick Wiseman wrote:
>> Revert to the stable consolekit.
>>
>> Patrick
>> On Jul 12, 2011 7:17 PM, "Nick Lidakis" <nlidakis@verizon.net> wrote:
>> > I'm running the latest x86 Debian Sid...
>> > Suddenly, USB media no longer shows up in Thunar. I have to mount them
>> > as...
>
> Ok I removed consolekit 0.4.5:
>
> apt-get remove consolekit
>
> The following packages will be REMOVED:
> *consolekit policykit-1 policykit-1-gnome
> 0 upgraded, 0 newly installed, 3 to remove and 23 not upgraded.
> After this operation, 1,946 kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 157546 files and directories currently installed.)
> Removing policykit-1-gnome ...
> Removing policykit-1 ...
> Removing consolekit ...
> Processing triggers for man-db ...
> phobos:/home/nick#
>
> Then install consolekit 0.4.1 from Debian stable:
>
>
> phobos:/home/nick# dpkg -i consolekit_0.4.1-4_i386.deb
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
> package 'cnews':
> *error in Version string 'cr.g7-40.4': version number does not start with
> digit
> Selecting previously deselected package consolekit.
> (Reading database ... 157416 files and directories currently installed.)
> Unpacking consolekit (from consolekit_0.4.1-4_i386.deb) ...
> Setting up consolekit (0.4.1-4) ...
>
> I then did:
>
> apt-get install policykit-1 policykit-1-gnome
>
> The following NEW packages will be installed:
> *policykit-1 policykit-1-gnome
> 0 upgraded, 2 newly installed, 0 to remove and 24 not upgraded.
> Need to get 0 B/146 kB of archives.
> After this operation, 1,274 kB of additional disk space will be used.
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 498302
> package 'cnews':
> *error in Version string 'cr.g7-40.4': version number does not start with
> digit
> Selecting previously deselected package policykit-1.
> (Reading database ... 157445 files and directories currently installed.)
> Unpacking policykit-1 (from .../policykit-1_0.101-4_i386.deb) ...
> Selecting previously deselected package policykit-1-gnome.
> Unpacking policykit-1-gnome (from .../policykit-1-gnome_0.101-2_i386.deb) ...
> Processing triggers for man-db ...
> Setting up policykit-1 (0.101-4) ...
> Setting up policykit-1-gnome (0.101-2) ...
>
> Should I also install policykit-1 and policykit-1-gnome from stable as well?
>
> After a reboot, no USB device get mounted.

Apologies. I had the same problem you had (USB drive would not mount
automatically for ordinary users), and learned (from help here) that
consolekit was to blame. But now, even with the earlier consolekit,
I'm having the same problem again. I tried upgrading consolekit and
found that permissions were even worse (clicking the off/on button in
X did NOTHING instead of giving me the restart menu), but evidently
the permissions problem has spread. Now I'm not sure where to look
for it.

Patrick


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAJVvKsMtL2psMoNV0pvVU7du+Rgn5pma+PpCNBVS0+VE-xsaLQ@mail.gmail.com">http://lists.debian.org/CAJVvKsMtL2psMoNV0pvVU7du+Rgn5pma+PpCNBVS0+VE-xsaLQ@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 02:21 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org