After a long bisect, first through old natty linux-image package, then through
the 9001 git commits between 2.37-12.26 and 2.38-1.27, the regression
intervened with commit 638428ece619495edc9579b1e21493eb00f9687c
Author: Tejun Heo <[email protected]>
Date: Thu Dec 9 11:18:42 2010 +0100
scsi: fix TUR error handling in sr_media_change()
sr_test_unit_ready() returns 0 iff TUR succeeded - IOW, when media is
present and the device is actually ready, so the return value wouldn't
be zero when TUR ends with sense data. sr_media_change() incorrectly
tests (retval || (scsi_sense_valid(sshdr)...)) when it tries to test
whether TUR failed without sense data or with sense data indicating
media-not-present.
Fix the test using scsi_status_is_good() and update comments.
- Fixed a comment typo spotted by Eike.
This code has been vastly changed in the following weeks after this commit, but
its logics remain...
It is possible (I did not check yet, but it seems possible) that that commit
79b9677d885d1a792bc103f2febb06f91f92de43 solves it.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=79b9677d885d1a792bc103f2febb06f91f92de43
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772577
Title:
Kernel in Natty disconnects Huawei E160G, ModemManager can't use it
To manage notifications about this bug go to:
https://bugs.launchpad.net/modemmanager/+bug/772577/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs