Bug 11519 - USB Serial failure on USB stick modem
Summary: USB Serial failure on USB stick modem
Status: RESOLVED INVALID
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 blocking
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-08 01:53 UTC by Daniel Huhardeaux
Modified: 2012-02-22 21:05 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.26 amd64
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Daniel Huhardeaux 2008-09-08 01:53:35 UTC
Latest working kernel version: 2.6.25 amd64
Earliest failing kernel version: 2,6,26 amd64
Distribution: debian
Hardware Environment: Dell laptop Inspiron 6400 
Software Environment: Debian SID
Problem Description: USB Serial doen't work anymore. When connecting an USB modem key for G3+ (Huawei) I get 

[  352.371443] Call Trace:
[  352.371443]  <IRQ>  [<ffffffff80234878>] warn_on_slowpath+0x51/0x7a
[  352.371443]  [<ffffffff80248bba>] ktime_get_ts+0x22/0x4b
[  352.371443]  [<ffffffff8028d08b>] dma_pool_alloc+0x1c4/0x1d9
[  352.371443]  [<ffffffff8022904d>] hrtick_start_fair+0xfb/0x144
[  352.371443]  [<ffffffff8024aab6>] getnstimeofday+0x39/0x98
[  352.371443]  [<ffffffffa001e714>] :uhci_hcd:uhci_alloc_td+0x17/0x51
[  352.371443]  [<ffffffff802124b2>] nommu_map_single+0x0/0x4a
[  352.371443]  [<ffffffffa06272f5>] :usbserial:serial_write_room+0x4b/0x60
[  352.371443]  [<ffffffff80369a87>] opost+0x12/0x1b7
[  352.371443]  [<ffffffff8036ae28>] n_tty_receive_buf+0x993/0xd88
[  352.371443]  [<ffffffff80248bef>] ktime_get+0xc/0x41
[  352.371443]  [<ffffffff8022904d>] hrtick_start_fair+0xfb/0x144
[  352.371443]  [<ffffffff802318fa>] check_preempt_wakeup+0xbd/0xe9
[  352.371443]  [<ffffffff8036635b>] flush_to_ldisc+0xf1/0x190
[  352.371443]  [<ffffffffa06312ed>] :option:option_indat_callback+0x4c/0x8f
[  352.371443]  [<ffffffff8038e4b8>] usb_hcd_giveback_urb+0x76/0xa4
[  352.371443]  [<ffffffffa001d98a>] :uhci_hcd:uhci_giveback_urb+0xfc/0x17f
[  352.371443]  [<ffffffffa001e033>] :uhci_hcd:uhci_scan_schedule+0x51c/0x79a
[  352.371443]  [<ffffffffa001fea8>] :uhci_hcd:uhci_irq+0x123/0x136
[  352.371443]  [<ffffffff8038e7b6>] usb_hcd_irq+0x3b/0x78
[  352.371443]  [<ffffffff8026baa3>] handle_IRQ_event+0x2c/0x61
[  352.371443]  [<ffffffff8026cf3a>] handle_fasteoi_irq+0x90/0xc8
[  352.371443]  [<ffffffff8020f590>] do_IRQ+0x6d/0xd9
[  352.371443]  [<ffffffff8020c43d>] ret_from_intr+0x0/0x19
[  352.371443]  <EOI>
[  352.371443] ---[ end trace e30fbc135afa5bf9 ]---


Steps to reproduce: connect the USB key and type:

echo 'at+cpin="xxxx"' >/dev/ttyUSB0

-- 
Daniel
Comment 1 Anonymous Emailer 2008-09-08 02:03:52 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Mon,  8 Sep 2008 01:53:36 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=11519
> 
>            Summary: USB Serial failure on USB stick modem
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.26 amd64
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: blocking
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@kroah.com
>         ReportedBy: devel@tootai.net
> 
> 
> Latest working kernel version: 2.6.25 amd64
> Earliest failing kernel version: 2,6,26 amd64

A regression.

> Distribution: debian
> Hardware Environment: Dell laptop Inspiron 6400 
> Software Environment: Debian SID
> Problem Description: USB Serial doen't work anymore. When connecting an USB
> modem key for G3+ (Huawei) I get 
> 
> [  352.371443] Call Trace:
> [  352.371443]  <IRQ>  [<ffffffff80234878>] warn_on_slowpath+0x51/0x7a
> [  352.371443]  [<ffffffff80248bba>] ktime_get_ts+0x22/0x4b
> [  352.371443]  [<ffffffff8028d08b>] dma_pool_alloc+0x1c4/0x1d9
> [  352.371443]  [<ffffffff8022904d>] hrtick_start_fair+0xfb/0x144
> [  352.371443]  [<ffffffff8024aab6>] getnstimeofday+0x39/0x98
> [  352.371443]  [<ffffffffa001e714>] :uhci_hcd:uhci_alloc_td+0x17/0x51
> [  352.371443]  [<ffffffff802124b2>] nommu_map_single+0x0/0x4a
> [  352.371443]  [<ffffffffa06272f5>] :usbserial:serial_write_room+0x4b/0x60
> [  352.371443]  [<ffffffff80369a87>] opost+0x12/0x1b7
> [  352.371443]  [<ffffffff8036ae28>] n_tty_receive_buf+0x993/0xd88
> [  352.371443]  [<ffffffff80248bef>] ktime_get+0xc/0x41
> [  352.371443]  [<ffffffff8022904d>] hrtick_start_fair+0xfb/0x144
> [  352.371443]  [<ffffffff802318fa>] check_preempt_wakeup+0xbd/0xe9
> [  352.371443]  [<ffffffff8036635b>] flush_to_ldisc+0xf1/0x190
> [  352.371443]  [<ffffffffa06312ed>] :option:option_indat_callback+0x4c/0x8f
> [  352.371443]  [<ffffffff8038e4b8>] usb_hcd_giveback_urb+0x76/0xa4
> [  352.371443]  [<ffffffffa001d98a>] :uhci_hcd:uhci_giveback_urb+0xfc/0x17f
> [  352.371443]  [<ffffffffa001e033>] :uhci_hcd:uhci_scan_schedule+0x51c/0x79a
> [  352.371443]  [<ffffffffa001fea8>] :uhci_hcd:uhci_irq+0x123/0x136
> [  352.371443]  [<ffffffff8038e7b6>] usb_hcd_irq+0x3b/0x78
> [  352.371443]  [<ffffffff8026baa3>] handle_IRQ_event+0x2c/0x61
> [  352.371443]  [<ffffffff8026cf3a>] handle_fasteoi_irq+0x90/0xc8
> [  352.371443]  [<ffffffff8020f590>] do_IRQ+0x6d/0xd9
> [  352.371443]  [<ffffffff8020c43d>] ret_from_intr+0x0/0x19
> [  352.371443]  <EOI>
> [  352.371443] ---[ end trace e30fbc135afa5bf9 ]---
> 
> 
> Steps to reproduce: connect the USB key and type:
> 
> echo 'at+cpin="xxxx"' >/dev/ttyUSB0
> 

There should have been some additional information in the logs
preceding that trace?
Comment 2 Daniel Huhardeaux 2008-09-08 02:31:16 UTC
bugme-daemon@bugzilla.kernel.org a 
Comment 3 Matt Zimmerman 2008-09-18 14:14:13 UTC
I have reproduced this on 2.6.27 as well:

https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/258804

However, the serial device is working fine.  Perhaps the original reporter's problem is not necessarily related to the warning?
Comment 4 Daniel Huhardeaux 2008-09-18 15:04:37 UTC
bugme-daemon@bugzilla.kernel.org a 
Comment 5 Alan 2008-10-02 06:45:17 UTC
Fail to see how this was reproduced on 2.6.27 as it doesn't even exist yet. 2.6.7-rc snapshot perhaps.

Traces make no sense compared to source at this point so no plan to take any action on this bug. 
Comment 6 Daniel Huhardeaux 2008-10-08 13:57:20 UTC
In last linux-image-2.6.26-1 debian version 2.6.26-7 the problem disappear. Bug can be closed.

-- 
Daniel
Comment 7 Daniel Huhardeaux 2009-01-04 12:36:43 UTC
Hi,

this bug appears again in 2.6.26-1 debian version 2.6.26-12 amd-64-openvz from SID as well as 686 version from Lenny/unstable

-- 
Daniel 
Comment 8 Alan 2009-07-28 19:17:44 UTC
(no longer maintainer)
Comment 9 Greg Kroah-Hartman 2012-02-22 21:05:39 UTC
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing 
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.

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