Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: No cdrom device created
Date: Thu, 09 Dec 2010 00:57:05
Message-Id: idp9d2$so6$1@dough.gmane.org
In Reply to: [gentoo-user] Re: No cdrom device created by Harry Putnam
1 On 12/07/2010 05:15 PM, Harry Putnam wrote:
2 > walt<w41ter@×××××.com> writes:
3 >
4 > [...]
5 >
6 >>> dmesg|grep -2 hdc
7 >>>
8 >>> [ 1.416847] hdb: UDMA/100 mode selected
9 >>> [ 1.417357] Probing IDE interface ide1...
10 >>> [ 2.089165] hdc: LITE-ON CD-ROM LTN-5291S, ATAPI CD/DVD-ROM drive
11 >>
12 >> You're still using the deprecated ATA/ATAPI/MFM/RLL disk drivers. You
13 >> should completely unselect that set of drivers and use the newer ones
14 >> in Serial ATA and Parallel ATA drivers instead.
15 >>
16 >> Doing that will cause all of your /dev/hd* to be renamed /dev/sd*
17 >> including any cd/dvd drives. My /dev/cdrom is a symlink to /dev/sr0,
18 >> for example. The links are created automatically on the next reboot,
19 >> but you'll need to edit /etc/fstab to reflect the new drive names
20 >> before you reboot with the new kernel.
21 >
22 > What is the advantage of doing that? Are the other drivers better in
23 > some way. Maybe more likely to recognize /dev/hdc, or maybe more
24 > likely to give helpful output if that fails...?
25
26 Remember, you won't have an hdc or any other hd* after switching drivers.
27
28 But yes, everything is more likely to "Just Work" if you get rid of the
29 old deprecated disk drivers and use the new ones instead. I get the
30 feeling (but can't prove) that utilities like 'udisks' and 'udev' have
31 made the switch already to the sd* device names, and that's probably
32 why you are having this problem.
33
34 It solved the same problem for another poster a few weeks ago, can't
35 recall who it was.
36
37 Remember, if you screw up your /etc/fstab file, you can use the kernel
38 command-line option "root=/dev/sdx" when booting with grub. You'll
39 eventually get the correct sd device by trial-and-error :)