LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-16-2004, 05:26 PM   #1
akay
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Rep: Reputation: 0
cannot activate eth1 using ifup or using ifcfg-eth1


I have two ethernet cards installed on redhat (a version that comes with rocks cluster queueing system). It seems that the kernel thinks that both of the ethernet interfaces are configured, but that only the loopback and eth0 are activated.

[akay@cms akay]$ /sbin/service network status
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth0


When I do /sbin/ifup eth1 it does not give me an error, but it does not activate. Also I get this if I try to get the configuration information about eth1

/sbin/ifconfig eth1
eth1: error fetching interface information: Device not found

I've also tried to activate eth1 with redhat's GUI but it was not successful.

My ifcfg files look like the following

[akay@cms network-scripts]$ more ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
IPADDR=10.1.1.1
NETMASK=255.0.0.0

TYPE=Ethernet

[akay@cms network-scripts]$ more ifcfg-eth1
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes

TYPE=Ethernet
 
Old 12-16-2004, 05:48 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
Are the modules loaded properly, what is the output from /sbin/lspci -v, and /sbin/lsmod?
good luck.
 
Old 12-16-2004, 07:06 PM   #3
akay
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Original Poster
Rep: Reputation: 0
[akay@cms akay]$ /sbin/lspci -v
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 23)
Flags: bus master, medium devsel, latency 32
Memory at d8000000 (32-bit, prefetchable) [size=64M]
Memory at e1101000 (32-bit, prefetchable) [size=4K]
I/O ports at e000 [disabled] [size=4]
Capabilities: <available only to root>

00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, medium devsel, latency 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: dc000000-ddffffff
Prefetchable memory behind bridge: de000000-dfffffff

00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 03) (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 32
I/O ports at f000 [size=16]

00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
Flags: medium devsel

00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 16, IRQ 11
Memory at e1102000 (32-bit, non-prefetchable) [size=4K]

00:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corp. EtherExpress PRO/100+ Management Adapter
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at e1100000 (32-bit, non-prefetchable) [size=4K]
I/O ports at e400 [size=64]
Memory at e1000000 (32-bit, non-prefetchable) [size=1M]
Expansion ROM at e0000000 [disabled] [size=1M]
Capabilities: <available only to root>

01:05.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd. MSI-8808
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 10
Memory at dc000000 (32-bit, non-prefetchable) [size=16M]
Memory at de000000 (32-bit, prefetchable) [size=32M]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: <available only to root>


[akay@cms akay]$ /sbin/lsmod
Module Size Used by Not tainted
nfsd 83056 8 (autoclean)
lockd 57520 1 (autoclean) [nfsd]
sunrpc 81660 1 (autoclean) [nfsd lockd]
autofs4 15704 1 (autoclean)
pvfs 48436 2
audit 89304 3
e100 56144 1
ipt_state 1080 5 (autoclean)
iptable_filter 2412 1 (autoclean)
ipt_MASQUERADE 2360 1 (autoclean)
iptable_nat 21240 1 (autoclean) [ipt_MASQUERADE]
ip_conntrack 26664 2 (autoclean) [ipt_state ipt_MASQUERADE iptable_nat]
ip_tables 15200 6 [ipt_state iptable_filter ipt_MASQUERADE iptable_nat]
ide-scsi 12080 0
scsi_mod 104808 1 [ide-scsi]
ide-cd 33568 0
cdrom 31616 0 [ide-cd]
keybdev 2912 0 (unused)
mousedev 5364 0 (unused)
hid 21764 0 (unused)
input 5760 0 [keybdev mousedev hid]
usb-ohci 20776 0 (unused)
usbcore 76608 1 [hid usb-ohci]
ext3 84616 2
jbd 50188 2 [ext3]
 
Old 12-16-2004, 07:54 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,199

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
I only see one ethernet device being displayed in the output of lspci. What is the make / model of the second NIC?
 
Old 12-16-2004, 11:52 PM   #5
akay
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Original Poster
Rep: Reputation: 0
The ethernet card is a 3Com Fast Etherlink XL PCI. I'm not sure what the model is, but it is compatible with the 3c95x.c driver...
 
Old 12-17-2004, 05:25 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
Is it an isa card, have you tried a pnpdump?
good luck.
 
Old 12-17-2004, 07:04 PM   #7
akay
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Original Poster
Rep: Reputation: 0
The card is a PCI what's a pnpdump?
 
Old 12-20-2004, 06:46 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
Quote:
The card is a PCI what's a pnpdump?
Two part answer, since it's a pci card, have you tried changing the slot that it is in?

For pnpdump info look here.

http://www.roestock.demon.co.uk/isap...pnpdump.8.html

http://linux-sxs.org/housekeeping/pnpdump.html

good luck.
 
Old 12-20-2004, 04:36 PM   #9
akay
LQ Newbie
 
Registered: Nov 2004
Posts: 20

Original Poster
Rep: Reputation: 0
Do you know if there is a good way to test if the interface is bad?
 
Old 12-20-2004, 04:57 PM   #10
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
You could try swapping pci slots, or, if you have another machine handy/available, try it there.
good luck.
 
Old 12-16-2010, 05:10 AM   #11
GajananDon
LQ Newbie
 
Registered: Dec 2010
Location: Hyderabad, Andhra Pradesh, India
Posts: 1

Rep: Reputation: 0
Post Hi Frns.. similar issue faced by me...

[root@-237 ~]# /sbin/service network status
Configured devices:
lo eth0 eth1 eth2
Currently active devices:
lo eth0
[root@-237 ~]#
[root@-237 ~]#
[root@-237 ~]#
[root@-237 ~]#
[root@-237 ~]#
[root@-237 ~]# ifconfig eth1
eth1: error fetching interface information: Device not found ========> problem here
[root@-237 ~]#
[root@-237 ~]#
[root@-237 ~]# ifconfig eth2
eth2: error fetching interface information: Device not found =========> problem here
[root@-237 ~]#
[root@-237 ~]#
[root@-237 ~]# /sbin/lspci -v
00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 10)
Subsystem: Intel Corporation DRAM Controller
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Integrated Graphics Controller (rev 10) (prog-if 00 [VGA])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at fdf00000 (32-bit, non-prefetchable) [size=512K]
I/O ports at ff00 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at fda00000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, fast devsel, latency 0, IRQ 169
Memory at fdff8000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fde00000-fdefffff
Prefetchable memory behind bridge: 00000000fdd00000-00000000fdd00000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000e000-0000efff
Memory behind bridge: fdc00000-fdcfffff
Prefetchable memory behind bridge: 00000000fdb00000-00000000fdb00000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0, IRQ 185
I/O ports at fe00 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0, IRQ 193
I/O ports at fd00 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0, IRQ 201
I/O ports at fc00 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0, IRQ 169
I/O ports at fb00 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0, IRQ 185
Memory at fdfff000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=32
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: fd700000-fd9fffff
Prefetchable memory behind bridge: 00000000fd600000-00000000fd600000
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, medium devsel, latency 0, IRQ 201
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at fa00 [size=16]

00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) (prog-if 8f [Master SecP SecO PriP PriO])
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: bus master, 66Mhz, medium devsel, latency 0, IRQ 193
I/O ports at f900 [size=8]
I/O ports at f800 [size=4]
I/O ports at f700 [size=8]
I/O ports at f600 [size=4]
I/O ports at f500 [size=16]
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
Subsystem: Foxconn International, Inc.: Unknown device 0df7
Flags: medium devsel, IRQ 193
I/O ports at 0500 [size=32]

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
Subsystem: Foxconn International, Inc.: Unknown device 0d47
Flags: bus master, fast devsel, latency 0, IRQ 177
I/O ports at ee00 [size=256]
Memory at fdbff000 (64-bit, prefetchable) [size=4K]
Memory at fdbf8000 (64-bit, prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Endpoint IRQ 1
Capabilities: [ac] MSI-X: Enable- Mask- TabSize=4
Capabilities: [cc] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-e0-4c-68-00-00-00-c3

03:01.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
Subsystem: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
Flags: 66Mhz, medium devsel, IRQ 201
Memory at fd9a0000 (64-bit, non-prefetchable) [size=128K]
Memory at fd9d0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at df00 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

03:01.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
Subsystem: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper)
Flags: 66Mhz, medium devsel, IRQ 201
Memory at fd980000 (64-bit, non-prefetchable) [size=128K]
Memory at fd9e0000 (64-bit, non-prefetchable) [size=64K]
I/O ports at de00 [size=64]
Capabilities: [dc] Power Management version 2
Capabilities: [e4] PCI-X non-bridge device.
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

03:02.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 08)
Subsystem: Intel Corporation EtherExpress PRO/100+ Management Adapter with Alert On LAN*
Flags: bus master, medium devsel, latency 64, IRQ 177
Memory at fd9ff000 (32-bit, non-prefetchable) [size=4K]
I/O ports at dd00 [size=64]
Memory at fd800000 (32-bit, non-prefetchable) [size=1M]
Capabilities: [dc] Power Management version 2

[root@-237 ~]# /sbin/lsmod
Module Size Used by
parport_pc 28033 1
lp 15661 0
parport 38025 2 parport_pc,lp
autofs4 25285 0
i2c_dev 14529 0
i2c_core 26049 1 i2c_dev
sunrpc 143909 1
md5 8129 1
ipv6 243425 12
dm_mirror 31428 0
dm_multipath 22985 0
dm_mod 65001 2 dm_mirror,dm_multipath
button 10705 0
battery 12997 0
ac 8901 0
shpchp 85061 0
snd_azx 21841 0
snd_hda_codec 126529 1 snd_azx
snd_pcm_oss 52729 0
snd_mixer_oss 21953 1 snd_pcm_oss
snd_pcm 92357 3 snd_azx,snd_hda_codec,snd_pcm_oss
snd_timer 28229 1 snd_pcm
snd 57509 6 snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 13089 1 snd
snd_page_alloc 13897 2 snd_azx,snd_pcm
e1000 119633 0
eepro100 32717 0
e100 36677 0
mii 9281 2 eepro100,e100
floppy 58193 0
ext3 119753 7
jbd 59993 1 ext3
usb_storage 62729 0
uhci_hcd 33241 0
ohci_hcd 24273 0
ehci_hcd 32325 0
ata_piix 19141 7
libata 106141 1 ata_piix
sd_mod 20801 9
scsi_mod 120397 3 usb_storage,libata,sd_mod
[root@-237 ~]#


plz help.
Thanks in advance
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 03:25 PM
ifup eth1 gives error but successfully ups and works why? cranium2004 Linux - Networking 2 04-06-2005 06:49 AM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Must run /sbin/ifup eth1 everytime I boot Reo5th Linux - Networking 2 02-27-2004 10:29 AM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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