Re: "/dev/cdrom1/ is not a valid block device"
From: Spamless (Spamless_at_Nil.nil)
Date: 07/02/03
- Next message: Felix the cat: "USB ISDN Modem"
- Previous message: Dances With Crows: "Re: Using HP 8200e USB CDRW on RedHat 8"
- In reply to: Samhain: ""/dev/cdrom1/ is not a valid block device""
- Next in thread: Samhain: "Re: "/dev/cdrom1 is not a valid block device""
- Reply: Samhain: "Re: "/dev/cdrom1 is not a valid block device""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Jul 2003 10:30:25 -0400
In article <pan.2003.07.02.11.40.19.184366@hotmail.com>, Samhain wrote:
> Hi everybody,
> i was running into some troubles with my linux box. I have RedHat 8.0.A
> installed on my K6-2/300.
> For some reasons i had to recompile the kernel and i decided to switch to
> a 2.4.20 one.
> After the installation of the new kernel things seems to run quite
> smoothly, but I am able no more to access my cd-rw drive, an IDE LG 4/4/24
> (Secondary IDE Master).
It looks like you had it set to used ide-scsi (since it is a burner)
so /dev/cdrom1 likely is a symbolic link to a SCSI item and now your
new kernel would like to treat it as IDE but the /dev/cdrom is pointing
to scsi.
> Since when i mount the cd-rw drive with the original 2.4.18 kernel
> i got log messages about the mounting of a SCSI device, i've recompiled
> the new kernel with some SCSI stuff enabled, but with no result.
You can do it with kernel changes, but then, if you have a second CD drive
you will lose that unless you make changes.
If you want to do it with kernel changes you would NOT include IDE CDROM
support at all! You would include SCSI CDROM support, IDE-SCSI emulation
and the basic SCSI driver (with vendor options). The you would set
/dev/cdrom1 as a symbolic link to the correct SCSI item in /dev,
such as scd0. If you have another CD drive it will also come up as SCSI
and its entry in /dev/ should be set as a symbolic link to whatever.
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 (one
can use modules and such a command instead of making the change in
the kernel - or one can make the change in the kernel - but one
has to remove the IDE CDROM capability or else the drive will
come up on its native IDE handler).
cdrecord uses the scsi interface, so to use the burner, one
does not consider it as an ide device but uses a scsi driver
and the ide-scsi emulation.
- Next message: Felix the cat: "USB ISDN Modem"
- Previous message: Dances With Crows: "Re: Using HP 8200e USB CDRW on RedHat 8"
- In reply to: Samhain: ""/dev/cdrom1/ is not a valid block device""
- Next in thread: Samhain: "Re: "/dev/cdrom1 is not a valid block device""
- Reply: Samhain: "Re: "/dev/cdrom1 is not a valid block device""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|