Bug 1018620 - BUG: lock held when returning to user space! - USB scanner fails discovery in xsane/gimp
BUG: lock held when returning to user space! - USB scanner fails discovery i...
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
rawhide
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-13 18:16 EDT by Tom London
Modified: 2013-10-29 12:45 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-10-29 12:45:07 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom London 2013-10-13 18:16:09 EDT
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:
Comment 1 Josh Boyer 2013-10-29 12:45:07 EDT
This should be fixed in the 3.12-rc7-git1 kernel.  Upstream reverted a set of SG commits that introduced this.

Note You need to log in before you can comment on or make changes to this bug.