I had time on my hands recently so I said to myself, "Self, why not install Slackware 9.0?".
Self complied and several days later I have it running pretty much the way I want to and I think
it's a great distro because: it loads quickly and KDE runs fast on it. Having said that I feel
there are some deficiencies in the install documentation and I see here in this forum the same
posts over and over about the same problems. I got some good help from this forum and I figured
some stuff out on my own (I know, THAT'S THE IDEA!) so I want to put it all in this note to perhaps
reduce some of the frustration newbies feel. Please don't flame my ass if I say something that isn't
technically exact - my Linux knowledge wouldn't qualify me to shine Mr Torvalds boots, and I'm only
trying to help!
I installed from a bootable ISO Slackware 9.0 cd and I imagine most people will these days. It will
ask you to boot a kernel, choose a keyboard map, and then type in 'root'. You'll next have to make
some partitions on your hard drive(s) and here is some important stuff:
1) Use cfdisk to make the partitions, NOT fdisk. I couldn't get fdisk to work properly on my system
and I gather from many of the posts that others couldn't either.
2) After you WRITE the partitions, exit from cfdisk and reboot your system. I think that the setup
procedure won't be able to format your partitions if you don't reboot. (By the way, I choose SWAP, /boot, and /
as my partitions [in that order], and it seems to be ok for me.)
So you've rebooted, and you have to repeat picking a kernel, choosing a keyboard map, and logging in as root.
I choose to install all packages and let the sucker fly without intervention (full option), but here is something
annoying that happened to me and to many others posting to this site:
3) I installed Slackware 9.0 four times (gotta learn right?!), and three of those four times a VERY IMPORTANT
package was not installed. This package is glibc-2.3.1-i386-3. You will likely need this package as you can't
compile anything without it (For example, compiling ALSA drivers for your sound). If you try to compile without this
package, you'll get something like "file crt1.o not found". Strangely, the package IS on my cd, it just doesn't get
installed sometimes. I used KPackage to install it and then I had no problems compiling.
At this point you may wish to check if the kernel source code for 2.4.20 was put on your system. If you plan to do
kernel compiles you'll want this. It wasn't on my CD, but I got it from the www.slackware.com
website and installed it
under /usr/src so that I had a /usr/src/linux-2.4.20. I think this is ok for Slackware as it doesn't put any header files
here from the installed kernel. I then did a symbolic link with the console command:
ln -s /usr/src/linux-2.4.20 /usr/src/linux as this seems to be the place many compile scripts look.
The next couple of things I want to say may or may not be relevant to people with VIA chipsets and/or ATI Radeon cards,
but read on anyway.
4) Are you having trouble getting some SOUND out of Slackare? If you are, don't bother mucking with anything on the distro -
GO THEE HITHER TO DOWNLOAD THE ALSA SOURCE CODE at www.alsa-project.org.
Unzip it and put it into the /usr/src directory and
read the INSTALL file. As I had to, I think you will have to run ./configure --with-kernel=/usr because
Slackware puts the required headers under /usr/include/linux. After you run ./snddevices, it tells you to
edit the modules.conf file according to the example file they give. This is important for Slackware:
5) Slackware doesn't seem to use either modules.conf or conf.modules, but rather the file rc.modules in the
/etc/rc.d directory. Put your ALSA entries in there, not modules.conf. Finally, (at least for VIA onboard
sound chipsets like VT8233), you may have to add the lines:
after the other ALSA entries in rc.modules. This is because of some blah-blah-blah about OSS driver
emulation. After rebooting, if you run the console command lsmod, you should see a lot of sound related drivers like:
snd-pcm-oss 36740 1
snd-mixer-oss 11256 0 [snd-pcm-oss]
snd-via82xx 7756 1
snd-pcm 54720 0 [snd-pcm-oss snd-via82xx]
snd-timer 9992 0 [snd-pcm]
snd-ac97-codec 28164 0 [snd-via82xx]
snd-mpu401-uart 2848 0 [snd-via82xx]
snd-rawmidi 12320 0 [snd-mpu401-uart]
snd-seq-device 3868 0 [snd-rawmidi]
snd 23948 0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3332 3 [snd]
For the last bit, run a mixer program like kmix and turn up the volume as the default is no volume!!! If you try xmms now, make
sure you use the correct sound output driver (arts, OSS, etc.) I have the arts sound system turned off and I run xmms and other
apps using the oss output drivers.
6) ATI Radeon: the driver for 2D and 3D support is there already in XFree86 version 4.3.0. You don't need to get anything
from ATI's website. The driver is 'radeon' and you should have an entry in /etc/X11/XF86Config like (use your own board name):
BoardName "Radeon 8500LE"
and in the modules section you must have this:
# This loads the GLX and DRI modules
And finally you will need to have some sort of AGP kernel/kernel module support to get the full acceleration (if you have an
AGP card). In the /etc/rc.d/rc.modules file I had to put the entry:
/sbin/modprobe agpgart agp_try_unsupported=1
You may not need the option agp_try_unsupported=1. Try without it first, but I couldn't load the module in my case. The way to
find out is run the console command: modprobe agpgart. If it doesn't load try it like: modprobe agpgart agp_try_unsupported=1
After all of this run the console command: glxgears and look at the frame rate output. If you are getting more than 100fps on a
full screen, then you are probably good to go. After, try some some OpenGL game like tux-racer, quake, or Castle Wolfenstein.
Hope this helps somebody. Good luck Slackers...