Linux.com :: Benchmarking hardware RAID vs. Linux kernel software RAID

Posted in Tech on July 16th, 2008 by lyz

Ben Martin’s articles have always been a great resource. In his latest article, Linux.com :: Benchmarking hardware RAID vs. Linux kernel software RAID, he makes a very informative comparison between hardware and software RAID.  It is a must read for the server admins out there.  While you’re at it, also check out his other articles.  They are all great reads.

This is my 1st test of Wordpress 2.6’s Blog this Button.  It works, but I loose my information when I move from Photo to Text mode.

Liberate Your Fonts

Posted in Tech on July 14th, 2008 by lyz

They’ve been out for over a year, but I just stumbled upon them this week.  Redhat release some very high quality and non-encumbered fonts.   Most distibutions will have them in a package named liberated-fonts.  They are substitues for some very popular fonts such asTimes New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif.  Check em out at https://www.redhat.com/promo/fonts/.

Slick Favicon Website

Posted in Tech on July 13th, 2008 by lyz

Check out http://www.favicon.cc/ for your various favicon needs.

Distro Filpping: OpenSuse 11 on the Laptop

Posted in Linux on July 13th, 2008 by lyz

OpenSuse 11.0 was released on June 19, 2008. Shortly thereafter, it was installed and running on my laptop.  OpenSuse has many draws, I’ll try and touch on the reasons why I chose it for my laptop and why it will stay on my laptop for the foreseeable future.

  • It has corporate backing from Novell, a company that seems quite determined to put Linux on the business desktop
  • It is less experimental than Fedora
  • The package management is quite good and faster than any other rpm based distribution
  • I wanted to grok KDE 4

OpenSuse Screenshot

KDE4

My KDE4 experience didn’t last long.  I really want to like KDE, but I’m just not productive in it.  This isn’t really the fault of the desktop environment as much as it is the applications.  In gnome, I am used to having all applications use a virtual file system so that media can be played over remote locations such as ssh shares.  I couldn’t find a way to do this in KDE with the available software.  I ended up installing gnome instead.

Gnome Applications

OpenSuse is unique than most other distributions with its application defaults.  Novell is actively developing gnome desktop applications that are based on mono.  Examples of this are the banshee media player, f-spot photo manager, and tomboy note taking application.  It includes these applications by default.

I believe f-spot to be the best photo manager that Linux currently has.  The features that I enjoy the most are how it arranges by photos in a timeline, the speed in which one can browse though photos, and the ability to tag photos easily.

Banshee has one killer feature, video.  Why this was so important to me at the time was that it provided the ability to download and watch video podcasts.  It’s a solid media player, but it isn’t leaps ahead of other applications in the space.

Beagle is the default desktop search engine.  It works ok.  There is a direct competitor in Tracker.  I don’t see any benefit to Beagle over Tracker.

There is also an alternate launch button.  This is like the start button in window.  I really like having my favorite and last launched applications available and in front of me; however, I don’t like having to click on more applications to open a menu to launch any other application.

Packages

OpenSuse absolutely excels in the package space.  The sites that you want to check out are http://software.opensuse.org/search and http://packages.opensuse-community.org. Most of the application searches will result in the package being found and provided though a convent one-click installation.

This was great for when I needed to install things like NetBeans 6.1.  I just searched and clicked the install button on the web page.

Issues

Ah the fun part.  A wise man once said that Linux doesn’t have a lack of drivers, it has a lack of quality drivers.  Most of the issues that I experienced initially were due to driver issues.

The atheros card in the laptop shows up as follows in lspci
04:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
This particular card didn’t work with the new ath5k driver as I would’ve hoped.  There was a patch at the time, but it was only for the 32bit version of Linux.  Tickets for this can be found here http://madwifi.org/ticket/1679 and here http://madwifi.org/ticket/1192.

The second driver issue has to do with the intel video card.  It was shipped with broken s-video ouput.  Even though it showed up in xrandr, it just didn’t work.  Doing a software search and installing an intel driver found there fixed the issue.

Advanced desktop effects were unusable due to slowness issues I had.  Video playback would slow to a crawl when compiz-fusion was enabled.

Putting the computer to sleep does not work.  I attribute this to acer’s acpi more than anything.  It’s not a big deal for my everyday use, but it’s something that Linux struggles with and continues to do so.

There are a few usability issues.  They are annoying and have been covered in other reviews.

Virtualization

Virtualization is a must have for me and many others.  The easies way to get this done in OpenSuse is to install VirtualBox.  It runs without issues and runs on the currently installed kernel.  I tried the Xen installation and configuration through Yast, but the kernel crashed would not boot to a desktop, so I scrapped it and used VirtualBox instead.  It makes more sense to use it in a laptop scenario as Xen kernels don’t support CPU throttleing.

Configuration

OpenSuse uses YAST or Yet Another Setup Tool.  YAST has more configuration capabilities than any other Linux configuration tool I’ve seen.  Most of them even work!  It isn’t the end all configuration too yet, but it is quite good.

Novell

I am choosing to abstain from the Novell vs the free software community battle.  There are many places where this is documented beyond my knowledge.

Bottom Line

The availability of a wide range of software is really the kicker for me.  It’s great.  The updates are less frequent than other distributions and the functionality that works is quite stable.  Typically, I’ll switch distributions due to a time wasting issue that is distribution specific.  I don’t see that happening with OpenSuse.  When an issue arises, it seems to be hardware and Linux specific rather than distribution specific. It is, in a word, usable.  Download the livecd and give it a try.

What To Do When All of Gnome’s MIME Enteries Break

Posted in Linux on July 13th, 2008 by lyz

When double clicking on apps don’t seem to open the correct program anymore on almost every file, there is most likely an issue with the MIME database.  The MIME database tells the desktop environment which program should open a file.  Try this to re-associate things.

update-mime-database ~/.local/share/mime

This tip was found after searching the net and landing on this page.

Nice List of ERD Tools

Posted in Linux, Tech on July 9th, 2008 by lyz

Check em out here.  Unfortunitely, it looks like Linux users have to wait until the 5.1 release of MySQL Workbench to get a good free ERD tool.

Distro Flipping: Fedora 9 on the Arcade Box

Posted in Linux, Opinion on June 29th, 2008 by lyz

This month, there were a good set of new Linux distribution releases.  The ones I was most excited about was Fedora 9 and OpenSuse 11.  This excitement was driven by a few things:

  1. Improved hardware support with the 2.6.26 kernel
  2. Package manager improvements (especially with OpenSuse)
  3. The new Gnome desktop (2.22) runs snappier than previous versions
  4. KDE 4

My initial project was to install Fedora Core 9 on the arcade system.  The installation was unique in that I decided to install to a flash drive instead of a hard drive.  This was inspired by the Fedora Live USB tools http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo.

Fedora is in a very interesting point in its life.  It is getting over being trounced in popularity by Ubuntu and learning to implement some of the features that make Ubuntu so appealing to so many.

I used the Windows version of the Live/USB creater tool first and it seemd to complete successfully.  However, the system would not boot fully to the device.  It seemed that the USB stick was assigned /dev/sdb which caused some errors.  I did get it to boot after typing some commands to mount the stick properly.

It was near sighted on my part, but I didn’t reallize that the Live USB stick would want to do hardware configuration on every bootup.  Perhaps a save hardware profile option would be a nice addition.  After realizing this, I decided that a full install to a the the USB Flash drive would be the best route.

The installer that is included with Fedora 9 is lacking when it comes to installing to flash.  There is no option to use jff2 as the file system.  This would’ve helped increase the life of the flash disk.  It took about 10 tries to get the installation going.  There were various problems with the disk partition tool that kept cropping up.  It, of course, didn’t like that I didn’t want to use swap space.  Also, any attempt to use the fat filesystem for the drive resaulted in a failure.

I ended up buying a 4GB drive to be the primary drive.  The Fedora installer fails if the drive does not have enough space (I think it was around 2.3GB) to copy the initial image.  The failure for this happens after the disk partitioning is done, so you have to go all the way back through the installer to correct this.

The Fedora desktop is really good looking and has been for most of there recent releases.  The hardware detection worked well and detected the atheros wireless card and loaded the driver correctly.  It surprised me since that was only recently committed to the Linux kernel.

Fedora package management has been its Achilles heel, in my opinion.  This release is, unfortunately, no exception.  Pup and Pruit have been ditched (yea!!).  The have been replaced with an installer that can only install one package at a time (boo!!).  This is a flaw that may just turn people against the distribution as a whole.  Installing yumex is a good interim solution for this issue.

There are a few ways that Linux distributions separate themselves from other distributions.  Here’s where comparisons should be made.

Type:  Desktop

Release Cycle: 6 months, supported for 1 1/2 years

Package Management:  Still slower than most, the default graphical fronend is missing the feature to install multiple packages.  This is the area where the distribution does the worst.

Feel: Good overall feel.  Theme is pretty and desktop is snappy.

Security:  SELinux is great.  It stayed out of the way while still prividing security.

License: It’s harder to find a “freeer” distribution than Fedora.  They and Red Hat are members in good standing with the open source community

Virualization: I didn’t test this on the arcade, but Fedora 9 does include the new paravirt_ops.

I will still use Fedora and check out the releases as they occur.  They are simply great at moving Linux forward with projects like PackageKit, AIGLX, pulseaudio, and paravirt_opts.  It’s hard not to want to support them.  Just please fix the installer and the package manager.

How to Turn on Your Arcade Remotely

Posted in Tech on June 9th, 2008 by lyz

As you probably do not know, I am the proud owner of a Tech Romancer cabinet.  The cabinet’s life as a one trick pony ended shortly after the purchase, and it is now a very capable mame box.

There is one large issue with having a computer inside of a large, wooden box.  Where’s the power button supposed to go?  The easy solution is to run cables off of the current power switch to some other button that is placed in a more convenient location.  This approach was considered, but I didn’t like it.  I thought that remote control was the way to go with this.

Looking back, this may have been a just for fun decision.  Although, running wires and modding the computer would have been more work.  The main driver was that the computer could not easily be removed once the button was in place.  Also, the location to put button wasn’t obvious.

It is a little known fact that there are some always on power coming from the computer’s power supply.  IMon takes advantage of this and created products such as the Imon Inside.  This gives the ability to receive remote signals even when the computer is in a powered down state.  Once the motherboard’s power button is rerouted to the Imon Inside, the computer can power itself on remotely.  How cool is that?

Unfortunately, this is not the end of the story.  The Imon device operates via infra red signals.  These don’t travel through 1/2″ of wood well.  My initial tests worked great when the computer was out in the open, but not when placed inside of the cabinet.

There is a solution to this problem too.  I honestly didn’t think I’d find a cooler product than the Imon, but I was happily mistaken thanks to the Next Generation Remote Control Extender. It turns out that they make an RF transmitter that poses as a AAA battery.  By replacing one of the batteries with an RF transmitter and putting the RF receiver in the cabinet by the infrared receiver, the signal was remote was now able to push commands through the cabinet.

Success was finally mine.

Materials

Imon Inside ~ $60  Purchased at Newegg
Next Generation Remote Control Extender ~ $33 Purchased at Amazon

DD-Wrt v24 is out

Posted in Tech on May 31st, 2008 by lyz

Its been a while already, but it’s official. I’m up and running with a WRT-350N router now. The new mega version of the firmware includes openvpn and usb storage modules.

I did run into a configuration incompatibility upon loading it. The wireless was sitting in Ad-Hoc mode even though I had specified otherwise. The fix was just a backup of the config, a reset of the device, and then a load of the config. Yes, I know that is the lazy way out :) , but it works.

My router is now capable of thing that aren’t possible with routers that cost 4 times as much. Yee ha.

Why Linux Rocks and Sucks

Posted in Linux, Opinion, Tech on April 18th, 2008 by lyz

Rocks:

My computer has never run beter than it has today. My gentoo system just got a full update to the latest unstable AMD64 release and the difference is quite noticeable. The new kernel, 2.6.25 actually gave me a decent performance boost as did the move to the new gnome 2.22 desktop. I was previously thinking about investing in a quad core proc to get some speed improvement, now those thoughts are history.

Linux core2 2.6.25-gentoo #2 SMP PREEMPT Thu Apr 17 19:46:30 CDT 2008 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux

Sucks:

There are a few line items on why Linux sucks. These are the things that people keep sighting and then saying “Linux isn’t ready for the desktop”. If your needs are one of these things, then you may be right.

1. The new IPod Classic crashes Banshee and Rhythmbox — This one hurt. I was trying to show my mother how cool Linux was by syncing her new IPod. It didn’t work and I had to resort to using a mac to get the sync to work.

2. Skype video chat doesn’t work for me — I recently purchased a creative live cam video im pro webcam device. It works great with most Linux apps, but not with Skype. This is important to me as nothing else does what Skype does right now. I have several familiy members on the Windows version of it that I can’t video chat with.

3. Epiphany bookmark related crashes — I’ll post on this later in more depth. On my box, epiphany cannot even import its own exported bookmarks. There is a bug out there for this.

4. ATI video isn’t 3d accelerated — This is a work in progress right now. There is a lot of effort to get the specs that ATI released into a xorg driver. The two main efforts for this are the ati and radeonhd drivers. This will get there, it will just take time. xcompmgr still works fine so my desktop looks snazzy; its just slow.

Please don’t take these critisms harshly. I am in no way trying to dismiss or invalidate the great work these projects represent.