You are not logged in.

#1 2007-06-18 14:47:44

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

e100 eepro100 help

I've downloaded and burned Archlinux-i686-2007.05-Duke.ftp.iso. I did the FTP install , installed only base packages. Everything looked OK.
When I looked with more attention, i noticed the following message

/etc/rc.conf: line 61: eth0: comand not found

I've run

lshwd | grep Ethernet

and I've got

02:08.0 Ethernet controller: Intel Corp.|EtherExpress PRO/100 (eepro100)

I've run

lsmod | grep eepro100

and I've got

eepro100                          26896  0
mii                                       4864  2  eepro100, e100

I've  checked /etc/rc.conf, in the modules section:

MODULES=(e100 eepro100 mii ...)

and network session

lo="lo 127.0.0.1"
eth0="eth0 10.0.0.10 netmask 255.255.255.0 broadcast 10.255.255.255"
INTERFACES=(lo eth0)

gateway="default gw 10.0.0.1"
GATEWAY=(gateway)

I've run

ifconfig -a

and I've got

eth0
       Link encap: Ethernet HWaddr:00:52:55:5D:76:C1
       BROADCAST MULTICAST MTU:1500 Metric:1
       RX packets:1 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)
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:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:0
      RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Just to be sure, I've run

mkinitcpio -M

and I've got

Modules autodetected
ata_generic
ata_piix
libata
ide_core
generic
piix
e100
eepro100
mii
usb_core
uhci-hcd
jbd
ext3

I've tried to add "alias eth0 epro100" to /etc/modprobe.conf, but it didn't make any difference.
I can configure mannualy the eth0 interface, but the same message (/etc/rc.conf: line 61: eth0: comand not found) keeps showing

Did I forget to download some package? What did i do wrong?


Keep swimming.
Dolly, in Finding Nemo

Offline

#2 2007-06-18 15:17:01

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: e100 eepro100 help

Post your entire rc.conf. If you can bring up the network manually, you probably have a syntax error in /etc/rc.conf.


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2007-06-18 15:36:41

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: e100 eepro100 help

So here it goes...

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.iso88591"
HARDWARECLOCK="UTC"
TIMEZONE="Brazil/East"
KEYMAP=br-abnt2
CONSOLEFONT=t850b
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(e100 eepro100 mii slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="servbase"
#
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
# interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0 ="eth0  10.0.0.10 netmask 255.255.255.0 broadcast 10.255.255.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 10.0.0.1"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)


# End of file


Keep swimming.
Dolly, in Finding Nemo

Offline

#4 2007-06-18 18:19:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: e100 eepro100 help

Your netmask and broadcast address are mutually exclusive. Use either this:

eth0 ="eth0  10.0.0.10 netmask 255.0.0.0 broadcast 10.255.255.255"

or this:

eth0 ="eth0  10.0.0.10 netmask 255.255.255.0 broadcast 10.0.0.255"

Personally, I'd recommend the second option (Class C) - unless you're running a massive network, there's no need for Class A.

Offline

#5 2007-06-18 18:46:56

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: e100 eepro100 help

Thanks , tomk... I've corrected my stupid mistake. I choose C class, of course. But the same error

/etc/rc.conf: line 61: eth0: comand not found

still persist

Last edited by mvinnicius (2007-06-18 18:51:03)


Keep swimming.
Dolly, in Finding Nemo

Offline

#6 2007-06-18 20:15:26

hungsonbk
Member
Registered: 2007-05-26
Posts: 105
Website

Re: e100 eepro100 help

in rc.conf file, can you try the MODULES=(eepro100) ? Don't use e100 module because as i can see, your ethernet card uses the eepro100 not e100.

or you don't have to put any ethernet module in rc.conf file because it will be loaded automatically

Last edited by hungsonbk (2007-06-18 20:24:53)

Offline

#7 2007-06-18 21:39:34

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: e100 eepro100 help

Ok , hungsonbk. I removed eepro100, e100 and mii from rc.conf. I restarted the machine just to be sure (this is so windows like...). The modules are loaded, dmesg show this messages from e100 and eepro100:

PCI: Firmware left 0000:02:08.0 e100 interrupts enabled, disabling
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e100: eth0: e100_probe: addr 0xe2000000, irq 19, MAC addr 00:02:55:5D:76:C1

eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others

and, the situation remains the same:

/etc/rc.conf: line 61: eth0: command not found


Keep swimming.
Dolly, in Finding Nemo

Offline

#8 2007-06-18 22:15:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: e100 eepro100 help

Exactly when do you get that response i.e. after which command(s)?

Offline

#9 2007-06-18 22:37:23

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: e100 eepro100 help

The response appears when the machine is booting, and trying to rise the eth0 interface, or when I run the /etc/rc.d/network restart command, to test if some of the modifications are working. I looked into the network script but didn't find nothing (but i'm not a programmer, so...)


Keep swimming.
Dolly, in Finding Nemo

Offline

#10 2007-06-19 01:01:08

hungsonbk
Member
Registered: 2007-05-26
Posts: 105
Website

Re: e100 eepro100 help

Hi mvinnicius,
When looking at your first post with the command ifconfig -a, i can see that the eth0 does not have any interrupt so that it cann't work properly. In your recent post, i see this message:

PCI: Firmware left 0000:02:08.0 e100 interrupts enabled, disabling

This leads me to the idea that, may be there is a IRQ conflict in your PC so that the eth0 does not have the IRQ to work. Can you try to go to CMOS, free some interrupts that you do not need such as the interrupt for Serial Ports or printer ports, then move your ethernet card to another PCI slot. Then start your PC again. If it doesn't work, can you show the information from lspci -a command.

Also, check the output of the command: cat /proc/interrupts. You should see the interrupt used by your ethernet. If you cann't see, there is a problem.

EX: This is my interrupt file:

.....
20:          4   IO-APIC-fasteoi   ehci_hcd:usb4
21:     104266   IO-APIC-fasteoi   eth0
....

Cheers.

Last edited by hungsonbk (2007-06-19 01:08:22)

Offline

#11 2007-06-19 06:08:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: e100 eepro100 help

OK, analysing the actual error message turns out to be a good idea. smile

Line 61 in your rc.conf has a space between 'eth0' and '=' - it is therefore treated as a command, rather than a variable assignment, resulting in the response you have quoted. In other words, a syntax error, as FUBAR suggested.

I can't believe I quoted two variations of that line back to you without noticing that.... roll

Last edited by tomk (2007-06-19 06:09:34)

Offline

#12 2007-06-19 13:04:27

mvinnicius
Member
From: Rio de Janeiro - Brasil
Registered: 2006-02-16
Posts: 86

Re: e100 eepro100 help

Thanks tomk!! Everything works fine im my network now.


Keep swimming.
Dolly, in Finding Nemo

Offline

Board footer

Powered by FluxBB