yOn Fri, 30 Mar 2001, Michael R. Jinks wrote:

> Our file server has an IDE CD-RW.  Recently I replaced the stock Red Hat
> 7 kernel, using 2.2.18 with SCSI emulation turned on, with hopes of
> being able to use the CD-RW under cdrecord.
> 
> Well, the new kernel appears to have broken CD-ROM support altogether:
> 
> [root@fs2 /root]# mount /mnt/cdrom
> 
> mount: the kernel does not recognize /dev/cdrom as a block device
>        (maybe `insmod driver'?)
> 
> I _thought_ that I had turned on all the options that I need in order to
> enable the CD-ROM, I've done this a bunch of times before, looks to me
> like all the right modules are there.  Pruned output of 'lsmod':
> 
> ide-probe               6608   0  (autoclean)
> ide-cd                 24192   0 
> ide-disk                6224   0 
> ide-scsi                7424   0 
> sg                     15648   0  (unused)
> cdrom                  27168   0  [ide-cd]
> ide-mod                36160   0  (autoclean) [ide-probe ide-cd ide-disk
> ide-scsi]
> isofs                  16864   0  (autoclean) (unused)
> 
> So what might be missing from that list?  The CD that's in it has not
> moved from the tray since the last runtime, during which it was mounted
> and accessible.
> 
> Here's an excerpt from dmesg:
> 
> PCI_IDE: unknown IDE controller on PCI bus 00 device 79, VID=1166,
> DID=0211
> PCI_IDE: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:pio, hdd:pio
> hda: PLEXTOR CD-R PX-W1210A, ATAPI CDROM drive
> hdc: IRQ probe failed (0)
> hdc: IRQ probe failed (0)
> hdd: IRQ probe failed (0)
> hdd: IRQ probe failed (0)
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hda: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
> Uniform CD-ROM driver Revision: 3.11
> 
> ...all looks good to me...
> 
> I'm stumped.
> 
> Might the device naming have changed when I enabled SCSI emulation?
> 
> I do have this in lilo.conf:
> 
> append="hda=ide-scsi"
> 
> Anyhow.  Thanks for any suggestions, knowing me I'll realize that I've
> done something dumb as soon as I send this. ;)
> 
> 
When you enabled ide-scsi emulation for hda, the device dor the CD-ROM
changed.  It is no longer /dev/hda, it is now /dev/scd0.  /dev/cdrom is
not a real device, but a symlink to the device.  If you run
"ls -al /dev/cdrom", it will probably show you that is it still a
symlink to /dev/hda.  What you need to do is change it so that it points
to /dev/scd0 when you use ide-scsi.  Try running
"ln -sf /dev/scd0 /dev/cdrom" and see if that fixes you probem. 

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to