From owner-freebsd-xen@FreeBSD.ORG Tue Oct 26 03:22:45 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FFD0106564A for ; Tue, 26 Oct 2010 03:22:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 005018FC12 for ; Tue, 26 Oct 2010 03:22:44 +0000 (UTC) Received: by wyb42 with SMTP id 42so4053066wyb.13 for ; Mon, 25 Oct 2010 20:22:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=b6kBD865mzXplS+/ZtAE3DxpHjOjvLfaAensaYNA09o=; b=SkQb7IVFRj87LR1NWvEkA+5SaQT2PPlcUOdUEGP7n6LLBteLFLobp8KI53sEK9AAaI yH7TsAgagD42QBEmTQ2OFb1ODTsiebVIYMlUfk9R38bvWUaZz7eXjw1hQpLN75LgkBCa ksN830ENnqVmSQaUJh0DwKXikC3OTt3bWr4OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=E9Trlakx8nvKmYj3ktM5RYZ9kJiozlhnCVnOsQu3mCTUorWD4aaGmOlaV8Ea6Uf6wG x40cVVgCmcFliFeUObs+sus08Utn2yALxH2yPE/oBLm8N2UCqSC8DtiWMPRubGFyTC+l nls9a37dEyYpTQJDdPRyYNbcv9Q2mUTFQ1+9s= MIME-Version: 1.0 Received: by 10.216.24.199 with SMTP id x49mr6935397wex.109.1288063362079; Mon, 25 Oct 2010 20:22:42 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.230.32 with HTTP; Mon, 25 Oct 2010 20:22:42 -0700 (PDT) In-Reply-To: <03612FFF-0EAD-41AA-A38E-AA0FC97994CB@onapp.com> References: <87DE6A79-9773-4F01-B754-39CECF00FB1E@onapp.com> <03612FFF-0EAD-41AA-A38E-AA0FC97994CB@onapp.com> Date: Tue, 26 Oct 2010 11:22:42 +0800 X-Google-Sender-Auth: t7zWYjp_PwWsw7jd9AhXt2KZ6rg Message-ID: From: Adrian Chadd To: Yuriy Kohut Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-xen@freebsd.org Subject: Re: FreeBSD 8.1-RELEASE-p1 #11 i386 DomU fault in kernel at _mtx_lock_sleep() X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2010 03:22:45 -0000 I suggest looking at my reply earlier to get gdb-xenserver going and then try to do a bit of kernel debugging. Sorry I can't be any further help at the moment. I hope someone else can assist you! Adrian On 25 October 2010 23:48, Yuriy Kohut wrote: > The issue is 100% reproducible. Just got it ones more: > > Fatal trap 12: page fault while in kernel mode > cpuid =3D 0; apic id =3D 00 > fault virtual address =A0 =3D 0x8d78d0c > fault code =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not prese= nt > instruction pointer =A0 =A0 =3D 0x21:0xc00cbe2f > stack pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xe553f9e0 > frame pointer =A0 =A0 =A0 =A0 =A0 =3D 0x29:0xe553f9f8 > code segment =A0 =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xf9800, type 0x1= b > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D DPL 1, pres 1, def32 1= , gran 1 > processor eflags =A0 =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 > current process =A0 =A0 =A0 =A0 =3D 7297 (sendmail) > [thread pid 7297 tid 100067 ] > Stopped at =A0 =A0 =A0_mtx_lock_sleep+0x3f: =A0 movl =A0 =A00x1a4(%ecx),%= eax > --- > Yura > > On Oct 25, 2010, at 5:59 PM, Yuriy Kohut wrote: > >> Hi, >> >> Just got fault in kernel while running 'make' in the port =A0/usr/ports/= lang/ghc: >> ---- >> Fatal trap 12: page fault while in kernel mode >> cpuid =3D 0; apic id =3D 00 >> fault virtual address =3D 0x1a4 >> fault code =A0 =A0 =A0 =A0 =A0 =A0=3D supervisor read, page not present >> instruction pointer =A0 =3D 0x21:0xc00cbe2f >> stack pointer =A0 =A0 =A0 =A0 =3D 0x29:0xc3db09e0 >> frame pointer =A0 =A0 =A0 =A0 =3D 0x29:0xc3db09f8 >> code segment =A0 =A0 =A0 =A0 =A0=3D base 0x0, limit 0xf9800, type 0x1b >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D DPL 1, pres 1, def32 1, = gran 1 >> processor eflags =A0 =A0 =A0=3D interrupt enabled, resume, IOPL =3D 0 >> current process =A0 =A0 =A0 =A0 =A0 =A0 =A0 =3D 19207 (sendmail) >> [thread pid 19207 tid 100049 ] >> Stopped at =A0 =A0 =A0_mtx_lock_sleep+0x3f: =A0 movl =A0 =A00x1a4(%ecx),= %eax >> >> >> db> where >> Tracing pid 19207 tid 100049 td 0xc41e8c80 >> _mtx_lock_sleep(c079d808,c41e8c80,0,0,0,...) at _mtx_lock_sleep+0x3f >> netisr_clearqdrops(c3db0a34,0,c4368700,c3db0a50,c018f210,...) at netisr_= clearqdrops+0x34e >> netisr_queue_src(1,0,c4368700,c3db0a78,c018a5a6,...) at netisr_queue_src= +0x38 >> netisr_queue(1,c4368700,c3db0b04,c3db0b0c,c3db0a8c,...) at netisr_queue+= 0x20 >> if_simloop(c3f6b400,c4368700,2,0,c01a77df,...) at if_simloop+0xe6 >> looutput(c3f6b400,c4368700,c3db0b0c,c3db0b04,c3db0ac8,...) at looutput+0= x121 >> ip_output(c4368700,0,0,0,0,...) at ip_output+0x98e >> tcp_output(c42a39e0,c3f6ac70,c3db0c30,c00c8853,c42a39e0,...) at tcp_outp= ut+0x14bf >> tcp_ctloutput(c41b6338,c3f6ac70,c41e8c80,c41b6338,c3db0c70,...) at tcp_c= tloutput+0x2233 >> soconnect(c41b6338,c3f6ac70,c41e8c80,bf7fae70,c3f6ac70,...) at soconnect= +0x52 >> kern_connect(c41e8c80,6,c3f6ac70,c3f6ac70,0,...) at kern_connect+0xa6 >> connect(c41e8c80,c3db0d08,c0324244,c3db0020,16,...) at connect+0x46 >> syscall(c3db0d48) at syscall+0x2d3 >> Xint0x80_syscall() at Xint0x80_syscall+0x22 >> --- syscall (98, FreeBSD ELF32, connect), eip =3D 0x283bd0cb, esp =3D 0x= bf7fad0c, ebp =3D 0xbf7faf38 --- >> ---- >> >> >> DomU details >> FreeBSD 8.1-RELEASE-p1 #11 >> kernel config: /usr/src/sys/XEN i386 >> xen config: >> ---- >> kernel =3D "/var/lib/xen/images/kernel.FDvzVcWQzfgX" >> memory =3D "1504" >> name =3D "FDvzVcWQzfgX" >> vcpus =3D "1" >> vid =3D "7" >> >> vif =3D [ 'mac=3D00:16:3e:bf:2e:2e, bridge=3Dxenbr0, ip=3D0.0.0.0, vifna= me=3DFDvzVcWQzfgX, rate=3D0Mb/s' ] >> disk =3D [ 'phy:/dev/iscsi_0_7,sda,w', 'phy:/dev/iscsi_0_127,sdb,w' ] >> >> extra =3D "boot_verbose=3D1" >> extra +=3D ",vfs.root.mountfrom=3Dufs:/dev/da0" >> extra +=3D ",kern.hz=3D100"---- >> >> >> Dom0 details >> CentOS release 5.4 (Final) >> Linux hv9-a-chi.vps.net 2.6.18-164.15.1.el5xen #1 SMP Wed Mar 17 12:04:2= 3 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux >> xen-3.0.3-94.el5_4.3 >> >> >> Appreciate any assistance. >> Thanks >> --- >> Yura >> >> _______________________________________________ >> freebsd-xen@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-xen >> To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-xen@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-xen > To unsubscribe, send any mail to "freebsd-xen-unsubscribe@freebsd.org" >