Re: Linuv 2.6.15-rc1

Zilvinas Valinskas
2005-11-16T12:30:42Z

Hello Pekka,

Ok , I will revert previous fix and apply the new patch you had sent.
Also I can confirm that previous patch indeed doesn't fix the problem.
Anyway please look through trace.3 perhaps you will find anything
useful ;)

Any bits to turn on for debugging when loading module (I have now
debug=0x10000, to see f/w loading/restart problems ...).

I am off to compile new kernel ...

Z.

On Wed, Nov 16, 2005 at 02:18:48PM +0200, Pekka J Enberg wrote:
> Hi Zilvinas,
>
> On Wed, 16 Nov 2005, Zilvinas Valinskas wrote:
> > I just have noticed there are messages logged on Nov 3rd ... Doh! Please
> > see the latest logged message :
> >
> > http://www.gemtek.lt/~zilvinas/dumps/trace.2
>
> The patch I sent to you won't fix the above error. Please try this patch
> instead. I think the driver is in a middle of a reset when
> wpa_supplicant() causes ipw_request_direct_scan() to trigger.
>
> Pekka
>
> Index: 2.6/drivers/net/wireless/ipw2200.c
> ===================================================================
> --- 2.6.orig/drivers/net/wireless/ipw2200.c
> +++ 2.6/drivers/net/wireless/ipw2200.c
> @@ -8926,6 +8926,10 @@ static int ipw_request_direct_scan(struc
> struct ipw_scan_request_ext scan;
> int err = 0, scan_type;
>
> + if (!(priv->status & STATUS_INIT) ||
> + (priv->status & STATUS_EXIT_PENDING))
> + return 0;
> +
> down(&priv->sem);
>
> if (priv->status & STATUS_RF_KILL_MASK) {
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/