[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHrpEqQybjkXOppbFvXrouqheV6NT06vd_Og5JJtmOfzY0_7Yg@mail.gmail.com>
Date: Mon, 6 May 2013 15:47:53 +0800
From: Frank Li <lznuaa@...il.com>
To: David Miller <davem@...emloft.net>
Cc: "Frank.Li@...escale.com" <Frank.Li@...escale.com>,
Francois Romieu <romieu@...zoreil.com>,
Robert Schwebel <r.schwebel@...gutronix.de>,
Lucas Stach <l.stach@...gutronix.de>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Fabio Estevam <festevam@...il.com>,
Shawn Guo <shawn.guo@...aro.org>
Subject: Re: [PATCH v3 1/1 net] net: fec: fix kernel oops when plug/unplug
cable many times
2013/5/3 David Miller <davem@...emloft.net>:
> From: Frank Li <Frank.Li@...escale.com>
> Date: Thu, 2 May 2013 08:55:38 +0800
>
>> reproduce steps
>> 1. flood ping from other machine
>> ping -f -s 41000 IP
>> 2. run below script
>> while [ 1 ]; do ethtool -s eth0 autoneg off;
>> sleep 3;ethtool -s eth0 autoneg on; sleep 4; done;
>>
>> You can see oops in one hour.
>>
>> The reason is fec_restart clear BD but NAPI may use it.
>> The solution is disable NAPI and stop xmit when reset BD.
>> disable NAPI may sleep, so fec_restart can't be call in
>> atomic context.
>>
>> Signed-off-by: Frank Li <Frank.Li@...escale.com>
>
> Please respin this against the current 'net' tree.
MX6 can't bootup at net and net-next tree.
I am identifying the reason.
>
> Thanks!
--
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