Hello,

I posted first on misc@, but someone said me to try tech@

I got a problem with IPv6 in 5.5, lokks like it's due to the
non-initialization of icmp6 checksum neighbor advertisement (Nadv)
packets.

My box have a quad-ethernet sis* card and 2 re* onboard. dmesg is in
[2].
On the sis1 interface, I have a DSL modem in bridge mode, with native
IPv6. IPv6 don't work on it.
I search a lot why, and it looks like the remote router don't get my
Nadv: when it have to send me a packet, it sends a Nsol, the BSD box
respond with a Nadv, and that's all. then the router sends another Nsol,
and so on ...
The sender recieves icmp errors :
$ ping6 2001:41d0:fde0::18cf
PING 2001:41d0:fde0::18cf(2001:41d0:fde0::18cf) 56 data bytes
From 2001:41d0::892 icmp_seq=1 Destination unreachable: Unknown code 6


I captured the traffic on the router side, and I saw the icmp6 checksum
was not set for the Nadv packets (see [1]). echo request packets or Nsol
packets avec correct checksums.

Nadv packets sent by re* interfaces have correct checksums.

I can provide more details if needed, I can compile a kernel with a
patch to test.

# ifconfig sis1
sis1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:24:cf:42:ad
        description: WAN2
        priority: 0
        groups: egress
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active
        inet 109.190.87.41 netmask 0xfffffc00 broadcast 109.190.87.255
        inet6 fe80::200:24ff:fecf:42ad%sis1 prefixlen 64 scopeid 0x2
        inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 2001:41d0:fde0::18cf prefixlen 64

If you have any insight, I'll take it.
Regards,

Bastien

[1]
https://owncloud.geekwu.org/public.php?service=files&t=2399a4db476667fdc4d5ed68422e5edc

[2]
OpenBSD 5.5 (CW910) #0: Fri Jun  6 13:19:27 MDT 2014
    [email protected]:/obj/CW910
cpu0: Intel(R) Celeron(R) M processor 600MHz ("GenuineIntel" 686-class)
600 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE,PERF
real mem  = 534171648 (509MB)
avail mem = 445378560 (424MB)
warning: no entropy supplied by boot loader
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 09/16/08, BIOS32 rev. 0 @ 0xfaa80,
SMBIOS rev. 2.2 @ 0xf0800 (34 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date
09/16/2008
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices SLPB(S5) HUB0(S5) UAR1(S5) UAR2(S5) USB0(S1)
USB1(S1) USB2(S1) USBE(S1) MODM(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature is 60 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
bios0: ROM list: 0xc0000/0xd400!
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02
"Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured
"Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured
vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x8000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1024x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: apic 2 int
16
uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: apic 2 int
19
uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: apic 2 int
18
ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x02: apic 2 int
23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x82
pci1 at ppb0 bus 1
ppb1 at pci1 dev 0 function 0 "TI PCI2250" rev 0x02
pci2 at ppb1 bus 2
sis0 at pci2 dev 0 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
apic 2 int 16, address 00:00:24:cf:42:ac
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci2 dev 1 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
apic 2 int 17, address 00:00:24:cf:42:ad
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci2 dev 2 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
apic 2 int 18, address 00:00:24:cf:42:ae
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
sis3 at pci2 dev 3 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
apic 2 int 19, address 00:00:24:cf:42:af
nsphyter3 at sis3 phy 0: DP83815 10/100 PHY, rev. 1
re0 at pci1 dev 1 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd
(0x1800), apic 2 int 17, address 00:06:4f:66:40:00
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2
re1 at pci1 dev 2 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd
(0x1800), apic 2 int 18, address 00:06:4f:66:40:01
rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2
ral0 at pci1 dev 5 function 0 "Ralink RT2561S" rev 0x00: apic 2 int 21,
address 00:10:60:00:00:8c
ral0: MAC/BBP RT2661B, RF RT5225
hifn0 at pci1 dev 6 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES ARC4
MD5 SHA1 RNG AES PK, 32KB dram, apic 2 int 19
ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
wd0 at pciide0 channel 1 drive 0: <FLASH CARD>
wd0: 1-sector PIO, LBA, 1919MB, 3931200 sectors
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x02: apic 2
int 17
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
com2: probed fifo depth: 15 bytes
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8712F rev 7, EC port 0x290
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub4 at uhub1 port 1 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 2
uhidev0 at uhub4 port 3 configuration 1 interface 0 "No brand 4 Port
KVMSwicther" rev 1.10/1.00 addr 3
uhidev0: iclass 3/0
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub4 port 3 configuration 1 interface 1 "No brand 4 Port
KVMSwicther" rev 1.10/1.00 addr 3
uhidev1: no input interrupt endpoint
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
scsibus1 at softraid0: 256 targets
root on rd0a swap on rd0b dump on rd0b
wskbd1: disconnecting from wsdisplay0
wskbd1 detached
ukbd0 detached
uhidev0 detached
uhidev1 detached
uhub4 detached
acpitz0: _AL0[0] _PR0 failed
acpitz0: _AL0[0] _PR0 failed

Reply via email to