|
From: William S. <wst...@po...> - 2000-08-15 02:40:27
|
Good evening, Jeff,
On Mon, 14 Aug 2000, Jeff Dike wrote:
> wst...@po... said:
> > Initializing random number generator... done.
> > Recovering nvi editor sessions... done.
> > INIT: Entering runlevel: 2
> > Initializing random number generator... done.
> > Recovering nvi editor sessions... done.
> > INIT: Entering runlevel: 2
> > Kernel panic: Kernel mode fault at addr 0x53409f94, ip 0x10034f7d
>
> What root_fs was that? It's a bit strange for it to be entering runlevel 2
> twice.
I found the source of the error; it was gpm in the host kernel.
;-) Maybe if I posted the text just _once_ it would make more sense.
> To see where the crash was, do 'i sym 0x10034f7d' at that gdb.
>
> 'i line *0x10034f7d' will give you line number information if it's available.
(gdb) file /usr/src/uml-linux/linux-2.4.0-test6.uml/linux
Reading symbols from /usr/src/uml-linux/linux-2.4.0-test6.uml/linux...done.
(gdb) i sym 0x10034f7d
proc_pid_lookup + 353 in section .text
(gdb) i line *0x10034f7d
Line 64 of
"/usr/src/uml-linux/linux-2.4.0-test6.uml/include/asm/arch/atomic.h"
starts at address 0x10034f7d <proc_pid_lookup+353>
and ends at 0x10034f7f <proc_pid_lookup+355>.
Cool! Thanks for the pointer.
static __inline__ void atomic_inc(volatile atomic_t *v)
{
__asm__ __volatile__(
LOCK "incl %0"
:"=m" (__atomic_fool_gcc(v))
:"m" (__atomic_fool_gcc(v)));
}
Line 64 is the "__asm__ __volatile__ (" line. Sorry, I tried to
get a backtrace, but was unsuccessful. Not all that useful without a
backtrace, I suppose, but I couldn't convince gdb to give me a bt. Oh
well.
> I'm not too worried about this one. test6 is a piece of cr*p. When I can
> boot it up and run my stress testers on it again, I'll become concerned about
> other people's problems :-)
Touche'. *smile*
Cheers,
- Bill
---------------------------------------------------------------------------
"Put down those Windows disks, Dave..."
-- HAL
--------------------------------------------------------------------------
William Stearns (wst...@po...). Mason, Buildkernel, named2hosts,
and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns
LinuxMonth; articles for Linux Enthusiasts! http://www.linuxmonth.com
--------------------------------------------------------------------------
|