From owner-freebsd-virtualization@FreeBSD.ORG Mon Nov 16 09:48:17 2009 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 47CDF1065672 for ; Mon, 16 Nov 2009 09:48:17 +0000 (UTC) (envelope-from costa@di.uminho.pt) Received: from marco.uminho.pt (marco.uminho.pt [193.136.9.240]) by mx1.freebsd.org (Postfix) with ESMTP id 7384F8FC17 for ; Mon, 16 Nov 2009 09:48:16 +0000 (UTC) Received: from [193.136.9.174] (dhcp-34.uminho.pt [193.136.9.174]) by marco.uminho.pt (8.12.5/8.12.5) with ESMTP id nAG9Ute9354539; Mon, 16 Nov 2009 09:30:55 GMT Message-ID: <4B011BC4.8050302@di.uminho.pt> Date: Mon, 16 Nov 2009 09:30:44 +0000 From: Antonio Costa Organization: Departamento de =?ISO-8859-1?Q?Inform=E1tica/Universidade_?= =?ISO-8859-1?Q?do_Minho?= User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Marko Zec References: <7401C27DF540DA4D83B9B35C541825E3E97426@MCHP7I5A.ww902.siemens.n et> <200911111423.39501.zec@icir.org> In-Reply-To: <200911111423.39501.zec@icir.org> X-Enigmail-Version: 0.96.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2E9D7C8ACD6E3BF5D6B87159" Cc: freebsd-virtualization@freebsd.org Subject: Re: Imunes and FreeBSD 8.0 RC2 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: Mon, 16 Nov 2009 09:48:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2E9D7C8ACD6E3BF5D6B87159 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Marko Zec wrote: > here's the procedure which should be sufficient to get IMUNES up and ru= nning=20 > on FreeBSD 8.0-RC3 (I've tested this on amd64, but i386 should work as = well): Hello Marko, I followed the procedure on a i386 with success!! I am very happy with my first Free BSD 8.0 RC3 with IMUNES!! It looks very good! Congratulations on your excellent work!! I use IMUNES since the very beginning (FreeBSD 4.11), over the last 4-5 years. I have found a little thing not yet compatible with new version, but with simple solution: the cpu line on imunes.imn files. Old files or new ones with quagga generated configs have a line "cpu ..." that is passed to "vimage -m" that reports a "no such file" error: =3D=3D=3D=3D=3D Example.imn =3D=3D=3D=3D=3D=3D=3D=3D 1. node n0 { 2. type router 3. cpu {{min 0} {max 100} {weight 1}} 4. model quagga 5. network-config { 6. hostname n0 7 ! Line 3 is the unsupported jail parameter that Imunes.tcl reports has: --------------------------------------------------------------------- Error: No such file or directory Error: No such file or directory while executing "exec vimage -m i0b5b0.n0 cpumin 0" ("eval" body line 1) My current solution is to comment out lines 297-305 of exec.tcl file: --------------------------------------------------------------------- # if { $cpumin !=3D "" } { # nexec vimage -m $node_id cpumin $cpumin # } # if { $cpumax !=3D "" } { # nexec vimage -m $node_id cpumax $cpumax # } # if { $cpuweight !=3D "" } { # nexec vimage -m $node_id cpuweight $cpuweight # } Many thanks for your excellent work! -- Ant=F3nio Duarte Costa --------------enig2E9D7C8ACD6E3BF5D6B87159 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJLARvLAAoJEEqNsXV89gdWhckIAJavMSk05gnNE//rezCceRA3 6NzW/lckLXTPAKOXtMbx+SsRTdcy9PWRDFX0bq82aEA9xoiBu8n2t8BXemv4oD8k iW3njfXat/Ywj0O7fn44KIk8SzCUUXUjoAtQOacDGU5++6x5Dt6J+kRBFXff5cHd 4YsKPNEmXwQdB7z4rSiSwnE9PgNDoEzUWdx965IWMwzcXWCDVBuOZZCJv5FimJ/u GGGUdZm9K3u9JOjyguNCO4vGPShaoBCnwxTQp95uBSP14qtYxUKOLtr9tfss6Otp N6vhRUjpe6A4+hqXWgHjimaDVkSwuZlFmXro/Ef+Ad3kNrNVd/+zwb4yZXWzlbs= =zmJU -----END PGP SIGNATURE----- --------------enig2E9D7C8ACD6E3BF5D6B87159-- From owner-freebsd-virtualization@FreeBSD.ORG Wed Nov 18 20:31:37 2009 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 541D01065670 for ; Wed, 18 Nov 2009 20:31:37 +0000 (UTC) (envelope-from jmnwong@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mx1.freebsd.org (Postfix) with ESMTP id D465C8FC14 for ; Wed, 18 Nov 2009 20:31:36 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so254808eye.9 for ; Wed, 18 Nov 2009 12:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=BOHJKwee9EKrq//dkeayA6Q3aAQz0ER+LsJUPZg8Zik=; b=WBfzC8ePKz8zkOsLC6wXBdBVt5fxEA9BRqhXENsm3QW+J0IGZ9hzFnbF5/1PkZ5e4x mNCgS7wY/yexWhE5Au1IYfH1ozn7fFGwVMBPoqZAx299UGK94aTnxOwQoG5TX/PrV5PX /mXH+CNr9H3gtSV2/lAm0ubXWpQyf4UlS6wqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TbwHvQXK4Ayy4d8bfnLHa6VTvKU2LRAGM1oQsq/3P2+p5sKYjaNGy2fPxk92K740+o FVRddqs9iLTQKAfNNFWbm2AoMERb3hpuI67zXD9WOB2zbJDNLkruXCf5uz/CDAq7lq+F mJxDJvpzUCmP7wfqKeRcujn+BrQh9g2vRXj6M= MIME-Version: 1.0 Received: by 10.213.0.132 with SMTP id 4mr556005ebb.8.1258574759436; Wed, 18 Nov 2009 12:05:59 -0800 (PST) Date: Wed, 18 Nov 2009 15:05:59 -0500 Message-ID: <66313f8d0911181205t4fccb9a1o1d1c346602813ba2@mail.gmail.com> From: Justin Wong To: freebsd-virtualization@freebsd.org X-Mailman-Approved-At: Thu, 19 Nov 2009 07:17:19 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Random Page Fault on Soekris 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: Wed, 18 Nov 2009 20:31:37 -0000 Hi all, I am currently running a snapshot of the vimage source (vimage_7_20090505.tgz) against FreeBSD 7.1 on a Soekris Net5501-70. I am running a small load on the Soekris board and periodically I will receive the following error: ---------- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x20:0xc068745b stack pointer = 0x28:0xc4362c18 frame pointer = 0x28:0xc4362c44 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 = 13 (swi4: clock sio) [thread pid 13 tid 100004 ] Stopped at send_pkt+0x1b: movl 0x8(%eax),%eax db> bt Tracing pid 13 tid 100004 td 0xc4439690 send_pkt(3437336e,2,c4439af0,c4439690,c4362c64,...) at send_pkt+0x1b ipfw_tick(c453b400,c4439690,0,c4362cbc,c05c1f93,...) at ipfw_tick+0x10e softclock(0,0,c0838d87,4a1,aa55aa55,...) at softclock+0x247 ithread_loop(c4436020,c4362d38,aa55aa55,aa55aa55,aa55aa55,...) at ithread_loop+0x1ab fork_exit(c05986f0,c4436020,c4362d38) at fork_exit+0x96 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0xc4362d70, ebp = 0 --- db> show registers cs 0x20 ds 0xc4430028 es 0xc4360028 fs 0x8 ss 0x28 eax 0 ecx 0x3065b7ee edx 0xc4b45598 ebx 0xc4b4557c esp 0xc4362c18 ebp 0xc4362c44 esi 0xc453b400 edi 0x70 eip 0xc068745b send_pkt+0x1b efl 0x10286 send_pkt+0x1b: movl 0x8(%eax),%eax ---------- Any ideas? Thanks, -J From owner-freebsd-virtualization@FreeBSD.ORG Thu Nov 19 07:22:46 2009 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 2A4B81065672 for ; Thu, 19 Nov 2009 07:22:46 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outT.internet-mail-service.net (outt.internet-mail-service.net [216.240.47.243]) by mx1.freebsd.org (Postfix) with ESMTP id 0FFB78FC13 for ; Thu, 19 Nov 2009 07:22:45 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id A362A14E049; Wed, 18 Nov 2009 23:22:46 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id 4E2B52D6014; Wed, 18 Nov 2009 23:22:45 -0800 (PST) Message-ID: <4B04F244.903@elischer.org> Date: Wed, 18 Nov 2009 23:22:44 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Justin Wong References: <66313f8d0911181205t4fccb9a1o1d1c346602813ba2@mail.gmail.com> In-Reply-To: <66313f8d0911181205t4fccb9a1o1d1c346602813ba2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: Random Page Fault on Soekris 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: Thu, 19 Nov 2009 07:22:46 -0000 Justin Wong wrote: > Hi all, > > I am currently running a snapshot of the vimage source > (vimage_7_20090505.tgz) against FreeBSD 7.1 on a Soekris Net5501-70. I am > running a small load on the Soekris board and periodically I will receive > the following error: > > > ---------- > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x8 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc068745b > stack pointer = 0x28:0xc4362c18 > frame pointer = 0x28:0xc4362c44 > 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 = 13 (swi4: clock sio) > [thread pid 13 tid 100004 ] > Stopped at send_pkt+0x1b: movl 0x8(%eax),%eax > > db> bt > Tracing pid 13 tid 100004 td 0xc4439690 > send_pkt(3437336e,2,c4439af0,c4439690,c4362c64,...) at send_pkt+0x1b > ipfw_tick(c453b400,c4439690,0,c4362cbc,c05c1f93,...) at ipfw_tick+0x10e > softclock(0,0,c0838d87,4a1,aa55aa55,...) at softclock+0x247 > ithread_loop(c4436020,c4362d38,aa55aa55,aa55aa55,aa55aa55,...) at > ithread_loop+0x1ab > fork_exit(c05986f0,c4436020,c4362d38) at fork_exit+0x96 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0, eip = 0, esp = 0xc4362d70, ebp = 0 --- > > db> show registers > cs 0x20 > ds 0xc4430028 > es 0xc4360028 > fs 0x8 > ss 0x28 > eax 0 > ecx 0x3065b7ee > edx 0xc4b45598 > ebx 0xc4b4557c > esp 0xc4362c18 > ebp 0xc4362c44 > esi 0xc453b400 > edi 0x70 > eip 0xc068745b send_pkt+0x1b > efl 0x10286 > send_pkt+0x1b: movl 0x8(%eax),%eax I'm running a -current (as of a month or so ago) on a 5501 with teh standard new vimage code. I do not use the vimage part of it much (just for testing) but I have not seen this error. 7.1 based vimage will be probably not developed much more soit may be worth switching to -current which has it built in. ipfw was re-ported to vimage in -current to support new features. Julian