linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "ÏÄÓê " <xiay@nari-relays.com>
To: <linuxppc-embedded@ozlabs.org>
Subject: onboard pci ethernet controller(i82551)without eprom(linuxppc2.2.4 MPC5200)
Date: Sat,  8 Oct 2005 22:30:08 +0800	[thread overview]
Message-ID: <200510082230.AA69861636@NARI-RELAYS.COM> (raw)

After i modified e100_init() in e100_main.c , the pci ethernet card could been found :

bash-2.05b# ifconfig -a
eth0      Link encap:Ethernet  HWaddr FF:FF:FF:FF:FF:FF
          BROADCAST MULTICAST  MTU:1500  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:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Memory:40000000-40000038

eth1      Link encap:Ethernet  HWaddr 00:04:9F:00:15:2B
          inet addr:198.87.102.215  Bcast:198.87.102.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12606 errors:42 dropped:0 overruns:0 frame:0
          TX packets:7668 errors:3 dropped:0 overruns:3 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:10596597 (10.1 Mb)  TX bytes:1218624 (1.1 Mb)
          Interrupt:43

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:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

But i still could not config eth0:

bash-2.05b# ifconfig eth0 198.87.102.140
SIOCSIFFLAGS: Resource temporarily unavailable

I noticed that there was message as blow during kernel bootup:

POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 0 of device 00:1a.0
Linux NET4.0 for Linux 2.4

Intel(R) PRO/100 Network Driver - version 2.3.38-k1
Copyright (c) 2004 Intel Corporation

PCI: Enabling device 00:18.0 (0006 -> 0007)
e100: eth0: Intel(R) PRO/100 Network Connection
Hardware receive checksums enabled

IP-Config: Failed to open eth0

what is wrong?

Best regards

Xiayu

             reply	other threads:[~2005-10-08 14:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-08 14:30 ÏÄÓê  [this message]
2005-10-08 17:51 ` onboard pci ethernet controller(i82551)without eprom(linuxppc2.2.4 MPC5200) Frank
2005-11-02 15:21 ` Joshua Lamorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510082230.AA69861636@NARI-RELAYS.COM \
    --to=xiay@nari-relays.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).