On Tue, 2006-06-20 at 01:29 +0200, Michael Buesch wrote:
> On Tuesday 20 June 2006 01:06, Daniel Gryniewicz wrote:
> > I took out 1G of RAM (2 1G sticks), and there was no more panic.  It
> > still didn't work (no output from iwlist scan), but also no panic.
> 
> Oh, well. That is going to get very difficult to debug remotely...
> I wonder what is actually causing the NULL pointer dereference.
> I don't think it is an invalid cookie, as that would have triggered
> assertion failures before the oops.
> Would have triggered one
>       assert(0);
> and one
>       assert(ring);
> But they were not there (Or did you strip them?)
> 

They were not there.  It is (in fact) hitting the assert(0) case, and
actually dying de-referencing ring in assert(*slot >= 0 && *slot <
ring->nr_slots);

I changed the assert() for bcm43xx to BUG(), and it BUG()s in the
assert(0) case in parse_cookie().  I tried using printk() to get info on
what cookie was, but it didn't actually print anything (which is why I
think the assert didn't show up either).

Daniel

_______________________________________________
Bcm43xx-dev mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to