Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Apr 2019 21:28:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237124] [xen] Crash or freeze during boot with multiple network interfaces in HVM mode with i386 kernel
Message-ID:  <bug-237124-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237124

            Bug ID: 237124
           Summary: [xen] Crash or freeze during boot with multiple
                    network interfaces in HVM mode with i386 kernel
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: freebsdbugs@linuxhosted.ca

While attempting to migrate some virtual machines from a Xen 3.4 host to Xen
4.8 host (both Linux), we discovered that some FreeBSD domU vms were either
freezing or crashing during boot, once on the Xen 4.8 host.

After a bit of investigation it was determined that the same issue was caus=
ing
both the crashes and freezes. In each case, the last kernel message seen wo=
uld
be:
xn0: backend features: feature-sg feature-gso-tcp4

After some more investigation, it was determined that booting with only 1
network interface worked fine (the problem VMs have 2 interfaces), and that=
 the
problem only seems to exist with the i386 kernels. I tried various versions=
 of
11.0, 11.1, 11.2, and 12.0 RELEASE kernels, the only ones that would work w=
ith
more than 1 network interface are the amd64 kernels.

So to summarize, to reproduce the bug:
Xen 4.8 host dom0
HVM domU VM with multiple network interfaces
Boot FreeBSD i386 kernel (even just booting from a FreeBSD iso encounters t=
he
bug)


Below is the VM's xen config file:
name =3D "FreeBSD-test"
maxmem =3D "1024"
memory =3D "1024"
vcpus =3D "2"
builder =3D "hvm"
kernel =3D "/usr/lib/xen/boot/hvmloader"
device_model_version =3D "qemu-xen-traditional"
device_model_override =3D "/usr/lib64/xen/bin/qemu-dm"
xen_platform_pci =3D "1"
boot =3D "d"
pae =3D "1"
acpi =3D "1"
apic =3D "1"
localtime =3D "0"
on_poweroff =3D "destroy"
on_reboot =3D "destroy"
on_crash =3D "destroy"
sdl =3D "0"
serial =3D "pty"
vnc =3D 1
vnclisten =3D "0.0.0.0"
vncconsole =3D 0
vncunused =3D 0
vncdisplay =3D 1
shadow_memory =3D "8"
disk =3D [ "file:/vms/FreeBSD-test.img,hda,w",
"file:/iso/FreeBSD-12.0-RELEASE-i386-disc1.iso,hdc,r,devtype=3Dcdrom"   ]
vif =3D [ "mac=3D00:16:3e:00:3d:42,bridge=3Dxenbr0,model=3De1000",
"mac=3D00:16:3e:00:3e:42,bridge=3Dxenbr1,model=3De1000" ]
cpu_weight =3D "1024"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237124-227>