From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex shi Date: Thu, 23 Jun 2005 08:32:07 +0800 Subject: [U-Boot-Users] debug linux kernel hangs References: <20050623001145.25607C1510@atlas.denx.de> Message-ID: <022f01c5778a$fcb54ee0$4500a8c0@baniantealex> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Denk: Thanks your help. Just because the serial console can not work on my board, so I step into kernel to trace. I think maybe the kernel init sequence can not arrive the console_init(), so I can not get any message after run "bootm". It just told me "Uncompressing Kernel Image ... OK", then it hangs. Bye the way, I only the u-boot 1.1.1 and linux kernel 2.4.22 in hand, where I can find the lastest code? Thanks again! BRG ----- Original Message ----- From: "Wolfgang Denk" To: "Alex shi" Cc: Sent: Thursday, June 23, 2005 8:11 AM Subject: Re: [U-Boot-Users] debug linux kernel hangs > Hello, > > in message <021a01c57785$fc451a30$4500a8c0@baniantealex> you wrote: >> >> My box is MPC8247 >> I use u-boot 1.1.1 to boot linux kernel 2.4.22, the bd_info are same in > > Both the versions of U-Boot and Linux kernel are very, very old. I > strongly recommend to use more current versions of the software. > >> 620 ppc_md.setup_arch(); >> (gdb) n >> >> <<<<< long time wait and then press ctl + c. > ... >> #0 0xc0007e4c in __delay () at time.c:427 >> #1 0xc0015ae4 in panic (fmt=0x2bbbd "\001") at delay.h:42 > > So your kernel has paniced. > >> and panic a message to me, isn't it? > > Indeed. And what was the panic message? What was the contents of the > log_buf area? > > I'm afraid you will have to type the commands to display the contents > of the log buffer yourself - you did not give instructions how to log > in on your system. > > See also http://www.denx.de/twiki/bin/view/DULG/LinuxPostMortemAnalysis > > > And by the way: this is a Linux problem, so all of this is completely > off topic on this list. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded Linux > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de > "'Tis true, 'tis pity, and pity 'tis 'tis true." > - Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_ >