SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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)
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.
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 )
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 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.
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.
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.
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.
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!
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!
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.
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!
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.
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 ?
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.