From owner-freebsd-virtualization@FreeBSD.ORG Sat May 24 12:20:01 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 E915610656C3 for ; Sat, 24 May 2008 12:20:01 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 7300F8FC14 for ; Sat, 24 May 2008 12:20:01 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 8963041C74D for ; Sat, 24 May 2008 14:00:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id B-jSFqsaa-ut for ; Sat, 24 May 2008 14:00:06 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 12B8241C756; Sat, 24 May 2008 14:00:06 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id B74B044487F for ; Sat, 24 May 2008 11:58:07 +0000 (UTC) Date: Sat, 24 May 2008 11:58:07 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: freebsd-virtualization@freebsd.org Message-ID: <20080524114832.T65662@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Welcome to freebsd-virtualization 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 12:20:02 -0000 Hi, the main purpose for freebsd-virtualization is going to be: A list to discuss the various virtualization techniques FreeBSD supports. On one hand the focus will be on the implementation of the basic functionality as well as adding new features. On the other hand users will have a forum to ask for help in case of problems or to discuss their use cases. !!! !!! !!! However for the next months it will be purely used to discuss the technical details of bringing vimage into the FreeBSD tree. During this time neither bikesheds nor discussions of one virtualization technique over the overs are welcome. So please refrain from starting threads like those. !!! !!! !!! Once the basic vimage framework will be in the src tree, I'll send a follow-up posting to this list and to others and we will try to fold all jail, xen, vimage, ... discussions into this single list as a lot of people seem to use more than one technique. By that time the list will be open to discuss all relevant subjects. It will then also help to better coordinate efforts to avoid duplication of work and enhance user experience as people familiar with the different methods will be around. Greetings Bjoern -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. From owner-freebsd-virtualization@FreeBSD.ORG Sat May 24 15:30:55 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 34A5B106567B; Sat, 24 May 2008 15:30:55 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 44C828FC24; Sat, 24 May 2008 15:30:54 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <483834AD.9050208@FreeBSD.org> Date: Sat, 24 May 2008 17:30:53 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Julian Elischer , "Bjoern A. Zeeb" , Marko Zec , freebsd-virtualization@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 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 15:30:55 -0000 I tried to boot a kernel taken from the vimage p4 branch, but it panics when starting lockd during multiuser boot: 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 --- From owner-freebsd-virtualization@FreeBSD.ORG Sat May 24 21:11:51 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 711081065675; Sat, 24 May 2008 21:11:51 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7E7008FC17; Sat, 24 May 2008 21:11:50 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48388496.8090707@FreeBSD.org> Date: Sat, 24 May 2008 23:11:50 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Julian Elischer References: <483834AD.9050208@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:11:51 -0000 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. 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 --- > > From owner-freebsd-virtualization@FreeBSD.ORG Sat May 24 21:12:48 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 C68FD106566C for ; Sat, 24 May 2008 21:12:47 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outK.internet-mail-service.net (outk.internet-mail-service.net [216.240.47.234]) by mx1.freebsd.org (Postfix) with ESMTP id 5EC8B8FC0A for ; Sat, 24 May 2008 21:12:42 +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 7935823EB; Sat, 24 May 2008 14:00:51 -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 066432D600D; Sat, 24 May 2008 14:00:50 -0700 (PDT) Message-Id: From: Julian Elischer To: Kris Kennaway In-Reply-To: <483834AD.9050208@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:00:50 -0700 References: <483834AD.9050208@FreeBSD.org> X-Mailer: Apple Mail (2.919.2) X-Mailman-Approved-At: Sat, 24 May 2008 21:20:23 +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:12:48 -0000 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? > > > 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 --- 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 ---