1 |
Hello, |
2 |
|
3 |
I'm having an odd problem with a server the company I work for bought |
4 |
that has these same two gigabit NICs and I'm running out of ideas on the |
5 |
subject. |
6 |
|
7 |
The server has eth0 as its public interface serving content to the |
8 |
internet and eth1 directly connected to a backup server. |
9 |
|
10 |
The first NIC is working properly but I can't get the second one to |
11 |
work. According to what the support people on the collocation facility |
12 |
told us both NICs show that the link status led is turned On and we've |
13 |
made them double check that the network cable isn't the cause of this |
14 |
problem. |
15 |
|
16 |
Both systems starts without reporting any errors and `ifconfig` also |
17 |
show both interfaces up. |
18 |
|
19 |
I've kept this server setup as simple as possible. Right now I'm running |
20 |
Gentoo Linux 2008.0 amd64 setup with kernel-2.6.28-gentoo-r1 but I also |
21 |
tried with the following kernel versions: |
22 |
2.6.27-gentoo-r7 |
23 |
2.6.27-gentoo-r8 |
24 |
and the kernel that comes with the Gentoo LiveCD |
25 |
|
26 |
The backup server is also running Gentoo Linux 2008.0 x86 setup with |
27 |
kerrnel-2.6.27-gentoo-r8. |
28 |
|
29 |
I'm using the driver e1000e for these NICs since it's the one suggested |
30 |
for these Intel cards and I've found lot of information about a problem |
31 |
on this driver that leads to the the firmware being corrupted. I don't |
32 |
think I'm affected though since the first card is working properly and |
33 |
I've dumped the eprom for both adapters and they doesn't show any |
34 |
difference. |
35 |
|
36 |
Basically this is the setup: |
37 |
server1 -> public |
38 |
server1 -> eth0 -> public interface |
39 |
server1 -> eth1 -> 192.168.0.1 |
40 |
|
41 |
server2 -> backup |
42 |
server2 -> eth0 -> public interface |
43 |
server2 -> eth1 -> 192.168.0.2 |
44 |
|
45 |
On the backup server if I do `ethtool eth1` it shows the link is being |
46 |
detected, but this doesn't happen on the first server that also reports: |
47 |
Speed: Unknown! (65535) |
48 |
Duplex: Unknown! (255) |
49 |
|
50 |
Please, any advice will be greatly appretiated. I've been searching for |
51 |
days on this without success. |
52 |
|
53 |
Below are details of both servers. |
54 |
|
55 |
|
56 |
########### |
57 |
# server1 # |
58 |
########### |
59 |
|
60 |
~ # lspci | grep Ethernet |
61 |
04:00.0 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit |
62 |
Ethernet Controller (Copper) (rev 01) |
63 |
04:00.1 Ethernet controller: Intel Corporation 80003ES2LAN Gigabit |
64 |
Ethernet Controller (Copper) (rev 01) |
65 |
|
66 |
|
67 |
~ # cat /etc/conf.d/net |
68 |
config_eth0=( |
69 |
'XX.XXX.XX.202 netmask 255.255.255.248 broadcast XX.XXX.XX.207' |
70 |
... |
71 |
'XX.XXX.XX.206 netmask 255.255.255.248 broadcast XX.XXX.XX.207' |
72 |
) |
73 |
routes_eth0='default via XX.XXX.XX.201' |
74 |
dns_domain_eth0='domain.net' |
75 |
|
76 |
config_eth1=( |
77 |
"192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255" |
78 |
) |
79 |
|
80 |
|
81 |
~ # ifconfig |
82 |
eth0 Link encap:Ethernet HWaddr 00:a0:d1:e8:3b:68 |
83 |
inet addr:XX.XXX.XX.202 Bcast:XX.XXX.XX.207 |
84 |
Mask:255.255.255.248 |
85 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
86 |
RX packets:83081438 errors:0 dropped:0 overruns:0 frame:0 |
87 |
TX packets:89444857 errors:0 dropped:0 overruns:0 carrier:0 |
88 |
collisions:0 txqueuelen:100 |
89 |
RX bytes:30092415043 (28.0 GiB) TX bytes:75609832692 (70.4 GiB) |
90 |
Memory:fc8e0000-fc900000 |
91 |
|
92 |
... |
93 |
|
94 |
eth0:4 Link encap:Ethernet HWaddr 00:a0:d1:e8:3b:68 |
95 |
inet addr:XX.XXX.XX.206 Bcast:XX.XXX.XX.207 |
96 |
Mask:255.255.255.248 |
97 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
98 |
Memory:fc8e0000-fc900000 |
99 |
|
100 |
eth1 Link encap:Ethernet HWaddr 00:a0:d1:e8:3b:69 |
101 |
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 |
102 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
103 |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
104 |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 |
105 |
collisions:0 txqueuelen:1000 |
106 |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
107 |
Memory:fc8c0000-fc8e0000 |
108 |
|
109 |
lo Link encap:Local Loopback |
110 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
111 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
112 |
RX packets:11233495 errors:0 dropped:0 overruns:0 frame:0 |
113 |
TX packets:11233495 errors:0 dropped:0 overruns:0 carrier:0 |
114 |
collisions:0 txqueuelen:0 |
115 |
RX bytes:6664273827 (6.2 GiB) TX bytes:6664273827 (6.2 GiB) |
116 |
|
117 |
|
118 |
~ # ethtool eth0 |
119 |
Settings for eth0: |
120 |
Supported ports: [ TP ] |
121 |
Supported link modes: 10baseT/Half 10baseT/Full |
122 |
100baseT/Half 100baseT/Full |
123 |
1000baseT/Full |
124 |
Supports auto-negotiation: Yes |
125 |
Advertised link modes: 10baseT/Half 10baseT/Full |
126 |
100baseT/Half 100baseT/Full |
127 |
1000baseT/Full |
128 |
Advertised auto-negotiation: Yes |
129 |
Speed: 100Mb/s |
130 |
Duplex: Full |
131 |
Port: Twisted Pair |
132 |
PHYAD: 1 |
133 |
Transceiver: internal |
134 |
Auto-negotiation: on |
135 |
Supports Wake-on: pumbag |
136 |
Wake-on: g |
137 |
Current message level: 0x00000001 (1) |
138 |
Link detected: yes |
139 |
|
140 |
|
141 |
~ # ethtool eth1 |
142 |
Settings for eth1: |
143 |
Supported ports: [ TP ] |
144 |
Supported link modes: 10baseT/Half 10baseT/Full |
145 |
100baseT/Half 100baseT/Full |
146 |
1000baseT/Full |
147 |
Supports auto-negotiation: Yes |
148 |
Advertised link modes: 100baseT/Full |
149 |
Advertised auto-negotiation: Yes |
150 |
Speed: Unknown! (65535) |
151 |
Duplex: Unknown! (255) |
152 |
Port: Twisted Pair |
153 |
PHYAD: 1 |
154 |
Transceiver: internal |
155 |
Auto-negotiation: on |
156 |
Supports Wake-on: pumbag |
157 |
Wake-on: g |
158 |
Current message level: 0x00000001 (1) |
159 |
Link detected: no |
160 |
|
161 |
|
162 |
|
163 |
~ # cat /etc/modules.autoload.d/kernel-2.6 |
164 |
# crc-itu-t |
165 |
# zlib_inflate |
166 |
i2c-dev |
167 |
i2c-core |
168 |
i2c-i801 |
169 |
# e1000 |
170 |
e1000e |
171 |
# intel-agp |
172 |
ipmi_watchdog |
173 |
ipmi_si |
174 |
ipmi_msghandler |
175 |
ipmi_devintf |
176 |
ipmi_poweroff |
177 |
# sr_mod |
178 |
# scsi_wait_scan |
179 |
# brd |
180 |
# cdrom |
181 |
coretemp |
182 |
w83627hf |
183 |
# iTCO_wdt |
184 |
# i6300esb |
185 |
|
186 |
|
187 |
|
188 |
|
189 |
########### |
190 |
# server2 # |
191 |
########### |
192 |
|
193 |
~ # lspci | grep Ethernet |
194 |
02:0c.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet |
195 |
Pro 100 (rev 0d) |
196 |
02:0d.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet |
197 |
Pro 100 (rev 0d) |
198 |
|
199 |
|
200 |
~ # cat /etc/conf.d/net |
201 |
config_eth0=( |
202 |
'XX.XXX.XX.219 netmask 255.255.255.248 broadcast XX.XXX.XX.223' |
203 |
... |
204 |
'65.254.49.202 netmask 255.255.255.248 broadcast 65.254.49.207' |
205 |
|
206 |
) |
207 |
routes_eth0='default via XX.XXX.XX.217' |
208 |
dns_domain_eth0='domain.net' |
209 |
|
210 |
config_eth1=( |
211 |
"192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" |
212 |
) |
213 |
|
214 |
|
215 |
~ # ifconfig |
216 |
eth0 Link encap:Ethernet HWaddr 00:0c:f1:a7:78:a9 |
217 |
inet addr:XX.XXX.XX.219 Bcast:XX.XXX.XX.223 |
218 |
Mask:255.255.255.248 |
219 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
220 |
RX packets:8429827 errors:0 dropped:0 overruns:0 frame:0 |
221 |
TX packets:5553672 errors:0 dropped:0 overruns:0 carrier:0 |
222 |
collisions:0 txqueuelen:1000 |
223 |
RX bytes:633873160 (604.5 MiB) TX bytes:485576160 (463.0 MiB) |
224 |
|
225 |
... |
226 |
|
227 |
eth0:3 Link encap:Ethernet HWaddr 00:0c:f1:a7:78:a9 |
228 |
inet addr:XX.XXX.XX.222 Bcast:XX.XXX.XX.223 |
229 |
Mask:255.255.255.248 |
230 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
231 |
|
232 |
eth1 Link encap:Ethernet HWaddr 00:0c:f1:a7:78:ab |
233 |
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 |
234 |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
235 |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 |
236 |
TX packets:1547 errors:0 dropped:0 overruns:0 carrier:0 |
237 |
collisions:0 txqueuelen:1000 |
238 |
RX bytes:0 (0.0 B) TX bytes:64974 (63.4 KiB) |
239 |
|
240 |
lo Link encap:Local Loopback |
241 |
inet addr:127.0.0.1 Mask:255.0.0.0 |
242 |
UP LOOPBACK RUNNING MTU:16436 Metric:1 |
243 |
RX packets:4529 errors:0 dropped:0 overruns:0 frame:0 |
244 |
TX packets:4529 errors:0 dropped:0 overruns:0 carrier:0 |
245 |
collisions:0 txqueuelen:0 |
246 |
RX bytes:2813334 (2.6 MiB) TX bytes:2813334 (2.6 MiB) |
247 |
|
248 |
|
249 |
~ # ethtool eth0 |
250 |
Settings for eth0: |
251 |
Supported ports: [ TP MII ] |
252 |
Supported link modes: 10baseT/Half 10baseT/Full |
253 |
100baseT/Half 100baseT/Full |
254 |
Supports auto-negotiation: Yes |
255 |
Advertised link modes: 10baseT/Half 10baseT/Full |
256 |
100baseT/Half 100baseT/Full |
257 |
Advertised auto-negotiation: Yes |
258 |
Speed: 100Mb/s |
259 |
Duplex: Full |
260 |
Port: MII |
261 |
PHYAD: 1 |
262 |
Transceiver: internal |
263 |
Auto-negotiation: on |
264 |
Supports Wake-on: g |
265 |
Wake-on: g |
266 |
Current message level: 0x00000007 (7) |
267 |
Link detected: yes |
268 |
|
269 |
|
270 |
~ # ethtool eth1 |
271 |
Settings for eth1: |
272 |
Supported ports: [ TP MII ] |
273 |
Supported link modes: 10baseT/Half 10baseT/Full |
274 |
100baseT/Half 100baseT/Full |
275 |
Supports auto-negotiation: Yes |
276 |
Advertised link modes: 10baseT/Half 10baseT/Full |
277 |
100baseT/Half 100baseT/Full |
278 |
Advertised auto-negotiation: Yes |
279 |
Speed: 100Mb/s |
280 |
Duplex: Full |
281 |
Port: MII |
282 |
PHYAD: 1 |
283 |
Transceiver: internal |
284 |
Auto-negotiation: on |
285 |
Supports Wake-on: g |
286 |
Wake-on: g |
287 |
Current message level: 0x00000001 (1) |
288 |
Link detected: yes |