kernel NULL pointer dereference in lbs_set_11d_domain_info (3.0-rc6)

Pavel Roskin proski at gnu.org
Mon Jul 11 17:04:30 EDT 2011


On 07/11/2011 11:59 AM, Sven Neumann wrote:
> Hi,
>
> we are using a PXA device and I am observing sporadic crashes after
> resume from suspend with 3.0-rc6:
>
>
> [ 1296.027645] PM: resume of devices complete after 296.440 msecs
> [ 1296.284633] Restarting tasks ...
> [ 1296.320276] done.
> [ 1296.421618] mmc0: new SDIO card at address 0001
> [ 1297.312570] libertas_sdio mmc0:0001:1: (unregistered net_device): 00:19:88:11:db:67, fw 9.70.7p0, cap 0x00000303

I think the trouble starts with "unregistered net_device".  It looks 
like some structures in memory are corrupted.  Debugging that may be 
tricky.  I think the first step would be to print stack where that 
message is printed in lbs_update_hw_spec().  Also, add statements to 
print priv and priv->dev at that point.  You should be able to compare 
the pointers before and after the suspend.

Once you find what is corrupted, go up the stack and see where the 
corruption happens.

-- 
Regards,
Pavel Roskin



More information about the libertas-dev mailing list