LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-22-2004, 03:29 AM   #1
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Rep: Reputation: 30
How can I load the right module of my network card?


After compiling kernel 2.6.1, my network card is not working. However, I keep the old kernel, so now I can use the old one and the network card is working in the old kernel.
My network card is:
Silicon Integrated Systems [SiS] SiS 900 10/100 Ethernet (rev 145)

How can I get my network card to work in the new kernel?

Thanks in advance.
 
Old 01-22-2004, 03:57 AM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
I have the same one and I have it compiled into 2.6.1 and working, there is an option for it in make menuconfig under device drivers > networking > ethernet (10 or 100 mbit).
 
Old 01-22-2004, 08:33 AM   #3
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Hi, what is the different between '*' indicator and 'M' indicator when I select things in "make menuconfig"
Which one should I use?

Also, I think there probably is another problem that I don't have internet access. Do I need to tell the system that I use DHCP to assign IP address to this computer? I just find that there is no DHCP checking during boot up. If I need to set DHCP after recompiling the kernel, how can I do it?

Thanks.
 
Old 01-22-2004, 11:19 AM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
[QUOTE]Originally posted by ICO
Hi, what is the different between '*' indicator and 'M' indicator when I select things in "make menuconfig"
Which one should I use?
/[quote]

* means that you are compiling it into the kernel
M means that you are not compiling it, but are setting it up later as a Module

It's entirely up to you which one you choose.

Quote:
Also, I think there probably is another problem that I don't have internet access. Do I need to tell the system that I use DHCP to assign IP address to this computer? I just find that there is no DHCP checking during boot up. If I need to set DHCP after recompiling the kernel, how can I do it?

Thanks.
If you want to, you can run netconfig as root which will set up your internet access and ask you about your DHCP and everything. Hope this helps.
 
Old 01-22-2004, 05:37 PM   #5
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 32
Quote:
Originally posted by ICO
Hi, what is the different between '*' indicator and 'M' indicator when I select things in "make menuconfig"
Which one should I use?.
* means that the option is compiled directly into the kernel and will load at boot time. M means it's compiled as a module, which can be inserted into the module later on if need be. I'd used *.
 
Old 01-22-2004, 06:04 PM   #6
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
I try it but doesn't work.
In my old kernel system, when the system boots, I have these messages:

dhcpcd[161]: DHCP_ACK received from XXXX (can't read these characters) (10.0.0.2)

but for the new kernel, I don't have, I think that's why I don't have internet access. And I did choose my network card in menuconfig. And I try netconfig as well.
So what's wrong with that?

Last edited by ICO; 01-22-2004 at 06:10 PM.
 
Old 01-22-2004, 06:12 PM   #7
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Here is the output when I type lspci
Code:
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0648 (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device 0963 (rev 04)
00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
00:03.0 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB 2.0
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 91)
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
It seems I have my network card and sound card, but both of them not working.
 
Old 01-24-2004, 01:02 AM   #8
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
What is the output of lsmod? You need your modules installed for your NIC and your sound card. If they're both installed, then there's other problems at hand.
 
Old 01-26-2004, 05:47 AM   #9
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Texicle
What is the output of lsmod? You need your modules installed for your NIC and your sound card. If they're both installed, then there's other problems at hand.
When I type lsmod, the output is:

Module Size Used by

and nothing else.

Does that mean it is empty?
Then what should I do?

Thanks for help.
 
Old 01-26-2004, 10:57 PM   #10
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Quote:
Originally posted by ICO
When I type lsmod, the output is:

Module Size Used by

and nothing else.

Does that mean it is empty?
Then what should I do?

Thanks for help.
Yeah it looks pretty empty. Okay, what you need to do is check around www.google.com/linux (aka G4L) for your correct module for your sound and NIC. Once you find it, login as root into a terminal or directly at CLI, and type:

modprobe <module name>

for each of them, but without the <>'s and obviously with the proper module name.

Okay, nevermind. I just a did a search and found the modules you should be using. Go into the command line or terminal and login as root:

su -
enter root password

modprobe sis900
modprobe emu10k1


This should get your NIC and your sound card working. If you like, you can take it a step further and run insmod <module name>, but the modprobe should get you started. If after a reboot or something, your sound and NIC aren't working again, try the insmod command and if that doesn't work, let me know. We'll get it to run for you at boot time.
 
Old 01-27-2004, 08:27 PM   #11
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
hi, Texicle
Thank you very much!
modprobe sis900
will get my NIC working, and now I have internet access.
However, I think there must be some other way that make it automatically work at boot time so that I don't need to type this command every time. And I know it is possible you add this command to my bash_profile file. But it seems not the proper way to do so since in my old kernel, I don't need this. So do u know another way that I can make it work at boot time?

Also, after modprobe sis900, and I type lsmod command, the output is:
Module Size Used by
sis900 17476 -
crc32 3648 -

that crc32 thing seems not normal, is it all right?
The sound card works after I recompiling kernel again, so don't worry about the sound card.

Thanks a lot.

Last edited by ICO; 01-27-2004 at 08:35 PM.
 
Old 01-28-2004, 10:19 AM   #12
zigmund555
Member
 
Registered: Sep 2003
Location: Maryland
Distribution: Slackware -current
Posts: 87

Rep: Reputation: 15
You can add it to etc/modules.conf

I think it's alias modulename.o eth0
 
Old 01-28-2004, 07:02 PM   #13
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by zigmund555
You can add it to etc/modules.conf

I think it's alias modulename.o eth0
Hi, can you tell me the operation details please?
I am new to this world, sorry about that.

Thanks
 
Old 01-28-2004, 07:14 PM   #14
mrpdaemon
Member
 
Registered: Jun 2003
Distribution: Slackware 9.1
Posts: 41

Rep: Reputation: 15
in /etc/rc.d/rc.modules, uncomment the line:

#/sbin/modprobe sis900

and it shall load at boot.
 
Old 01-28-2004, 09:42 PM   #15
ICO
Member
 
Registered: Aug 2003
Location: ~/.
Distribution: CentOS
Posts: 290

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by mrpdaemon
in /etc/rc.d/rc.modules, uncomment the line:

#/sbin/modprobe sis900

and it shall load at boot.
This works just like magic!

I love you guys!!!
Heaps of thanks!

And I want to take one step further, problems probably relate to the file /etc/rc.d/rc.modules as well.

When I boot my system, I have some error message indicated FATAL. Most of them are that os tries to detect some device that I don't have on my computer such as scsi device or so.

Can you guys tell me that how I can track back to that startup message since it is just so quick I don't have a chance to write the error message down.
And if I want to prevent it from detecting those devices, should I modify the file /etc/rc.d/rc.modules as well?

Thanks again.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What modprobe module should I load for my netgear nic card? abefroman Linux - Hardware 1 11-25-2005 01:07 PM
network card will not load properly soup Slackware 2 01-04-2004 05:32 PM
Network Card Module wont load. Druaga Linux - Hardware 4 06-05-2003 09:21 AM
which module should I install for this network card??? blas Linux - Networking 3 05-07-2003 11:47 AM
on new network, vid card won't load...? rose_bud4201 Linux - Networking 2 01-21-2003 11:37 AM

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

All times are GMT -5. The time now is 09:55 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