lkml.org 
[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectSCSI CD-ROM media change not recognized
Date

Hi everybody!

I dont' know when it started, but with 2.2.0-pre7, aic7xxx 5.1.10,
TEAC CD-R55S attached to an Adaptec 2940W CD media changes aren't
recognized any longer and the door is not locked, when the media
is in use (for egg. mounted).
It worked with at least some of the 2.1.x kernels.

A workaround is to try an access when the unit is _not_ ready.
This leads to a corresponding test unit read error in linux/drivers/scsi/sr.c,
function sr_media_changed(), which then reports a media change to the VFS.

Obviously, the lower scsi level never sets device->changed != 0 ?!

Any suggestions?

Happy hacking,
Heinz
--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement Entwicklungsbereich 2 Deutsche Telekom AG
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Postfach 10 05 41
mge@ez-darmstadt.telekom.de 64205 Darmstadt
Germany
+49 6151 886-425
FAX-386
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.119 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site