Re: upcoming kfreebsd 9
- To: debian-bsd@lists.debian.org
- Subject: Re: upcoming kfreebsd 9
- From: Arno Töll <debian@toell.net>
- Date: Sat, 08 Oct 2011 21:47:49 +0200
- Message-id: <[🔎] 4E90A8E5.5040406@toell.net>
- In-reply-to: <CAOfDtXNM9W=zWYB93wHr+gigOGwPOO+EqV2ukm0GhRKzmVytxA@mail.gmail.com>
- References: <CAOfDtXOuqBO62zk9reNpaTF1eh2Cnebqhykvogk+v19vAf6SRw@mail.gmail.com> <20110921210205.GE24517@sym.noone.org> <CAOfDtXP0iOKb9BPx-UGfBeT+n2Gnf-NexRwJ49rMDJgAkbG1Cw@mail.gmail.com> <alpine.LRH.2.02.1109220940300.4327@sci.felk.cvut.cz> <394957666-1316678009-cardhu_decombobulator_blackberry.rim.net-673215767-@b26.c28.bise6.blackberry> <4E7AFBAF.3050700@toell.net> <CAOfDtXOMeTdPQ2H0sNhc4iO_TOgAyiip18PTmM948gXw1XBG=g@mail.gmail.com> <alpine.LRH.2.02.1109232134570.3575@sci.felk.cvut.cz> <CAOfDtXNM9W=zWYB93wHr+gigOGwPOO+EqV2ukm0GhRKzmVytxA@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Robert,
On 23.09.2011 22:26, Robert Millan wrote:
> If it is, which combinations are possible and which aren't? Currently
> I know that:
> ...
> - 9.x kernel can run with 8.x userland
are you sure? I think I found such an incompatibility.
I backported and compiled kfreebsd-9:
ii kfreebsd-image-9.0-0-amd64 9.0~svn225873-1 kernel of FreeBSD 9.0
image
and I am running it with an up to date Wheezy user land, hence libgeom1 has:
# dpkg -l | grep "libgeom"
ii libgeom0 8.1-5 FreeBSD GEOM library
ii libgeom1 8.2+ds1-4 FreeBSD GEOM library
This is the same version as Sid has, right now.
This seems to cause an ABI incompatibility between libgeom and
kfreebsd-9. Hence, update-grub fails. Some debugging output is on [1]
(warning: 1.7M log). The actual problem seems to be grub-probe here
which causes a lot of noise:
# /usr/sbin/grub-probe --device /dev/da15s1 --target=fs_uuid
[lots of similar messages stripped]
Unexpected XML: name=stripesize data="0"
Unexpected XML: name=stripeoffset data="131072"
Unexpected XML: name=stripesize data="0"
Unexpected XML: name=stripeoffset data="131072"
f5cf45616b5c3c2b
The problem seems minor, the file system uid appears nonetheless but
confuses the grub scripts. Hence I tried wrapping "grub-probe" by:
#! /bin/sh
/usr/sbin/grub-probe.real $@ | tail -n1
As soon as I did, grub works fine again and generates a working
grub.conf. Apparently libgeom fails to parse the output of "sysctl -b
kern.geom.confxml" (output in [2]).
[1] http://daemonkeeper.net/wp-content/files/grub.out
[2] http://daemonkeeper.net/wp-content/files/sysctl.out
- --
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJOkKjjAAoJEMcrUe6dgPNthbMP/27ESPq/i+kVzNZ/i8GgYGkt
MxaezV6hXmB2sewF0R6gf5/vX7UPm9yjAZdQDiQSWHZ35v3CK0RAtRbxRYf4v39Q
pffE1DNxXY0moA6YfnvkLwXA8bBEAkMU3FIYwuAobUlDOwY6372xJrBFRRlhqGHx
qmczCItLZFq970UzOSJ30axzaWc7k6bP32EFo+q41RHY2nr1rQu9MiiydvIQO57V
1D/tM1Xl+GBlCqhZv5Rj/gmoQ6RAeazd3/G+MzoI0UB2tS7cK5hZurxmOtxCCEJu
r5/1dSnXixYGxN/vo3Wywaqh+qGLV6CKOctky9YYsYCqP6Lm72YEH07OO/OG1RuQ
DA5f0Va54/iWoRh6KY4Q9h8GVbyR0RgUQ6+SlV7IEW7y8yhjwLJv8hXTdAVFE+zQ
h7iR8ZZQParJ7FVstqkfUPYBFJXqkme25J5KOB+EeOq8RZ2kyGw8OmEaeKlOwFHe
UZyJT+7fax6/blnGyeR5SJMFuYVR3iR/F2GUtzHE+tlsVw4Fyg1U84ITT2ly4dUe
vdDGOAEXJrc+RF2feNvjNgV3/LgxTehx40lKU5QEf6cx589Ar60LiWpyRqI5r6KW
2BOjbVcj9cKxUs1F8qfSHvttvJtbHnhZi0MrIOE8vrYbvSa4wOdkKp/EtFyHA/OL
QYWVXFSwfS+5KwGUQO3T
=dReq
-----END PGP SIGNATURE-----
Reply to: