Re: (Fwd) CD-ROM (SCSI and IDE) not mounting disk

From: Glenn C. Hofmann (hofmang@ibm.net)
Date: Sat Sep 23 2000 - 20:10:51 EST


I will try to recompile some older kernels and see where it breaks, but here is the output in the
logs when I try to mount the CD. I enabled debugging, as well.

Found in debug logfile:

Sep 23 19:58:05 hofmann1 kernel: VFS: Disk change detected on device ide1(22,64)
Sep 23 19:58:05 hofmann1 last message repeated 2 times
Sep 23 20:01:07 hofmann1 kernel: VFS: Disk change detected on device ide1(22,64)
Sep 23 20:01:07 hofmann1 last message repeated 2 times

And in messages logfile:

Sep 23 20:06:52 hofmann1 kernel: cdrom: entering cdrom_open
Sep 23 20:06:52 hofmann1 kernel: cdrom: entering open_for_data
Sep 23 20:06:52 hofmann1 kernel: cdrom: drive_status=2
Sep 23 20:06:52 hofmann1 kernel: cdrom: the tray is open...
Sep 23 20:06:52 hofmann1 kernel: cdrom: trying to close the tray.
Sep 23 20:06:52 hofmann1 kernel: cdrom: bummer. the tray is still not closed.
Sep 23 20:06:52 hofmann1 kernel: cdrom: tray might not contain a medium.
Sep 23 20:06:52 hofmann1 kernel: cdrom: open failed.
Sep 23 20:06:52 hofmann1 kernel: cdrom: door unlocked.
Sep 23 20:06:52 hofmann1 kernel: cdrom: Use count for "/dev/hdd" now 0
Sep 23 20:06:52 hofmann1 kernel: cdrom: entering cdrom_open
Sep 23 20:06:52 hofmann1 kernel: cdrom: entering cdrom_open
Sep 23 20:06:52 hofmann1 kernel: cdrom: entering open_for_data
Sep 23 20:06:52 hofmann1 kernel: cdrom: drive_status=2
Sep 23 20:06:52 hofmann1 kernel: cdrom: the tray is open...
Sep 23 20:06:52 hofmann1 kernel: cdrom: trying to close the tray.
Sep 23 20:06:52 hofmann1 kernel: cdrom: bummer. the tray is still not closed.
Sep 23 20:06:52 hofmann1 kernel: cdrom: tray might not contain a medium.
Sep 23 20:06:52 hofmann1 kernel: cdrom: open failed.
Sep 23 20:06:52 hofmann1 kernel: cdrom: door unlocked.
Sep 23 20:06:52 hofmann1 kernel: cdrom: Use count for "/dev/hdd" now 0
Sep 23 20:06:52 hofmann1 kernel: cdrom: entering cdrom_open
Sep 23 20:06:52 hofmann1 kernel: cdrom: entering open_for_data
Sep 23 20:06:52 hofmann1 kernel: cdrom: drive_status=2
Sep 23 20:06:52 hofmann1 kernel: cdrom: the tray is open...
Sep 23 20:06:52 hofmann1 kernel: cdrom: trying to close the tray.
Sep 23 20:06:52 hofmann1 kernel: cdrom: bummer. the tray is still not closed.
Sep 23 20:06:52 hofmann1 kernel: cdrom: tray might not contain a medium.
Sep 23 20:06:52 hofmann1 kernel: cdrom: open failed.
Sep 23 20:06:52 hofmann1 kernel: cdrom: door unlocked.
Sep 23 20:06:52 hofmann1 kernel: cdrom: Use count for "/dev/hdd" now 0

On 24 Sep 2000, at 2:43 Jens Axboe wrote:

> On Sat, Sep 23 2000, Glenn C. Hofmann wrote:
> > As of the more recent kernels (2.4.0-test8,7,6 for sure) both my IDE and
> > SCSI CD-ROM drives will not mount a disk. They fail and tell me that
> > there is no disk in the drive. I booted into an old 2.0.36 kernel just
> > to make sure it wasn't a strange hardware failure and the CD mounted fine.
> > I have attached my .config and dmesg, which shows that the drives are
> > recognised. If there is any further information that I can give, I would
> > be happy to. Thanks in advance for any help.
>
> Could you try and isolate the kernel that breaks this? It sounds very
> odd that both your ATAPI and SCSI drive is affected. Also, could you
> try and mount a drive with debugging enabled in the uniform cd layer?
>
> echo "1" > /proc/sys/dev/cdrom/debug
>
> --
> * Jens Axboe <axboe@suse.de>
> * SuSE Labs

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



This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 21:00:30 EST