Subject: kern/12433: a linux emulation process cause kernel panic with NetBSD/i386 1.5S
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kawamoto@tenjin.org>
List: netbsd-bugs
Date: 03/19/2001 14:16:48
>Number:         12433
>Category:       kern
>Synopsis:       linux emulation cause kernel panic with NetBSD/i386 1.5S
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 18 21:25:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KAWAMOTO Yosihisa
>Release:        anonymous CVSed current sources
>Organization:
	tenjin.org
	Osaka Gakuin University, Japan
>Environment:
	Sony VAIO PCG-C1XF
	pkg: suse_linux-6.3 installed at Jan 30 2001
	  communicator-4.76 installed at Feb 21 2001
System: NetBSD rerun.tenjin.org 1.5S NetBSD 1.5S (RERUN) #326: Mon Mar 19 13:07:17 JST 2001 root@rerun.tenjin.org:/var/src/sys/arch/i386/compile/RERUN i386
Architecture: i386
Machine: i386
>Description:
	With a current kernel (1.5S) compiled with current sources
	that was anonymous-CVSed today,
	linux emulation cause a kernel panic like followings:
	(this netscape is a linux binary installed from
	pkgsrc `communicator-4.76')

$ netscape
uvm_fault(0xc0405b60, 0xdeadb000, 0, 1) -> e
kernel: page fault trap, code = 0
Stopped in pid 253(netsape) at linux_e_proc_exec+0x3b: movl 0xa4(%edx),%eax
db> trace
linux_e_proc_exec(cf78f730,0,cf7acf3c,c01778b8,cf78f730) at linux_e_proc_exec+0x3b
linux_e_proc_fork(cf78f730,cf78f568) at linux_e_proc_fork+0x18
fork1(cf78f568,0,14,0,0) at fork1+0x310
sys_fork(cf78f568,cf7acf88,cf7acf80) at sys_fork+0x1c
linux_syscall_plain(1f,1f,bfbfc6d8,bfbfda91,bfbfc6e0) at linux_syscall_plain+0x98
db>

>How-To-Repeat:
	run the linux emulation netscape pkg(netscape-4.76 or communicator-4.76)
>Fix:
	I don't know.  sorry.
>Release-Note:
>Audit-Trail:
>Unformatted:
 		from anoncvs.netbsd.org
 		at Mar 19 00:55 GMT 2001