[parisc-linux] 2.5 kernel crash on a500 -- help needed

Randolph Chung Randolph Chung <randolph@tausq.org>
Tue, 23 Jul 2002 23:53:44 -0700


(this reference was copied from the cvs list w.r.t our 2.5 merge)

In reference to a message from Randolph Chung, dated Jul 22:
> > init/main.c
> > add parisc_init back into the init sequence.... this causes the machine to crash though, need to investigate if the call is in the right place

without parisc_init(), i'm getting this on a500... debugging
output should be pretty much self-explanatory...

POSIX conformance testing by UNIFIX
before init_idle
after init_idle
Starting rest_init
Starting kernel thread 0x0000000010479180, arg 0x0000000000000000, flags 69120
Return from kernel_thread; pid = 352186432
After kernel_thread
Calling cpu_idle
schedule: need_resched
prev->stat = 0
schedule: switch_tasks
context_switch: mm = 0x0000000014fdf078, oldmm = 0x00000000103ce968
doing switch_to; prev=0x0,0x0, next=0x104d0040,0x104d0070
-> (the prev/next numbers are reg->iaoq[0] and reg->kpc)
-> there's another printk() right after the switch_to() call, i don't
   see that...

At this point, the machine hpmcs. The hpmc output is not very helpful,
and probably wrong. it points the crash to printk (both iaoq and
gr2 point to printk, but different locations)

I'm not sure whether this is a bug inside our switch_to code (looks
correct...) or if the switched to task is crashing. It seems to me the
only thing in the runqueue at this point should be the init thread, 
right?  but i don't get the printk() output from init.....

any hints on how to debug this?

baffled....
randolph

p.s. for those of you wondering, we do have a linkable 2.5 kernel now
(at least in some configurations). it doesn't come near to booting yet,
but willy/helge/richard/grant and others are busy working on it :)
--  
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/