Skip to contentSkip to conversation

LInux kernel 3.0 sit creation bug report

DISCUSSION Jay Rouman 2 participants 4 messages Jul 23, 2011 – Jul 24, 2011

Subsystems (2)
lore
Share & tools
lore

Jay Rouman

author
#0 lore raw

Kernel 3.0 (release version)
Summary: sit tunnel creation fails with "No buffer space available"

Example:

icebox:/home/u/jsr(3)# /sbin/ip tunnel add sit0 mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
add tunnel sit0 failed: No buffer space available
icebox:/home/u/jsr(8)# /sbin/ifconfig sit0 inet6 tunnel ::209.51.18.1
SIOCSIFDSTADDR: No buffer space available

Notes:

Oddly, the ifconfig example creates a working sit0. The "ip" example does not. The problem existed in rc1 but unfortunately I did not test sit creation then. This was discovered when I upgraded a machine with an HE tunnel to the 3.0 kernel. I am happy to do further testing or provide whatever additional info I can.

Environment:

icebox:/home/u/jsr(12)# cat /etc/slackware-version
Slackware 13.37.0
icebox:/home/u/jsr(11)# /usr/src/linux/scripts/ver_linux
Linux icebox 3.0.0 #1 SMP Fri Jul 22 08:07:55 EDT 2011 i686 AMD Duron(tm) processor AuthenticAMD GNU/Linux
Gnu C                  4.5.2
Gnu make               3.82
binutils               2.21.51.0.6.20110118
util-linux             2.19
mount                  support
module-init-tools      3.12
e2fsprogs              1.41.14
jfsutils               1.1.15
reiserfsprogs          3.6.21
xfsprogs               3.1.4
pcmciautils            017
quota-tools            3.17.
PPP                    2.4.5
Linux C Library        2.13
Dynamic linker (ldd)   2.13
Linux C++ Library      6.0.14
Procps                 3.2.8
Net-tools              1.60
Kbd                    1.15.2
oprofile               0.9.6
Sh-utils               8.11
icebox:/home/u/jsr(14)# cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : AMD Duron(tm) processor
stepping        : 1
cpu MHz         : 1797.443
cache size      : 64 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow up
bogomips        : 3594.88
clflush size    : 32
cache_alignment : 32
address sizes   : 34 bits physical, 32 bits virtual
power management: ts
Signature · 1 line
Jay Rouman ([email protected] [email protected])
#1 lore raw
Quoted 11 lines · Jay Rouman

Kernel 3.0 (release version)
Summary: sit tunnel creation fails with "No buffer space available"

Example:

icebox:/home/u/jsr(3)# /sbin/ip tunnel add sit0 mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
add tunnel sit0 failed: No buffer space available
icebox:/home/u/jsr(8)# /sbin/ifconfig sit0 inet6 tunnel ::209.51.18.1
SIOCSIFDSTADDR: No buffer space available
Quoted 8 lines

Notes:

Oddly, the ifconfig example creates a working sit0. The "ip" example does not. The problem existed in rc1 but unfortunately I did not test sit creation then. This was discovered when I upgraded a machine with an HE tunnel to the 3.0 kernel. I am happy to do further testing or provide whatever additional info I can.

I believe you use a deprecated (~10 years ago ?) way to setup your tunnel, its not a linux-3.0 new behavior.

sit0 is reserved (fall back tunnel), you should use a different name.

Try :

# ip tunnel add aster mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
# ifconfig aster up
# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
aster: ipv6/ip  remote 209.51.18.1  local 216.111.203.89  ttl 255 
author
#2 lore raw

Thank you for the reply. I was not aware that sit0 was deprecated, but something has changed in 3.0. The "SIOCSIFDSTADDR: No buffer space available" error does not happen in 2.6.39. The Linux-net-tools command creates a working tunnel to Hurricane Electric's tunnel broker, even though the error message is generated. I have tried the route-2 commands and while they work without error, I can't get the tunnel to function. I get I never tried the route-2 (/bin/ip) setup in 2.6.39. --
Jay Rouman ([email protected] [email protected])

/sbin/ifconfig sit0 inet6 tunnel ::<ip address>

Quoted 34 lines

Le samedi 23 juillet 2011 ? 12:27 -0400, Jay Rouman a ?crit :

Quoted 11 lines

Kernel 3.0 (release version)
Summary: sit tunnel creation fails with "No buffer space available"

Example:

icebox:/home/u/jsr(3)# /sbin/ip tunnel add sit0 mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
add tunnel sit0 failed: No buffer space available
icebox:/home/u/jsr(8)# /sbin/ifconfig sit0 inet6 tunnel ::209.51.18.1
SIOCSIFDSTADDR: No buffer space available
Quoted 8 lines

Notes:

Oddly, the ifconfig example creates a working sit0. The "ip" example does not. The problem existed in rc1 but unfortunately I did not test sit creation then. This was discovered when I upgraded a machine with an HE tunnel to the 3.0 kernel. I am happy to do further testing or provide whatever additional info I can.

I believe you use a deprecated (~10 years ago ?) way to setup your tunnel, its not a linux-3.0 new behavior.

sit0 is reserved (fall back tunnel), you should use a different name.

Try :

# ip tunnel add aster mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
# ifconfig aster up
# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
aster: ipv6/ip  remote 209.51.18.1  local 216.111.203.89  ttl 255 
author
#3 lore raw
In reply to Eric Dumazet

I got the route2 configuration to work. Sorry for the bother. There does seem to be a change in behavior as noted between 2.6.39 and 3.0 when using ifconfig and sit0. Perhaps this was intended.

--Jay Rouman

Quoted 34 lines

Le samedi 23 juillet 2011 ? 12:27 -0400, Jay Rouman a ?crit :

Quoted 11 lines

Kernel 3.0 (release version)
Summary: sit tunnel creation fails with "No buffer space available"

Example:

icebox:/home/u/jsr(3)# /sbin/ip tunnel add sit0 mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
add tunnel sit0 failed: No buffer space available
icebox:/home/u/jsr(8)# /sbin/ifconfig sit0 inet6 tunnel ::209.51.18.1
SIOCSIFDSTADDR: No buffer space available
Quoted 8 lines

Notes:

Oddly, the ifconfig example creates a working sit0. The "ip" example does not. The problem existed in rc1 but unfortunately I did not test sit creation then. This was discovered when I upgraded a machine with an HE tunnel to the 3.0 kernel. I am happy to do further testing or provide whatever additional info I can.

I believe you use a deprecated (~10 years ago ?) way to setup your tunnel, its not a linux-3.0 new behavior.

sit0 is reserved (fall back tunnel), you should use a different name.

Try :

# ip tunnel add aster mode sit local 216.111.203.89 remote 209.51.18.1 ttl 255
# ifconfig aster up
# ip tunnel
sit0: ipv6/ip  remote any  local any  ttl 64  nopmtudisc
aster: ipv6/ip  remote 209.51.18.1  local 216.111.203.89  ttl 255