Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting usb stick problem, no sdb1
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
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Tue Apr 20, 2004 12:07 pm    Post subject: mounting usb stick problem, no sdb1 Reply with quote

Hi all

For a while I'm trying to mount my usb stick, which only works fine when it is already plugged in at boot time. If this is not the case, no sdb1 (sda1 is already in use for something else) is created after plugging it into one of the other usb-slots...

Does anyone know what I've missed during configuring my kernel (2.6.3)
I've also niticed that I cant select 'SCSI device support', there are ---- at the beginnig of that??!!

thanks in advance
Luca
Back to top
View user's profile Send private message
modnemo
n00b
n00b


Joined: 10 Aug 2003
Posts: 18

PostPosted: Tue Apr 20, 2004 4:10 pm    Post subject: Reply with quote

I've got my usb-pen working great with gentoo.
Code:
--- SCSI device support

is just the header for the section in the kernel config, not an actual option. I have scsi-disk support enabled as a module, as well as scsi-generic support. Then I have USB mass storage support enabled (its built in) and have in my /etc/modules.autoload.d/kernel-2.6
Code:
sg
sd_mod
sr_mod


this is in my dmesg when I attatch the device...
Code:
usb 3-1.3: new full speed USB device using address 10
scsi6 : SCSI emulation for USB Mass Storage devices
  Vendor: OTi       Model: Flash Disk        Rev: 1.11
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 258048 512-byte hdwr sectors (132 MB)
sda: assuming Write Enabled
sda: assuming drive cache: write through
 /dev/scsi/host6/bus0/target0/lun0: p1
Attached scsi removable disk sda at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg2 at scsi6, channel 0, id 0, lun 0,  type 0
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 10

Send the output of dmesg when you plug in the stick...your kernel config may help too...

Erik
Back to top
View user's profile Send private message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Mon Apr 26, 2004 1:31 pm    Post subject: Reply with quote

Hi

see https://forums.gentoo.org/viewtopic.php?t=163765&highlight=luca
an other discussion about this (mine) mount problem

Luca
Back to top
View user's profile Send private message
ariejan
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2002
Posts: 100
Location: Eindhoven, The Netherlands

PostPosted: Wed Apr 28, 2004 1:29 pm    Post subject: Reply with quote

Are you sure you have the hotplug service running?

/etc/init.d/hotplug start
_________________
Ariejan.net
Back to top
View user's profile Send private message
luca
Guru
Guru


Joined: 11 Feb 2004
Posts: 374

PostPosted: Mon May 03, 2004 11:51 am    Post subject: Reply with quote

think so, don't see it with pgrep -l hotplug, but when I try /etc/init.d/hotplug start
it tells me it is already started

Any other suggestions??

Luca
Back to top
View user's profile Send private message
ariejan
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2002
Posts: 100
Location: Eindhoven, The Netherlands

PostPosted: Mon May 03, 2004 3:32 pm    Post subject: Reply with quote

At a closer look, it seems that the device is /dev/sda. I had the same problem once. Once I upgraded to a newer kernel, the problem was solved.
_________________
Ariejan.net
Back to top
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Mon May 03, 2004 6:38 pm    Post subject: Reply with quote

I've seen a lot of people run into this problem; it seems it's a devfs issue. I believe you can fix it in the devfs configuration, but a simpler solution would just be to upgrade to udev. There's a udev guide in the gentoo docs now, or search the forum, there's lots of udev stuff.

Good luck,
Nate
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