removable device: can't detect disk changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux