Subject: kernel bug?
To: None <current-users@netbsd.org>
From: Sean Davis <dive-nb@endersgame.net>
List: current-users
Date: 10/25/2002 15:53:34
--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

this is:
NetBSD eros.endersgame.net 1.6J NetBSD 1.6J (EROS) #393: Fri Oct 25 14:32:27
EDT 2002
dive@eros.endersgame.net:/disk2/a/cvs/netbsd/current/src/sys/arch/i386/compile/EROS
i386

kernel config file is attached. anybody know whats going on here?

<dive@eros(/home/dive)> % /usr/pkg/java/sun-1.4.0/bin/java
panic: amap_lookups: offset out of range
Stopped in pid 447 (java) at    cpu_Debugger+0x4:       movl    %ebp,%esp
db> t
cpu_Debugger(8,3,e1910ef4,c01b6e48,e182bd0) at cpu_Debugger+0x4
panic(c0235f00,0,106,0,e18e3f40) at panic+0xb0
amap_lookups(e18e3f70,9000,e1910ef4,8) at amap_lookups+0x2e
uvm_fault(e18f2bcc,4a0b2000,0,2,485b1244) at uvm_fault+0x2d7
trap() at trap+0x50c
--- trap (number 6) ---
0x4829b138:
db>

dumped it...
(gdb) exec-file netbsd.0
(gdb) symbol-file netbsd.0.gdb
Reading symbols from netbsd.0.gdb...done.
(gdb) target kcore netbsd.0.core
panic: amap_lookups: offset out of range
#0  0x1 in ?? ()
(gdb) where
#0  0x1 in ?? ()
#1  0xc01ca461 in cpu_reboot (howto=256, bootstr=0x0)
    at /sys/arch/i386/compile/EROS/../../../../arch/i386/i386/machdep.c:2267
#2  0xc01527b7 in db_sync_cmd ()
    at /sys/arch/i386/compile/EROS/../../../../ddb/db_command.c:723
#3  0xc0152375 in db_command (last_cmdp=0xc024efc4, cmd_table=0xc022d6e0)
    at /sys/arch/i386/compile/EROS/../../../../ddb/db_command.c:456
#4  0xc0151f03 in db_command_loop ()
    at /sys/arch/i386/compile/EROS/../../../../ddb/db_command.c:246
#5  0xc015591c in db_trap (type=1, code=0)
    at /sys/arch/i386/compile/EROS/../../../../ddb/db_trap.c:92
#6  0xc01c70e4 in kdb_trap (type=1, code=0, regs=0xe1910da0)
    at /sys/arch/i386/compile/EROS/../../../../arch/i386/i386/db_interface.c:224
#7  0xc01d165f in trap (frame={tf_gs = 16, tf_fs = 48, tf_es = -510590960, 
      tf_ds = 16, tf_edi = 256, tf_esi = -1071423744, tf_ebp = -510587424, 
      tf_ebx = -510587380, tf_edx = -1071440236, tf_ecx = 1807, tf_eax = 6788, 
      tf_trapno = 1, tf_err = 0, tf_eip = -1071877700, tf_cs = 8, 
      tf_eflags = 514, tf_esp = -510587392, tf_ss = -1072175260, 
      tf_vm86_es = 8, tf_vm86_ds = 3, tf_vm86_fs = -510587148, 
      tf_vm86_gs = -1071944120})
    at /sys/arch/i386/compile/EROS/../../../../arch/i386/i386/trap.c:276
#8  0xc0100cf4 in calltrap ()
#9  0xc017e764 in panic (fmt=0xc0235f00 "amap_lookups: offset out of range")
    at /sys/arch/i386/compile/EROS/../../../../kern/subr_prf.c:237
#10 0xc01b3ac2 in amap_lookups (aref=0xe18e3f70, offset=36864, 
    anons=0xe1910ef4, npages=8) at ../../../../uvm/uvm_amap_i.h:100
#11 0xc01b7407 in uvm_fault (orig_map=0xe18f2bcc, vaddr=1242243072, 
    fault_type=0, access_type=2)
    at /sys/arch/i386/compile/EROS/../../../../uvm/uvm_fault.c:721
#12 0xc01d19b0 in trap (frame={tf_gs = 43, tf_fs = 43, tf_es = 43, tf_ds = 43, 
      tf_edi = -29944834, tf_esi = 134636804, tf_ebp = -1077965140, 
      tf_ebx = 1213928004, tf_edx = 24602, tf_ecx = 1410990102, 
      tf_eax = 1242243070, tf_trapno = 6, tf_err = 6, tf_eip = 1210691896, 
      tf_cs = 35, tf_eflags = 66118, tf_esp = -1077965168, tf_ss = 43, 
      tf_vm86_es = 0, tf_vm86_ds = 0, tf_vm86_fs = 0, tf_vm86_gs = 0})
    at /sys/arch/i386/compile/EROS/../../../../arch/i386/i386/trap.c:548
#13 0xc0100cf4 in calltrap ()
can not access 0xbfbf8eac, invalid translation (invalid PDE)
can not access 0xbfbf8eac, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbf8eac

-- 
/~\ The ASCII
\ / Ribbon Campaign                   Sean Davis
 X  Against HTML                       aka dive
/ \ Email!

--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=EROS

# eros.endersgame.net kernel configuration [NetBSD 1.6I current i386]
# $egnet: EROS,v 1.98 2002/10/25 18:23:12 dive Exp $

machine 	i386

ident		"EROS"

maxusers	64

makeoptions	COPTS="-O2 -mcpu=i686 -march=i686 -pipe"
makeoptions	DEBUG="-g"

options		DEBUG
options		DDB
options 	I686_CPU
options 	EXEC_AOUT
options 	EXEC_ELF32
options 	EXEC_SCRIPT
options 	DUMMY_NOPS
options		KTRACE
options 	MTRR
options 	UCONSOLE
options 	RTC_OFFSET=0
options 	NTP
options 	SYSVMSG
options 	SYSVSEM
options		SYSVSHM
options		SEMMNI=256
options		SEMMNS=2048
options		SHMMAXPGS=131072
options		COMPAT_LINUX
options		NMBCLUSTERS=4096
options		USER_LDT
options 	QUOTA
options 	GATEWAY
options 	INET
options 	IPFILTER_LOG
options		IPFILTER_DEFAULT_BLOCK
options 	WSEMUL_VT100
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_COMPAT_RAWKBD
options		WSDISPLAY_CHARFUNCS
options 	XSERVER
options 	PCIBIOS
options		SOFTDEP
options		BUFPAGES=8192
options		LKM
options		SYSTRACE
options		INSECURE

file-system	FFS
file-system	MFS
file-system	CD9660
file-system	UNION

config		netbsd root on wd0a type ffs dumps on wd1b
mainbus0	at root
cpu0		at mainbus0
pci0		at mainbus0 bus 0
pchb0		at pci0 dev 0 function 0
agp0		at pchb0
ppb0		at pci0 dev 1 function 0
ppb1		at pci0 dev 11 function 0
pci1		at ppb0 bus 1
pci2		at ppb1 bus 2
pcib0		at pci0 dev 7 function 0
isa0		at pcib0
isapnp0		at isa0
npx0		at isa0 port 0xf0 irq 13
pckbc0		at isa0
pckbd0		at pckbc0
vga0		at pci1 dev 0 function 0
wsdisplay0	at vga0 console ?
wskbd0 		at pckbd0 console ?
com0		at isa0 port 0x3f8 irq 4
lpt0		at isa0 port 0x378 irq 7
fdc0		at isa0 port 0x3f0 irq 6 drq 2
pcppi0		at isa0 port 0x61
sysbeep0	at pcppi0
spkr0		at pcppi0
pciide0 	at pci0 dev 7 function 1 flags 0x0000
pciide1		at pci0 dev 13 function 0 flags 0x0000
atapibus0	at pciide0 channel 0
atapibus1	at pciide0 channel 1
wd0		at pciide1 channel 0 drive 0 flags 0x0000
wd1		at pciide1 channel 1 drive 0 flags 0x0000
cd0		at atapibus0 drive 0 flags 0x0000
cd1		at atapibus0 drive 1 flags 0x0000
cd2		at atapibus1 drive 0 flags 0x0000
fd0		at fdc0 drive 0
tl0		at pci2 dev 0 function 0
tl1		at pci2 dev 1 function 0
nsphy*		at mii? phy ?
tlphy*		at mii? phy ?
sb0		at isapnp0
audio0		at sb0
opl0		at sb0
uhci0		at pci0	dev 7 function 2
usb0		at uhci0
uhub0		at usb0
uhidev*		at uhub? port ? configuration ? interface ?
ums*		at uhidev? reportid ?
wsmouse*	at ums? mux 0

pseudo-device	vnd		2
pseudo-device	md		1
pseudo-device	bpfilter	4
pseudo-device	ipfilter
pseudo-device	loop
pseudo-device	pty
pseudo-device	rnd
pseudo-device	wsmux
pseudo-device	wsfont
pseudo-device	clockctl

--AhhlLboLdkugWU4S--