Bug 696829

Summary: kernel oops while connecting phone via USB
Product: [openSUSE] openSUSE 11.4 Reporter: Juergen Weigert <jw>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED NORESPONSE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: jslaby
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 357354    

Description Juergen Weigert 2011-05-29 14:14:38 UTC
I am using a Nokia E71i for tethering with my lenovo x60s.

When connecting the phone via usb cable, the following messages appears in dmesg:
==========================================
[  247.741272] ------------[ cut here ]------------
[  247.741284] WARNING: at /usr/src/packages/BUILD/kernel-desktop-2.6.37.1/linux-2.6.37/include/linux/netdevice.h:1557 usbpn_probe+0x2f5/0x310 [cdc_phonet]()
[  247.741288] Hardware name: 1704R8G
[  247.741290] Modules linked in: cdc_phonet(+) rndis_host cdc_ether usbnet cdc_acm phonet rfcomm af_packet sco bnep l2cap edd snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device microcode cpufreq_conservative cpufreq_userspace cpufreq_powersave acpi_cpufreq mperf fuse dm_mod arc4 sg ecb iwl3945 iwlcore mac80211 pcmcia cfg80211 yenta_socket btusb pcmcia_rsrc bluetooth mmc_block snd_hda_codec_analog firewire_ohci sdhci_pci sdhci snd_hda_intel firewire_core pcmcia_core mmc_core snd_hda_codec snd_hwdep thinkpad_acpi i2c_i801 nsc_ircc rfkill iTCO_wdt iTCO_vendor_support irda snd_pcm crc_itu_t snd_timer snd_page_alloc e1000e snd soundcore crc_ccitt pcspkr tpm_tis battery ac tpm tpm_bios preloadtrace ext4 jbd2 crc16 i915 drm_kms_helper drm i2c_algo_bit button video fan thermal processor thermal_sys ata_generic
[  247.741375] Pid: 2308, comm: modprobe Not tainted 2.6.37.1-1.2-desktop #1
[  247.741378] Call Trace:
[  247.741396]  [<c02062a3>] try_stack_unwind+0x173/0x190
[  247.741467]  [<c0204ebf>] dump_trace+0x3f/0xe0
[  247.741474]  [<c020630b>] show_trace_log_lvl+0x4b/0x60
[  247.741479]  [<c0206338>] show_trace+0x18/0x20
[  247.741487]  [<c068d44a>] dump_stack+0x6d/0x72
[  247.741495]  [<c02485a8>] warn_slowpath_common+0x78/0xb0
[  247.741502]  [<c02485fb>] warn_slowpath_null+0x1b/0x20
[  247.741508]  [<f7b31415>] usbpn_probe+0x2f5/0x310 [cdc_phonet]
[  247.741530]  [<c0520284>] usb_probe_interface+0x124/0x220
[  247.741540]  [<c04c8b6d>] really_probe+0x5d/0x200
[  247.741546]  [<c04c8ebe>] driver_probe_device+0x3e/0x90
[  247.741552]  [<c04c8f89>] __driver_attach+0x79/0x80
[  247.741558]  [<c04c7d2b>] bus_for_each_dev+0x4b/0x70
[  247.741564]  [<c04c89d6>] driver_attach+0x16/0x20
[  247.741569]  [<c04c8697>] bus_add_driver+0x227/0x300
[  247.741576]  [<c04c916f>] driver_register+0x5f/0x100
[  247.741582]  [<c051f551>] usb_register_driver+0x81/0x120
[  247.741588]  [<c0201203>] do_one_initcall+0x33/0x170
[  247.741595]  [<c028127b>] sys_init_module+0x9b/0x1f0
[  247.741601]  [<c0202f0c>] sysenter_do_call+0x12/0x22
[  247.741620]  [<ffffe424>] 0xffffe424
[  247.741623] ---[ end trace 881268f059840e6e ]---
[  247.741625] netif_stop_queue() cannot be called before register_netdev()
[  247.745083] usbcore: registered new interface driver cdc_phonet
[  247.792811] usbcore: registered new interface driver rndis_wlan
[  663.434423] PPP generic driver version 2.4.2
[  663.781744] PPP BSD Compression module registered
[  663.813532] PPP Deflate Compression module registered
[  729.543301] NET: Registered protocol family 15
Comment 1 Jiri Slaby 2011-06-06 19:44:25 UTC
This is fixed with 2.6.37.6, right?
Comment 2 Juergen Weigert 2011-06-23 20:23:54 UTC
No. Reproduced 100%  with 
[  143.423341] ------------[ cut here ]------------
[  143.423352] WARNING: at /usr/src/packages/BUILD/kernel-desktop-2.6.37.6/linux-2.6.37/include/linux/netdevice.h:1557 usbpn_probe+0x2ed/0x300 [cdc_phonet]()
[  143.423356] Hardware name: 1704R8G


It failed to connect today. Probably related to that oops above. I tried 
rmmod cdc_phonet
rmmod phonet
and reconnecting the USB cable. Same oops. After a reboot, and 3 or 4 attempts I got a working connection, despite the oops.
Comment 3 Jiri Slaby 2011-06-28 21:41:59 UTC
(In reply to comment #2)
> No. Reproduced 100%

Yeah, my bad, sorry. The fix went in a bit later even after 37.6 was released. It will be in the next kernel update. You can check with daily snapshot from:
http://download.opensuse.org/repositories/Kernel:/openSUSE-11.4/openSUSE_11.4/
Comment 4 Greg Kroah-Hartman 2011-08-30 19:40:34 UTC
Closing due to lack of response.  If this is still an issue, please reopen with
the requested information.