Public bug reported:

Huawei e220 (option module?) triggers weird usb behaviour and module
crash


Title should be renamed but for the time being I won't jump to any
conclusions, appreciate any suggestions :)


NOTE: I don't have the time at this moment to reproduce the error to check if 
my procedure is 100% correct, however it is at least the second time it happens 
with a fairly recognizable procedure, mentioned below.


So here is the issue:


* Boot Intrepid Ibex 8.04, Linux hostname 2.6.27-4-generic #1 SMP Wed
Sep 24 01:30:51 UTC 2008 i686 GNU/Linux ;

* Use Huawei E220 ;

* Disconnect ;

* Hibernate ;

* Resume ;

At this point, everything's fine.

* Connect Huawei E220 ;

* USB Mouse pointer starts "jumping" on screen ;

* dmesg has the following errors:


--------8<-------------------------------------8<------------------------------8<--------------------------8<-----------------

[ 9429.934842] irq 23: nobody cared (try booting with the "irqpoll"
option)

[ 9429.934856] Pid: 0, comm: swapper Not tainted 2.6.27-4-generic #1

[ 9429.934861]  [<c03924c6>] ? printk+0x1d/0x1f

[ 9429.934873]  [<c0177ebc>] __report_bad_irq+0x2c/0xa0

[ 9429.934882]  [<c0178044>] note_interrupt+0x114/0x140

[ 9429.934889]  [<c0176db1>] ? handle_IRQ_event+0x41/0x80

[ 9429.934897]  [<c0178693>] handle_fasteoi_irq+0xb3/0xe0

[ 9429.934904]  [<c0106c15>] do_IRQ+0x45/0x80

[ 9429.934911]  [<c0104ff3>] common_interrupt+0x23/0x30

[ 9429.934918]  [<c011aefd>] ? __ticket_spin_lock+0xd/0x20

[ 9429.934928]  [<c03946ed>] _spin_lock+0xd/0x10

[ 9429.934934]  [<c0151888>] clockevents_notify+0x18/0x80

[ 9429.934963]  [<f88a1270>] acpi_state_timer_broadcast+0x36/0x39
[processor]

[ 9429.934991]  [<f88a19ba>] acpi_idle_enter_simple+0x162/0x17b
[processor]

[ 9429.935008]  [<c02dc48b>] cpuidle_idle_call+0x7b/0xd0

[ 9429.935015]  [<c010288d>] cpu_idle+0x7d/0x130

[ 9429.935021]  [<c0384fb3>] rest_init+0x53/0x60

[ 9429.935028]  =======================

[ 9429.935032] handlers:

[ 9429.935035] [<f88e1990>] (usb_hcd_irq+0x0/0x90 [usbcore])

[ 9429.935073] [<f88e1990>] (usb_hcd_irq+0x0/0x90 [usbcore])

[ 9429.935111] Disabling IRQ #23

--------8<-------------------------------------8<------------------------------8<--------------------------8<-----------------


rmmoding option & usbserial and modprobing:

--------8<-------------------------------------8<------------------------------8<--------------------------8<-----------------

[ 9788.384099] proc_dir_entry 'scsi/usb-storage' already registered

[ 9788.384112] Pid: 1881, comm: khubd Not tainted 2.6.27-4-generic #1

[ 9788.384117]  [<c03924c6>] ? printk+0x1d/0x1f

[ 9788.384128]  [<c01f5492>] proc_register+0x1a2/0x1d0

[ 9788.384137]  [<c01f56a8>] proc_mkdir_mode+0x38/0x50

[ 9788.384168]  [<c01f56d4>] proc_mkdir+0x14/0x20

[ 9788.384187]  [<f894329e>] scsi_proc_hostdir_add+0x4e/0xe0 [scsi_mod]

[ 9788.384231]  [<f8937da8>] scsi_host_alloc+0x2b8/0x2d0 [scsi_mod]

[ 9788.384272]  [<f893b7d0>] ? scsi_error_handler+0x0/0x130 [scsi_mod]

[ 9788.384314]  [<f8a010b7>] storage_probe+0x47/0x860 [usb_storage]

[ 9788.384325]  [<c0201fea>] ? sysfs_addrm_finish+0x1a/0xf0

[ 9788.384334]  [<c0201748>] ? sysfs_add_one+0x18/0x50

[ 9788.384341]  [<c02017d6>] ? sysfs_addrm_start+0x56/0xa0

[ 9788.384348]  [<c03934f0>] ? mutex_lock+0x10/0x20

[ 9788.384374]  [<f88e5e09>] ? usb_autopm_do_device+0x69/0xf0 [usbcore]

[ 9788.384424]  [<f88e64d7>] usb_probe_interface+0xa7/0x140 [usbcore]

[ 9788.384450]  [<c0202697>] ? sysfs_create_link+0x17/0x20

[ 9788.384482]  [<c02c420e>] really_probe+0xee/0x190

[ 9788.384496]  [<f88e5899>] ? usb_match_id+0x49/0x60 [usbcore]

[ 9788.384545]  [<c02c42f3>] driver_probe_device+0x43/0x60

[ 9788.384551]  [<c02c439d>] __device_attach+0xd/0x10

[ 9788.384558]  [<c02c376b>] bus_for_each_drv+0x5b/0x80

[ 9788.384571]  [<c02c4456>] device_attach+0x76/0x80

[ 9788.384577]  [<c02c4390>] ? __device_attach+0x0/0x10

[ 9788.384590]  [<c02c3547>] bus_attach_device+0x47/0x70

[ 9788.384596]  [<c02c2173>] device_add+0x2b3/0x370

[ 9788.384608]  [<f88e52cf>] ? usb_set_configuration+0x40f/0x5e0
[usbcore]

[ 9788.384647]  [<f88e530f>] usb_set_configuration+0x44f/0x5e0 [usbcore]

[ 9788.384691]  [<f88ed423>] generic_probe+0x33/0xa0 [usbcore]

[ 9788.384718]  [<c0202697>] ? sysfs_create_link+0x17/0x20

[ 9788.384744]  [<f88e56b1>] usb_probe_device+0x41/0x50 [usbcore]

[ 9788.384769]  [<c02c420e>] really_probe+0xee/0x190

[ 9788.384794]  [<c02c42f3>] driver_probe_device+0x43/0x60

[ 9788.384800]  [<c02c439d>] __device_attach+0xd/0x10

[ 9788.384807]  [<c02c376b>] bus_for_each_drv+0x5b/0x80

[ 9788.384818]  [<c02c4456>] device_attach+0x76/0x80

[ 9788.384825]  [<c02c4390>] ? __device_attach+0x0/0x10

[ 9788.384837]  [<c02c3547>] bus_attach_device+0x47/0x70

[ 9788.384844]  [<c02c2173>] device_add+0x2b3/0x370

[ 9788.384850]  [<c03934f0>] ? mutex_lock+0x10/0x20

[ 9788.384863]  [<f88df79b>] usb_new_device+0x5b/0xb0 [usbcore]

[ 9788.384905]  [<f88e0137>] hub_port_connect_change+0x497/0x9a0
[usbcore]

[ 9788.384941]  [<f88e3730>] ? urb_destroy+0x20/0x30 [usbcore]

[ 9788.384968]  [<c02508cd>] ? kref_put+0x2d/0x70

[ 9788.384988]  [<f88e0101>] ? hub_port_connect_change+0x461/0x9a0
[usbcore]

[ 9788.385025]  [<f88e43c7>] ? usb_start_wait_urb+0x77/0xb0 [usbcore]

[ 9788.385063]  [<f88e461f>] ? usb_control_msg+0xcf/0xe0 [usbcore]

[ 9788.385101]  [<f88e093c>] hub_events+0x1fc/0x640 [usbcore]

[ 9788.385128]  [<c014746f>] ? finish_wait+0x4f/0x70

[ 9788.385147]  [<f88e0db5>] hub_thread+0x35/0x150 [usbcore]

[ 9788.385172]  [<c0147370>] ? autoremove_wake_function+0x0/0x50

[ 9788.385191]  [<f88e0d80>] ? hub_thread+0x0/0x150 [usbcore]

[ 9788.385217]  [<c0147001>] kthread+0x41/0x80

[ 9788.385225]  [<c0146fc0>] ? kthread+0x0/0x80

[ 9788.385232]  [<c0105287>] kernel_thread_helper+0x7/0x10

[ 9788.385240]  =======================

--------8<-------------------------------------8<------------------------------8<--------------------------8<-----------------


Unplugging the Huawei E220 and doing:

--------8<-------------------------------------8<------------------------------8<--------------------------8<-----------------

$ cat usbfdd.sh

sudo rmmod option

sudo rmmod usbserial

sudo rmmod uvcvideo

sudo rmmod usb_storage

sudo rmmod libusual

sudo rmmod usbhid

sudo rmmod ehci_hcd

sudo rmmod uhci_hcd


sudo modprobe uhci_hcd

sudo modprobe ehci_hcd

sudo modprobe usbhid

sudo modprobe libusual

sudo modprobe usb_storage

sudo modprobe uvcvideo

#sudo modprobe option

#sudo modprobe usbserial

--------8<-------------------------------------8<------------------------------8<--------------------------8<-----------------


Seems to fix the problem.


$ cat /proc/version_signature

Ubuntu 2.6.27-4.6-generic


$ lsb_release -rd
Description:    Ubuntu intrepid (development branch)
Release:        8.10


dmesg, lspci & /proc/interrupts will be attached to this bug report in  a few 
minutes.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
huawei e220 (option module?) triggers weird usb behaviour and module crash
https://bugs.launchpad.net/bugs/278924
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to