Subject: sparc/dev/sbus.c rev 1.43 problem
To: None <uwe@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-sparc
Date: 12/29/2001 13:29:47
All my kernels with rev 1.43 of sys/arch/sparc/dev/sbus.c get:

	cpu0: NMI: system interrupts: 40000000<VME=0,SBUS=0,ME>
	trap type 0x29: pc=0xa1594 npc=0xa1598 psr=4000084<S>
	trap type 0x29: pc=0xf0008410 npc=0xf0008414 psr=44000c0<S,PS>
	kernel: trap trap
	Stopped in pid 212 (Xsun) at Lbcopy_doubles: ldd [%o0 + %g0], %o4

Machine is:
	mainbus0 (root): SUNW,SPARCstation-5
	cpu0 at mainbus0: MB86904 @ 100 MHz, on-chip FPU
	cpu0: 16K instruction (32 b/l), 8K data (16 b/l): cache enabled
...
	cgthree0 at sbus0 slot 0 offset 0x0 level 9: SUNW,501-1718, 1152 x 900 (console)
	cgthree0: attached to /dev/fb

Tracing sbus_bus_mmap I get (args and result):

before	t=0xf0508f60 baddr=30000000 off=8fd000 prot=2 flags=2 => 308fd004

after	t=0xf0275ba8 baddr=60000000 off=8fd000 prot=2 flags=2 => 608fd004

In sbus_bus_mmap paddr gets set to 60000000. Any ideas where to look further?

-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)