LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2005, 09:47 AM   #1
3-1415
LQ Newbie
 
Registered: Jul 2004
Location: Kyiv
Distribution: Mandrake, ASP, Slackware, W2k
Posts: 19

Rep: Reputation: 0
Angry setting up sis900 netcard under Slackware 10.1


Hi all!

Help! I have a problem with my sis900 ethernet card.
OS Slackware 10.1, kernel - 10.4

#lsmod|grep sis900
output:
sis900 12780 0 (autoclean)
crc32 2880 0 [sis900]

#ifconfig
output: I can see only loopback interface
-------------------------------------------------------------------
#ifconfig -a
output:
eth0 Link encap:Ethernet HWaddr 00:11:2F:4B:C3:05
inet addr:10.2.12.123 Bcast:10.2.12.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Base address:0x8800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:352 errors:0 dropped:0 overruns:0 frame:0
TX packets:352 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24241 (23.6 Kb) TX bytes:24241 (23.6 Kb)
-------------------------------------------------------------------
#ifconfig eth0 10.2.12.123
output:
SIOCSIFFLAGS: Device or resource busy (but ipaddress changes as if everything is Ok)
#ifconfig eth0 up
output:
SIOCSIFFLAGS: Device or resource busy
#ping 10.2.12.123 - Ok
#ping 10.2.12.xxx
- "network is unreachable"
----------------------------------------
#lspci -vv
output:
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
Subsystem: Asustek Computer, Inc.: Unknown device 80a7
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (13000ns min, 2750ns max)
Interrupt: pin A routed to IRQ 0
Region 0: I/O ports at 8800 [size=256]
Region 1: Memory at e5800000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at effe0000 [disabled] [size=128K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
-----------------------------------------
I can load/unload module without problems:
insmod sis900/rmmod sis900

What's going on?
Thanks
 
Old 03-09-2005, 05:40 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
What is the topology of the network? Do you use static ip's or dhcp? Are you running any firewalls on any of the machines?
good luck.
 
Old 03-10-2005, 06:59 AM   #3
3-1415
LQ Newbie
 
Registered: Jul 2004
Location: Kyiv
Distribution: Mandrake, ASP, Slackware, W2k
Posts: 19

Original Poster
Rep: Reputation: 0
I use static IP's. Simply Ethernet network (5 PC's and hub) without firewalls etc.
Under W2k everything is Ok, so something wrong with my Linux configuration.
 
Old 03-10-2005, 09:13 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
I'm not sure why the module isn't loading, either you have hotplug disabled and it's not listed in modules.conf or it's blacklisted in hotplug.

Anyhow, if you can't ping other computers on the LAN it's possible they are subnetted and you need to specify that when you set the IP or broadcasts may not work right:
root@deathstar~# ifconfig eth0 10.2.12.123 netmask 255.255.255.0 broadcast 10.2.12.255

Edit: OK I just realized that your ifconfig shows this subnet mask and broadcast address, are the other computers set the same way? Since 10.2.12.123 is 'class A' if you don't specify the netmask it defaults to 255.0.0.0 (in windows as well as Linux.)

Last edited by Darin; 03-10-2005 at 09:16 AM.
 
Old 03-10-2005, 09:30 AM   #5
3-1415
LQ Newbie
 
Registered: Jul 2004
Location: Kyiv
Distribution: Mandrake, ASP, Slackware, W2k
Posts: 19

Original Poster
Rep: Reputation: 0
...ip and mask (10.2.12.123/24) configured properly

Is there anybody know something about the error:
SIOCSIFFLAGS: Device or resource busy
means?
Why I can see eth0 only with "-a" parameter and nothing happens after #ifconfig eth0 up
 
Old 03-10-2005, 05:10 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Do you have plug n play os enabled in your bios? If so try turning it off, or disabling it.


http://www.thelinuxpimp.com/main/mod...rticle&sid=562

good luck.
 
Old 03-14-2005, 06:11 AM   #7
3-1415
LQ Newbie
 
Registered: Jul 2004
Location: Kyiv
Distribution: Mandrake, ASP, Slackware, W2k
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks Peacedog a lot! Everything is ok now!! As far as I undestand the problem is in driver. Is there any way to set up sis900 without turning off the Plug&Play OS setting?
 
Old 03-21-2005, 11:14 AM   #8
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Your welcome, glad you got it sorted.

Quote:
Is there any way to set up sis900 without turning off the Plug&Play OS setting?
There may be, some googling may produce something.
good luck.
 
  


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
IRQ netcard rafaelspotto Linux - Networking 1 08-27-2003 02:42 PM
netcard deactivates itself elever Linux - Networking 0 08-12-2003 06:31 AM
tulip and netcard dai Linux - Networking 2 02-19-2003 12:41 PM
netcard setup c0c0deuz Linux - Software 5 08-26-2001 02:13 PM
how to setup my NetCard shierly Linux - Software 3 02-25-2001 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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