Bug 503964
Summary: | kernel oops in usb_kill_urb() with 2.6.29.4-167.fc11.x86_64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | gresko, itamar, kernel-maint, rh |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-06-28 12:48:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Robinson
2009-06-03 15:11:10 UTC
drivers/usb/core/urb.c:563 void usb_kill_urb(struct urb *urb) { might_sleep(); ===> if (!(urb && urb->dev && urb->ep)) return; atomic_inc(&urb->reject); usb_hcd_unlink_urb(urb, -ENOENT); wait_event(usb_kill_urb_queue, atomic_read(&urb->use_count) == 0); atomic_dec(&urb->reject); } urb == c54cf0 This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping I am suspecting this patch is relted to this issue. http://osdir.com/ml/linux-kernel/2009-06/msg04235.html That patch is in the latest update, 2.6.29.5-191 Wicked! you rock. I'll be testing it tomorrow when I reboot :-) Either I was wrong or there is another similar issue: Jul 4 23:50:18 marek kernel: hub 2-0:1.0: port 5 disabled by hub (EMI?), re-enabling... Jul 4 23:50:18 marek kernel: usb 2-5: USB disconnect, address 6 Jul 4 23:50:18 marek kernel: option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0 Jul 4 23:50:18 marek kernel: option 2-5:1.0: device disconnected Jul 4 23:50:18 marek kernel: option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1 Jul 4 23:50:18 marek kernel: option 2-5:1.1: device disconnected Jul 4 23:50:18 marek pppd[3451]: Hangup (SIGHUP) Jul 4 23:50:18 marek pppd[3451]: Modem hangup Jul 4 23:50:18 marek pppd[3451]: Connect time 703.4 minutes. Jul 4 23:50:18 marek pppd[3451]: Sent 6491688 bytes, received 22586746 bytes. Jul 4 23:50:18 marek pppd[3451]: Connection terminated. Jul 4 23:50:18 marek NetworkManager: <info> (ttyUSB0): now unmanaged Jul 4 23:50:18 marek NetworkManager: <info> (ttyUSB0): device state change: 3 -> 1 Jul 4 23:50:18 marek NetworkManager: <info> (ttyUSB0): cleaning up... Jul 4 23:50:18 marek NetworkManager: <info> (ttyUSB0): taking down device. Jul 4 23:50:18 marek kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000047 Jul 4 23:50:18 marek kernel: IP: [<ffffffff812a07e2>] usb_kill_urb+0x32/0xd1 Jul 4 23:50:18 marek kernel: PGD 0 Jul 4 23:50:18 marek kernel: Oops: 0000 [#1] SMP Jul 4 23:50:18 marek kernel: last sysfs file: /sys/devices/pci0000:00/0000:00:0a.0/usb2/idVendor Jul 4 23:50:18 marek kernel: CPU 0 Jul 4 23:50:18 marek kernel: Modules linked in: ppp_async crc_ccitt ppp_generic slhc option usbserial usb_storage hwmon_vid ip6table_mangle ip6table_filter ip6_tables nf_conntrack_ipv6 ipv6 xt_DSCP xt_MARK xt_CONNMARK ipt_MASQUERADE xt_policy iptable_mangle iptable_nat nf_nat_tftp nf_nat_snmp_basic nf_nat_pptp nf_nat_proto_gre nf_nat_amanda nf_nat_irc nf_nat_h323 nf_nat_sip nf_nat_ftp nf_nat nf_conntrack_tftp nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nfnetlink nf_conntrack_netbios_ns ts_kmp nf_conntrack_amanda nf_conntrack_irc nf_conntrack_h323 nf_conntrack_sip nf_conntrack_ftp cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput tvaudio tda7432 msp3400 tuner_simple tuner_types tuner snd_hda_codec_analog bttv ir_common snd_hda_intel i2c_algo_bit snd_hda_codec ppdev v4l2_common videodev v4l1_compat arc4 v4l2_compat_ioctl32 snd_hwdep snd_pcm ecb snd_timer videobuf_dma_sg nvidia(P) firewire_ohci snd videobuf_core btcx_risc firewire_core pcspkr soundcore tveeprom Jul 4 23:50:18 marek kernel: serio_raw rtl8187 forcedeth snd_page_alloc sata_sil24 crc_itu_t k8temp mac80211 parport_pc eeprom_93cx6 parport asus_atk0110 hwmon i2c_nforce2 cfg80211 pata_amd i2c_core ata_generic pata_acpi sata_nv raid1 [last unloaded: scsi_wait_scan] Jul 4 23:50:18 marek kernel: Pid: 3451, comm: pppd Tainted: P 2.6.29.5-191.fc11.x86_64 #1 System Product Name Jul 4 23:50:18 marek kernel: RIP: 0010:[<ffffffff812a07e2>] [<ffffffff812a07e2>] usb_kill_urb+0x32/0xd1 Jul 4 23:50:18 marek kernel: RSP: 0018:ffff88004adc9ce8 EFLAGS: 00010286 Jul 4 23:50:18 marek kernel: RAX: 0000000000000000 RBX: ffffffffffffffff RCX: 0000000000000000 Jul 4 23:50:18 marek kernel: RDX: 0000000100000000 RSI: 0000000000000232 RDI: ffffffff81515dd7 Jul 4 23:50:18 marek kernel: RBP: ffff88004adc9d28 R08: 0000000000000000 R09: 0000000000000008 Jul 4 23:50:18 marek kernel: R10: 00007fffc54cc270 R11: 0000000000000246 R12: 0000000000000008 Jul 4 23:50:18 marek kernel: R13: ffff88005a528800 R14: ffff880055b04600 R15: ffff880055b04728 Jul 4 23:50:18 marek kernel: FS: 00007f34ae2c36f0(0000) GS:ffffffff817b7000(0000) knlGS:0000000000000000 Jul 4 23:50:18 marek kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jul 4 23:50:18 marek kernel: CR2: 0000000000000047 CR3: 000000004adcb000 CR4: 00000000000006e0 Jul 4 23:50:18 marek kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Jul 4 23:50:18 marek kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Jul 4 23:50:18 marek kernel: Process pppd (pid: 3451, threadinfo ffff88004adc8000, task ffff880059065c00) Jul 4 23:50:18 marek kernel: Stack: Jul 4 23:50:18 marek kernel: ffff88004adc9d18 0000000000000246 ffff880055b04728 ffff880055b046c0 Jul 4 23:50:18 marek kernel: ffff88004adc9d28 ffffffff813aaa13 ffff8800548ab400 0000000000000008 Jul 4 23:50:18 marek kernel: ffff88004adc9d68 ffffffffa0d35773 ffff8800548ab490 ffff8800548ab400 Jul 4 23:50:18 marek kernel: Call Trace: Jul 4 23:50:18 marek kernel: [<ffffffff813aaa13>] ? mutex_lock+0x27/0x38 Jul 4 23:50:18 marek kernel: [<ffffffffa0d35773>] option_close+0xb7/0xd4 [option] Jul 4 23:50:18 marek kernel: [<ffffffffa0d2bcd4>] serial_close+0x9d/0x156 [usbserial] Jul 4 23:50:18 marek kernel: [<ffffffff8122c3d2>] tty_release_dev+0x198/0x49a Jul 4 23:50:18 marek kernel: [<ffffffff8122c6f2>] tty_release+0x1e/0x29 Jul 4 23:50:18 marek kernel: [<ffffffff810d608c>] __fput+0xf9/0x1a0 Jul 4 23:50:18 marek kernel: [<ffffffff810d614d>] fput+0x1a/0x1c Jul 4 23:50:18 marek kernel: [<ffffffff810d348d>] filp_close+0x68/0x72 Jul 4 23:50:18 marek kernel: [<ffffffff810d3543>] sys_close+0xac/0xea Jul 4 23:50:18 marek kernel: [<ffffffff8101133a>] system_call_fastpath+0x16/0x1b Jul 4 23:50:18 marek kernel: Code: 48 83 ec 30 0f 1f 44 00 00 be 32 02 00 00 48 89 fb 48 c7 c7 d7 5d 51 81 e8 b0 f4 d9 ff e8 74 9a 10 00 48 85 db 0f 84 96 00 00 00 <48> 83 7b 48 00 0f 84 8b 00 00 00 48 83 7b 50 00 0f 84 80 00 00 Jul 4 23:50:18 marek kernel: RIP [<ffffffff812a07e2>] usb_kill_urb+0x32/0xd1 Jul 4 23:50:18 marek kernel: RSP <ffff88004adc9ce8> Jul 4 23:50:18 marek kernel: CR2: 0000000000000047 Jul 4 23:50:18 marek kernel: ---[ end trace 1abf4e2c5bcc6383 ]--- Latest working kernel for me was kernel-2.6.27.21-170.2.56.fc10.x86_64. Updating to 2.6.27.24 broke things. After upgrading to Fedora 11 I additionally get hard lockups but I cannot confirm it is related to USB 3G modem since no logs in that situation. Without modem I did not get any lockup until now but I mostly use the modem, so it could be an occurence. I get lockups slightly more frequently than these kernel dumps. I can confirm hard lockup when plugging out connected USB 3G modem. Other spontaneous lockup are probably in situations when modem unplugs and replugs itself (probably some reboots caused by firmware). I am observing these issues also with recent kernel-2.6.29.6-213.fc11.x86_64. Although I observe them less frequently. I confirm this bug persists in kernel-2.6.29.6-217.2.3.fc11.x86_64. It could be easily triggered by unplugging the connected USB 3G modem. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |