Subject: Re: CATS -current kernel panics during boot.
To: Todd Whitesel <toddpw@best.com>
From: Todd Whitesel <toddpw@best.com>
List: port-arm32
Date: 10/25/1998 09:38:18
Two weeks later, with freshly supped sources, the intrepid would-be ARM
activist tries again...

> 	root file system type: ffs
> 	panic: Prefetch abort in non-USR mode (frame=0xf35a8d44)
> 
> 	Stopped in init at      _Debugger+0x10: ldmdb   r11, {r11, r13, r15}
> 	db>
> 
> if I type "trace" I get
> 
> 	db>trace
> 	_Debugger(_Debugger+0x10)
> 	_panic(_panic+0x14)
> 	_prefetch_abort_handler(_prefetch_abort_handler+0x10)
> 	_cnopen(_cnopen+0x10)
> 	_spec_open(_spec_open+0x10)
> 	_vn_open(_vn_open+0x10)
> 	_sys_open(_sys_open+0x10)
> 	_syscall(_syscall+0x10)
> 	db>

Using a CATS config file with NFS and BOOTP disabled, I still get the above
(except that frame=0xf35aad44) as well as the same 'ps' output as that
transcribed below.

If I also disable the isapnp* support and associated sound card devices:

root file system type: ffs
syscall: swi 0x6c74 from non USR32 mode
syscall: trapframe=0xf35aad44
panic: syscall in non USR32 mode

Stopped in init at	_Debugger+0x10: ldmdb	r11, {r11, r13, r15}
db> tr
_Debugger(_Debugger+0x10)
_panic(_panic+0x14)
_syscall(_syscall+0x10)
_cnopen(_cnopen+0x10)
_spec_open(_spec_open+0x10)
_vn_open(_vn_open+0x10)
_sys_open(_sys_open+0x10)
_syscall(_syscall+0x10)
db> ps
 PID		PPID	PGRP	UID S	 FLAGS		COMMAND		WAIT
>4		1	1	0   2	   0x4		init
 3		0	0	0   3	 0x204		reaper		reaper
 2		0	0	0   3	 0x204		pagedaemon	daemon_
 1		0	1	0   3	0x4084		init		wait
 0		-1	0	0   3	 0x204		swapper		schedul

('ps' output reformatted a little in the retyping.)

Note that we have syscall() being re-entered from cnopen().
The phrase "smoking gun" comes to mind...

Todd Whitesel
toddpw @ best.com