Gentoo Archives: gentoo-user

From: fei huang <daniel.huangfei@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Missing device files for cdroms
Date: Fri, 21 Jul 2006 02:21:28
Message-Id: 5cd9791d0607201911o796ed00fmc4b83d40b48d2eff@mail.gmail.com
In Reply to: [gentoo-user] Missing device files for cdroms by don
1 On 7/20/06, don <don_reid@×××××××.net> wrote:
2 >
3 > I have a system with an SATA hard drive, and two IDE cdroms.
4 >
5 > The kernel sees them as shown by these lines in /var/log/messages
6 >
7 >
8 > ==============================================================================
9 > Jul 7 21:19:31 reid1 kernel: hda: SONY DVD-ROM DDU1615, ATAPI CD/DVD-ROM
10 > drive
11 > Jul 7 21:19:31 reid1 kernel: hdb: SONY DVD RW DW-Q120A, ATAPI CD/DVD-ROM
12 > drive
13 > Jul 7 21:19:31 reid1 kernel: hda: ATAPI 40X DVD-ROM drive, 1725kB Cache,
14 > UDMA(33)
15 > Jul 7 21:19:31 reid1 kernel: hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive,
16 > 2048kB Cache, UDMA(66)
17 >
18 > ==============================================================================
19 >
20 > However there are no devices files /dev/cdrom or /dev/cdroms/.
21 >
22 > There are also no files /proc/ide/hda or /proc/ide/hdb.
23 >
24 > I am trying to use udev, and installed the udev package. Packages I have
25 > installed include:
26 >
27 >
28 > ==============================================================================
29 > sys-apps/coldplug-20040920-r1
30 > sys-apps/hotplug-20040923-r2
31 > sys-apps/hotplug-base-20040401
32 > sys-fs/device-mapper-1.02.07
33 > sys-fs/sysfsutils-1.3.0-r1
34 > sys-fs/udev-087-r1
35 >
36 > ==============================================================================
37 >
38 > I haven't touched the various config files (like the udev rules).
39 >
40 > The kernel is 2.6.16-gentoo-r12. I've gone through many documentation
41 > web pages and think I have all the right options selected.
42 >
43 > I'll attach the full list of packages, and kernel config.
44 >
45 > USB storage devices are dectected, and auto mounted fine.
46 >
47 > Thanks for any help
48 > Don Reid
49 >
50 >
51 > I used to have a simllar problem with yours, I've got a SATA hard disk,
52 and a CDROM, that are recognized as /dev/sda , /dev/hda respectively. the
53 /dev/hda would not work, it complains that the /dev/hda is not a block
54 device....
55
56 well, if that's exactly what your problem is, try these:
57
58 >> change your BIOS settings, make your ide devices displays at the top of
59 you device >> list, that is, your CDROMs shows before your hard disk.., or
60 do the reverse..
61
62 >> or try to add a kernel options in your grub.conf. something like this:
63 >> kernel (hd0,6)/kernel-2.6.13-gentoo-r13 irqpoll root=/dev/sda9
64
65 can't remember all details now, hope that helps.. good luck..
66
67 daniel

Replies

Subject Author
Re: [gentoo-user] Missing device files for cdroms fei huang <daniel.huangfei@×××××.com>