ppc kernel crash on pccard insertion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
SRU Justication:
Impact: On powerpc, the cardbus code needs to run through fixup code, otherwise the kernel will crash with inserted cards.
Fix: The patch, backported from upstream, will create a fixup function which is doing nothing on all architectures but powerpc. And for powerpc
it will call the required fixup code. For Lucid this has been forwarded to <email address hidden>, but the 2.6.31.y support ended now.
Testcase: See below
---
Binary package hint: linux-image-
Using PPC Karmic of 2009-10-19, on inserting a PCCard (a USB 2.0 device), the kernel Oops is observed. This may be related to https:/
[ 321.006206] ------------[ cut here ]------------
[ 321.006216] kernel BUG at /build/
[ 321.006237] Oops: Exception in kernel mode, sig: 5 [#1]
[ 321.006243] PowerMac
[ 321.006247] Modules linked in: binfmt_misc ppdev lp parport uinput autofs4 cpufreq_stats radeon drm ipv6 sha256_generic aes_generic sbp2 apm_emu apm_emulation dm_crypt dm_mod airport rt2500pci orinoco rt2x00pci rt2x00lib input_polldev iptable_filter mac80211 cfg80211 rfkill eeprom_93cx6 ip_tables x_tables snd_powermac snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi pcmcia snd_seq_midi_event snd_seq yenta_socket pmac_zilog snd_aoa_i2sbus snd_pcm_oss rsrc_nonstatic serial_core rtc_generic pcmcia_core snd_mixer_oss snd_seq_device snd_pcm evdev snd_timer snd_aoa_soundbus snd soundcore snd_page_alloc nfsd exportfs nfs lockd nfs_acl auth_rpcgss sunrpc raid10 raid456 raid6_pq async_xor async_memcpy async_tx xor raid1 raid0 multipath linear md_mod windfarm_core usbhid hid sungem sungem_phy ohci1394 ieee1394 uninorth_agp agpgart
[ 321.006453] NIP: c03482a8 LR: c0329a60 CTR: c034431c
[ 321.006463] REGS: de283d00 TRAP: 0700 Not tainted (2.6.31-14-powerpc)
[ 321.006470] MSR: 00029032 <EE,ME,CE,IR,DR> CR: 24000028 XER: 20000000
[ 321.006490] TASK = df3b2df0[691] 'pccardd' THREAD: de282000
[ 321.006497] GPR00: 00000001 de283db0 df3b2df0 de3ddc58 de3ddc00 00000000 00000001 00000001
[ 321.006515] GPR08: 00000020 00000000 00000000 00000140 24000044 00000000 0021b960 0021b9e4
[ 321.006532] GPR16: 0021b93c 0021bb28 002413b0 0021b860 018fec78 018fec68 0000002e 00000000
[ 321.006550] GPR24: 00000000 c05c3778 00000002 00000000 000000a0 de3dd000 de3dc400 de3dc4e8
[ 321.006583] NIP [c03482a8] ohci_init+
[ 321.006594] LR [c0329a60] usb_add_
[ 321.006600] Call Trace:
[ 321.006617] [de283db0] [c05c3778] iomem_resource+
[ 321.006629] [de283dd0] [c0329a60] usb_add_
[ 321.006641] [de283df0] [c03384d8] usb_hcd_
[ 321.006655] [de283e20] [c0247740] local_pci_
[ 321.006667] [de283e30] [c0248a60] pci_device_
[ 321.006680] [de283e60] [c02c541c] really_
[ 321.006691] [de283e80] [c02c47bc] bus_for_
[ 321.006702] [de283eb0] [c02c5758] device_
[ 321.006712] [de283ed0] [c02c3fe0] bus_probe_
[ 321.006729] [de283ee0] [c02c2a44] device_
[ 321.006746] [de283f20] [c0241a40] pci_bus_
[ 321.006758] [de283f30] [c0241ad8] pci_bus_
[ 321.006799] [de283f50] [e29b500c] cb_alloc+0xe4/0x628 [pcmcia_core]
[ 321.006818] [de283f70] [e29b09c0] socket_
[ 321.006839] [de283f80] [e29b1494] pccardd+0x240/0x2a4 [pcmcia_core]
[ 321.006853] [de283fc0] [c005c38c] kthread+0x78/0x7c
[ 321.006866] [de283ff0] [c001646c] kernel_
[ 321.006873] Instruction dump:
[ 321.006879] 80090004 0c000000 4c00012c 4bfffdcc 807fff18 38000001 39200000 2f830000
[ 321.006896] 419e0010 81230084 7d200034 5400d97e <0f000000> 80090000 38800100 38bf0008
[ 321.006918] ---[ end trace 97910773f9883602 ]---
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux (Ubuntu Karmic): | |
assignee: | nobody → Stefan Bader (stefan-bader-canonical) |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
A patch was published 2009-12-09 by Benjamin Herrenschmidt <email address hidden> "[PATCH] cardbus: Add a fixup hook and fix powerpc" that fixes this problem.
The patch is attached. It applies with offset against 2.6.31 kernels, and cleanly against 2.6.32.
-jh