Author Archives: jacob
FreeBSD error in /boot/loader.conf
While experimenting with ZFS in FreeBSD, I made some tweaks to the vk.kmem_size variable in /boot/loader.conf. when setting it like this:
#/boot/loader.conf
vm.kmem_size="1024"
everything worked, but I wanted to see what would happen if i doubled it. Unfortunately, setting vm.kmem_size to 2048 kept the FreeBSD kernel from booting. At startup it would just do this:
panic: kmem_suballoc: bad status [...]
Karmic install cannot login (gdm freezes) Nvidia
On a fresh install of karmic, using an Nvidia 7800 GT. When I went to click on my username to log in, some artifacts would appear on the screen, then the system would freeze. hard. Couldnt even ctrl+alt to another console. Installing the Nvidia drivers fixed the issue. To fix it:
Do a hard reset on [...]
Posted in Linux, Ubuntu Karmic Tagged apt, driver, gdm, install, Karmic, nvidia, nvidia drivers Leave a comment
Windows 32 (x86) or 64 (AMD64) detection in batch files
While there are a lot of ways to detect for a 64 bit version of windows. you can test for %programFiles(x86)%, but handling the output and writing the IF comparisons is messy.
In Batch files, you can easily check for architecture by using the “processor_architecture” variable. x86 versions of windows will have this set to “x86″, [...]
ZFS Cant rm: No space left on device