LinuxQuestions.org
Help answer threads with 0 replies.
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 01-01-2004, 03:14 PM   #16
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41

ok... im running kernel 2.6.0 now. But i have a few problems.

1st i cant get my radeon to work.. but thats not a big concern just yet.

Next.. and more importantly.. i the network adapter. Im not sure if I am doing this right... but my first setup of the kernel "make xconfig" i missed quite a bit.. and continued with the compile and install. Since i have went back and run make xconfig a few more times.. enabling the support that i need. Is that all i have to do is save the config?

The old kernel 2.4-22 used via-rhine for my ethernet card. i do not have a via-rhine adapter any longer. I donloaded the driver from via's website but it does not compile. (it compiles just fine if i boot to the old kernel)

any ideas on how to make this work?
 
Old 01-01-2004, 03:27 PM   #17
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by trey85stang
ok... im running kernel 2.6.0 now. But i have a few problems.

1st i cant get my radeon to work.. but thats not a big concern just yet.

Next.. and more importantly.. i the network adapter. Im not sure if I am doing this right... but my first setup of the kernel "make xconfig" i missed quite a bit.. and continued with the compile and install. Since i have went back and run make xconfig a few more times.. enabling the support that i need. Is that all i have to do is save the config?

The old kernel 2.4-22 used via-rhine for my ethernet card. i do not have a via-rhine adapter any longer. I donloaded the driver from via's website but it does not compile. (it compiles just fine if i boot to the old kernel)

any ideas on how to make this work?
Each time you change the kernel configuration, you need to re-compile...unless you ONLY added modules, then I believe you can get away with make modules, and make modules_install.

As for the network adapter...you'll need to know what make/type you have, and comb through the support options when you do make xconfig...find it, and add it...more than likely, there will be support for your card...if not, then the 3rd party drivers would be the way to go.
 
Old 01-01-2004, 03:31 PM   #18
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
there is support showing for the card.. and im going to attemp to compile it into the kernel.. sounds good, i was unsure if it had to be recompiled after making changes.... let me try that (thanks for the quick response )

thanks:trey
 
Old 01-01-2004, 07:27 PM   #19
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
ok, i have doen mulitple recompiles.. and got my network adapter working.. and got my radeon 9000 working.. however.. I am stuck on getting sound to work.

I have VIA 8233, output of lsmod is as follows

Quote:
trey@slack:~$ lsmod
Module Size Used by
fglrx 204108 7
snd_via82xx 23104 1
snd_ac97_codec 52868 1 snd_via82xx
snd_mpu401_uart 7424 1 snd_via82xx
snd_rawmidi 22016 1 snd_mpu401_uart
via_agp 6912 1
trey@slack:~$
I do not have OSS enabled in the kernel, however I do notive that the ac97 module is not loaded. Which the new name of the module is snd-ac97-codec. when i try to load this module i get this

Quote:
root@slack:/home/trey# modprobe snd-ac97-codec
FATAL: Module snd_ac97_codec already in kernel.
root@slack:/home/trey#
I have searched the xconfig menu all over and have found nowhere that says this to be included in the kernel.. or even as a module???

any idea what I am missing or how to make this work. I know this thread is old.. I might repost as a new thread if needed.

thanks:trey
 
Old 01-01-2004, 07:51 PM   #20
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Not too sure about this one. I haven't had the time to mess with ALSA which didn't work for me at the start. So, I just went with OSS...and my sound worked. I know it's deprecated, but for now it works just fine.

Sorry I couldn't be of more help.
 
Old 01-01-2004, 08:16 PM   #21
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Quote:
Originally posted by DaOne
Not too sure about this one. I haven't had the time to mess with ALSA which didn't work for me at the start. So, I just went with OSS...and my sound worked. I know it's deprecated, but for now it works just fine.

Sorry I couldn't be of more help.
its cool.. you have been more than enough help so far. I will figure it out... I found out built alsa in the kernel.. I am recompiling and making it a module. I will see if this helps out.. I am also enableing OSS this round as well.

thanks:trey
 
Old 01-01-2004, 08:32 PM   #22
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
trey...I would only enable OSS "or" ALSA...not both. Here is an example from a snip from my config...

# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set

#
# Open Sound System
#
CONFIG_SOUND_PRIME=m
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
CONFIG_SOUND_ICH=m
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_TVMIXER is not set
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_AD1980 is not set

You'll see that I have "Sound Support" in the kernel. Then nothing for ALSA...OSS support as a module, and then my specific chipset support as a module. I would think that after this, you'll only need to make sure that 2 modules load...

snd_via82xx
snd_ac97_codec

I believe that once the via module is loaded, ac97 will load as well.

Last edited by DaOne; 01-02-2004 at 06:31 AM.
 
Old 01-01-2004, 09:43 PM   #23
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Quote:
Originally posted by DaOne
trey...I would only enable OSS "or" ALSA...not both. Here is an example from a snip from my config...


I did not see your post in time.. i compiled with both enabled. My sound is now working. I will recompile again (tomorrow at work) and try ALSA again. After enabling OSS as well. I notived that alsamixer was muted... I'm wondering if it was muted before i enabled OSS... :shrugs: dont recall seeing it muted but maybe it was. either way im 100% up and going now.

Thanks you very much.. your guide and everyone that posted here was a big help! I now know how to compile and install a kernel!

thanks:trey
 
Old 01-03-2004, 10:46 AM   #24
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
DaOne,
Thanks for the help. I went out and bought new speakers since my connection was bad anyway. Installed a creative SB 5.1 but couldn't get Alsa to work...messed with it for a while and gave OSS a shot. Now I've got sound so I'm happy!!!
Also, that network driver for the Realtek (8139too) worked like a charm. I've also got the full display on boot but I really don't know how that happened!! I didn't do anything but in the process of recompiling the kernel a couple times it just started. I guess I got it right.
Off to another subject - what DVD burning software would you recommend? I have a new Plextor 708A.
Thanks for all your help. So far you've been right on the money!
 
Old 01-03-2004, 05:28 PM   #25
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by Vincent_Vega
DaOne,
Thanks for the help. I went out and bought new speakers since my connection was bad anyway. Installed a creative SB 5.1 but couldn't get Alsa to work...messed with it for a while and gave OSS a shot. Now I've got sound so I'm happy!!!
Also, that network driver for the Realtek (8139too) worked like a charm. I've also got the full display on boot but I really don't know how that happened!! I didn't do anything but in the process of recompiling the kernel a couple times it just started. I guess I got it right.
Off to another subject - what DVD burning software would you recommend? I have a new Plextor 708A.
Thanks for all your help. So far you've been right on the money!
Glad to hear you got things going...as for DVD burning, I don't know because I don't have a DVD burner yet. I can tell you that I use K3B for CD burning, and I believe it supports DVD burning as well. I like it...might be worth checking it out.

http://k3b.sourceforge.net/cgi-bin/index.pl
 
Old 01-05-2004, 01:30 AM   #26
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Ok, installed k3b but I'm getting errors when I try to write to a CD. First, I have my DVD writer in the first drive so the command 'mount /dev/cdrom' mounts that drive. /etc/fstab lists that drive as 'ro'. Do I need to change that?
k3b recognizes both drives but I get some errors about mounting /dev/hdd for the second drive (CD-RW).
How can I manually mount my two RW drives? I only know of the one command - mount /dev/cdrom. I'm looking all over and finding a lot about editing lilo.conf but I'm using 2.6 so I shouldn't have to, should I??
Lots of questions here....any help you can give is really appreciated.
One other thing - I used Lame to convert some .wma files to mp3 but the end result was nothing but static. Any clue on that?? I just want this computer to be as functional with linux as it is with windows...but that's become a very time-consuming proposition!
 
Old 01-05-2004, 08:15 AM   #27
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Did you run the set-up script for K3B? Alternately, you can run K3B setup from one of the drop down menus within K3B after opening it. You shouldn't need to mount the drive before running K3B...it should do this for you as long as the permissions are correct. Also...do you have scsi emulation and scsi cdrom support in the kernel? You'll still need this with K3B even though it's deprecated in 2.6.0.

As a note, I have scsi emulation built as a module, and scsi cdrom support in the kernel. You'll also need the

append="/dev/hdx=ide-scsi"

line in lilo.conf. Where (x) in hdx is where you have your cdrw drive. So for you it would be...hdd. Also, keep in mind that when you use scsi emulation, the block device will then be sr0 instead of hdd. So you may need to use /dev/sr0 in fastab instead of /dev/hdd.

HTH.
 
Old 01-05-2004, 09:35 AM   #28
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
I have a 3com Gigabit LAN 10/100/1000 Mbps embeded on my Asus P4P800 mobo, and I have a linux driver for it witch worked fine with kernel 2.4.22.
I would install it to /lib/modules/2.4.22/kernel/drivers/net, ran "make load",
then depmod, and added "modprobe 3c2000" to my rc.modules.
Now with kernel 2.6.0 make load gives me a make error, and obviously doesn't load the driver. In my mobo manual it says the nic is a 3com 940.
In the 2.6.0 kernel, there is support for 3com NICs but only for 905 and 990 series.
What could I do to make it work ?

Last edited by XStorm; 01-05-2004 at 09:39 AM.
 
Old 01-05-2004, 12:30 PM   #29
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
I've reinstalled a new kernel with scsi so things have changed a bit. I didn't edit /etc/fstab at all or lilo.conf yet. I ran k3b and instead of errors it just went to the copying screen and did nothing.
Ok, I added append="dev/hdd=ide-scsi" to lilo.conf. I also added an entry to /etc/fstab like you suggested but I'm not understanding what I'm doing, to be honest! When I start the line:
/dev/sr0 I then pick a mount point...what mount point is correct? Then I use iso9660, right? Do I make this 'ro' also followed by 0 0?
The first drive in my computer is the DVD-writer so when I mount /dev/cdrom that's the one I get to. What is hdd going to point to??
Afer changing /etc/fstab I tried to mount /dev/sr0 but it says it's not a valid block device...did I miss something in my kernel compile??
I know I've got a lot of questions but if I can understand what's happening I'll be a lot happier!

Thanks for your help.

Last edited by Vincent_Vega; 01-05-2004 at 12:31 PM.
 
Old 01-05-2004, 02:22 PM   #30
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
one more question about compiling a kernel: if i compile and later want to add one feature, can I just go to /usr/src/linux and run make menuconfig or do I have to start with make mrproper each time? What does make mrproper do? I was just thinking that it would wipe out the current configuration. If so, you could probably copy the .config file to another directory and then copy it back, right?
 
  


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
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 09:31 PM
How do i compile and install a program?? crash_override_me Linux - Software 2 08-31-2005 07:47 AM
How do you compile/configure/install sonofamre Linux - Newbie 1 08-22-2005 09:32 AM
what compile programs to install? provkitir Debian 7 12-29-2004 09:33 AM
How to compile+install? menvem Mandriva 3 09-29-2004 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration