From owner-freebsd-xen@FreeBSD.ORG Sun Feb 1 00:00:53 2009 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 89E601065752 for ; Sun, 1 Feb 2009 00:00:53 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 5A5098FC19 for ; Sun, 1 Feb 2009 00:00:53 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id g9so324654rvb.3 for ; Sat, 31 Jan 2009 16:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=1kH+LZ81XzeuRG2HSMjMC55fjSXsfcxNitKoS8NvKKg=; b=XJEN1JujeyLJHrAIhzDqRZR6WIsJjk9sfBXL/Cl/KpC6N2zSGJmUwa/iftS7F3I/5f XpKcowH1QgSjkz+2qmQ56q9sO1v5jn72wt9CWBLIyd+xMaZ+1kfB2xJdpgV4rW2Ovn90 7LmKDv0RWQWzbGABWQOEgi9P6uGwxvFTw+5NE= 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=DY0gyefuQgudyrXXKOCZ05A3F5Hrm6NT5K22G7JTv7g9I8M27+Y7Tdu85wDxit/C52 6SFr8Mz0dsCsOgoT2TeCiQv37cDnjD17qRb12IqbR0Z758Y2gp+/2ys0vRqbd2u1TlX3 K0v1KGDjiP4SMF6OaaN4ebSQNKRn/kJsk5UVE= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.106.14 with SMTP id i14mr1426842rvm.143.1233446452927; Sat, 31 Jan 2009 16:00:52 -0800 (PST) In-Reply-To: <1233444220.6549.19.camel@phoenix.blechhirn.net> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87d4e530iy.fsf@tabernacle.localnet> <3c1674c90901292015y103fbd5dv2cf87af39fe18b1d@mail.gmail.com> <1233444220.6549.19.camel@phoenix.blechhirn.net> Date: Sat, 31 Jan 2009 16:00:52 -0800 X-Google-Sender-Auth: b4a97828dfe93e9b Message-ID: <3c1674c90901311600t63183ee1x79e8d0a9e2b71b3f@mail.gmail.com> From: Kip Macy To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards 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: Sun, 01 Feb 2009 00:00:53 -0000 There is an svn mailing list that sends out mail on all updates. -Kip On Sat, Jan 31, 2009 at 3:23 PM, Mister Olli wrote: > Hi, > > is there some kind of notification when you commited changes to the XEN > code in HEAD? > > -- > Mr. Olli > > > Am Donnerstag, den 29.01.2009, 20:15 -0800 schrieb Kip Macy: >> I have some fundamental stability bugs I'm trying to fix right now. >> I'll fix that once these are addressed. >> >> -Kip >> >> >> >> >> On Thu, Jan 29, 2009 at 8:01 PM, Julian Stecklina wrote: >> > Mister Olli writes: >> > >> >> Hi, >> >> >> >> I've had time problems too. The clock did not go backwards, but forwards >> >> for some time sime, and then jumped back to a certain date. Like >> >> Sun Jan 25 00:55:12 UTC 2009 >> >> ... >> >> Sun Jan 25 01:08:35 UTC 2009 >> >> Sun Jan 25 00:55:12 UTC 2009 >> >> Sun Jan 25 00:55:13 UTC 2009 >> >> ... >> > >> > This is almost exactly the date my box reports... Strange. >> > >> >> It took me quite some time to find a solution that helped for me: >> >> - activate the independent_wallclock in domO by 'sysctl xen.independent_wallclock=1' >> > >> > I'll try to convince the admin of the box and report back. ;) But it >> > should really be properly fixed as it is quite a showstopper. I don't >> > dare to build ports on that box (or do anything else involving make...). >> > >> > Regards, >> > -- >> > Julian Stecklina >> > >> > Well, take it from an old hand: the only reason it would be easier to >> > program in C is that you can't easily express complex problems in C, >> > so you don't. - Erik Naggum (in comp.lang.lisp) >> > _______________________________________________ >> > 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" >> > > > From owner-freebsd-xen@FreeBSD.ORG Mon Feb 2 17:16:35 2009 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 B49951065670 for ; Mon, 2 Feb 2009 17:16:35 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6DBB68FC0A for ; Mon, 2 Feb 2009 17:16:35 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LU2PN-0007ST-UW for freebsd-xen@freebsd.org; Mon, 02 Feb 2009 17:16:29 +0000 Received: from 77.64.176.217 ([77.64.176.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Feb 2009 17:16:29 +0000 Received: from js by 77.64.176.217 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Feb 2009 17:16:29 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-xen@freebsd.org From: Julian Stecklina Date: Mon, 02 Feb 2009 18:16:20 +0100 Lines: 41 Message-ID: <87ljsokbdn.fsf@tabernacle.localnet> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 77.64.176.217 X-Archive: encrypt User-Agent: Gnus/5.1008 (Gnus v5.10.8) Cancel-Lock: sha1:IVDSAokuBrpl+dSQBWELC7iOZYw= Sender: news Subject: Re: Time goes backwards 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: Mon, 02 Feb 2009 17:16:36 -0000 Mister Olli writes: > Hi, > > I've had time problems too. The clock did not go backwards, but forwards > for some time sime, and then jumped back to a certain date. Like > Sun Jan 25 00:55:12 UTC 2009 > ... > Sun Jan 25 01:08:35 UTC 2009 > Sun Jan 25 00:55:12 UTC 2009 > Sun Jan 25 00:55:13 UTC 2009 > ... > > It took me quite some time to find a solution that helped for me: > - activate the independent_wallclock in domO by 'sysctl xen.independent_wallclock=1' I booted the DomU with machdep.independent_wallclock=1 as kernel parameter instead. But that didn't work. sysctl still reported it as 0. I've tried setting machdep.xen_disable_rtc_set and machdep.independent_wallclock after booting, but it does not help either. > - edit and configure '/etc/ntpd.conf' in domU > - edit '/etc/rc.conf' and add the following lines > # NTP stuff > ntpdate_enable="YES" > ntpdate_flags="-b " > ntpd_enable="YES" > - reboot domU > > If you try it on your problem, could you please give me some feedback if > it worked? Doesn't work. :-/ MfG, -- Julian Stecklina Well, take it from an old hand: the only reason it would be easier to program in C is that you can't easily express complex problems in C, so you don't. - Erik Naggum (in comp.lang.lisp) From owner-freebsd-xen@FreeBSD.ORG Tue Feb 3 05:37:00 2009 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 AD6251065675 for ; Tue, 3 Feb 2009 05:37:00 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2A28FC24 for ; Tue, 3 Feb 2009 05:37:00 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1952319rvf.43 for ; Mon, 02 Feb 2009 21:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=FjgQwZWm+NZOCpyCmC/EAx15ncfuwN2c4k8iX/i+ikY=; b=UsJbhtpz6Icg1QSruTtUO4M5xT/NCsAiy4NKzZPNdH1H5nWNoAIAvotoV5SIS77I2V pzFZBaUQ2gG3JHM4La26LpWk7LtCrzXL441YQGhTOhonN1yInaRwhqcoEDXzAvwZKGtk BHLDrelGjZGg+tMMBOF6VHrt0tc3FrwEHgYUY= 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=n2/O6edFUQuBqVyd/cmZcFQK9o3YLwY1IFw2HRWlQdqJMw7SEoHAQYkNSIF/thmH2M SsUyBFjBoTPUs6I465q6Cf9I+ku3yGycYBkyb3P9jcKULSML//j2ekZ1rntD/9AVGdDY +nxqytOZ9hF91vVljIXUzcWDbMJnL9HBej4Tg= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.82.20 with SMTP id j20mr226465rvl.67.1233639419898; Mon, 02 Feb 2009 21:36:59 -0800 (PST) In-Reply-To: <11276352.23661233243265678.JavaMail.root@zim.freshx.de> References: <11276352.23661233243265678.JavaMail.root@zim.freshx.de> Date: Mon, 2 Feb 2009 21:36:59 -0800 X-Google-Sender-Auth: b2f3d46a4aa1d9af Message-ID: <3c1674c90902022136t48eef4faic3cc091082b68432@mail.gmail.com> From: Kip Macy To: Kai Mosebach Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Instable 32bit domU on 64bit dom0 (w/Xen 3.3.1) 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, 03 Feb 2009 05:37:04 -0000 Hi Kai, This should be fixed by r188042. Interrupts need to be disabled on entry to the page fault handler or we risk being preempted prior to reading cr2 (the faulting address). There is still another fundamental stability bug whereby timer interrupts appear to sometimes be left disabled until another interrupt (console, network, disk) comes in at which point they're re-enabled. You may or may not hit that, I only have one configuration where I'm able to reproduce that issue. Cheers, Kip On Thu, Jan 29, 2009 at 7:34 AM, Kai Mosebach wrote: > Hi, > > i recently got my first FreeBSD 8 domU working and i am quite happy to see that there is eventually progress on the important Xen topic for FreeBSD. > Since this domU as a svn -head checkout from 23.01.09 still segfaults here and there i startet to rebuild the whole world with debugging symbols in the hope that the backtraces give more info's on where to find bugs. > > Here are the first results from several core files which hang around in the system after a world build and i hope the developers here can make more sense out of it than me. > > If you need further dumps/traces or have some advises how to go on from here, please let me know! > > Best Kai > > /usr/obj/usr/src/make.core > > Program terminated with signal 11, Segmentation fault. > #0 0x0804da01 in Cmd_Exec ( > cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", > error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 > 2713 if ((ps.child_pid = vfork()) == -1) { > (gdb) bt > #0 0x0804da01 in Cmd_Exec ( > cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", > error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 > #1 0x080544ed in Parse_DoVar (line=0x28128b00 "_MAKEOBJDIRPREFIX", > ctxt=0x2810e200) at /usr/src/usr.bin/make/parse.c:1520 > #2 0x08055a1a in Parse_File (name=0xbf7fdbf8 "/usr/src/Makefile", > stream=0x80a4960) at /usr/src/usr.bin/make/parse.c:2457 > #3 0x08051e68 in ReadMakefile (p=Variable "p" is not available. > ) at /usr/src/usr.bin/make/main.c:323 > #4 0x08051f24 in TryReadMakefile (p=0x8094744 "Makefile") > at /usr/src/usr.bin/make/main.c:342 > #5 0x080527c3 in main (argc=1, argv=0xbf7feddc) > at /usr/src/usr.bin/make/main.c:1209 > (gdb) > > > > /usr/src/sbin/atacontrol/sh.core > > Core was generated by `sh'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /lib/libedit.so.6...done. > Loaded symbols for /lib/libedit.so.6 > Reading symbols from /lib/libncurses.so.7...done. > Loaded symbols for /lib/libncurses.so.7 > Reading symbols from /lib/libc.so.7...done. > Loaded symbols for /lib/libc.so.7 > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at /usr/src/bin/sh/jobs.c:746 > 746 pid = fork(); > (gdb) bt > #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at /usr/src/bin/sh/jobs.c:746 > #1 0x0804d759 in evalcommand (cmd=0x28304d94, flags=0, backcmd=0x0) at /usr/src/bin/sh/eval.c:747 > #2 0x0804e725 in evaltree (n=0x28304d94, flags=0) at /usr/src/bin/sh/eval.c:267 > #3 0x0804e4ff in evaltree (n=0x28304da4, flags=0) at /usr/src/bin/sh/eval.c:238 > #4 0x0804e86c in evaltree (n=0x28304210, flags=0) at /usr/src/bin/sh/eval.c:341 > #5 0x0804eba7 in evalstring ( > s=0xbf7fea84 "for entry in adjkerntz atacontrol atm badsect bsdlabel camcontrol ccdconfig clri comcontrol conscontrol ddb devd devfs dhclient dmesg dump dumpfs dumpon fdisk ffsinfo fsck fsck_"...) at /usr/src/bin/sh/eval.c:169 > #6 0x08056d98 in main (argc=3, argv=0xbf7fe9a8) at /usr/src/bin/sh/main.c:181 > > > > > /usr/obj/usr/src/libexec/ftpd/make.core > > Program terminated with signal 11, Segmentation fault. > #0 0x080898bf in memset () > (gdb) bt > #0 0x080898bf in memset () > #1 0x0000000c in ?? () > #2 0x0806f8b2 in arena_malloc () > #3 0x0807106b in malloc () > #4 0x0805a2d1 in emalloc (len=256) at /usr/src/usr.bin/make/util.c:234 > #5 0x08049d3f in Buf_Init (size=0) at /usr/src/usr.bin/make/buf.c:184 > #6 0x0805a63a in VarCreate (name=0x2810d118 ".CURDIR", value=0xbf7fe0b6 "/usr/src/libexec/ftpd", flags=0) at /usr/src/usr.bin/make/var.c:214 > #7 0x0805a68d in VarAdd (name=0x2810d118 ".CURDIR", val=0xbf7fe0b6 "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:954 > #8 0x0805d2fc in Var_Set (name=0x809409d ".CURDIR", val=0xbf7fe0b6 "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:1009 > #9 0x0805d321 in Var_SetGlobal (name=0x809409d ".CURDIR", value=0xbf7fe0b6 "/usr/src/libexec/ftpd") at /usr/src/usr.bin/make/var.c:1035 > #10 0x0805243f in main (argc=3, argv=0xbf7fed74) at /usr/src/usr.bin/make/main.c:1115 > > > > /usr/obj/usr/src/usr.bin/telnet/as.core > > Program terminated with signal 11, Segmentation fault. > #0 0x080480d6 in _start () > (gdb) bt > #0 0x080480d6 in _start () > #1 0x00000003 in ?? () > _______________________________________________ > 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" > From owner-freebsd-xen@FreeBSD.ORG Tue Feb 3 13:58:30 2009 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 ECAF2106566C; Tue, 3 Feb 2009 13:58:30 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-bw0-f21.google.com (mail-bw0-f21.google.com [209.85.218.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA5F8FC20; Tue, 3 Feb 2009 13:58:29 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by bwz14 with SMTP id 14so1408747bwz.19 for ; Tue, 03 Feb 2009 05:58:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=qZ/5Fmn1F52j5ByrXsQDzIU3sWj+NMihn8MIWWokEUc=; b=bTX4vpq2CY2/ASJxtxNN07hnozMzXQAOhyojvj8hiTBY694TyZ5YOaFAvxxrJhetFe EhPC++Tjft3TeXYdSHElBT43SpuZA91tKNkma12PZU5x4kPZ21djQG1rLDHAgqz7HOl9 wYqB47qi6/iyOYMbY+SeJ98f/leg+RTQb175k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ObVOSSUwEBZqiFXe+O7r3SXP3V03tdChGkwGiwe9+D80evt7NZO0HXKMsmA3iJmbOk 3/RoOt9cZ9qf1X0+4caVZ8KBLk0G2oOA8j5KfFGVUgwthB3C7UV9Ek4UslH/qoqCMqsJ Ogue6qxIPw6Pnn9YqYC1M0SEotCDLxix96mS8= Received: by 10.223.115.131 with SMTP id i3mr2710689faq.95.1233669508766; Tue, 03 Feb 2009 05:58:28 -0800 (PST) Received: from ?10.30.1.196? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id 28sm4531369fkx.17.2009.02.03.05.58.27 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Feb 2009 05:58:28 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <3c1674c90902022136t48eef4faic3cc091082b68432@mail.gmail.com> References: <11276352.23661233243265678.JavaMail.root@zim.freshx.de> <3c1674c90902022136t48eef4faic3cc091082b68432@mail.gmail.com> Content-Type: text/plain Date: Tue, 03 Feb 2009 14:57:47 +0100 Message-Id: <1233669467.4832.6.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Instable 32bit domU on 64bit dom0 (w/Xen 3.3.1) X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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, 03 Feb 2009 13:58:31 -0000 Hi, > This should be fixed by r188042. Interrupts need to be disabled on > entry to the page fault handler or we risk being preempted prior to > reading cr2 (the faulting address). Sounds great. I will try to test it as soon as possible, since I ran in a lot of seg-faults during compiling world under Xen, too. > There is still another fundamental stability bug whereby timer > interrupts appear to sometimes be left disabled until another > interrupt (console, network, disk) comes in at which point they're > re-enabled. You may or may not hit that, I only have one configuration > where I'm able to reproduce that issue. Sounds like the problem I gave up using FreeBSD7 in Xen. My domU halted (does nothing but was running, even SSH sessions timed out) sometimes and the only way to get it back to work, was to hit a key on the console. I did a temporary fix by 'while (true); do echo "e"; sleep 10s; done | xm console ". -- Mr. Olli > > Cheers, > Kip > > > On Thu, Jan 29, 2009 at 7:34 AM, Kai Mosebach wrote: > > Hi, > > > > i recently got my first FreeBSD 8 domU working and i am quite happy to see that there is eventually progress on the important Xen topic for FreeBSD. > > Since this domU as a svn -head checkout from 23.01.09 still segfaults here and there i startet to rebuild the whole world with debugging symbols in the hope that the backtraces give more info's on where to find bugs. > > > > Here are the first results from several core files which hang around in the system after a world build and i hope the developers here can make more sense out of it than me. > > > > If you need further dumps/traces or have some advises how to go on from here, please let me know! > > > > Best Kai > > > > /usr/obj/usr/src/make.core > > > > Program terminated with signal 11, Segmentation fault. > > #0 0x0804da01 in Cmd_Exec ( > > cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", > > error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 > > 2713 if ((ps.child_pid = vfork()) == -1) { > > (gdb) bt > > #0 0x0804da01 in Cmd_Exec ( > > cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", > > error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 > > #1 0x080544ed in Parse_DoVar (line=0x28128b00 "_MAKEOBJDIRPREFIX", > > ctxt=0x2810e200) at /usr/src/usr.bin/make/parse.c:1520 > > #2 0x08055a1a in Parse_File (name=0xbf7fdbf8 "/usr/src/Makefile", > > stream=0x80a4960) at /usr/src/usr.bin/make/parse.c:2457 > > #3 0x08051e68 in ReadMakefile (p=Variable "p" is not available. > > ) at /usr/src/usr.bin/make/main.c:323 > > #4 0x08051f24 in TryReadMakefile (p=0x8094744 "Makefile") > > at /usr/src/usr.bin/make/main.c:342 > > #5 0x080527c3 in main (argc=1, argv=0xbf7feddc) > > at /usr/src/usr.bin/make/main.c:1209 > > (gdb) > > > > > > > > /usr/src/sbin/atacontrol/sh.core > > > > Core was generated by `sh'. > > Program terminated with signal 11, Segmentation fault. > > Reading symbols from /lib/libedit.so.6...done. > > Loaded symbols for /lib/libedit.so.6 > > Reading symbols from /lib/libncurses.so.7...done. > > Loaded symbols for /lib/libncurses.so.7 > > Reading symbols from /lib/libc.so.7...done. > > Loaded symbols for /lib/libc.so.7 > > Reading symbols from /libexec/ld-elf.so.1...done. > > Loaded symbols for /libexec/ld-elf.so.1 > > #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at /usr/src/bin/sh/jobs.c:746 > > 746 pid = fork(); > > (gdb) bt > > #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at /usr/src/bin/sh/jobs.c:746 > > #1 0x0804d759 in evalcommand (cmd=0x28304d94, flags=0, backcmd=0x0) at /usr/src/bin/sh/eval.c:747 > > #2 0x0804e725 in evaltree (n=0x28304d94, flags=0) at /usr/src/bin/sh/eval.c:267 > > #3 0x0804e4ff in evaltree (n=0x28304da4, flags=0) at /usr/src/bin/sh/eval.c:238 > > #4 0x0804e86c in evaltree (n=0x28304210, flags=0) at /usr/src/bin/sh/eval.c:341 > > #5 0x0804eba7 in evalstring ( > > s=0xbf7fea84 "for entry in adjkerntz atacontrol atm badsect bsdlabel camcontrol ccdconfig clri comcontrol conscontrol ddb devd devfs dhclient dmesg dump dumpfs dumpon fdisk ffsinfo fsck fsck_"...) at /usr/src/bin/sh/eval.c:169 > > #6 0x08056d98 in main (argc=3, argv=0xbf7fe9a8) at /usr/src/bin/sh/main.c:181 > > > > > > > > > > /usr/obj/usr/src/libexec/ftpd/make.core > > > > Program terminated with signal 11, Segmentation fault. > > #0 0x080898bf in memset () > > (gdb) bt > > #0 0x080898bf in memset () > > #1 0x0000000c in ?? () > > #2 0x0806f8b2 in arena_malloc () > > #3 0x0807106b in malloc () > > #4 0x0805a2d1 in emalloc (len=256) at /usr/src/usr.bin/make/util.c:234 > > #5 0x08049d3f in Buf_Init (size=0) at /usr/src/usr.bin/make/buf.c:184 > > #6 0x0805a63a in VarCreate (name=0x2810d118 ".CURDIR", value=0xbf7fe0b6 "/usr/src/libexec/ftpd", flags=0) at /usr/src/usr.bin/make/var.c:214 > > #7 0x0805a68d in VarAdd (name=0x2810d118 ".CURDIR", val=0xbf7fe0b6 "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:954 > > #8 0x0805d2fc in Var_Set (name=0x809409d ".CURDIR", val=0xbf7fe0b6 "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:1009 > > #9 0x0805d321 in Var_SetGlobal (name=0x809409d ".CURDIR", value=0xbf7fe0b6 "/usr/src/libexec/ftpd") at /usr/src/usr.bin/make/var.c:1035 > > #10 0x0805243f in main (argc=3, argv=0xbf7fed74) at /usr/src/usr.bin/make/main.c:1115 > > > > > > > > /usr/obj/usr/src/usr.bin/telnet/as.core > > > > Program terminated with signal 11, Segmentation fault. > > #0 0x080480d6 in _start () > > (gdb) bt > > #0 0x080480d6 in _start () > > #1 0x00000003 in ?? () > > _______________________________________________ > > 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 From owner-freebsd-xen@FreeBSD.ORG Tue Feb 3 19:00:22 2009 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 A0C921065749 for ; Tue, 3 Feb 2009 19:00:22 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f17.google.com (mail-fx0-f17.google.com [209.85.220.17]) by mx1.freebsd.org (Postfix) with ESMTP id 01C038FC14 for ; Tue, 3 Feb 2009 19:00:21 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm10 with SMTP id 10so14480fxm.19 for ; Tue, 03 Feb 2009 11:00:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=Ti5zmXYcwI7IYVkvrTFIGYCwo33OoO7aXdNdmnCl2WE=; b=HR4+xMmT3Db953qLz6wCBJ94rmMEGpTrseQ60+26AGhvjhcUSEps0hWZI15nFtFCM7 Vz4LoOAmmhq+cqFiMzYZt/zj7IX1fcx9da+AIH6Ae4LA+m/nordaMnwrwGlr4fweOlrj uqJs5O+Q7IbjNhqcJW14hzwgeieYFjXCSdTnE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=VV75AwanFh7Iop/Rm6McOccVn/aaMoZHU1DYUcGg3okuuiEBunc8pb1mRcXYg/WUyy sA6yaDzEliFOcOGJFiZ1/yeIHdL/J8kfcLtW1uFH3XAsqkl2Up8Y/t256zDKmzV6/itN SOTBHtLuAo+gss8129NOXABWqGsMnNWUOK3D8= Received: by 10.181.206.7 with SMTP id i7mr343885bkq.126.1233687620898; Tue, 03 Feb 2009 11:00:20 -0800 (PST) Received: from ?10.30.1.196? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id y15sm6271145fkd.32.2009.02.03.11.00.20 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Feb 2009 11:00:20 -0800 (PST) From: Mister Olli To: freebsd-xen@freebsd.org Content-Type: text/plain Date: Tue, 03 Feb 2009 19:59:39 +0100 Message-Id: <1233687579.4832.11.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Subject: 8-CURRENT does not build without WITNESS activated X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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, 03 Feb 2009 19:00:23 -0000 Hi. I'm currently unable to build the 8-CURRENT kernel in a PV domU, without "options WITNESS" in my kernel config. The output is the following: ====================================================== make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector In file included from /usr/src/sys/dev/xen/netfront/netfront.c:32: /usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined, include before " mkdep: compile failed *** Error code 1 Stop in /usr/obj/usr/src/sys/XEN. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. template_8-CURRENT# ====================================================== -- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Wed Feb 4 10:20:39 2009 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 BD9CE106568B for ; Wed, 4 Feb 2009 10:20:39 +0000 (UTC) (envelope-from kai@freshx.de) Received: from zim.freshx.de (zim.freshx.de [83.137.99.113]) by mx1.freebsd.org (Postfix) with ESMTP id 2F3B48FC16 for ; Wed, 4 Feb 2009 10:20:38 +0000 (UTC) (envelope-from kai@freshx.de) Received: from localhost (localhost.localdomain [127.0.0.1]) by zim.freshx.de (Postfix) with ESMTP id A1F428C01A5; Wed, 4 Feb 2009 11:20:37 +0100 (CET) X-Virus-Scanned: amavisd-new at zim.freshx.de Received: from zim.freshx.de ([127.0.0.1]) by localhost (zim.freshx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5ogl7NvOltOn; Wed, 4 Feb 2009 11:20:35 +0100 (CET) Received: from [192.168.0.123] (e176255046.adsl.alicedsl.de [85.176.255.46]) by zim.freshx.de (Postfix) with ESMTP id 1D4048C0106; Wed, 4 Feb 2009 11:20:34 +0100 (CET) User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Wed, 04 Feb 2009 11:20:33 +0100 From: Kai Mosebach To: Kip Macy Message-ID: Thread-Topic: Instable 32bit domU on 64bit dom0 (w/Xen 3.3.1) Thread-Index: AcmGsjZLq90JRpfuzE+p9Y4rx6VraA== In-Reply-To: <3c1674c90902022136t48eef4faic3cc091082b68432@mail.gmail.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Instable 32bit domU on 64bit dom0 (w/Xen 3.3.1) 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: Wed, 04 Feb 2009 10:20:40 -0000 Hi Kip, After rebuilding the kernel (which improved stability by roughly 80%) and rebuilding world (which improved stability by another 19% ;) the userland seems to be much more stable now! Kernel wise I hit the bug you described below at every bootup/shutdown and the first hit of a key on the console, but the system keeps running afterwards... Booting with 2 CPUs is still ending up in Spanic: blockable sleep lock (sleep mutex) XCONS LOCK @ dev/xen/console/console.c:290 cpuid = 1 KDB: enter: panic [thread pid 11 tid 100003 ] Stopped at kdb_enter+0x3a: movl $0,kdb_why Anyway, thanks for your effort! Kai On 2/3/09 6:36 AM, "Kip Macy" wrote: > Hi Kai, > > This should be fixed by r188042. Interrupts need to be disabled on > entry to the page fault handler or we risk being preempted prior to > reading cr2 (the faulting address). > > There is still another fundamental stability bug whereby timer > interrupts appear to sometimes be left disabled until another > interrupt (console, network, disk) comes in at which point they're > re-enabled. You may or may not hit that, I only have one configuration > where I'm able to reproduce that issue. > > Cheers, > Kip > > > On Thu, Jan 29, 2009 at 7:34 AM, Kai Mosebach wrote: >> Hi, >> >> i recently got my first FreeBSD 8 domU working and i am quite happy to see >> that there is eventually progress on the important Xen topic for FreeBSD. >> Since this domU as a svn -head checkout from 23.01.09 still segfaults here >> and there i startet to rebuild the whole world with debugging symbols in the >> hope that the backtraces give more info's on where to find bugs. >> >> Here are the first results from several core files which hang around in the >> system after a world build and i hope the developers here can make more sense >> out of it than me. >> >> If you need further dumps/traces or have some advises how to go on from here, >> please let me know! >> >> Best Kai >> >> /usr/obj/usr/src/make.core >> >> Program terminated with signal 11, Segmentation fault. >> #0 0x0804da01 in Cmd_Exec ( >> cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make >> __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", >> error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 >> 2713 if ((ps.child_pid = vfork()) == -1) { >> (gdb) bt >> #0 0x0804da01 in Cmd_Exec ( >> cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make >> __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", >> error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 >> #1 0x080544ed in Parse_DoVar (line=0x28128b00 "_MAKEOBJDIRPREFIX", >> ctxt=0x2810e200) at /usr/src/usr.bin/make/parse.c:1520 >> #2 0x08055a1a in Parse_File (name=0xbf7fdbf8 "/usr/src/Makefile", >> stream=0x80a4960) at /usr/src/usr.bin/make/parse.c:2457 >> #3 0x08051e68 in ReadMakefile (p=Variable "p" is not available. >> ) at /usr/src/usr.bin/make/main.c:323 >> #4 0x08051f24 in TryReadMakefile (p=0x8094744 "Makefile") >> at /usr/src/usr.bin/make/main.c:342 >> #5 0x080527c3 in main (argc=1, argv=0xbf7feddc) >> at /usr/src/usr.bin/make/main.c:1209 >> (gdb) >> >> >> >> /usr/src/sbin/atacontrol/sh.core >> >> Core was generated by `sh'. >> Program terminated with signal 11, Segmentation fault. >> Reading symbols from /lib/libedit.so.6...done. >> Loaded symbols for /lib/libedit.so.6 >> Reading symbols from /lib/libncurses.so.7...done. >> Loaded symbols for /lib/libncurses.so.7 >> Reading symbols from /lib/libc.so.7...done. >> Loaded symbols for /lib/libc.so.7 >> Reading symbols from /libexec/ld-elf.so.1...done. >> Loaded symbols for /libexec/ld-elf.so.1 >> #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at >> /usr/src/bin/sh/jobs.c:746 >> 746 pid = fork(); >> (gdb) bt >> #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at >> /usr/src/bin/sh/jobs.c:746 >> #1 0x0804d759 in evalcommand (cmd=0x28304d94, flags=0, backcmd=0x0) at >> /usr/src/bin/sh/eval.c:747 >> #2 0x0804e725 in evaltree (n=0x28304d94, flags=0) at >> /usr/src/bin/sh/eval.c:267 >> #3 0x0804e4ff in evaltree (n=0x28304da4, flags=0) at >> /usr/src/bin/sh/eval.c:238 >> #4 0x0804e86c in evaltree (n=0x28304210, flags=0) at >> /usr/src/bin/sh/eval.c:341 >> #5 0x0804eba7 in evalstring ( >> s=0xbf7fea84 "for entry in adjkerntz atacontrol atm badsect bsdlabel >> camcontrol ccdconfig clri comcontrol conscontrol ddb devd devfs >> dhclient dmesg dump dumpfs dumpon fdisk ffsinfo fsck fsck_"...) at >> /usr/src/bin/sh/eval.c:169 >> #6 0x08056d98 in main (argc=3, argv=0xbf7fe9a8) at >> /usr/src/bin/sh/main.c:181 >> >> >> >> >> /usr/obj/usr/src/libexec/ftpd/make.core >> >> Program terminated with signal 11, Segmentation fault. >> #0 0x080898bf in memset () >> (gdb) bt >> #0 0x080898bf in memset () >> #1 0x0000000c in ?? () >> #2 0x0806f8b2 in arena_malloc () >> #3 0x0807106b in malloc () >> #4 0x0805a2d1 in emalloc (len=256) at /usr/src/usr.bin/make/util.c:234 >> #5 0x08049d3f in Buf_Init (size=0) at /usr/src/usr.bin/make/buf.c:184 >> #6 0x0805a63a in VarCreate (name=0x2810d118 ".CURDIR", value=0xbf7fe0b6 >> "/usr/src/libexec/ftpd", flags=0) at /usr/src/usr.bin/make/var.c:214 >> #7 0x0805a68d in VarAdd (name=0x2810d118 ".CURDIR", val=0xbf7fe0b6 >> "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:954 >> #8 0x0805d2fc in Var_Set (name=0x809409d ".CURDIR", val=0xbf7fe0b6 >> "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:1009 >> #9 0x0805d321 in Var_SetGlobal (name=0x809409d ".CURDIR", value=0xbf7fe0b6 >> "/usr/src/libexec/ftpd") at /usr/src/usr.bin/make/var.c:1035 >> #10 0x0805243f in main (argc=3, argv=0xbf7fed74) at >> /usr/src/usr.bin/make/main.c:1115 >> >> >> >> /usr/obj/usr/src/usr.bin/telnet/as.core >> >> Program terminated with signal 11, Segmentation fault. >> #0 0x080480d6 in _start () >> (gdb) bt >> #0 0x080480d6 in _start () >> #1 0x00000003 in ?? () >> _______________________________________________ >> 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" >> From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 04:03:33 2009 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 8DC97106566B for ; Thu, 5 Feb 2009 04:03:33 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id 5FDA88FC1A for ; Thu, 5 Feb 2009 04:03:33 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so42546rvf.43 for ; Wed, 04 Feb 2009 20:03:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=+s4+GbJp7Ale7HnksXQyrgaKFlGo8kEEbcvIDP1PS6U=; b=f+ULleeFoO9rEDX6bjgz+Iv7ksf2VrE8f21f7vVZJyHivUa7lWKi2croqSb/bRqlUx r6aalMXSwj1rsRVBBq8Kc1bHDpDPddhh3cEiSUcUPbBynKTxT9LSoInMQE65OnoF0PfP eZz2TVo+9nyQJmjSWYMTPiUtsmlYnPB6rejFc= 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=OYFvt3mYmUZpE12qK5dUfNIUa9vaA/hjFxpS3cuLVAw/LpRkhyfWq6qWkQQRbPeD4n /aEkOu4bziwnz2yRrnu3IDB9cP9XWl46JoniNzqLD+toUdYeCehQHgNEAq+JT4H8jZHI KpZkj1et2br+i6wEabKIOSGV8H7+DM1TM+ihs= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.82.20 with SMTP id j20mr25031rvl.54.1233806613071; Wed, 04 Feb 2009 20:03:33 -0800 (PST) In-Reply-To: References: <3c1674c90902022136t48eef4faic3cc091082b68432@mail.gmail.com> Date: Wed, 4 Feb 2009 20:03:33 -0800 X-Google-Sender-Auth: 9c22b4fff3771adb Message-ID: <3c1674c90902042003jb24eef0hec2960c270b54e31@mail.gmail.com> From: Kip Macy To: Kai Mosebach Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Instable 32bit domU on 64bit dom0 (w/Xen 3.3.1) 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: Thu, 05 Feb 2009 04:03:33 -0000 Please run with only 1 vcpu for the next couple of weeks. Thanks, Kip On Wed, Feb 4, 2009 at 2:20 AM, Kai Mosebach wrote: > Hi Kip, > > After rebuilding the kernel (which improved stability by roughly 80%) and > rebuilding world (which improved stability by another 19% ;) the userland > seems to be much more stable now! Kernel wise I hit the bug you described > below at every bootup/shutdown and the first hit of a key on the console, > but the system keeps running afterwards... > > Booting with 2 CPUs is still ending up in > > Spanic: blockable sleep lock (sleep mutex) XCONS LOCK @ > dev/xen/console/console.c:290 > cpuid = 1 > KDB: enter: panic > [thread pid 11 tid 100003 ] > Stopped at kdb_enter+0x3a: movl $0,kdb_why > > Anyway, thanks for your effort! > > Kai > > On 2/3/09 6:36 AM, "Kip Macy" wrote: > >> Hi Kai, >> >> This should be fixed by r188042. Interrupts need to be disabled on >> entry to the page fault handler or we risk being preempted prior to >> reading cr2 (the faulting address). >> >> There is still another fundamental stability bug whereby timer >> interrupts appear to sometimes be left disabled until another >> interrupt (console, network, disk) comes in at which point they're >> re-enabled. You may or may not hit that, I only have one configuration >> where I'm able to reproduce that issue. >> >> Cheers, >> Kip >> >> >> On Thu, Jan 29, 2009 at 7:34 AM, Kai Mosebach wrote: >>> Hi, >>> >>> i recently got my first FreeBSD 8 domU working and i am quite happy to see >>> that there is eventually progress on the important Xen topic for FreeBSD. >>> Since this domU as a svn -head checkout from 23.01.09 still segfaults here >>> and there i startet to rebuild the whole world with debugging symbols in the >>> hope that the backtraces give more info's on where to find bugs. >>> >>> Here are the first results from several core files which hang around in the >>> system after a world build and i hope the developers here can make more sense >>> out of it than me. >>> >>> If you need further dumps/traces or have some advises how to go on from here, >>> please let me know! >>> >>> Best Kai >>> >>> /usr/obj/usr/src/make.core >>> >>> Program terminated with signal 11, Segmentation fault. >>> #0 0x0804da01 in Cmd_Exec ( >>> cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make >>> __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", >>> error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 >>> 2713 if ((ps.child_pid = vfork()) == -1) { >>> (gdb) bt >>> #0 0x0804da01 in Cmd_Exec ( >>> cmd=0x2812df00 "/usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin make >>> __MAKE_CONF=/etc/make.conf -f /dev/null -V MAKEOBJDIRPREFIX dummy", >>> error=0xbf7fdb18) at /usr/src/usr.bin/make/job.c:2713 >>> #1 0x080544ed in Parse_DoVar (line=0x28128b00 "_MAKEOBJDIRPREFIX", >>> ctxt=0x2810e200) at /usr/src/usr.bin/make/parse.c:1520 >>> #2 0x08055a1a in Parse_File (name=0xbf7fdbf8 "/usr/src/Makefile", >>> stream=0x80a4960) at /usr/src/usr.bin/make/parse.c:2457 >>> #3 0x08051e68 in ReadMakefile (p=Variable "p" is not available. >>> ) at /usr/src/usr.bin/make/main.c:323 >>> #4 0x08051f24 in TryReadMakefile (p=0x8094744 "Makefile") >>> at /usr/src/usr.bin/make/main.c:342 >>> #5 0x080527c3 in main (argc=1, argv=0xbf7feddc) >>> at /usr/src/usr.bin/make/main.c:1209 >>> (gdb) >>> >>> >>> >>> /usr/src/sbin/atacontrol/sh.core >>> >>> Core was generated by `sh'. >>> Program terminated with signal 11, Segmentation fault. >>> Reading symbols from /lib/libedit.so.6...done. >>> Loaded symbols for /lib/libedit.so.6 >>> Reading symbols from /lib/libncurses.so.7...done. >>> Loaded symbols for /lib/libncurses.so.7 >>> Reading symbols from /lib/libc.so.7...done. >>> Loaded symbols for /lib/libc.so.7 >>> Reading symbols from /libexec/ld-elf.so.1...done. >>> Loaded symbols for /libexec/ld-elf.so.1 >>> #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at >>> /usr/src/bin/sh/jobs.c:746 >>> 746 pid = fork(); >>> (gdb) bt >>> #0 0x080555e6 in forkshell (jp=0x2830c0c0, n=0x28304d94, mode=0) at >>> /usr/src/bin/sh/jobs.c:746 >>> #1 0x0804d759 in evalcommand (cmd=0x28304d94, flags=0, backcmd=0x0) at >>> /usr/src/bin/sh/eval.c:747 >>> #2 0x0804e725 in evaltree (n=0x28304d94, flags=0) at >>> /usr/src/bin/sh/eval.c:267 >>> #3 0x0804e4ff in evaltree (n=0x28304da4, flags=0) at >>> /usr/src/bin/sh/eval.c:238 >>> #4 0x0804e86c in evaltree (n=0x28304210, flags=0) at >>> /usr/src/bin/sh/eval.c:341 >>> #5 0x0804eba7 in evalstring ( >>> s=0xbf7fea84 "for entry in adjkerntz atacontrol atm badsect bsdlabel >>> camcontrol ccdconfig clri comcontrol conscontrol ddb devd devfs >>> dhclient dmesg dump dumpfs dumpon fdisk ffsinfo fsck fsck_"...) at >>> /usr/src/bin/sh/eval.c:169 >>> #6 0x08056d98 in main (argc=3, argv=0xbf7fe9a8) at >>> /usr/src/bin/sh/main.c:181 >>> >>> >>> >>> >>> /usr/obj/usr/src/libexec/ftpd/make.core >>> >>> Program terminated with signal 11, Segmentation fault. >>> #0 0x080898bf in memset () >>> (gdb) bt >>> #0 0x080898bf in memset () >>> #1 0x0000000c in ?? () >>> #2 0x0806f8b2 in arena_malloc () >>> #3 0x0807106b in malloc () >>> #4 0x0805a2d1 in emalloc (len=256) at /usr/src/usr.bin/make/util.c:234 >>> #5 0x08049d3f in Buf_Init (size=0) at /usr/src/usr.bin/make/buf.c:184 >>> #6 0x0805a63a in VarCreate (name=0x2810d118 ".CURDIR", value=0xbf7fe0b6 >>> "/usr/src/libexec/ftpd", flags=0) at /usr/src/usr.bin/make/var.c:214 >>> #7 0x0805a68d in VarAdd (name=0x2810d118 ".CURDIR", val=0xbf7fe0b6 >>> "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:954 >>> #8 0x0805d2fc in Var_Set (name=0x809409d ".CURDIR", val=0xbf7fe0b6 >>> "/usr/src/libexec/ftpd", ctxt=0x28112180) at /usr/src/usr.bin/make/var.c:1009 >>> #9 0x0805d321 in Var_SetGlobal (name=0x809409d ".CURDIR", value=0xbf7fe0b6 >>> "/usr/src/libexec/ftpd") at /usr/src/usr.bin/make/var.c:1035 >>> #10 0x0805243f in main (argc=3, argv=0xbf7fed74) at >>> /usr/src/usr.bin/make/main.c:1115 >>> >>> >>> >>> /usr/obj/usr/src/usr.bin/telnet/as.core >>> >>> Program terminated with signal 11, Segmentation fault. >>> #0 0x080480d6 in _start () >>> (gdb) bt >>> #0 0x080480d6 in _start () >>> #1 0x00000003 in ?? () >>> _______________________________________________ >>> 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" >>> > > > From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 04:04:05 2009 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 1AED3106566C for ; Thu, 5 Feb 2009 04:04:05 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.228]) by mx1.freebsd.org (Postfix) with ESMTP id E27D28FC19 for ; Thu, 5 Feb 2009 04:04:04 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so42744rvf.43 for ; Wed, 04 Feb 2009 20:04:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=ND8H3BfWt9fA73OugoWWEqC6FhLSL0O7gRrK68K6oAE=; b=HfZHYkeZP7IdQLKwFOA7j6S8D5hG4QCRqfObNWYE9e7paytzDNo3gZmVt3EzLtLCYT kH1t+DPc6rK42kkGdJ5ebGM0Tl9qhXlv6dfYpafq1jrQmrAg/xtd8gXb8dCaF76r53+u OK40qI4qr/mwDgkE1VghxWkFaSGfRsg1eTHbI= 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=nMnTLsyA/E7zRs7bnIpwfdYBtwarlMuI2kLeo2/AXBmRtIWuIRvzhasQHTNf0p694w /fvTH0s4s38UY2qr9RRed+OxB23u0rCJLqMm9GTeu3OgvraEs7KrCCdwcNrEkKwDb3CV N8VO94exXBDLftrBCc1TEaMq54UnhcwelbR7c= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.177.2 with SMTP id e2mr23666rvp.71.1233806644594; Wed, 04 Feb 2009 20:04:04 -0800 (PST) In-Reply-To: <1233687579.4832.11.camel@phoenix.blechhirn.net> References: <1233687579.4832.11.camel@phoenix.blechhirn.net> Date: Wed, 4 Feb 2009 20:04:04 -0800 X-Google-Sender-Auth: d85595e4b29d67ee Message-ID: <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> From: Kip Macy To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: 8-CURRENT does not build without WITNESS activated 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: Thu, 05 Feb 2009 04:04:05 -0000 adding lock.h will fix that - sorry about it Thanks, Kip On Tue, Feb 3, 2009 at 10:59 AM, Mister Olli wrote: > Hi. > > I'm currently unable to build the 8-CURRENT kernel in a PV domU, without > "options WITNESS" in my kernel config. > > The output is the following: > ====================================================== > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" > CC="cc" xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -fstack-protector > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:32: > /usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined, > include before " > mkdep: compile failed > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/XEN. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > template_8-CURRENT# > ====================================================== > > -- > Mr. Olli > > > > > _______________________________________________ > 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" > From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 04:04:37 2009 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 02E85106566B for ; Thu, 5 Feb 2009 04:04:37 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id C96248FC21 for ; Thu, 5 Feb 2009 04:04:36 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so42940rvf.43 for ; Wed, 04 Feb 2009 20:04:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Re8K98CA+ZnhHav5EVrt8hA2oLCsCD23k+eZp45WLuo=; b=juA+M48MszsLlutUG+AjFcitjOiYgHwMHfMh/SnptEbuQE0B3CrEP80APIc8DONIgy eyUMRm4hoMazCQWfGMza4tvdVJ7KkHYns9Hxx3Q4Q8Er3GtAPGLVI2SQMoaMVyGeihOl FP6LSvb8Hfq+fgd3hcQjJPeePBC00UWXREH4Y= 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=eGsXKiyxdpXZq1rc2kkBW4TGm1tAKzGsGYEcs3p2mIyfyMZWaqGIwG3Nxieu/NB3Y5 KluS0jsn1k2+Hq4hjbxa1b1tdNbuL7sa1AhiG6d7xiXdrWy202zJCx1myYRTYt9/Iz8h EqCCRKJSjKqhIhZn5haNjZWyTOCB4g3MTfjFY= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.26.19 with SMTP id d19mr9544rvj.184.1233806676483; Wed, 04 Feb 2009 20:04:36 -0800 (PST) In-Reply-To: <87ljsokbdn.fsf@tabernacle.localnet> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> Date: Wed, 4 Feb 2009 20:04:36 -0800 X-Google-Sender-Auth: d3145780570c9d4f Message-ID: <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> From: Kip Macy To: Julian Stecklina Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards 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: Thu, 05 Feb 2009 04:04:37 -0000 Can you please try with the latest sources and let me know if you still see this? Thanks, Kip On Mon, Feb 2, 2009 at 9:16 AM, Julian Stecklina wrote: > Mister Olli writes: > >> Hi, >> >> I've had time problems too. The clock did not go backwards, but forwards >> for some time sime, and then jumped back to a certain date. Like >> Sun Jan 25 00:55:12 UTC 2009 >> ... >> Sun Jan 25 01:08:35 UTC 2009 >> Sun Jan 25 00:55:12 UTC 2009 >> Sun Jan 25 00:55:13 UTC 2009 >> ... >> >> It took me quite some time to find a solution that helped for me: >> - activate the independent_wallclock in domO by 'sysctl xen.independent_wallclock=1' > > I booted the DomU with machdep.independent_wallclock=1 as kernel > parameter instead. But that didn't work. sysctl still reported it as > 0. I've tried setting machdep.xen_disable_rtc_set and > machdep.independent_wallclock after booting, but it does not help either. > >> - edit and configure '/etc/ntpd.conf' in domU >> - edit '/etc/rc.conf' and add the following lines >> # NTP stuff >> ntpdate_enable="YES" >> ntpdate_flags="-b " >> ntpd_enable="YES" >> - reboot domU >> >> If you try it on your problem, could you please give me some feedback if >> it worked? > > Doesn't work. :-/ > > MfG, > -- > Julian Stecklina > > Well, take it from an old hand: the only reason it would be easier to > program in C is that you can't easily express complex problems in C, > so you don't. - Erik Naggum (in comp.lang.lisp) > > _______________________________________________ > 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" > From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 15:58:26 2009 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 9DF3B1065676 for ; Thu, 5 Feb 2009 15:58:26 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 56EC68FC1E for ; Thu, 5 Feb 2009 15:58:25 +0000 (UTC) (envelope-from gofx-freebsd-xen@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LV6cN-0002BH-9m for freebsd-xen@freebsd.org; Thu, 05 Feb 2009 15:58:19 +0000 Received: from 217-68-187-100.dynamic.primacom.net ([217.68.187.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2009 15:58:19 +0000 Received: from js by 217-68-187-100.dynamic.primacom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Feb 2009 15:58:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-xen@freebsd.org From: Julian Stecklina Date: Thu, 05 Feb 2009 16:58:08 +0100 Lines: 20 Message-ID: <8763joeuzz.fsf@tabernacle.localnet> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217-68-187-100.dynamic.primacom.net X-Archive: encrypt User-Agent: Gnus/5.1008 (Gnus v5.10.8) Cancel-Lock: sha1:81Kt6bY483tQobc0PqhJyJ6z1P0= Sender: news Subject: Re: Time goes backwards 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: Thu, 05 Feb 2009 15:58:27 -0000 Kip Macy writes: > Can you please try with the latest sources and let me know if you > still see this? I've tried with r188140 and see no change. It still reverts to Jan 25 00:50 every couple of minutes. dmesg is at http://os.inf.tu-dresden.de/~jsteckli/fbsd-xen-dmsg.txt Btw, when I do 'reboot' in the virtual machine, it just stops and has to be recreated. Regards, -- Julian Stecklina Well, take it from an old hand: the only reason it would be easier to program in C is that you can't easily express complex problems in C, so you don't. - Erik Naggum (in comp.lang.lisp) From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 19:58:21 2009 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 AD4BC1065675; Thu, 5 Feb 2009 19:58:21 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 0A4BA8FC0C; Thu, 5 Feb 2009 19:58:20 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fk-out-0910.google.com with SMTP id f40so390231fka.11 for ; Thu, 05 Feb 2009 11:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=z2qtl6b87Ph/Syc57aViuSXOMSfXGrvUDhiGWT0fQfA=; b=XmJPk9KYi2bm5wTMXEL+c91SBQgDHfemp65BVmQ/pFVAWO1GDP5tZ8hXT8CKDII0W5 dBGrsGjaBOYIJlm03LRFjzun+AUB2u2zDaiGOqyBwF9glOULhrcpzsgxtw9oFf0/JtpT bcNBXMK6FtcC+FeHeya9SM3msVcPcb8hN7BWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=u2b/Cgzcqlw0OoFYmFm1gYudXoeJ7yCxrg3iTAOBmxgj09Gce/f4wnXAPVbEC9poAi pPdtMusamGF5JgwGndcWSoVYIm07SpTT1X6Nc1BrEC81jv2hZndAlSYmrBIeYWBny3Y9 bc10YA9GHp28xKve8VW40jJKruXrBqfo38Pvs= Received: by 10.223.104.140 with SMTP id p12mr811457fao.7.1233863900086; Thu, 05 Feb 2009 11:58:20 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id k29sm600418fkk.16.2009.02.05.11.58.19 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 11:58:19 -0800 (PST) From: Mister Olli To: kmacy@freebsd.org In-Reply-To: <8763joeuzz.fsf@tabernacle.localnet> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> <8763joeuzz.fsf@tabernacle.localnet> Content-Type: text/plain Date: Thu, 05 Feb 2009 20:58:16 +0100 Message-Id: <1233863896.22204.46.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Thu, 05 Feb 2009 19:58:22 -0000 hi, Am Donnerstag, den 05.02.2009, 16:58 +0100 schrieb Julian Stecklina: > Kip Macy writes: > > > Can you please try with the latest sources and let me know if you > > still see this? > > I've tried with r188140 and see no change. It still reverts to Jan 25 > 00:50 every couple of minutes. dmesg is at The same for me. Setting 'xen.independent_wallclock=0' in the domU and deactivating ntpd in the domU make the time jumps happen nearly immediately: ====================================================== virt-001 template_8-CURRENT # while (true); do echo "date"; sleep 10s; done | xm console template_8-CURRENT Thu Feb 5 20:52:22 CET 2009 template_8-CURRENT# date Thu Feb 5 20:52:32 CET 2009 template_8-CURRENT# date Thu Feb 5 20:52:42 CET 2009 template_8-CURRENT# date Thu Feb 5 20:52:52 CET 2009 template_8-CURRENT# date Sun Jan 25 00:54:16 CET 2009 template_8-CURRENT# date Sun Jan 25 00:54:26 CET 2009 template_8-CURRENT# date Sun Jan 25 00:54:36 CET 2009 template_8-CURRENT# virt-001 template_8-CURRENT # echo "uname -a" || xm console template_8-CURRENT uname -a virt-001 template_8-CURRENT # echo "uname -a" | xm console template_8-CURRENT virt-001 template_8-CURRENT # xm console template_8-CURRENT template_8-CURRENT# uname -a FreeBSD template_8-CURRENT.blechhirn.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r188157: Thu Feb 5 14:53:10 CET 2009 root@template_8-CURRENT.blechhirn.net:/usr/obj/usr/src/sys/freebsd8_XEN i386 template_8-CURRENT# > Btw, when I do 'reboot' in the virtual machine, it just stops and has to > be recreated. The same problem here. Even with on_reboot = 'restart' in my config file. Is this a XEN problem, or is it related to the FreeBSD kernel? -- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 20:03:04 2009 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 812D01065670 for ; Thu, 5 Feb 2009 20:03:04 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id 518048FC1B for ; Thu, 5 Feb 2009 20:03:04 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so422622rvf.43 for ; Thu, 05 Feb 2009 12:03:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=7i4RKxcRUMpQLE3p6W91Awqo/12P48CkCnf/TPL58XY=; b=uOsqNyM71SceguFB+2pEhv7RVbcyOxAG8KEmsX9SFkSt6+HaE5yOO4LNszhKqrWj87 g85EkXSdTAl2WXQ05S/bELQDuRxq/Wjs88susA+J+c3Z5dM6/7ZSpI8CNLj6bBIxj80p WMdW1GI2u8XYygkDOexQPg6wB+cxFVnXniu/M= 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=vbSY8HxgxpgPWE5xNxZCO6FrnGDMkbJJsLmZqH0/QvzyRrmbvpWk8k/+W9AWtFANyu Eppsb04RNefN96gJNZu6Ddy9Yxn6v82IoyLCo2Cexi57F2CCvBXTkY+SMiSDgDoV8pbC 0KBqUIOTthJd2mKvHOhtI3DwFJ1crqsyadrrM= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.51.10 with SMTP id d10mr622765rvk.195.1233864183716; Thu, 05 Feb 2009 12:03:03 -0800 (PST) In-Reply-To: <1233863896.22204.46.camel@phoenix.blechhirn.net> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> <8763joeuzz.fsf@tabernacle.localnet> <1233863896.22204.46.camel@phoenix.blechhirn.net> Date: Thu, 5 Feb 2009 12:03:03 -0800 X-Google-Sender-Auth: 88004e1a87a23ed6 Message-ID: <3c1674c90902051203n338be726rc18ab1f71c513d6c@mail.gmail.com> From: Kip Macy To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards 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: Thu, 05 Feb 2009 20:03:04 -0000 On Thu, Feb 5, 2009 at 11:58 AM, Mister Olli wrote: > hi, > > > Am Donnerstag, den 05.02.2009, 16:58 +0100 schrieb Julian Stecklina: >> Kip Macy writes: >> >> > Can you please try with the latest sources and let me know if you >> > still see this? >> >> I've tried with r188140 and see no change. It still reverts to Jan 25 >> 00:50 every couple of minutes. dmesg is at > > The same for me. Setting 'xen.independent_wallclock=0' in the domU and > deactivating ntpd in the domU make the time jumps happen nearly > immediately: > ====================================================== > virt-001 template_8-CURRENT # while (true); do echo "date"; sleep 10s; done | xm console template_8-CURRENT > Thu Feb 5 20:52:22 CET 2009 > template_8-CURRENT# date > Thu Feb 5 20:52:32 CET 2009 > template_8-CURRENT# date > Thu Feb 5 20:52:42 CET 2009 > template_8-CURRENT# date > Thu Feb 5 20:52:52 CET 2009 > template_8-CURRENT# date > Sun Jan 25 00:54:16 CET 2009 > template_8-CURRENT# date > Sun Jan 25 00:54:26 CET 2009 > template_8-CURRENT# date > Sun Jan 25 00:54:36 CET 2009 > template_8-CURRENT# I will take a closer look. This is clearly a separate issue from the loss of timer interrupts - I had assumed that they were related. > virt-001 template_8-CURRENT # echo "uname -a" || xm console template_8-CURRENT > uname -a > virt-001 template_8-CURRENT # echo "uname -a" | xm console template_8-CURRENT > virt-001 template_8-CURRENT # xm console template_8-CURRENT > > template_8-CURRENT# uname -a > FreeBSD template_8-CURRENT.blechhirn.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r188157: Thu Feb 5 14:53:10 CET 2009 root@template_8-CURRENT.blechhirn.net:/usr/obj/usr/src/sys/freebsd8_XEN i386 > template_8-CURRENT# > > > >> Btw, when I do 'reboot' in the virtual machine, it just stops and has to >> be recreated. > > The same problem here. Even with > on_reboot = 'restart' > in my config file. > > Is this a XEN problem, or is it related to the FreeBSD kernel? > FreeBSD. A different argument to shutdown needs to be passed for the reboot case. -Kip From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 20:58:55 2009 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 940CD1065674; Thu, 5 Feb 2009 20:58:55 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id E45438FC19; Thu, 5 Feb 2009 20:58:54 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so254109fgb.35 for ; Thu, 05 Feb 2009 12:58:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=uzHPrESr6Nnl5OcRrXKpO1Z9Jcq+T6D6hu5dD4Oj3F8=; b=gD3wJe+3hVIBkipNAJDQO6B/nM0aLeSupyOcbXFw5nt429leztUdfvs9EP4yarJ3xO ngVih2V0zDGZbozr9x1nx26FJfHUnUQoWsz+uORsLbIn/8iPzC/VfVKt63FzthFNrOjv kvt4nq/zXmmfy9K4o1ZQp4Vz+HfyDJAA/Uljs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=aa/848ZetxQxZw5atLE8z68xuUr4rHWdbNAeyshGv62U30wEl3+PgYkN3Jvaol4dMt MKXA7k8FrJ8p6yuQzlSY2UQPnnrJ7okXcPdUjc9K2e94XNv0Q6KF/7KoRfTSST+nH2WK IMJ9dkPX2qgI0wdMf8Aue/7dpVm4T5z7Ak9PQ= Received: by 10.223.111.134 with SMTP id s6mr859501fap.60.1233867533908; Thu, 05 Feb 2009 12:58:53 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id e17sm1344711fke.28.2009.02.05.12.58.53 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 12:58:53 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <3c1674c90902051203n338be726rc18ab1f71c513d6c@mail.gmail.com> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> <8763joeuzz.fsf@tabernacle.localnet> <1233863896.22204.46.camel@phoenix.blechhirn.net> <3c1674c90902051203n338be726rc18ab1f71c513d6c@mail.gmail.com> Content-Type: text/plain Date: Thu, 05 Feb 2009 21:58:51 +0100 Message-Id: <1233867531.22204.50.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Thu, 05 Feb 2009 20:58:55 -0000 Hi, Am Donnerstag, den 05.02.2009, 12:03 -0800 schrieb Kip Macy: > > The same problem here. Even with > > on_reboot = 'restart' > > in my config file. > > > > Is this a XEN problem, or is it related to the FreeBSD kernel? > > > > FreeBSD. A different argument to shutdown needs to be passed for the > reboot case. Can this be done by a userland utility, or does it require a kernel modification? -- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 20:59:44 2009 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 E46DE10656C2 for ; Thu, 5 Feb 2009 20:59:44 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id B33198FC0C for ; Thu, 5 Feb 2009 20:59:44 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so444814rvf.43 for ; Thu, 05 Feb 2009 12:59:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=Gt5fwRW3Oa/5yW2Xx2eOEMHFHG8i7kCBtAF4g9Muzv4=; b=hITUDeKS/VJ6YiqTuIpBSyANJTQNG5BkM68DI1201hsMLXW7udvkXGz2puNthk0pn5 c1YM879iovcXxhI4xMA5vMnvlOgkH7Z5WxTip8zmQgRPZZ4RwTejg06rfl1IT69HOvuP uLT98yYNu+CuTv6+9FeP2JjhVd+D8ZwRtdNLw= 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=BIV7MePF2um10iWt/C63bkM2wLNC3sY9UtwM6nYZXm90Gup1zSpCMpc+raFg7ApHN4 +/Qy31acEL99ACKcNiVx3rPglnKYaUfcBoUw8OdirF+TVSOTyX6HyxSfVj+Mg5bQ7tQE 9S+fsm9xItXiAeA03zxDhLktYtCXUL46Xpp0c= MIME-Version: 1.0 Sender: mat.macy@gmail.com Received: by 10.141.78.14 with SMTP id f14mr673607rvl.176.1233867584288; Thu, 05 Feb 2009 12:59:44 -0800 (PST) In-Reply-To: <1233867531.22204.50.camel@phoenix.blechhirn.net> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> <8763joeuzz.fsf@tabernacle.localnet> <1233863896.22204.46.camel@phoenix.blechhirn.net> <3c1674c90902051203n338be726rc18ab1f71c513d6c@mail.gmail.com> <1233867531.22204.50.camel@phoenix.blechhirn.net> Date: Thu, 5 Feb 2009 12:59:44 -0800 X-Google-Sender-Auth: 9c640a82df5688b6 Message-ID: <3c1674c90902051259m54b09398s3e5a6d10e9eedc14@mail.gmail.com> From: Kip Macy To: mister.olli@googlemail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards 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: Thu, 05 Feb 2009 20:59:45 -0000 On Thu, Feb 5, 2009 at 12:58 PM, Mister Olli wrote: > Hi, > > Am Donnerstag, den 05.02.2009, 12:03 -0800 schrieb Kip Macy: >> > The same problem here. Even with >> > on_reboot = 'restart' >> > in my config file. >> > >> > Is this a XEN problem, or is it related to the FreeBSD kernel? >> > >> >> FreeBSD. A different argument to shutdown needs to be passed for the >> reboot case. > > Can this be done by a userland utility, or does it require a kernel > modification? It is a fairly trivial kernel source change. -Kip From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 21:00:29 2009 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 F2A35106566B; Thu, 5 Feb 2009 21:00:28 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id 543438FC1B; Thu, 5 Feb 2009 21:00:27 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fk-out-0910.google.com with SMTP id f40so409173fka.11 for ; Thu, 05 Feb 2009 13:00:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=wMLKGR8Q6GuPs3O6mtPk70dprl+rJoEqWJQvTob8HA0=; b=gInNalaE3DHx6rDMqh83helza+El/TEMalyjD/MSRVksforC8eBHepvPatvKGK47R+ DSJsBG9ALIKD2dk7iG5kktbcpLKuou8BXrofmis9kcbrJZKUYDmAdPpsZh4VdPUcuDJy +NjjuKdzwOkIxwBpbIzp2xkgByjuy/OWmpnwE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=WrgGvWdiSPLMlKACkRG4y7JENTC3ikFakwIAwLpnpqP8Ch3XOZjwNKA5A8T61F1Yys +fHjLuzwEULYED/iuGg9N7+bq60ug9RforTEvbUZ+GJPJ67hos8KesQftcm6HLfQCG75 baheNwPJTiJwE7v3yk0g7LmbiQQV+FXw4ef5M= Received: by 10.223.106.69 with SMTP id w5mr864366fao.17.1233867627244; Thu, 05 Feb 2009 13:00:27 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id p17sm1347485fka.10.2009.02.05.13.00.25 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 13:00:26 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> References: <1233687579.4832.11.camel@phoenix.blechhirn.net> <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> Content-Type: text/plain Date: Thu, 05 Feb 2009 22:00:24 +0100 Message-Id: <1233867624.22204.53.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: 8-CURRENT does not build without WITNESS activated X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Thu, 05 Feb 2009 21:00:29 -0000 Hi, thanks, worked great for me... I'm glad to see that CURRENT makes so fast progress. Great work :-)) -- Mr. Olli Am Mittwoch, den 04.02.2009, 20:04 -0800 schrieb Kip Macy: > adding lock.h will fix that - sorry about it > > Thanks, > Kip > > > On Tue, Feb 3, 2009 at 10:59 AM, Mister Olli wrote: > > Hi. > > > > I'm currently unable to build the 8-CURRENT kernel in a PV domU, without > > "options WITNESS" in my kernel config. > > > > The output is the following: > > ====================================================== > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" > > CC="cc" xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > > -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > > -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > > -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -mno-align-long-strings > > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > > -mno-sse3 -ffreestanding -fstack-protector > > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:32: > > /usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined, > > include before " > > mkdep: compile failed > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/XEN. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > template_8-CURRENT# > > ====================================================== > > > > -- > > Mr. Olli > > > > > > > > > > _______________________________________________ > > 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" > > From owner-freebsd-xen@FreeBSD.ORG Thu Feb 5 21:11:47 2009 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 70670106566C; Thu, 5 Feb 2009 21:11:47 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id B89258FC0A; Thu, 5 Feb 2009 21:11:46 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so257115fgb.35 for ; Thu, 05 Feb 2009 13:11:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=2T/pcHYBJQpkY49E8z9+aCx2vva6ZxavsZjbZh+xfxM=; b=ifeN2kpBSRB+vx4krEnbuDE+UM3xLPnENoC9xC+/40qoILA6dsMPtS4h2wAk0t8O11 NESJa+Lxjw1FzuW2c7iJdpisnYht1YJfdWrs2+pJjLheZJ1xMy63+1Rpvfwfipla6d01 3X4ZyRnnWeCzF/68/xkxag8OGHFrbLTjPT+Ng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=tLbvfcQwnUKvK6nOem+yUizkSpCfl/PqsB5I7iq9cj6Y+v46js/6WhRT/Wi6Higb2B nJdnPew9l2awRxo+G1udRSHjUHvPvnuP3Q3/x/y0pamnX5jraaJyKhZB7RjPFm11CgE+ mimd1E9o24f9UUUZnj+iB+T6McRKctp5HI2CU= Received: by 10.180.224.13 with SMTP id w13mr298766bkg.160.1233868305393; Thu, 05 Feb 2009 13:11:45 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id 13sm1331655fks.27.2009.02.05.13.11.44 (version=SSLv3 cipher=RC4-MD5); Thu, 05 Feb 2009 13:11:44 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <3c1674c90902051259m54b09398s3e5a6d10e9eedc14@mail.gmail.com> References: <877i4d1p46.fsf@tabernacle.localnet> <1233285639.24925.12.camel@phoenix.blechhirn.net> <87ljsokbdn.fsf@tabernacle.localnet> <3c1674c90902042004x299bee3ay7a231a27252e7e55@mail.gmail.com> <8763joeuzz.fsf@tabernacle.localnet> <1233863896.22204.46.camel@phoenix.blechhirn.net> <3c1674c90902051203n338be726rc18ab1f71c513d6c@mail.gmail.com> <1233867531.22204.50.camel@phoenix.blechhirn.net> <3c1674c90902051259m54b09398s3e5a6d10e9eedc14@mail.gmail.com> Content-Type: text/plain Date: Thu, 05 Feb 2009 22:11:42 +0100 Message-Id: <1233868302.22204.65.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: Time goes backwards X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Thu, 05 Feb 2009 21:11:47 -0000 hi, Am Donnerstag, den 05.02.2009, 12:59 -0800 schrieb Kip Macy: > On Thu, Feb 5, 2009 at 12:58 PM, Mister Olli wrote: > > Hi, > > > > Am Donnerstag, den 05.02.2009, 12:03 -0800 schrieb Kip Macy: > >> > The same problem here. Even with > >> > on_reboot = 'restart' > >> > in my config file. > >> > > >> > Is this a XEN problem, or is it related to the FreeBSD kernel? > >> > > >> > >> FreeBSD. A different argument to shutdown needs to be passed for the > >> reboot case. > > > > Can this be done by a userland utility, or does it require a kernel > > modification? > > It is a fairly trivial kernel source change. Ok, I'll wait for it ;-))) -- Mr. Olli From owner-freebsd-xen@FreeBSD.ORG Fri Feb 6 09:05:54 2009 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 92E83106564A; Fri, 6 Feb 2009 09:05:54 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f16.google.com (mail-fx0-f16.google.com [209.85.220.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5CEDB8FC2B; Fri, 6 Feb 2009 09:05:52 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm9 with SMTP id 9so34471fxm.19 for ; Fri, 06 Feb 2009 01:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=adGzD/NB0HgEGT5VMOkLUHEduLZE8nifCG66HIRd/DM=; b=wCtXKHNY6usIwBwF2oE/6mre6d/ZlszWU0bzqdwALTlBG9JY6j4W60YFoLNzfKLfnE 9XVAURaB0wUtSRW2XxzkY6AvaTUY9mqlE4xiJWtqbWFqurokkEK6KMBsy9Ru6OCxDoeW oOydnz6TU/+Kflj0lWzDvSnUNpj9zMbYuhLFk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=Yw5kuFH+7BCbmJoO6uXvP7uCG8LBOGwT3BmIV40V+Mpo6PdxXYIP2QJOW72/XYBR0d MrXOGIo/q20cxbXxGDQf3CMnmlHALVRl1ceE0BMeAemDqBONryjxUbIH+TLmXWA5m1/x Eg08Nyj7GktCXvrm1YvMew6Qw3TtN/arUP14o= Received: by 10.223.106.68 with SMTP id w4mr1075350fao.19.1233911149645; Fri, 06 Feb 2009 01:05:49 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id y15sm2035954fkd.32.2009.02.06.01.05.48 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Feb 2009 01:05:49 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> References: <1233687579.4832.11.camel@phoenix.blechhirn.net> <3c1674c90902042004m1b7261d7o60a57a80c447582b@mail.gmail.com> Content-Type: text/plain Date: Fri, 06 Feb 2009 10:04:59 +0100 Message-Id: <1233911099.22390.6.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: 8-CURRENT does not build without WITNESS activated X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Fri, 06 Feb 2009 09:05:55 -0000 Hi, unfortunately building a kernel without options WITNESS options WITNESS_SKIPSPIN creates a unusable kernel. When starting the domain and trying to attach the console I nothing happens, and the domain doesn't seem to start up: ================================================================ virt-001 template_8-CURRENT # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 116 2 r----- 8886.2 virt-001 template_8-CURRENT # xm create -c 00_template_8-CURRENT.XENconfig Using config file "./00_template_8-CURRENT.XENconfig". Started domain template_8-CURRENT xenconsole: Could not open tty `/dev/pts/7': No such file or directory virt-001 template_8-CURRENT # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 116 2 r----- 8894.1 ================================================================ Sometimes I get some python errors from the 'xm create' command: ================================================================ virt-001 template_8-CURRENT # xm create -c 00_template_8-CURRENT.XENconfig Using config file "./00_template_8-CURRENT.XENconfig". Started domain template_8-CURRENT Unexpected error: Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in main.main(sys.argv) File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2883, in main File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 2907, in _run_cmd File "", line 1, in File "usr/lib/python2.5/site-packages/xen/xm/main.py", line 1375, in xm_importcommand File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1321, in main File "usr/lib/python2.5/site-packages/xen/xm/create.py", line 1348, in do_console OSError: [Errno 10] No child processes virt-001 template_8-CURRENT # xm list Name ID Mem VCPUs State Time(s) Domain-0 0 116 2 r----- 8894.1 ================================================================ When having a look at '/var/log/xen/xend.log' I found the following message: [2009-02-06 09:06:15 3867] WARNING (XendDomainInfo:1617) Domain has crashed: name=template_8-CURRENT id=44. It appears right after the domain has been created. -- Mr. Olli Am Mittwoch, den 04.02.2009, 20:04 -0800 schrieb Kip Macy: > adding lock.h will fix that - sorry about it > > Thanks, > Kip > > > On Tue, Feb 3, 2009 at 10:59 AM, Mister Olli wrote: > > Hi. > > > > I'm currently unable to build the 8-CURRENT kernel in a PV domU, without > > "options WITNESS" in my kernel config. > > > > The output is the following: > > ====================================================== > > make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" > > CC="cc" xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter > > -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath > > -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm > > -I/usr/src/sys/dev/twa -I/usr/src/sys/gnu/fs/xfs/FreeBSD > > -I/usr/src/sys/gnu/fs/xfs/FreeBSD/support -I/usr/src/sys/gnu/fs/xfs > > -I/usr/src/sys/contrib/opensolaris/compat -I/usr/src/sys/dev/cxgb > > -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > > -finline-limit=8000 --param inline-unit-growth=100 --param > > large-function-growth=1000 -mno-align-long-strings > > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > > -mno-sse3 -ffreestanding -fstack-protector > > In file included from /usr/src/sys/dev/xen/netfront/netfront.c:32: > > /usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined, > > include before " > > mkdep: compile failed > > *** Error code 1 > > > > Stop in /usr/obj/usr/src/sys/XEN. > > *** Error code 1 > > > > Stop in /usr/src. > > *** Error code 1 > > > > Stop in /usr/src. > > template_8-CURRENT# > > ====================================================== > > > > -- > > Mr. Olli > > > > > > > > > > _______________________________________________ > > 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" > > From owner-freebsd-xen@FreeBSD.ORG Fri Feb 6 09:06:03 2009 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 7E3FF1065672; Fri, 6 Feb 2009 09:06:03 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f16.google.com (mail-fx0-f16.google.com [209.85.220.16]) by mx1.freebsd.org (Postfix) with ESMTP id EC6228FC19; Fri, 6 Feb 2009 09:06:01 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm9 with SMTP id 9so34507fxm.19 for ; Fri, 06 Feb 2009 01:05:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=RK3IRmsK2klViPZNIPJ61+/Rl0TkHZN3xxRRYJFWtBY=; b=pYQilRJNj/sq93axjx18JX2rPgPrKfGwU2hHpRU74RH3n1dI45YDhsMlPHcZKsmfbu rkNJpthYLCG6N2GQJdBqBo+dzfBXJ9xgiH6nTqcWKXCwmqNV1MbmS7Kv4E/o3/0TZQC4 QeLqUPAcHe9qx11vodVhHiDNqScPr5QRYt4jE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:cc:in-reply-to:references:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=hYM/wDAl6K47/pnODaiJbVRmGG9xQytUO8yYD0GpEZXjcGxGf9gCRSMnAokWkHmfts WS1RU+IqIFl41hEFZNlg6wjHgkPZamOod13kudEFI4Jf7BAKHhC8rgGVdHwtCMxman1m y7Qqt0o+mWiwPkT6u6mavNZI6poJCcmt00nQg= Received: by 10.223.108.71 with SMTP id e7mr451029fap.33.1233911151941; Fri, 06 Feb 2009 01:05:51 -0800 (PST) Received: from ?10.30.1.235? (vpn-or.studi-planet.com [78.47.172.52]) by mx.google.com with ESMTPS id p9sm2084990fkb.1.2009.02.06.01.05.51 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Feb 2009 01:05:51 -0800 (PST) From: Mister Olli To: Kip Macy In-Reply-To: <200902052141.n15LfRnB039904@svn.freebsd.org> References: <200902052141.n15LfRnB039904@svn.freebsd.org> Content-Type: text/plain Date: Fri, 06 Feb 2009 10:05:38 +0100 Message-Id: <1233911138.22390.7.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 Content-Transfer-Encoding: 7bit Cc: freebsd-xen@freebsd.org Subject: Re: svn commit: r188200 - head/sys/i386/i386 X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com 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: Fri, 06 Feb 2009 09:06:04 -0000 Hi, Just tested this. Works great :-)) -- Mr. Olli Am Donnerstag, den 05.02.2009, 21:41 +0000 schrieb Kip Macy: > Author: kmacy > Date: Thu Feb 5 21:41:27 2009 > New Revision: 188200 > URL: http://svn.freebsd.org/changeset/base/188200 > > Log: > halt APs on reboot > > Modified: > head/sys/i386/i386/vm_machdep.c > > Modified: head/sys/i386/i386/vm_machdep.c > ============================================================================== > --- head/sys/i386/i386/vm_machdep.c Thu Feb 5 21:35:40 2009 (r188199) > +++ head/sys/i386/i386/vm_machdep.c Thu Feb 5 21:41:27 2009 (r188200) > @@ -619,7 +619,7 @@ cpu_reset_real() > if (smp_processor_id() == 0) > HYPERVISOR_shutdown(SHUTDOWN_reboot); > else > - HYPERVISOR_shutdown(SHUTDOWN_reboot); > + HYPERVISOR_shutdown(SHUTDOWN_poweroff); > #endif > #ifdef CPU_ELAN > if (elan_mmcr != NULL) > _______________________________________________ > svn-src-head@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/svn-src-head > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"