On Sun, Mar 1, 2009 at 8:07 PM, Grant Likely <grant.lik...@secretlab.ca> wrote: > On Sun, Mar 1, 2009 at 5:46 PM, Jon Smirl <jonsm...@gmail.com> wrote: >> On Sun, Mar 1, 2009 at 7:37 PM, Jon Smirl <jonsm...@gmail.com> wrote: >>> 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=41030): 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?
with benh-next... Bytes transferred = 7681 (1e01 hex) ## Booting image at 00500000 ... Image Name: Linux-2.6.29-rc5-efika Created: 2009-03-02 2:13:17 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1778436 Bytes = 1.7 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Booting using flat device tree at 0x400000 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 61028k/65536k available (3524k kernel code, 4448k reserved, 156k data, 122k bss, 168k init) SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 Calibrating delay loop... 66.28 BogoMIPS (lpj=110848) Mount-cache hash table entries: 512 net_namespace: 296 bytes NET: Registered protocol family 16 PCI: Probing PCI hardware PCI: Scanning bus 0000:00 long pause Machine check in kernel mode. Caused by (from SRR1=41030): Transfer error ack signal Oops: Machine check, sig: 7 [#1] dspeak01 Modules linked in: NIP: c001c3bc LR: c0158ed0 CTR: c001c32c REGS: c3823de0 TRAP: 0200 Not tainted (2.6.29-rc5-efika) MSR: 00041030 <ME,IR,DR> CR: 28000022 XER: 20000000 TASK = c3824000[1] 'swapper' THREAD: c3822000 GPR00: 80000000 c3823e90 c3824000 c3856000 00000000 00000000 00000004 c3823eb8 GPR08: c03a9848 fcffc000 000008bc 0020213c 82000022 ffefffff 03ffe000 ffffffff GPR16: 00000001 00000000 007ffc00 00000000 00000000 03ff8838 00000000 00000004 GPR24: 00000000 00000000 c3823eb8 00000000 00000004 00000000 c03c0000 c3856000 NIP [c001c3bc] mpc52xx_pci_read_config+0x90/0xec LR [c0158ed0] pci_bus_read_config_dword+0x4c/0x74 Call Trace: [c3823e90] [c00915dc] ifind+0x18/0x6c (unreliable) [c3823eb0] [c0158ed0] pci_bus_read_config_dword+0x4c/0x74 [c3823ee0] [c0279090] pci_scan_single_device+0x24/0x4b0 [c3823f10] [c0159f6c] pci_scan_slot+0x2c/0x84 [c3823f30] [c027bae8] pci_scan_child_bus+0x40/0x108 [c3823f50] [c0352c44] pcibios_init+0xdc/0x190 [c3823f70] [c00038f4] do_one_initcall+0x58/0x19c [c3823fe0] [c034714c] 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.. > > Thanks, > g. > >> Modules linked in: >> NIP: c001be94 LR: c0158cb4 CTR: c001be04 >> REGS: c3823de0 TRAP: 0200 Not tainted (2.6.29-rc6-efika) >> MSR: 00041030 <ME,IR,DR> CR: 28000022 XER: 20000000 >> TASK = c3824000[1] 'swapper' THREAD: c3822000 >> GPR00: 80000000 c3823e90 c3824000 c3856000 00000000 00000000 00000004 >> c3823eb8 >> GPR08: c03a9848 fcffc000 000008bc 0020213c 82000022 ffefffff 03ffe000 >> ffffffff >> GPR16: 00000001 00000000 007ffc00 00000000 00000000 03ff8838 00000000 >> 00000004 >> GPR24: 00000000 00000000 c3823eb8 00000000 00000004 00000000 c03c0000 >> c3856000 >> 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 >> jonsm...@gmail.com >> > > > > -- > Grant Likely, B.Sc., P.Eng. > Secret Lab Technologies Ltd. > -- Jon Smirl jonsm...@gmail.com _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev