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 03-09-2011, 09:00 PM
Marcelo Laia
 
Default Can't mount pendrive on testing

Hi,

When I plug a Kingston 1Gb pendrive on my desktop, was popup a information:

Don't was possible to mount "JANA"
Not authorization

dmesg output

[26060.620029] usb 3-2: new full speed USB device using uhci_hcd and address 6
[26060.804550] usb 3-2: New USB device found, idVendor=13fe, idProduct=1d00
[26060.804554] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[26060.804556] usb 3-2: Product: DataTraveler 2.0
[26060.804558] usb 3-2: Manufacturer: Kingston
[26060.804559] usb 3-2: SerialNumber: 5B7907AF017B
[26060.804657] usb 3-2: configuration #1 chosen from 1 choice
[26060.807655] scsi8 : SCSI emulation for USB Mass Storage devices
[26060.807962] usb-storage: device found at 6
[26060.807963] usb-storage: waiting for device to settle before scanning
[26065.810310] usb-storage: device scan complete
[26065.821659] scsi 8:0:0:0: Direct-Access Kingston DataTraveler
2.0 PMAP PQ: 0 ANSI: 0 CCS
[26065.822262] sd 8:0:0:0: Attached scsi generic sg2 type 0
[26066.047699] sd 8:0:0:0: [sdb] 2015232 512-byte logical blocks:
(1.03 GB/984 MiB)
[26066.050668] sd 8:0:0:0: [sdb] Write Protect is off
[26066.050672] sd 8:0:0:0: [sdb] Mode Sense: 23 00 00 00
[26066.050674] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[26066.065644] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[26066.065649] sdb: sdb1
[26066.080657] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[26066.080664] sd 8:0:0:0: [sdb] Attached SCSI removable disk
[26096.733215] FAT: utf8 is not a recommended IO charset for FAT
filesystems, filesystem will be case sensitive!
[26096.736220] FAT: invalid media value (0xb9)
[26096.736225] VFS: Can't find a valid FAT filesystem on dev sdb.
[26210.792055] usb 3-2: USB disconnect, address 6
[26218.059833] usb 3-2: new full speed USB device using uhci_hcd and address 7
[26218.230152] usb 3-2: New USB device found, idVendor=13fe, idProduct=1d00
[26218.230155] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[26218.230158] usb 3-2: Product: DataTraveler 2.0
[26218.230159] usb 3-2: Manufacturer: Kingston
[26218.230161] usb 3-2: SerialNumber: 5B7907AF017B
[26218.230258] usb 3-2: configuration #1 chosen from 1 choice
[26218.248540] scsi9 : SCSI emulation for USB Mass Storage devices
[26218.252679] usb-storage: device found at 7
[26218.252681] usb-storage: waiting for device to settle before scanning
[26223.255925] usb-storage: device scan complete
[26223.258256] scsi 9:0:0:0: Direct-Access Kingston DataTraveler
2.0 PMAP PQ: 0 ANSI: 0 CCS
[26223.259249] sd 9:0:0:0: Attached scsi generic sg2 type 0
[26223.483271] sd 9:0:0:0: [sdb] 2015232 512-byte logical blocks:
(1.03 GB/984 MiB)
[26223.486261] sd 9:0:0:0: [sdb] Write Protect is off
[26223.486264] sd 9:0:0:0: [sdb] Mode Sense: 23 00 00 00
[26223.486266] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[26223.501248] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[26223.501254] sdb: sdb1
[26223.517267] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[26223.517272] sd 9:0:0:0: [sdb] Attached SCSI removable disk


I try to mount it by command line as root:

# mount -t vfat -o umask=0000 /dev/sdb /media/pen/
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
#

In my notebook it was mounted normally. Automatically!

My Desktop is a Multiseat (multihead) system with two monitors.

# cat /etc/group

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:inael
fax:x:21:
voice:x:22:
cdrom:x:24:inael,marcella,janaina
floppy:x:25:inael,marcella,janaina
tape:x:26:
sudo:x:27:
audio:x:29:inael,timidity,pulse
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:inael
sasl:x:45:
plugdev:x:46:inael,marcella,janaina
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
Debian-exim:x:103:
mlocate:x:104:
ssh:x:105:
inael:x:1000:
messagebus:x:106:
fuse:x:107:marcella,janaina,inael
utempter:x:108:
Debian-gdm:x:109:
netdev:x:110:inael
avahi:x:111:
lpadmin:x:112:
ssl-cert:x:113:
scanner:x:114:saned,marcella,janaina,inael
saned:x:115:
haldaemon:x:116:
powerdev:x:117:
timidity:x:118:
pulse:x:119:
pulse-access:x:120:inael,marcella
ntp:x:121:
kvm:x:122:
vde2-net:x:123:
gdm:x:124:
marcella:x:1001:
sambashare:x:125:
janaina:x:1002:
vboxusers:x:126:marcella,janaina,inael

I already have googled, but, all info not solved!

Thank you very much!


--
Marcelo Luiz de Laia


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikT9ecDiBipjFaB84tfV2M+K6WjdGQ4PGuun0pS@mail .gmail.com">http://lists.debian.org/AANLkTikT9ecDiBipjFaB84tfV2M+K6WjdGQ4PGuun0pS@mail .gmail.com
 
Old 03-09-2011, 11:14 PM
Brian
 
Default Can't mount pendrive on testing

On Wed 09 Mar 2011 at 19:00:16 -0300, Marcelo Laia wrote:

> [26223.501248] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> [26223.501254] sdb: sdb1
> [26223.517267] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> [26223.517272] sd 9:0:0:0: [sdb] Attached SCSI removable disk
>
>
> I try to mount it by command line as root:
>
> # mount -t vfat -o umask=0000 /dev/sdb /media/pen/
> mount: wrong fs type, bad option, bad superblock on /dev/sdb,
> missing codepage or helper program, or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so

You could try:

# mount /dev/sdb1 /media/pen
^


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110310001423.GL7935@desktop">http://lists.debian.org/20110310001423.GL7935@desktop
 
Old 03-10-2011, 10:09 AM
Marcelo Laia
 
Default Can't mount pendrive on testing

> You could try:
>
> # mount /dev/sdb1 /media/pen
> ^

Thank you! It worked!

But, only root gain access to write in the mass storage. Plus,
automount continue not working. When I plug the pendrive, a popup
show:

Wasn't possible to mount JANA
Not Authorized

This message appear in both monitor (I have a multseat system).

Thank you very much!


--
* O__ * --- Marcelo Luiz de Laia * * * * * * * * *Rodovia MGT 367, Km 583
*c/ * /' _ -- Dep. de Engenharia Florestal * * *nº 5000, Alto da Jacuba
(*) * (*) - UFVJM, Diamantina, MG, Brasil *Ph: (+55) 38 3532 1248
~~~~~~- (www.ufvjm.edu.br/floresta) * * * * * FAX: (+55) 38 3532 1200
^^^^^^^^^^- Linux user number 487797 * * * * *CEP: 39.100-000 - Brazil


--
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/AANLkTikLej6cBOTFeDR1-6Od6qEq1re0Y3n8V8M==h@mail.gmail.com
 
Old 03-10-2011, 12:35 PM
Anand Sivaram
 
Default Can't mount pendrive on testing

On Thu, Mar 10, 2011 at 16:39, Marcelo Laia <marcelolaia@gmail.com> wrote:

> You could try:

>

> # mount /dev/sdb1 /media/pen

> * * * * * * * * * * * * *^



Thank you! It worked!



But, only root gain access to write in the mass storage. Plus,

automount continue not working. When I plug the pendrive, a popup

show:



Wasn't possible to mount JANA

Not Authorized



This message appear in both monitor (I have a multseat system).



Thank you very much!





--

* O__ * --- Marcelo Luiz de Laia * * * * * * * * *Rodovia MGT 367, Km 583

*c/ * /' _ -- Dep. de Engenharia Florestal * * *nº 5000, Alto da Jacuba

(*) * (*) - UFVJM, Diamantina, MG, Brasil *Ph: (+55) 38 3532 1248

~~~~~~- (www.ufvjm.edu.br/floresta) * * * * * FAX: (+55) 38 3532 1200

^^^^^^^^^^- Linux user number 487797 * * * * *CEP: 39.100-000 - Brazil





--

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/AANLkTikLej6cBOTFeDR1-6Od6qEq1re0Y3n8V8Mh@mail.gmail.com





For vfat, you can set the uid=value,gid=value options.* This sets the uid/gid of all files to the value given.
Alternatively, update fstab with a line for the device and mount point with "user" option.
 
Old 03-10-2011, 12:45 PM
Brian
 
Default Can't mount pendrive on testing

On Thu 10 Mar 2011 at 08:09:33 -0300, Marcelo Laia wrote:

> But, only root gain access to write in the mass storage. Plus,
> automount continue not working. When I plug the pendrive, a popup
> show:
>
> Wasn't possible to mount JANA
> Not Authorized

>From an earlier post of yours these are the users who can mount the
drive:

> plugdev:x:46:inael,marcella,janaina

Is JANA a user too?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110310134505.GM7935@desktop">http://lists.debian.org/20110310134505.GM7935@desktop
 
Old 03-10-2011, 01:06 PM
Andrej Kacian
 
Default Can't mount pendrive on testing

On Thu, 10 Mar 2011 13:45:05 +0000
Brian <ad44@cityscape.co.uk> wrote:

>On Thu 10 Mar 2011 at 08:09:33 -0300, Marcelo Laia wrote:
>
>> But, only root gain access to write in the mass storage. Plus,
>> automount continue not working. When I plug the pendrive, a popup
>> show:
>>
>> Wasn't possible to mount JANA
>> Not Authorized
>
>>From an earlier post of yours these are the users who can mount the
>drive:
>
>> plugdev:x:46:inael,marcella,janaina
>
>Is JANA a user too?
>
>

I'd guess it's a volume label of the vfat partition.

--
Andrej Kacian


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110310150624.0117351d@penny">http://lists.debian.org/20110310150624.0117351d@penny
 
Old 03-10-2011, 03:01 PM
Camaleón
 
Default Can't mount pendrive on testing

On Wed, 09 Mar 2011 19:00:16 -0300, Marcelo Laia wrote:

> When I plug a Kingston 1Gb pendrive on my desktop, was popup a
> information:
>
> Don't was possible to mount "JANA"
> Not authorization
>
> dmesg output

(...)

> [26096.736220] FAT: invalid media value (0xb9)
> [26096.736225] VFS: Can't find a valid FAT filesystem on dev sdb.

(...)

Those messages look "suspicious".

What does "fdisk -l /dev/sdb" command (has to be run as root) say?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2011.03.10.16.01.38@gmail.com">http://lists.debian.org/pan.2011.03.10.16.01.38@gmail.com
 
Old 03-10-2011, 03:22 PM
Marcella Laia
 
Default Can't mount pendrive on testing

>>> plugdev:x:46:inael,marcella,janaina
>>
>>Is JANA a user too?
>>
>>
>
> I'd guess it's a volume label of the vfat partition.

Yes! JANA is the vfat partition label.


My users are inael,marcella,janaina

Any suggestion? The problem persist.

Yes, setting uid and gid options I could give write privileges to an user. But, I would like to plug the pendrive and all two current users could write in it. This 3 users is not familiarized with command line.


One user is my wife and others two are my son and my daughter. They are want to kill me!

Thank you very much

Marcelo Luiz de Laia
 
Old 03-10-2011, 05:10 PM
Brian
 
Default Can't mount pendrive on testing

On Thu 10 Mar 2011 at 13:22:04 -0300, Marcella Laia wrote:

> Yes, setting uid and gid options I could give write privileges to an
> user. But, I would like to plug the pendrive and all two current users
> could write in it. This 3 users is not familiarized with command line.
>
> One user is my wife and others two are my son and my daughter. They
> are want to kill me!

This won't please your wife and children but may help narrow down where
the problem lies.

Install the package 'pmount'. Plug in the stick and, as a user, do

pmount /dev/sdb1

List files on the drive with

ls -l /media/sdb1

If that works the problem would appear to be with the automounting
software.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110310181015.GN7935@desktop">http://lists.debian.org/20110310181015.GN7935@desktop
 
Old 03-10-2011, 05:39 PM
Jason Hsu
 
Default Can't mount pendrive on testing

pmount is included with Puppy Linux. Is this the reason I've found Puppy Linux to be the best at copying files from failing hard drives when other distros fell short on this task?

On Thu, 10 Mar 2011 18:10:15 +0000
Brian <ad44@cityscape.co.uk> wrote:
>
> This won't please your wife and children but may help narrow down where
> the problem lies.
>
> Install the package 'pmount'. Plug in the stick and, as a user, do
>
> pmount /dev/sdb1
>
> List files on the drive with
>
> ls -l /media/sdb1
>
> If that works the problem would appear to be with the automounting
> software.
>
--
Jason Hsu <jhsu802701@jasonhsu.com>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110310123916.c2a2a731.jhsu802701@jasonhsu.com">h ttp://lists.debian.org/20110310123916.c2a2a731.jhsu802701@jasonhsu.com
 

Thread Tools




All times are GMT. The time now is 04:17 PM.

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