LinuxQuestions.org
Visit Jeremy's Blog.
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 11-25-2006, 07:19 AM   #1
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Ethernet not working on Acer Aspire 5004 with SIS 900 based NIC


Hey,
After successfully installing Slack on my desktop I went and tried to install Slack 11 on my friends laptop. I used the default kernel. After installing the LAN was working fine, with ifconfig and dhcp correctly working and showing correct ip. I could even browse the intranet sites as well as the internet. But the display was screwed up (1024x768 max). I thought that before doing anything should upgrade to newer kernel cos it generally solves a lot of the problems.

So I installed the 2.6.18 packages from /testing directory of DVD. (using pkgtool).

Sure enuf after that the display started working but the (ethernet) LAN stopped working. The LAN is working just fine when I restart and test it on WinXP.

This is the first time I hrd of something not workin on upgrading kernel. Could anyone please tell me whats the problem?
 
Old 11-25-2006, 08:25 AM   #2
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
Maybe the kernel driver isn't loaded for your NIC. What does lspci say about your NIC? I find it somewhat odd that upgrading a kernel fixed a X11 problem.huh, odd things happen all the time I guess.
 
Old 11-25-2006, 10:08 AM   #3
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
lspci gives:

Quote:
00:40.0 Ethernet Controller SIS 900 PCI Fast ethernet Rev. 91
 
Old 11-26-2006, 07:26 AM   #4
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
OK, after looking at all possible kernel ethernet modules I have found you need the module "sis900". Type
Code:
modinfo sis900
. If that returns that you have the module built then you can modprobe it with
Code:
modprobe sis900
. Check your kernel config file(you rolling your own?) and see if that is enabled.
 
Old 11-27-2006, 04:28 AM   #5
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
I am not rolling my own cos I have recompiled my kernel only once... What I did was install the generic kernel 2.6.18 available in the Slack 11 DVD testing directory.

After doing modinfo sis900 it gave where the file is and full name of Module, authors etc.. I guess that shows sis900 module is there.

after doing modprobe sis900 , ifconfig shows my card.
Then I do :
dhcpcd
to get my ip but no ip get configured,
Doing
ifconfig
after that shows only the local loopback address 127.0.0.1


BTW, Sorry for the late reply, I was sick

Last edited by duryodhan; 11-27-2006 at 04:59 AM.
 
Old 11-27-2006, 02:07 PM   #6
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
OK, modprobe the module
Code:
modprobe sis900
then send the interface up
Code:
ifconfig eth0 up
then apply dhcpcd to that interface
Code:
dhcpcd eth0
EDIT: Don't worry about not posting on this thread for awhile. I haven't checked it till now anyways.

Last edited by Samoth; 11-27-2006 at 02:30 PM.
 
Old 11-28-2006, 12:56 AM   #7
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
that is exactly what I have been doing. See my previous post.

if I do
Quote:
dhcpcd eth0
processing takes place for some time and after that when I get my promp back, if I do

Quote:
ifconfig
then output is only
Quote:
lo 127.0.0.1
eth0 is not there.

Another thing, during booting the comp is stuck on IRQ#3 for quite some time.
And after booting I keep getting msgs .. like disabling IRQ #3 from kernel.

what does that mean?

IRQ3 seems to stand for COM2 or COM4 (wikipedia).

Last edited by duryodhan; 11-28-2006 at 12:58 AM.
 
Old 11-28-2006, 07:09 AM   #8
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
Yes, but do you do
Code:
ifconfig eth0 up
? In other words, in order to apply dhcpcd to an interface, it has to be up.

What does "ifconfig" say immediately after loading the sis900 module?

Possibly, your IRQs are all messed up. Usually you can set that sort of stuff up in the BIOS, but you can also give linux the kernel option "noirqpoll".

Also, these cards seem to have other problems:
http://www.linuxquestions.org/questi...d.php?t=309805
http://www.linuxquestions.org/questi...d.php?t=232877
 
Old 11-28-2006, 07:26 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by Samoth
Yes, but do you do
Code:
ifconfig eth0 up
? In other words, in order to apply dhcpcd to an interface, it has to be up.

What does "ifconfig" say immediately after loading the sis900 module?

Possibly, your IRQs are all messed up. Usually you can set that sort of stuff up in the BIOS, but you can also give linux the kernel option "noirqpoll".

Also, these cards seem to have other problems:
http://www.linuxquestions.org/questi...d.php?t=309805
http://www.linuxquestions.org/questi...d.php?t=232877
Hi,

If you just issue the 'ifconfig' command without options then only active devices are displayed. From 'man ifconfig';

Code:
 If no arguments are given, ifconfig displays the  status  of  the  cur-
       rently  active interfaces.  If a single interface argument is given, it
       displays the status of the given interface only; if a single  -a  argu-
       ment  is  given,  it  displays the status of all interfaces, even those
       that are down.  Otherwise, it configures an interface.
So to show all devices then add the '-a' option to show all interfaces.

Edit: to OP, issue the 'ifconfig -a' and post the output. Also issue the 'lspci -vv' and post relative information. Meaning un-edited, to allow diagnosis.

Last edited by onebuck; 11-28-2006 at 07:29 AM.
 
Old 11-28-2006, 07:27 AM   #10
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
yeah I do that.
immediately after loading the module,
ifconfig gives the name of the card, HW address, inet6 address. Basically everything except an ip address. TX|RX bytes are zero ofcourse.
 
Old 11-28-2006, 07:35 AM   #11
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Also , the card worked in 2.4 kernel. and as given ,in the other thread the PCI id has changed from 2.6.5. I am using 2.6.18. So there shouldn't be any problems.
 
Old 11-28-2006, 07:38 AM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by duryodhan
yeah I do that.
immediately after loading the module,
ifconfig gives the name of the card, HW address, inet6 address. Basically everything except an ip address. TX|RX bytes are zero ofcourse.
Hi,

My crystal ball is cracked and looking over your shoulder, everything is blurry! Post the output!

Really, you need to provide the output to allow good diagnosis.

If you do see the eth device then possibly you are not getting a IP.

Try to issue a static IP;
Code:
#ifconfig eth0 192.168.0.12      # choose IP for your network
#ifconfig eth0 up
#route -n                        #make sure your route is correct
If you don't want to issue from the cli then edit /etc/rc.d/rc.inet1.conf and restart the network.

Shooting in the air here!
 
Old 11-28-2006, 07:45 AM   #13
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Also , the card worked in 2.4 kernel. and as given ,in the other thread the PCI id has changed from 2.6.5. I am using 2.6.18. So there shouldn't be any problems.
 
Old 11-28-2006, 07:48 AM   #14
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Yeah I know I am sorry about that ...

But the thing is the comp with the prob is not on any network, I dont have any usb sticks lying around, how can I give you the output of each and every command?

Anyways ifconfig for my comp ( the one which is workingthru which I am chattin with you on forum ) gives
Quote:

eth0 Link encap:Ethernet HWaddr 00:118:3D:10:6A
inet addr:172.16.&&.&& Bcast:172.16.16.255 Mask:255.255.255.0
inet6 addr: fe80::211:d8ff:fe3d:106a/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:84511 errors:0 dropped:0 overruns:0 frame:0
TX packets:52905 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42532070 (40.5 MiB) TX bytes:11128549 (10.6 MiB)
Interrupt:10
The not working one has similar output .. only the inet addr is not there. And the RX and TX fields are empty.
 
Old 11-28-2006, 08:01 AM   #15
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by duryodhan
Also , the card worked in 2.4 kernel. and as given ,in the other thread the PCI id has changed from 2.6.5. I am using 2.6.18. So there shouldn't be any problems.
Hi,

Your assumptions are not correct! The environment has changed!
Yes, problems have been created. You will need to diagnose with the current setup without reference to the old.

I would use the tools available to diagnose;

Code:
#lsmod                            #see what modules are loaded
#lspci -vv                        #devices, irq,memory etc.
#ifconfig -a                      #look at all network devices
#ifconfig eth0 192.168.0.12       #setup static IP
#ifconfig eth0 up                 #eth0 UP
#route -n                         #confirm route
#route add default gw 192.168.0.1 #set gateway
#ping 192.168.0.1                 #confirm 
#ping 64.233.167.99               #ping google.com static
#ping google.com                  #check DNS
This should get you network access. Once you confirm the device and network are functional then just change to 'DHCP'.

The 'lsmod' will allow you to see what modules are loaded and what modules are used.

The 'lspci -vv' will get you a very verbose output that can give you information for the devices.

The 'ifconfig -a' gives all devices that the kernel is aware of.

The 'ifconfig eth0 192.168.0.12' sets a static IP address for the eth0 device.

The 'ifconfig eth0 up' brings the device active.

The 'route -n' presents the current route.

The 'route add default gw 192.168.0.1' is issued to setup a default gateway for the device. You could issue another 'route -a' to confirm.

The 'ping 192.168.0.1' is issued to confirm the access.

The 'ping 64.233.167.99' is pinging the IP for 'google.com'.

The 'ping google.com' is used to check the DNS.

Don't take offense at the detailed post. It is for future user's not just you.

Edit: grammar

Last edited by onebuck; 11-28-2006 at 08:04 AM.
 
  


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
Trouble in Installing Redhat Linux Enterprise Server 4 AS on Acer Aspire 5004 Laptop sridhar2000 Linux - Laptop and Netbook 1 10-24-2006 04:38 PM
ethernet card SiS 900-Based PCI Fast Ethernet Adapter Not Detected pathan_azhar Linux - Networking 0 08-13-2006 04:15 AM
SiS 900 Fast Ethernet NIC jimbrook Linux - Networking 1 08-14-2005 07:16 AM
Sis 900 Ethernet card with Linux FC2 not working mfr100 Linux - Hardware 4 01-19-2005 08:35 AM

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

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