Hi group,

By way of addendum to my earlier post on udev rules
and my CD and DVD drives, /dev/hdc and /dev/hdd.

At first the drives were'nt found then modprobeing
ide-generic.ko fixed that. But the links under /dev to
the drives were being mysteriously incremented. So
ide-generic was compiled with the kernel. Didn't work.

<...>
lrwxrwxrwx 1 root    root         3 May 10 05:35
cdrom4 -> hdc
lrwxrwxrwx 1 root    root         3 May 10 05:35
cdrom5 -> hdd
lrwxrwxrwx 1 root    root         3 May 10 05:35 cdrw4
-> hdc
crw------- 1 root    tty     5,   1 May 10 11:36
console
lrwxrwxrwx 1 root    root        11 May 10 05:35 core
-> /proc/kcore
drwxr-xr-x 5 root    root       100 May 10 05:35 disk
lrwxrwxrwx 1 root    root         9 May 10 11:36 dsp
-> sound/dsp
lrwxrwxrwx 1 root    root         3 May 10 05:35 dvd5
-> hdd
<...>

Every time I boot the links are incremented and the
optical drives don't work. Floppy and SATA hdd OK.

Here's /etc/rules.d/*cd*:


# This file was automatically generated by the
/lib/udev/write_cd_rules
# program, probably run by the
cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on
a single line
# and set the $GENERATED variable.

# LITE-ON_LTR-52327S (pci-0000:00:08.0-ide-0:0)
ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0",
SYMLINK+="cdrom", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:0",
SYMLINK+="cdrw", ENV{GENERATED}="1"
# CREATIVE_DVD-ROM_DVD6240E (pci-0000:00:08.0-ide-0:1)
ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:1",
SYMLINK+="cdrom1", ENV{GENERATED}="1"
ENV{ID_CDROM}=="?*",
ENV{ID_PATH}=="pci-0000:00:08.0-ide-0:1",
SYMLINK+="dvd1", ENV{GENERATED}="1"
# LITE-ON_LTR-52327S (ide-0:0)
#ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="ide-0:0",
SYMLINK+="cdrom2", ENV{GENERATED}="1"
#ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="ide-0:0",
SYMLINK+="cdrw2", ENV{GENERATED}="1"
# CREATIVE_DVD-ROM_DVD6240E (ide-0:1)
#ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="ide-0:1",
SYMLINK+="cdrom3", ENV{GENERATED}="1"
#ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="ide-0:1",
SYMLINK+="dvd3", ENV{GENERATED}="1"
# these rules generate rules for the
/dev/{cdrom,dvd,...} symlinks

ACTION=="add", SUBSYSTEM=="block",
ENV{ID_CDROM}=="?*", ENV{GENERATED}!="?*",
PROGRAM="write_cd_rules", SYMLINK+="%c"

I commented out the extra lines but it didn't help.

Isn't the '+=' in SYMLINK+="cdrom" computerese for
'add a one'?

FWIW, from the boot console I see something new:

Running hdparm
HDIO_SET_DMA failed Operation not permitted 

for /dev/hdc and /dev/hdd

>From .config the IDE stuff:

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
CONFIG_BLK_DEV_AMD74XX=m
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_CS5535 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_JMICRON is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_IT821X is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
CONFIG_BLK_DEV_SIIMAGE=m
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

Is it that 'FORCED' thing?

Maxim


 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 
-- 
[EMAIL PROTECTED] mailing list

Reply via email to