Re: "/dev/cdrom1 is not a valid block device"

From: Samhain (leptone81NOGARBAGE_at_hotmail.com)
Date: 07/03/03


Date: Thu, 03 Jul 2003 08:42:20 GMT

Thank you for the hint. After reading your reply, i recompiled the kernel,
enabling the scsi-ide support and disabling the ide cdrom capability.
As you have foreseen, the cd burner now works properly.

> so /dev/cdrom1 likely is a symbolic link to a SCSI

I've looked for it in my /dev: /dev/cdrom points to /dev/hdd (the ide
device), while /dev/cdrom1 points to /dev/scd0

> You can do it with kernel changes, but then, if you have a second CD drive
> you will lose that unless you make changes.

Yep, in fact so has happened :-(
 
> The kernel most likely came with everything compiled as modules.
> The old kernel probably had a line in lilo.conf to block the
> drive from being recognized as IDE but to use ide-scsi on it

To make both the cd-rom and the burner work, i've enabled both the
ide-scsi and the ide-cdrom things in the kernel. Of course, after booting
this kernel, the burner was recognized as an ide-device, so it didn't want
to work. The workaround was, as you wrote, to add a line within the
grub.conf file (RH 8 comes with grub), that is:

hdc=ide-scsi

Now, with this option, both the cdrom and the burner work smoothly.

Thank you again for the help...

-- 
Samhain
--------------------------------------------------------------
The light at the end of the tunnel could turn out to be the
headlight of an oncoming train.
*to reply by e-mail, remove NOGARBAGE from the e-mail address*
--------------------------------------------------------------


Relevant Pages

  • Re: DMA problems in ide-scsi
    ... ide-scsi: hdb: suc 91 ... Unable to handle kernel NULL pointer dereference at virtual address 00000024 ... (again with DMA enabled) ...
    (Linux-Kernel)
  • CD-R / RW and scsi emulation
    ... I'm having big troubles when I try to use my ide CD burner with scsi ... The problems begin when the system tries to load the ide-scsi module ... kernel: ide-scsi: The scsi wants to send us more data than expected - ...
    (comp.os.linux.hardware)
  • scsi emulation for CD burner
    ... I'm having big troubles when I try to use my ide CD burner with scsi ... The problems begin when the system tries to load the ide-scsi module ... kernel: ide-scsi: The scsi wants to send us more data than expected - ...
    (Debian-User)
  • Re: CD writing in future Linux (stirring up a hornets nest)
    ... I did not get any proposal for working on making ide-scsi work nor did ... ATA/ATAPI bus at the same time it scans the SCSI bus on Linux systems. ... uniquely identify said devices and the problem with the kernel munging SCSI ... From what I can tell a lot of the warnings are bogus. ...
    (Linux-Kernel)
  • Re: bad: scheduling while atomic!, preempt kernel, 2.6.1-test11, reading an apparently duff DVD-R
    ... I recompiled the kernel with IDE-SCSI, preemption, taskfile, and a few ... can't _write_ DVDs without IDE-SCSI (short of obtaining a SCSI ... Dec 15 13:15:20 amphibian kernel: attempt to access beyond end of device ... > I got the following when trying to mount a particular DVD-R on Linux ...
    (Linux-Kernel)