Le 24.02.2005 18:18, Greg KH a écrit :
On Thu, Feb 24, 2005 at 06:06:39PM +0100, Laurent Riffard wrote:


Le 24.02.2005 00:47, Greg KH a ?crit :

On Wed, Feb 23, 2005 at 11:36:50PM +0100, Laurent Riffard wrote:


hey, what's this /dev/hds ? digging into /sys/block...

~$ ls -l  /sys/block/hds/device
lrwxrwxrwx  1 root root 0 f?v 23 22:45 /sys/block/hds/device ->
../../devices/pci0000:00/0000:00:04.1/ide1/1.1/

/dev/hdq should be /dev/hdd...

~$ ls -l /proc/ide
total 4
-r--r--r--  1 root root 0 f?v 23 23:28 drivers
lrwxrwxrwx  1 root root 8 f?v 23 23:28 hda -> ide0/hda/
lrwxrwxrwx  1 root root 8 f?v 23 23:28 hdb -> ide0/hdb/
lrwxrwxrwx  1 root root 8 f?v 23 23:28 hdc -> ide1/hdc/
lrwxrwxrwx  1 root root 8 f?v 23 23:28 hdd -> ide1/hdd/
dr-xr-xr-x  4 root root 0 f?v 23 23:28 ide0/
dr-xr-xr-x  4 root root 0 f?v 23 23:28 ide1/
-r--r--r--  1 root root 0 f?v 23 23:28 via
~$ ls -d /sys/block/hd*
/sys/block/hda/  /sys/block/hdc/  /sys/block/hdq/  /sys/block/hds/


What does /proc/devices show?

Character devices: 1 mem 4 /dev/vc/0 4 tty 5 /dev/tty 5 /dev/console 5 /dev/ptmx 6 lp 7 vcs 10 misc 13 input 14 sound 29 fb 116 alsa 128 ptm 136 pts 171 ieee1394 180 usb

Block devices:
 1 ramdisk
 2 fd
 3 ide0
 7 loop
22 ide1
253 pktcdvd
254 device-mapper

Do you see something strange here ?


No, ide0 is 3 and ide1 is 22, which is "standard".  Hm, what's that
pktcdvd and device-mapper doing there?  Do you need those drivers?  Can
you try it without building them and see if that helps?

I do need device-mapper, since I put /usr and /var on LVM filesystems. I use ptkcdvd to copy data to CD-RW. I can remove this one.

Anyway, this patch from Andrew fixed the problem :
http://lkml.org/lkml/2005/2/23/214.

So I won't try to remove pktcdvd and device-mapper driver (except if you
_really_ want me to do so).

Thanks for your interest.
--
laurent

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to