[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upcoming kfreebsd 9



-----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: