[gentoo-user] Re: Missing device files for cdroms

2006-07-21 Thread Richard Fish

On 7/21/06, don [EMAIL PROTECTED] wrote:

# cd /dev
# /sbin/MAKEDEV hda hdb
# /sbin/cdrom_id --export /dev/hda
# /sbin/cdrom_id --export /dev/hdb
# /sbin/ata_id --export /dev/hdb
# /sbin/ata_id --export /dev/hda
# ll /dev/hda
brw-rw 1 root disk 3, 0 Jul 21 08:20 /dev/hda
# ll /dev/hdb
brw-rw 1 root disk 3, 64 Jul 21 08:20 /dev/hdb


Well that isn't good!

What you should be seeing is something like this:
~  /sbin/cdrom_id --export /dev/hdc; echo ; /sbin/ata_id --export /dev/hdc
ID_CDROM=1
ID_CDROM_CD_R=1
ID_CDROM_CD_RW=1
ID_CDROM_DVD=1
ID_CDROM_DVD_R=1
ID_CDROM_MRW=1
ID_CDROM_MRW_W=1
ID_CDROM_RAM=1

ID_TYPE=cd
ID_MODEL=PIONEER_DVD-RW_DVR-110D
ID_SERIAL=
ID_REVISION=1.17
ID_BUS=ata

Was this done after following my earlier advice to modularize your IDE
system, and if so, did you load the necessary modules (modprobe ide-cd
it821x)?

If so, the kernel should be finding the devices.  What does find /sys
| grep /ide report?

Can you send me your full dmesg output?

Can you try removing one of the drives (hdb)?  Maybe this is a hardware issue...

-Richard
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Missing device files for cdroms

2006-07-20 Thread don
Richard Fish wrote:
 On 7/19/06, don don_reid at comcast.net wrote:
  I have a system with an SATA hard drive, and two IDE cdroms.
 
  The kernel sees them as shown by these lines in /var/log/messages
 
  ==
  Jul  7 21:19:31 reid1 kernel: hda: SONY DVD-ROM DDU1615, ATAPI CD/DVD-ROM 
  drive
  Jul  7 21:19:31 reid1 kernel: hdb: SONY DVD RW DW-Q120A, ATAPI CD/DVD-ROM 
  drive
  Jul  7 21:19:31 reid1 kernel: hda: ATAPI 40X DVD-ROM drive, 1725kB Cache, 
  UDMA(33)
  Jul  7 21:19:31 reid1 kernel: hdb: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 
  2048kB Cache, UDMA(66)
  ==
 
  However there are no devices files /dev/cdrom or /dev/cdroms/.
 
 What about /dev/hda and /dev/hdb?  Do those exist?
 
 -Richard

No they don't.

-- 
Don
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Missing device files for cdroms

2006-07-20 Thread Justin R Findlay
On Thu, Jul 20, 2006 at 05:01:23PM -0700, don wrote:
 No they don't.

It sounds like you may not have some important ide kernel module loaded.
I would check /lib/modules/2.6.*/kernel/drivers/ide/ first for modules
to load and then look at the kernel IDE config.


Justin
-- 
gentoo-user@gentoo.org mailing list