Re: [PATCH] powerpc/mpc52xx: add Phytec phyCORE-MPC5200B-IO board (pcm032)
From: Grant Likely <hidden>
Date: 2009-03-02 01:07:34
On Sun, Mar 1, 2009 at 5:46 PM, Jon Smirl [off-list ref] wrote:
On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl [off-list ref] wrote:quoted
Just tried it on pcm030. If I uncomment the reg line the kernel won't boot at all. I don't get any output.I hooked up a serial console instead of netcat. PCI: Probing PCI hardware PCI: Scanning bus 0000:00 Machine check in kernel mode. Caused by (from SRR1=3D41030): Transfer error ack signal Oops: Machine check, sig: 7 [#1] dspeak01
Yeah, there current PCI driver in mainline expects the bootloader to set stuff up for PCI to work. I've fixed some of it, and the fix is queued up in Ben's -next tree. Can you try Ben's -next tree? Thanks, g.
Modules linked in: NIP: c001be94 LR: c0158cb4 CTR: c001be04 REGS: c3823de0 TRAP: 0200 =A0 Not tainted =A0(2.6.29-rc6-efika) MSR: 00041030 <ME,IR,DR> =A0CR: 28000022 =A0XER: 20000000 TASK =3D c3824000[1] 'swapper' THREAD: c3822000 GPR00: 80000000 c3823e90 c3824000 c3856000 00000000 00000000 00000004 c38=
23eb8
GPR08: c03a9848 fcffc000 000008bc 0020213c 82000022 ffefffff 03ffe000 fff=
fffff
GPR16: 00000001 00000000 007ffc00 00000000 00000000 03ff8838 00000000 000=
00004
GPR24: 00000000 00000000 c3823eb8 00000000 00000004 00000000 c03c0000 c38=
56000
NIP [c001be94] mpc52xx_pci_read_config+0x90/0xec LR [c0158cb4] pci_bus_read_config_dword+0x4c/0x74 Call Trace: [c3823e90] [c0091238] ifind+0x18/0x6c (unreliable) [c3823eb0] [c0158cb4] pci_bus_read_config_dword+0x4c/0x74 [c3823ee0] [c0278a90] pci_scan_single_device+0x24/0x4b0 [c3823f10] [c0159d50] pci_scan_slot+0x2c/0x84 [c3823f30] [c027b2d4] pci_scan_child_bus+0x40/0x108 [c3823f50] [c0351c34] pcibios_init+0xdc/0x190 [c3823f70] [c00038f4] do_one_initcall+0x58/0x19c [c3823fe0] [c034614c] kernel_init+0x74/0xe0 [c3823ff0] [c00133d4] kernel_thread+0x4c/0x68 Instruction dump: 817e0040 5400801e 7c004b78 5769063a 64008000 7d290378 7c0004ac 912b0000 7c0004ac 813e0044 7c0004ac 7d604c2c <0c0b0000> 4c00012c 2f9c0004 57601ef8 ---[ end trace 31fd0ba7d8756001 ]--- Kernel panic - not syncing: Attempted to kill init! Rebooting in 180 seconds.. -- Jon Smirl jonsmirl@gmail.com
--=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.