LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   about setting my dual netcards (https://www.linuxquestions.org/questions/linux-hardware-18/about-setting-my-dual-netcards-314566/)

Rex_chaos 04-18-2005 01:12 PM

about setting my dual netcards
 
Hi all,
I am looking for someone to help me figure out the problem of installing two netcards in my system. Please don't blame me first, in fact, I have searched and read the similar posts in this forum but couldn't find the solution at last.

I am working with a very old server(HP5183-2112 A-63, with ISA slots) which was successfully installed redhat 9. Initially, only one netcard(VIA VT860100A rhine-II PCI) was working in the system, everything is fine. However, now I would like to install another netcard(Realtex RTL-8029) but it fails to boot up both devices

SIOCSIFFLAGS: Device or resource busy
Failed to bring up eth0

SIOCSIFFLAGS: Device or resource busy
Failed to bring up eth1

In the previous posts of the similiar questions, some people suggest to turn off PNP in bios or turn off Kuduz. Unfortunately, I found the bios doesn't support switching of PNP. I also tried to turn off kuduz but still no good. Some one said they need the following information for the problem.

1) $ cat /proc/interrupts
Code:

        CPU0
0:    35500        XT-PCI      timer
1:    107            XT-PCI      keyboard
2:    0                XT-PCI      cascade
8:    1                XT-PCI      rtc
12:  30              XT-PCI      ps/2
14:  5258          XT-PCI      ide0
NMI  0
ERR: 0

2) $ cat /etc/modules.conf

Code:

  alias eth1 ne2k-pci
  options via-rhine irq=11
  options ne2k-pci irq=10
  alias eth0 via-rhine

3) $ lsmod

Code:

  Module      Size        used by      Not tainted
  ne2k-pci    7232        0
  8390          8505        0                [ne2k-pci]
  via-rhine    15856      0               
  mii              3926        0                [via-rhine]

4) $ dmesg | grep eth[01]

Code:

divert: allocating divert_blk for eth0
eth0:  VIA VT86c100a rhine at 0xfc80 01:50:00:00:01:9a  IRQ0
eth0: MII PHY found at address 9, status 0x782d advertising 0xe1 link 41e1

divert: allocating divert_blk for  eth1
eth1: realtex RTL_8029 found at 0xfc60, IRQ0 00:41:01:64:dd:68

5) $ cat /etc/sysconfig/network_scripts/ifcfg_eth0

Code:

  DEVICE = eth0
  ONBOOT = yes
  BOOTPROTO = none
  IPADDR = 192.168.10.11
  NETMASK = 255.255.255.0
  GATEWAY = 192.168.10.1
  TYPE = Ethernet
  USECTL = no
  PEERDNS = n0
  NETWORK = 192.168.10.0
  BROADCAST = 192.168.10.127

$ cat /etc/sysconfig/network_scripts/ifcfg_eth0
Code:

  DEVICE = eth1
  ONBOOT = yes
  BOOTPROTO = static
  IPADDR = 192.168.10.12
  NETMASK = 255.255.255.0
  GATEWAY = 192.168.10.1


Linux.tar.gz 04-18-2005 11:07 PM

It's only a little suggestion: I know you can pass parameters to lilo. Perhaps you should look that way...


All times are GMT -5. The time now is 03:03 AM.