Date: Sun, 1 Aug 1999 09:22:06 -0700 (PDT) From: peter@holm.cc To: freebsd-gnats-submit@freebsd.org Subject: kern/12910: Fatal trap 12: page fault in linux_misc.c:175 [PATCH] Message-ID: <19990801162206.0C10D14C0D@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 12910 >Category: kern >Synopsis: Fatal trap 12: page fault in linux_misc.c:175 [PATCH] >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 1 09:30:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Peter Holm >Release: current >Organization: Holm Computer Consulting >Environment: FreeBSD 4.0-CURRENT #2: Sun Aug 1 12:39:33 CEST 1999 pho@current.risby.dk:/usr/src/sys/compile/PHO >Description: FreeBSD 4.0-CURRENT #2: Sun Aug 1 12:39:33 CEST 1999 pho@current.risby.dk:/usr/src/sys/compile/PHO Sun Aug 1 12:45:03 CEST 1999 FreeBSD/i386 (current.risby.dk) (ttyd0) Fatal trap 12: page fault while in kernel mode fault virtual address = 0x77691a04 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0264f8f stack pointer = 0x10:0xc861ede0 frame pointer = 0x10:0xc861ee48 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 252 (syscall.linux) interrupt mask = none kernel: type 12 trap, code=0 Stopped at copystr+0x13: lodsb (%esi) db> trace copystr(c861ef04,c7c0c7e0,c861ee8c,c0a7eb50,77691a04) at copystr+0x13 _end(c7c0c7e0,c861ef80,77691a04,294f2086,754ed7a3) at 0xc0a7a21c syscall(2f,2f,2f,754ed7a3,294f2086) at syscall+0x182 Xint0x80_syscall() at Xint0x80_syscall+0x26 db> >How-To-Repeat: >Fix: *** sys/i386/linux/linux_misc.c~ Sat Jul 10 16:47:41 1999 --- sys/i386/linux/linux_misc.c Sun Aug 1 15:00:04 1999 *************** *** 172,178 **** locked = 0; vp = NULL; ! NDINIT(&ni, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, args->library, p); error = namei(&ni); if (error) goto cleanup; --- 172,178 ---- locked = 0; vp = NULL; ! NDINIT(&ni, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, args->library, p); error = namei(&ni); if (error) goto cleanup; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990801162206.0C10D14C0D>