Re: CVS version hangs the computer

From: Erik Walthinsen (
Date: 2002-08-31 23:01:53 UTC

On Sat, 31 Aug 2002, Erik Walthinsen wrote:

> With the latest CVS (~2300hr Aug 31) I have an oops as soon as a client
> tries to talk to the AP. The oops trace is worthless, but it starts out
> as a "BUG in skbuff.c:92", which is during skb_put(). I'll see if I can
> track it down to a specific call from the hostap driver.

Another slightly different oops let me track it better, with my debugging showing:

about to call skb_put() at driver/modules/hostap_hw.c:2482 in prism2_rx rxdesc skput:over: c10310cf:0 put:60 dev:<NULL>kernel BuG at skbuff.c:92! invalid operand: 0000

The relevant code (this is Aug 19 CVS atm) is:

prism2_rx() { ...

                        skb = dev_alloc_skb(sizeof(*rxdesc) + len);
                        if (!skb) {
                                printk(KERN_DEBUG "%s: RX failed to allocate "
                                       "skb for management frame\n",
                                goto rx_dropped;
                        debug_skb_put("prism2_rx rxdesc");
                        memcpy(skb_put(skb, sizeof(*rxdesc)), rxdesc,
                        debug_skb_put("prism2_rx skb");
                        res = hfa384x_from_bap(dev, BAP1, skb_put(skb, len),

I'm going to dive into what the actual BUG() is, but it could take a while since I've never messed with the kernel networking code. If someone else happens to know what's going on, that'd be great ;-) I'll update to latest CVS first though, obviously.

      Erik Walthinsen <> - System Administrator
       /  \                GStreamer - The only way to stream!
      |    | M E G A        ***** *****
      _\  /_

This archive was generated by hypermail 2.1.4.