Posts Tagged ‘Splashy’

Install Splashy on Debian Stable (Etch)

Saturday, March 1st, 2008

I know there are many people who do not like the slow development process of the Debian Linux Operating System (O.S) just like me. People who use stable distribution of Debian miss on lots of new featured-rich packages as compared to users of other Linux O.S. The reason why people still stick to the stable Debian system is because of its rock-solid stability.

One of the packages that is missing from the current Debian Stable release (Etch) is “splashy“.

Here are detailed instructions which explains how to install latest Splashy package on your Etch system:

Splashy is a native Debian package, so all you need to do is to download the current sources, untar and then build a .deb package from the untarred sources.

Step 1:
Go to http://packages.debian.org/source/lenny/splashy and download the three source files namely

splashy_0.3.8-1.dsc
splashy_0.3.8.orig.tar.gz
splashy_0.3.8-1.diff.gz

into a folder say /usr/src/root/splashy_build

or you can use “wget” command also like this:

debian# wget http://ftp.us.debian.org/…/splashy…{dsc,tar.gz}

Step 2:
Give the following commands:

cd /usr/src/splashy_build
dpkg-source -x splashy*.dsc
cd splashy-VERSION (in this example, VERSION=
3.8-1)
debuild -uc -us
cd ..
dpkg -i splashy*.deb libsplashy*.deb

Step 3:
Test your splashy by giving command:

debian# splashy test

You should be able to see a Tux image and a progress bar.

Step 4:
Add the following line:

splash vga=791 quiet

in your /boot/grub/menu.lst file

Your line should read something like this:

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro splash vga=791 quiet
initrd /boot/initrd.img-2.6.18-4-686

This will enable the splashy to start whenever you boot your system. Without the above line your splashy simply wouldn’t work.

What if you get error messages when you boot your system or you are not able to run splashy at all?
Don’t worry chances are that you will run into Splashy error messages on Debian Etch if you are not using an initrd/initramfs image. Please refer to Issue #1 - Splashy not working; Splashy Error Messages during boot in my blog entry.

Hope this helps.

As usual, please leave a comment/feedback.

GNU/Linux Debian Issues - Solution/Resolved

Tuesday, February 26th, 2008

Purpose:
I have been a fan of Debian Linux operating system since last 3 years. The purpose of this post is to continuously list issues that I was able to resolve either by asking the Open Source community or by researching on the Internet or just by playing around with the problem. I hope that this post will help many people to solve similar/same issues and thus will save their valuable time.

Issue #1 - Splashy not working; Splashy Error Messages during boot
Date: 02/25/2008

Package: Splashy (Version 0.3.8-1)

OS version: Debian GNU/Linux 4.0 (codename etch)

Kernel: 2.6.24 (Debian Source)

Error Messages:
Splashy Error: Connection refused
Splashy ERROR: Couldn’t splashy_start_splashy(). Error -2
Splashy ERROR: Couldn’t splashy_start_splashy(). Error -3
Splashy ERROR: Couldn’t splashy_start_splashy(). Error -7
Cannot create /dev/fb0 or No such device

Also see this posting in which I posted my query to the splashy mailing list.

Resolution:
Rename /etc/rcS.d/S03udev to /etc/rcS.d/S03audev.

Command to be given:

debian# mv /etc/rcS.d/S03udev /etc/rcS.d/S03audev.

You can test whether splashy is working properly or not by giving the following command:

debian# splashy test

The above solution was suggested by Mike Kelland who happens to be on the same splashy mailing list as I am.

Also some of you might be wondering how to install splashy on Debian stable (Etch) since Splashy is only available in Lenny and Sid repository as of this writing. Please see my post on how to install splashy on Debian Stable.

Update:

Ok, you must be wondering why this issue occurs in the first place, right? Why don’t the developers fix this issue?

Here is mystery:
The way splashy is supposed to work is that it should start from initramfs (which superseded initrd) in the 2.6 kernel series. What is the difference between initrd and initramfs? I think that deserves a separate post/entry (may be for some later time, eh?). Any how, if you use initramfs to boot your kernel then you should not get any error messages. Debian system by default likes to use am initramfs during boot, but many people do not prefer to use an initramfs during the boot and thus built all the support for IDE controller and Filesystems into the Kernel itself (instead of modules), just like the way I like it. This is how you make your boot process free from using initramfs.

So in short if you don’t see an “initrd” entry into your /boot/grub/menu.lst, for example:

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro

instead of

title Debian GNU/Linux, kernel 2.6.18-4-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-686 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.18-4-686

it means that you are not using initramfs and you should follow the tip mentioned in the resolution section above.

Note: It is important to know that while the menu.lst file still says “initrd”, it actually means “initramfs”. For some reasons it is still being called by this name even when they switched to newer much improved “initramfs” in 2.6 Kernel. This thing kept me confused for a long time until someone just mentioned in one of my query.

In conclusion, if you don’t use initramfs/initrd during your boot process, then udev and splashy interferes with each other and you have to make sure that splashy is being called after udev script in the /etc/rcS.d directory. The only disadvantage is that you might end up seeing some text messages before splashy actually loads itself.

Also, I had a discussion with one of the splashy developer/maintainer regarding this issue which might give you further insight.

Issue #2 - Ethernet card does no get IP address

Coming soon…

As usual, please leave a comment/feedback.