Puppet service resource provider

Well, first of all I think the title of this post won’t entirely reflect its content. However, I need to go ahead and post this now. At work, We’ve been having issues with cups service not running on some Kubuntu 14.04 desktops. This should not happen since even if cups service is dead, we have Puppet agent running on each machine to check and make sure that ‘cups’ is running else will be automatically restarted. ...

December 16, 2015 · 3 min · 521 words · kenno

ZFS zpool upgrade

I’m running ZFS on Fedora 23 and I notice that there’re new features which can be enabled in the existing pool. # zpool status pool: tank state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(5) for details. scan: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 sdc ONLINE 0 0 0 errors: No known data errors Get the ZFS version for tank’s pool: ...

December 14, 2015 · 2 min · 291 words · kenno

Copy RaspBSD image to micro SD card

The RaspBSD image for Raspberry Pi can be found at http://raspbsd.org/raspberrypi.html. After it’s been downloaded, we need to copy it to a microSD card. Before we can do that, we need to find out the device name represents the microSD card. One way to find out is to plug the card in, and check the newest messages of dmesg. $ dmesg ... [282430.689656] mmc0: new SDHC card at address aaaa [282430.691039] mmcblk0: mmc0:aaaa SU08G 7.40 GiB [282430.711060] mmcblk0: p1 p2 In my case, using Ubuntu 15.10, the card is detected as mmcblk0. ...

December 2, 2015 · 1 min · 165 words · kenno

ERROR: could not insert ‘nvidia_352’: Unknown symbol in module, or unknown parameter (see dmesg)

This is my third time having problem installing Nvidia drivers on Ubuntu (14.04). What’s worse is that I could not remember how I fixed them last time. Hope this blog post will prevent me from pulling my hair out for the 4th time. So, I installed Nvidia driver as usual: # apt-get install nvidia_352 After it’s finished, I tried to load the module: # modprobe nvidia modprobe: ERROR: could not insert 'nvidia_352': Unknown symbol in module, or unknown parameter (see dmesg) Well, it turned out that I need to also install another linux-image package: linux-image-extra-3.13.0-70-generic. If you try to install this package on your machine, ensure that you match the version of the kernel too; i.e. 3.13.0-70 in my case. ...

December 1, 2015 · 1 min · 146 words · kenno

How to get IP of guest OS in VirtualBox

After upgrading my VM running Fedora 23 beta to the release version, Gnome Desktop Manager (GDM) no longer started again. This is the same issue with newer version of xorg-x11-*, and it’s not yet supported by VirtualBox 5.0. I previously posted a quick fix by downgrading xorg-x11-* packages. To do that, I need to ssh into the VM. Here’s how we can find the IP address of running VMs. Let’s list the VMs available: ...

November 11, 2015 · 1 min · 117 words · kenno