[1453] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: CD-ROM mounting problems

daemon@ATHENA.MIT.EDU (Dirk Foersterling)
Thu Feb 20 23:48:44 1997

Date: 	Fri, 21 Feb 1997 05:40:09 +0100
From: dirk@informatik.uni-frankfurt.de (Dirk Foersterling)
To: linux-scsi@vger.rutgers.edu
In-Reply-To: <199702201948.LAA12648@dandelion.com>; from Leonard N. Zubkoff on Feb 20, 1997 11:48:30 -0800

On Feb 20 1997, Leonard N. Zubkoff wrote:
>   Date: 	Thu, 20 Feb 1997 19:23:56 +0100
>   From: dirk@informatik.uni-frankfurt.de (Dirk Foersterling)
>

[snip]

>   It seems, that the SCSI-CD-ROM driver doesn't wait/retry like the
>   Mitsumi and Matsushita driver. Is this the expected behaviour? How can I
>   work around this smoothly? (a script with something like "mount ; sleep 5
>   ; mount" sometimes works, but it throws error messages at me, if the first
>   mount was successfull).
> 
> Are you mounting the drive immediately after inserting the CD-ROM?

No. The disc to mount was inserted some minutes before the mount. If the
tray is open, the mount command does nothing but produce error messages.
(The same error as if the tray was closed for the first mount).

[The driver I like most is the SBPCD (Matsushita) driver. If the tray of
the SBPCD drive is open, the mount command closes the tray and then
mounts the disc (with some retries, but without telling me something
about "wrong fs type, bad option, bad superblock....")

> Please include
> the logged error messages when you ask questions like this.  Without them, it's
> very hard to know whether what you are seeing is normal and reasonable
> behavior, or a real problem.  It's quite possible we can improve the SCSI
> CD-ROM driver, but we'll need more information to understand what precisely is
> happening.

Here it is.
The disc was already in the drive at 05:20:02. 

Feb 21 05:20:02 infinity kernel: ncr53c8xx: at PCI bus 0, device 13, function 0
Feb 21 05:20:02 infinity kernel: ncr53c8xx: unit=0 chip=825 rev=0x2 base=0xf4000000, io_port=0x6000, irq=12
Feb 21 05:20:02 infinity kernel: ncr53c825-0: using memory mapped IO at virtual address 0x2841000
Feb 21 05:20:02 infinity kernel: ncr53c825-0: requesting shared irq 12 (dev_id=0xab0068)
Feb 21 05:20:02 infinity kernel: ncr53c825-0: restart (scsi reset).
Feb 21 05:20:02 infinity kernel: ncr53c825-0: final value of dmode/ctest4/ctest5 = 0xca/0x00/0x00
Feb 21 05:20:02 infinity kernel: scsi0 : ncr53c8xx - revision 1.16e
Feb 21 05:20:02 infinity kernel: scsi : 1 host.
Feb 21 05:20:04 infinity kernel:   Vendor: PIONEER   Model: CD-ROM DR-U10X    Rev: 1.07
Feb 21 05:20:04 infinity kernel:   Type:   CD-ROM                             ANSI SCSI revision: 02
Feb 21 05:23:03 infinity kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
Feb 21 05:23:03 infinity kernel: ncr53c825-0-<2,0>: 5.0 MB/s (200 ns, offset 8)

[first mount]
Feb 21 05:23:03 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:23:03 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:23:03 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:23:03 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:23:03 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:23:03 infinity kernel: CD-ROM I/O error: dev 0b:00, sector 64
Feb 21 05:23:03 infinity kernel: isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
Feb 21 05:23:03 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:23:03 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:23:03 infinity kernel: Device not ready.  Make sure there is a disc in the drive.

[second mount]
Feb 21 05:23:06 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:23:07 infinity kernel: Max size:324401   Log zone size:2048
Feb 21 05:23:07 infinity kernel: First datazone:28   Root inode number 57344

[third mount (I didn't change the disc!)]
Feb 21 05:37:00 infinity kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
Feb 21 05:37:00 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:37:00 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:37:00 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:37:00 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:37:00 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:37:00 infinity kernel: CD-ROM I/O error: dev 0b:00, sector 64
Feb 21 05:37:00 infinity kernel: isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
Feb 21 05:37:00 infinity kernel: Device not ready.  Make sure there is a disc in the drive.
Feb 21 05:37:00 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:37:00 infinity kernel: Device not ready.  Make sure there is a disc in the drive.

[fourth mount]
Feb 21 05:37:03 infinity kernel: Disc change detected.
Feb 21 05:37:03 infinity kernel: VFS: Disk change detected on device 0b:00
Feb 21 05:37:03 infinity kernel: Max size:324401   Log zone size:2048
Feb 21 05:37:03 infinity kernel: First datazone:28   Root inode number 57344


 -dirk

-- 
                    D i r k   F "o r s t e r l i n g                  
 dirk@informatik.uni-frankfurt.de   http://www.uni-frankfurt.de/~dirk
                              ----------
                 bash: randomsig.pl: command not found

home help back first fref pref prev next nref lref last post