[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <538374E4.7010401@lwfinger.net>
Date: Mon, 26 May 2014 12:07:48 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Jet Chen <jet.chen@...el.com>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
devel@...verdev.osuosl.org, Fengguang Wu <fengguang.wu@...el.com>
Subject: Re: [staging: r8192ee] WARNING: CPU: 0 PID: 1 at net/mac80211/rate.c:43
ieee80211_rate_control_register()
On 05/26/2014 09:55 AM, Jet Chen wrote:
Jet,
> 0day kernel testing robot got the below dmesg and the first bad commit is
>
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next
> commit 0629f3b8c33899140b48d5897259eab8ebae78ca
> Author: Larry Finger <Larry.Finger@...inger.net>
> AuthorDate: Wed May 21 16:25:36 2014 -0500
> Commit: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> CommitDate: Fri May 23 11:33:56 2014 +0900
>
> staging: r8192ee: Turn on build of the new driver
> In addition, this commit contains a TODO file for this driver
> Signed-off-by: Larry Finger <Larry.Finger@...inger.net>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
The splat comes from the driver trying to register a rate-control algorithm that
is already registered. That could happen because a driver is calling the
registration routine twice, or because more than one driver is using the same
routine name. As I think there is code to prevent the former, and I have never
seen that splat here, I suspect that more than one driver has used the name. On
my real hardware, I can only have one of these devices in the machine at a time.
Is if possible to test the attached patch to see if it fixes the problem? If
not, could you get a listing of the loaded modules at the time of the splat? If
this is not the fix, I will try to duplicate it here.
Thanks,
Larry
View attachment "0001-staging-r8192ee-Fix-kernel-WARN-splat-associated-wit.patch" of type "text/x-patch" (1432 bytes)
Powered by blists - more mailing lists