Xen 4.2 PV fails to boot -CURRENT PV domU

Eggert, Lars lars at netapp.com
Mon Sep 9 13:13:01 UTC 2013


Hi,

On Sep 9, 2013, at 14:06, "Eggert, Lars" <lars at 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 = 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 at six:/home/elars# xl create -c pvm-freebsd.cfg 
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 at 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 = "GenuineIntel"  Id = 0x1067a  Family = 0x6  Model = 0x17  Stepping = 10
  Features=0xbfe3fbff<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=0xc0ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,XSAVE,OSXSAVE>
  AMD Features=0x20100000<NX,LM>
  AMD Features2=0x1<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  = 268435456 (256 MB)
Physical memory chunk(s):
0x0000000000564000 - 0x000000000fb23fff, 257687552 bytes (62912 pages)
avail memory = 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=0 port=6 vector=RESCHEDULE_VECTOR (0)
[XEN] IPI cpu=0 port=7 vector=CALL_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)!



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 313 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-xen/attachments/20130909/3676846a/attachment.sig>


More information about the freebsd-xen mailing list