[Bug 401730] New: gphoto2 capture causes usb disconnect and subsequently a kernel crash
https://bugzilla.novell.com/show_bug.cgi?id=401730 User hpj@urpla.net added comment https://bugzilla.novell.com/show_bug.cgi?id=401730#c1 Summary: gphoto2 capture causes usb disconnect and subsequently a kernel crash Product: openSUSE 11.0 Version: Final Platform: i386 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hpj@urpla.net QAContact: qa@suse.de CC: hpj@urpla.net Found By: Beta-Customer Hi, to reproduce, you need a camera supported by gphoto2 to be remote controlled. http://www.gphoto.org/doc/remote/ Mine is a Canon PowerShot S3 IS. Plug in camera: Jun 19 14:30:47 stan kernel: usb 1-5: new high speed USB device using ehci_hcd and address 2 Jun 19 14:30:48 stan kernel: usb 1-5: configuration #1 chosen from 1 choice Jun 19 14:30:48 stan kernel: usb 1-5: New USB device found, idVendor=04a9, idProduct=311a Jun 19 14:30:48 stan kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Jun 19 14:30:48 stan kernel: usb 1-5: Product: Canon Digital Camera Jun 19 14:30:48 stan kernel: usb 1-5: Manufacturer: Canon Inc. Prepare for capture with "gphoto2 --set-config capture=on" immediately results in: Jun 19 14:30:59 stan kernel: ehci_hcd 0000:00:0b.1: HC died; cleaning up Jun 19 14:30:59 stan kernel: usb 1-5: USB disconnect, address 2 unplug results in this crash: Jun 19 14:31:17 stan kernel: irq 21: nobody cared (try booting with the "irqpoll" option) Jun 19 14:31:17 stan kernel: Pid: 0, comm: swapper Tainted: G N 2.6.25.5-1.1-pae #1 Jun 19 14:31:17 stan kernel: [<c01071d9>] dump_trace+0x63/0x227 Jun 19 14:31:17 stan kernel: [<c0107c8a>] show_trace+0x15/0x29 Jun 19 14:31:17 stan kernel: [<c02e84b5>] _etext+0x5b/0x65 Jun 19 14:31:17 stan kernel: [<c01556bc>] __report_bad_irq+0x2e/0x6f Jun 19 14:31:17 stan kernel: [<c01558bc>] note_interrupt+0x1bf/0x217 Jun 19 14:31:17 stan kernel: [<c0155e6c>] handle_fasteoi_irq+0x8f/0xaf Jun 19 14:31:17 stan kernel: [<c010830c>] do_IRQ+0x71/0x89 Jun 19 14:31:17 stan kernel: [<c0106a33>] common_interrupt+0x23/0x30 Jun 19 14:31:17 stan kernel: [<c02e30f9>] schedule+0x6b8/0x6ef Jun 19 14:31:17 stan kernel: [<c0104a4e>] cpu_idle+0xbb/0xc0 Jun 19 14:31:17 stan kernel: [<c02d7301>] rest_init+0x49/0x4b Jun 19 14:31:17 stan kernel: [<c04938a0>] start_kernel+0x32a/0x332 Jun 19 14:31:17 stan kernel: ======================= Jun 19 14:31:17 stan kernel: handlers: Jun 19 14:31:17 stan kernel: [<f90e0f81>] (usb_hcd_irq+0x0/0x57 [usbcore]) Jun 19 14:31:17 stan kernel: Disabling IRQ #21 ~# uname -a Linux stan 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 athlon i386 GNU/Linux Another hefty modded 10.2 system with kernel 2.6.25.4 and an older {lib,}gphoto from packman, works fine, BTW.. Will check another system, which is updating ATM.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401730 User hpj@urpla.net added comment https://bugzilla.novell.com/show_bug.cgi?id=401730#c1 --- Comment #1 from Hans-Peter Jansen <hpj@urpla.net> 2008-06-19 08:17:16 MDT --- Okay, it doesn't happen with my Thinkpad T61p, but that differs in using uhci_hcd, not ohci_hcd, but the problem seems to be in ehci_hcd. Bad system: ~# grep ehci /var/log/boot.msg <6>ehci_hcd 0000:00:0b.1: EHCI Host Controller <6>ehci_hcd 0000:00:0b.1: new USB bus registered, assigned bus number 1 <6>ehci_hcd 0000:00:0b.1: debug port 1 <6>ehci_hcd 0000:00:0b.1: irq 21, io mem 0xfe02e000 <6>ehci_hcd 0000:00:0b.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 <6>usb usb1: Manufacturer: Linux 2.6.25.5-1.1-pae ehci_hcd Good system: ~ # grep ehci /var/log/boot.msg <6>ehci_hcd 0000:00:1a.7: EHCI Host Controller <6>ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1 <6>ehci_hcd 0000:00:1a.7: irq 22, io mem 0xfe226c00 <6>ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 <6>usb usb1: Manufacturer: Linux 2.6.25.5-1.1-pae ehci_hcd <6>ehci_hcd 0000:00:1d.7: EHCI Host Controller <6>ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 7 <6>ehci_hcd 0000:00:1d.7: debug port 1 <6>ehci_hcd 0000:00:1d.7: irq 19, io mem 0xfe227000 <6>ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004 <6>usb usb7: Manufacturer: Linux 2.6.25.5-1.1-pae ehci_hcd but the very same usb port of the bad machine does work in general, as I've fetched successfully a few hundred pictures from two different cameras with digiKam, OTOH, the problem is 100% reproducible on the bad system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401730 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401730#c2 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |gregkh@novell.com --- Comment #2 from Marcus Meissner <meissner@novell.com> 2008-06-19 08:52:03 MDT --- usb stack -... perhaps Greg knows. (gphoto itself should not be able to kill the hostcontroller ,) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401730 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401730#c3 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |hpj@urpla.net --- Comment #3 from Greg Kroah-Hartman <gregkh@novell.com> 2008-11-13 14:35:14 MST --- Does this still happen in the 11.1 betas? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401730 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401730#c4 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|hpj@urpla.net | Resolution| |NORESPONSE --- Comment #4 from Greg Kroah-Hartman <gregkh@novell.com> 2009-01-08 13:36:26 MST --- Closing due to lack of response :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com