[ELDK] Linux hangs

Gorelik, Jacob (335F) jacob.gorelik at jpl.nasa.gov
Wed Sep 29 00:51:03 CEST 2010


Hello,

I've been trying to port linux to a PPC440GP based board. I am using ebony's files as a starting point. However, linux hangs after the image is decompressed. I get a different log after the first try, and the same logs after that. It seems like the kernel gets confused. Here is the __log_buf and my dts file.

## Total Size      = 0x001c5195 = 1855893 Bytes
## Start Addr      = 0x00C00000
=> bootm 400000 c00000 800000
## Booting kernel from Legacy Image at 00400000 ...
   Image Name:   Linux-2.6.36-rc5
   Created:      2010-09-28  19:57:36 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1560799 Bytes = 1.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00c00000 ...
   Image Name:   Simple Embedded Linux Framework
   Created:      2008-04-01  16:19:44 UTC
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    1855829 Bytes = 1.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 00800000
   Booting using the fdt blob at 0x800000
   Uncompressing Kernel Image ... OK
   Loading Ramdisk to 0ee3a000, end 0efff155 ... OK





GPR00: 00000001 c0311d70 c0301350 00000001
GPR04: 00000000 c0317de0 ffffffff 00000000
GPR08: 00000000 c0016e24 00021002 c0310000
GPR12: c0301530 00000000 00000000 00000000
GPR16: 0ffe2864 0ffe7600 00000000 00000000
GPR20: 00000000 00000000 c0000020 00000001
GPR24: 00000000 00000000 c0310000 c0310000
GPR28: 00000000 c0317de0 00000000 c0310000
CR   : 22f22f24     MSR: 00021000
bre440>md 0xc03186a0
c03186a0 : 3c363e55 73696e67 20537461 72746572  <6>Using Starter
c03186b0 : 34343020 6d616368 696e6520 64657363  440 machine desc
c03186c0 : 72697074 696f6e0a 3c313e55 6e61626c  ription.<1>Unabl
c03186d0 : 6520746f 2068616e 646c6520 6b65726e  e to handle kern
c03186e0 : 656c2070 6167696e 67207265 71756573  el paging reques
c03186f0 : 7420666f 72206461 74612061 74206164  t for data at ad
c0318700 : 64726573 73203078 30303030 31663334  dress 0x00001f34
c0318710 : 0a3c313e 4661756c 74696e67 20696e73  .<1>Faulting ins
c0318720 : 74727563 74696f6e 20616464 72657373  truction address
c0318730 : 3a203078 63303030 30316430 0a3c343e  : 0xc00001d0.<4>
c0318740 : 4f6f7073 3a204b65 726e656c 20616363  Oops: Kernel acc
c0318750 : 65737320 6f662062 61642061 7265612c  ess of bad area,
c0318760 : 20736967 3a203131 205b2331 5d0a3c34   sig: 11 [#1].<4
c0318770 : 3e537461 72746572 3434300a 3c303e6c  >Starter440.<0>l
c0318780 : 61737420 73797366 73206669 6c653a20  ast sysfs file:
c0318790 : 0a3c343e 4d6f6475 6c657320 6c696e6b  .<4>Modules link
bre440>md 0xc0318790
c0318790 : 0a3c343e 4d6f6475 6c657320 6c696e6b  .<4>Modules link
c03187a0 : 65642069 6e3a0a3c 343e4e49 503a2063  ed in:.<4>NIP: c
c03187b0 : 30303030 31643020 4c523a20 63303030  00001d0 LR: c000
c03187c0 : 30303630 20435452 3a206330 32653038  0060 CTR: c02e08
c03187d0 : 37300a3c 343e5245 47533a20 63303331  70.<4>REGS: c031
c03187e0 : 31663430 20545241 503a2030 33303020  1f40 TRAP: 0300
c03187f0 : 20204e6f 74207461 696e7465 64202028    Not tainted  (
c0318800 : 322e362e 33362d72 6335290a 3c343e4d  2.6.36-rc5).<4>M
c0318810 : 53523a20 30303030 30303030 203c3e20  SR: 00000000 <>
c0318820 : 2043523a 20323266 32326634 32202058   CR: 22f22f42  X
c0318830 : 45523a20 30303030 30303030 0a3c343e  ER: 00000000.<4>
c0318840 : 44454152 3a203030 30303166 33342c20  DEAR: 00001f34,
c0318850 : 4553523a 20303038 30303030 300a3c34  ESR: 00800000.<4
c0318860 : 3e544153 4b203d20 63303330 31333530  >TASK = c0301350
c0318870 : 5b305d20 27737761 70706572 27205448  [0] 'swapper' TH
c0318880 : 52454144 3a206330 33313030 30300a3c  READ: c0310000.<
bre440>md 0xc0318880
c0318880 : 52454144 3a206330 33313030 30300a3c  READ: c0310000.<
c0318890 : 343e4750 5230303a 20303030 30303030  4>GPR00: 0000000
c03188a0 : 30206330 33313166 66302063 30333031  0 c0311ff0 c0301
c03188b0 : 33353020 30303032 31303032 20633032  350 00021002 c02
c03188c0 : 64633635 34206330 33303130 30302063  dc654 c0301000 c
c03188d0 : 30326666 30303020 63303331 65663938  02ff000 c031ef98
c03188e0 : 200a3c34 3e475052 30383a20 30303030   .<4>GPR08: 0000
c03188f0 : 31663030 20633032 39636633 38203066  1f00 c029cf38 0f
c0318900 : 30303030 30302063 30326530 38373020  000000 c02e0870
c0318910 : 30663030 30303030 20303030 30303030  0f000000 0000000
c0318920 : 30203030 30303030 30302030 30303030  0 00000000 00000
c0318930 : 30303020 0a3c343e 47505231 363a2030  000 .<4>GPR16: 0
c0318940 : 66666532 38363420 30666665 37363030  ffe2864 0ffe7600
c0318950 : 20303030 30303030 30203030 30303030   00000000 000000
c0318960 : 30302030 30303030 30303020 30303030  00 00000000 0000
c0318970 : 30303030 20633030 30303032 30203030  0000 c0000020 00
bre440>md 0xc0318970
c0318970 : 30303030 20633030 30303032 30203030  0000 c0000020 00
c0318980 : 30303030 3031200a 3c343e47 50523234  000001 .<4>GPR24
c0318990 : 3a203030 30303030 30302030 30303030  : 00000000 00000
c03189a0 : 30303020 30303030 30653630 20303130  000 00000e60 010
c03189b0 : 30303030 30203435 35303431 35302030  00000 45504150 0
c03189c0 : 30303030 30303020 30303030 30303030  0000000 00000000
c03189d0 : 20303038 30303030 30200a3c 343e4e49   00800000 .<4>NI
c03189e0 : 50205b63 30303030 3164305d 204d6163  P [c00001d0] Mac
c03189f0 : 68696e65 43686563 6b2b3078 31302f30  hineCheck+0x10/0
c0318a00 : 78313030 0a3c343e 4c52205b 63303030  x100.<4>LR [c000
c0318a10 : 30303630 5d205f73 74617274 2b307836  0060] _start+0x6
c0318a20 : 302f3078 61340a3c 343e4361 6c6c2054  0/0xa4.<4>Call T
c0318a30 : 72616365 3a0a3c34 3e5b6330 33313166  race:.<4>[c0311f
c0318a40 : 66305d20 5b633030 30303036 305d205f  f0] [c0000060] _
c0318a50 : 73746172 742b3078 36302f30 78613420  start+0x60/0xa4
c0318a60 : 28756e72 656c6961 626c6529 0a3c343e  (unreliable).<4>
bre440>md 0xc0318a60
c0318a60 : 28756e72 656c6961 626c6529 0a3c343e  (unreliable).<4>
c0318a70 : 496e7374 72756374 696f6e20 64756d70  Instruction dump
c0318a80 : 3a0a3c34 3e343830 30626666 31206330  :.<4>4800bff1 c0
c0318a90 : 30306137 34382063 30303063 61613020  00a748 c000caa0
c0318aa0 : 36303030 30303030 20363030 30303030  60000000 6000000
c0318ab0 : 30203630 30303030 30302036 30303030  0 60000000 60000
c0318ac0 : 30303020 36303030 30303030 200a3c34  000 60000000 .<4
c0318ad0 : 3e376431 32343361 36203364 30306330  >7d1243a6 3d00c0
c0318ae0 : 33312038 31303834 65393020 33393038  31 81084e90 3908
c0318af0 : 31663030 203c3931 32383030 33343e20  1f00 <91280034>
c0318b00 : 37643230 30303236 20393134 38303033  7d200026 9148003
c0318b10 : 38203931 36383030 3363200a 3c343e2d  8 9168003c .<4>-
c0318b20 : 2d2d5b20 656e6420 74726163 65203331  --[ end trace 31
c0318b30 : 66643062 61376438 37353630 3031205d  fd0ba7d8756001 ]
c0318b40 : 2d2d2d0a 3c303e4b 65726e65 6c207061  ---.<0>Kernel pa
c0318b50 : 6e696320 2d206e6f 74207379 6e63696e  nic - not syncin
bre440>md 0xc0318b50
c0318b50 : 6e696320 2d206e6f 74207379 6e63696e  nic - not syncin
c0318b60 : 673a2041 7474656d 70746564 20746f20  g: Attempted to
c0318b70 : 6b696c6c 20746865 2069646c 65207461  kill the idle ta
c0318b80 : 736b210a 3c343e43 616c6c20 54726163  sk!.<4>Call Trac
c0318b90 : 653a0a3c 343e5b63 30333131 6533305d  e:.<4>[c0311e30]
c0318ba0 : 205b6330 30303630 32305d20 73686f77   [c0006020] show
c0318bb0 : 5f737461 636b2b30 7834342f 30783136  _stack+0x44/0x16
c0318bc0 : 63202875 6e72656c 6961626c 65290a3c  c (unreliable).<
c0318bd0 : 343e5b63 30333131 6537305d 205b6330  4>[c0311e70] [c0
c0318be0 : 30333062 37635d20 70616e69 632b3078  030b7c] panic+0x
c0318bf0 : 61342f30 78316434 0a3c343e 5b633033  a4/0x1d4.<4>[c03
c0318c00 : 31316563 305d205b 63303033 34386134  11ec0] [c00348a4
c0318c10 : 5d20646f 5f657869 742b3078 3562382f  ] do_exit+0x5b8/
c0318c20 : 30783563 340a3c34 3e5b6330 33313166  0x5c4.<4>[c0311f
c0318c30 : 30305d20 5b633030 30396337 305d206b  00] [c0009c70] k
c0318c40 : 65726e65 6c5f6261 645f7374 61636b2b  ernel_bad_stack+
bre440>md 0xc0318c40
c0318c40 : 65726e65 6c5f6261 645f7374 61636b2b  ernel_bad_stack+
c0318c50 : 3078302f 30783463 0a3c343e 5b633033  0x0/0x4c.<4>[c03
c0318c60 : 31316632 305d205b 63303030 66616234  11f20] [c000fab4
c0318c70 : 5d206261 645f7061 67655f66 61756c74  ] bad_page_fault
c0318c80 : 2b307839 302f3078 64380a3c 343e5b63  +0x90/0xd8.<4>[c
c0318c90 : 30333131 6633305d 205b6330 30306338  0311f30] [c000c8
c0318ca0 : 34345d20 68616e64 6c655f70 6167655f  44] handle_page_
c0318cb0 : 6661756c 742b3078 37632f30 7838300a  fault+0x7c/0x80.
c0318cc0 : 3c343e2d 2d2d2045 78636570 74696f6e  <4>--- Exception
c0318cd0 : 3a203330 30206174 204d6163 68696e65  : 300 at Machine
c0318ce0 : 43686563 6b2b3078 31302f30 78313030  Check+0x10/0x100
c0318cf0 : 0a3c343e 20202020 4c52203d 205f7374  .<4>    LR = _st
c0318d00 : 6172742b 30783630 2f307861 340a0000  art+0x60/0xa4...
c0318d10 : 00000000 00000000 00000000 00000000  ................
c0318d20 : 00000000 00000000 00000000 00000000  ................
c0318d30 : 00000000 00000000 00000000 00000000  ................



Jacob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crash1.txt
Type: application/octet-stream
Size: 8740 bytes
Desc: crash1.txt
Url : http://lists.denx.de/pipermail/eldk/attachments/20100928/94e8acea/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: starter440.dts
Type: application/octet-stream
Size: 7845 bytes
Desc: starter440.dts
Url : http://lists.denx.de/pipermail/eldk/attachments/20100928/94e8acea/attachment-0003.obj 


More information about the eldk mailing list