Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Howto Install SIS900 pci onboard ethernet driver (solved)

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
Anthony_winters
n00b
n00b
Posts: 7
Joined: Mon Aug 09, 2004 2:27 pm
Location: Netherlands

Howto Install SIS900 pci onboard ethernet driver (solved)

  • Quote

Post by Anthony_winters » Thu Aug 12, 2004 10:25 am

HI folks,


(using kernel-2-4.26-gentoo-r8)

I have the following problem I`ve installed gentoo on my laptop with a livecd everything had gone right but now my kernel is configured, I`m not able anymore to use my onboard ethernet card (sis900 pci onboard)

I don`t know howto install the ethernet card I`v loaded the drivers into the kernel when I configured the kernel but it`s not working, when I tried to use IFCONFIG it says the following thing

Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
etcetra

Also I can't install DEVFS there`s is no option in my kernel to put this module into it.

Greets Anthony
The Netherlands
Last edited by Anthony_winters on Fri Aug 13, 2004 3:00 pm, edited 1 time in total.
Top
Urbanus
n00b
n00b
User avatar
Posts: 52
Joined: Sun Apr 18, 2004 5:33 pm

  • Quote

Post by Urbanus » Thu Aug 12, 2004 11:15 am

What happens if you enter

Code: Select all

ifconfig eth0 192.168.0.1
as root? Did you take a look at dmesg if the chip is recognized?
I am using a 2.6.7 kernel with a Sis900 lan chip without any problems
Top
Tun
n00b
n00b
Posts: 58
Joined: Mon Jan 19, 2004 11:13 pm
Location: Stockport, England
Contact:
Contact Tun
Website

  • Quote

Post by Tun » Thu Aug 12, 2004 11:18 am

I'm not near a gentoo box at present, so this is from memory (and is possible inaccurate)

devfs is in 2.6, but it's marked as obsolete. Have look in File systems then Pseudo filesystems.

When you say loaded the drivers, do you mean built into the kernel (*) or as a module (M) ? If it's a module, is it getting loaded ? (try lsmod)

Is the network card being recognised ? (lspci should list it)
Top
Anthony_winters
n00b
n00b
Posts: 7
Joined: Mon Aug 09, 2004 2:27 pm
Location: Netherlands

  • Quote

Post by Anthony_winters » Thu Aug 12, 2004 1:23 pm

if I do this
Urbanus wrote:What happens if you enter

Code: Select all

ifconfig eth0 192.168.0.1
as root? Did you take a look at dmesg if the chip is recognized?
I am using a 2.6.7 kernel with a Sis900 lan chip without any problems
I`ll get the following

tux root #ifconfig eth0 192.168.0.1
SIOCSISADDR: No such Device
eth0: unknown interface: no such device

The error that I recieve is very logical! because my ethernetcard is not yet installed.

--------------------------------------------------------------------------------------------------------
Tun wrote:I'm not near a gentoo box at present, so this is from memory (and is possible inaccurate)

devfs is in 2.6, but it's marked as obsolete. Have look in File systems then Pseudo filesystems.

When you say loaded the drivers, do you mean built into the kernel (*) or as a module (M) ? If it's a module, is it getting loaded ? (try lsmod)

Is the network card being recognised ? (lspci should list it)
I`ve configured the driver in the kernel as module, this doesn`t work I tried also to configure the driver as built into the kernel, this giving also problems, I tried the command lsmod normally you see what modules are configured into the kernel, if I type the command the driver table appears but no kernel module isn`t installed so the table is empty.

Also I tried the command lspci this is command is not recognize.
If someone have a good idea then it`s very welcome :-)

Thank you for the fast reply`s

Greetzz Anthony
Top
Tun
n00b
n00b
Posts: 58
Joined: Mon Jan 19, 2004 11:13 pm
Location: Stockport, England
Contact:
Contact Tun
Website

  • Quote

Post by Tun » Thu Aug 12, 2004 2:01 pm

I wish I knew more about how Gentoo works.

Did you get devfs working ? This could be at the root of everything, have you got any other pci devices that work ?

If it's not devfs related. I'd compile sis900 support directly into the kernel. You can get modules working later if you wish.

Then get lspci working. Did you try lspci as root? emerge pciutils might do it. You use the tool to tell you what devices are connected to the pci bus.

If you have support compiled in and lspci shows the device then I'd examine dmesg and /var/log/messages looking for any related messages, notably IRQ conflicts.

Let us know how it goes.
Top
Anthony_winters
n00b
n00b
Posts: 7
Joined: Mon Aug 09, 2004 2:27 pm
Location: Netherlands

  • Quote

Post by Anthony_winters » Thu Aug 12, 2004 2:01 pm

Hi again,

I`ve tried the command modprobe sis900 and this is the result ;


tux root # modprobe sis900
/lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/sis900.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/sis900.o: insmod /lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/sis900.o failed
/lib/modules/2.4.26-gentoo-r8/kernel/drivers/net/sis900.o: indmod sis900 failed

If I take a good look at this error then I see that the kernel is trying to use drivers of this kernel 2.4.26-gentoo-r8 this is not the kernel that I`m using the kernel that I`m using is 2-4.26-gentoo-r8, so mine conclusion is that somewhere in my configuratie is a spelling error, but can someone tell me where?

greetzz anthony
Top
Urbanus
n00b
n00b
User avatar
Posts: 52
Joined: Sun Apr 18, 2004 5:33 pm

  • Quote

Post by Urbanus » Thu Aug 12, 2004 2:05 pm

Anthony_winters wrote:Also I tried the command lspci this is command is not recognize.
If someone have a good idea then it`s very welcome :-)
OK, for lspci to work you have to emerge pciutils. For the card problem: you are sure that it is a Sis 900 chip? Notebooks often have the chip from Realtek built in (rtl8139) I guess. So first step is to emerge pciutils, run lspci and see if there is the Sis chip detected (should be). Here on my work box (with gentoo) lspci gives the following:

Code: Select all

bash-2.05b# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8605 [ProSavage PM133] (rev 81)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8605 [PM133 AGP]
0000:00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 22)
0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10)
0000:00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 10)
0000:00:04.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 30)
0000:00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:10.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
As you see I have a Realtek card built in :)
Top
Urbanus
n00b
n00b
User avatar
Posts: 52
Joined: Sun Apr 18, 2004 5:33 pm

  • Quote

Post by Urbanus » Thu Aug 12, 2004 2:08 pm

Anthony_winters wrote: If I take a good look at this error then I see that the kernel is trying to use drivers of this kernel 2.4.26-gentoo-r8 this is not the kernel that I`m using the kernel that I`m using is 2-4.26-gentoo-r8, so mine conclusion is that somewhere in my configuratie is a spelling error, but can someone tell me where?
Try

Code: Select all

uname -a
and you will see your kernel version. NB: If you use grub and copied the kernel to /boot/2-4.26-gentoo-r8 that does not matter. Important is the output of the uname command. For me this gives

Code: Select all

bash-2.05b# uname -a
Linux mentha 2.6.7 #1 Thu Jul 29 14:01:52 CEST 2004 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Top
Anthony_winters
n00b
n00b
Posts: 7
Joined: Mon Aug 09, 2004 2:27 pm
Location: Netherlands

  • Quote

Post by Anthony_winters » Thu Aug 12, 2004 2:21 pm

I`ve tried emerge pciutils, but with no network connection I can`t try this because it isn`t installed so linux is trying to download it, With other words I can`f use emerge anymore without installing my ethernetcard

the result of uname -a is:

tux root # uname -a
Linux tux 2.4.26-gentoo-r8 #1 Tue Aug 10 20:17:24 UTC 2004 i686 mobile AMD Athlon(tm) 4 AuthenticAMD GNU/Linux

I can tell you that I`m sure about the chipset on the ethernetcard it is a sis900 chip.
Top
Urbanus
n00b
n00b
User avatar
Posts: 52
Joined: Sun Apr 18, 2004 5:33 pm

  • Quote

Post by Urbanus » Thu Aug 12, 2004 3:06 pm

If you own a USB stick you could do a emerge -f pciutils from your second pc and then copy the files to the stick and to your laptop (to /usr/portage/distfile). So you could emerge pciutils without a network connection.
Could you mail me your kernel config via PM? Maybe I find something which is wrong...
Top
Corpse2
n00b
n00b
User avatar
Posts: 60
Joined: Wed Jan 14, 2004 5:03 pm

  • Quote

Post by Corpse2 » Thu Aug 12, 2004 3:07 pm

and if you compile it in the kernel, not as module?
What does dmesg say about your eth0?
Top
Anthony_winters
n00b
n00b
Posts: 7
Joined: Mon Aug 09, 2004 2:27 pm
Location: Netherlands

  • Quote

Post by Anthony_winters » Fri Aug 13, 2004 3:00 pm

Hi folks,

The problem with my ethernetcard is solved.

I did the following thing, I booted from my gentoo livecd, after the system was booted I typ the command lspci, the list of hardware appears, then I saw that my ethernetcard was detected as amd ........ pcnet32.

I rebooted my system, after that I reconfigure my kernel with the pcnet32 driver as module, after that, I was going to the map were the module was put in, than I did activate it with modprobe pcnet32, Ans gues what, there was my ethernetcard.

I have deleted netmount, I`ve read somewhere that is was not needed.

Thank you for the fast support to help me find the problem.

Anthony
Top
Post Reply

12 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic