Asus V7-P7H55E - FreeBSD - 2015 archive

Back to main FreeBSD page for this machine.

2015 archive

2015-11-14: ada1p4 - change to new firewall noted in /var/log/messages:

Nov 14 13:48:26 kg-v7 kernel: arp: 10.1.10.1 moved from 00:10:4b:e3:38:8b to 80:ee:73:60:61:0c on re0

that's all.

2015-07-01: ada1p4 - pkg - create a package of the (installed) py27-ply port:

root@kg-v7# pkg create -o /zs/ py27-ply
Creating package for py27-ply-3.4
root@kg-v7# ll /zs/py27*
-rw-r--r--  1 root  wheel  103124 Jul  1 23:23 /zs/py27-ply-3.4.txz

cool.

2015-06-22: ada1p4 - ports - trying to install Chromium:

root@kg-v7# cd /usr/ports/www/chromium
root@kg-v7# make DISABLE_VULNERABILITIES=yes install clean

To build Chromium, you should have around 2 GB of memory
and a fair amount of free diskspace (~ 3.7GB).

Make sure you have Python build with the SEM option ON
(default in python27-2.7.8 since r361735)
===>  License BSD3CLAUSE LGPL21 MPL accepted by the user
===>  Found saved configuration for chromium-42.0.2311.135
===>   chromium-42.0.2311.135 depends on file: /usr/local/sbin/pkg - found
=> chromium-42.0.2311.135.tar.xz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch ftp://tingo:white12@kg-f2/usr/ports/distfiles//chromium-42.0.2311.135.tar.xz
chromium-42.0.2311.135.tar.xz                 100% of  292 MB  103 MBps 00m03s
===> Fetching all distfiles required by chromium-42.0.2311.135 for building
===>  Extracting for chromium-42.0.2311.135
=> SHA256 Checksum OK for chromium-42.0.2311.135.tar.xz.
===>  Patching for chromium-42.0.2311.135
===>  Applying extra patch /usr/ports/www/chromium/files/extra-patch-clang
===>  Applying FreeBSD patches for chromium-42.0.2311.135
===>   chromium-42.0.2311.135 depends on file: /usr/local/bin/gperf - found
===>   chromium-42.0.2311.135 depends on executable: bash - found
===>   chromium-42.0.2311.135 depends on executable: yasm - found
===>   chromium-42.0.2311.135 depends on executable: flock - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/include/linux/videodev2.h - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/share/usbids/usb.ids - found
===>   chromium-42.0.2311.135 depends on package: py27-Jinja2>0 - found
===>   chromium-42.0.2311.135 depends on package: py27-ply>0 - found
===>   chromium-42.0.2311.135 depends on executable: bison - found
===>   chromium-42.0.2311.135 depends on executable: update-desktop-database - found
===>   chromium-42.0.2311.135 depends on executable: pkgconf - found
===>   chromium-42.0.2311.135 depends on executable: ninja - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/bin/python2.7 - found
===>   chromium-42.0.2311.135 depends on executable: python2 - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/libdata/pkgconfig/scrnsaverproto.pc - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/libdata/pkgconfig/xscrnsaver.pc - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found
===>   chromium-42.0.2311.135 depends on executable: gtk-update-icon-cache - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/bin/intltool-extract - found
===>   chromium-42.0.2311.135 depends on file: /usr/local/bin/perl5.16.3 - found
===>   chromium-42.0.2311.135 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   chromium-42.0.2311.135 depends on shared library: libdbus-1.so - found (/usr/local/lib/libdbus-1.so)
===>   chromium-42.0.2311.135 depends on shared library: libdbus-glib-1.so - found (/usr/local/lib/libdbus-glib-1.so)
===>   chromium-42.0.2311.135 depends on shared library: libasound.so - found (/usr/local/lib/libasound.so)
===>   chromium-42.0.2311.135 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   chromium-42.0.2311.135 depends on shared library: libnss3.so - found (/usr/local/lib/nss/libnss3.so)
===>   chromium-42.0.2311.135 depends on shared library: libFLAC.so - found (/usr/local/lib/libFLAC.so)
===>   chromium-42.0.2311.135 depends on shared library: libgnome-keyring.so - found (/usr/local/lib/libgnome-keyring.so)
===>   chromium-42.0.2311.135 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so)
===>   chromium-42.0.2311.135 depends on shared library: libcups.so - found (/usr/local/lib/libcups.so)
===>   chromium-42.0.2311.135 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   chromium-42.0.2311.135 depends on shared library: libexif.so - found (/usr/local/lib/libexif.so)
===>   chromium-42.0.2311.135 depends on shared library: libgcrypt.so - found (/usr/local/lib/libgcrypt.so)
===>   chromium-42.0.2311.135 depends on shared library: libpci.so - found (/usr/local/lib/libpci.so)
===>   chromium-42.0.2311.135 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so)
===>   chromium-42.0.2311.135 depends on shared library: libicuuc.so - found (/usr/local/lib/libicuuc.so)
===>   chromium-42.0.2311.135 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   chromium-42.0.2311.135 depends on shared library: libjsoncpp.so - found (/usr/local/lib/libjsoncpp.so)
===>   chromium-42.0.2311.135 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so)
===>   chromium-42.0.2311.135 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   chromium-42.0.2311.135 depends on shared library: libre2.so - found (/usr/local/lib/libre2.so)
===>   chromium-42.0.2311.135 depends on shared library: libsnappy.so - found (/usr/local/lib/libsnappy.so)
===>   chromium-42.0.2311.135 depends on shared library: libspeechd.so - found (/usr/local/lib/libspeechd.so)
===>   chromium-42.0.2311.135 depends on shared library: libspeex.so - found (/usr/local/lib/libspeex.so)
===>   chromium-42.0.2311.135 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===>   chromium-42.0.2311.135 depends on shared library: libwebp.so - found (/usr/local/lib/libwebp.so)
===>   chromium-42.0.2311.135 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so)
===>   chromium-42.0.2311.135 depends on shared library: libdconf.so - found (/usr/local/lib/libdconf.so)
===>   chromium-42.0.2311.135 depends on shared library: libgconf-2.so - found (/usr/local/lib/libgconf-2.so)
===>   chromium-42.0.2311.135 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   chromium-42.0.2311.135 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   chromium-42.0.2311.135 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so)
===>   chromium-42.0.2311.135 depends on shared library: libIDL-2.so - found (/usr/local/lib/libIDL-2.so)
===>   chromium-42.0.2311.135 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===>   chromium-42.0.2311.135 depends on shared library: libxslt.so - found (/usr/local/lib/libxslt.so)
===>   chromium-42.0.2311.135 depends on shared library: libORBit-2.so - found (/usr/local/lib/libORBit-2.so)
===>   chromium-42.0.2311.135 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>  Configuring for chromium-42.0.2311.135
cd /usr/ports/www/chromium/work/chromium-42.0.2311.135 && /usr/local/bin/python2.7  ./build/linux/unbundle/remove_bundled_libraries.py  'base/third_party/dmg_fp'  'base/third_party/dynamic_annotations'  'base/third_party/icu'  'base/third_party/nspr'  'base/third_party/superfasthash'  'base/third_party/symbolize'  'base/third_party/valgrind'  'base/third_party/xdg_mime'  'base/third_party/xdg_user_dirs'  'breakpad/src/third_party/curl'  'chrome/third_party/mock4js'  'chrome/third_party/mozilla_security_manager'  'courgette/third_party'  'crypto/third_party/nss'  'net/third_party/mozilla_security_manager'  'net/third_party/nss'  'third_party/WebKit'  'third_party/analytics'  'third_party/angle'  'third_party/angle/src/third_party'  'third_party/blanketjs'  'third_party/brotli'  'third_party/boringssl'  'third_party/cacheinvalidation'  'third_party/cld'  'third_party/cros_system_api'  'third_party/dom_distiller_js'  'third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js'  'third_party/ffmpeg'  'third_party/gardiner_mod'  'third_party/fips181'  'third_party/flot'  'third_party/google_input_tools'  'third_party/google_input_tools/third_party/closure_library'  'third_party/google_input_tools/third_party/closure_library/third_party/closure'  'third_party/hunspell'  'third_party/iccjpeg'  'third_party/icu/icu.isolate'  'third_party/jinja2'  'third_party/jstemplate'  'third_party/khronos'  'third_party/leveldatabase'  'third_party/libaddressinput'  'third_party/libjingle'  'third_party/libphonenumber'  'third_party/libsrtp'  'third_party/libvpx'  'third_party/libvpx/source/libvpx/third_party/x86inc'  'third_party/libxml/chromium'  'third_party/libXNVCtrl'  'third_party/libyuv'  'third_party/lss'  'third_party/lzma_sdk'  'third_party/markupsafe'  'third_party/mesa'  'third_party/mojo'  'third_party/modp_b64'  'third_party/mt19937ar'  'third_party/npapi'  'third_party/openmax_dl'  'third_party/opus'  'third_party/ots'  'third_party/pdfium'  'third_party/pdfium/third_party'  'third_party/ply'  'third_party/polymer'  'third_party/protobuf'  'third_party/pywebsocket'  'third_party/qcms'  'third_party/qunit'  'third_party/readability'  'third_party/sfntly'  'third_party/sinonjs'  'third_party/skia'  'third_party/smhasher'  'third_party/sqlite'  'third_party/tcmalloc'  'third_party/tlslite'  'third_party/trace-viewer'  'third_party/trace-viewer/third_party'  'third_party/trace-viewer/third_party/tvcm/third_party'  'third_party/undoview'  'third_party/usrsctp'  'third_party/web-animations-js'  'third_party/webdriver'  'third_party/webrtc'  'third_party/widevine'  'third_party/x86inc'  'third_party/yasm'  'third_party/zlib'  'url/third_party/mozilla'  'v8/src/third_party/valgrind'  'v8/src/third_party/fdlibm'  --do-remove || false
cd /usr/ports/www/chromium/work/chromium-42.0.2311.135 && /usr/local/bin/python2.7  ./build/linux/unbundle/replace_gyp_files.py  -Dclang_use_chrome_plugins=0 -Dlinux_breakpad=0 -Dlinux_use_heapchecker=0 -Dlinux_strip_binary=1 -Dtest_isolation_mode=noop -Ddisable_nacl=1 -Denable_extensions=1 -Denable_one_click_signin=1 -Denable_openmax=1 -Denable_webrtc=1 -Dwerror= -Dno_gc_sections=1 -Dos_ver=1001507 -Dprefix_dir=/usr/local -Dpython_ver=2.7 -Duse_allocator=none -Duse_cups=1 -Dlinux_link_gsettings=1 -Dlinux_link_libpci=1 -Dlinux_link_libspeechd=1 -Dlibspeechd_h_prefix=speech-dispatcher/ -Dusb_ids_path=/usr/local/share/usbids/usb.ids -Dwant_separate_host_toolset=0 -Duse_system_bzip2=1 -Duse_system_flac=1 -Duse_system_harfbuzz=1 -Duse_system_icu=1 -Duse_system_jsoncpp=1 -Duse_system_libevent=1 -Duse_system_libexif=1 -Duse_system_libjpeg=1 -Duse_system_libpng=1 -Duse_system_libusb=1 -Duse_system_libwebp=1 -Duse_system_libxml=1 -Duse_system_libxslt=1 -Duse_system_nspr=1 -Duse_system_protobuf=0 -Duse_system_re2=1 -Duse_system_snappy=1 -Duse_system_speex=1 -Duse_system_xdg_utils=1 -Duse_system_yasm=1 -Dv8_use_external_startup_data=0 -Dflapper_version_h_file='/usr/ports/www/chromium/work/chromium-42.0.2311.135/flapper_version.h' -Dgoogle_api_key=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 -Dgoogle_default_client_id=996322985003.apps.googleusercontent.com -Dgoogle_default_client_secret=IR1za9-1VK0zZ0f_O8MVFicn -Dffmpeg_branding=Chrome -Dproprietary_codecs=1 -Duse_gconf=1 -Duse_pulseaudio=0 -Dclang=1 || false
echo > /usr/ports/www/chromium/work/chromium-42.0.2311.135/flapper_version.h
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/sdch/open-vcdiff/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/sdch/open-vcdiff/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/yasm/source/patched-yasm/config/config.rpath
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/tcmalloc/vendor/m4/libtool.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/tcmalloc/vendor/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/sqlite/sqlite-src-3080704/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/sqlite/sqlite-src-3080704/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/sqlite/src/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/sqlite/src/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/sqlite/sqlite-src-3070603/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/www/chromium/work/chromium-42.0.2311.135/third_party/sqlite/sqlite-src-3070603/configure
cd /usr/ports/www/chromium/work/chromium-42.0.2311.135 && /usr/bin/env CC="cc"  CXX="c++"  GYP_GENERATORS=ninja  GYP_DEFINES="clang_use_chrome_plugins=0  linux_breakpad=0  linux_use_heapchecker=0  linux_strip_binary=1  test_isolation_mode=noop  disable_nacl=1  enable_extensions=1  enable_one_click_signin=1  enable_openmax=1  enable_webrtc=1  werror=  no_gc_sections=1  os_ver=1001507  prefix_dir=/usr/local  python_ver=2.7  use_allocator=none  use_cups=1  linux_link_gsettings=1  linux_link_libpci=1  linux_link_libspeechd=1  libspeechd_h_prefix=speech-dispatcher/  usb_ids_path=/usr/local/share/usbids/usb.ids  want_separate_host_toolset=0  use_system_bzip2=1  use_system_flac=1  use_system_harfbuzz=1  use_system_icu=1  use_system_jsoncpp=1  use_system_libevent=1  use_system_libexif=1  use_system_libjpeg=1  use_system_libpng=1  use_system_libusb=1  use_system_libwebp=1  use_system_libxml=1  use_system_libxslt=1  use_system_nspr=1  use_system_protobuf=0  use_system_re2=1  use_system_snappy=1  use_system_speex=1  use_system_xdg_utils=1  use_system_yasm=1  v8_use_external_startup_data=0 flapper_version_h_file='/usr/ports/www/chromium/work/chromium-42.0.2311.135/flapper_version.h' google_api_key=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8  google_default_client_id=996322985003.apps.googleusercontent.com  google_default_client_secret=IR1za9-1VK0zZ0f_O8MVFicn ffmpeg_branding=Chrome proprietary_codecs=1 use_gconf=1 use_pulseaudio=0 clang=1" PKG_CONFIG=pkgconf ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PYTHON="/usr/local/bin/python2.7" AR=/usr/bin/ar CFLAGS="-O2 -pipe  -isystem/usr/local/include -Wno-unknown-warning-option -fstack-protector -fno-strict-aliasing"  CPPFLAGS=""  CXXFLAGS="-O2 -pipe -isystem/usr/local/include -Wno-unknown-warning-option -fstack-protector -fno-strict-aliasing "  LDFLAGS=" -fstack-protector" XDG_DATA_HOME=/usr/ports/www/chromium/work  XDG_CONFIG_HOME=/usr/ports/www/chromium/work  HOME=/usr/ports/www/chromium/work SHELL=/bin/sh CONFIG_SHELL=/bin/sh /usr/local/bin/python2.7  ./build/gyp_chromium chrome/chrome.gyp --depth .
Updating projects from gyp files...
Traceback (most recent call last):
  File "./build/gyp_chromium", line 322, in <module>
    gyp_rc = gyp.main(args)
  File "/usr/ports/www/chromium/work/chromium-42.0.2311.135/tools/gyp/pylib/gyp/__init__.py", line 526, in main
    return gyp_main(args)
  File "/usr/ports/www/chromium/work/chromium-42.0.2311.135/tools/gyp/pylib/gyp/__init__.py", line 502, in gyp_main
    params, options.check, options.circular_check)
  File "/usr/ports/www/chromium/work/chromium-42.0.2311.135/tools/gyp/pylib/gyp/__init__.py", line 129, in Load
    params['parallel'], params['root_targets'])
  File "/usr/ports/www/chromium/work/chromium-42.0.2311.135/tools/gyp/pylib/gyp/input.py", line 2730, in Load
    check, generator_input_info)
  File "/usr/ports/www/chromium/work/chromium-42.0.2311.135/tools/gyp/pylib/gyp/input.py", line 596, in LoadTargetBuildFilesParallel
    parallel_state.pool = multiprocessing.Pool(multiprocessing.cpu_count())
  File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 232, in Pool
    return Pool(processes, initializer, initargs, maxtasksperchild)
  File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 138, in __init__
    self._setup_queues()
  File "/usr/local/lib/python2.7/multiprocessing/pool.py", line 233, in _setup_queues
    from .queues import SimpleQueue
  File "/usr/local/lib/python2.7/multiprocessing/queues.py", line 48, in <module>
    from multiprocessing.synchronize import Lock, BoundedSemaphore, Semaphore, Condition
  File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 59, in <module>
    " function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/chromium
*** Error code 1

Stop.
make: stopped in /usr/ports/www/chromium

Hmm,

root@kg-v7# uname -a
FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb  6 21:36:01 CET 2015     root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

I wonder why? Ah, of course. I need to rebuild Python27 with the SEM=on option. Then Chromium builds:

root@kg-v7# make DISABLE_VULNERABILITIES=yes install clean
[...]
====> Compressing man pages (compress-man)
===>  Installing for chromium-42.0.2311.135
===>  Checking if chromium already installed
===>   Registering installation for chromium-42.0.2311.135
Installing chromium-42.0.2311.135...
===> SECURITY REPORT:
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/share/chromium/chrome

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:
http://www.chromium.org/Home
===>  Cleaning for chromium-42.0.2311.135

ok.

2015-05-08: ada1p4 - after looking at vt(4), I wonder if I can change console to vt. It is currently sc:

root@kg-v7# sysctl kern.vty
kern.vty: sc

if I set kern.vty=vt in /boot/loader.conf, then what? Ok, after a boot, I get a very ugly textmode, dmesg says:

VT: running with driver "vga".

and

root@kg-v7# sysctl kern.vty
kern.vty: vt
root@kg-v7# sysctl kern.vt
kern.vt.enable_altgr: 1
kern.vt.debug: 0
kern.vt.deadtimer: 15
kern.vt.suspendswitch: 1
kern.vt.kbd_halt: 1
kern.vt.kbd_poweroff: 1
kern.vt.kbd_reboot: 1
kern.vt.kbd_debug: 1
kern.vt.kbd_panic: 0

good. Now, can I exit Xorg without loosing my (ugly) console? I sure can, and after exiting I have a better console mode too. From /var/log/messages:

May  8 00:04:07 kg-v7 kernel: info: [drm] Initialized drm 1.1.0 20060810
May  8 00:04:08 kg-v7 kernel: drmn0: <Intel IronLake> on vgapci0
May  8 00:04:08 kg-v7 kernel: info: [drm] MSI enabled 1 message(s)
May  8 00:04:08 kg-v7 kernel: info: [drm] AGP at 0xe0000000 256MB
May  8 00:04:08 kg-v7 kernel: iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
May  8 00:04:08 kg-v7 kernel: iic0: <I2C generic I/O> on iicbus0
May  8 00:04:08 kg-v7 kernel: iic1: <I2C generic I/O> on iicbus1
May  8 00:04:08 kg-v7 kernel: iicbus2: <Philips I2C bus> on iicbb1 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic2: <I2C generic I/O> on iicbus2
May  8 00:04:08 kg-v7 kernel: iic3: <I2C generic I/O> on iicbus3
May  8 00:04:08 kg-v7 kernel: iicbus4: <Philips I2C bus> on iicbb2 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic4: <I2C generic I/O> on iicbus4
May  8 00:04:08 kg-v7 kernel: iic5: <I2C generic I/O> on iicbus5
May  8 00:04:08 kg-v7 kernel: iicbus6: <Philips I2C bus> on iicbb3 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic6: <I2C generic I/O> on iicbus6
May  8 00:04:08 kg-v7 kernel: iic7: <I2C generic I/O> on iicbus7
May  8 00:04:08 kg-v7 kernel: iicbus8: <Philips I2C bus> on iicbb4 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic8: <I2C generic I/O> on iicbus8
May  8 00:04:08 kg-v7 kernel: iic9: <I2C generic I/O> on iicbus9
May  8 00:04:08 kg-v7 kernel: iicbus10: <Philips I2C bus> on iicbb5 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic10: <I2C generic I/O> on iicbus10
May  8 00:04:08 kg-v7 kernel: iic11: <I2C generic I/O> on iicbus11
May  8 00:04:08 kg-v7 kernel: iicbus12: <Philips I2C bus> on iicbb6 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic12: <I2C generic I/O> on iicbus12
May  8 00:04:08 kg-v7 kernel: iic13: <I2C generic I/O> on iicbus13
May  8 00:04:08 kg-v7 kernel: iicbus14: <Philips I2C bus> on iicbb7 addr 0x0
May  8 00:04:08 kg-v7 kernel: iic14: <I2C generic I/O> on iicbus14
May  8 00:04:08 kg-v7 kernel: iic15: <I2C generic I/O> on iicbus15
May  8 00:04:08 kg-v7 kernel: info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
May  8 00:04:08 kg-v7 kernel: info: [drm] Driver supports precise vblank timestamp query.
May  8 00:04:08 kg-v7 kernel: drmn0: taking over the fictitious range 0xe0000000-0xf0000000
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector VGA-1: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.VGA-1
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector HDMI-A-1: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-1
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector DP-1: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.DP-1
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector HDMI-A-2: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-2
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector HDMI-A-3: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-3
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector DP-2: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.DP-2
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] Connector DP-3: get mode from tunables:
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.DP-3
May  8 00:04:08 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
May  8 00:04:08 kg-v7 kernel: info: [drm] GMBUS timed out, falling back to bit banging on pin 7 [gmbus bus dpd]
May  8 00:04:08 kg-v7 kernel: fbd0 on drmn0
May  8 00:04:08 kg-v7 kernel: VT: Replacing driver "vga" with new "fb".
May  8 00:04:08 kg-v7 kernel: info: [drm] Initialized i915 1.6.0 20080730

neat. And starting Xorg again (with startxfce4) works too - great!

2015-05-07: ada1p4 - ports - and a few more:

May  7 23:41:31 kg-v7 pkg: libpci-3.3.0 deinstalled
May  7 23:41:32 kg-v7 pkg-static: libpci-3.3.1 installed
May  7 23:41:43 kg-v7 pkg: libedit-3.1.20150325 deinstalled
May  7 23:41:44 kg-v7 pkg-static: libedit-3.1.20150325_1 installed
May  7 23:41:52 kg-v7 pkg: libdmx-1.1.3_2 deinstalled
May  7 23:41:53 kg-v7 pkg-static: libdmx-1.1.3_3 installed
May  7 23:42:02 kg-v7 pkg: libXxf86dga-1.1.4_2 deinstalled
May  7 23:42:03 kg-v7 pkg-static: libXxf86dga-1.1.4_3 installed
May  7 23:42:11 kg-v7 pkg: libXres-1.0.7_2 deinstalled
May  7 23:42:12 kg-v7 pkg-static: libXres-1.0.7_3 installed
May  7 23:42:21 kg-v7 pkg: libXfontcache-1.0.5_2 deinstalled
May  7 23:42:22 kg-v7 pkg-static: libXfontcache-1.0.5_3 installed
May  7 23:42:31 kg-v7 pkg: libXScrnSaver-1.2.2_2 deinstalled
May  7 23:42:32 kg-v7 pkg-static: libXScrnSaver-1.2.2_3 installed
May  7 23:43:17 kg-v7 pkg: iceauth-1.0.6 deinstalled
May  7 23:43:18 kg-v7 pkg-static: iceauth-1.0.7 installed

done.

2015-05-07: ada1p4 - ports - upgraded another bunch of ports today. From /var/log/messages:

May  7 19:10:39 kg-v7 pkg: xcb-util-keysyms-0.4.0 deinstalled
May  7 19:10:40 kg-v7 pkg-static: xcb-util-keysyms-0.4.0_1 installed
May  7 19:10:48 kg-v7 pkg: libXv-1.0.10_2,1 deinstalled
May  7 19:10:50 kg-v7 pkg-static: libXv-1.0.10_3,1 installed
May  7 19:11:00 kg-v7 pkg: libXvMC-1.0.8_2 deinstalled
May  7 19:11:01 kg-v7 pkg-static: libXvMC-1.0.9 installed
May  7 19:31:09 kg-v7 pkg: llvm35-3.5.1 deinstalled
May  7 19:31:12 kg-v7 pkg-static: llvm35-3.5.2 installed
May  7 19:31:28 kg-v7 pkg: libxkbfile-1.0.8_2 deinstalled
May  7 19:31:29 kg-v7 pkg-static: libxkbfile-1.0.8_3 installed
May  7 19:31:39 kg-v7 pkg: libxkbui-1.0.2_3 deinstalled
May  7 19:31:40 kg-v7 pkg-static: libxkbui-1.0.2_4 installed
May  7 19:31:50 kg-v7 pkg: xkbcomp-1.2.4 deinstalled
May  7 19:31:52 kg-v7 pkg-static: xkbcomp-1.3.0 installed
May  7 19:32:06 kg-v7 pkg: xkeyboard-config-2.13 deinstalled
May  7 19:32:07 kg-v7 pkg-static: xkeyboard-config-2.14 installed
May  7 19:32:23 kg-v7 pkg: xterm-317 deinstalled
May  7 19:32:25 kg-v7 pkg-static: xterm-318 installed
May  7 19:32:50 kg-v7 pkg: xpdf-3.04_2 deinstalled
May  7 19:32:52 kg-v7 pkg-static: xpdf-3.04_4 installed
May  7 19:33:01 kg-v7 pkg: libXxf86misc-1.0.3_2 deinstalled
May  7 19:33:02 kg-v7 pkg-static: libXxf86misc-1.0.3_3 installed
May  7 19:33:29 kg-v7 pkg: xf86-video-intel-2.21.15_7 deinstalled
May  7 19:33:30 kg-v7 pkg-static: xf86-video-intel-2.21.15_8 installed
May  7 19:33:43 kg-v7 pkg: xf86-input-mouse-1.9.0_6 deinstalled
May  7 19:33:44 kg-v7 pkg-static: xf86-input-mouse-1.9.1 installed
May  7 19:59:14 kg-v7 pkg: libltdl-2.4.5 deinstalled
May  7 19:59:16 kg-v7 pkg-static: libltdl-2.4.6 installed
May  7 20:01:37 kg-v7 pkg: ImageMagick-6.8.0.7_5,1 deinstalled
May  7 20:01:39 kg-v7 pkg-static: ImageMagick-6.9.1.2,1 installed
May  7 20:09:58 kg-v7 pkg: nss-3.18 deinstalled
May  7 20:09:59 kg-v7 pkg-static: nss-3.18.1 installed
May  7 20:35:37 kg-v7 pkg: firefox-37.0,1 deinstalled
May  7 20:35:40 kg-v7 pkg-static: firefox-37.0.2_1,1 installed
May  7 20:36:57 kg-v7 pkg-static: libinotify-20140622 installed
May  7 20:39:06 kg-v7 pkg: worker-3.6.2 deinstalled
May  7 20:39:08 kg-v7 pkg-static: worker-3.6.2_1 installed

that's all.

2015-05-06: ada1p4 - ports - I update via portsnap fetch; portsnap update, Then check if HAL must be disabled again:

root@kg-v7# ls -ld /usr/ports/sysutils/hal*
drwxr-xr-x  3 root  wheel  512 May  6 20:04 /usr/ports/sysutils/hal
drwxr-xr-x  3 root  wheel  512 Apr 30  2014 /usr/ports/sysutils/hal-info
drwxr-xr-x  3 root  wheel  512 Feb  5 23:42 /usr/ports/sysutils/hal_

yep, out with the old, then rename the new one:

root@kg-v7# rm -rf /usr/ports/sysutils/hal_
root@kg-v7# mv /usr/ports/sysutils/hal /usr/ports/sysutils/hal_

done. Next I upgraded quite a few ports. From /var/log/messages:

May  6 20:08:14 kg-v7 pkg: pkg-1.4.12 deinstalled
May  6 20:08:16 kg-v7 pkg-static: pkg-1.5.1 installed
May  6 20:10:19 kg-v7 pkg: usbids-20150324 deinstalled
May  6 20:10:20 kg-v7 pkg-static: usbids-20150331 installed
May  6 20:10:26 kg-v7 pkg: pciids-20150325 deinstalled
May  6 20:10:27 kg-v7 pkg-static: pciids-20150428 installed
May  6 20:13:30 kg-v7 pkg: perl5.16-5.16.3_18 deinstalled
May  6 20:13:33 kg-v7 pkg-static: perl5.16-5.16.3_21 installed
May  6 20:13:44 kg-v7 pkg: p5-Socket-2.018 deinstalled
May  6 20:13:45 kg-v7 pkg-static: p5-Socket-2.019 installed
May  6 20:14:39 kg-v7 pkg: libiconv-1.14_6 deinstalled
May  6 20:14:40 kg-v7 pkg-static: libiconv-1.14_8 installed
May  6 20:19:21 kg-v7 pkg: ruby20-2.0.0.643,1 deinstalled
May  6 20:19:26 kg-v7 pkg-static: ruby20-2.0.0.645,1 installed
May  6 20:22:38 kg-v7 pkg: pkgconf-0.9.8 deinstalled
May  6 20:22:40 kg-v7 pkg-static: pkgconf-0.9.10 installed
May  6 20:23:12 kg-v7 pkg: ca_root_nss-3.18 deinstalled
May  6 20:23:13 kg-v7 pkg-static: ca_root_nss-3.18.1 installed
May  6 20:25:07 kg-v7 pkg: python27-2.7.9 deinstalled
May  6 20:25:10 kg-v7 pkg-static: python27-2.7.9_1 installed
May  6 20:28:22 kg-v7 pkg: curl-7.41.0 deinstalled
May  6 20:28:23 kg-v7 pkg-static: curl-7.42.1 installed
May  6 20:28:49 kg-v7 pkg: png-1.6.16 deinstalled
May  6 20:28:50 kg-v7 pkg-static: png-1.6.17 installed
May  6 20:31:53 kg-v7 pkg: font-util-1.3.0_2 deinstalled
May  6 20:31:54 kg-v7 pkg-static: font-util-1.3.1 installed
May  6 20:34:24 kg-v7 pkg: opencv-core-2.4.9_1 deinstalled
May  6 20:34:25 kg-v7 pkg-static: opencv-core-2.4.9_2 installed
May  6 20:34:44 kg-v7 pkg: mDNSResponder-561.1.1 deinstalled
May  6 20:34:45 kg-v7 pkg-static: mDNSResponder-567 installed
May  6 20:40:54 kg-v7 pkg: icu-53.1 deinstalled
May  6 20:40:56 kg-v7 pkg-static: icu-55.1 installed
May  6 20:41:04 kg-v7 pkg: intltool-0.50.2 deinstalled
May  6 20:41:05 kg-v7 pkg-static: intltool-0.50.2_1 installed
May  6 20:41:13 kg-v7 pkg: libpciaccess-0.13.2_2 deinstalled
May  6 20:41:14 kg-v7 pkg-static: libpciaccess-0.13.3 installed
May  6 20:41:25 kg-v7 pkg: libtool-2.4.5 deinstalled
May  6 20:41:26 kg-v7 pkg-static: libtool-2.4.6 installed
May  6 20:41:40 kg-v7 pkg: libdrm-2.4.58_1,1 deinstalled
May  6 20:41:41 kg-v7 pkg-static: libdrm-2.4.60,1 installed
May  6 20:41:54 kg-v7 pkg: nasm-2.11.08,1 deinstalled
May  6 20:41:55 kg-v7 pkg-static: nasm-2.11.08_1,1 installed
May  6 20:42:17 kg-v7 pkg: gawk-4.1.1_1 deinstalled
May  6 20:42:18 kg-v7 pkg-static: gawk-4.1.2 installed
May  6 20:42:26 kg-v7 pkg: xproto-7.0.26 deinstalled
May  6 20:42:27 kg-v7 pkg-static: xproto-7.0.27 installed
May  6 20:42:37 kg-v7 pkg: libgpg-error-1.17 deinstalled
May  6 20:42:38 kg-v7 pkg-static: libgpg-error-1.19 installed
May  6 20:42:48 kg-v7 pkg: libxshmfence-1.1_3 deinstalled
May  6 20:42:49 kg-v7 pkg-static: libxshmfence-1.2 installed
May  6 20:43:11 kg-v7 pkg: pixman-0.32.6 deinstalled
May  6 20:43:13 kg-v7 pkg-static: pixman-0.32.6_1 installed
May  6 20:43:21 kg-v7 pkg: libXdmcp-1.1.1_2 deinstalled
May  6 20:43:22 kg-v7 pkg-static: libXdmcp-1.1.2 installed
May  6 20:43:31 kg-v7 pkg: libfontenc-1.1.2_2 deinstalled
May  6 20:43:32 kg-v7 pkg-static: libfontenc-1.1.2_3 installed
May  6 20:43:39 kg-v7 pkg: bdftopcf-1.0.4 deinstalled
May  6 20:43:41 kg-v7 pkg-static: bdftopcf-1.0.5 installed
May  6 20:44:43 kg-v7 pkg: gstreamer-0.10.36_2 deinstalled
May  6 20:44:44 kg-v7 pkg-static: gstreamer-0.10.36_3 installed
May  6 20:46:04 kg-v7 pkg: git-2.3.4 deinstalled
May  6 20:46:06 kg-v7 pkg-static: git-2.4.0 installed
May  6 20:46:58 kg-v7 pkg: sqlite3-3.8.8.3 deinstalled
May  6 20:46:59 kg-v7 pkg-static: sqlite3-3.8.9_1 installed
May  6 20:47:07 kg-v7 pkg: libXau-1.0.8_2 deinstalled
May  6 20:47:08 kg-v7 pkg-static: libXau-1.0.8_3 installed
May  6 20:47:36 kg-v7 pkg: libxcb-1.11 deinstalled
May  6 20:47:38 kg-v7 pkg-static: libxcb-1.11_1 installed
May  6 20:47:51 kg-v7 pkg: xcb-util-0.4.0,1 deinstalled
May  6 20:47:52 kg-v7 pkg-static: xcb-util-0.4.0_1,1 installed
May  6 20:48:01 kg-v7 pkg: xcb-util-renderutil-0.3.9 deinstalled
May  6 20:48:02 kg-v7 pkg-static: xcb-util-renderutil-0.3.9_1 installed
May  6 20:48:51 kg-v7 pkg: libX11-1.6.2_2,1 deinstalled
May  6 20:48:52 kg-v7 pkg-static: libX11-1.6.2_3,1 installed
May  6 20:49:04 kg-v7 pkg: libXrender-0.9.8_2 deinstalled
May  6 20:49:05 kg-v7 pkg-static: libXrender-0.9.8_3 installed
May  6 20:49:15 kg-v7 pkg: libXext-1.3.3,1 deinstalled
May  6 20:49:16 kg-v7 pkg-static: libXext-1.3.3_1,1 installed
May  6 20:49:24 kg-v7 pkg: libXxf86vm-1.1.3_2 deinstalled
May  6 20:49:26 kg-v7 pkg-static: libXxf86vm-1.1.4 installed
May  6 20:49:51 kg-v7 pkg: harfbuzz-0.9.36 deinstalled
May  6 20:49:53 kg-v7 pkg-static: harfbuzz-0.9.40_1 installed
May  6 20:50:03 kg-v7 pkg: libXp-1.0.2_2,1 deinstalled
May  6 20:50:04 kg-v7 pkg-static: libXp-1.0.3,1 installed
May  6 20:50:13 kg-v7 pkg: libXfixes-5.0.1_2 deinstalled
May  6 20:50:14 kg-v7 pkg-static: libXfixes-5.0.1_3 installed
May  6 20:50:23 kg-v7 pkg: libXcomposite-0.4.4_2,1 deinstalled
May  6 20:50:25 kg-v7 pkg-static: libXcomposite-0.4.4_3,1 installed
May  6 20:50:34 kg-v7 pkg: libXdamage-1.1.4_2 deinstalled
May  6 20:50:35 kg-v7 pkg-static: libXdamage-1.1.4_3 installed
May  6 20:50:44 kg-v7 pkg: libXcursor-1.1.14_2 deinstalled
May  6 20:50:45 kg-v7 pkg-static: libXcursor-1.1.14_3 installed
May  6 20:50:56 kg-v7 pkg: libXft-2.3.2 deinstalled
May  6 20:50:57 kg-v7 pkg-static: libXft-2.3.2_1 installed
May  6 20:51:07 kg-v7 pkg: libICE-1.0.9,1 deinstalled
May  6 20:51:08 kg-v7 pkg-static: libICE-1.0.9_1,1 installed
May  6 20:51:17 kg-v7 pkg: libSM-1.2.2_2,1 deinstalled
May  6 20:51:18 kg-v7 pkg-static: libSM-1.2.2_3,1 installed
May  6 20:52:13 kg-v7 pkg: colord-1.2.4 deinstalled
May  6 20:52:14 kg-v7 pkg-static: colord-1.2.4_1 installed
May  6 20:52:25 kg-v7 pkg: libXi-1.7.4,1 deinstalled
May  6 20:52:27 kg-v7 pkg-static: libXi-1.7.4_1,1 installed
May  6 20:52:35 kg-v7 pkg: libXinerama-1.1.3_2,1 deinstalled
May  6 20:52:36 kg-v7 pkg-static: libXinerama-1.1.3_3,1 installed
May  6 20:52:44 kg-v7 pkg: libXtst-1.2.2_2 deinstalled
May  6 20:52:46 kg-v7 pkg-static: libXtst-1.2.2_3 installed
May  6 20:52:58 kg-v7 pkg: libtasn1-4.2 deinstalled
May  6 20:52:59 kg-v7 pkg-static: libtasn1-4.5 installed
May  6 20:53:16 kg-v7 pkg: libXt-1.1.4_2,1 deinstalled
May  6 20:53:17 kg-v7 pkg-static: libXt-1.1.4_3,1 installed
May  6 20:53:28 kg-v7 pkg: libXpm-3.5.11_2 deinstalled
May  6 20:53:29 kg-v7 pkg-static: libXpm-3.5.11_3 installed
May  6 20:53:40 kg-v7 pkg: libXmu-1.1.2_2,1 deinstalled
May  6 20:53:41 kg-v7 pkg-static: libXmu-1.1.2_3,1 installed
May  6 20:53:49 kg-v7 pkg: mkfontscale-1.1.1_1 deinstalled
May  6 20:53:50 kg-v7 pkg-static: mkfontscale-1.1.2 installed
May  6 20:54:13 kg-v7 pkg: pango-1.36.8 deinstalled
May  6 20:54:14 kg-v7 pkg-static: pango-1.36.8_1 installed
May  6 20:54:36 kg-v7 pkg: libXaw-1.0.12_2,2 deinstalled
May  6 20:54:37 kg-v7 pkg-static: libXaw-1.0.12_3,2 installed
May  6 20:58:08 kg-v7 pkg: texlive-base-20140525_6 deinstalled
May  6 20:58:11 kg-v7 pkg-static: texlive-base-20140525_7 installed
May  6 20:58:37 kg-v7 pkg: libgsf-1.14.32 deinstalled
May  6 20:58:38 kg-v7 pkg-static: libgsf-1.14.33 installed
May  6 20:58:47 kg-v7 pkg: randrproto-1.4.0 deinstalled
May  6 20:58:48 kg-v7 pkg-static: randrproto-1.4.1 installed
May  6 20:58:57 kg-v7 pkg: libXrandr-1.4.2_2 deinstalled
May  6 20:58:58 kg-v7 pkg-static: libXrandr-1.4.2_3 installed
May  6 21:02:18 kg-v7 pkg: gtk3-3.14.10 deinstalled
May  6 21:02:20 kg-v7 pkg-static: gtk3-3.14.12 installed
May  6 21:02:45 kg-v7 pkg: p11-kit-0.22.1 deinstalled
May  6 21:02:46 kg-v7 pkg-static: p11-kit-0.23.1 installed
May  6 21:03:58 kg-v7 pkg: gnutls-3.2.21 deinstalled
May  6 21:04:00 kg-v7 pkg-static: gnutls-3.2.21_1 installed
May  6 21:08:04 kg-v7 pkg: ffmpeg-2.3.6,1 deinstalled
May  6 21:08:06 kg-v7 pkg-static: ffmpeg-2.3.6_2,1 installed
May  6 21:08:53 kg-v7 pkg: Thunar-1.6.6_2 deinstalled
May  6 21:08:55 kg-v7 pkg-static: Thunar-1.6.8 installed

done.

2015-04-03: ada1p4 - checkout the /boot/boot1.efifat filesystem:

root@kg-v7# disktype /boot/boot1.efifat

--- /boot/boot1.efifat
Regular file, size 800 KiB (819200 bytes)
FAT12 file system (hints score 5 of 5)
  Volume size 766 KiB (784384 bytes, 1532 clusters of 512 bytes)
  Volume name "NO_NAME"

mount it:

root@kg-v7# mdconfig -f /boot/boot1.efifat
md0
root@kg-v7# mdconfig -l
md0 
root@kg-v7# mount -r -t msdosfs /dev/md0 /mnt

disk usage

root@kg-v7# df -h /mnt
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/md0      767K     66K    701K     9%    /mnt

list contents:

root@kg-v7# ll /mnt
total 21
drwxr-xr-x   1 root  wheel  16384 Dec 31  1979 ./
drwxr-xr-x  20 root  wheel   1024 Apr  2 01:25 ../
drwxr-xr-x   1 root  wheel    512 Apr 26  2014 efi/
root@kg-v7# ll /mnt/efi
total 17
drwxr-xr-x  1 root  wheel    512 Apr 26  2014 ./
drwxr-xr-x  1 root  wheel  16384 Dec 31  1979 ../
drwxr-xr-x  1 root  wheel    512 Apr 26  2014 boot/
root@kg-v7# ll /mnt/efi/boot
total 65
drwxr-xr-x  1 root  wheel    512 Apr 26  2014 ./
drwxr-xr-x  1 root  wheel    512 Apr 26  2014 ../
-rwxr-xr-x  1 root  wheel  65536 Apr 26  2014 BOOTx64.efi*

done. unmount:

root@kg-v7# umount /mnt
root@kg-v7# mdconfig -d -u 0
root@kg-v7# mdconfig -l

that was all.

2015-04-02: ada1p4 - but the console is still lost after exiting Xorg. I still need to reboot the machine if I want to start Xorg again.

2015-04-02: ada1p4 - Starting Xorg after rebuilding xorg-server to 1.14 gives med this in /var/log/messages:

Apr  2 00:11:05 kg-v7 kernel: info: [drm] Initialized drm 1.1.0 20060810
Apr  2 00:11:05 kg-v7 kernel: drmn0: <Intel IronLake> on vgapci0
Apr  2 00:11:05 kg-v7 kernel: info: [drm] MSI enabled 1 message(s)
Apr  2 00:11:05 kg-v7 kernel: info: [drm] AGP at 0xe0000000 256MB
Apr  2 00:11:05 kg-v7 kernel: iicbus0: <Philips I2C bus> on iicbb0 addr 0xff
Apr  2 00:11:05 kg-v7 kernel: iic0: <I2C generic I/O> on iicbus0
Apr  2 00:11:05 kg-v7 kernel: iic1: <I2C generic I/O> on iicbus1
Apr  2 00:11:05 kg-v7 kernel: iicbus2: <Philips I2C bus> on iicbb1 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic2: <I2C generic I/O> on iicbus2
Apr  2 00:11:05 kg-v7 kernel: iic3: <I2C generic I/O> on iicbus3
Apr  2 00:11:05 kg-v7 kernel: iicbus4: <Philips I2C bus> on iicbb2 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic4: <I2C generic I/O> on iicbus4
Apr  2 00:11:05 kg-v7 kernel: iic5: <I2C generic I/O> on iicbus5
Apr  2 00:11:05 kg-v7 kernel: iicbus6: <Philips I2C bus> on iicbb3 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic6: <I2C generic I/O> on iicbus6
Apr  2 00:11:05 kg-v7 kernel: iic7: <I2C generic I/O> on iicbus7
Apr  2 00:11:05 kg-v7 kernel: iicbus8: <Philips I2C bus> on iicbb4 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic8: <I2C generic I/O> on iicbus8
Apr  2 00:11:05 kg-v7 kernel: iic9: <I2C generic I/O> on iicbus9
Apr  2 00:11:05 kg-v7 kernel: iicbus10: <Philips I2C bus> on iicbb5 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic10: <I2C generic I/O> on iicbus10
Apr  2 00:11:05 kg-v7 kernel: iic11: <I2C generic I/O> on iicbus11
Apr  2 00:11:05 kg-v7 kernel: iicbus12: <Philips I2C bus> on iicbb6 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic12: <I2C generic I/O> on iicbus12
Apr  2 00:11:05 kg-v7 kernel: iic13: <I2C generic I/O> on iicbus13
Apr  2 00:11:05 kg-v7 kernel: iicbus14: <Philips I2C bus> on iicbb7 addr 0x0
Apr  2 00:11:05 kg-v7 kernel: iic14: <I2C generic I/O> on iicbus14
Apr  2 00:11:05 kg-v7 kernel: iic15: <I2C generic I/O> on iicbus15
Apr  2 00:11:05 kg-v7 kernel: info: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
Apr  2 00:11:05 kg-v7 kernel: info: [drm] Driver supports precise vblank timestamp query.
Apr  2 00:11:06 kg-v7 kernel: drmn0: taking over the fictitious range 0xe0000000-0xf0000000
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector VGA-1: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.VGA-1
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector HDMI-A-1: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-1
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector DP-1: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.DP-1
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector HDMI-A-2: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-2
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector HDMI-A-3: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.HDMI-A-3
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector DP-2: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.DP-2
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Connector DP-3: get mode from tunables:
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.modes.DP-3
Apr  2 00:11:06 kg-v7 kernel: info: [drm]   - kern.vt.fb.default_mode
Apr  2 00:11:06 kg-v7 kernel: info: [drm] GMBUS timed out, falling back to bit banging on pin 7 [gmbus bus dpd]
Apr  2 00:11:06 kg-v7 kernel: fbd0 on drmn0
Apr  2 00:11:06 kg-v7 kernel: info: [drm] Initialized i915 1.6.0 20080730

neat.

2015-04-01: ada1p4 - ports - libdrm failure - ok, this was basically /usr/ports/UPDATING entry 20140909:

AFFECTS: users seeing build errors about missing *.la files
  AUTHOR: tijl@FreeBSD.org

  We are in the process of adjusting or, if possible, removing libtool archives
  (*.la files) from all ports because they can otherwise cause overlinking
  between packages.  This is the problem where in the dependency chain A->B->C
  an extra link is added from A to C even if A does not use C directly.  This
  makes some updates to port C expensive because then both A and B have to be
  rebuilt instead of just B.

  This is mostly behind the scenes work that you won't notice.  In fact most
  ports have already been converted.  You may however run into build errors
  about missing *.la files if a port update in the past went wrong and left
  behind *.la files with references to other *.la files that are no longer
  there.  In this case, please run the following command:

  find /usr/local/lib -name '*.la' | xargs grep -l 'libfoo\.la' | xargs pkg which
  (Replace libfoo\.la with the *.la file that is missing.)

  This command will print a list of *.la files that refer to the missing *.la
  file and what package they belong to.  First, where it says "not found in
  the database", remove the *.la file.  After removing all such files, where
  it says "installed by package X", rebuild X.  Eventually the list printed by
  that command will be empty and the build error should be gone.

So I had to run

# find /usr/local/lib -name '*.la' | xargs grep -l 'libfontconfig\.la' | xargs pkg which

which gave me a long list of ports. Then I had to upgrade a few (like a handful) of them one by one ('portupgrade portname') until I could build libdrm again.

2015-04-01: ada1p4 - ports - upgrading libdrm to 2.4.58 fails:

root@kg-v7# uname -a
FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb  6 21:36:01 CET 2015     root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-v7# pv libdrm*
[Reading data from pkg(8) ... - 488 packages found - done]
libdrm-2.4.50               <  needs updating (port has 2.4.58_1,1)
root@kg-v7# portupgrade -R libdrm
[...]
buffers.c:163:15: warning: packed attribute is unnecessary for 'value' [-Wpacked]
        unsigned int value:24;
                     ^
1 warning generated.
1 warning generated.
  CCLD     modetest
libtool: link: cannot find the library `/usr/local/lib/libfontconfig.la' or unhandled argument `/usr/local/lib/libfontconfig.la'
Makefile:418: recipe for target 'modetest' failed
gmake[5]: *** [modetest] Error 1
gmake[5]: Leaving directory '/usr/ports/graphics/libdrm/work/libdrm-2.4.58/tests/modetest'
Makefile:824: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory '/usr/ports/graphics/libdrm/work/libdrm-2.4.58/tests'
Makefile:742: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/libdrm/work/libdrm-2.4.58'
Makefile:500: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/libdrm/work/libdrm-2.4.58'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/libdrm
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/libdrm
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20150401-46550-1b6s0of env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libdrm-2.4.50 UPGRADE_PORT_VER=2.4.50 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
    ! graphics/libdrm (libdrm-2.4.50)    (unknown build error)

it is looking for the wrong file:

root@kg-v7# ll /usr/local/lib/libfontc*
lrwxr-xr-x  1 root  wheel      22 Feb  6 23:47 /usr/local/lib/libfontconfig.so@ -> libfontconfig.so.1.8.0
lrwxr-xr-x  1 root  wheel      22 Feb  6 23:47 /usr/local/lib/libfontconfig.so.1@ -> libfontconfig.so.1.8.0
-rwxr-xr-x  1 root  wheel  262024 Feb  6 23:47 /usr/local/lib/libfontconfig.so.1.8.0*

Oh well.

2015-04-01: ada1p4 - ports updated via portsnap fetch; portsnap update. Then I upgraded a bunch of ports.

2015-04-01: ada1p4 - VirtualBox - the v5 virtual machine was moved back to the host vm.

2015-02-07: ada1p4 - VirtualBox - ok, starting the machine from the gui works now:

tingo@kg-v7$ VBoxManage list vms
"FreeBSD-v5" {5312412c-353b-41bf-9535-497e1c45de44}
tingo@kg-v7$ VBoxManage list runningvms
"FreeBSD-v5" {5312412c-353b-41bf-9535-497e1c45de44}

cool.

2015-02-07: ada1p4 - VirtualBox - list hard drives:

tingo@kg-v7$ VBoxManage list hdds
UUID:           d27f675e-2be9-4852-85cd-460dc90d101a
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi
Storage format: VDI
Capacity:       20480 MBytes

UUID:           a35d30b2-2ff0-40f2-8778-8976c2f5a95b
Parent UUID:    base
State:          inaccessible
Type:           normal (base)
Location:       /usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi
Storage format: VDI
Capacity:       0 MBytes

ok, it doesn't find the second one.

tingo@kg-v7$ VBoxManage showhdinfo vbox/FreeBSD-v5/FreeBSD-v5.vdi
VBoxManage: error: Cannot register the hard disk '/usr/home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi' {d27f675e-2be9-4852-85cd-460dc90d101a} because a hard disk '/home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi' with UUID {d27f675e-2be9-4852-85cd-460dc90d101a} already exists
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp

via uuid then?

tingo@kg-v7$ VBoxManage showhdinfo d27f675e-2be9-4852-85cd-460dc90d101a
UUID:           d27f675e-2be9-4852-85cd-460dc90d101a
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi
Storage format: VDI
Format variant: dynamic default
Capacity:       20480 MBytes
Size on disk:   7897 MBytes
In use by VMs:  FreeBSD-v5 (UUID: 5312412c-353b-41bf-9535-497e1c45de44)

funny. Do the other:

tingo@kg-v7$ VBoxManage showhdinfo a35d30b2-2ff0-40f2-8778-8976c2f5a95b
UUID:           a35d30b2-2ff0-40f2-8778-8976c2f5a95b
Parent UUID:    base
State:          inaccessible
Access Error:   Could not open the medium '/usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi'.
VD: error VERR_FILE_NOT_FOUND opening image file '/usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi' (VERR_FILE_NOT_FOUND)
Type:           normal (base)
Location:       /usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi
Storage format: VDI
Format variant: dynamic default
Capacity:       0 MBytes
Size on disk:   0 MBytes
In use by VMs:  FreeBSD-v5 (UUID: 5312412c-353b-41bf-9535-497e1c45de44)

ok. Via filename?

tingo@kg-v7$ VBoxManage showhdinfo vbox/FreeBSD-v5/v5-music.vdi
VBoxManage: error: Cannot register the hard disk '/usr/home/tingo/vbox/FreeBSD-v5/v5-music.vdi' {a35d30b2-2ff0-40f2-8778-8976c2f5a95b} because a hard disk '/usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi' with UUID {a35d30b2-2ff0-40f2-8778-8976c2f5a95b} already exists
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
tingo@kg-v7$ VBoxManage showhdinfo /home/tingo/vbox/FreeBSD-v5/v5-music.vdi
VBoxManage: error: Cannot register the hard disk '/home/tingo/vbox/FreeBSD-v5/v5-music.vdi' {a35d30b2-2ff0-40f2-8778-8976c2f5a95b} because a hard disk '/usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi' with UUID {a35d30b2-2ff0-40f2-8778-8976c2f5a95b} already exists
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp

Nope. I'll resort to fixing this in the FreeBSD-v5.vbox file. Before:

tingo@kg-v7$ grep v5-music vbox/FreeBSD-v5/FreeBSD-v5.vbox
        <HardDisk uuid="{a35d30b2-2ff0-40f2-8778-8976c2f5a95b}" location="/usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi" format="VDI" type="Normal"/>

after

tingo@kg-v7$ grep v5-music vbox/FreeBSD-v5/FreeBSD-v5.vbox
        <HardDisk uuid="{a35d30b2-2ff0-40f2-8778-8976c2f5a95b}" location="v5-music.vdi" format="VDI" type="Normal"/>

check with list:

tingo@kg-v7$ VBoxManage list hdds
UUID:           d27f675e-2be9-4852-85cd-460dc90d101a
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi
Storage format: VDI
Capacity:       20480 MBytes

UUID:           a35d30b2-2ff0-40f2-8778-8976c2f5a95b
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/tingo/vbox/FreeBSD-v5/v5-music.vdi
Storage format: VDI
Capacity:       30000 MBytes
and showhdinfo
tingo@kg-v7$ VBoxManage showhdinfo d27f675e-2be9-4852-85cd-460dc90d101a
UUID:           d27f675e-2be9-4852-85cd-460dc90d101a
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi
Storage format: VDI
Format variant: dynamic default
Capacity:       20480 MBytes
Size on disk:   7897 MBytes
In use by VMs:  FreeBSD-v5 (UUID: 5312412c-353b-41bf-9535-497e1c45de44)
tingo@kg-v7$ VBoxManage showhdinfo a35d30b2-2ff0-40f2-8778-8976c2f5a95b
UUID:           a35d30b2-2ff0-40f2-8778-8976c2f5a95b
Parent UUID:    base
State:          created
Type:           normal (base)
Location:       /home/tingo/vbox/FreeBSD-v5/v5-music.vdi
Storage format: VDI
Format variant: dynamic default
Capacity:       30000 MBytes
Size on disk:   24490 MBytes
In use by VMs:  FreeBSD-v5 (UUID: 5312412c-353b-41bf-9535-497e1c45de44)

ok, looks better now.

2015-02-07: ada1p4 - see if the machine is automatically recognized if I try create and register:

tingo@kg-v7$ VBoxManage createvm
Usage:

VBoxManage createvm         --name <name>
                            [--groups <group>, ...]
                            [--ostype <ostype>]
                            [--register]
                            [--basefolder <path>]
                            [--uuid <uuid>]
tingo@kg-v7$ l vbox/
./          ../         FreeBSD-v5/
tingo@kg-v7$ VBoxManage createvm --name FreeBSD-v5 --register
VBoxManage: error: Machine settings file '/home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vbox' already exists
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Machine, interface IMachine, callee nsISupports
VBoxManage: error: Context: "CreateMachine(bstrSettingsFile.raw(), bstrName.raw(), ComSafeArrayAsInParam(groups), bstrOsTypeId.raw(), createFlags.raw(), machine.asOutParam())" at line 275 of file VBoxManageMisc.cpp

Ok, that didn't work. Let me try to wrangle it:

tingo@kg-v7$ cd vbox
tingo@kg-v7$ mv FreeBSD-v5 FreeBSD-v5_org
tingo@kg-v7$ cd

now retry create:

tingo@kg-v7$ VBoxManage createvm --name FreeBSD-v5 --register
Virtual machine 'FreeBSD-v5' is created and registered.
UUID: 3909e2ac-bf18-4c76-a740-ec5d72475079
Settings file: '/home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vbox'

that worked nicely. And I can list it:

tingo@kg-v7$ VBoxManage list vms
"FreeBSD-v5" {3909e2ac-bf18-4c76-a740-ec5d72475079}

So, is it as simple as renaming directories again?

tingo@kg-v7$ cd vbox
tingo@kg-v7$ mv FreeBSD-v5 FreeBSD-v5_new
tingo@kg-v7$ mv FreeBSD-v5_org FreeBSD-v5
tingo@kg-v7$ cd

can I still list it?

tingo@kg-v7$ VBoxManage list vms
"<inaccessible>" {3909e2ac-bf18-4c76-a740-ec5d72475079}

not exactly. How about show vm info?

tingo@kg-v7$ VBoxManage showvminfo 3909e2ac-bf18-4c76-a740-ec5d72475079
Name:            <inaccessible!>
UUID:            3909e2ac-bf18-4c76-a740-ec5d72475079
Config file:     /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vbox
Access error details:
VBoxManage: error: Machine UUID {5312412c-353b-41bf-9535-497e1c45de44} in '/home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vbox' doesn't match its UUID {3909e2ac-bf18-4c76-a740-ec5d72475079} in the registry file '/home/tingo/.config/VirtualBox/VirtualBox.xml'
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Machine, interface IMachine

ok. What if I change the UUID in the registry then?

tingo@kg-v7$ VBoxManage list vms
"FreeBSD-v5" {5312412c-353b-41bf-9535-497e1c45de44}

list ok.

tingo@kg-v7$ VBoxManage showvminfo FreeBSD-v5
Name:            FreeBSD-v5
Groups:          /
Guest OS:        FreeBSD (32 bit)
UUID:            5312412c-353b-41bf-9535-497e1c45de44
Config file:     /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vbox
Snapshot folder: /home/tingo/vbox/FreeBSD-v5/Snapshots
Log folder:      /home/tingo/vbox/FreeBSD-v5/Logs
Hardware UUID:   5312412c-353b-41bf-9535-497e1c45de44
Memory size:     512MB
Page Fusion:     off
VRAM size:       9MB
CPU exec cap:    100%
HPET:            off
Chipset:         piix3
Firmware:        BIOS
Number of CPUs:  1
PAE:             off
Long Mode:       on
Synthetic CPU:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
Time offset:     0ms
RTC:             local time
Hardw. virt.ext: on
Nested Paging:   on
Large Pages:     on
VT-x VPID:       on
VT-x unr. exec.: on
State:           powered off (since 2014-02-23T19:21:20.000000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0):            IDE Controller
Storage Controller Type (0):            PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0):  2
Storage Controller Port Count (0):      2
Storage Controller Bootable (0):        on
IDE Controller (0, 0): /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.vdi (UUID: d27f675e-2be9-4852-85cd-460dc90d101a)
IDE Controller (0, 1): /usr/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi (UUID: a35d30b2-2ff0-40f2-8778-8976c2f5a95b)
IDE Controller (1, 0): Empty
NIC 1:           MAC: 0800274DAC4C, Attachment: Bridged Interface 're0', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1:          disabled
UART 2:          disabled
LPT 1:           disabled
LPT 2:           disabled
Audio:           disabled
Clipboard Mode:  Bidirectional
Drag'n'drop Mode: disabled
VRDE:            disabled
USB:             disabled
EHCI:            disabled

USB Device Filters:

<none>

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups:  <none>

Shared folders:  <none>

VRDE Connection:    not active
Clients so far:     0

Video capturing:    not active
Capture screens:    0
Capture file:       /home/tingo/vbox/FreeBSD-v5/FreeBSD-v5.webm
Capture dimensions: 1024x768
Capture rate:       512 kbps
Capture FPS:        25

Guest:

Configured memory balloon size:      0 MB

ok, I need to change the second "hard drive".

2015-02-07: ada1p4 - try to list machines:

tingo@kg-v7$ VBoxManage list vms

none shown. VirtualBox version:

tingo@kg-v7$ VBoxManage -v
4.3.20_OSEr96996
system properties:
tingo@kg-v7$ VBoxManage list systemproperties
API version:                     4_3
Minimum guest RAM size:          4 Megabytes
Maximum guest RAM size:          2097152 Megabytes
Minimum video RAM size:          1 Megabytes
Maximum video RAM size:          256 Megabytes
Maximum guest monitor count:     64
Minimum guest CPU count:         1
Maximum guest CPU count:         32
Virtual disk limit (info):       2199022206976 Bytes
Maximum Serial Port count:       2
Maximum Parallel Port count:     2
Maximum Boot Position:           4
Maximum PIIX3 Network Adapter count:   8
Maximum ICH9 Network Adapter count:   36
Maximum PIIX3 IDE Controllers:   1
Maximum ICH9 IDE Controllers:    1
Maximum IDE Port count:          2
Maximum Devices per IDE Port:    2
Maximum PIIX3 SATA Controllers:  1
Maximum ICH9 SATA Controllers:   8
Maximum SATA Port count:         30
Maximum Devices per SATA Port:   1
Maximum PIIX3 SCSI Controllers:  1
Maximum ICH9 SCSI Controllers:   8
Maximum SCSI Port count:         16
Maximum Devices per SCSI Port:   1
Maximum SAS PIIX3 Controllers:   1
Maximum SAS ICH9 Controllers:    8
Maximum SAS Port count:          8
Maximum Devices per SAS Port:    1
Maximum PIIX3 Floppy Controllers:1
Maximum ICH9 Floppy Controllers: 1
Maximum Floppy Port count:       1
Maximum Devices per Floppy Port: 2
Default machine folder:          /home/tingo/vbox
Exclusive HW virtualization use: on
Default hard disk format:        VDI
VRDE auth library:               VBoxAuth
Webservice auth. library:        VBoxAuth
Remote desktop ExtPack:         
Log history count:               3
Default frontend:               
Autostart database path:        
Default Guest Additions ISO:    

done.

2015-02-07: ada1p4 - I connect up the drive from the vm machine again, it still shows up as da0, and I mount the /usr/partition:

root@kg-v7# mount /dev/da0s4f /media

find files:

tingo@kg-v7$ ll -h "/media/home/tingo/VirtualBox VMs"/FreeBSD-v5/
total 33180742
drwxr-xr-x  3 tingo  users  -  512B Feb 23  2014 ./
drwxr-xr-x  5 tingo  users  -  512B May  1  2012 ../
-rw-------  1 tingo  users  -  7.2K Feb 23  2014 FreeBSD-v5.vbox
-rw-------  1 tingo  users  -  7.2K Jan 15  2014 FreeBSD-v5.vbox-prev
-rw-------  1 tingo  users  -  7.7G Feb  5 04:21 FreeBSD-v5.vdi
drwxr-xr-x  2 tingo  users  -  512B Jul 12  2014 Logs/
-rw-------  1 tingo  users  -   24G Feb  5 03:01 v5-music.vdi

and copy:

tingo@kg-v7$ cd vbox
tingo@kg-v7$ pwd
/home/tingo/vbox
tingo@kg-v7$ cp -Rpv "/media/home/tingo/VirtualBox VMs"/FreeBSD-v5 .
/media/home/tingo/VirtualBox VMs/FreeBSD-v5 -> ./FreeBSD-v5
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/Logs -> ./FreeBSD-v5/Logs
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/Logs/VBox.log -> ./FreeBSD-v5/Logs/VBox.log
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/Logs/VBox.log.1 -> ./FreeBSD-v5/Logs/VBox.log.1
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/Logs/VBox.log.2 -> ./FreeBSD-v5/Logs/VBox.log.2
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/Logs/VBox.log.3 -> ./FreeBSD-v5/Logs/VBox.log.3
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/FreeBSD-v5.vdi -> ./FreeBSD-v5/FreeBSD-v5.vdi
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/FreeBSD-v5.vbox -> ./FreeBSD-v5/FreeBSD-v5.vbox
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/FreeBSD-v5.vbox-prev -> ./FreeBSD-v5/FreeBSD-v5.vbox-prev
/media/home/tingo/VirtualBox VMs/FreeBSD-v5/v5-music.vdi -> ./FreeBSD-v5/v5-music.vdi

done. How does space usage look?

tingo@kg-v7$ du -sh *
 32G    FreeBSD-v5

and

root@kg-v7# df -h /zs
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada1p5     53G     32G     18G    64%    /zs

ok.

2015-02-07: ada1p4 - set up a place for virtual machines:

tingo@kg-v7$ mkdir /zs/tingo/vbox
tingo@kg-v7$ pwd
/home/tingo
tingo@kg-v7$ ln -s /zs/tingo/vbox
tingo@kg-v7$ ll vbox
lrwxr-xr-x  1 tingo  users  - 14 Feb  7 12:52 vbox@ -> /zs/tingo/vbox

next I use the VirtualBox gui to choose /home/tingo/vbox as the default folder for machines.

2015-02-07: ada1p4 - ports - after more ports wrangling I can finally start VirtualBox.

2015-02-06: ada1p4 - ports - I rebuilt the virtualbox-ose-kmod port. VirtualBox failed during startup, so I rebuilt virtualbox-ose too.

2015-02-06: ada1p4 - the machine now runs latest FreeBSD 10.1-stable. dmesg output: normal, verbose.

root@kg-v7# uname -a
FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri Feb  6 21:36:01 CET 2015     root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64

2015-02-06: ada1p4 - build latest FreeBSD 10.1-stable via make world.

root@kg-v7# cd /usr/src
root@kg-v7# make -j4 buildworld
[...]
--- buildworld_epilogue ---
--------------------------------------------------------------
>>> World build completed on Fri Feb  6 20:01:08 CET 2015
--------------------------------------------------------------

kernel

root@kg-v7# make kernel
[...]
===> zlib (install)
install -o root -g wheel -m 555   zlib.ko /boot/kernel
install -o root -g wheel -m 555   zlib.ko.symbols /boot/kernel
kldxref /boot/kernel

(next steps also done in multiuser) mergemaster pre

root@kg-v7# mergemaster -p
[...]
*** Comparison complete

*** /var/tmp/temproot is empty, deleting

installworld

root@kg-v7# make installworld
[...]
install -s -o root -g wheel -m 555   ldd32 /usr/bin/ldd32

delete old and old-libs

root@kg-v7# make delete-old
>>> Removing old files (only deletes safe to delete libs)
remove /usr/share/openssl/man/man3/CMS_sign_add1_signer.3.gz? y
remove /etc/rc.d/kerberos? y
remove /usr/share/man/man9/sleepq_calc_signal_retval.9.gz? y
remove /usr/share/man/man9/sleepq_catch_signals.9.gz? y
remove /usr/bin/otp-sha? y
remove /usr/share/man/man1/otp-sha.1.gz? y
remove /usr/share/examples/libusb20/aux.c? y
remove /usr/share/examples/libusb20/aux.h? y
remove /usr/share/man/man9/pmap_change_wiring.9.gz? y
remove /usr/share/man/man9/VOP_GETVOBJECT.9.gz? y
remove /usr/share/man/man9/VOP_CREATEVOBJECT.9.gz? y
remove /usr/share/man/man9/VOP_DESTROYVOBJECT.9.gz? y
remove /usr/share/examples/cvsup/README? y
remove /usr/share/examples/cvsup/cvs-supfile? y
remove /usr/share/examples/cvsup/stable-supfile? y
remove /usr/share/examples/cvsup/standard-supfile? y
remove /usr/bin/sendbug? y
remove /usr/share/info/send-pr.info.gz? y
remove /usr/share/man/man1/send-pr.1.gz? y
remove /usr/share/man/man1/sendbug.1.gz? y
remove /etc/gnats/freefall? y
remove /usr/include/clang/3.3/__wmmintrin_aes.h? y
remove /usr/include/clang/3.3/__wmmintrin_pclmul.h? y
remove /usr/include/clang/3.3/altivec.h? y
remove /usr/include/clang/3.3/ammintrin.h? y
remove /usr/include/clang/3.3/avx2intrin.h? y
remove /usr/include/clang/3.3/avxintrin.h? y
remove /usr/include/clang/3.3/bmi2intrin.h? y
remove /usr/include/clang/3.3/bmiintrin.h? y
remove /usr/include/clang/3.3/cpuid.h? y
remove /usr/include/clang/3.3/emmintrin.h? y
remove /usr/include/clang/3.3/f16cintrin.h? y
remove /usr/include/clang/3.3/fma4intrin.h? y
remove /usr/include/clang/3.3/fmaintrin.h? y
remove /usr/include/clang/3.3/immintrin.h? y
remove /usr/include/clang/3.3/lzcntintrin.h? y
remove /usr/include/clang/3.3/mm3dnow.h? y
remove /usr/include/clang/3.3/mm_malloc.h? y
remove /usr/include/clang/3.3/mmintrin.h? y
remove /usr/include/clang/3.3/module.map? y
remove /usr/include/clang/3.3/nmmintrin.h? y
remove /usr/include/clang/3.3/pmmintrin.h? y
remove /usr/include/clang/3.3/popcntintrin.h? y
remove /usr/include/clang/3.3/prfchwintrin.h? y
remove /usr/include/clang/3.3/rdseedintrin.h? y
remove /usr/include/clang/3.3/rtmintrin.h? y
remove /usr/include/clang/3.3/smmintrin.h? y
remove /usr/include/clang/3.3/tmmintrin.h? y
remove /usr/include/clang/3.3/wmmintrin.h? y
remove /usr/include/clang/3.3/x86intrin.h? y
remove /usr/include/clang/3.3/xmmintrin.h? y
remove /usr/include/clang/3.3/xopintrin.h? y
remove /usr/libexec/bsdconfig/070.usermgmt/userinput? y
remove /usr/libexec/bsdconfig/070.usermgmt/groupinput? y
remove /usr/bin/atf-sh? y
remove /usr/include/atf-c/build.h? y
remove /usr/include/atf-c/check.h? y
remove /usr/include/atf-c/config.h? y
remove /usr/include/atf-c/defs.h? y
remove /usr/include/atf-c/error.h? y
remove /usr/include/atf-c/error_fwd.h? y
remove /usr/include/atf-c/macros.h? y
remove /usr/include/atf-c/tc.h? y
remove /usr/include/atf-c/tp.h? y
remove /usr/include/atf-c/utils.h? y
remove /usr/include/atf-c.h? y
remove /usr/include/atf-c++/build.hpp? y
remove /usr/include/atf-c++/check.hpp? y
remove /usr/include/atf-c++/config.hpp? y
remove /usr/include/atf-c++/macros.hpp? y
remove /usr/include/atf-c++/tests.hpp? y
remove /usr/include/atf-c++/utils.hpp? y
remove /usr/include/atf-c++.hpp? y
remove /usr/lib/libatf-c_p.a? y
remove /usr/lib/libatf-c.so.1? y
remove /usr/lib/libatf-c.so? y
remove /usr/lib/libatf-c++.a? y
remove /usr/lib/libatf-c++_p.a? y
remove /usr/lib/libatf-c++.so.1? y
remove /usr/lib/libatf-c++.so? y
remove /usr/lib/libatf-c.a? y
remove /usr/libexec/atf-check? y
remove /usr/share/atf/libatf-sh.subr? y
remove /usr/share/doc/atf/AUTHORS? y
remove /usr/share/doc/atf/COPYING? y
remove /usr/share/doc/atf/NEWS? y
remove /usr/share/doc/atf/README? y
remove /usr/share/man/man1/atf-check.1.gz? y
remove /usr/share/man/man1/atf-sh.1.gz? y
remove /usr/share/man/man1/atf-test-program.1.gz? y
remove /usr/share/man/man3/atf-c-api.3.gz? y
remove /usr/share/man/man3/atf-c++-api.3.gz? y
remove /usr/share/man/man3/atf-sh-api.3.gz? y
remove /usr/share/man/man4/atf-test-case.4.gz? y
remove /usr/share/mk/atf.test.mk? y
>>> Old files removed
>>> Removing old directories
/usr/tests
/usr/share/examples/cvsup
/usr/share/doc/atf
/usr/share/atf
/usr/include/clang/3.3
/usr/include/atf-c++
/usr/include/atf-c
/etc/gnats
>>> Old directories removed
To remove old libraries run 'make delete-old-libs'.
root@kg-v7# make delete-old-libs
>>> Removing old libraries
Please be sure no application still uses those libraries, else you
can not start such an application. Consult UPDATING for more
information regarding how to cope with the removal/revision bump
of a specific library.
>>> Old libraries removed

mergemaster

root@kg-v7# mergemaster -iUP
[...]
*** You chose the automatic upgrade option for files that you did
    not alter on your system.  The following were upgraded for you:
      /.cshrc
      /COPYRIGHT
      /boot/device.hints
      /etc/amd.map
      /etc/apmd.conf
      /etc/bluetooth/hcsecd.conf
      /etc/bluetooth/hosts
      /etc/bluetooth/protocols
      /etc/crontab
      /etc/csh.cshrc
      /etc/csh.login
      /etc/csh.logout
      /etc/ddb.conf
      /etc/defaults/bluetooth.device.conf
      /etc/defaults/devfs.rules
      /etc/defaults/periodic.conf
      /etc/defaults/rc.conf
      /etc/devd.conf
      /etc/devd/asus.conf
      /etc/devd/uath.conf
      /etc/devd/usb.conf
      /etc/devfs.conf
      /etc/disktab
      /etc/fbtab
      /etc/freebsd-update.conf
      /etc/ftpusers
      /etc/gettytab
      /etc/gss/mech
      /etc/gss/qop
      /etc/hosts
      /etc/hosts.allow
      /etc/hosts.equiv
      /etc/hosts.lpd
      /etc/inetd.conf
      /etc/libalias.conf
      /etc/libmap.conf
      /etc/libmap32.conf
      /etc/locate.rc
      /etc/login.access
      /etc/login.conf
      /etc/mac.conf
      /etc/mail/Makefile
      /etc/mail/README
      /etc/mail/access.sample
      /etc/mail/aliases
      /etc/mail/freebsd.mc
      /etc/mail/freebsd.submit.mc
      /etc/mail/helpfile
      /etc/mail/mailer.conf
      /etc/mail/mailertable.sample
      /etc/mail/virtusertable.sample
      /etc/mtree/BSD.include.dist
      /etc/mtree/BSD.root.dist
      /etc/mtree/BSD.sendmail.dist
      /etc/mtree/BSD.usr.dist
      /etc/mtree/BSD.var.dist
      /etc/netconfig
      /etc/netstart
      /etc/network.subr
      /etc/networks
      /etc/newsyslog.conf
      /etc/nscd.conf
      /etc/nsmb.conf
      /etc/nsswitch.conf
      /etc/opieaccess
      /etc/pam.d/README
      /etc/pam.d/atrun
      /etc/pam.d/cron
      /etc/pam.d/ftp
      /etc/pam.d/ftpd
      /etc/pam.d/imap
      /etc/pam.d/login
      /etc/pam.d/other
      /etc/pam.d/passwd
      /etc/pam.d/pop3
      /etc/pam.d/rsh
      /etc/pam.d/sshd
      /etc/pam.d/su
      /etc/pam.d/system
      /etc/pam.d/telnetd
      /etc/pam.d/xdm
      /etc/pccard_ether
      /etc/periodic/daily/100.clean-disks
      /etc/periodic/daily/110.clean-tmps
      /etc/periodic/daily/120.clean-preserve
      /etc/periodic/daily/130.clean-msgs
      /etc/periodic/daily/140.clean-rwho
      /etc/periodic/daily/150.clean-hoststat
      /etc/periodic/daily/200.backup-passwd
      /etc/periodic/daily/210.backup-aliases
      /etc/periodic/daily/300.calendar
      /etc/periodic/daily/310.accounting
      /etc/periodic/daily/330.news
      /etc/periodic/daily/400.status-disks
      /etc/periodic/daily/401.status-graid
      /etc/periodic/daily/404.status-zfs
      /etc/periodic/daily/406.status-gmirror
      /etc/periodic/daily/407.status-graid3
      /etc/periodic/daily/408.status-gstripe
      /etc/periodic/daily/409.status-gconcat
      /etc/periodic/daily/420.status-network
      /etc/periodic/daily/430.status-rwho
      /etc/periodic/daily/440.status-mailq
      /etc/periodic/daily/450.status-security
      /etc/periodic/daily/460.status-mail-rejects
      /etc/periodic/daily/480.status-ntpd
      /etc/periodic/daily/500.queuerun
      /etc/periodic/daily/800.scrub-zfs
      /etc/periodic/daily/999.local
      /etc/periodic/monthly/200.accounting
      /etc/periodic/monthly/450.status-security
      /etc/periodic/monthly/999.local
      /etc/periodic/security/100.chksetuid
      /etc/periodic/security/110.neggrpperm
      /etc/periodic/security/200.chkmounts
      /etc/periodic/security/300.chkuid0
      /etc/periodic/security/400.passwdless
      /etc/periodic/security/410.logincheck
      /etc/periodic/security/500.ipfwdenied
      /etc/periodic/security/510.ipfdenied
      /etc/periodic/security/520.pfdenied
      /etc/periodic/security/550.ipfwlimit
      /etc/periodic/security/610.ipf6denied
      /etc/periodic/security/700.kernelmsg
      /etc/periodic/security/800.loginfail
      /etc/periodic/security/900.tcpwrap
      /etc/periodic/security/security.functions
      /etc/periodic/weekly/310.locate
      /etc/periodic/weekly/320.whatis
      /etc/periodic/weekly/330.catman
      /etc/periodic/weekly/340.noid
      /etc/periodic/weekly/450.status-security
      /etc/periodic/weekly/999.local
      /etc/pf.os
      /etc/phones
      /etc/pkg/FreeBSD.conf
      /etc/portsnap.conf
      /etc/ppp/ppp.conf
      /etc/printcap
      /etc/protocols
      /etc/rc
      /etc/rc.bsdextended
      /etc/rc.d/DAEMON
      /etc/rc.d/FILESYSTEMS
      /etc/rc.d/LOGIN
      /etc/rc.d/NETWORKING
      /etc/rc.d/SERVERS
      /etc/rc.d/abi
      /etc/rc.d/accounting
      /etc/rc.d/addswap
      /etc/rc.d/adjkerntz
      /etc/rc.d/amd
      /etc/rc.d/apm
      /etc/rc.d/apmd
      /etc/rc.d/archdep
      /etc/rc.d/atm1
      /etc/rc.d/atm2
      /etc/rc.d/atm3
      /etc/rc.d/auditd
      /etc/rc.d/auditdistd
      /etc/rc.d/bgfsck
      /etc/rc.d/bluetooth
      /etc/rc.d/bootparams
      /etc/rc.d/bridge
      /etc/rc.d/bsnmpd
      /etc/rc.d/bthidd
      /etc/rc.d/ccd
      /etc/rc.d/cleanvar
      /etc/rc.d/cleartmp
      /etc/rc.d/cron
      /etc/rc.d/ctld
      /etc/rc.d/ddb
      /etc/rc.d/defaultroute
      /etc/rc.d/devd
      /etc/rc.d/devfs
      /etc/rc.d/dhclient
      /etc/rc.d/dmesg
      /etc/rc.d/dumpon
      /etc/rc.d/faith
      /etc/rc.d/fsck
      /etc/rc.d/ftp-proxy
      /etc/rc.d/ftpd
      /etc/rc.d/gbde
      /etc/rc.d/geli
      /etc/rc.d/geli2
      /etc/rc.d/gptboot
      /etc/rc.d/gssd
      /etc/rc.d/hastd
      /etc/rc.d/hcsecd
      /etc/rc.d/hostapd
      /etc/rc.d/hostid
      /etc/rc.d/hostid_save
      /etc/rc.d/hostname
      /etc/rc.d/inetd
      /etc/rc.d/initrandom
      /etc/rc.d/ip6addrctl
      /etc/rc.d/ipfilter
      /etc/rc.d/ipfs
      /etc/rc.d/ipfw
      /etc/rc.d/ipmon
      /etc/rc.d/ipnat
      /etc/rc.d/ipsec
      /etc/rc.d/ipxrouted
      /etc/rc.d/iscsictl
      /etc/rc.d/iscsid
      /etc/rc.d/jail
      /etc/rc.d/kadmind
      /etc/rc.d/keyserv
      /etc/rc.d/kfd
      /etc/rc.d/kld
      /etc/rc.d/kldxref
      /etc/rc.d/kpasswdd
      /etc/rc.d/ldconfig
      /etc/rc.d/local
      /etc/rc.d/local_unbound
      /etc/rc.d/localpkg
      /etc/rc.d/lockd
      /etc/rc.d/lpd
      /etc/rc.d/mdconfig
      /etc/rc.d/mdconfig2
      /etc/rc.d/mixer
      /etc/rc.d/motd
      /etc/rc.d/mountcritlocal
      /etc/rc.d/mountcritremote
      /etc/rc.d/mountd
      /etc/rc.d/mountlate
      /etc/rc.d/moused
      /etc/rc.d/mroute6d
      /etc/rc.d/mrouted
      /etc/rc.d/msgs
      /etc/rc.d/natd
      /etc/rc.d/netif
      /etc/rc.d/netoptions
      /etc/rc.d/netwait
      /etc/rc.d/newsyslog
      /etc/rc.d/nfscbd
      /etc/rc.d/nfsclient
      /etc/rc.d/nfsd
      /etc/rc.d/nfsuserd
      /etc/rc.d/nisdomain
      /etc/rc.d/nscd
      /etc/rc.d/nsswitch
      /etc/rc.d/ntpd
      /etc/rc.d/ntpdate
      /etc/rc.d/othermta
      /etc/rc.d/pf
      /etc/rc.d/pflog
      /etc/rc.d/pfsync
      /etc/rc.d/postrandom
      /etc/rc.d/power_profile
      /etc/rc.d/powerd
      /etc/rc.d/ppp
      /etc/rc.d/pppoed
      /etc/rc.d/pwcheck
      /etc/rc.d/quota
      /etc/rc.d/random
      /etc/rc.d/rarpd
      /etc/rc.d/rctl
      /etc/rc.d/resolv
      /etc/rc.d/rfcomm_pppd_server
      /etc/rc.d/root
      /etc/rc.d/route6d
      /etc/rc.d/routed
      /etc/rc.d/routing
      /etc/rc.d/rpcbind
      /etc/rc.d/rtadvd
      /etc/rc.d/rtsold
      /etc/rc.d/rwho
      /etc/rc.d/savecore
      /etc/rc.d/sdpd
      /etc/rc.d/securelevel
      /etc/rc.d/sendmail
      /etc/rc.d/serial
      /etc/rc.d/sppp
      /etc/rc.d/sshd
      /etc/rc.d/statd
      /etc/rc.d/static_arp
      /etc/rc.d/static_ndp
      /etc/rc.d/stf
      /etc/rc.d/swap
      /etc/rc.d/swaplate
      /etc/rc.d/syscons
      /etc/rc.d/sysctl
      /etc/rc.d/syslogd
      /etc/rc.d/timed
      /etc/rc.d/tmp
      /etc/rc.d/ubthidhci
      /etc/rc.d/ugidfw
      /etc/rc.d/utx
      /etc/rc.d/var
      /etc/rc.d/virecover
      /etc/rc.d/watchdogd
      /etc/rc.d/wpa_supplicant
      /etc/rc.d/ypbind
      /etc/rc.d/yppasswdd
      /etc/rc.d/ypserv
      /etc/rc.d/ypset
      /etc/rc.d/ypupdated
      /etc/rc.d/ypxfrd
      /etc/rc.d/zfs
      /etc/rc.d/zvol
      /etc/rc.firewall
      /etc/rc.initdiskless
      /etc/rc.resume
      /etc/rc.sendmail
      /etc/rc.shutdown
      /etc/rc.subr
      /etc/rc.suspend
      /etc/regdomain.xml
      /etc/remote
      /etc/rpc
      /etc/security/audit_class
      /etc/security/audit_control
      /etc/security/audit_event
      /etc/security/audit_user
      /etc/security/audit_warn
      /etc/services
      /etc/snmpd.config
      /etc/ssh/ssh_config
      /etc/ssh/sshd_config
      /etc/ssl/openssl.cnf
      /etc/syslog.conf
      /etc/termcap.small
      /etc/ttys
      /root/.k5login
      /root/.login


*** You installed a new aliases file, so make sure that you run
    '/usr/bin/newaliases' to rebuild your aliases database

    Would you like to run it now? y or n [n] y
    Running /usr/bin/newaliases

/etc/mail/aliases: 29 aliases, longest 10 bytes, 297 bytes total

*** You installed a login.conf file, so make sure that you run
    '/usr/bin/cap_mkdb /etc/login.conf'
     to rebuild your login.conf database

    Would you like to run it now? y or n [n] y
    Running /usr/bin/cap_mkdb /etc/login.conf


*** You installed a services file, so make sure that you run
    '/usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services'
     to rebuild your services database

    Would you like to run it now? y or n [n] y
    Running /usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services


*** Reinstalling Europe/Oslo as /etc/localtime

done.

2015-02-06: ada1p4 - update sources via subversion:

root@kg-v7# cd /usr/src
root@kg-v7# svn up
[...]
U    crypto/openssl/ACKNOWLEDGMENTS
 U   .
Updated to revision 278322.

check what we got:

root@kg-v7# egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh
REVISION="10.1"
BRANCH="STABLE"

looks good.

2015-02-06: ada1p4 - configure VirtualBox. add the kernel driver to /boot/loader.conf:

root@kg-v7# more /boot/loader.conf
aibs_load="YES"
vboxdrv_load="YES"

(the last line). Doesn't look like I can load it:

root@kg-v7# kldload vboxdrv
kldload: can't load vboxdrv: Exec format error

maybe I need to reboot. Set up bridged networking. add to /etc/rc.conf:

# VirtualBox - bridged networking
vboxnet_enable="YES"

then run

root@kg-v7# service vboxnet start
/usr/local/etc/rc.d/vboxnet: WARNING: Can't load vboxnetflt module.

Hmm, a reboot looks more and more required now. From /var/log/messages:

Feb  6 18:30:35 kg-v7 kernel: KLD vboxdrv.ko: depends on kernel - not available or version mismatch
Feb  6 18:30:35 kg-v7 kernel: linker_load_file: Unsupported file type
Feb  6 18:33:23 kg-v7 tingo: /usr/local/etc/rc.d/vboxnet: WARNING: Can't load vboxnetflt module.
Feb  6 18:33:23 kg-v7 kernel: KLD vboxnetflt.ko: depends on kernel - not available or version mismatch
Feb  6 18:33:23 kg-v7 kernel: linker_load_file: Unsupported file type

strange, kernel sources are in place.

root@kg-v7# egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh
REVISION="10.0"
BRANCH="STABLE"

ok, sources are for a different version. Finally, add my user to the vboxusers group:

root@kg-v7# pw groupmod vboxusers -m tingo

done.

2015-02-05: ada1p4 - ports - try to install virtualbox-ose-4.3.20_4, which worked after a bit of wrangling with several ports.

2015-02-05: ada1p4 - ports - install virtualbox-ose-4.3.18, but libvncserver fails, so I need to portsnap fetch; portsnap update. Afterwards, check for hal:

root@kg-v7# ls -ld /usr/ports/sysutils/hal*
drwxr-xr-x  3 root  wheel  512 Feb  5 23:42 /usr/ports/sysutils/hal
drwxr-xr-x  3 root  wheel  512 Apr 30  2014 /usr/ports/sysutils/hal-info
drwxr-xr-x  3 root  wheel  512 Oct 25 21:02 /usr/ports/sysutils/hal_

yep, it tries to creep back in again, I will have none of it:

root@kg-v7# rm -rf /usr/ports/sysutils/hal_
root@kg-v7# mv /usr/ports/sysutils/hal /usr/ports/sysutils/hal_

saved.

2015-02-05: ada1p4 - checking if this machine can be (temporary) host for virtual machines:

root@kg-v7# date;temp;swapinfo -h;echo " ";tvlm;echo " ";tvls;echo " ";df -h;echo " ";uptime;echo " ";ps ax | grep -v grep | grep ddc;ps ax | grep -v grep | grep smartd;ps ax | grep -v grep | grep natd
Thu Feb  5 21:59:53 CET 2015
CPU: 58.0C
MB:  36.0C
Device          1K-blocks     Used    Avail Capacity
/dev/ada1p3       4194304       0B     4.0G     0%

Jan  9 16:31:38 kg-v7 kernel: da0 at umass-sim0 bus 0 scbus7 target 0 lun 0
Jan  9 16:31:38 kg-v7 kernel: da0: <Generic SD Card Reader 1.00> s/n 058F63626476 detached
Jan  9 16:31:38 kg-v7 kernel: da1 at umass-sim0 bus 0 scbus7 target 0 lun 1
Jan  9 16:31:38 kg-v7 kernel: da1: <Generic CF Card Reader 1.01> s/n 058F63626476 detached
Jan  9 16:31:38 kg-v7 kernel: da2 at umass-sim0 bus 0 scbus7 target 0 lun 2
Jan  9 16:31:38 kg-v7 kernel: da2: <Generic MS Card Reader 1.03> s/n 058F63626476 detached
Jan  9 16:31:38 kg-v7 kernel: (da1:umass-sim0:0:0:1): Periph destroyed
Jan  9 16:31:38 kg-v7 kernel: (da0:umass-sim0:0:0:0): Periph destroyed
Jan  9 16:31:38 kg-v7 kernel: (da2:
Jan  9 16:31:38 kg-v7 kernel: umass-sim0:0:0:2): Periph destroyed

Jan 29 21:57:06 kg-v7 newsyslog[662]: logfile first created

Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada1p4     29G     25G    1.9G    93%    /
devfs          1.0K    1.0K      0B   100%    /dev

 9:59PM  up 138 days,  7:03, 3 users, load averages: 0.20, 0.17, 0.13

not enough space on mounted filesystems.

root@kg-v7# gpart show -p ada1
=>       34  250069613    ada1  GPT  (119G)
         34        128  ada1p1  freebsd-boot  (64K)
        162   62914560  ada1p2  freebsd-ufs  (30G)
   62914722    8388608  ada1p3  freebsd-swap  (4.0G)
   71303330          6          - free -  (3.0K)
   71303336   62914560  ada1p4  freebsd-ufs  [bootme]  (30G)
  134217896  115851751          - free -  (55G)

but free space on the drive. Nice. Take everything:

root@kg-v7# gpart add -t freebsd-ufs ada1
ada1p5 added

verify:

root@kg-v7# gpart show -p ada1
=>       34  250069613    ada1  GPT  (119G)
         34        128  ada1p1  freebsd-boot  (64K)
        162   62914560  ada1p2  freebsd-ufs  (30G)
   62914722    8388608  ada1p3  freebsd-swap  (4.0G)
   71303330          6          - free -  (3.0K)
   71303336   62914560  ada1p4  freebsd-ufs  [bootme]  (30G)
  134217896  115851744  ada1p5  freebsd-ufs  (55G)
  250069640          7          - free -  (3.5K)

make a filesystem on it:

root@kg-v7# newfs -U /dev/ada1p5
/dev/ada1p5: 56568.2MB (115851744 sectors) block size 32768, fragment size 4096
    using 91 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.
    with soft updates
super-block backups (for fsck -b #) at:
 192, 1282432, 2564672, 3846912, 5129152, 6411392, 7693632, 8975872, 10258112, 11540352, 12822592, 14104832,
 15387072, 16669312, 17951552, 19233792, 20516032, 21798272, 23080512, 24362752, 25644992, 26927232, 28209472,
 29491712, 30773952, 32056192, 33338432, 34620672, 35902912, 37185152, 38467392, 39749632, 41031872, 42314112,
 43596352, 44878592, 46160832, 47443072, 48725312, 50007552, 51289792, 52572032, 53854272, 55136512, 56418752,
 57700992, 58983232, 60265472, 61547712, 62829952, 64112192, 65394432, 66676672, 67958912, 69241152, 70523392,
 71805632, 73087872, 74370112, 75652352, 76934592, 78216832, 79499072, 80781312, 82063552, 83345792, 84628032,
 85910272, 87192512, 88474752, 89756992, 91039232, 92321472, 93603712, 94885952, 96168192, 97450432, 98732672,
 100014912, 101297152, 102579392, 103861632, 105143872, 106426112, 107708352, 108990592, 110272832, 111555072,
 112837312, 114119552, 115401792

make a mountpoint:

root@kg-v7# mkdir /zs

mount it:

root@kg-v7# mount /dev/ada1p5 /zs

how does it look?

root@kg-v7# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ada1p4     29G     25G    1.9G    93%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ada1p5     53G    8.0K     49G     0%    /zs

looks good. I connect up the drive from the vm machine, it shows up as da0, I'm interested in s4 and partition f (/usr):

root@kg-v7# ls -l /dev/da0s4f
crw-r-----  1 root  operator  0x160 Feb  5 22:13 /dev/da0s4f

mount it:

root@kg-v7# mount /dev/da0s4f /media

find files:

root@kg-v7# ll -h "/media/home/tingo/VirtualBox VMs"/FreeBSD-v5/
total 33180742
drwxr-xr-x  3 tingo  users   512B Feb 23  2014 ./
drwxr-xr-x  5 tingo  users   512B May  1  2012 ../
-rw-------  1 tingo  users   7.2K Feb 23  2014 FreeBSD-v5.vbox
-rw-------  1 tingo  users   7.2K Jan 15  2014 FreeBSD-v5.vbox-prev
-rw-------  1 tingo  users   7.7G Feb  5 04:21 FreeBSD-v5.vdi
drwxr-xr-x  2 tingo  users   512B Jul 12  2014 Logs/
-rw-------  1 tingo  users    24G Feb  5 03:01 v5-music.vdi

ok, pause this work, go and install VirtualBox.

2015-01-09: ada1p4 - using this machine to write a Raspberry Pi image of FreeBSD 10.1-release onto a SD card (4 GB Lexar):

tingo@kg-v7$ uname -a
FreeBSD kg-v7.kg4.no 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

unpack image

tingo@kg-v7$ bunzip2 -k FreeBSD-10.1-RELEASE-arm-armv6-RPI-B.img.bz2

compare

tingo@kg-v7$ ls -lh F*
-rw-r--r--  1 tingo  users   954M Jan  9 15:55 FreeBSD-10.1-RELEASE-arm-armv6-RPI-B.img
-rw-r--r--  1 tingo  users   125M Jan  9 15:55 FreeBSD-10.1-RELEASE-arm-armv6-RPI-B.img.bz2
tingo@kg-v7$ pwd
/usr/home/tingo/dl

write (the sd card shows up as /dev/da0)

root@kg-v7# dd if=./FreeBSD-10.1-RELEASE-arm-armv6-RPI-B.img of=/dev/da0 bs=1M
953+1 records in
953+1 records out
1000000000 bytes transferred in 143.539756 secs (6966711 bytes/sec)

done in about 2 min 23 seconds.