Skip to main content

Thread: new nic, strange problems


hi.

installed new nic on server, , plan run box router.
odd thing happens, when boot system may take long time start.
when running ifconfig neither eth0 nor eth1 appears.

uname -a
code:
linux server910 2.6.31-19-generic #56-ubuntu smp thu jan 28 01:26:53 utc 2010 i686 gnu/linux

if wipe /etc/udev/rules.d/70-persistent-net.rules , boot brings 1 of cards.

lshw -c network
code:
warning: should run program super-user.   *-network                       description: ethernet interface        product: rtl-8169 gigabit ethernet        vendor: realtek semiconductor co., ltd.        physical id: 6        bus info: pci@0000:01:06.0        logical name: eth0        version: 10        serial: 90:e6:ba:24:ca:90        width: 32 bits        clock: 66mhz        capabilities: bus_master cap_list rom ethernet physical        configuration: broadcast=yes driver=r8169 driverversion=2.3lk-napi ip=192.168.0.196 latency=64 maxlatency=64 mingnt=32 multicast=yes        resources: irq:16 ioport:d800(size=256) memory:f7fffc00-f7fffcff memory:80000000-8001ffff(prefetchable)   *-network disabled        description: ethernet interface        product: mcp77 ethernet        vendor: nvidia corporation        physical id:        bus info: pci@0000:00:0a.0        logical name: eth1        version: a2        serial: 90:e6:ba:24:ca:90        width: 32 bits        clock: 66mhz        capabilities: bus_master cap_list ethernet physical        configuration: broadcast=yes driver=forcedeth driverversion=0.64 latency=0 maxlatency=20 mingnt=1 multicast=yes        resources: irq:22 memory:f7e7c000-f7e7cfff ioport:b880(size=8) memory:f7e7f400-f7e7f4ff memory:f7e7f000-f7e7f00f
i've removed dhcp3-server , reverted to:

auto lo
iface lo inet loopback

and
auto ethx
iface ethx inet dhcp

on both devices in /etc/network/interfaces

ifconfig -a
code:
eth0      link encap:ethernet  hwaddr 90:e6:ba:24:ca:90             inet addr:192.168.0.196  bcast:192.168.0.255  mask:255.255.255.0           inet6 addr: fe80::92e6:baff:fe24:ca90/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:1073 errors:0 dropped:0 overruns:0 frame:0           tx packets:995 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:1127177 (1.1 mb)  tx bytes:188676 (188.6 kb)           interrupt:16 base address:0x8c00   eth1      link encap:ethernet  hwaddr 90:e6:ba:24:ca:90             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)           interrupt:22 base address:0x6000   lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:16436  metric:1           rx packets:14 errors:0 dropped:0 overruns:0 frame:0           tx packets:14 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:996 (996.0 b)  tx bytes:996 (996.0 b)
any ideas how solve issue? rtl card new nic. stated earlier if don't wipe
/etc/udev/rules.d/70-persistent-net.rules either no card gets "started", or one. odd thing
@ on couple of boots swaps gets started. , interface may odd names such as
eth1_renamed , a<something>_eth1/0.


dmesg | grep eth
code:
[    1.684242] forcedeth: reverse engineered nforce ethernet driver. version 0.64. [    1.684607] forcedeth 0000:00:0a.0: pci int -> link[lmac] -> gsi 22 (level, low) -> irq 22 [    1.684611] forcedeth 0000:00:0a.0: setting latency timer 64 [    1.707518] eth0: rtl8169sb/8110sb @ 0xf8118c00, 90:e6:ba:24:ca:90, xid 10000000 irq 16 [    1.746253] forcedeth 0000:00:0a.0: ifname eth1, phy oui 0x732 @ 3, addr 90:e6:ba:24:ca:90 [    1.746257] forcedeth 0000:00:0a.0: highdma csum pwrctl mgmt gbit lnktim msi desc-v3 [   10.125587] r8169: eth0: link [   20.292008] eth0: no ipv6 routers present
i can try getting info when wacked, compared when 1 card up.
pointers appreciated.

regard,
bender

ok when starting without wipe ifconfig shows lo interface.
1 thing that's strange here 2 cards given
same mac address in both cases(!!!).

ifconfig -a shows

code:
eth1      link encap:ethernet  hwaddr 90:e6:ba:24:ca:90             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)           interrupt:22 base address:0x8000   eth0_rename link encap:ethernet  hwaddr 90:e6:ba:24:ca:90             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)           interrupt:16 base address:0x2c00   lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:16436  metric:1           rx packets:12 errors:0 dropped:0 overruns:0 frame:0           tx packets:12 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:720 (720.0 b)  tx bytes:720 (720.0 b)
lshw -c network
code:
warning: should run program super-user.   *-network disabled              description: ethernet interface        product: rtl-8169 gigabit ethernet        vendor: realtek semiconductor co., ltd.        physical id: 6        bus info: pci@0000:01:06.0        logical name: eth0_rename        version: 10        serial: 90:e6:ba:24:ca:90        width: 32 bits        clock: 66mhz        capabilities: bus_master cap_list rom ethernet physical        configuration: broadcast=yes driver=r8169 driverversion=2.3lk-napi latency=64 maxlatency=64 mingnt=32 multicast=yes        resources: irq:16 ioport:d800(size=256) memory:f7fffc00-f7fffcff memory:80000000-8001ffff(prefetchable)   *-network disabled        description: ethernet interface        product: mcp77 ethernet        vendor: nvidia corporation        physical id:        bus info: pci@0000:00:0a.0        logical name: eth1        version: a2        serial: 90:e6:ba:24:ca:90        width: 32 bits        clock: 66mhz        capabilities: bus_master cap_list ethernet physical        configuration: broadcast=yes driver=forcedeth driverversion=0.64 latency=0 maxlatency=20 mingnt=1 multicast=yes        resources: irq:22 memory:f7e7c000-f7e7cfff ioport:b880(size=8) memory:f7e7f400-f7e7f4ff memory:f7e7f000-f7e7f00f
cat /etc/udev/rules.d/70-persistent-net.rules
code:
# pci device 0x10ec:0x8169 (r8169) subsystem=="net", action=="add", drivers=="?*", attr{address}=="90:e6:ba:24:ca:90", attr{dev_id}=="0x0", attr{type}=="1", kernel=="eth*", name="eth0"  # pci device 0x10de:0x0760 (forcedeth) subsystem=="net", action=="add", drivers=="?*", attr{address}=="90:e6:ba:24:ca:90", attr{dev_id}=="0x0", attr{type}=="1", kernel=="eth*", name="eth1"
dmesg | grep eth
code:
[    1.704627] forcedeth: reverse engineered nforce ethernet driver. version 0.64. [    1.704974] forcedeth 0000:00:0a.0: pci int -> link[lmac] -> gsi 22 (level, low) -> irq 22 [    1.704977] forcedeth 0000:00:0a.0: setting latency timer 64 [    1.714050] eth0: rtl8169sb/8110sb @ 0xf8132c00, 90:e6:ba:24:ca:90, xid 10000000 irq 16 [    1.770920] forcedeth 0000:00:0a.0: ifname eth1, phy oui 0x732 @ 3, addr 90:e6:ba:24:ca:90 [    1.770925] forcedeth 0000:00:0a.0: highdma csum pwrctl mgmt gbit lnktim msi desc-v3
any bright ideas? i'm kind of blank myself here, haven't heard of /etc/udev/rules.d/70-persistent-net.rules until googling solution. how thing work? thought obvious bind interfacenames mac addresses, , file that.

, might add old nvidia nic on asus m4n78-se board, , new nic cnet prog-2000s.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] new nic, strange problems


Ubuntu

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???