[7942] in linux-scsi channel archive
Re: Unable to reread SCSI optical disks
daemon@ATHENA.MIT.EDU (Giuliano Pochini)
Wed Jan 26 00:59:38 2000
Message-ID: <388DD123.B985B62B@denise.shiny.it>
Date: Tue, 25 Jan 2000 17:36:51 +0100
From: Giuliano Pochini <pochini@denise.shiny.it>
MIME-Version: 1.0
To: James Box <james@barrscourt.co.uk>
Cc: linux-kernel@vger.rutgers.edu, linux-scsi@vger.rutgers.edu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> I have an old MaxOptix optical drive that has been used for years
> [...]
> My problem comes when I unmount the disk, eject it and insert a
> different disk. It appears to mount ok but when I look at the
> data it has the directory structure that was on the old disk
> [...]
Again this problem :-( Some devices don't send the signal UNIT_ATTENTION when
the disk is changed, so Linux don't know it has to flush the caches. I had the
same problem with my M/O drive, then I discovered that a jumper can
enable/disable that signal...
You can solve the problem trying to mount the device while no disk is
inserted. The failure will force a call to invalidate_buffers() (see
sd.c:check_media_change()). Then insert a new disk; it should work fine now.
Bye.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu