Skip to contentSkip to conversation

KERNEL: assertion (!sk->sk_forward_alloc) failed

DISCUSSION Mark Nipper 3 participants 3 messages Nov 28, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I received the following in my system logs recently:
---

Nov 27 22:56:20 king kernel: KERNEL: assertion (!sk->sk_forward_alloc) failed at net/core/stream.c (279)
Nov 27 22:56:20 king kernel: KERNEL: assertion (!sk->sk_forward_alloc) failed at net/ipv4/af_inet.c (151)

All I could find related to this was some potential bugs
mentioned in 2.6.9 and in particular with relation to TSO. However, I'm running a vanilla 2.6.13.4 at the moment. But, I do have an e1000 and checking ethtool does show TSO on.

Anyway, ignore if this is unimportant. The machine is
still up and running, so it doesn't appear to be fatal. Let me know if you need my .config or output from dmesg or whatever. I guess I'll upgrade to 2.6.14.? or wait for 2.6.15.[12] just to be safe!

Signature · 17 lines
Mark Nipper                                                e-contacts:
832 Tanglewood Drive                                [email protected]
Bryan, Texas 77802-4013                     http://nipsy.bitgnome.net/
(979)575-3193                      AIM/Yahoo: texasnipsy ICQ: 66971617

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GG/IT d- s++:+ a- C++$ UBL++++$ P--->+++ L+++$ !E---
W++(--) N+ o K++ w(---) O++ M V(--) PS+++(+) PE(--)
Y+ PGP t+ 5 X R tv b+++@ DI+(++) D+ G e h r++ y+(**)
------END GEEK CODE BLOCK------

---begin random quote of the moment---
"They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety."
 -- Benjamin Franklin, _Historical Review of Pennsylvania_, 1759
----end random quote of the moment----
#1 lore raw

In article <[email protected]>,

Quoted 11 lines · Mark Nipper

I received the following in my system logs recently:
---

Nov 27 22:56:20 king kernel: KERNEL: assertion (!sk->sk_forward_alloc)
failed at net/core/stream.c (279)
Nov 27 22:56:20 king kernel: KERNEL: assertion (!sk->sk_forward_alloc)

failed at net/ipv4/af_inet.c (151)

All I could find related to this was some potential bugs
mentioned in 2.6.9 and in particular with relation to TSO. However, I'm running a vanilla 2.6.13.4 at the moment. But, I do have an e1000 and checking ethtool does show TSO on.

I'm seeing the same on 2.6.14.2, also with e1000. It wasn't there on 2.6.11.12 which I was running previously.

# dmesg | tail -4
KERNEL: assertion (!sk->sk_forward_alloc) failed at net/core/stream.c (279)
KERNEL: assertion (!sk->sk_forward_alloc) failed at net/ipv4/af_inet.c (148)
KERNEL: assertion (!sk->sk_forward_alloc) failed at net/core/stream.c (279)
KERNEL: assertion (!sk->sk_forward_alloc) failed at net/ipv4/af_inet.c (148)
# ethtool -k eth0
Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on

Mike.

#2 lore raw

This should really be on netdev, so I copied it.

Quoted 9 lines · Miquel van Smoorenburg

In article <[email protected]>,

Quoted 7 lines · Mark Nipper

I received the following in my system logs recently:
---

Nov 27 22:56:20 king kernel: KERNEL: assertion (!sk->sk_forward_alloc)
failed at net/core/stream.c (279)
Nov 27 22:56:20 king kernel: KERNEL: assertion (!sk->sk_forward_alloc)

failed at net/ipv4/af_inet.c (151)

Quoted 7 lines
Quoted 4 lines

All I could find related to this was some potential bugs
mentioned in 2.6.9 and in particular with relation to TSO. However, I'm running a vanilla 2.6.13.4 at the moment. But, I do have an e1000 and checking ethtool does show TSO on.

I'm seeing the same on 2.6.14.2, also with e1000. It wasn't there on 2.6.11.12 which I was running previously.

I don't believe this is related to e1000 because we don't mess with the sock (sk) struct. Did you try disabling TSO? I bet the netdev guys can help.