Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 17:01:17 +0100
From:      Florian Smeets <flo@smeets.xyz>
To:        Allan Jude <allanjude@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r293414 - in head/sys/boot: i386/loader userboot/userboot
Message-ID:  <568FDD4D.8040103@smeets.xyz>
In-Reply-To: <568FD5EA.5070805@freebsd.org>
References:  <201601080509.u0859uSh096968@repo.freebsd.org> <568FA359.8010705@smeets.xyz> <568FD5EA.5070805@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--QiuvhtgejjN4VSL3XpalqSd0a2ANwwR3D
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 08.01.16 16:29, Allan Jude wrote:
>>
>> this commit causes bhyveload to segfault for me. After reverting this
>> commit and reinstalling userboot.so I can successfully start byhve VMs=

>> again.
>>
>> My bhyves use a zvol as backingstore, this is how I start them
>>
>> /usr/share/examples/bhyve/vmrun.sh -d /dev/zvol/zroot/bhyve/xxx -t tap=
0
>> -c 1 xxx
>>
>=20
> I am not seeing this crash on my system. Do you have any other
> information? Like a backtrace or something?
>=20

Yes, sure.

(gdb) where
#0  0x00000009c1c35f10 in strrchr () from /boot/userboot.so
#1  0x00000009c1c0e8ec in loader_main (cb=3D<value optimized out>,
arg=3D<value optimized out>, version=3D<value optimized out>, ndisks=3D<v=
alue
optimized out>)
    at /usr/src/sys/boot/userboot/userboot/main.c:219
#2  0x0000000000401c09 in main (argc=3D<value optimized out>, argv=3D<val=
ue
optimized out>) at /usr/src/usr.sbin/bhyveload/bhyveload.c:768

FWIW, the VMs use UFS for boot/root, maybe the disk layout will help you?=


# gpart show
=3D>      40  83886000  vtbd0  GPT  (40G)
        40       128      1  freebsd-boot  (64K)
       168  81788720      2  freebsd-ufs  (39G)
  81788888   2097152         - free -  (1.0G)

HTH,
Florian


--QiuvhtgejjN4VSL3XpalqSd0a2ANwwR3D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJ8BAEBCgBmBQJWj91SXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNzAxMDMyMDNCQ0FCNDRBOThGRUM4NDRF
NzA1M0RGOUZGODZGMDc2AAoJEOcFPfn/hvB2b4wP/0NNYezDqOtENq1oUmI/nXxj
oXvd8/ANnZsz2o+UJfGhVqAkHJKP05f6MIRj+ESlDGf2JGtfsNF3Us40Ze76PlkC
6qEPjWysHSQzJMFtXkozkEdzeRodHuo3beiUWJbWaErGnov6LeOaBZu8QKkY97s/
hfcLuHacZxJGLhGdIy3Qwq28K5bulj5d72Tnoyw8Zh3WSbgLa6HBuDNmREhREyWi
ztVf4cbv57egu0pUxZ8aWy5ikBoPdSuAHBNMy5Qkbj/W4rwE93Tz6qObp8eL/k3U
m6wWN9X5rpf+vkXIaYQumaB0pwx0sSbNfF5DvR5MiKVnbZBR4DkyGcjIxGtcAVbx
9gaste1WZhGCXKoqkoZhxVc87GbrVhLJF7NPDTQSHB9kXM8CvW7FVUr5jQvGF/xx
Wczsg+4ChpVUtjEi/WC8Cz3QhqBhxH/RPd5nGpW+2Z3u99ss4P7MBH06SDdWwwyl
El6NTgtbmcNgWvi0dALO5wIRcT1DQU67ov8kOzy8bq5Yu6GiKzVW7D4uayQWWTQT
JQ53VaB3GZGJr8rMgW47lqOtpjAmWWXAm8M+A8SDdF5onrUGDgV0EVDc3yOde9W9
XbDvbo38A0f6jhFD57gjECnqVqRyHPwDtjGB80Z2m/HseHnjzVtEokm0+Oyt7K74
r3R/i5/H58GhYvdmf7Uf
=MLri
-----END PGP SIGNATURE-----

--QiuvhtgejjN4VSL3XpalqSd0a2ANwwR3D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?568FDD4D.8040103>