Slackware Linux 13.0

UPDATE: I have added screenshots from my laptop at the bottom of this post.

After having purchased a second hand laptop, I immediately installed Slackware Linux 13.0 on it.

I was already a fan of Slackware Linux even on its version 10.x and up where it has even a ZipSlack version where you can run Slackware from MSDOS. I installed their current Slackware 13.0 release using the DVD installer.

slackware_traditional_website_logo

Install Process

The install process is still the same as it was before. You will be greeted with a boot prompt where you can choose (actually if you want to choose you type it) as kernel for your hardware. What has changed is that there are less kernel options to choose from. I used the default kernel.

I added about 3GB of swap partition. Almost 15GB are used by my Windows XP. The rest are for Slackware. Not like the way I did before, I was not able to setup a different partition for the /boot directory. I ended up using the whole partition for the root. Anyway, I know there can be no problem with that setting.

After the install process, I choose to enable other services that I will be needing for web development like HTTPD server, MySQL server, Samba and the others that I forgot already. Again as usual, LILO is the default bootloader. I don’t think I’m going to use GRUB so I leave it as is.

Problems Encountered

When I reboot after a successful install, I was greeted with the default console login. I login as root and immediately started X.

startx

KDE starts, but the graphics is garbled. It freezes after few seconds. I suspect that my graphics is not fully supported with the default installation. I even re-installed it twice but still no results.

I tried to edit /ect/X11/xorg.conf, run xorgsetup, tried different window manager but still X is the problem.

To the rescue is the official Slackware forum. I searched for possible solutions like editing the xorg.conf and other stuff. Then I finally came up with the solution.

Openchrome.org

My driver used is openchrome (for my VIA chipset) and I’ve found out that I need to build it as a kernel module. The source is below:

http://openchrome.org/trac/wiki/Installation#Installfromareleasetarball

I downloaded the necessary files and the GIT clone repo. At home, I followed the every steps and here is the summary of what happens.

1. Install the latest driver: http://openchrome.org/trac/wiki/Installation#Installfromareleasetarball

    tar xvzf xf86-video-openchrome-latest.tar.gz
    cd xf86-video-openchrome-<version number>
    ./configure --prefix=/usr
    make
    sudo make install

Instead of using sudo, I just used su.

2. Install DRM: http://openchrome.org/trac/wiki/Installation#DRM

I have copied the source from a git clone so I just to the following inside the source directory.

    ./autogen.sh
    make
    make install

Then install as kernel module:

    cd linux-core
    make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=via
    cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
    depmod -ae

However, the command above does not work as is because it is generic. I search the /usr/lib to find out where is that linux-core located. I found out that linux-core is the directory where your currently installed linux kernel is stored.

And the LINUX_DIR is I think the same as linux-core, I forgot already. But I just did it by trial and error method. Finally It compiles for almost THREE hours!

You will also need to change the cp *.ko command to the directory where the *.ko is located. Scan the linux kernel source directory to find it. I’m sorry I have not take down notes on that.

Success!

After a reboot, i logged in as root and started X. I was greeted with a shiny KDE splash screen. Finally, X worked! A very had work indeed!

The next step I did was to configure sound using alsaconf.

1. Run command alsaconf on runlevel 3.
2. Run command alsamixer and set the volume settings.
3. Run command alsactl store to sore your volume settings.

After three days of very hard work and patience. But the price is a rock solid desktop machine.

Update: Here are some screenshots from my laptop.




Waiting for the next version (Slackware 13.1 with the more beautiful KDE 4.3.4+)

This entry was posted in Slackware and tagged , , , , , . Bookmark the permalink.

Related Posts

3 Responses to Slackware Linux 13.0

  1. Loop says:

    Thanks for the review!

    I’m thinking of giving Slackware a go after reading it, just because I want to see if that whole “use slackware – learn linux” thingy is true (as you so cunningly show us lol).

    I’ve been a linux noob for quite some time now, constantly using either ubuntu or mint. I’m tired of not knowing what makes my system tick. Apparently, it takes a lot of tweaking to get Slackware up to our personal liking, which is just the challenge that I need. Hopefully, I will be “forced” to learn more about linux after this experience. :p

    Btw, could you possibly mail me your wallpapers, pretty please? 🙂

    Thanks again!

  2. Lysender says:

    Hi there,

    The “use slackware – lean linux” will give you problem when dealing with other distros! However, that is where the fun is. If you’ll use slackware, you’ll get screwed! I promise.

    However, if you won’t give up on slackware, you’ll learn a lot in your system. Only if you have patience and determination.

    I’m already using Slackware-Current as of Jan 31 2010.

    By the way, the wallpapers: Just search in Google about “wonder girls wallpaper”. Of course, I can send it to you secretly if you really like.

  3. Pingback: Linux Kernel Pain and Gain – Slackware Linux | Lysender

Leave a Reply

Your email address will not be published. Required fields are marked *