LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   [solved/workaround] nic e1000e disappears in 13.37 (https://www.linuxquestions.org/questions/slackware-installation-40/%5Bsolved-workaround%5D-nic-e1000e-disappears-in-13-37-a-890067/)

riwi 07-05-2011 02:08 PM

[solved/workaround] nic e1000e disappears in 13.37
 
Hi,
I have been running Slackware for quite some time. Started with Slackware 8.0, then moved to 10.0, then 12.0 when that came out. Another machine was running 13.0, which I've upgraded to 13.1 and then to 13.37 using the UPGRADE.txt method.
For the 12.0 machine the upgrade failed with 13.0 (filesystem of root partition could not be read although it could read the /boot). So I decided to do a fresh 13.37 install.

I have an onboard nic forcedeth and a PCI card skge (3com2000) and a PCI-E intel e1000e card. There is also a wifi thingy on the mainboard which I do not use.
The onboard is eth0 and in /etc/rc.d/inet1.conf defined with fixed ip 192.168.1.3 (internal lan).
The e1000e is eth1 fixed at 10.0.0.152 to connect to my ADSL modem.
The skge is eth2 had dhcpcd provided ip from my cable ISP.
I have used udev to swap eth2 and eth0 names.
Code:

/etc/rc.d# cat /etc/udev/rules.d/70-persistent-net.rules

# PCI device 0x10b7:0x1700 (skge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0a:5e:23:ea:04", ATTR{dev_id}=="0x0", ATTR{type                    }=="1", KERNEL=="eth*", NAME="eth2"

# USB device 0x0bda:0x8187 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:af:05:ed:66", ATTR{dev_id}=="0x0", ATTR{type                    }=="1", KERNEL=="wlan*", NAME="wlan0"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:f3:a7:4a:ed", ATTR{dev_id}=="0x0", ATTR{type                    }=="1", KERNEL=="eth*", NAME="eth0"

I have had problems with both skge and e1000e cards. They sometimes do not show up in lspci after booting. Currently the e1000e will not show at all.
I first thought it had to do with dhcpcd because logs show that the e1000e was bringing down the interface every 3 seconds or so. Therefore I swapped the dhcpcd to the skge card. Than that was bringing down the interface. using dhclient on the skge it worked to get all 3 interfaces up.
Now I have rebooted I no longer see the e1000e card at all. lsmod shows that the module is loaded but there is no eth1. I've upgraded the intel driver supplied with 13.37 to 1.3.17 which is the latest according to intel but no result.

The same hardware has been running under Slackware 12.0 without any problem. If I put back my Slackware 12.0 bootdisk (which I still have, backup with dd total disk) all networks come up fine.

lspci :
Code:

root@riwilinux:/var/log# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:07.0 Ethernet controller: 3Com Corporation 3c940 10/100/1000Base-T [Marvell] (rev 10)
01:08.0 RAID bus controller: Promise Technology, Inc. PDC40719 [FastTrak TX4300/TX4310] (rev 02)
03:00.0 SATA controller: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02)
03:00.1 IDE interface: JMicron Technology Corp. JMB362/JMB363 Serial ATA Controller (rev 02)

ifconfig
Code:

root@riwilinux:/var/log# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:F3:A7:4A:ED
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:f3ff:fea7:4aed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20580 errors:1 dropped:0 overruns:0 frame:1
          TX packets:19399 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2657674 (2.5 Mb)  TX bytes:7627660 (7.2 Mb)
          Interrupt:40 Base address:0x2000

eth2      Link encap:Ethernet  HWaddr 00:0A:5E:23:EA:04
          inet addr:84.24.61.139  Bcast:255.255.255.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:62818 errors:0 dropped:0 overruns:0 frame:0
          TX packets:839 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5457619 (5.2 Mb)  TX bytes:73566 (71.8 Kb)
          Interrupt:17

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2016 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2016 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:120040 (117.2 Kb)  TX bytes:120040 (117.2 Kb)

Is the problem with the e1000e driver? with dhcpcd? Or with udev?

Thanks for any hints you may have.
Sorry for the lengthy post.

Richard

riwi 07-05-2011 02:13 PM

messages :
Code:

Jul  5 18:26:55 riwilinux kernel: [    7.411877] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Jul  5 18:26:55 riwilinux kernel: [    7.432723] devtmpfs: mounted
Jul  5 18:26:55 riwilinux kernel: [    7.432888] Freeing unused kernel memory: 612k freed
Jul  5 18:26:55 riwilinux kernel: [    7.433361] Write protecting the kernel text: 10108k
Jul  5 18:26:55 riwilinux kernel: [    7.433555] Write protecting the kernel read-only data: 2540k
Jul  5 18:26:55 riwilinux kernel: [    8.305421] udev[1349]: starting version 165
Jul  5 18:26:55 riwilinux kernel: [    8.526115] sd 3:0:0:0: Attached scsi generic sg0 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.526314] sd 4:0:0:0: Attached scsi generic sg1 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.526494] sd 5:0:0:0: Attached scsi generic sg2 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.526682] sd 6:0:0:0: Attached scsi generic sg3 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.526872] sd 7:0:0:0: Attached scsi generic sg4 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.530769] sd 8:0:0:0: Attached scsi generic sg5 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.530950] sd 9:0:0:0: Attached scsi generic sg6 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.531167] sd 10:0:0:0: Attached scsi generic sg7 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.531344] sd 11:0:0:0: Attached scsi generic sg8 type 0
Jul  5 18:26:55 riwilinux kernel: [    8.531528] sr 12:0:0:0: Attached scsi generic sg9 type 5
Jul  5 18:26:55 riwilinux kernel: [    8.616849] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2
Jul  5 18:26:55 riwilinux kernel: [    8.617187] ACPI: Power Button [PWRB]
Jul  5 18:26:55 riwilinux kernel: [    8.617405] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
Jul  5 18:26:55 riwilinux kernel: [    8.617692] ACPI: Power Button [PWRF]
Jul  5 18:26:55 riwilinux kernel: [    8.626616] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Jul  5 18:26:55 riwilinux kernel: [    8.640037] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
Jul  5 18:26:55 riwilinux kernel: [    8.640746] forcedeth 0000:00:07.0: PCI INT A -> Link[APCH] -> GSI 23 (level, low) -> IRQ 23
Jul  5 18:26:55 riwilinux kernel: [    8.658692] parport_pc 00:08: reported by Plug and Play ACPI
Jul  5 18:26:55 riwilinux kernel: [    8.658888] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Jul  5 18:26:55 riwilinux kernel: [    8.675392] ppdev: user-space parallel port driver
Jul  5 18:26:55 riwilinux kernel: [    8.712804] skge 0000:01:07.0: PCI INT A -> Link[APC2] -> GSI 17 (level, low) -> IRQ 17
Jul  5 18:26:55 riwilinux kernel: [    8.713133] skge: 1.13 addr 0xfd8f8000 irq 17 chip Yukon rev 1
Jul  5 18:26:55 riwilinux kernel: [    8.715316] skge 0000:01:07.0: eth0: addr 00:0a:5e:23:ea:04
Jul  5 18:26:55 riwilinux kernel: [    8.746539] rtc_cmos 00:04: RTC can wake from S4
Jul  5 18:26:55 riwilinux kernel: [    8.748174] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
Jul  5 18:26:55 riwilinux kernel: [    8.748359] rtc0: alarms up to one year, y3k, 242 bytes nvram
Jul  5 18:26:55 riwilinux kernel: [    8.834269] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/input/input4
Jul  5 18:26:55 riwilinux kernel: [    8.834671] generic-usb 0003:046D:C050.0001: input,hidraw0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:02.0-4/input0
Jul  5 18:26:55 riwilinux kernel: [    8.834951] usbcore: registered new interface driver usbhid
Jul  5 18:26:55 riwilinux kernel: [    8.835111] usbhid: USB HID core driver
Jul  5 18:26:55 riwilinux kernel: [    8.852702] thermal LNXTHERM:00: registered as thermal_zone0
Jul  5 18:26:55 riwilinux kernel: [    8.852854] ACPI: Thermal Zone [THRM] (43 C)
Jul  5 18:26:55 riwilinux kernel: [    8.876036] ACPI: processor limited to max C-state 1
Jul  5 18:26:55 riwilinux kernel: [    8.891378] ACPI: Fan [FAN] (on)
Jul  5 18:26:55 riwilinux kernel: [    8.909421] cfg80211: Calling CRDA to update world regulatory domain
Jul  5 18:26:55 riwilinux kernel: [    9.024619] udev[1359]: renamed network interface eth0 to eth2
Jul  5 18:26:55 riwilinux kernel: [    9.149814] Linux agpgart interface v0.103
Jul  5 18:26:55 riwilinux kernel: [    9.160024] forcedeth 0000:00:07.0: ifname eth0, PHY OUI 0x50ef @ 1, addr 00:18:f3:a7:4a:ed
Jul  5 18:26:55 riwilinux kernel: [    9.160285] forcedeth 0000:00:07.0: highdma pwrctl mgmt gbit lnktim msi desc-v3
Jul  5 18:26:55 riwilinux kernel: [    9.160825] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Jul  5 18:26:55 riwilinux kernel: [    9.161159] i2c i2c-0: nForce2 SMBus adapter at 0x1c40
Jul  5 18:26:55 riwilinux kernel: [    9.224990] [drm] Initialized drm 1.1.0 20060810
Jul  5 18:26:55 riwilinux kernel: [    9.286945] HDA Intel 0000:00:05.0: PCI INT B -> Link[AAZA] -> GSI 22 (level, low) -> IRQ 22
Jul  5 18:26:55 riwilinux kernel: [    9.287235] hda_intel: Disable MSI for Nvidia chipset
Jul  5 18:26:55 riwilinux kernel: [    9.305212] cfg80211: World regulatory domain updated:
Jul  5 18:26:55 riwilinux kernel: [    9.305365]    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jul  5 18:26:55 riwilinux kernel: [    9.305629]    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  5 18:26:55 riwilinux kernel: [    9.305777]    (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jul  5 18:26:55 riwilinux kernel: [    9.305924]    (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jul  5 18:26:55 riwilinux kernel: [    9.306097]    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  5 18:26:55 riwilinux kernel: [    9.306247]    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jul  5 18:26:55 riwilinux kernel: [    9.731561] ieee80211 phy0: hwaddr 00:15:af:05:ed:66, RTL8187vB (default) V1 + rtl8225z2, rfkill mask 2
Jul  5 18:26:55 riwilinux kernel: [    9.794298] rtl8187: Customer ID is 0x00
Jul  5 18:26:55 riwilinux kernel: [    9.795899] rtl8187: wireless switch is on
Jul  5 18:26:55 riwilinux kernel: [    9.796126] usbcore: registered new interface driver rtl8187
Jul  5 18:26:55 riwilinux kernel: [    9.972743] hda_codec: AD1988: BIOS auto-probing.
Jul  5 18:26:55 riwilinux kernel: [    9.997362] nouveau 0000:00:0d.0: PCI INT A -> Link[AIGP] -> GSI 23 (level, low) -> IRQ 23
Jul  5 18:26:55 riwilinux kernel: [  10.000548] [drm] nouveau 0000:00:0d.0: Detected an NV40 generation card (0x04c000a2)
Jul  5 18:26:55 riwilinux kernel: [  10.003500] [drm] nouveau 0000:00:0d.0: Attempting to load BIOS image from PRAMIN
Jul  5 18:26:55 riwilinux kernel: [  10.043258] [drm] nouveau 0000:00:0d.0: ... appears to be valid
Jul  5 18:26:55 riwilinux kernel: [  10.043405] [drm] nouveau 0000:00:0d.0: BIT BIOS found
Jul  5 18:26:55 riwilinux kernel: [  10.043549] [drm] nouveau 0000:00:0d.0: Bios version 05.61.32.14
Jul  5 18:26:55 riwilinux kernel: [  10.043694] [drm] nouveau 0000:00:0d.0: TMDS table version 1.1
Jul  5 18:26:55 riwilinux kernel: [  10.044106] [drm] nouveau 0000:00:0d.0: BIT table 'd' not found
Jul  5 18:26:55 riwilinux kernel: [  10.044244] [drm] nouveau 0000:00:0d.0: Found Display Configuration Block version 3.0
Jul  5 18:26:55 riwilinux kernel: [  10.044496] [drm] nouveau 0000:00:0d.0: Raw DCB entry 0: 01000310 00000023
Jul  5 18:26:55 riwilinux kernel: [  10.050192] [drm] nouveau 0000:00:0d.0: Raw DCB entry 1: 00110204 974f0000
Jul  5 18:26:55 riwilinux kernel: [  10.050339] [drm] nouveau 0000:00:0d.0: DCB connector table: VHER 0x30 5 10 2
Jul  5 18:26:55 riwilinux kernel: [  10.050479] [drm] nouveau 0000:00:0d.0:  0: 0x00000000: type 0x00 idx 0 tag 0xff
Jul  5 18:26:55 riwilinux kernel: [  10.050723] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 0 at offset 0xDA6D
Jul  5 18:26:55 riwilinux kernel: [  10.051529] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 1 at offset 0xDBC4
Jul  5 18:26:55 riwilinux kernel: [  10.051771] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 2 at offset 0xDBC5
Jul  5 18:26:55 riwilinux kernel: [  10.052088] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 3 at offset 0xDD47
Jul  5 18:26:55 riwilinux kernel: [  10.052333] [drm] nouveau 0000:00:0d.0: Parsing VBIOS init table 4 at offset 0xDD90
Jul  5 18:26:55 riwilinux kernel: [  10.292055] [drm] nouveau 0000:00:0d.0: 1 available performance level(s)
Jul  5 18:26:55 riwilinux kernel: [  10.292198] [drm] nouveau 0000:00:0d.0: 0: memory 0MHz core 425MHz fanspeed 100%
Jul  5 18:26:55 riwilinux kernel: [  10.292448] [drm] nouveau 0000:00:0d.0: c: memory 0MHz
Jul  5 18:26:55 riwilinux kernel: [  10.292590] [drm] nouveau 0000:00:0d.0: Detected 128MiB VRAM
Jul  5 18:26:55 riwilinux kernel: [  10.292813] [TTM] Zone  kernel: Available graphics memory: 434302 kiB.
Jul  5 18:26:55 riwilinux kernel: [  10.292956] [TTM] Zone highmem: Available graphics memory: 962114 kiB.
Jul  5 18:26:55 riwilinux kernel: [  10.293101] [TTM] Initializing pool allocator.
Jul  5 18:26:55 riwilinux kernel: [  10.294217] [drm] nouveau 0000:00:0d.0: 64 MiB GART (aperture)
Jul  5 18:26:55 riwilinux kernel: [  10.294377] [drm] nouveau 0000:00:0d.0: Saving VGA fonts
Jul  5 18:26:55 riwilinux kernel: [  10.330957] [drm] nouveau 0000:00:0d.0: Setting dpms mode 3 on vga encoder (output 0)
Jul  5 18:26:55 riwilinux kernel: [  10.462143] [drm] nouveau 0000:00:0d.0: allocated 1920x1200 fb: 0x48000, bo f4b53600
Jul  5 18:26:55 riwilinux kernel: [  10.530073] [drm] nouveau 0000:00:0d.0: Setting dpms mode 0 on vga encoder (output 0)
Jul  5 18:26:55 riwilinux kernel: [  10.530079] [drm] nouveau 0000:00:0d.0: Output VGA-1 is running on CRTC 0 using output A
Jul  5 18:26:55 riwilinux kernel: [  10.554783] fb0: nouveaufb frame buffer device
Jul  5 18:26:55 riwilinux kernel: [  10.554822] drm: registered panic notifier
Jul  5 18:26:55 riwilinux kernel: [  10.554864] [drm] Initialized nouveau 0.0.16 20090420 for 0000:00:0d.0 on minor 0
Jul  5 18:26:55 riwilinux kernel: [  11.371827] fuse init (API version 7.15)
Jul  5 18:26:55 riwilinux kernel: [  12.151921] EXT4-fs (sda1): re-mounted. Opts: (null)
Jul  5 18:26:55 riwilinux kernel: [  12.237880] EXT4-fs (sda1): re-mounted. Opts: (null)
Jul  5 18:26:55 riwilinux kernel: [  12.863512] lp0: using parport0 (interrupt-driven).
Jul  5 18:26:55 riwilinux kernel: [  12.866964] lp0: console ready
Jul  5 18:26:55 riwilinux kernel: [  13.033444] e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2
Jul  5 18:26:55 riwilinux kernel: [  13.036630] e1000e: Copyright (c) 1999 - 2010 Intel Corporation.
Jul  5 18:26:55 riwilinux kernel: [  16.910148] EXT3-fs: barriers not enabled
Jul  5 18:26:55 riwilinux kernel: [  16.920130] kjournald starting.  Commit interval 5 seconds
Jul  5 18:26:55 riwilinux kernel: [  16.923539] EXT3-fs (sda2): using internal journal
Jul  5 18:26:55 riwilinux kernel: [  16.926965] EXT3-fs (sda2): mounted filesystem with ordered data mode
Jul  5 18:26:55 riwilinux kernel: [  16.952872] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
Jul  5 18:26:55 riwilinux kernel: [  16.984226] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
Jul  5 18:26:56 riwilinux logger: /etc/rc.d/rc.inet1:  List of interfaces: 'eth0 eth1 eth2 eth3 eth4 eth5'
Jul  5 18:26:56 riwilinux logger: /etc/rc.d/rc.inet1:  /sbin/ifconfig lo 127.0.0.1
Jul  5 18:26:56 riwilinux logger: /etc/rc.d/rc.inet1:  /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Jul  5 18:26:56 riwilinux logger: /etc/rc.d/rc.inet1:  /sbin/ifconfig eth0 192.168.1.3 broadcast 192.168.1.255 netmask 255.255.255.0
Jul  5 18:26:56 riwilinux logger: /etc/rc.d/rc.inet1:  eth1 interface does not exist (yet)
Jul  5 18:26:56 riwilinux logger: /etc/rc.d/rc.inet1:  /sbin/dhcpcd -p -t 10  eth2
Jul  5 18:26:56 riwilinux dhcpcd[1863]: version 5.2.11 starting
Jul  5 18:26:56 riwilinux kernel: [  18.963835] skge 0000:01:07.0: eth2: enabling interface
Jul  5 18:26:57 riwilinux dhcpcd[1863]: eth2: rebinding lease of 84.24.61.139
Jul  5 18:26:59 riwilinux kernel: [  21.326608] skge 0000:01:07.0: eth2: Link is up at 1000 Mbps, full duplex, flow control none
Jul  5 18:27:02 riwilinux dhcpcd[1863]: eth2: acknowledged 84.24.61.139 from 213.51.144.90
Jul  5 18:27:02 riwilinux dhcpcd[1863]: eth2: checking for 84.24.61.139
Jul  5 18:27:07 riwilinux dhcpcd[1863]: eth2: leased 84.24.61.139 for 3166 seconds
Jul  5 18:27:07 riwilinux kernel: [  29.887916] skge 0000:01:07.0: eth2: disabling interface
Jul  5 18:27:07 riwilinux kernel: [  29.890177] skge 0000:01:07.0: eth2: enabling interface
Jul  5 18:27:07 riwilinux dhcpcd: eth2: MTU set to 576
Jul  5 18:27:07 riwilinux dhcpcd[1863]: forked to background, child pid 1895
Jul  5 18:27:07 riwilinux dhcpcd[1895]: eth2: carrier lost
Jul  5 18:27:07 riwilinux logger: /etc/rc.d/rc.inet1:  eth3 interface does not exist (yet)
Jul  5 18:27:08 riwilinux logger: /etc/rc.d/rc.inet1:  eth4 interface does not exist (yet)
Jul  5 18:27:08 riwilinux logger: /etc/rc.d/rc.inet1:  eth5 interface does not exist (yet)
Jul  5 18:27:08 riwilinux rpc.statd[1951]: Version 1.2.3 starting
Jul  5 18:27:08 riwilinux sm-notify[1952]: Version 1.2.3 starting
Jul  5 18:27:08 riwilinux kernel: [  30.401649] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Jul  5 18:27:08 riwilinux kernel: [  30.552216] ip_tables: (C) 2000-2006 Netfilter Core Team
Jul  5 18:27:08 riwilinux kernel: [  30.989483] NET: Registered protocol family 10
Jul  5 18:27:08 riwilinux kernel: [  30.989735] lo: Disabled Privacy Extensions
Jul  5 18:27:08 riwilinux kernel: [  30.989777] ADDRCONF(NETDEV_UP): eth2: link is not ready
Jul  5 18:27:08 riwilinux sshd[2068]: Server listening on 0.0.0.0 port 22.
Jul  5 18:27:08 riwilinux sshd[2068]: Server listening on :: port 22.
Jul  5 18:27:09 riwilinux kernel: [  31.133716] NFSD: starting 90-second grace period
Jul  5 18:27:09 riwilinux rpc.mountd[2098]: Version 1.2.3 starting
Jul  5 18:27:09 riwilinux acpid: starting up with proc fs
Jul  5 18:27:09 riwilinux acpid: 1 rule loaded
Jul  5 18:27:09 riwilinux acpid: waiting for events: event logging is off
Jul  5 18:27:10 riwilinux dhcpcd[1895]: eth2: carrier acquired
Jul  5 18:27:10 riwilinux kernel: [  32.840150] skge 0000:01:07.0: eth2: Link is up at 1000 Mbps, full duplex, flow control none
Jul  5 18:27:10 riwilinux kernel: [  32.840414] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
Jul  5 18:27:10 riwilinux dhcpcd[1895]: eth2: rebinding lease of 84.24.61.139
Jul  5 18:27:11 riwilinux polkitd[2194]: started daemon version 0.101 using authority implementation `local' version `0.101'
Jul  5 18:27:12 riwilinux acpid: client connected from 2317[82:82]
Jul  5 18:27:12 riwilinux acpid: 1 client rule loaded
Jul  5 18:27:15 riwilinux /usr/sbin/gpm[2458]: *** info [startup.c(95)]:
Jul  5 18:27:15 riwilinux /usr/sbin/gpm[2458]: Started gpm successfully. Entered daemon mode.
Jul  5 18:27:15 riwilinux dhcpd: Internet Systems Consortium DHCP Server 4.2.1-P1
Jul  5 18:27:15 riwilinux dhcpd: Copyright 2004-2011 Internet Systems Consortium.
Jul  5 18:27:15 riwilinux dhcpd: All rights reserved.
Jul  5 18:27:15 riwilinux dhcpd: For info, please visit https://www.isc.org/software/dhcp/
Jul  5 18:27:15 riwilinux /usr/sbin/gpm[2458]: *** info [mice.c(1766)]:
Jul  5 18:27:15 riwilinux /usr/sbin/gpm[2458]: imps2: Auto-detected intellimouse PS/2
Jul  5 18:27:15 riwilinux dhcpd: Wrote 0 deleted host decls to leases file.
Jul  5 18:27:15 riwilinux dhcpd: Wrote 0 new dynamic host decls to leases file.
Jul  5 18:27:15 riwilinux dhcpd: Wrote 4 leases to leases file.
Jul  5 18:27:15 riwilinux dhcpd: Listening on LPF/eth0/00:18:f3:a7:4a:ed/192.168.1.0/24
Jul  5 18:27:15 riwilinux dhcpd: Sending on  LPF/eth0/00:18:f3:a7:4a:ed/192.168.1.0/24
Jul  5 18:27:15 riwilinux dhcpd: Sending on  Socket/fallback/fallback-net
Jul  5 18:27:16 riwilinux dhcpcd[1895]: eth2: acknowledged 84.24.61.139 from 213.51.144.90
Jul  5 18:27:16 riwilinux dhcpcd[1895]: eth2: leased 84.24.61.139 for 3152 seconds
Jul  5 18:27:16 riwilinux dhcpcd: eth2: MTU set to 576
Jul  5 18:27:16 riwilinux kernel: [  38.191423] EXT3-fs: barriers not enabled
Jul  5 18:27:16 riwilinux kernel: [  38.210702] kjournald starting.  Commit interval 5 seconds
Jul  5 18:27:16 riwilinux kernel: [  38.215729] EXT3-fs (dm-1): using internal journal
Jul  5 18:27:16 riwilinux kernel: [  38.215736] EXT3-fs (dm-1): mounted filesystem with ordered data mode
Jul  5 18:27:16 riwilinux kernel: [  38.543478] EXT3-fs: barriers not enabled
Jul  5 18:27:16 riwilinux kernel: [  38.569799] kjournald starting.  Commit interval 5 seconds
Jul  5 18:27:16 riwilinux kernel: [  38.576234] EXT3-fs (dm-0): using internal journal
Jul  5 18:27:16 riwilinux kernel: [  38.576240] EXT3-fs (dm-0): mounted filesystem with ordered data mode
root@riwilinux:/var/log#


riwi 07-05-2011 03:32 PM

I have now recompiled the kernel + modules for my Athlon64 x2-3800 CPU
I reinstalled the intel e1000e 1.3.17 driver

I removed the udev/rules.d/70..net file so the system will re create it.
I swapped the cables so no eth renaming will be needed.

skge will become eth0
forcedeth is now eth1
e1000e should become eth2 but doesn't show yet

Maybe I should swap the hardware, I still have one spare e1000e lying around.

riwi 07-05-2011 04:03 PM

OK, one step further the new NIC is detected and dhcpcd is saying it went OK :

Code:

root@riwilinux:~# /sbin/dhcpcd -p -t 10 eth2
dhcpcd[2438]: version 5.2.11 starting
dhcpcd[2438]: eth2: broadcasting for a lease
dhcpcd[2438]: eth2: offered 84.31.131.33 from 213.51.144.90
dhcpcd[2438]: eth2: acknowledged 84.31.131.33 from 213.51.144.90
dhcpcd[2438]: eth2: leased 84.31.131.33 for 3600 seconds
dhcpcd: eth2: MTU set to 576
dhcpcd[2438]: forked to background, child pid 2472

Yeah I have a brand new IP :)

but ifconfig still says it can't find dhcp server :

Code:

root@riwilinux:/home/richard# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 00:1B:21:13:0B:0D 
          inet addr:169.254.197.225  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:5467 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:338959 (331.0 Kb)  TX bytes:8822 (8.6 Kb)
          Interrupt:16 Memory:fdae0000-fdb00000

still issues with e1000e :
Code:

Jul  5 22:50:37 riwilinux dhcpcd[1602]: eth2: broadcasting for a lease
Jul  5 22:52:51 riwilinux dhcpcd[2344]: sending signal 1 to pid 1602
Jul  5 22:52:51 riwilinux dhcpcd[1602]: received SIGHUP, releasing
Jul  5 22:52:51 riwilinux dhcpcd[1602]: eth2: removing interface
Jul  5 22:52:51 riwilinux dhcpcd[2344]: waiting for pid 1602 to exit
Jul  5 22:53:04 riwilinux dhcpcd[2345]: version 5.2.11 starting
Jul  5 22:53:04 riwilinux dhcpcd[2345]: eth2: broadcasting for a lease
Jul  5 22:53:14 riwilinux dhcpcd[2345]: eth2: probing for an IPv4LL address
Jul  5 22:53:14 riwilinux dhcpcd[2345]: eth2: checking for 169.254.129.45
Jul  5 22:53:19 riwilinux dhcpcd[2345]: eth2: using IPv4LL address 169.254.129.45
Jul  5 22:53:19 riwilinux dhcpcd[2345]: forked to background, child pid 2365
Jul  5 22:54:27 riwilinux dhcpcd[2365]: eth2: broadcasting for a lease
Jul  5 22:55:31 riwilinux dhcpcd[2365]: eth2: offered 84.31.131.33 from 213.51.144.90
Jul  5 22:55:31 riwilinux dhcpcd[2365]: eth2: acknowledged 84.31.131.33 from 213.51.144.90
Jul  5 22:55:31 riwilinux dhcpcd[2365]: eth2: checking for 84.31.131.33
Jul  5 22:55:36 riwilinux dhcpcd[2365]: eth2: leased 84.31.131.33 for 3600 seconds
Jul  5 22:55:36 riwilinux kernel: [  404.606296] e1000e 0000:04:00.0: eth2: changing MTU from 1500 to 576
Jul  5 22:55:36 riwilinux dhcpcd: eth2: MTU set to 576
Jul  5 22:55:36 riwilinux dhcpcd[2365]: eth2: carrier lost
Jul  5 22:55:39 riwilinux dhcpcd[2365]: eth2: carrier acquired
Jul  5 22:55:39 riwilinux kernel: [  407.516581] e1000e: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
Jul  5 22:55:39 riwilinux kernel: [  407.516897] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
Jul  5 22:55:39 riwilinux dhcpcd[2365]: eth2: rebinding lease of 84.31.131.33
Jul  5 22:55:43 riwilinux dhcpcd[2365]: eth2: acknowledged 84.31.131.33 from 213.51.144.90
Jul  5 22:55:43 riwilinux dhcpcd[2365]: eth2: leased 84.31.131.33 for 3588 seconds
Jul  5 22:55:43 riwilinux dhcpcd: eth2: MTU set to 576
Jul  5 22:56:03 riwilinux dhcpcd[2437]: sending signal 1 to pid 2365
Jul  5 22:56:03 riwilinux dhcpcd[2365]: received SIGHUP, releasing
Jul  5 22:56:03 riwilinux dhcpcd[2365]: eth2: releasing lease of 84.31.131.33
Jul  5 22:56:03 riwilinux dhcpcd[2437]: waiting for pid 2365 to exit
Jul  5 22:56:03 riwilinux dhcpcd[2365]: eth2: removing interface
Jul  5 22:56:12 riwilinux dhcpcd[2438]: version 5.2.11 starting
Jul  5 22:56:12 riwilinux dhcpcd[2438]: eth2: broadcasting for a lease
Jul  5 22:56:12 riwilinux dhcpcd[2438]: eth2: offered 84.31.131.33 from 213.51.144.90
Jul  5 22:56:18 riwilinux dhcpcd[2438]: eth2: acknowledged 84.31.131.33 from 213.51.144.90
Jul  5 22:56:18 riwilinux dhcpcd[2438]: eth2: leased 84.31.131.33 for 3600 seconds
Jul  5 22:56:18 riwilinux dhcpcd: eth2: MTU set to 576
Jul  5 22:56:18 riwilinux dhcpcd[2438]: forked to background, child pid 2472


riwi 07-05-2011 04:10 PM

Now I have managed with "dhclient eth2" to put (again new) ip on the eth2
Also after killing dhclient, I can give dhcpcd eth2 again and the IP will stick.

I would very much like someone's opinion about these issues : faulty HW? problem with e1000e? or with dhcpcd?

I am afraid that if I reboot the machine again in a day or 2 that the problem will be back.
This is annoying because the PC acts as my webserver, NAS, firewall, dual WAN router etc :)

riwi 07-06-2011 08:17 AM

Today I renamed the eth devices again using the udev rules.
This because my internal lan was eth0 and my firewall and routing rules have eth0 in them and so on.
Also I wanted the internal lan to be the forcedeth because it has better throughput than the PCI skge card (70MB/sec vs. 45 MB/sec with SMB).
This has reproduced the problem. eth2, the e1000e card is not usable anymore after renaming eth with udev rules.

I noticed that after renaming eth0 and eth1 (reversing the name) eth2 will no longer be available. Also the led's on the eth2 nic will stay off. Even after deleting the udev rules the eth2 will not become available again. Powering off the PC (full power off, remove AC cord) does not bring back eth2/e1000e.

I re-inserted the first e1000e card that was giving problems yesterday, then deleted all udev net rules. Then I adapted my rc.routes, rc.inet1.conf, rc.firewall, dhcpd startup file, etc to match the new "internal_lan=eth1"
Now eth2/e1000e is up and running, dhcpcd does not give a problem, eth1 is forcedeth, eth0 is skge PCI.

I think that as long as I do not use the udev eth renaming that all will be OK

My conclusion : DO NOT USE UDEV ETH RENAMING!! It is faulty and does not work properly

(thanks for reading, sorry for my lone private ramblings).

riwi 07-06-2011 10:50 AM

I just rebooted it and again lost the e1000e card.

I put it in the PEG16 slot instead of the PCI-E 1x slot but there it does not work at all.
So I deleted all udev rules again, swapped e1000e cards once more, inserted in the PCIE 1x slot, and it is working again now.

Albeit with yet again a new order of eth devices so I had to redo my scripts and config again.

To me it looks as if the e1000e is not recognized IF any net rules are listed under /etc/udev/rules.d. And once it has failed I need to do a : remove rules,shutdown, remove NIC, (boot, shutdown), insert NIC, boot

I'll buy another PCI-E Gbit NIC, see if that is better. Any recommendations? Preferably something compatible with slackware 13.37 ;)

riwi 07-06-2011 04:04 PM

Because the e1000e together with udev is not stable for me in 13.37 I have decided to go another way :

I removed the e1000e. Now I only have onboard forcedeth for local lan and the PCI card skge for external lans.
I defined with vconfig a vlan interface on the skge card. Now in my cisco slm2008 I route both external vlans on the same cable to the Slackware router PC. I adapted my firewall and routing scripts to match.
All works OK now.

Code:

root@riwilinux:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0A:5E:23:EA:04 
          inet addr:10.0.0.152  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:5eff:fe23:ea04/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9047 errors:0 dropped:35 overruns:0 frame:0
          TX packets:2074 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2034314 (1.9 Mb)  TX bytes:185981 (181.6 Kb)
          Interrupt:17

eth0.3    Link encap:Ethernet  HWaddr 00:0A:5E:23:EA:04 
          inet addr:84.24.66.204  Bcast:255.255.255.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:8933 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1997 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1863755 (1.7 Mb)  TX bytes:170941 (166.9 Kb)

eth1      Link encap:Ethernet  HWaddr 00:18:F3:A7:4A:ED 
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::218:f3ff:fea7:4aed/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1683 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1462 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:339031 (331.0 Kb)  TX bytes:799714 (780.9 Kb)
          Interrupt:40 Base address:0x6000



All times are GMT -5. The time now is 11:11 AM.