Re: 2.6.29.5: Oops when unplugging Moschip 7840/7820 USB serialdevice
From: Alan Stern
Date: Thu Jul 09 2009 - 17:36:40 EST
On Thu, 9 Jul 2009, Jeremy Fitzhardinge wrote:
> I unplugged a Moschip 7840/7820 USB serial adapter, and it oopsed. I had been using it
> with picoterm, but it was not open at the time I unplugged it.
>
> Thanks,
> J
>
> BUG: unable to handle kernel NULL pointer dereference at 00000000000000b4
> IP: [<ffffffff81029eb5>] __ticket_spin_lock+0x9/0x1a
> PGD 12e19c067 PUD 12e19d067 PMD 0
> Oops: 0002 [#1] SMP
> last sysfs file: /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
> CPU 0
> Modules linked in: mos7840 usbserial joydev aes_x86_64 aes_generic hidp fuse ipt_MASQUERADE iptable_nat nf_nat rfcomm bridge stp llc bnep sco l2cap coretemp sunrpc ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 cpufreq_ondemand acpi_cpufreq freq_table dm_multipath kvm_intel kvm uinput snd_hda_codec_conexant snd_hda_intel snd_hda_codec arc4 ecb snd_hwdep thinkpad_acpi iwlagn usb_storage snd_pcm hwmon btusb e1000e pcspkr iwlcore snd_timer iTCO_wdt lib80211 iTCO_vendor_support mac80211 i2c_i801 wmi snd bluetooth cfg80211 soundcore snd_page_alloc i915 drm i2c_algo_bit i2c_core video output [last unloaded: microcode]
> Pid: 27, comm: khubd Not tainted 2.6.29.5-191.fc11.x86_64 #1 74542GU
> RIP: 0010:[<ffffffff81029eb5>] [<ffffffff81029eb5>] __ticket_spin_lock+0x9/0x1a
> Call Trace:
> [<ffffffff81029f7f>] default_spin_lock_flags+0x9/0xe
> [<ffffffff813abf94>] _spin_lock_irqsave+0x32/0x3b
> [<ffffffffa0399afa>] mos7840_shutdown+0x93/0x120 [mos7840]
The fix for this bug is in 2.6.30.1, but it hasn't been added to the
2.6.29.stable tree (or 2.6.27.stable).
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/