| Summary: | BUG: lock held when returning to user space! - USB scanner fails discovery in xsane/gimp | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom London <selinux> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, marcelo.barbosa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-29 16:45:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This should be fixed in the 3.12-rc7-git1 kernel. Upstream reverted a set of SG commits that introduced this. |
Description of problem: I'm seeing the following journal spew when I power on my USB scanner and then start either gimp or xsane. In either case, the scanner is not 'discovered', so it "fails to work". Let me know what additional info/testing I can do to help.... Here is the spew: Oct 13 15:06:24 tlondon.localhost.org kernel: usb 1-5.4: new full-speed USB device number 9 using ehci-pci Oct 13 15:06:25 tlondon.localhost.org kernel: usb 1-5.4: New USB device found, idVendor=04b8, idProduct=010a Oct 13 15:06:25 tlondon.localhost.org kernel: usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Oct 13 15:06:25 tlondon.localhost.org kernel: usb 1-5.4: Product: Perfection1640 Oct 13 15:06:25 tlondon.localhost.org kernel: usb 1-5.4: Manufacturer: EPSON Oct 13 15:06:25 tlondon.localhost.org mtp-probe[2507]: checking bus 1, device 9: "/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-5/1-5.4" Oct 13 15:06:25 tlondon.localhost.org mtp-probe[2507]: bus: 1, device: 9 was not an MTP device Oct 13 15:06:35 tlondon.localhost.org dbus-daemon[706]: dbus[706]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service' Oct 13 15:06:35 tlondon.localhost.org dbus-daemon[706]: dbus[706]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. Oct 13 15:06:35 tlondon.localhost.org dbus[706]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service' Oct 13 15:06:35 tlondon.localhost.org dbus[706]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory. Oct 13 15:07:14 tlondon.localhost.org kernel: Oct 13 15:07:14 tlondon.localhost.org kernel: ================================================ Oct 13 15:07:14 tlondon.localhost.org kernel: [ BUG: lock held when returning to user space! ] Oct 13 15:07:14 tlondon.localhost.org kernel: 3.12.0-0.rc4.git4.1.fc21.x86_64 #1 Tainted: G W Oct 13 15:07:14 tlondon.localhost.org kernel: ------------------------------------------------ Oct 13 15:07:14 tlondon.localhost.org kernel: xsane/2560 is leaving the kernel with locks still held! Oct 13 15:07:14 tlondon.localhost.org kernel: 1 lock held by xsane/2560: Oct 13 15:07:14 tlondon.localhost.org kernel: #0: (&sdp->o_sem){.+.+..}, at: [<ffffffff814d87b5>] sg_open+0x495/0x5a0 Version-Release number of selected component (if applicable): kernel-3.12.0-0.rc4.git4.1.fc21.x86_64 How reproducible: Every time I attempt to use xsane/gimp with scanner turned on. Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: