Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB drive [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
era
n00b
n00b


Joined: 10 Aug 2004
Posts: 16
Location: Sweden

PostPosted: Sat Aug 22, 2009 4:06 pm    Post subject: USB drive [solved] Reply with quote

Hi, I know this topic is at a hundred different places.. I just don't seem to understand what is wrong, i run gentoo 2.6.30 (recently updated)
now my usb-drive doesn't automount like it use to do under XFCE 4.6. when I plug a usb stick in i can se it :
Code:

lsusb
Bus 005 Device 001: ID 1d6b:0001 
Bus 001 Device 001: ID 1d6b:0002 
Bus 004 Device 004: ID 13fe:1a00 Kingston Technology Company Inc. 512MB/1GB Flash Drive
....
 


from dmesg tail i get:
Code:

[ 1509.144936] usb usb4: usb resume
[ 1509.144945] usb usb4: wakeup_rh
[ 1509.176907] hub 4-0:1.0: hub_resume
[ 1509.176925] uhci_hcd 0000:00:11.2: port 1 portsc 0093,00
[ 1509.176934] hub 4-0:1.0: port 1: status 0101 change 0001
[ 1509.277911] hub 4-0:1.0: state 7 ports 2 chg 0002 evt 0000
[ 1509.277934] hub 4-0:1.0: port 1, status 0101, change 0000, 12 Mb/s
[ 1509.379890] usb 4-1: new full speed USB device using uhci_hcd and address 4
[ 1509.513893] usb 4-1: not running at top speed; connect to a high speed hub
[ 1509.527889] usb 4-1: default language 0x0409
[ 1509.542896] usb 4-1: New USB device found, idVendor=13fe, idProduct=1a00
[ 1509.542903] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1509.542908] usb 4-1: Product: DataTraveler 2.0
[ 1509.542912] usb 4-1: Manufacturer: Kingston
[ 1509.542915] usb 4-1: SerialNumber: 5B691E891762
[ 1509.543045] usb 4-1: uevent
[ 1509.543080] usb 4-1: usb_probe_device
[ 1509.543086] usb 4-1: configuration #1 chosen from 1 choice
[ 1509.547871] usb 4-1: adding 4-1:1.0 (config #1, interface 0)
[ 1509.547936] usb 4-1:1.0: uevent
[ 1509.547986] usb-storage 4-1:1.0: usb_probe_interface
[ 1509.547996] usb-storage 4-1:1.0: usb_probe_interface - got id
[ 1509.551700] scsi3 : SCSI emulation for USB Mass Storage devices
[ 1509.552485] drivers/usb/core/inode.c: creating file '004'
[ 1509.552561] hub 4-0:1.0: state 7 ports 2 chg 0000 evt 0002
[ 1509.552585] usb-storage: device found at 4
[ 1509.552588] usb-storage: waiting for device to settle before scanning
[ 1514.556121] scsi 3:0:0:0: Direct-Access     Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
[ 1514.556348] scsi 3:0:0:0: Attached scsi generic sg1 type 0
[ 1514.556751] usb-storage: device scan complete


when i try to mount...
Code:

mount /dev/sg1 /mnt/usbdisk/
mount: /dev/sg1 is not a block device


is all I get... incredibly annoying.

I don't understand everything but I have udev, hald and dbus installed.
Any help on this would be awesome!!!
_________________
/era - pain is temporary - glory forever


Last edited by era on Thu Sep 10, 2009 4:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Aug 22, 2009 4:33 pm    Post subject: Reply with quote

take a look at the output of 'cat /proc/partitions'. You'll probably find that usb stick as sda, sdb, sdc or sd... etc (depending on how many scsi and sata drives you have)
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
era
n00b
n00b


Joined: 10 Aug 2004
Posts: 16
Location: Sweden

PostPosted: Sat Aug 22, 2009 5:04 pm    Post subject: Reply with quote

I only have my one PATA disk, hda (1-9) there... nothing else unfortunately
_________________
/era - pain is temporary - glory forever
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sat Aug 22, 2009 9:49 pm    Post subject: Reply with quote

not that this uses different data, but what about

Code:

fdisk -l


anything show up?


Is it something silly like not having USB Mass Storage support built into the kernel?
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3468
Location: Canada

PostPosted: Sun Aug 23, 2009 12:17 am    Post subject: Reply with quote

era wrote:
I only have my one PATA disk, hda (1-9) there... nothing else unfortunately


Look at ls /dev/sd* after you sitck in the USB stick. With only one PATA disk i would expect the stick to get /dev/sda(1-) partitions


Last edited by dmpogo on Sun Aug 23, 2009 11:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Aug 23, 2009 8:55 am    Post subject: Reply with quote

Make sure your kernel has all the necessary drivers including scsi disk support (sd_mod if you build it as a module)
Code:
Device Drivers  --->
    SCSI device support  --->
        <*> SCSI disk support

_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
era
n00b
n00b


Joined: 10 Aug 2004
Posts: 16
Location: Sweden

PostPosted: Thu Sep 10, 2009 3:20 pm    Post subject: Reply with quote

thanks guys, I did a full reinstall on my new machine and everything seems to work, i guess it all was I forgot the scsi support.... stupid connection there..
_________________
/era - pain is temporary - glory forever
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3468
Location: Canada

PostPosted: Thu Sep 10, 2009 4:06 pm    Post subject: Reply with quote

era wrote:
thanks guys, I did a full reinstall on my new machine and everything seems to work, i guess it all was I forgot the scsi support.... stupid connection there..


Great !
It would be very helpful then if you mark the post [SOLVED] by manually editing the subject line.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum