FreeBSD-11.1

Open development discussions

Moderator: Developer

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

FreeBSD-11.1

Post by ASX » Wed Jul 26, 2017 2:45 am

FreeBSD 11.1 has been released, the most important thing to note, from their Errata page:
[2017-07-25] A late issue was discovered with FreeBSD/arm64 and "root on ZFS" installations where the root ZFS pool would fail to be located.

There currently is no workaround.
https://www.freebsd.org/releases/11.1R/errata.html

Take care, if you are running on ZFS

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: FreeBSD-11.1

Post by ASX » Wed Jul 26, 2017 8:38 am

Among the 11.1 improvements there is the ability to cache ZFS compressed pages, in cache;
running top on a ZFS system with /4 GB RAM:

Code: Select all

last pid: 14613;  load averages:  0.73,  0.43,  0.31                                      up 0+00:57:09  13:33:50
51 processes:  1 running, 50 sleeping
CPU 0: 14.0% user,  0.0% nice,  0.4% system,  0.0% interrupt, 85.7% idle
CPU 1: 12.5% user,  0.0% nice,  0.4% system,  0.0% interrupt, 87.1% idle
Mem: 266M Active, 144M Inact, 239M Laundry, 2988M Wired, 165M Free
ARC: 2351M Total, 134M MFU, 1941M MRU, 16K Anon, 64M Header, 211M Other
     1872M Compressed, 4465M Uncompressed, 2.39:1 Ratio
Swap: 12G Total, 20M Used, 12G Free
you may notice the new additions:
- 239M Laundry (supposedly RAM pages are washed here :D )
- 1827M compressed, 4465M uncompressed, 2.39:1 ratio

it means there are now in cache ~2.5X pages compared to 11.0, that allow for a good performance increase. :)

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: FreeBSD-11.1

Post by ASX » Wed Jul 26, 2017 4:44 pm

ASX wrote:FreeBSD 11.1 has been released, the most important thing to note, from their Errata page:
[2017-07-25] A late issue was discovered with FreeBSD/arm64 and "root on ZFS" installations where the root ZFS pool would fail to be located.

There currently is no workaround.
https://www.freebsd.org/releases/11.1R/errata.html

Take care, if you are running on ZFS
Actually I read too fast, this issue is specific to arm64 not amd64 :oops:

NevilleGoddard
Developer
Posts: 398
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: FreeBSD-11.1

Post by NevilleGoddard » Thu Jul 27, 2017 9:12 am

That's good news! I was hoping to install GhostBSD with ZFS on my new hard drive.

kraileth
Developer
Posts: 312
Joined: Sun Sep 04, 2016 12:30 pm
Has thanked: 0
Been thanked: 0

Re: FreeBSD-11.1

Post by kraileth » Sat Jul 29, 2017 3:17 pm

ASX wrote:Actually I read too fast, this issue is specific to arm64 not amd64 :oops:
There seem to be issues with 11.x and ZFS, though. I've installed new FreeBSD 11.1 systems on two older servers at work yesterday, and I ran into what seems to be this problem. Strange thing is that the pool eventually is found and booted from (after displaying the error messages several times). However this makes the startup process take a lot longer...

But obviously the aarch64 problem is more severe.

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: FreeBSD-11.1

Post by ASX » Sat Jul 29, 2017 3:32 pm

kraileth wrote:
ASX wrote:Actually I read too fast, this issue is specific to arm64 not amd64 :oops:
There seem to be issues with 11.x and ZFS, though. I've installed new FreeBSD 11.1 systems on two older servers at work yesterday, and I ran into what seems to be this problem. Strange thing is that the pool eventually is found and booted from (after displaying the error messages several times). However this makes the startup process take a lot longer...

But obviously the aarch64 problem is more severe.
May be completely unrelated, but I see that the PR refer about DELLs (and may be yours is a DELL too ?);
I have a Dell E6410 in my hand right now, and one thing I noticed is it has a BIOS/UEFI that can support RAID, which is also the default config.
(Dell ships those notebooks with RAID enabled, even when there is a single HD), the issue I noticed is that in such configuration it overwrite the GPT .. and after booting will result as a corrupted GPT.
The machine still boot, so I guess only the backup table is overwritten. this issue is easily cured by selecting a normal SATA controller instead of RAID, in BIOS/UEFI.

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: FreeBSD-11.1

Post by ASX » Sat Jul 29, 2017 3:58 pm

For those who want to upgrade to 11.1, I'm uploading right a new pkgs repo on the server, amd64, built against 11.1.

i386 arch will follow within 3 days.

NevilleGoddard
Developer
Posts: 398
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: FreeBSD-11.1

Post by NevilleGoddard » Mon Jul 31, 2017 9:58 am

ASX, I upgraded my packages last night via command line. I don't know if I did it correctly, but I did:

#pkg update && pkg upgrade
I have the test repository enabled and I have disabled the FreeBSD repository with my /usr/local/etc/pkg/repos/FreeBSD.conf file.[/quote]
see above.

[quote]After the update, a lot of my computer in now in (I think) Afrikaans! My Wastebasket in now an Asblik for example and some menu items in other applications are now in Afrikaans or maybe Dutch.

Any fix for this? I chose UK English on install.

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: FreeBSD-11.1

Post by ASX » Mon Jul 31, 2017 11:55 am

ASX, I upgraded my packages last night via command line. I don't know if I did it correctly, but I did:

#pkg update && pkg upgrade
Yes, the commands are correct, although using only the second usually is enough.

Other than that, verify that the pkg repo is correctly configured:

Code: Select all

pkg -vv
I have the test repository enabled and I have disabled the FreeBSD repository with my /usr/local/etc/pkg/repos/FreeBSD.conf file.
see above.
After the update, a lot of my computer in now in (I think) Afrikaans! My Wastebasket in now an Asblik for example and some menu items in other applications are now in Afrikaans or maybe Dutch.

Any fix for this? I chose UK English on install.
what's the output of:

Code: Select all

locale

NevilleGoddard
Developer
Posts: 398
Joined: Thu Dec 22, 2016 10:30 pm
Location: Japan
Has thanked: 4 times
Been thanked: 1 time

Re: FreeBSD-11.1

Post by NevilleGoddard » Tue Aug 01, 2017 9:27 am

Sorry for the late reply.

locale is:

LANG=af_ZA.UTF-8
LC_CTYPE="af_ZA.UTF-8"
LC_COLLATE="af_ZA.UTF-8"
LC_TIME="af_ZA.UTF-8"
LC_NUMERIC="af_ZA.UTF-8"
LC_MONETARY="af_ZA.UTF-8"
LC_MESSAGES="af_ZA.UTF-8"
LC_ALL=


pkg -vv is:

KG_DBDIR = "/var/db/pkg";
PKG_CACHEDIR = "/var/cache/pkg";
PORTSDIR = "/usr/ports";
INDEXDIR = "";
INDEXFILE = "INDEX-11";
HANDLE_RC_SCRIPTS = false;
DEFAULT_ALWAYS_YES = false;
ASSUME_ALWAYS_YES = false;
REPOS_DIR [
"/etc/pkg/",
"/usr/local/etc/pkg/repos/",
]
PLIST_KEYWORDS_DIR = "";
SYSLOG = true;
ABI = "FreeBSD:11:amd64";
ALTABI = "freebsd:11:x86:64";
DEVELOPER_MODE = false;
VULNXML_SITE = "http://vuxml.freebsd.org/freebsd/vuln.xml.bz2";
FETCH_RETRY = 3;
PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [
]
DEBUG_SCRIPTS = false;
PLUGINS_CONF_DIR = "/usr/local/etc/pkg/";
PERMISSIVE = false;
REPO_AUTOUPDATE = true;
NAMESERVER = "";
HTTP_USER_AGENT = "pkg/1.10.1";
EVENT_PIPE = "";
FETCH_TIMEOUT = 30;
UNSET_TIMESTAMP = false;
SSH_RESTRICT_DIR = "";
PKG_ENV {
}
PKG_SSH_ARGS = "";
DEBUG_LEVEL = 0;
ALIAS {
all-depends = "query %dn-%dv";
annotations = "info -A";
build-depends = "info -qd";
cinfo = "info -Cx";
comment = "query -i \"%c\"";
csearch = "search -Cx";
desc = "query -i \"%e\"";
download = "fetch";
iinfo = "info -ix";
isearch = "search -ix";
prime-list = "query -e '%a = 0' '%n'";
prime-origins = "query -e '%a = 0' '%o'";
leaf = "query -e '%#r == 0' '%n-%v'";
list = "info -ql";
noauto = "query -e '%a == 0' '%n-%v'";
options = "query -i \"%n - %Ok: %Ov\"";
origin = "info -qo";
provided-depends = "info -qb";
raw = "info -R";
required-depends = "info -qr";
roptions = "rquery -i \"%n - %Ok: %Ov\"";
shared-depends = "info -qB";
show = "info -f -k";
size = "info -sq";
}
CUDF_SOLVER = "";
SAT_SOLVER = "";
RUN_SCRIPTS = true;
CASE_SENSITIVE_MATCH = false;
LOCK_WAIT = 1;
LOCK_RETRIES = 5;
SQLITE_PROFILE = false;
WORKERS_COUNT = 0;
READ_LOCK = false;
PLIST_ACCEPT_DIRECTORIES = false;
IP_VERSION = 0;
AUTOMERGE = true;
VERSION_SOURCE = "";
CONSERVATIVE_UPGRADE = true;
PKG_CREATE_VERBOSE = false;
AUTOCLEAN = false;
DOT_FILE = "";
REPOSITORIES {
}
VALID_URL_SCHEME [
"pkg+http",
"pkg+https",
"https",
"http",
"file",
"ssh",
"ftp",
"ftps",
"pkg+ssh",
"pkg+ftp",
"pkg+ftps",
]
ALLOW_BASE_SHLIBS = false;
WARN_SIZE_LIMIT = 1048576;
METALOG = "";
NFS_WITH_PROPER_LOCKING = false;


Repositories:
GhostBSD: {
url : "http://pkg.GhostBSD.org/GhostBSD-11/amd64/test",
enabled : yes,
priority : 0
}


I put setenv LANG en_GB.UTF-8 in a .config/fish/config.fish file and locale changes to

LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_ALL=


but this doesn't change anything.

Also I keep getting prompts for updates from pkg: 1.9.4_1 to 1.10.1 but pkg --version shows:

1.10.1

I renamed the /usr/local/etc/pkg.conf but this made no difference

uname -a is:

FreeBSD keef.ghostbsd-pc.home 11.0-RELEASE-p9 FreeBSD 11.0-RELEASE-p9 #0: Tue Apr 11 08:48:40 UTC 2017
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

Maybe a clean install when GhostBSD 11 comes out will sort things out. :)

Post Reply