public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* removable device: can't detect disk changes
@ 2008-08-12 13:08 Giuliano Pochini
  2008-08-18 19:52 ` Giuliano Pochini
  0 siblings, 1 reply; 5+ messages in thread
From: Giuliano Pochini @ 2008-08-12 13:08 UTC (permalink / raw)
  To: linux-scsi


Fujitsu magneto-optical drive, Adaptec 29160 and 
Linux Jay 2.6.26 #7 SMP Sun Aug 10 18:34:22 CEST 2008 ppc 7455, altivec supported PowerMac3,6 GNU/Linux

When I insert a disk and I mount it, scsi_test_unit_ready() is called and
the do-while loop gets sshdr->sense_key == UNIT_ATTENTION in the first
cycle and 0 in the second one. So the if below misses the UNIT_ATTENTION
and sdev->changed = 1 is not executed. At this point bad things can
happen... I'm not sure how to fix this. Any clue ?


--
Giuliano.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-10-13 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 13:08 removable device: can't detect disk changes Giuliano Pochini
2008-08-18 19:52 ` Giuliano Pochini
2008-08-18 20:58   ` James Bottomley
2008-08-19 22:58     ` Giuliano Pochini
2008-10-13 20:40       ` Giuliano Pochini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox