View previous topic :: View next topic |
Author |
Message |
cold n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_trinity_2.gif)
Joined: 23 Feb 2003 Posts: 66
|
Posted: Thu Feb 23, 2006 10:00 pm Post subject: No device's after sdh in /dev |
|
|
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
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Abraxa Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 14 Jun 2005 Posts: 174 Location: Germany
|
Posted: Thu Feb 23, 2006 10:04 pm Post subject: |
|
|
Does it show up in /sys/block/ ?
Do you have coldplug installed?
Greetings,
-Soeren |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cold n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_trinity_2.gif)
Joined: 23 Feb 2003 Posts: 66
|
Posted: Thu Feb 23, 2006 10:08 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
benesm1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/28844960065cc62cf641cd.jpg)
Joined: 19 Aug 2004 Posts: 63 Location: Prague, Czech Republic
|
Posted: Thu Feb 23, 2006 11:27 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|