>
> In checking mount point for the 2418-12 kernel I find that the dvd
which
> should be /dev/hde is listed as /dev/sd0
> and my cdrw which should be /dev/sd0 is listed as /dev/sd1, using
eroaster I
> see that it also detects the dvd as sd0 and the cdrw as sd1.
>
> I could edit /etc/fstab to reflect the the 'new' designations but am
> reluctant to do so without knowing whether this is a permanent change
> in dev and kernel or if it is just something flaky in he 2418-12
kernel.
> Maybe Juan will be around Mon and can answer.
>
I know what happened.
* Tue Apr 16 2002 Juan Quintela <[EMAIL PROTECTED]> 1-1mdk
...
- make as module FD, IDECD & FLOPPY for all the archs instead of
builtin.
...
- 2.4.18.12mdk.
So you do have hdX=ide-scsi, do not you? Ide-scsi is force-loaded in
rc.sysinit and takes over all you CD-ROM drivers.
The problem is, currently semantic of hdX=ide-scsi is broken. Instead of
scanning for own drives (a.k.a. those that have ide-scsi driver) it
scans for _all_ free drives. I presume it is artifact of days when
hddX=scsi has been used.
Unfortunately, I do not see any easy way to fix it. This is side effect
of
- ide_scan_devices() implementation
- the fact that media type ide-scsi is not used anymore.
Changing either of them may break the IDE subsystem and user-level tools
in unpredictable way.
We could filter drives in idescsi_init():
while ((drive = ide_scan_devices (media[i], idescsi_driver.name, NULL,
failed++)) != NULL) {
if (drive->driver_req && !strstr(idescsi_driver.name,
drive->driver_req))
continue;
Thierry, what happened to the last ide-scsi patch I sent you? If it has
any chance of being accepted I could add the above fix to it.
Another quick'n'dirty fix is to load ide-cd and ide-floppy before
ide-scsi in rc.sysinit; or always explicitly specify hdX=ide-cd (or
whatever) in boot string.
-andrej