LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-02-2003, 07:06 AM   #1
nirvanix
Member
 
Registered: May 2003
Location: Calgary, Canada
Distribution: Arch Linux
Posts: 194

Rep: Reputation: 30
Some important information for Slackware install newbies


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:

/sbin/modprobe snd-mixer-oss
/sbin/modprobe snd-pcm-oss

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):

Section "Device"
Identifier "Videocard0"
Driver "radeon"
VendorName "ATI"
BoardName "Radeon 8500LE"
EndSection

and in the modules section you must have this:

# This loads the GLX and DRI modules
Load "glx"
Load "dri"

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...
nirvanix
 
Old 06-02-2003, 07:14 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
nirvanix,

Nice post, its good to have a slack-newbie-installer's view for others to read.

Jamie...
 
Old 06-02-2003, 08:39 AM   #3
nvn
Member
 
Registered: Apr 2003
Location: Sweden
Distribution: Slackware
Posts: 242

Rep: Reputation: 30
Perhaps it should be added that the support for hardware 3D acceleration on Radeon cards excludes the R300 chip (and beyond, I guess). There are numerous threads on this, but I thought it might be good to add a comment to this one as well. Nice post, btw.
 
Old 06-02-2003, 12:23 PM   #4
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Rep: Reputation: 15
Well that is a very nice post but you forgot one main problem people are having here including me actaully getting a bootable slackware 9.0 CD everyone seems to be having this problem some say they tried 10 times before getting it to work is there some other way around this because floppies are a pain
 
Old 06-02-2003, 12:35 PM   #5
ginster
LQ Newbie
 
Registered: May 2003
Location: Greenville, SC
Distribution: Slackware 8.1
Posts: 13

Rep: Reputation: 0
I had no problems downloading the ISO from the GA Tech ftp server. Worked the first time. It's one of the one's listed at slackware.com:

ftp-linux.cc.gatech.edu
 
Old 06-02-2003, 12:41 PM   #6
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
I had no trouble using fdisk.
I just followed along with the setup program and everything worked fine. I don't recall having to reboot in the middle of the install, unless it was a part of the flow of the setup.
I installed 'everything', so I had no problem with glibc.
I got sound by uncommenting one line from /etc/rc.modules.
I don't know anything about alsa.
I don't have ATI, I have nvidia and the newest ...4363.run driver worked just fine.

Just another point of view for us newbies.

Also, I have a 56K connection, so my install was from a store-bought version of slackware 9.0, $20.00 or so, as I recall.

regards...

Last edited by itsjustme; 06-02-2003 at 12:55 PM.
 
Old 06-02-2003, 01:05 PM   #7
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Rep: Reputation: 15
I have one question though what is the purpose of having the iso.asc file there? Seeing how it is only 1kb
 
Old 06-02-2003, 01:10 PM   #8
enk0d
Member
 
Registered: May 2003
Location: Miami, Florida. U.S.A
Distribution: Slackware 9.1
Posts: 102

Rep: Reputation: 15
Ginster - thanks for letting me know about the link i am going to give it a try once it is finished downloading the only thing is i have ot go to work in a little while so it won't be until tonight.

I am hoping my recent failures at achieving a bootable slackware CD is the iso file itself seeing how i tried getting it from different sources but out of the two neither was bootable.
 
Old 06-03-2003, 05:30 AM   #9
dcm
LQ Newbie
 
Registered: May 2003
Posts: 17

Rep: Reputation: 0
Partitions - a seperate one for /home is a *good* idea. This way you keep all your data if you reinstall / upgrade

Alsa
Slackware 9 definately works with /etc/modules.conf
The alsaconf script in the utils directory of the Alsa drivers package will automatically write this for you

Compiling and installing non-Slack stuff
1)A fine point - Put the code in /usr/local/src
2)A practical point - install the Checkinstall package (2nd Slackware disc). Then instead of "make install", which puts stuff who knows where, use "checkinstall" which makes and installs a package under normal package management controls
 
Old 06-03-2003, 08:10 AM   #10
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
As Alsa is concerned, I confirm that Slack uses modules.conf, so it can be prepared by alsaconf (by the way, isn't it outdated a little bit?) or by hand. On Alsa website you may also find link to table with all soundcards supported, and just there for each position is further link to documentation for this particular soundcard, where all configure and modules.conf options are really well described. It makes configuration process easier.
In my opinion, sound quality is really better with Alsa.
 
Old 06-03-2003, 10:02 AM   #11
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Quote:
Originally posted by dcm
Partitions - a seperate one for /home is a *good* idea. This way you keep all your data if you reinstall / upgrade
And it'll stop your system from going screw if you fill up /home as you'll only be filling /home not the root file system!

Jamie...
 
Old 06-04-2003, 09:39 AM   #12
figadiablo
Member
 
Registered: Feb 2002
Location: Virginia USA
Distribution: Slackware, CentOS, Fedora
Posts: 342

Rep: Reputation: 30
Quote:
Originally posted by Waldi
As Alsa is concerned, I confirm that Slack uses modules.conf, so it can be prepared by alsaconf (by the way, isn't it outdated a little bit?) or by hand. On Alsa website you may also find link to table with all soundcards supported, and just there for each position is further link to documentation for this particular soundcard, where all configure and modules.conf options are really well described. It makes configuration process easier.
In my opinion, sound quality is really better with Alsa.
Sound is better than in Windows too.. Much clearer. I use the M audiophile 2496 at work, and it just sounds great under Linux. ALSA just rulz. Cant wait for the next kernel 2.6 with the ALSA modules integrated. It will be definitely a step foward.

Figa
 
Old 06-22-2003, 01:03 PM   #13
gonzalo
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
Re: Some important information for Slackware install newbies

Quote:
Originally posted by nirvanix
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
Hi i got an 8500 and i've tried all this to get agp enabled but it just doesn't work. No matter how i modprobe agp.
in dmesg:
agpgart: unsupported bridge
agpgart: no supported devices found.

in XFree's log:
(WW) RADEON(0): [agp] AGP not available

when modprobe agpgart or agpgart agp_try_unsupported=1:

/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o.gz: init_module: No such device
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o.gz: insmod /lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o.gz failed
/lib/modules/2.4.20/kernel/drivers/char/agp/agpgart.o.gz: insmod agpgart failed
 
Old 06-24-2003, 12:57 PM   #14
gonzalo
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
Nevermind, it's an nforce2 chipset AGP issue with stock kernel, i must recompile.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting started on Slackware for newbies JulianS Slackware 6 03-06-2004 01:07 AM
most important software to install a program Fresha Linux - Games 1 02-28-2004 04:10 PM
most important software to install a program Fresha Linux - Software 1 02-28-2004 09:36 AM
Important Information when posting in the LFS Forum. trickykid Linux From Scratch 0 09-21-2003 11:52 AM
Slackware - Suitable For Newbies Or Not? Ken Ju-On Linux - Newbie 8 07-10-2003 04:29 PM


All times are GMT -5. The time now is 08:49 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration