LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multiple NIC Cards (https://www.linuxquestions.org/questions/linux-newbie-8/multiple-nic-cards-848595/)

divyashree 12-06-2010 01:12 AM

Multiple NIC Cards
 
I have 3 NIC . lspci shows the three different models of NIC connected as

Code:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:00.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 8b)
03:01.0 Ethernet controller: Hangzhou Silan Microelectronics Co., Ltd. SC92031 PCI Fast Ethernet Adapter (rev 01)

but the third interface is not detecting by ifconfig, it only shows eth0 and eth1 and not showing eth2 ?

markush 12-06-2010 01:39 AM

Hello divyashree,

did you check if the module for the device is loaded?
You may as well execute
Code:

lspci -v
which is more verbose and look at the end of the section for this nic where the module/s should be shown.

Markus

divyashree 12-06-2010 07:19 AM

Quote:

Originally Posted by markush (Post 4181954)
Hello divyashree,

did you check if the module for the device is loaded?
You may as well execute
Code:

lspci -v
which is more verbose and look at the end of the section for this nic where the module/s should be shown.

Markus

I have changed my third NIC, still same problem,
this is lspci -vv

PHP Code:

02:00.0 Ethernet controllerRealtek Semiconductor Co., LtdRTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
        
SubsystemGiga-byte Technology GA-EP45-DS5 Motherboard
        Control
I/OMemBusMasterSpecCycleMemWINVVGASnoopParErrSteppingSERRFastB2B-
        
StatusCap66MHzUDFFastB2BParErrDEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        
Latency0Cache Line Size32 bytes
        Interrupt
pin A routed to IRQ 58
        Region 0
I/O ports at c000 [size=256]
        
Region 2Memory at e3010000 (64-bitprefetchable) [size=4K]
        
Region 4Memory at e3000000 (64-bitprefetchable) [size=64K]
        [
virtualExpansion ROM at e3020000 [disabled] [size=64K]
        
Capabilities: [40Power Management version 3
                Flags
PMEClkDSID1D2AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                
StatusD0 PME-EnableDSel=0 DScale=0 PME-
        
Capabilities: [50Message Signalled Interrupts64bitQueue=0/1 Enable+
                
Address00000000fee00000  Data403a
        Capabilities
: [70Express Endpoint IRQ 1
                Device
SupportedMaxPayload 256 bytesPhantFunc 0ExtTag-
                
DeviceLatency L0s <512nsL1 <8us
                Device
AtnBtnAtnIndPwrInd-
                
DeviceErrorsCorrectableNon-FatalFatalUnsupported-
                
DeviceRlxdOrdExtTagPhantFuncAuxPwrNoSnoop-
                
DeviceMaxPayload 128 bytesMaxReadReq 4096 bytes
                Link
Supported Speed 2.5Gb/sWidth x1ASPM L0s L1Port 0
                Link
Latency L0s <512nsL1 <64us
                Link
ASPM Disabled RCB 64 bytes CommClkExtSynch-
                
LinkSpeed 2.5Gb/sWidth x1
        Capabilities
: [b0MSI-XEnableMaskTabSize=2
                Vector table
BAR=4 offset=00000000
                PBA
BAR=4 offset=00000800
        Capabilities
: [d0Vital Product Data
        Capabilities
: [100Advanced Error Reporting
        Capabilities
: [140Virtual Channel
        Capabilities
: [160Device Serial Number 78-56-34-12-78-56-34-12

03
:00.0 Ethernet controllerVIA TechnologiesIncVT6105/VT6106S [Rhine-III] (rev 8b)
        
SubsystemD-Link System Inc Unknown device 1405
        Control
I/OMemBusMasterSpecCycleMemWINVVGASnoopParErrSteppingSERRFastB2B-
        
StatusCap66MHzUDFFastB2BParErrDEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        
Latency64 (750ns min2000ns max), Cache Line Size32 bytes
        Interrupt
pin A routed to IRQ 233
        Region 0
I/O ports at d000 [size=256]
        
Region 1Memory at e2001000 (32-bitnon-prefetchable) [size=256]
        
Capabilities: [44Power Management version 2
                Flags
PMEClkDSID1D2AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
                
StatusD0 PME-EnableDSel=0 DScale=0 PME-

03:01.0 Ethernet controllerHangzhou Silan Microelectronics Co., LtdSC92031 PCI Fast Ethernet Adapter (rev 01)
        
ControlI/OMemBusMasterSpecCycleMemWINVVGASnoopParErrSteppingSERRFastB2B-
        
StatusCap66MHzUDFFastB2BParErrDEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        
Latency64 (5000ns min10000ns max)
        
Interruptpin A routed to IRQ 11
        Region 0
Memory at e2000000 (32-bitnon-prefetchable) [size=256]
        
Region 1I/O ports at d100 [size=256]
        [
virtualExpansion ROM at 80000000 [disabled] [size=128K]
        
Capabilities: [50Power Management version 2
                Flags
PMEClkDSID1D2AuxCurrent=375mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
                
StatusD0 PME-EnableDSel=0 DScale=0 PME-
        
Capabilities: [60Vital Product Data 


It's showing the three NICs but while ifup eth2 ,its saying device not seeme to be present,delaying intialization.

markush 12-06-2010 08:57 AM

Well, if the device is not present in the output of ifconfig it means that there is a driver missing.
The driver is already in the kernelsources and the modulename is sc92031, you may try
Code:

modprobe sc92031
if this doesn't work, you'll have to rebuild your kernel.

Markus

divyashree 12-06-2010 10:27 AM

Quote:

Originally Posted by markush (Post 4182246)
Well, if the device is not present in the output of ifconfig it means that there is a driver missing.
The driver is already in the kernelsources and the modulename is sc92031, you may try
Code:

modprobe sc92031
if this doesn't work, you'll have to rebuild your kernel.

Markus

I already compilled and insert the module of sc92031, but in ifconfig -a , a _tmp interface is showing and not showing as eth2.


All times are GMT -5. The time now is 12:57 PM.