2002-08-02 19:33:21

by Florian Lohoff

[permalink] [raw]
Subject: 2.4.18 sparc ipv6 over ipv4 broken ?


Hi,
i am having trouble to get a ipv6 over ipv4 tunnel to work
on a linux/sparc with a vanilla 2.4.18 kernel - It seems
there is something broken. The same setup works on i386.

wise:~# ip -V
ip utility, iproute2-ss010824
wise:~# ip tunnel add sit1 mode sit
ioctl: Invalid argument
wise:~# dmesg | grep IPv6
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver

strace gets to this point:
[...]
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
ioctl(3, 0x89f1, 0xeffffb98) = -1 EINVAL (Invalid argument)
dup(2) = 4
[...]

After trying around a bit this showed up:

sys32_ioctl(ip:379): Unknown cmd fd(3) cmd(000089f3) arg(effffb88)
sys32_ioctl(ip:382): Unknown cmd fd(3) cmd(000089f3) arg(effffb88)

Flo
--
Florian Lohoff [email protected] +49-5201-669912
Heisenberg may have been here.


Attachments:
(No filename) (882.00 B)
(No filename) (232.00 B)
Download all attachments

2002-08-03 05:04:33

by David Miller

[permalink] [raw]
Subject: Re: 2.4.18 sparc ipv6 over ipv4 broken ?

From: Florian Lohoff <[email protected]>
Date: Fri, 2 Aug 2002 21:36:10 +0200

i am having trouble to get a ipv6 over ipv4 tunnel to work
on a linux/sparc with a vanilla 2.4.18 kernel - It seems
there is something broken. The same setup works on i386.

Unfortunately SIT tunnels use SIOCDEVPRIVATE ioctls which we can't
support in 32-bit programs runnign on sparc64 hardware. Sorry.

Some day we'll add non-conflicting ioctls for SIT and other similar
devices using SIOCDEVPRIVATE but for now you're out of luck.