Subject: port-i386/4844: Linux emulation and amd cause a kernel panic together
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 01/20/1998 00:05:09
>Number:         4844
>Category:       port-i386
>Synopsis:       Linux emulation and amd cause a kernel panic together
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 19 15:20:02 1998
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        1.3
>Environment:
System: NetBSD lyssa 1.3 NetBSD 1.3 (LYSSA) #0: Thu Jan 1 20:56:59 MET 1998 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386

>Description:
When I recently tried to use "xplore" - Linux-i386 2.0.x ELF binary because
I have got Motif for Linux but not for NetBSD - under NetBSD 1.3 my system
drops into DDB with this message:

kernel: page fault trap, code=0
_nfs_enterdircache+0x84:	movl	%edx,0(%ecx)

A "trace" give this output:

_nfs_enterdircache+0x84
_nfs_bioread+0xc41
_nfs_readdir+0x79
_linux_sys_getdents+0x2a

After trying a few things out I could repeat the bug by accessing the
map directory of my auto mount daemon with a Linux "ls" binary, too.
It doesn't happen if I use either a NetBSD binary or a normal NFS
mounted directory.

>How-To-Repeat:
Use a Linux "ls" binary on a map directory of "amd".

>Fix:
Sorry, I don't know.
>Audit-Trail:
>Unformatted: