Category: FreeBSD
Anything related to FreeBSD
pkg2ng – 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 KC45Using GraphViz to visualize the runtime dependencies of the installed ports
If you’re curious to find out how all your installed ports depend upon each other, you might want to run this neat, little script saving its output to a file, and install graphics/graphviz.
Read More → Using GraphViz to visualize the runtime dependencies of the installed portsParallel build of mail/thunderbird in FreeBSD?
Update 2014-08-07: r363978, dated Mon Aug 4 09:11:25 2014 UTC, solves the parallel build bug once and for all, and there’s no need for the Makefile.local as shown below. I’ve been scratching my head over why mail/thunderbird doesn’t build in parallel when www/firefox does. Research reveals MAKE_JOBS_SAFE was removed last August, in r324744. I can’t […]
Read More → Parallel build ofmail/thunderbird in FreeBSD?
Upgrade FreeBSD/i386 from stable/8 to stable/10 via stable/9
Some of my servers are running a fairly old version of FreeBSD/i386. I began researching how to upgrade them from stable/8 to stable/10 via stable/9. It’s pretty straightforward, but there are some pitfalls you should avoid.
Read More → Upgrade FreeBSD/i386 from stable/8 to stable/10 via stable/9FreeBSD/i386 stable/8 on Dell OptiPlex GX260
None of the below is relevant as of 2014-06-06, other than the possible need of reverting sys/dev/pci/pci.c. I have confirmed that FreeBSD/i386 stable/8 r267147 works as expected on Dell OptiPlex GX260. If you happen to run FreeBSD/i386 stable/8 on older Dell desktop PCs, like an OptiPlex GX260, you might want to back out r262226 prior […]
Read More → FreeBSD/i386 stable/8 on Dell OptiPlex GX260Youngest and oldest source file in FreeBSD base/head
While compiling a custom kernel for FreeBSD/amd64 base/head r264077, I began wondering how old is the oldest source file, how young is the youngest? This is the command I devised: The oldest source files are: The youngest source file is: That’s a span of about 10.815 years.
Read More → Youngest and oldest source file in FreeBSD base/headCoping with portupgrade’s inability to handle new dependencies
I grew tired of handholding portupgrade because of the latter’s inability to handle new dependencies. The script below is the result of my frustration. The script is available for downloading at http://ximalas.info/~trond/create-zfs/canmount/upgrade-outdated-ports.sh.
Read More → Coping with portupgrade’s inability to handle new dependencies