Re: PROBLEM: bad device file for cdrom while using devfs and ide-scsi

Rolf Eike Beer (eike-kernel@sf-tec.de)
Fri, 17 Jan 2003 08:16:51 +0100


> [2.] Full description of the problem/report:
>
> I use Kernle-2.4.20 with devfs and ide-scsi.
> "devfs" is mounted at boot.
>
> I wonder that the symbolic-link to actual device file of cdrom is not
> correct, which is placed in /dev as
>
> "cdrom0 -> ../scsi/host0/bus0/target0/lun0/cd"
>
> It should be placed in subdirectory /dev/cdroms, or it should be
> linked to "scsi/host0/bus0/target0/lun0/cd", I think.
>
> Without ide-scsi, there is /dev/cdroms/cdrom0 which is correctry
> linked to actual device file.
>
> I was looking around the kernel source codes, but I cannot find
> where it was.

Are you sure that sr_mod is loaded? After installing ide-scsi the cdrom drive
is a scsi cdrom so you must load the scsi cdrom driver (module sr_mod). If it
is not in the `lsmod` output you should try "modprobe sr_mod".

Eike
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/