Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165328 - udev fails to correctly assign links to my 2 dvd drives
Summary: udev fails to correctly assign links to my 2 dvd drives
Status: RESOLVED DUPLICATE of bug 158060
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-04 20:12 UTC by Alex Weiss
Modified: 2007-02-04 20:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Weiss 2007-02-04 20:12:47 UTC
I have a DVD-ROM and DVD+RW drive and after booting up (say when I upgrade my kernel) udev does not properly assign devices to HDC and HDD. Only HDD appears to be assigned and so typing in eject causes the HDD device to eject and HDC is not usable. However, if I go into root and type in udevstart, everything is working fine again. I have tried custom rules, but to no avail.

Reproducible: Always

Steps to Reproduce:
1.Reboot the computer
2.Attempt to access DVD drive on HDC
3.

Actual Results:  
The drive accessed is my DVD+RW drive that is HDD.

Expected Results:  
I should be accessing the DVD-ROM drive on HDC

I have posted this problem on the forums thinking that creating some custom rules would do the trick, but none of them seem to work. I suspect the computer is not restarting udev when it boots up or not using the rules. In 10-local.rules I have:

# Two rules for creating CD-ROM
BUS=="ide",     KERNEL=="hdc",  SYMLINK+="cdrom",       GROUP="cdrom"
BUS=="ide",     KERNEL=="hdd",  SYMLINK+="cdrom1",      GROUP="cdrom"

This is the lowest rule number
Comment 1 Matthias Schwarzott gentoo-dev 2007-02-04 20:18:47 UTC
You did not specify which udev-version you are using.
Please attach info and reopen bug.
Comment 2 Alex Weiss 2007-02-04 20:22:01 UTC
Hi,

Sorry about that. I am using udev-103.

Alex
Comment 3 Matthias Schwarzott gentoo-dev 2007-02-04 20:24:27 UTC
This cdrom-problem should be fixed with udev-104 ebuilds.

Just try to delete (or save and move away) your custom cd-rules,
and update to udev-104-r8.
Comment 4 Alex Weiss 2007-02-04 20:37:08 UTC
Upgrading seems to have done the trick, thanks. If I have any more problems, I will let you know.

Alex
Comment 5 Matthias Schwarzott gentoo-dev 2007-02-04 20:42:44 UTC

*** This bug has been marked as a duplicate of bug 158060 ***