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>
index | next in thread | previous in thread | raw e-mail
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 = 0; apic id = 00 > fault virtual address = 0x8d78d0c > fault code = supervisor read, page not present > instruction pointer = 0x21:0xc00cbe2f > stack pointer = 0x29:0xe553f9e0 > frame pointer = 0x29:0xe553f9f8 > code segment = base 0x0, limit 0xf9800, type 0x1b > = DPL 1, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 7297 (sendmail) > [thread pid 7297 tid 100067 ] > Stopped at _mtx_lock_sleep+0x3f: movl 0x1a4(%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 /usr/ports/lang/ghc: >> ---- >> Fatal trap 12: page fault while in kernel mode >> cpuid = 0; apic id = 00 >> fault virtual address = 0x1a4 >> fault code = supervisor read, page not present >> instruction pointer = 0x21:0xc00cbe2f >> stack pointer = 0x29:0xc3db09e0 >> frame pointer = 0x29:0xc3db09f8 >> code segment = base 0x0, limit 0xf9800, type 0x1b >> = DPL 1, pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 0 >> current process = 19207 (sendmail) >> [thread pid 19207 tid 100049 ] >> Stopped at _mtx_lock_sleep+0x3f: movl 0x1a4(%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+0x121 >> ip_output(c4368700,0,0,0,0,...) at ip_output+0x98e >> tcp_output(c42a39e0,c3f6ac70,c3db0c30,c00c8853,c42a39e0,...) at tcp_output+0x14bf >> tcp_ctloutput(c41b6338,c3f6ac70,c41e8c80,c41b6338,c3db0c70,...) at tcp_ctloutput+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 = 0x283bd0cb, esp = 0xbf7fad0c, ebp = 0xbf7faf38 --- >> ---- >> >> >> DomU details >> FreeBSD 8.1-RELEASE-p1 #11 >> kernel config: /usr/src/sys/XEN i386 >> xen config: >> ---- >> kernel = "/var/lib/xen/images/kernel.FDvzVcWQzfgX" >> memory = "1504" >> name = "FDvzVcWQzfgX" >> vcpus = "1" >> vid = "7" >> >> vif = [ 'mac=00:16:3e:bf:2e:2e, bridge=xenbr0, ip=0.0.0.0, vifname=FDvzVcWQzfgX, rate=0Mb/s' ] >> disk = [ 'phy:/dev/iscsi_0_7,sda,w', 'phy:/dev/iscsi_0_127,sdb,w' ] >> >> extra = "boot_verbose=1" >> extra += ",vfs.root.mountfrom=ufs:/dev/da0" >> extra += ",kern.hz=100"---- >> >> >> 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:23 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" >help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikY7V-yRn5XZPE33WAmVGquOzKr0PzA=o2ZzB%2BB>
