On Wed, Nov 02, 2016 at 05:41:24PM +0100, Martin Pieuchot wrote:
> Hello Sebastien,
>
> On 01/11/16(Tue) 09:36, Sebastien Marie wrote:
> > Hi,
> >
> > I experiment problem with local connection on specific rdomain.
> >
> > I tried to make a simple and reproductible environment.
>
> Thanks for the nice report, could you confirm the diff below fixes your
> issue?
I needed to change a bit my setup: no more /etc/hostname.loXX as it was
created automatically now: I saw several "ifconfig: SIOCSIFRDOMAIN: File exists"
on boot (after "starting network"), and interfaces got configured but without
rdomain setted.
With the patch, it works well for tcp ("route -T 20 exec redis-cli -h
192.168.20.2"
is ok, whereas it timeouted before), but the host paniced with ping
(no reply before).
# ifconfig
[...]
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1504
lladdr c8:be:19:49:c6:27
index 2 priority 0 llprio 3
media: Ethernet autoselect (1000baseT full-duplex)
status: active
vlan20: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> rdomain 20 mtu 1500
lladdr c8:be:19:49:c6:27
index 10 priority 0 llprio 3
vlan: 20 parent interface: re0
vnetid: 20
parent: re0
groups: vlan
status: active
inet 192.168.20.2 netmask 0xffffff00 broadcast 192.168.20.255
lo20: flags=8008<LOOPBACK,MULTICAST> rdomain 20 mtu 32768
index 11 priority 0 llprio 3
groups: lo
# ping -V 20 192.168.20.2
<panic here>
The system is remote and has ddb.panic=0, savecore saw the panic, but I
dunno if it will be enough: the stack trace seems buggy.
# cd /var/crash && dmesg -N bsd.0 -M bsd.0.core
...
root on wd0a (d4c88ed12283c942.a) swap on wd0b dump on wd0b
uvm_fault(0xd0bab760, 0x0, 0, 3) -> e
fatal page fault (6) in supervisor mode
trap type 6 code 2 eip d03e3d54 cs 8 eflags 10246 cr2 1c cpl 40
panic: trap type 6, code=2, pc=d03e3d54
Starting stack trace...
panic(d09e9926,f2a74cd4,d09edc0f,f2a74cd4,d0b4411c) at panic+0x85
panic(d09edc0f,6,2,d03e3d54,8) at panic+0x85
trap() at trap+0x80d
--- trap (number -732698296) ---
Bad frame pointer: 0xd453e900
0x2:
End of stack trace.
syncing disks... 3 2 done
I will try again tomorrow with serial console on the host.
Thanks.
--
Sebastien Marie