Scott Wood schrieb:
On Sat, Apr 05, 2008 at 10:19:49AM +0200, André Schwarz wrote:
Kernel starts and crashes with "unable to handle kernel paging request @ 00000000".

After turning debug on in some files I can see that the initrd memory gets reserved and the dtb is parsed correctly.
PCI memory/io spaces are set up fine.

At first I thought this is a problem with the device tree since the call trace always points to "of_"-functions and "strcmp".

Could you provide this call trace?

-Scott

Scott,

thanks for your reply.

please find below the output after the bootm command in u-boot.

My System.map :

...
c00126b8 T strcpy
c00126d4 T strncpy
c0012714 T strcat
c0012740 T strcmp
c0012764 T strlen
c001277c T memcmp
...
c0140bc4 T of_find_property
c0140c74 T of_get_property
c0140ca8 T of_device_is_compatible
c0140d48 T of_match_node
c0140e68 T of_find_matching_node
c0140f20 T of_n_size_cells
c0140f9c T of_n_addr_cells



Log:


# Booting kernel from Legacy Image at ff810000 ...
  Image Name:   2.6.25 mvBL-M7 MPC8343 #1
  Image Type:   PowerPC Linux Kernel Image (uncompressed)
  Data Size:    2084636 Bytes =  2 MB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
  Loading Kernel Image ... OK
OK
## Flattened Device Tree blob at 00000000
  Booting using the fdt blob at 0x600000
## Loading init Ramdisk from Legacy Image at 01000000 ...
  Image Name:   mvBC-1G uInitrd #1.1.03
  Image Type:   PowerPC Linux RAMDisk Image (uncompressed)
  Data Size:    2654208 Bytes =  2.5 MB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
  Loading Ramdisk to 1fcb7000, end 1ff3f000 ... OK
-> early_init_devtree(c0600000)
search "chosen", depth: 0, uname:
search "chosen", depth: 1, uname: chosen
Looking for initrd properties... <3>initrd_start=0xdfcb7000 initrd_end=0xdff3f000
Command line is: root=/dev/ram ro rootfstype=squashfs
dt_root_size_cells = 1
dt_root_addr_cells = 1
memory scan node memory, reg size 8, data: 0 20000000 2 1,
- 0 ,  20000000
reserving: 1fcb7000 -> 288001
Phys. mem: 20000000
-> move_device_tree
<- move_device_tree
Scanning CPUs ...
boot cpu: logical 0 physical 0
<- early_init_devtree()
Using mvBlueLYNX-M7 machine description
Linux version 2.6.25-rc8-01197-g1de15bb-dirty ([EMAIL PROTECTED]) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #1 PREEMPT Tue Apr 8 10:40:51 CEST 2008
-> unflatten_device_tree()
 size is 1840, allocating...
 unflattening dfffe7bc...
fixed up name for  ->
fixed up name for chosen -> chosen
fixed up name for aliases -> aliases
fixed up name for cpus -> cpus
fixed up name for PowerPC,[EMAIL PROTECTED] -> PowerPC,8343
fixed up name for memory -> memory
fixed up name for [EMAIL PROTECTED] -> soc8343
fixed up name for [EMAIL PROTECTED] -> wdt
fixed up name for [EMAIL PROTECTED] -> i2c
fixed up name for [EMAIL PROTECTED] -> rtc
fixed up name for [EMAIL PROTECTED] -> i2c
fixed up name for [EMAIL PROTECTED] -> spi
fixed up name for [EMAIL PROTECTED] -> usb
fixed up name for [EMAIL PROTECTED] -> mdio
fixed up name for [EMAIL PROTECTED] -> ethernet-phy
fixed up name for [EMAIL PROTECTED] -> ethernet-phy
fixed up name for [EMAIL PROTECTED] -> ethernet
fixed up name for [EMAIL PROTECTED] -> ethernet
fixed up name for [EMAIL PROTECTED] -> serial
fixed up name for [EMAIL PROTECTED] -> serial
fixed up name for [EMAIL PROTECTED] -> pic
fixed up name for [EMAIL PROTECTED] -> localbus
fixed up name for [EMAIL PROTECTED],0 -> flash
<- unflatten_device_tree()
Found initrd at 0xdfcb7000:0xdff3f000
console [udbg0] enabled
setup_arch: bootmem
mvblm7_setup_arch()
Unable to handle kernel paging request for data at address 0x00000000
Faulting instruction address: 0xc0012748
Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT mvBlueLYNX-M7
Modules linked in:
NIP: c0012748 LR: c0140c10 CTR: 00000000
REGS: c01f9e40 TRAP: 0300   Not tainted  (2.6.25-rc8-01197-g1de15bb-dirty)
MSR: 00001032 <ME,IR,DR>  CR: 22008048  XER: 20000000
DAR: 00000000, DSISR: 20000000
TASK = c01e4510[0] 'swapper' THREAD: c01f8000
GPR00: c0140c84 c01f9ef0 c01e4510 00000000 c0197a7f ffffffff c01f9edc 00000000 GPR08: c01f15e4 00000003 c0600b84 0000004d 22002048 ffffffdf 1fffd000 00000000 GPR16: ffffffdf ffff7fdf 00000000 00000000 1fff8974 1ff426f8 00000004 00288000 GPR24: 00000002 00000000 5f0fffff c01993e4 c01f9f28 c0197a80 c01f8000 dffff9e4
Call Trace:
[c01f9ef0] [c001c190]  (unreliable)
[c01f9f10] [c0140c84]
[c01f9f20] [c0140ccc]
[c01f9f40] [c014145c]
[c01f9f60] [c0014014]
[c01f9fa0] [c01d1a40]
[c01f9fb0] [c01ce64c]
[c01f9fc0] [c01c55ac]
[c01f9ff0] [00003438]
Instruction dump:
3884ffff 8c050001 2c000000 4082fff8 38a5ffff 8c040001 2c000000 9c050001
4082fff4 4e800020 38a3ffff 3884ffff <8c650001> 2c830000 8c040001 7c601851
---[ end trace 8640abe69a316dee ]---
Kernel panic - not syncing: Attempted to kill the idle task!
Rebooting in 180 seconds..





Please let me know if you need more information.


regards,
Andre


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler  - Registergericht: 
Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to