Skip to contentSkip to conversation

MPC8245+2.6.12=oops

DISCUSSION Carl Ljungmark 3 participants 3 messages Aug 2, 2005

lore
Share & tools
lore
#0 lore raw

Hello everyone!
Trying to boot linux 2.6.12 on an MPC8245 board from MEN (a12) with MenMo= n =20
firmware. Nothing is printed to the console (ttyS0), but the __log_buf =20 contains this:

<4>entering platform_init.
<4>MENMON parameter string: MPAR brd=3DA012a brdrev=3D01.04.00 brdmod=3D0= 0 =20
sernbr=3D74 cbr=3D38400 cons=3DCOM1 mem0=3D262144 cpu=3DMPC8245 cpuclk=3D= 250memclk=3D100 =20
vmeirqenb=3DFEclun=3D02dlun=3D00 mm=3Dsmm =20 MMST=3D_00+_12+_1B+_1C+_0C+_17+_1A+_1D+_1E-SPD+RTC+LM75+WDOG+CHKS+ALL+. <4>Command line now console=3DttyS0,38400.
<4>Using memory size from MENMON 0x10000000.
<3>Non-recoverable exception at PC=3Dc0007af0 MSR=3Db930. <4>Oops: nonrecoverable exception,sig: 9 [#1].
<4>NIP: C0007AF0 LR:C000E474 SP: C00F7F70 REGS: c00f7ec0 TRAP: 0600 Not =20 tainted.
<4>MSR: 0000b930 EE: 1 PR: 0 FP:1 ME: 1 IR/DR:11.
<4>DAR: C0138000, DSISR: 00017C00.
<4>TASK =3D c00dda10[0] 'swapper' THREAD: c00f6000.
<4>Last syscall: 0 .
<6>GPR00: 00000080 C00F7F70 C00DDA10 C0138000 0000000000001000 00000001 =20 00000001 .
<6>GPR08: 0000000200000000 00000001 00000000 00000000 00000000 00008081 =20 2A090A86 .
<6>GPR16: 10588403 1E21D063 21218986 50022502 3C0185B8 011368CA00FFF010 =20 00FFF024 .
<6>GPR24: 00000000 01F8FA68 40000000 C00DC000000005A9 FD000000 FD000000 =20 C0138000 .
<4>NIP [c0007af0] clear_pages+0x10/0x1c.
<4>LR [c000e474] pte_alloc_one_kernel+0x60/0x78.
<4>Call trace:.
<4> [c003e948] pte_alloc_kernel+0x54/0x84.
<4> [c000e5e4] map_page+0x3c/0xdc.
<4> [c00ff61c] io_block_mapping+0x78/0xdc.
<4> [c00fe560] men824xali_map_io+0x20/0x44.
<4> [c00fec38] MMU_init+0x194/0x204.
<4> [c00032a4]start_here+0x48/0x80.
0>Kernelpanic - not syncing: Attempted to kill the idletask!. <4> ......

adding 'nobats' to the command line changes the boot output slightly (I =20 then get two oops).

In order to get the whole output I had to turn off caching, maybe this ha= s =20
influenced the boot process.. with dcache on, the __log_buf is practicall= y =20
empty.

Has anyone managed to boot 6.12 on this board successfully?

Thanks in advance,
Carl.

#1 lore raw

This looks like an issue with the MEN port. without that code its difficult to comment on what exactly may be wrong.

- kumar

Quoted 57 lines · Carl Ljungmark

Hello everyone!
Trying to boot linux 2.6.12 on an MPC8245 board from MEN (a12) with MenMon firmware. Nothing is printed to the console (ttyS0), but the __log_buf contains this:

<4>entering platform_init.
<4>MENMON parameter string: MPAR brd=A012a brdrev=01.04.00 brdmod=00 sernbr=74 cbr=38400 cons=COM1 mem0=262144 cpu=MPC8245 cpuclk=250memclk=100 vmeirqenb=FEclun=02dlun=00 mm=smm MMST=_00+_12+_1B+_1C+_0C+_17+_1A+_1D+_1E-SPD+RTC+LM75+WDOG+CHKS+ALL+. <4>Command line now console=ttyS0,38400.
<4>Using memory size from MENMON 0x10000000. <3>Non-recoverable exception at PC=c0007af0 MSR=b930.
<4>Oops: nonrecoverable exception,sig: 9 [#1].
<4>NIP: C0007AF0 LR:C000E474 SP: C00F7F70 REGS: c00f7ec0 TRAP: 0600 Not tainted.
<4>MSR: 0000b930 EE: 1 PR: 0 FP:1 ME: 1 IR/DR:11.
<4>DAR: C0138000, DSISR: 00017C00.
<4>TASK = c00dda10[0] 'swapper' THREAD: c00f6000.
<4>Last syscall: 0 .
<6>GPR00: 00000080 C00F7F70 C00DDA10 C0138000 0000000000001000 00000001 00000001 .
<6>GPR08: 0000000200000000 00000001 00000000 00000000 00000000 00008081 2A090A86 .
<6>GPR16: 10588403 1E21D063 21218986 50022502 3C0185B8 011368CA00FFF010 00FFF024 .
<6>GPR24: 00000000 01F8FA68 40000000 C00DC000000005A9 FD000000 FD000000 C0138000 .
<4>NIP [c0007af0] clear_pages+0x10/0x1c.
<4>LR [c000e474] pte_alloc_one_kernel+0x60/0x78.
<4>Call trace:.
<4> [c003e948] pte_alloc_kernel+0x54/0x84.
<4> [c000e5e4] map_page+0x3c/0xdc.
<4> [c00ff61c] io_block_mapping+0x78/0xdc.
<4> [c00fe560] men824xali_map_io+0x20/0x44.
<4> [c00fec38] MMU_init+0x194/0x204.
<4> [c00032a4]start_here+0x48/0x80.
0>Kernelpanic - not syncing: Attempted to kill the idletask!. <4> ......

adding 'nobats' to the command line changes the boot output slightly (I then get two oops).

In order to get the whole output I had to turn off caching, maybe this has influenced the boot process.. with dcache on, the __log_buf is practically empty.

Has anyone managed to boot 6.12 on this board successfully?

Thanks in advance,
Carl.

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#2 lore raw
In reply to Carl Ljungmark
Quoted 6 lines · Carl Ljungmark

Trying to boot linux 2.6.12 on an MPC8245 board from MEN (a12) with MenMon
firmware. Nothing is printed to the console (ttyS0), but the __log_buf contains this:

<4>entering platform_init.

Seems sth wrong on target init configuration. Pls check some values like MPC10X_MAPB_EUMB_BASE or UART related stuff like SERIAL_PORT_DFNS. Well, I just have the successful experience on a MPC8241 target based on SANDPOINT board with 2.6.12-rc2 and 2.6.13-rc3.

In addition, enable early console is also a help to debug.

Best regards,

Sam

__________________________________________________
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com