* LInux kernel 3.0 sit creation bug report
@ 2011-07-23 16:27 Jay Rouman
2011-07-24 8:42 ` Eric Dumazet
0 siblings, 1 reply; 4+ messages in thread
From: Jay Rouman @ 2011-07-23 16:27 UTC (permalink / raw)
To: netdev, davem
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
--
Jay Rouman (jsr@dexter.mi.org jsr@edzone.net)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LInux kernel 3.0 sit creation bug report
2011-07-23 16:27 LInux kernel 3.0 sit creation bug report Jay Rouman
@ 2011-07-24 8:42 ` Eric Dumazet
2011-07-24 12:15 ` Jay Rouman
2011-07-24 15:40 ` Jay Rouman
0 siblings, 2 replies; 4+ messages in thread
From: Eric Dumazet @ 2011-07-24 8:42 UTC (permalink / raw)
To: jsr; +Cc: netdev, davem
Le samedi 23 juillet 2011 à 12:27 -0400, Jay Rouman a écrit :
> 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.
>
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LInux kernel 3.0 sit creation bug report
2011-07-24 8:42 ` Eric Dumazet
@ 2011-07-24 12:15 ` Jay Rouman
2011-07-24 15:40 ` Jay Rouman
1 sibling, 0 replies; 4+ messages in thread
From: Jay Rouman @ 2011-07-24 12:15 UTC (permalink / raw)
To: Eric Dumazet; +Cc: netdev, davem
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 (jsr@dexter.mi.org jsr@edzone.net)
/sbin/ifconfig sit0 inet6 tunnel ::<ip address>
> Le samedi 23 juillet 2011 ? 12:27 -0400, Jay Rouman a ?crit :
> > 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.
> >
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: LInux kernel 3.0 sit creation bug report
2011-07-24 8:42 ` Eric Dumazet
2011-07-24 12:15 ` Jay Rouman
@ 2011-07-24 15:40 ` Jay Rouman
1 sibling, 0 replies; 4+ messages in thread
From: Jay Rouman @ 2011-07-24 15:40 UTC (permalink / raw)
To: Eric Dumazet; +Cc: netdev, davem
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
> Le samedi 23 juillet 2011 ? 12:27 -0400, Jay Rouman a ?crit :
> > 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.
> >
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-24 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-23 16:27 LInux kernel 3.0 sit creation bug report Jay Rouman
2011-07-24 8:42 ` Eric Dumazet
2011-07-24 12:15 ` Jay Rouman
2011-07-24 15:40 ` Jay Rouman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox