mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: [BUG] e100 driver fails to initialize NIC on 2.5.44
@ 2002-10-23 20:07 Feldman, Scott
  2002-10-23 23:28 ` Rob Rhoads
  0 siblings, 1 reply; 3+ messages in thread
From: Feldman, Scott @ 2002-10-23 20:07 UTC (permalink / raw)
  To: 'Rob Rhoads'; +Cc: linux-kernel

Rob Rhoads wrote:
> -#define E100_MAX_SCB_WAIT	100	/* Max udelays in wait_scb */
> +#define E100_MAX_SCB_WAIT	2000	/* Max udelays in wait_scb */

I'm not in favor of increasing a hardware timeout value 20x without knowing
root-cause of the failure.  What is unique about your environment?  I'd like
to know if there are others out there that have run into this same failure.
List?

-scott

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [BUG] e100 driver fails to initialize NIC on 2.5.44
@ 2002-10-23  3:10 Rob Rhoads
  0 siblings, 0 replies; 3+ messages in thread
From: Rob Rhoads @ 2002-10-23  3:10 UTC (permalink / raw)
  To: scott.feldman; +Cc: linux-kernel

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.

diff -ruN linux-2.5.44/drivers/net/e100/e100.h linux-2.5.44-new/drivers/net/e100/e100.h
--- linux-2.5.44/drivers/net/e100/e100.h	2002-10-18 21:01:20.000000000 -0700
+++ linux-2.5.44-new/drivers/net/e100/e100.h	2002-10-22 14:25:24.000000000 -0700
@@ -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 */

-- 
Rob Rhoads                     mailto:errhoads@linux.intel.com
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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-23 23:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 20:07 [BUG] e100 driver fails to initialize NIC on 2.5.44 Feldman, Scott
2002-10-23 23:28 ` Rob Rhoads
  -- strict thread matches above, loose matches on Subject: below --
2002-10-23  3:10 Rob Rhoads

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®