2010-03-17 16:31:09 |
Stefan Bader |
description |
Binary package hint: linux-image-2.6.31-14-powerpc
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://bugs.launchpad.net/bugs/421940, which is another failure of the PCCard sub-system on PPC.
[ 321.006206] ------------[ cut here ]------------
[ 321.006216] kernel BUG at /build/buildd/linux-2.6.31/arch/powerpc/include/asm/dma-mapping.h:250!
[ 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+0x2cc/0x408
[ 321.006594] LR [c0329a60] usb_add_hcd+0x144/0x404
[ 321.006600] Call Trace:
[ 321.006617] [de283db0] [c05c3778] iomem_resource+0x0/0x1c (unreliable)
[ 321.006629] [de283dd0] [c0329a60] usb_add_hcd+0x144/0x404
[ 321.006641] [de283df0] [c03384d8] usb_hcd_pci_probe+0x1dc/0x29c
[ 321.006655] [de283e20] [c0247740] local_pci_probe+0x24/0x34
[ 321.006667] [de283e30] [c0248a60] pci_device_probe+0x84/0xa8
[ 321.006680] [de283e60] [c02c541c] really_probe+0x74/0x198
[ 321.006691] [de283e80] [c02c47bc] bus_for_each_drv+0x70/0xac
[ 321.006702] [de283eb0] [c02c5758] device_attach+0x84/0xa8
[ 321.006712] [de283ed0] [c02c3fe0] bus_probe_device+0x2c/0x44
[ 321.006729] [de283ee0] [c02c2a44] device_add+0x2c8/0x3d8
[ 321.006746] [de283f20] [c0241a40] pci_bus_add_device+0x1c/0x5c
[ 321.006758] [de283f30] [c0241ad8] pci_bus_add_devices+0x58/0x174
[ 321.006799] [de283f50] [e29b500c] cb_alloc+0xe4/0x628 [pcmcia_core]
[ 321.006818] [de283f70] [e29b09c0] socket_insert+0xe8/0x114 [pcmcia_core]
[ 321.006839] [de283f80] [e29b1494] pccardd+0x240/0x2a4 [pcmcia_core]
[ 321.006853] [de283fc0] [c005c38c] kthread+0x78/0x7c
[ 321.006866] [de283ff0] [c001646c] kernel_thread+0x4c/0x68
[ 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 ]--- |
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 stable@kernel.org, but the 2.6.31.y support ended now.
Testcase: See below
---
Binary package hint: linux-image-2.6.31-14-powerpc
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://bugs.launchpad.net/bugs/421940, which is another failure of the PCCard sub-system on PPC.
[ 321.006206] ------------[ cut here ]------------
[ 321.006216] kernel BUG at /build/buildd/linux-2.6.31/arch/powerpc/include/asm/dma-mapping.h:250!
[ 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+0x2cc/0x408
[ 321.006594] LR [c0329a60] usb_add_hcd+0x144/0x404
[ 321.006600] Call Trace:
[ 321.006617] [de283db0] [c05c3778] iomem_resource+0x0/0x1c (unreliable)
[ 321.006629] [de283dd0] [c0329a60] usb_add_hcd+0x144/0x404
[ 321.006641] [de283df0] [c03384d8] usb_hcd_pci_probe+0x1dc/0x29c
[ 321.006655] [de283e20] [c0247740] local_pci_probe+0x24/0x34
[ 321.006667] [de283e30] [c0248a60] pci_device_probe+0x84/0xa8
[ 321.006680] [de283e60] [c02c541c] really_probe+0x74/0x198
[ 321.006691] [de283e80] [c02c47bc] bus_for_each_drv+0x70/0xac
[ 321.006702] [de283eb0] [c02c5758] device_attach+0x84/0xa8
[ 321.006712] [de283ed0] [c02c3fe0] bus_probe_device+0x2c/0x44
[ 321.006729] [de283ee0] [c02c2a44] device_add+0x2c8/0x3d8
[ 321.006746] [de283f20] [c0241a40] pci_bus_add_device+0x1c/0x5c
[ 321.006758] [de283f30] [c0241ad8] pci_bus_add_devices+0x58/0x174
[ 321.006799] [de283f50] [e29b500c] cb_alloc+0xe4/0x628 [pcmcia_core]
[ 321.006818] [de283f70] [e29b09c0] socket_insert+0xe8/0x114 [pcmcia_core]
[ 321.006839] [de283f80] [e29b1494] pccardd+0x240/0x2a4 [pcmcia_core]
[ 321.006853] [de283fc0] [c005c38c] kthread+0x78/0x7c
[ 321.006866] [de283ff0] [c001646c] kernel_thread+0x4c/0x68
[ 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 ]---
|
|