SATA card insertion crashes if wifi active

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 hi,

i am developing PCIe hotplug driver on mpc8315erdb. the hotplug functionality works fine if wifi (libertas) driver is not loaded. once libertas driver (uses SPI) is loaded, insertion or removal of SATA card results in an unrecoverable kernel crash. following is the error log.
-----------------------------------------------------------------------------------------------------------------------------------------
-sh-2.05b# PCIE Card Inserted to Slot 0
pci 0001:01:00.0: ignoring class b20 (doesn't match header type 01)
pci 0001:01:00.0: PCI bridge to [bus 02-ff] (subtractive decode)
pci 0001:02:00.0: BAR 6: assigned [mem 0x40000000-0x4000ffff pref]
pci 0001:02:00.0: BAR 5: assigned [mem 0x40010000-0x40011fff]
pci 0001:02:00.0: BAR 5: set to [mem 0x40010000-0x40011fff] (PCI address [0x40010000-0x40011fff]
pci 0001:02:00.1: BAR 4: assigned [io  0xff7fa000-0xff7fa00f]
pci 0001:02:00.1: BAR 4: set to [io 0xff7fa000-0xff7fa00f] (PCI address [0x1000-0x100f]
pci 0001:02:00.1: BAR 0: assigned [io  0xff7fa010-0xff7fa017]
pci 0001:02:00.1: BAR 0: set to [io 0xff7fa010-0xff7fa017] (PCI address [0x1010-0x1017]
pci 0001:02:00.1: BAR 2: assigned [io  0xff7fa018-0xff7fa01f]
pci 0001:02:00.1: BAR 2: set to [io 0xff7fa018-0xff7fa01f] (PCI address [0x1018-0x101f]
pci 0001:02:00.1: BAR 1: assigned [io  0xff7fa020-0xff7fa023]
pci 0001:02:00.1: BAR 1: set to [io 0xff7fa020-0xff7fa023] (PCI address [0x1020-0x1023]
pci 0001:02:00.1: BAR 3: assigned [io  0xff7fa024-0xff7fa027]
pci 0001:02:00.1: BAR 3: set to [io 0xff7fa024-0xff7fa027] (PCI address [0x1024-0x1027]
pci 0001:01:00.0: PCI bridge to [bus 02-02]
pci 0001:01:00.0:   bridge window [io  disabled]
pci 0001:01:00.0:   bridge window [mem disabled]
pci 0001:01:00.0:   bridge window [mem pref disabled]
Oops: Machine check, sig: 7 [#1]
MPC831x RDB
last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/class
Modules linked in: libertas_spi libertas
NIP: c0015c9c LR: c0015c78 CTR: c0015c5c
REGS: cfadfd70 TRAP: 0200   Not tainted  (2.6.36.1)
MSR: 00041030 <ME,IR,DR>  CR: 84004044  XER: 00000000
TASK = cf896410[976] 'kworker/u:2' THREAD: cfade000
GPR00: 00000000 cfadfe20 cf896410 fdef7054 00000001 00000054 00000004 cfadfe38 GPR08: 0000ffff 00000086 00000000 02000000 24004042 00020d78 0fffb000 ffffffff GPR16: 00000000 c0374c9c c0374c9c c0374c9c c0320000 c0400000 c0370000 c0374c9c GPR24: 00000000 c0400000 cf83c200 cfaf6868 00000000 00000050 cfadfe38 00000004
NIP [c0015c9c] mpc83xx_pcie_read_config+0x40/0xd0
LR [c0015c78] mpc83xx_pcie_read_config+0x1c/0xd0
Call Trace:
[cfadfe20] [c0015c78] mpc83xx_pcie_read_config+0x1c/0xd0 (unreliable)
[cfadfe30] [c0182d00] pci_bus_read_config_dword+0x48/0x70
[cfadfe50] [c0185eb8] pci_dev_reset+0x94/0x39c
[cfadfe90] [c018a70c] pci_create_sysfs_dev_files+0x1f4/0x3bc
[cfadfeb0] [c0183140] pci_bus_add_device+0x40/0x58
[cfadfec0] [c01831ac] pci_bus_add_devices+0x54/0x15c
[cfadfee0] [c0183220] pci_bus_add_devices+0xc8/0x15c
[cfadff00] [c0199174] pcie_hpd_enable_slot+0x30c/0x3f8
[cfadff50] [c01992ac] pcie_hpd_enable_worker+0x4c/0xc8
[cfadff60] [c0034224] process_one_work+0x10c/0x328
[cfadff90] [c0035890] worker_thread+0x1a4/0x2ec
[cfadffb0] [c0039bb4] kthread+0x7c/0x80
[cfadfff0] [c000f200] kernel_thread+0x4c/0x68
Instruction dump:
7cfe3b78 90010014 4bfffecd 2f1f0001 39200086 2c030000 41820028 2f9f0002
419a0038 419e0068 7c0004ac 7c001c2c <0c000000> 4c00012c 901e0000 39200000
---[ end trace 4ff32ec36de6bfae ]---
Unable to handle kernel paging request for data at address 0xfffffffc
Faulting instruction address: 0xc0039668
Oops: Kernel access of bad area, sig: 11 [#2]
MPC831x RDB
last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/class
Modules linked in: libertas_spi libertas
NIP: c0039668 LR: c0035480 CTR: 00000000
REGS: cfadfbd0 TRAP: 0300   Tainted: G      D      (2.6.36.1)
MSR: 00001032 <ME,IR,DR>  CR: 44002044  XER: 20000000
DAR: fffffffc, DSISR: 20000000
TASK = cf896410[976] 'kworker/u:2' THREAD: cfade000
GPR00: c02f56a4 cfadfc80 cf896410 cf896410 00000000 c03e37b0 c03e29e4 c03e29e0 GPR08: 00000000 00000000 00000040 00000040 24002022 00020d78 0fffb000 ffffffff GPR16: 00000000 c0374c9c c0374c9c c0374c9c cf896574 c03e0d80 c03e0d80 00000000 GPR24: c03e0000 c03e0d80 cfade000 cf823bd0 c03e0d80 00000000 cfade000 cfadfca0
NIP [c0039668] kthread_data+0x4/0xc
LR [c0035480] wq_worker_sleeping+0x18/0x9c
Call Trace:
[cfadfc80] [c00536c8] __call_rcu+0x4c/0x144 (unreliable)
[cfadfca0] [c02f56a4] schedule+0x1b8/0x344
[cfadfce0] [c0023598] do_exit+0x428/0x5dc
[cfadfd20] [c000d0a4] kernel_bad_stack+0x0/0x4c
[cfadfd40] [c000dcbc] machine_check_exception+0xf0/0x1a4
[cfadfd60] [c000fa28] ret_from_except_full+0x0/0x4c
--- Exception: 200 at mpc83xx_pcie_read_config+0x40/0xd0
    LR = mpc83xx_pcie_read_config+0x1c/0xd0
[cfadfe30] [c0182d00] pci_bus_read_config_dword+0x48/0x70
[cfadfe50] [c0185eb8] pci_dev_reset+0x94/0x39c
[cfadfe90] [c018a70c] pci_create_sysfs_dev_files+0x1f4/0x3bc
[cfadfeb0] [c0183140] pci_bus_add_device+0x40/0x58
[cfadfec0] [c01831ac] pci_bus_add_devices+0x54/0x15c
[cfadfee0] [c0183220] pci_bus_add_devices+0xc8/0x15c
[cfadff00] [c0199174] pcie_hpd_enable_slot+0x30c/0x3f8
[cfadff50] [c01992ac] pcie_hpd_enable_worker+0x4c/0xc8
[cfadff60] [c0034224] process_one_work+0x10c/0x328
[cfadff90] [c0035890] worker_thread+0x1a4/0x2ec
[cfadffb0] [c0039bb4] kthread+0x7c/0x80
[cfadfff0] [c000f200] kernel_thread+0x4c/0x68
Instruction dump:
7c0803a6 38210030 7d808120 4e800020 7fc3f378 38800000 4bfeb545 4bffff58
81220138 8069fff8 4e800020 81230138 <8069fffc> 4e800020 9421fff0 7c0802a6
---[ end trace 4ff32ec36de6bfaf ]---
Fixing recursive fault but reboot is needed!
Unable to handle kernel paging request for data at address 0xfffffffc
Faulting instruction address: 0xc0039668
Oops: Kernel access of bad area, sig: 11 [#3]
MPC831x RDB
last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/class
Modules linked in: libertas_spi libertas
NIP: c0039668 LR: c0035480 CTR: c01c02a4
REGS: cfadfa40 TRAP: 0300   Tainted: G      D      (2.6.36.1)
MSR: 00001032 <ME,IR,DR>  CR: 44002024  XER: 20000000
DAR: fffffffc, DSISR: 20000000
TASK = cf896410[976] 'kworker/u:2' THREAD: cfade000
GPR00: c02f56a4 cfadfaf0 cf896410 cf896410 00000000 ffffffff c01bd784 00020000 GPR08: 00000000 00000000 00000002 00000002 44002022 00020d78 0fffb000 ffffffff GPR16: 00000000 c0374c9c c0374c9c c0374c9c cf896574 c03e0d80 c03e0d80 00000000 GPR24: c03e0000 c03e0d80 cfade000 cfadfbd0 c03e0d80 00000000 cfade000 cfadfb10
NIP [c0039668] kthread_data+0x4/0xc
LR [c0035480] wq_worker_sleeping+0x18/0x9c
Call Trace:
[cfadfaf0] [c03e0d80] 0xc03e0d80 (unreliable)
[cfadfb10] [c02f56a4] schedule+0x1b8/0x344
[cfadfb50] [c00236e8] do_exit+0x578/0x5dc
[cfadfb90] [c000d0a4] kernel_bad_stack+0x0/0x4c
[cfadfbb0] [c0012850] bad_page_fault+0x90/0xd8
[cfadfbc0] [c000f87c] handle_page_fault+0x7c/0x80
--- Exception: 300 at kthread_data+0x4/0xc
    LR = wq_worker_sleeping+0x18/0x9c
[cfadfc80] [c00536c8] __call_rcu+0x4c/0x144 (unreliable)
[cfadfca0] [c02f56a4] schedule+0x1b8/0x344
[cfadfce0] [c0023598] do_exit+0x428/0x5dc
[cfadfd20] [c000d0a4] kernel_bad_stack+0x0/0x4c
[cfadfd40] [c000dcbc] machine_check_exception+0xf0/0x1a4
[cfadfd60] [c000fa28] ret_from_except_full+0x0/0x4c
--- Exception: 200 at mpc83xx_pcie_read_config+0x40/0xd0
    LR = mpc83xx_pcie_read_config+0x1c/0xd0
[cfadfe30] [c0182d00] pci_bus_read_config_dword+0x48/0x70
[cfadfe50] [c0185eb8] pci_dev_reset+0x94/0x39c
[cfadfe90] [c018a70c] pci_create_sysfs_dev_files+0x1f4/0x3bc
[cfadfeb0] [c0183140] pci_bus_add_device+0x40/0x58
[cfadfec0] [c01831ac] pci_bus_add_devices+0x54/0x15c
[cfadfee0] [c0183220] pci_bus_add_devices+0xc8/0x15c
[cfadff00] [c0199174] pcie_hpd_enable_slot+0x30c/0x3f8
[cfadff50] [c01992ac] pcie_hpd_enable_worker+0x4c/0xc8
[cfadff60] [c0034224] process_one_work+0x10c/0x328
[cfadff90] [c0035890] worker_thread+0x1a4/0x2ec
[cfadffb0] [c0039bb4] kthread+0x7c/0x80
[cfadfff0] [c000f200] kernel_thread+0x4c/0x68
Instruction dump:
7c0803a6 38210030 7d808120 4e800020 7fc3f378 38800000 4bfeb545 4bffff58
81220138 8069fff8 4e800020 81230138 <8069fffc> 4e800020 9421fff0 7c0802a6
---[ end trace 4ff32ec36de6bfb0 ]---
Fixing recursive fault but reboot is needed!
Unable to handle kernel paging request for data at address 0xfffffffc
Faulting instruction address: 0xc0039668
Oops: Kernel access of bad area, sig: 11 [#4]
MPC831x RDB
last sysfs file: /sys/devices/pci0000:00/0000:00:10.0/class
Modules linked in: libertas_spi libertas
NIP: c0039668 LR: c0035480 CTR: c01c02a4
REGS: cfadf8b0 TRAP: 0300   Tainted: G      D      (2.6.36.1)
MSR: 00001032 <ME,IR,DR>  CR: 44002024  XER: 20000000
DAR: fffffffc, DSISR: 20000000
TASK = cf896410[976] 'kworker/u:2' THREAD: cfade000
GPR00: c02f56a4 cfadf960 cf896410 cf896410 00000000 ffffffff c01bd784 00020000 GPR08: 00000000 00000000 00000002 00000002 44002022 00020d78 0fffb000 ffffffff GPR16: 00000000 c0374c9c c0374c9c c0374c9c cf896574 c03e0d80 c03e0d80 00000000 GPR24: c03e0000 c03e0d80 cfade000 cfadfa40 c03e0d80 00000000 cfade000 cfadf980
NIP [c0039668] kthread_data+0x4/0xc
LR [c0035480] wq_worker_sleeping+0x18/0x9c
Call Trace:
[cfadf960] [c03e0d80] 0xc03e0d80 (unreliable)
[cfadf980] [c02f56a4] schedule+0x1b8/0x344
[cfadf9c0] [c00236e8] do_exit+0x578/0x5dc
[cfadfa00] [c000d0a4] kernel_bad_stack+0x0/0x4c
[cfadfa20] [c0012850] bad_page_fault+0x90/0xd8
[cfadfa30] [c000f87c] handle_page_fault+0x7c/0x80
--- Exception: 300 at kthread_data+0x4/0xc
    LR = wq_worker_sleeping+0x18/0x9c
[cfadfaf0] [c03e0d80] 0xc03e0d80 (unreliable)
[cfadfb10] [c02f56a4] schedule+0x1b8/0x344
[cfadfb50] [c00236e8] do_exit+0x578/0x5dc
[cfadfb90] [c000d0a4] kernel_bad_stack+0x0/0x4c
[cfadfbb0] [c0012850] bad_page_fault+0x90/0xd8
[cfadfbc0] [c000f87c] handle_page_fault+0x7c/0x80
--- Exception: 300 at kthread_data+0x4/0xc
    LR = wq_worker_sleeping+0x18/0x9c
[cfadfc80] [c00536c8] __call_rcu+0x4c/0x144 (unreliable)
[cfadfca0] [c02f56a4] schedule+0x1b8/0x344
[cfadfce0] [c0023598] do_exit+0x428/0x5dc
[cfadfd20] [c000d0a4] kernel_bad_stack+0x0/0x4c
[cfadfd40] [c000dcbc] machine_check_exception+0xf0/0x1a4
-----------------------------------------------------------------------------------------------------------------------------------------


--
With Regards,
Shivaprashanth H

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux