eRacks is set to begin testing a Linux Ubuntu based tablet. The 7 inch tablet would retail for around $200 and would include several key features missing from the Kindle Fire: including a micro SD slot, a built in ip cameras live 24/7 while the battery has power, HDMI out and GPS support. If you’re in the market for a tablet, you may want to keep an eye on the eRacks website. An upcoming software update would make it possible for the tablet install and run Android apps.
Greg April 13th, 2012
Posted In: Uncategorized
Tags: Android, eRacks, google tablet, ipad 3, kindle fire, linux, Open Source, ubuntu
EDIT: Binary modules have now also been provided for 7.4, 8.1 and 8.0. The instructions below should apply to all three, with the exception that you’ll want to download either mps-bin-7.4.tar.gz, mps-bin-8.1.tar.gz or mps-bin-8.0.tar.gz.
Unfortunately, the mps driver, which supports LSI Logic’s 6Gbps series of RAID controllers, didn’t make it into the FreeBSD kernel until after 8.2-RELEASE. As a result, FreeBSD users who require this driver are forced to either install 8-STABLE — which, despite the name, is a development branch — or pull the driver’s source code from 8-STABLE and build it on FreeBSD 8.2-RELEASE. Since we recently needed to use the mps driver and had to stick with a production-ready release, we opted for the second option. Along the way, we decided to bundle up the driver’s source to make the task easier for those who don’t want to install a development branch, and to pre-compile binary modules for those who wish to install 8.2-RELEASE directly to the hardware RAID array.
If you have a separate hard drive for the operating system that’s not on a 6Gbps LSI controller and simply use the hardware RAID for additional storage, you can do a normal install of FreeBSD 8.2-RELEASE to the hard drive, boot into the new system and perform the following steps:
1) Download mps.tar.gz
2) Extract it, cd to the ‘mps’ directory and type make && make install
3) Edit /boot/loader.conf
and add the following line at the end: mps_load="YES"
4) Reboot (or type kldload mps.ko
without rebooting)
If instead you want to install 8.2-RELEASE directly to an array on your 6Gbps LSI controller, a few extra steps are required.
First, download mps-bin.tar.gz, extract it by typing tar -zvxf mps-bin.tar.gz
and place the contents on some form of removable media mountable by FreeBSD. A USB thumb drive, a floppy disk or a CD will suffice (though, a CD would be an awful waste of space… :))
Second, make sure to download the FreeBSD DVD and not the CD. We will require the live filesystem that’s contained only on the larger DVD. Once the installer is running, choose your language as usual, then select “Fixit” instead of the usual installation method. Choose the CDROM/DVD option.
Figure 1: Select 'Fixit' instead of an installation method
Figure 2: Select 'CDROM/DVD'
Figure 3: The 'Fixit' Prompt
Now, insert your removable media. For our example, we’ll assume a USB thumb drive with a device node on /dev/da0
.
Before continuing, let me first warn you that the ordinary mount
command will most likely not work. Usually, mount
will determine the filesystem type and automatically call the appropriate binary. However, the way the live filesystem is setup, this doesn’t work — or at least, it didn’t work on my machine. So instead, you’ll want to call the command for your filesystem type directly. If it’s a CD, that command will be mount_cd9660
. If you’re using a USB thumb drive with a FAT32 filesystem on it (as we will be in our example), the command will be mount_msdosfs
.
Assuming our example with the USB thumb drive, you’ll issue the following commands:
#mount_msdosfs /dev/da0 /mnt
#cd /mnt/mps-bin/i386
for 32-bit (or #cd /mnt/mps-bin/amd64
for 64-bit)
#kldload ./mps.ko
#exit
At this point, you’ll be returned to the FreeBSD installer. Make sure to re-insert the DVD, then continue with the installation as usual. Once the installation is complete, don’t reboot! If you do, you won’t be able to start up FreeBSD, as we still have to install our kernel module and tell the boot loader to load it on boot.
So, now that the installation is finished, re-insert the DVD and return to the Fixit prompt. Once again, choose the ‘CDROM/DVD’ option. Assuming our USB thumb drive on /dev/da0
from before — the commands you use will differ based on the media you choose — type the following commands:
#mount_msdosfs /dev/da0 /mnt
#cd /mnt/mps-bin/i386
for 32-bit (or #cd /mnt/mps-bin/amd64
for 64-bit)
#./install.sh
If all goes well, the shell script will terminate without any output. Incidentally, it’s worth mentioning that the newly installed root filesystem is mounted on / when you enter the Fixit environment after installation. Now that we have the kernel module installed, we just need to tell FreeBSD to load it on boot. To do so, we just have one last command:
#echo 'mps_load="YES"' >> /boot/loader.conf
That’s it! Just unmount your media and exit the Fixit prompt.
#umount /mnt
#exit
At this point, you can exit the installer as usual and reboot. Once the system starts, you should find yourself face to face with a shiny new instance of FreeBSD 🙂
james August 10th, 2011
Posted In: FreeBSD, How-To, Open Source
Tags: 6gbps, 7.4-release, 8-stable, 8.0-release, 8.1-release, 8.2, 8.2-release, binary, driver, freebsd, howto, kernel, kernel module, lsi, lsi logic, module, mps, Open Source, raid, source, stable, tutorial
Earlier this year, Samsung announced it had achieved 1TB/platter, allowing them to produce 4TB hard drives. A prototype was subsequently shown off at the CeBIT trade show. Samsung refused to provide a projected date for its commercial release, but did reveal that they intended to begin shipping them in 2011. There are only 6 months left in 2011. Let’s see what happens!
For further details, check out this link: http://www.xbitlabs.com/news/storage/display/20110308081634_Samsung_Shows_Off_Prototype_of_4TB_Hard_Disk_Drive.html
james June 17th, 2011
Posted In: Uncategorized
Debian. That’s a Linux distribution, right? Debian is (understandably) strongly associated with Linux. But, did you also know that a port of Debian exists that’s built on top of the FreeBSD kernel?
Say What?
The project is called KFreeBSD. At first glance, it may sound like a contradiction. After all, how can you run Linux on FreeBSD? The answer to this apparent paradox is that you’re not running Linux at all. Linux is just a kernel, and actually has little to do with the rest of the operating system. An entire Linux-based OS consists of much more, specifically a hierarchy of libraries and executables. These libraries and executables don’t have to run on top of Linux. In fact, they can operate on any *NIX-like platform. All the Debian developers have done is to port these libraries and executables over to the same kernel used by FreeBSD.
But, What’s it Good For?
Lots of stuff. Unlike Linux, the FreeBSD kernel has support for ZFS. Unlike Linux, the FreeBSD kernel has built-in support for NDIS drivers. Unlike Linux, the FreeBSD kernel interfaces have changed relatively little and have remained largely consistent.
Ok, then why not just use FreeBSD? You may prefer the Debian package manager to FreeBSD’s ports. Perhaps you prefer a Debian-style init system. Maybe you’d like to take advantage of code licensed under the GPL without having to compile third party kernel modules, like built-in support for ReiserFS or XFS.
For more information about why you might be interested in giving KFreeBSD a try, have a look at this: http://wiki.debian.org/Debian_GNU/kFreeBSD_why.
Ok, I’m Interested. Is it hard to install?
Not at all! If you know how to install Debian Linux, you also know how to install KFreeBSD. The process is identical. When you first boot off the CD image, you’re presented with the following GRUB prompt:
Once the installer starts running, you will see the following screens throughout the installation process:
Look familiar? 🙂
Is it Easy to Use?
Yes! KFreeBSD is as easy to use as Debian Linux. The only unfamiliar sight you may encounter is when the kernel starts to boot:
After all the foreign kernel messages, you’ll immediately recognize the init scripts that are being called, as well as the login prompt when the system is ready:
Want to install an application? Simply type apt-get install <application>, just like you would on Linux:
Do you prefer to use a GUI? Simply choose to install a Desktop Environment during installation and you’ll be presented with the following GDM prompt after the system boots:
Once logged in, you’ll get to navigate around using the already very familiar GNOME window manager:
What’s the Catch?
Unfortunately, there are a few. For starters, due to a bug in the Debian userland, wireless network adapters, while supported by the kernel, do not function. This can be worked around by running the FreeBSD version of ifconfig in a chroot jail. Also, there’s only partial support for Java via GIJ. This very incomplete implementation does not include Swing. The Sun JDK has yet to be ported, though there’s hope for the future on this point, since Sun’s Java does run natively when linked against the FreeBSD userland. Finally, the port is still experimental, which means you will likely encounter bugs.
For more information about KFreeBSD and the trade-offs of using it versus Debian Linux, consult the FAQ.
Conclusion
Part of what makes Open Source so attractive is choice. With the Debian userland now at least partially ported over to the FreeBSD kernel — a third port also exists based on GNU’s HURD — Debian users now have more freedom than before to mix and match technologies according to preference. While KFreeBSD’s experimental and in some respects incomplete status precludes it from ordinary use, it is nevertheless an interesting project, and one that will serve its users well when complete.
james June 15th, 2011
Posted In: Open Source