From owner-freebsd-xen@FreeBSD.ORG Mon Sep 9 13:13:01 2013 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5DD16C9E for ; Mon, 9 Sep 2013 13:13:01 +0000 (UTC) (envelope-from lars@netapp.com) Received: from mx11.netapp.com (mx11.netapp.com [216.240.18.76]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3F2CB23DC for ; Mon, 9 Sep 2013 13:13:01 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.90,866,1371106800"; d="asc'?scan'208";a="48194329" Received: from vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) by mx11-out.netapp.com with ESMTP; 09 Sep 2013 06:13:00 -0700 Received: from SACEXCMBX01-PRD.hq.netapp.com ([169.254.2.116]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.03.0123.003; Mon, 9 Sep 2013 06:13:00 -0700 From: "Eggert, Lars" To: =?iso-8859-1?Q?Roger_Pau_Monn=E9?= Subject: Re: Xen 4.2 PV fails to boot -CURRENT PV domU Thread-Topic: Xen 4.2 PV fails to boot -CURRENT PV domU Thread-Index: AQHOrT2nwODWDYQxEkq7Ix5Y8FAnCpm9wSgAgAAD0ICAABKCAA== Date: Mon, 9 Sep 2013 13:13:00 +0000 Message-ID: References: <455A20DD-3985-45EC-AC51-A3AFD33180F1@netapp.com> <522DB6A2.5050205@citrix.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.106.53.51] Content-Type: multipart/signed; boundary="Apple-Mail=_3F78DDD5-7951-4A52-9A34-7734F3A26A65"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 Cc: "freebsd-xen@freebsd.org" X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.14 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, 09 Sep 2013 13:13:01 -0000 --Apple-Mail=_3F78DDD5-7951-4A52-9A34-7734F3A26A65 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi, On Sep 9, 2013, at 14:06, "Eggert, Lars" wrote: > thanks, let me try your suggestion/patch. I applied the patch and tried booting. That failed (as expected) with a = "bad pte" panic: ... Trying to mount root from ufs:/dev/ada0s1a []... start_init: trying /sbin/init dumpon: /dev/da1s1a: No such file or directory pid 40 (sh), uid 0: exited on signal 11 TPTE at 0xbf840258 IS ZERO @ VA 0804b000 panic: bad pte cpuid =3D 0 KDB: enter: panic [ thread pid 40 tid 100032 ] Stopped at kdb_enter+0x3d: movl $0,kdb_why I then reverted r244237. The domU now boots a bit further, but there = still seem to be significant issues. Below is the complete log. Lars root@six:/home/elars# xl create -c pvm-freebsd.cfg=20 Parsing config from pvm-freebsd.cfg Daemon running with PID 13661 WARNING: loader(8) metadata is missing! GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb APIC: Using the MPTable enumerator. SMP: Added CPU 0 (BSP) Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #26 bc8458f-dirty: Mon Sep 9 15:11:32 CEST 2013 = elars@stanley.muccbc.hq.netapp.com:/usr/home/elars/obj/i386.i386/usr/home/= elars/src/sys/FAS3270 i386 FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Xen reported: 3000.214 MHz processor. CPU: Intel(R) Xeon(R) CPU E5240 @ 3.00GHz (3000.21-MHz = 686-class CPU) Origin =3D "GenuineIntel" Id =3D 0x1067a Family =3D 0x6 Model =3D = 0x17 Stepping =3D 10 = Features=3D0xbfe3fbff = Features2=3D0xc0ce3bd AMD Features=3D0x20100000 AMD Features2=3D0x1 Instruction TLB: 4 KB Pages, 4-way set associative, 128 entries 1st-level instruction cache: 32 KB, 8-way set associative, 64 byte line = size 1st-level data cache: 32 KB, 8-way set associative, 64 byte line size L2 cache: 6144 kbytes, 16-way associative, 64 bytes/line real memory =3D 268435456 (256 MB) Physical memory chunk(s): 0x0000000000564000 - 0x000000000fb23fff, 257687552 bytes (62912 pages) avail memory =3D 255848448 (243 MB) random device not loaded; using insecure entropy ULE: setup cpu 0 Event-channel device installed. nfslock: pseudo-device io: random: initialized mem: Pentium Pro MTRR support enabled null: xc0: on motherboard xenstore0: on motherboard Grant table initialized xen_et0: on motherboard Event timer "XENTIMER" frequency 1000000000 Hz quality 950 Timecounter "XENTIMER" frequency 1000000000 Hz quality 950 xen_et0: registered as a time-of-day clock (resolution 10000000us, = adjustment 5.000000000s) Device configuration finished. procfs registered Timecounters tick every 10.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 2048 lo0: bpf attached xctrl0: on xenstore0 xenbusb_front0: on xenstore0 xenbusb_add_device: Device device/suspend/event-channel ignored. State 6 xn0: at device/vif/0 on xenbusb_front0 xn0: bpf attached xn0: Ethernet address: 00:16:3e:13:dd:43 xenbusb_back0: on xenstore0 xn0: backend features: feature-sg feature-gso-tcp4 xbd0: 384MB at device/vbd/769 on xenbusb_front0 xbd0: attaching as ada0 xbd0: features: write_barrier xbd0: synchronize cache commands enabled. GEOM: new disk ada0 [XEN] IPI cpu=3D0 port=3D6 vector=3DRESCHEDULE_VECTOR (0) [XEN] IPI cpu=3D0 port=3D7 vector=3DCALL_FUNCTION_VECTOR (1) TSC timecounter discards lower 1 bit(s) Timecounter "TSC-low" frequency 1500107000 Hz quality 800 Trying to mount root from ufs:/dev/ada0s1a []... start_init: trying /sbin/init dumpon: /dev/da1s1a: No such file or directory pid 42 (logger), uid 0: exited on signal 8 Floating point exception /etc/rc: WARNING: unable to specify /dev/da1s1a as a dump device Entropy harvesting: interrupts ethernet point_to_pointpid 50 (dd), uid = 0: exited on signal 8 pid 53 (df), uid 0: exited on signal 8 Floating point exception pid 54 (ps), uid 0: exited on signal 8 Floating point exception pid 55 (date), uid 0: exited on signal 8 Floating point exception Floating point exception pid 58 (dd), uid 0: exited on signal 8 Floating point exception kickstart. eval: cannot create /etc/hostid: Read-only file system pid 76 (logger), uid 0: exited on signal 8 Floating point exception /etc/rc: WARNING: could not store hostuuid in /etc/hostid. pid 82 (newfs), uid 0: exited on signal 8 mount_mfs: mount exited with error code 1 pid 87 (newfs), uid 0: exited on signal 8 mount_mfs: mount exited with error code 1 Mounting /etc/fstab filesystems failed, startup aborted ERROR: ABORTING BOOT (sending SIGTERM to parent)! --Apple-Mail=_3F78DDD5-7951-4A52-9A34-7734F3A26A65 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQCVAwUBUi3JXNZcnpRveo1xAQIWJgP/ZGIcmA7R+U7kV78HxG0K8IMaHPbCTFRS eRSVnEMeqwRFoFs84rTZILBEJsl57Exkgp0opZrhWE1HVeIzYW3lnV1SKym9QvL+ 4B2vQwgE7pWnFZ9FOrDTL5j768+wj157NNHGyq30k/IofV5IBUW2UnkUiqKJi4p0 HIKJuGRHPr8= =QBth -----END PGP SIGNATURE----- --Apple-Mail=_3F78DDD5-7951-4A52-9A34-7734F3A26A65--