From owner-freebsd-virtualization@FreeBSD.ORG Sat May 24 21:24:30 2008 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 101DE1065680 for ; Sat, 24 May 2008 21:24:30 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outA.internet-mail-service.net (outa.internet-mail-service.net [216.240.47.224]) by mx1.freebsd.org (Postfix) with ESMTP id 09B5A8FC13 for ; Sat, 24 May 2008 21:24:30 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id C2FC9237E; Sat, 24 May 2008 14:24:29 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 3FD882D600D; Sat, 24 May 2008 14:24:29 -0700 (PDT) Message-Id: From: Julian Elischer To: Kris Kennaway In-Reply-To: <48388496.8090707@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sat, 24 May 2008 14:24:29 -0700 References: <483834AD.9050208@FreeBSD.org> <48388496.8090707@FreeBSD.org> X-Mailer: Apple Mail (2.919.2) X-Mailman-Approved-At: Sat, 24 May 2008 21:26:16 +0000 Cc: "Bjoern A. Zeeb" , Marko Zec , freebsd-virtualization@FreeBSD.org Subject: Re: vimage kernel broken X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 21:24:30 -0000 On May 24, 2008, at 2:11 PM, Kris Kennaway wrote: > Julian Elischer wrote: >> On May 24, 2008, at 8:30 AM, Kris Kennaway wrote: >>> I tried to boot a kernel taken from the vimage p4 branch, but it >>> panics when starting lockd during multiuser boot: >> this is believable. >> Particularly as I see you are using IPv6 and I don't have IPv6 test >> facilities. >> nlm? hmm what were you doing? > > As mentioned, just booting the system with rpc.lockd enabled in > rc.conf. A kernel with IPv6 compiled in is all that's needed. I'll see if I can find a smoking gun. > > > Kris > >>> >>> >>> Kris >>> >>> ---- >>> Starting lockd. >>> >>> >>> Fatal trap 12: page fault while in kernel mode >>> cpuid = 0; apic id = 00 >>> fault virtual address = 0x0 >>> fault code = supervisor read, page not present >>> instruction pointer = 0x20:0xc08afb8e >>> stack pointer = 0x28:0xc6f3f8a8 >>> frame pointer = 0x28:0xc6f3f8fc >>> 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 = 764 (rpc.lockd) >>> [thread pid 764 tid 100047 ] >>> Stopped at sa6_recoverscope+0x7e: movl 0(%eax),%edi >>> db> wh >>> Tracing pid 764 tid 100047 td 0xc71cbcc0 >>> sa6_recoverscope(c71e0c00,1c,2,0,c82c0c4c,...) at sa6_recoverscope >>> +0x7e >>> in6_sockaddr(0,c6f3f930,1f8,0,0,...) at in6_sockaddr+0x6d >>> in6_getsockaddr(c833c318,c6f3f98c,c833c318,c6f3f9e8,c6f3f9a0,...) >>> at in6_getsockaddr+0x89 >>> in6_mapped_sockaddr >>> (c833c318,c6f3f98c,c71cbd64,c0afde50,c6f3f9a0,...) at >>> in6_mapped_sockaddr+0x5c >>> __rpc_socket2sockinfo(c833c318,c6f3f9e8,c0c09db4,4,c0ad9548,...) >>> at __rpc_socket2sockinfo+0x28 >>> clnt_dg_create(c833c318,c6f3faa4,186a0,4,0,...) at clnt_dg_create >>> +0x3f >>> nlm_get_rpc(c6f3fc04,1c,2,0,c7080800,...) at nlm_get_rpc+0xb8 >>> nlm_syscall(c71cbcc0,c6f3fcfc,10,c71cbcc0,c0b93370,...) at >>> nlm_syscall+0x227 >>> syscall(c6f3fd38) at syscall+0x2a3 >>> Xint0x80_syscall() at Xint0x80_syscall+0x20 >>> --- syscall (154, FreeBSD ELF32, nlm_syscall), eip = 0x280e315b, >>> esp = 0xbfbfedbc, ebp = 0xbfbfee88 ---