Category: FreeBSD
Anything related to FreeBSD
Enabling encrypted swap in stable/10
Enabling encrypted swap has changed in FreeBSD stable/10. I was interested in running AES-XTS with a 256 bit random key and a simulated blocksize of 4096 bytes. I had to change the line in /etc/fstab for the swap partition from to The kernel could then happily report:
Read More → Enabling encrypted swap in stable/10Solving conflicts between print/texlive-base and devel/tex-kpathsea
The 20141214 entry in ports/head/UPDATING says: 20141214: AFFECTS: users of TeXLive AUTHOR: hrs@FreeBSD.org Several scripts in print/texlive-base have been moved to devel/tex-kpathsea. Upgrading them can fail because texlive-base depends on tex-kpathsea, and the new ex-kpathsea tries to install files which were installed by the old texlive-base. The following error message indicates this situation: pkg-static: tex-kpathsea-6.2.0_1 […]
Read More → Solving conflicts between print/texlive-base and devel/tex-kpathseagettext 0.19.3 in FreeBSD
devel/gettext, as of version 0.19.3, has been split into three ports: devel/gettext, the meta-port depending the two next ports; devel/gettext-runtime, the runtime libraries; and devel/gettext-tools, the tools for managing the message catalogs. In my case, as I build my own ports, making the transition required manual intervention using both portupgrade and the ports collection tree:
Read More → gettext 0.19.3 in FreeBSDVirtualBox 4.3.18 and AHCI
Update 2014-11-30 Upgrading to Oracle VirtualBox 4.3.20 removed the timeout messages shown below. The bug was acknowledged in the change log as Storage: fixed an interrupt acknowledge issue causing hanging guests or slower I/O (4.3.18 regression) Since upgrading Oracle VirtualBox from 4.3.16 to 4.3.18 on my Windows 7 x64 host, most of my FreeBSD guests […]
Read More → VirtualBox 4.3.18 and AHCIAMANDA 3.3.2 and #undef bool
I upgraded a stable/8 i386 system and switched from lang/perl5.16 to lang/perl5.20 only to experience problems with swig generated code for AMANDA. I have confirmed this behaviour on stable/9 amd64 too. I found 17 files containing these three lines: This results in error messages such as:
Read More → AMANDA 3.3.2 and #undef boolForcing ZFS to choose 4K disk blocks aka ashift=12
A recent post to the Illumos ZFS list suggested using: to force ZFS to choose 4K disk blocks when creating zpools.
Read More → Forcing ZFS to choose 4K disk blocks aka ashift=12pkg2ng – some notes from my experience
The announced EOL of the old pkg_* tools is coming fast. Here are some notes from my experience on converting from the old /var/db/pkg structure to the new SQLite 3 based approach, pkg(ng).
Read More → pkg2ng – some notes from my experienceLocal slave port for emulators/virtualbox-ose-additions
without OpenGL and X11
I have a bunch of FreeBSD VMs running in VirtualBox. They all share a number of virtual harddrives, and among them are a virtual harddrive with the common contents of /var/db/ports. My ports configuration of emulators/virtualbox-ose-additions have the OPENGL and X11 options set. This is useless on some of my simpler VMs, as those VMs […]
Read More → Local slave port foremulators/virtualbox-ose-additions
without OpenGL and X11
CPUTYPE
woes with editors/emacs
on FreeBSD/i386 stable/10
On my FreeBSD/i386 stable/10 and head VMs I have set up clang as the system compiler. I have also set CPUTYPE to corei7 as this is accepted by clang and pretty much describes the capabilities of the host system.
Read More →CPUTYPE
woes with editors/emacs
on FreeBSD/i386 stable/10
Uncorrectable parity/CRC error on Seagate ST500DM002-1BD142 KC45
A harddrive as identified below, reported uncorrectable parity/CRC error on two separate occasions this month.
Read More → Uncorrectable parity/CRC error on Seagate ST500DM002-1BD142 KC45