More eth devs than eepro100 NIC

Michael Pruznick michael_pruznick@mvista.com
Tue May 9 13:08:53 2000


I'm running on a 2.2.12 kernel and when I build the driver
as a module I get eth0 and eth1 only, as expected.  When I
build it into the kernel I get all these extra devs.  I need
to mount my root fs via nfs and these extra dev seam to
kill the kernel in DHCP autoconfig.  I see the same problem
with 2.2.14.  I removed the structs for eth2 to eth7 from 
Space.c and now I only get eth0 and eth1 and kernel autoconfig
works and I can mount my root via nfs (eth0) and run data over
eth1. 

Is this a known problem?  Is there an existing/better fix?

Thanks,
Michael

This output actually comes from a test fix I was trying that
didn't work.  In the "unmodified" driver all the even eth devs
were clones of eth0.  Likewise for eth1 and the odds.

[root@mtest8 /root]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:01:4E:00:01:77  
          inet addr:10.0.11.8  Bcast:10.0.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:921 errors:0 dropped:0 overruns:0 frame:0
          TX packets:521 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:11 

eth1      Link encap:Ethernet  HWaddr 00:01:4E:00:01:78  
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0x2000 

eth2      Link encap:AMPR NET/ROM  HWaddr   
          [NO FLAGS]  MTU:0  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 
          Base address:0xffe0 

eth3      Link encap:AMPR NET/ROM  HWaddr   
          [NO FLAGS]  MTU:0  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 
          Base address:0xffe0 

eth4      Link encap:AMPR NET/ROM  HWaddr   
          [NO FLAGS]  MTU:0  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 
          Base address:0xffe0 

eth5      Link encap:AMPR NET/ROM  HWaddr   
          [NO FLAGS]  MTU:0  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 
          Base address:0xffe0 

eth6      Link encap:AMPR NET/ROM  HWaddr   
          [NO FLAGS]  MTU:0  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 
          Base address:0xffe0 

eth7      Link encap:AMPR NET/ROM  HWaddr   
          [NO FLAGS]  MTU:0  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 
          Base address:0xffe0 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  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 

[root@mtest8 /root]# !gr
grep Becker /usr/src/linux/drivers/net/eepro100.c
        Written 1996-1999 by Donald Becker.
"eepro100.c:v1.09r 9/23/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html\n";
MODULE_AUTHOR("Donald Becker <becker@cesdis.gsfc.nasa.gov>");
-------------------------------------------------------------------
To unsubscribe send a message body containing "unsubscribe"
to linux-eepro100-request@beowulf.org