<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em; MARGIN-TOP: 0px
}
OL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
UL {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
P {
        MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
BODY {
        FONT-SIZE: 10.5pt; FONT-FAMILY: Microsoft YaHei UI; COLOR: #000000; LINE-HEIGHT: 1.5
}
</STYLE>

<META name=GENERATOR content="MSHTML 11.00.9600.17924"></HEAD>
<BODY style="MARGIN: 10px">
<DIV><PRE style="FONT-VARIANT: normal; WHITE-SPACE: pre-wrap; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; WIDOWS: 1; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><I style="COLOR: #ff0000">I've been struggling with a kernel panic during enumeration of </I><I style="COLOR: #ff0000">a Rapid IO system.</I></PRE><PRE style="FONT-VARIANT: normal; WHITE-SPACE: pre-wrap; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; WIDOWS: 1; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><I style="COLOR: #ff0000">I am using the AM4140 with Freescale P4080 </I><I style="COLOR: #ff0000">processor. </I><EM style="COLOR: #ff0000"> The Linux kernel'version is 2.6.34.6.  I've set riohdid=0 on the kernel command line.But </EM><EM style="COLOR: #ff0000">when the OS boots up,the kernel panic as following:</EM></PRE><PRE style="FONT-VARIANT: normal; WHITE-SPACE: pre-wrap; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; WIDOWS: 1; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><DIV>DP-Lite hash table entries: 512 (order: 2, 16384 bytes)                                                                     </DIV><DIV>NET: Registered protocol family 1                                                                                            </DIV><DIV>RPC: Registered udp transport module.                                                                                        </DIV><DIV>RPC: Registered tcp transport module.                                                                                        </DIV><DIV>RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                    </DIV><DIV>Setting Freescale static PAMU/IOMMU configuration                                                                            </DIV><DIV>Freescale PowerQUICC MII Bus: probed                                                                                         </DIV><DIV>Setting up RapidIO peer-to-peer network /rapidio@ffe0c0000                                                                   </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: Of-device full name /rapidio@ffe0c0000                                                         </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: Regs: [mem 0xffe0c0000-0xffe0dffff]                                                            </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: LAW start 0x0000000dc0000000, size 0x0000000002000000.                                         </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: errirq: 16, bellirq: 57, txirq: 60, rxirq 61                                                   </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: RapidIO PHY type: serial                                                                       </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: Hardware port width: 4                                                                         </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: Training connection status: Four-lane                                                          </DIV><DIV>fsl-of-rio ffe0c0000.rapidio: RapidIO Common Transport System size: 256                                                      </DIV><DIV>RIO: enumerate master port 0, RIO0 mport                                                                                     </DIV><DIV>Unrecoverable FP Unavailable Exception 801 at deadbeec                                                                       </DIV><DIV>Oops: Unrecoverable FP Unavailable Exception, sig: 6 [#1]                                                                    </DIV><DIV>SMP NR_CPUS=8 D0801-AM4140                                                                                                   </DIV><DIV>last sysfs file:                                                                                                             </DIV><DIV>Modules linked in:                                                                                                           </DIV><DIV>NIP: deadbeec LR: c0495914 CTR: deadbeef                                                                                     </DIV><DIV>REGS: eb073cc0 TRAP: 0801   Not tainted  (2.6.34.6)                                                                          </DIV><DIV>MSR: 00029002 <EE,ME,CE>  CR: 24042024  XER: 00000000                                                                        </DIV><DIV>TASK = eb05da30[1] 'swapper' THREAD: eb072000 CPU: 6                                                                         </DIV><DIV>GPR00: deadbeef eb073d70 eb05da30 eb1fbc00 000000ff 00000000 000000ff 00000000                                               </DIV><DIV>GPR08: 00000004 eb539640 f1150c20 eb5c0000 24042022                                                                          </DIV><DIV>NIP [deadbeec] 0xdeadbeec                                                                                                    </DIV><DIV>LR [c0495914] rio_enum_peer+0x1b8/0x3e4                                                                                      </DIV><DIV>Call Trace:                                                                                                                  </DIV><DIV>[eb073d70] [c04958e4] rio_enum_peer+0x188/0x3e4 (unreliable)                                                                 </DIV><DIV>[eb073dd0] [c0495c28] rio_enum_mport+0xe8/0x244                                                                              </DIV><DIV>[eb073e10] [c049504c] rio_init_mports+0x90/0xe4                                                                              </DIV><DIV>[eb073e30] [c0492648] fsl_of_rio_rpn_probe+0x3c/0x50                                                                         </DIV><DIV>[eb073e40] [c03c6a14] of_platform_device_probe+0x58/0x98                                                                     </DIV><DIV>[eb073e60] [c02b395c] driver_probe_device+0xa4/0x1b4       [eb073ed0] [c02b2f94] bus_probe_device+0x2c/0x44                                                                             </DIV><DIV>[eb073ee0] [c02b0c34] device_add+0x40c/0x4c0                                                                                 </DIV><DIV>[eb073f30] [c03c6580] of_device_register+0x34/0x48                                                                           </DIV><DIV>[eb073f40] [c0009010] of_platform_device_create+0x44/0x74                                                                    </DIV><DIV>[eb073f50] [c000923c] of_platform_bus_probe+0x130/0x15c                                                                      </DIV><DIV>[eb073f70] [c0607d90] declare_of_platform_devices+0x24/0x140                                                                 </DIV><DIV>[eb073f90] [c0607ab8] __machine_initcall_d0801_declare_of_platform_devices+0x2c/0x3c</DIV><DIV>[eb073fa0] [c0001dd0] do_one_initcall+0x3c/0x1d0</DIV><DIV>[eb073fd0] [c05fe9ec] kernel_init+0x190/0x230</DIV><DIV>[eb073ff0] [c000f804] kernel_thread+0x4c/0x68</DIV><DIV>Instruction dump:</DIV><DIV>XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX</DIV><DIV>XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX</DIV><DIV>---[ end trace 561bb236c800851f ]---</DIV><DIV>Kernel panic - not syncing: Attempted to kill init!</DIV><DIV>Call Trace:</DIV><DIV>[eb073bc0] [c0007548] show_stack+0x44/0x160 (unreliable)</DIV><DIV>[eb073bf0] [c048e774] panic+0x90/0x104</DIV><DIV>[eb073c40] [c0046b38] do_exit+0x61c/0x668</DIV><DIV>[eb073c90] [c000cf1c] die+0xdc/0x1b8</DIV><DIV>[eb073cb0] [c00100e0] ret_from_except+0x0/0x18</DIV><DIV>[eb073d70] [c04958e4] rio_enum_peer+0x188/0x3e4</DIV><DIV>[eb073dd0] [c0495c28] rio_enum_mport+0xe8/0x244</DIV><DIV>[eb073e10] [c049504c] rio_init_mports+0x90/0xe4</DIV><DIV>[eb073e30] [c0492648] fsl_of_rio_rpn_probe+0x3c/0x50</DIV><DIV>[eb073e40] [c03c6a14] of_platform_device_probe+0x58/0x98</DIV><DIV>[eb073e60] [c02b395c] driver_probe_device+0xa4/0x1b4</DIV><DIV>[eb073e80] [c02b2598] bus_for_each_drv+0x6c/0xa8</DIV><DIV>[eb073eb0] [c02b37e0] device_attach+0xa4/0xc8</DIV><DIV>[eb073ed0] [c02b2f94] bus_probe_device+0x2c/0x44</DIV><DIV>[eb073ee0] [c02b0c34] device_add+0x40c/0x4c0</DIV><DIV>[eb073f30] [c03c6580] of_device_register+0x34/0x48</DIV><DIV>[eb073f40] [c0009010] of_platform_device_create+0x44/0x74</DIV><DIV>[eb073f50] [c000923c] of_platform_bus_probe+0x130/0x15c</DIV><DIV>[eb073f70] [c0607d90] declare_of_platform_devices+0x24/0x140</DIV><DIV>[eb073f90] [c0607ab8] __machine_initcall_d0801_declare_of_platform_devices+0x2c/0x3c</DIV><DIV>[eb073fa0] [c0001dd0] do_one_initcall+0x3c/0x1d0</DIV><DIV>[eb073fd0] [c05fe9ec] kernel_init+0x190/0x230</DIV><DIV>[eb073ff0] [c000f804] kernel_thread+0x4c/0x68</DIV><DIV>ipmi message handler version 39.2</DIV><DIV>could not create IPMI user, error -22</DIV><DIV>Rebooting in 180 seconds..</DIV><DIV>             </DIV></PRE><PRE style="FONT-VARIANT: normal; WHITE-SPACE: pre-wrap; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; WIDOWS: 1; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><EM>I donnot know how to deal with it.Do you have any ideas?</EM></PRE><PRE style="FONT-VARIANT: normal; WHITE-SPACE: pre-wrap; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; WIDOWS: 1; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><EM>Thanks very much!!</EM></PRE><PRE style="FONT-VARIANT: normal; WHITE-SPACE: pre-wrap; WORD-SPACING: 0px; TEXT-TRANSFORM: none; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; WIDOWS: 1; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><EM></EM> </PRE></DIV>
<HR style="HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>

<DIV><SPAN>liulijun</SPAN></DIV></BODY></HTML>