Skip to contentSkip to conversation

e100 driver fails to initialize NIC on 2.5.44

BUG Rob Rhoads 1 participant 1 message Oct 23, 2002 Network drivers

lore
Share & tools
lore

Rob Rhoads

author
#0 lore raw

While booting the 2.5.44 kernel & configured with the Intel e100 driver, I get the follow error:

kernel: e100: hw init failed
kernel: e100: Failed to initialize, instance #0

I'm running this on an Intel STL2 server motherboard w/ 2 PIII's and 2.5 GB RAM. If you need more info I can provide it.

The patch below fixes my problem by increasing the maximum number of retries that the SCB command field is checked in the e100_wait_scb() function.

drivers/net/e100/e100.h +1 -1
diff -ruN linux-2.5.44/drivers/net/e100/e100.h linux-2.5.44-new/drivers/net/e100/e100.h
@@ -100,7 +100,7 @@
 
 #define E100_MAX_NIC 16
 
-#define E100_MAX_SCB_WAIT	100	/* Max udelays in wait_scb */
+#define E100_MAX_SCB_WAIT	2000	/* Max udelays in wait_scb */
 #define E100_MAX_CU_IDLE_WAIT	50	/* Max udelays in wait_cus_idle */
 
 /* HWI feature related constant */
Signature · 8 lines
Rob Rhoads                     mailto:[email protected]
Telecom Software Platforms
Intel Communications Group

<disclaimer value="pointless">
This email message solely contains my own personal views, 
and not necessarily those of my employer.
</disclaimer>