Subject: CATS -current kernel panics during boot.
To: None <port-arm32@netbsd.org>
From: Todd Whitesel <toddpw@best.com>
List: port-arm32
Date: 10/13/1998 18:09:27
After dealing with a clock-synchro problem that was messing with SUP on my
arm32 machine, I now have a very -current arm32 CATS kernel that builds
without incident.

However, while booting it very reproducibly panics just after the message

	root file system type: ffs

it then says

	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>

Any ideas?

This is using an unmodified CATS config file from -current. I also
tried commenting out procfs,kernfs,MFS/tmp but that didn't help.

A dmesg from my stable kernel (built w/ sources from the 19980805 CATS CD,
and before I had finished configuring the locality stuff) is attached.

Todd Whitesel
toddpw @ best.com
-----------------

NetBSD 1.3F (KENOBI) #1: Sat Aug 29 01:32:42 BST 1998
    root@cats.chaltech.com:/usr/src/sys/arch/arm32/compile/KENOBI
real mem = 33554432 (8192 pages)
cpu_startup: buffer VM base=0xf1c9a000 size = 11141120
Available memory = 27734016
using 170 buffers containing 696320 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: SA-110 rev 3 DC enabled IC enabled WB enabled EABT
footbridge0 at mainbus0: DC21285 rev 3
pci0 at footbridge0 bus 0
pci0: i/o enabled, memory enabled
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
ne0 at pci0 dev 8 function 0: Realtek 8029 Ethernet
ne0: Ethernet address 00:80:c8:c0:e7:36
ne0: interrupting at irq 18
bypass0 at pci0 dev 10 function 0: S3 ViRGE (VGA display, revision 0x06)
pciide0 at pci0 dev 16 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc1)
pciide0: primary channel configured to compatibility mode
pciide0: bus-master DMA support enabled for primary channel
wdc0 at pciide0 channel 0
atapibus0 at wdc0
wd0 at wdc0 drive 0: <ST33221A>
wd0: using dma transfers, lba mode
wd0: 3077MB, 6303024 sec, 512 bytes/sec
pciide0: secondary channel configured to compatibility mode
wdc1 at pciide0 channel 1
atapibus1 at wdc1
sd0 at atapibus1 drive 0: <IOMEGA  ZIP 100       ATAPI, , 23.D> type 0 direct removable
sd0: drive offline
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 17 function 0 not configured
Acer Labs M5237 USB Host Controller (USB serial bus, interface 0x10, revision 0x03) at pci0 dev 20 function 0 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
pcvt0 at isa0 port 0x60-0x6f irq 1
pcvt0: unknown s3, 80 col, color, 8 scr, mf2-kbd, [R3.32]
ipms0 at pcvt0 irq 12
pcvt0: console
dsrtc0 at isa0 port 0x72-0x73
todclock0 at dsrtc0
ifdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
todclock at footbridge0 not configured
fcom0 at footbridge0: console
ipl_bio=00040004 ipl_net=00000004 ipl_tty=00000000 ipl_imp=00000000
ipl_audio=00000000 ipl_imp=00000000 ipl_high=00000000 ipl_serial=00000000
clock: hz=100 stathz = 0 profhz = 0
boot device: wd0
root on wd0a dumps on wd0b
inittodr: 00:47:02.0000 14/10/1998
root file system type: ffs
uvm_swap: allocated 84 swap buffer headers
Failed page fault in kernel
Using pcb_onfault=0xf00e1e88 addr=f016c7b8 st=00369007 p=0xf10fde00
Failed page fault in kernel
Using pcb_onfault=0xf00e1e88 addr=f016c7b8 st=003a5007 p=0xf1189e00

# end of dmesg