Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 2013 13:13:00 +0000
From:      "Eggert, Lars" <lars@netapp.com>
To:        =?iso-8859-1?Q?Roger_Pau_Monn=E9?= <roger.pau@citrix.com>
Cc:        "freebsd-xen@freebsd.org" <freebsd-xen@FreeBSD.org>
Subject:   Re: Xen 4.2 PV fails to boot -CURRENT PV domU
Message-ID:  <D5A11CB8-6E77-47F9-9110-B9A4EAB93745@netapp.com>
In-Reply-To: <C28354B7-1453-416A-9984-296BA9C76A0D@netapp.com>
References:  <455A20DD-3985-45EC-AC51-A3AFD33180F1@netapp.com> <522DB6A2.5050205@citrix.com> <C28354B7-1453-416A-9984-296BA9C76A0D@netapp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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" <lars@netapp.com>
 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE=
,MCA,CMOV,PAT,PSE36,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  =
Features2=3D0xc0ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,P=
DCM,DCA,SSE4.1,XSAVE,OSXSAVE>
  AMD Features=3D0x20100000<NX,LM>
  AMD Features2=3D0x1<LAHF>

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: <I/O>
random: <Software, Yarrow> initialized
mem: <memory>
Pentium Pro MTRR support enabled
null: <null device, zero device>
xc0: <Xen Console> on motherboard
xenstore0: <XenStore> on motherboard
Grant table initialized
xen_et0: <Xen PV Clock> 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: <Xen Control Device> on xenstore0
xenbusb_front0: <Xen Frontend Devices> on xenstore0
xenbusb_add_device: Device device/suspend/event-channel ignored. State 6
xn0: <Virtual Network Interface> at device/vif/0 on xenbusb_front0
xn0: bpf attached
xn0: Ethernet address: 00:16:3e:13:dd:43
xenbusb_back0: <Xen Backend Devices> on xenstore0
xn0: backend features: feature-sg feature-gso-tcp4
xbd0: 384MB <Virtual Block Device> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D5A11CB8-6E77-47F9-9110-B9A4EAB93745>