Subject: IPv6 on non-i386 platforms? (specifically, alpha)
To: None <current-users@netbsd.org>
From: Jeff Rizzo <riz@boogers.sf.ca.us>
List: current-users
Date: 07/21/1999 14:49:28
How robust is the newly-integrated IPv6 stuff expected to be on non-i386
platforms? I've been playing around with it OK on i386 for a few days
at work, and now I'm trying to get stuff working on my alpha at home.
So, I compiled the world today (from yesterday's sources), and built
a new kernel with options INET6, IPSEC, and some gif interfaces.
(Incidentally, in pim6dd/debug.c I had to cast a long * passed to
localtime() to a time_t * to get it to build)
I can ping6 ::1, and the link local address of de0, but when I try to
gifconfig gif0 (to connect to freenet6), I get:
fnord# gifconfig gif0 inet 204.152.185.71 206.123.31.102
gifconfig: ioctl (SIOCSIFPHYADDR): Invalid argument
This same incantation works fine on an i386 box at work.
My other indication that all may not be well is that when I do an
'ifconfig -a', I get lots of unaligned accesses:
fnord# ifconfig -a
de0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 08:00:2b:e6:15:20
media: Ethernet autoselect (10baseT)
status: active
inet 204.152.185.71 netmask 0xffffffe0 broadcast 204.152.185.95
inet6 fe80:1::a00:2bff:fee6:1520 prefixlen 64
pid 1364 (ifconfig): unaligned access: va=0x1ffffd824 pc=0x120001324 ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffd80c pc=0x12000132c ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffd814 pc=0x120001330 ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffd81c pc=0x120001334 ra=0x12000131c op=ldt
de1: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:80:c8:47:45:2f
media: Ethernet 100baseTX
status: active
inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
pid 1364 (ifconfig): unaligned access: va=0x1ffffb7a4 pc=0x12000379c ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb7ac pc=0x1200037a4 ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb7b4 pc=0x1200037ac ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb7a4 pc=0x120003870 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb7ac pc=0x120003878 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb7b4 pc=0x120003880 ra=0x120003868 op=ldt
inet6 fe80:2::280:c8ff:fe47:452f prefixlen 64
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33200
inet 127.0.0.1 netmask 0xff000000
inet6 fe80:3::1 prefixlen 64
pid 1364 (ifconfig): unaligned access: va=0x1ffffb824 pc=0x12000379c ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb82c pc=0x1200037a4 ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb834 pc=0x1200037ac ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb824 pc=0x120003870 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb82c pc=0x120003878 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb834 pc=0x120003880 ra=0x120003868 op=ldt
inet6 ::1 prefixlen 128
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp2: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp3: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
gif0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1280
inet6 fe80:8::800:2bff:fee6:1520 -> :: prefixlen 64
pid 1364 (ifconfig): unaligned access: va=0x1ffffda2c pc=0x120001324 ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffda14 pc=0x12000132c ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffda1c pc=0x120001330 ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffda24 pc=0x120001334 ra=0x12000131c op=ldt
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
pid 1364 (ifconfig): unaligned access: va=0x1ffffb98c pc=0x12000368c ra=0x120003684 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb994 pc=0x120003694 ra=0x120003684 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb99c pc=0x12000369c ra=0x120003684 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb98c pc=0x12000379c ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb994 pc=0x1200037a4 ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb99c pc=0x1200037ac ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb98c pc=0x120003870 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb994 pc=0x120003878 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffb99c pc=0x120003880 ra=0x120003868 op=ldt
inet6 fe80:9::800:2bff:fee6:1520 -> :: prefixlen 64
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
inet6 fe80:a::800:2bff:fee6:1520 -> :: prefixlen 64
pid 1364 (ifconfig): unaligned access: va=0x1ffffdad4 pc=0x120001324 ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffdabc pc=0x12000132c ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffdac4 pc=0x120001330 ra=0x12000131c op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffdacc pc=0x120001334 ra=0x12000131c op=ldt
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
pid 1364 (ifconfig): unaligned access: va=0x1ffffba34 pc=0x12000368c ra=0x120003684 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba3c pc=0x120003694 ra=0x120003684 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba44 pc=0x12000369c ra=0x120003684 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba34 pc=0x12000379c ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba3c pc=0x1200037a4 ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba44 pc=0x1200037ac ra=0x120003794 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba34 pc=0x120003870 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba3c pc=0x120003878 ra=0x120003868 op=ldt
pid 1364 (ifconfig): unaligned access: va=0x1ffffba44 pc=0x120003880 ra=0x120003868 op=ldt
inet6 fe80:b::800:2bff:fee6:1520 -> :: prefixlen 64
faith0: flags=8043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80:c::800:2bff:fee6:1520 prefixlen 64
So, are there more LP64 fixes to do? Can I help? :) Any suggestions?
Thanks,
+j
--
Jeff Rizzo http://boogers.sf.ca.us/~riz