From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 21 10:22:21 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0596B16A4CE; Thu, 21 Apr 2005 10:22:21 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B7DC43D41; Thu, 21 Apr 2005 10:22:19 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1DOYp7-000MI5-CA; Thu, 21 Apr 2005 13:22:17 +0300 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Danny Braniss In-Reply-To: Message from Danny Braniss Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 21 Apr 2005 13:22:17 +0300 From: Danny Braniss Message-ID: cc: current@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: panic: userret: Returning with 1 locks held. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2005 10:22:21 -0000 (moving this to current, since it's not amd64 specific). the followin is caused if unionfs is loaded, compiled into the kernel works ok (current 6.0): > with the latest kernel, the message changed somewhat, but the panic is > still there (this is an amd64): > > trap 12: page fault while in kernel mode > cpuid = 1; apic id = 01 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xffffffff8038e3f5 > stack pointer = 0x10:0xffffffffb280e7b0 > frame pointer = 0x10:0xffffffffb280e7e0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 241 (sh) > [thread pid 241 tid 100071 ] > Stopped at _mtx_lock_flags+0x35: cmpq $0x80779d40,0(%rdi) > db> tr > Tracing pid 241 tid 100071 td 0xffffff007ae25980 > _mtx_lock_flags() at _mtx_lock_flags+0x35 > exec_map_first_page() at exec_map_first_page+0x60 > kern_execve() at kern_execve+0x2a0 > execve() at execve+0x5d > syscall() at syscall+0x4ab > Xfast_syscall() at Xfast_syscall+0xa8 > --- syscall (59, FreeBSD ELF64, execve), rip = 0x80090630c, rsp = > 0x7fffffffcbf8, rbp = 0 --- > db> show lockedvnods > Locked vnodes > > 0xffffff0061a48000: tag union, type VREG > usecount 1, writecount 0, refcount 1 mountedhere 0 > flags (VV_TEXT) > lock type union: EXCL (count 1) by thread 0xffffff007ae25980 (pid 241) > vp=0xffffff0061a48000, uppervp=0, lowervp=0xffffff00626187e0 > union: lower > 0xffffff00626187e0: tag nfs, type VREG > usecount 1, writecount 0, refcount 3 mountedhere 0 > flags () > v_object 0xffffff007c3a87e0 ref 0 pages 1 > > fileid 47269 fsid 0x900ff01 > db> tr 241 > Tracing pid 241 tid 100071 td 0xffffff007ae25980 > _mtx_lock_flags() at _mtx_lock_flags+0x35 > exec_map_first_page() at exec_map_first_page+0x60 > kern_execve() at kern_execve+0x2a0 > execve() at execve+0x5d > syscall() at syscall+0x4ab > Xfast_syscall() at Xfast_syscall+0xa8 > --- syscall (59, FreeBSD ELF64, execve), rip = 0x80090630c, rsp = > 0x7fffffffcbf8, rbp = 0 --- > db> > > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" >