[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101008.103112.189689736.davem@davemloft.net>
Date: Fri, 08 Oct 2010 10:31:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: oskar@...utronix.de
Cc: netdev@...r.kernel.org, dan@...eddedalley.com,
bigeasy@...utronix.de, hjk@...utronix.de
Subject: Re: [PATCH] net/fec: carrier off initially to avoid root mount
failure
From: Oskar Schirmer <oskar@...utronix.de>
Date: Thu, 7 Oct 2010 14:30:30 +0200
> with hardware slow in negotiation, the system did freeze
> while trying to mount root on nfs at boot time.
>
> the link state has not been initialised so network stack
> tried to start transmission right away. this caused instant
> retries, as the driver solely stated business upon link down,
> rendering the system unusable.
>
> notify carrier off initially to prevent transmission until
> phylib will report link up.
>
> Signed-off-by: Oskar Schirmer <oskar@...utronix.de>
Maybe fs_enet_open() is a better place for this netif_carrier_off()
call?
Every open the driver probes the PHY and does phy_start().
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists