[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

setting i/o address for eth0



hello everyone,

I've been having problems getting my linksys nic to work, and now I know
what the problem is. trouble is I don't know how to fix it. the problem is
that everything has a different i/o address for the card. it uses the tulip
driver. tulip (and the accompanying pci-scan) were both recently compiled
from the latest stable version at www.scyld.com. link lights come on for the
card and hub, and I can use ifconfig without errors. I noticed the problem
because I couldn't get a dhcp server to work.

I have potato with kernel 2.2.15.

when my card loads up during booting, I get the following configuration:
eth0: Lite-On PNIC-II rev 37 at 0xc3832c00, 00:A0:CC:E2:43:2D, IRQ 11

when I look at ifconfig eth0, I get 
... various network parameters, all correct
Interrupt:11 Base address:0x2c00

if I go and look at /proc/pci, the card with irq 11 appears to be at
0xf400. in /proc/ioports, it's at 0xc3832c00.

if I try just doing ifconfig eth0 io_addr 0xf400, I get
SIOCSIFMAP: Operation not supported

how else can I change this address? c3832c00 looks too big to even be in i/o
memory, and my guess is that the pci bus is actually looking at f400 to talk
to the card. I've no idea what ifconfig's 2c00 would mean.

arrrrgh.
-david

---
David C. Ables
3D Printing Lab
Massachusetts Institute of Technology
ables@mit.edu



Reply to: