Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2010 11:22:42 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Yuriy Kohut <ykohut@onapp.com>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: FreeBSD 8.1-RELEASE-p1 #11 i386 DomU fault in kernel at _mtx_lock_sleep()
Message-ID:  <AANLkTikY7V-yRn5XZPE33WAmVGquOzKr0PzA=o2ZzB%2BB@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <ykohut@onapp.com> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikY7V-yRn5XZPE33WAmVGquOzKr0PzA=o2ZzB%2BB>