Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No device's after sdh in /dev
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
cold
n00b
n00b


Joined: 23 Feb 2003
Posts: 66

PostPosted: Thu Feb 23, 2006 10:00 pm    Post subject: No device's after sdh in /dev Reply with quote

I have got a problem,
I have 8 Sata drives in my system witch work great.
But when I put u usb pendrive in my system i can see it does connect in dmesg:

Code:

usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor:           Model: USB DISK Pro      Rev: PMAP
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdi: 2012160 512-byte hdwr sectors (1030 MB)
sdi: Write Protect is off
sdi: Mode Sense: 23 00 00 00
sdi: assuming drive cache: write through
SCSI device sdi: 2012160 512-byte hdwr sectors (1030 MB)
sdi: Write Protect is off
sdi: Mode Sense: 23 00 00 00
sdi: assuming drive cache: write through
 sdi: sdi1
Attached scsi removable disk sdi at scsi8, channel 0, id 0, lun 0
  Vendor:           Model: USB DISK Pro      Rev: PMAP
  Type:   Direct-Access                      ANSI SCSI revision: 00


but is does not turn up in /dev/
Code:


maarten@localhost /dev $ ls sd*
sda   sdb   sdc   sdd   sde   sdf   sdg   sdh
sda1  sdb1  sdc1  sdd1  sde1  sdf1  sdg1  sdh1

:cry:

I use the normal Gentoo-sources on a 64Bit AMD64 X2 system.
Is there a kernel option that limmets the maximum amount of /dev/sd* devices?
Back to top
View user's profile Send private message
Abraxa
Apprentice
Apprentice


Joined: 14 Jun 2005
Posts: 174
Location: Germany

PostPosted: Thu Feb 23, 2006 10:04 pm    Post subject: Reply with quote

Does it show up in /sys/block/ ?
Do you have coldplug installed?

Greetings,
-Soeren
Back to top
View user's profile Send private message
cold
n00b
n00b


Joined: 23 Feb 2003
Posts: 66

PostPosted: Thu Feb 23, 2006 10:08 pm    Post subject: Reply with quote

Abraxa wrote:
Does it show up in /sys/block/ ?
Do you have coldplug installed?

Greetings,
-Soeren


It does show up in /sys/block/
and i'm installing coldplug right now.....

I installed and started coldplug but that does not help :(

I do see my USB drive in /sys/block/sdi but still not in /dev/ :(

Code:

localhost / # ls /sys/block/
hda    loop2  loop6  ram0   ram12  ram2  ram6  sda  sde  sdi
hdc    loop3  loop7  ram1   ram13  ram3  ram7  sdb  sdf 
loop0  loop4  md0    ram10  ram14  ram4  ram8  sdc  sdg
loop1  loop5  md2    ram11  ram15  ram5  ram9  sdd  sdh


Code:


maarten@localhost /dev $ ls sd*
sda   sdb   sdc   sdd   sde   sdf   sdg   sdh
sda1  sdb1  sdc1  sdd1  sde1  sdf1  sdg1  sdh1


Greetings,
Maarten.
Back to top
View user's profile Send private message
benesm1
n00b
n00b


Joined: 19 Aug 2004
Posts: 63
Location: Prague, Czech Republic

PostPosted: Thu Feb 23, 2006 11:27 pm    Post subject: Reply with quote

Write your own UDEV rule;
place it into /etc/udev/rules.d/10-local.rules,
you can make udev to create a custom node for you - for instance /dev/thumbdrive

For your piece of hardware the line in 10-local.rules should be:
Code:
BUS="scsi", SYSFS{model}="USB DISK Pro", NAME="%k", SYMLINK="thumbdrive"


Speaking in general, you should look whether your /etc/udev/rules.d/50-udev.rules is correct. Of course you should enable udev in /etc/conf.d/rc and install it, in case it is not present in your system. Be sure to enable CONFIG_HOTPLUG in yourkernel. It should be safe to disable RC_DEVICE_TARBALL in /etc/conf.d/rc.
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