I am sorry, there was a mistake in my bisect (there seems to be some
race conditions between the scsi/usb storage behaviour and the usb
serial behaviour that very rarely makes a "bad" kernel work or a "good"
kernel not to work)

However the regression still intervenes with a change in the SCSI cdrom
driver code (drivers/scsi/sr.c)

commit 93aae17af1172c40c6f74b7294e93a90c3cfaa5d
Author: Tejun Heo <t...@kernel.org>
Date:   Thu Dec 16 17:52:17 2010 +0100

    sr: implement sr_check_events()
    
    Replace sr_media_change() with sr_check_events().  It normally only
    uses GET_EVENT_STATUS_NOTIFICATION to check both media change and
    eject request.  If @clearing includes DISK_EVENT_MEDIA_CHANGE, it
    issues TUR and compares whether media presence has changed.  The SCSI
    specific media change uevent is kept for compatibility.
    
    sr_media_change() was doing both media change check and revalidation.
    The revalidation part is split into sr_block_revalidate_disk().


The difficulty is that it is possible that it is not something called
from sr_check_events that causing the regression, but something
triggered in drivers/cdrom/cdrom.c by the new presence of a
->check_events in the device operations structure.


>From my tests, upstream is affected too, even in HEAD (so the recent 
>79b9677d885d1a792bc103f2febb06f91f92de43  commit evoked above does not solve 
>it). I have not (yet) opened a bug report upstream.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to