[Bug 689583] New: drivers/net/usb/cdc-phonet.c panics kernel because netif_stop_queue() is called before register_netdev()
https://bugzilla.novell.com/show_bug.cgi?id=689583 https://bugzilla.novell.com/show_bug.cgi?id=689583#c0 Summary: drivers/net/usb/cdc-phonet.c panics kernel because netif_stop_queue() is called before register_netdev() Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: rev@lavabit.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=426398) --> (http://bugzilla.novell.com/attachment.cgi?id=426398) Kernel panic patch for drivers/net/usb/cdc-phonet.c User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 While plugging a Nokia 6350 phone into laptops running with OpenSuSE 11.4, and 12.1, using a data USB cable, I received a kernel panic that is easily reproducible. Reproducible: Always Steps to Reproduce: 1. Plugin a Nokia 6350 phone into OpenSuSE 11.4 or 12.1 using a USB data cable 2. The kernel will panic with a message about "netif_stop_queue() cannot be called before register_netdev()" 3. Actual Results: [89559.421774] usb 2-3: USB disconnect, address 21 [89573.508063] usb 2-3: new high speed USB device using ehci_hcd and address 22 [89573.625708] usb 2-3: New USB device found, idVendor=0421, idProduct=0194 [89573.625714] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [89573.625719] usb 2-3: Product: Nokia 6350 [89573.625722] usb 2-3: Manufacturer: Nokia [89573.625726] usb 2-3: SerialNumber: 351975039741671 [89573.677493] ------------[ cut here ]------------ [89573.677512] WARNING: at /usr/src/packages/BUILD/kernel-desktop-2.6.37.1/linux-2.6.37/include/linux/netdevice.h:1557 usbpn_probe+0x329/0x340 [cdc_phonet]() [89573.677528] Hardware name: Studio 1745 [89573.677534] Modules linked in: rndis_wlan rndis_host cdc_phonet phonet nls_iso8859_1 nls_cp437 vfat fat mmc_block cdc_ether usbnet autofs4 ppp_async crc_ccitt nls_utf8 ppp_generic slhc qcaux cdc_acm usbserial st ip6t_LOG xt_tcpudp xt_pkttype ipt_LOG xt_limit tun fuse snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd vboxnetadp vboxnetflt vboxdrv af_packet ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw xt_NOTRACK ipt_REJECT iptable_raw iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables cpufreq_conservative cpufreq_userspace microcode cpufreq_powersave acpi_cpufreq mperf sha256_generic cbc dm_crypt loop snd_hda_codec_hdmi arc4 snd_hda_codec_idt ecb snd_hda_intel snd_hda_codec iwlagn fglrx(P) iwlcore mac80211 snd_hwdep snd_pcm sdhci_pci sdhci snd_timer firewire_ohci firewire_core r8169 iTCO_wdt uvcvideo videodev v4l1_compat sr_mod dell_laptop dell_wmi cfg80211 snd rfkill mmc_core crc_itu_t sparse_keymap dcdbas soundcore snd_page_alloc shpchp wmi pci_hotplug button cdrom i2c_i801 sg v4l2_compat_ioctl32 joydev iTCO_vendor_support pcspkr battery ac video ext4 jbd2 crc16 linear dm_snapshot dm_mod fan processor thermal thermal_sys [89573.677771] Pid: 24, comm: khubd Tainted: P W 2.6.37.1-1.2-desktop #1 [89573.677780] Call Trace: [89573.677800] [<ffffffff810059b9>] dump_trace+0x79/0x340 [89573.677815] [<ffffffff81520d03>] dump_stack+0x69/0x6f [89573.677829] [<ffffffff810580eb>] warn_slowpath_common+0x7b/0xc0 [89573.677843] [<ffffffffa02ff469>] usbpn_probe+0x329/0x340 [cdc_phonet] [89573.677884] [<ffffffff8138c6a2>] usb_probe_interface+0x142/0x270 [89573.677900] [<ffffffff8132bbb0>] really_probe+0x70/0x220 [89573.677913] [<ffffffff8132bf47>] driver_probe_device+0x47/0xa0 [89573.677926] [<ffffffff8132a88c>] bus_for_each_drv+0x5c/0x90 [89573.677938] [<ffffffff8132be1f>] device_attach+0x8f/0xb0 [89573.677950] [<ffffffff8132b2ed>] bus_probe_device+0x2d/0x50 [89573.677963] [<ffffffff81328bf7>] device_add+0x2e7/0x410 [89573.677976] [<ffffffff8138a776>] usb_set_configuration+0x626/0x790 [89573.677991] [<ffffffff813940db>] generic_probe+0x3b/0xa0 [89573.678052] [<ffffffff8132bbb0>] really_probe+0x70/0x220 [89573.678066] [<ffffffff8132bf47>] driver_probe_device+0x47/0xa0 [89573.678078] [<ffffffff8132a88c>] bus_for_each_drv+0x5c/0x90 [89573.678090] [<ffffffff8132be1f>] device_attach+0x8f/0xb0 [89573.678103] [<ffffffff8132b2ed>] bus_probe_device+0x2d/0x50 [89573.678116] [<ffffffff81328bf7>] device_add+0x2e7/0x410 [89573.678133] [<ffffffff813827e8>] usb_new_device+0x108/0x1b0 [89573.678147] [<ffffffff813831e4>] hub_port_connect_change+0x284/0xa00 [89573.678160] [<ffffffff81383c54>] hub_events+0x2f4/0x660 [89573.678173] [<ffffffff81383ff5>] hub_thread+0x35/0x1a0 [89573.678187] [<ffffffff81079956>] kthread+0x96/0xa0 [89573.678203] [<ffffffff81003d74>] kernel_thread_helper+0x4/0x10 [89573.678214] ---[ end trace 8a8ff3483d74ba7d ]--- [89573.678222] netif_stop_queue() cannot be called before register_netdev() [89573.679702] cdc_acm 2-3:1.4: ttyACM0: USB ACM device [89573.681698] usb 2-3: bad CDC descriptors [89573.682586] usb 2-3: bad CDC descriptors Expected Results: Without the kernel panic mentioned. -- 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=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c1
--- Comment #1 from Rev Bee
https://bugzilla.novell.com/show_bug.cgi?id=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c
Jeff Mahoney
https://bugzilla.novell.com/show_bug.cgi?id=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c2
Jiri Slaby
[89573.677512] WARNING: at ,,, Expected Results: Without the kernel panic mentioned.
That's not a panic, it's a warning. It's fixed by ac90fa63432b3 in .39-rc1. That one is available via Kernel:HEAD channel if you want to try out. I'll backport i for 11.4 and stable kernels. -- 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=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c3
--- Comment #3 from Rev Bee
https://bugzilla.novell.com/show_bug.cgi?id=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c4
Jiri Slaby
https://bugzilla.novell.com/show_bug.cgi?id=689583
https://bugzilla.novell.com/show_bug.cgi?id=689583#c5
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com