Re: cant mount adapi cdrom with 1.3.24 anymore

Johann Friedrich Heinrichmeyer (Fritz.Heinrichmeyer@FernUni-Hagen.de)
Fri, 8 Sep 95 10:54:22 +0200


Hello gary, here is what i have now in ide.c:

* Second drive should only exist if first drive was found,
* but a lot of cdrom drives seem to be configured as slave-only
*/
for (unit = 0; unit < 2; ++unit) { /* note the hardcoded '2' */
ide_drive_t *drive = &hwif->drives[unit];
(void) probe_for_drive(drive);
#ifdef CONFIG_BLK_DEV_IDECD
if (drive->present && drive->media == cdrom)
ide_cdrom_setup(drive);
#endif /* CONFIG_BLK_DEV_IDECD */
}
for (unit = 0; unit < MAX_DRIVES; ++unit) {
ide_drive_t *drive = &hwif->drives[unit];
if (drive->present) {
hwif->present = 1;
request_region(hwif->io_base, 8, hwif->name);
request_region(hwif->ctl_port, 1, hwif->name);
#if 0 /*def CONFIG_BLK_DEV_IDECD*/
if (drive->media == cdrom)
ide_cdrom_setup(drive);
#endif /* 0 CONFIG_BLK_DEV_IDECD */
break;
}
}
restore_flags(flags);

but it does not help. The same symptoms: When i boot the box with kernel
1.3.15, mount the cdrom and then reboot with 1.3.24 (and Your patches)
it works again. I have a quad-speed FX001DE. The beaviour after power on
with Your patch has changed. The linux box hangs with error messages
about timeouts etc. (have been mentioned in
comp.os.linux.development.system by others..:-()

Thanks anyway

-- 
Fritz Heinrichmeyer                             FernUniversitaet Hagen
FAX:   +49 2371/566236                          LG Elektronische Schaltungen
EMAIL: fritz.heinrichmeyer@fernuni-hagen.de     Frauenstuhlweg 31
PHONE: +49 02371/566-243                        58644 Iserlohn (Germany)
WWW:  http://ES-sun2.fernuni-hagen.de