forcedeth: reversed mac [kernel 2.6.30.5]

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

 



Hi!
At my university I have to update a pool of linux-computers and I
encountered a strange problem with the forcedeth driver. 
The MAC is reversed or a random one is picked.
btw: on some machines the reversed address is not detected as invalid..

All computers are Shuttle XPC Barebones SN95G5 with a NForce3 Ultra
Chipset, network on board

Previously thes computers ran Linux 2.6.24
>From dmesg:
[   37.383052] forcedeth: Reverse Engineered nForce ethernet driver.  Version 0.61.
[   37.903482] forcedeth 0000:00:05.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:30:1b:b8:65:ed
[   37.903489] forcedeth 0000:00:05.0: csum timirq gbit lnktim desc-v2

root@xpc1:~# lspci -vvv -nn -s 0000:00:05.0
00:05.0 Bridge [0680]: nVidia Corporation CK8S Ethernet Controller [10de:00df] (rev a2)
	Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer Unknown device [1297:a551]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0 (250ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at ee000000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at e100 [size=8]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=0 PME-

root@xpc1:~# ethtool -d eth0
Offset	Values
--------	-----
000:	 00 00 00 00 ff 00 00 00 03 00 00 00 ca 03 18 03
010:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
020:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
030:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
040:	 0e e2 20 04 55 08 00 00 00 00 00 00 00 00 00 00
050:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
060:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
070:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
080:	 3c 0f 3b 00 01 00 00 00 00 00 04 00 28 00 7f 00
090:	 1c 06 00 00 01 00 00 00 00 00 00 00 72 7f 00 00
0a0:	 0f 05 14 00 16 00 00 00 00 30 1b b8 65 ed 00 00
0b0:	 01 00 00 00 00 01 00 00 cd cc 00 47 9a 01 00 00
0c0:	 02 00 00 10 01 00 00 00 01 00 00 00 01 00 00 00
0d0:	 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0e0:	 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0f0:	 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
100:	 00 e4 87 3f 00 e0 87 3f ff 00 7f 00 00 80 00 00
110:	 32 00 01 00 00 00 00 00 01 00 00 00 68 e4 87 3f
120:	 e0 e2 87 3f c0 05 e9 35 f3 ff 00 a0 10 40 5d 3f
130:	 1c 06 00 80 6c e4 87 3f 5c e2 87 3f 00 80 e0 0f
140:	 c0 41 30 00 00 25 00 40 00 00 00 00 00 00 00 00
150:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
160:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
170:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
180:	 06 00 00 00 08 00 00 00 69 79 94 01 03 81 00 00
190:	 2a 00 00 00 00 7c 00 00 6b 79 94 01 03 fd 00 00
1a0:	 06 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
1b0:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
1c0:	 0e 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
1d0:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
1e0:	 0e 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
1f0:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
200:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
210:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
220:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
230:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
240:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
250:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
260:	 00 00 00 00 00 00 00 00 01 00 02 fe 00 01 00 00




now with Linux 2.6.30.5:

root@generic-x86-ltsp:~# dmesg | grep forcedeth
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
forcedeth 0000:00:05.0: PCI INT A -> Link[APCH] -> GSI 22 (level, high) -> IRQ 22
forcedeth 0000:00:05.0: setting latency timer to 64
forcedeth 0000:00:05.0: Invalid Mac address detected: ed:65:b8:1b:30:00
forcedeth 0000:00:05.0: Please complain to your hardware vendor. Switching to a random MAC.
forcedeth 0000:00:05.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:00:6c:44:30:88
forcedeth 0000:00:05.0: csum timirq gbit lnktim desc-v2

root@generic-x86-ltsp:~# lspci -vvv -nn -s 00:05.0
00:05.0 Class [0200]: Device [10de:00e6] (rev a2)
	Subsystem: Device [1297:a551]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0 (250ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 22
	Region 0: Memory at ee000000 (32-bit, non-prefetchable) [size=4K]
	Region 1: I/O ports at e100 [size=8]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=0 PME-
	Kernel driver in use: forcedeth
	Kernel modules: forcedeth

root@generic-x86-ltsp:~# ./ethtool -d eth0
Offset	Values
--------	-----
000:	 00 00 00 00 ff 00 00 00 03 00 00 00 ff ff c5 c3
010:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
020:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
030:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
040:	 0e e2 20 04 55 08 00 00 00 00 00 00 00 00 00 00
050:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
060:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
070:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
080:	 3c 0f 3b 00 01 00 00 00 00 00 04 00 28 00 7f 00
090:	 1c 06 00 00 01 00 00 00 00 00 00 00 78 ff 03 80
0a0:	 0f 05 14 00 16 00 00 00 00 00 6c 44 30 88 00 00
0b0:	 01 00 5e 00 00 01 00 00 ff ff ff ff ff ff 00 00
0c0:	 02 00 00 10 01 00 00 00 01 00 00 00 01 00 00 00
0d0:	 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0e0:	 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0f0:	 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
100:	 00 10 85 2f 00 00 85 2f ff 00 ff 01 00 80 00 00
110:	 32 00 01 00 00 00 00 00 31 00 00 00 40 10 85 2f
120:	 60 07 85 2f 40 00 fd 2f f4 ff 00 a0 20 10 91 2f
130:	 1c 06 00 80 44 10 85 2f e4 06 85 2f 00 80 e0 0f
140:	 c0 41 30 00 00 25 00 40 00 00 00 00 00 00 00 00
150:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
160:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
170:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
180:	 06 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
190:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
1a0:	 06 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
1b0:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
1c0:	 06 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
1d0:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
1e0:	 06 00 00 00 08 00 00 00 6d 79 94 01 03 81 00 00
1f0:	 2a 00 00 00 00 7c 00 00 6f 79 94 01 03 fd 00 00
200:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
210:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
220:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
230:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
240:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
250:	 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
260:	 00 00 00 00 00 00 00 00 01 00 02 fe 00 01 00 00


modprobe forcedeth while "7 7 7 7" in /proc/sys/kernel/printk:
forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
forcedeth 0000:00:05.0: PCI INT A -> Link[APCH] -> GSI 22 (level, high) -> IRQ 22
forcedeth 0000:00:05.0: setting latency timer to 64
nv_probe: set workaround bit for reversed mac addr
forcedeth 0000:00:05.0: Invalid Mac address detected: ed:65:b8:1b:30:00
forcedeth 0000:00:05.0: Please complain to your hardware vendor. Switching to a random MAC.
forcedeth 0000:00:05.0: ifname eth0, PHY OUI 0x5043 @ 1, addr 00:00:6c:0b:83:43
forcedeth 0000:00:05.0: csum timirq gbit lnktim desc-v2




-- 
Jörg Friedrich

There are only 10 types of people:
Those who understand binary and those who don't.
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux