LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-27-2002, 06:28 PM   #16
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15

it says it cant find that command 'lsmod' how else can i see if it is loaded?
 
Old 12-27-2002, 07:12 PM   #17
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You do have that command, you just have to be root to run it.
su -
root password
lsmod

Cool
 
Old 12-27-2002, 07:23 PM   #18
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15
ok it says

Code:
Module                Size    Used by         Not tainted
pcmcia_core          40896      0
ide-scsi              7456      0
sis900               11972      1
i dont see the sound thing in there it should be sis7012
how can i add this?

Last edited by blither; 12-27-2002 at 07:24 PM.
 
Old 12-28-2002, 02:16 AM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
modprobe sis7012

This should probe all the necessary modules for the soundcard as well (such as soundcore).

Cool
 
Old 12-28-2002, 11:57 AM   #20
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15
this is what the modprobe sis7012 returned

Code:
/lib/modules/2.4.18/kernel/drivers/sound/sis7012.o: kernel-module version mismatch
        /lib/modules/2.4.18/kernel/drivers/sound/sis7012.o was compiled for kernel version 2.4.7-10enterprise
        while this kernel is version 2.4.18.
/lib/modules/2.4.18/kernel/drivers/sound/sis7012.o: insmod /lib/modules/2.4.18/kernel/drivers/sound/sis7012.o failed
/lib/modules/2.4.18/kernel/drivers/sound/sis7012.o: insmod sis7012 failed
 
Old 12-28-2002, 12:36 PM   #21
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
What kernel are you using? And what directories exist in /lib/modules?

Basically way up there I can't tell if you actually are booting to the "new kernel" which should be 2.4.20 if you downloaded and compiled it; or if you compiled another 2.4.18 kernel. I am also wondering if you correctly added the new kernel to your lilo.conf file and reran lilo.

Could you please explain what you have done up to this point (what drivers you've installed, against what kernel, and so on). And also can you tell me what kernel you are wishing to have, and what /usr/src/linux is symlinked to if anything.

Cool

Last edited by MasterC; 12-28-2002 at 12:40 PM.
 
Old 12-28-2002, 01:30 PM   #22
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15
I am using 2.4.18. In the directory /lib/modules there is only one folder called 2.4.18. I never did anything with a new kernel because i thought i was just supposed to download the sis7012 drivers and compile them. So i added thoughs modules to the /lib/modules/2.4.18/kernel/drivers/sound dir, the /usr/src/linux is symilinked to the folder /usr/src/linux-2.4.18.

Heres what i have done so far. I have downloaded the sis7012 drivers from the SiS site. then i followed the readme file and did exactly what it said. And i have been following what you have said to do with the commands and such.
 
Old 12-28-2002, 02:04 PM   #23
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Holy crap that site is slow! I was just trying to get the README file, but I am afraid it's just not wanting to work. I will see if it's just a bad time of day and give it a try a little later.

Once I get that done I will see what I can find out and post back with an idea or 2.

Cool
 
Old 12-28-2002, 02:10 PM   #24
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15
here is the read me file


SiS 7012 Linux Driver Install Documentation


**Before install this driver, you should make sure that your kernel had
enable "sound card support" !
(the option of "sound" item in building kernel)

This driver is for kernel RedHat kernel 2.4.x. You can install this driver
by useing script "install" or follow steps descributed below:
Note : if there are soundcore.o and ac97_codec.o in your kernel, you can
skip step 3,4,6
(you can use command "insmod soundcore" and "insmod ac97_codec" to
test if there are these two modules)

1> Check that you have kernel-source in /usr/src/x.x.x

2> Change linux_src_directory to correct path in "config.in"

3> Copy soundcore and ac97_codec source to current directory

"make snd_install"

or :

"cp /usr/src/x.x.x/drivers/sound/sound_core.* ./"
"cp /usr/src/x.x.x/drivers/sound/sound_firmware.* ./"
"cp /usr/src/x.x.x/drivers/sound/os.h ./"
"cp /usr/src/x.x.x/drivers/sound/ac97_codec.* ./"

4> Generate soundcore and ac97_codec module

"make soundcore.o"
"make ac97_codec.o"

5> Generate sis7012 driver module

"make"

6> Copy soundcore.o , ac97_codec.o to module directory

"cp soundcore.o /lib/modules/x.x.x/kernel/drivers/sound
"cp ac97_codec.o /lib/modules/x.x.x/kernel/drivers/sound

7> Copy sis7012.o to module directory

"cp sis7012.o /lib/modules/x.x.x/kernel/drivers/sound

8> Modify the file "/etc/modules.conf". Add two lines into it :

alias sound-slot-0 sis7012

9> Reboot your computer and configurate sis7012.
 
Old 12-28-2002, 02:18 PM   #25
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
can you please email the driver? mastercATlinuxquestions.net

Thanks
 
Old 12-28-2002, 02:44 PM   #26
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15
I was haveing problems emailing it so here is a link that will not take long to download and i know it works.
sis701-2.4.x.tar
 
Old 12-28-2002, 02:48 PM   #27
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I don't have permissions to access that file on that server it says.

You can upload to my ftp server, I have made a temp user:
ftp://masterc.no-ip.org

username: temp
pass: temp

Cool
 
Old 12-28-2002, 02:48 PM   #28
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ahh, just got it, it's working now.

Cool
 
Old 12-28-2002, 03:00 PM   #29
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ok. I just got it working. Here's what I did:

Untarred the file:
tar xvf sis{TAB}

Then cd'd to the new directory:
cd sis{TAB}

And finally read the Readme:
less Readme

And ran make:
make

And copied the sis7012.o to my /lib/modules/2.4.19/kernel/drivers/sound
directory.

Rebooted, modprobed:
modprobe sis7012

And it worked.

I am wondering if you missed the "make" portion.

Cool
 
Old 12-28-2002, 03:12 PM   #30
blither
Member
 
Registered: Dec 2002
Location: Ohio
Distribution: LFS, Ubuntu
Posts: 157

Original Poster
Rep: Reputation: 15
I have my sis7012.o file in /lib/modules/2.4.18/kernel/drivers/sound directory I dont and when I do the modprobe sis7012 it gives me that thing I showed earlyer, and I ran the make files just how the readme file said.

---
i have aim and icq if that would work better? aim: darkpgn icq: 79476391

Last edited by blither; 12-28-2002 at 03:15 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Kernel 2.6.8.1 - Kernel Panic error shaun85 Linux - Newbie 10 07-16-2007 04:20 PM
Ndiswrapper - Cant find kernel sources while installing (Kernel 2.6.11) krayhze Linux - Wireless Networking 6 05-23-2006 06:30 AM
Kernel panic problem with all of my kernels after installing new kernel nosebleed Linux - Software 2 04-14-2006 09:48 PM
Kernel panic when installing a new Kernel NeeD_ResT Debian 2 10-16-2004 08:10 PM
installing 2.2.10 kernel on Redhat 8.0 (kernel 2.4.18-20) sumit_nus Linux - Software 5 07-31-2003 03:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:34 PM.

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