On Tue, Dec 08, 2020 at 09:08:38AM +0000, Stuart Henderson wrote:
On 2020/12/08 06:44, Byteskeptical wrote:
/etc/hostname.cnmac0:
(same config used to enable additional ethernet ports)

dhcp
inet6 autoconf

It shouldn't crash the kernel, but running dhclient on >1 interfaces
without either stopping it from picking up a default route on one of
them, or placing them in different rdomains/rtables, isn't going to
work properly.

You might get more information by booting single-user and running the
dhclient commands manually with "dhclient -dv cnmac0 &" etc (so you can
identify the point at which it crashes).

ddb{0}> show panic
the kernel did not panic

nevertheless DDB will have printed something when it entered, what was
that?


Thanks for the quick reply I've attached the initial print out of DDB.

I also booted into single user mode as suggested but despite trying to
trigger the issue but running the "dhclient -dv {interface} &" for all
three I could not get it to crash at all. I left it alone, tried
activating some normal services, connecting a few ssh sessions on
multiple interface and transfering files back and forth with no better
outcome.

Would running <1 of the interfaces using aggr be a better solution to
dhclient on them individually? Or should I just set static addresses on
the other two?

--
Trap cause = 2 Frame 0x980000000ffebb58
Trap PC 0xffffffff81043d88 RA 0xffffffff811f50f8 fault 0x0
ml_purge+0x30 (18,e03dd8d244a4de04,f17c13b72e9d43d3,a9d95fa316e6eb36)  ra 
0xffffffff811f50f8 sp 0x980000000ffebcb0, sz 32
arptfree+0x58 (18,e6992f594b61501e,f17c13b72e9d43d3,a9d95fa316e6eb36)  ra 
0xffffffff811f5094 sp 0x980000000ffebcd0, sz 48
arptimer+0x124 (18,601b4f129a2c631,f17c13b72e9d43d3,a9d95fa316e6eb36)  ra 
0xffffffff8102c4dc sp 0x980000000ffebd00, sz 48
softclock_thread+0x28c (18,601b4f129a2c631,f17c13b72e9d43d3,a9d95fa316e6eb36)  
ra 0xffffffff814d18b4 sp 0x980000000ffebd30, sz 128
proc_trampoline+0x1c (18,601b4f129a2c631,f17c13b72e9d43d3,a9d95fa316e6eb36)  ra 
0x0 sp 0x980000000ffebdb0, sz 0
User-level: pid 2020
stopped on non ddb fault
Stopped at      ml_purge+0x30:  ld      s1,0(a0)
ddb{0}> 

# dhclient -dv cnmac0 &
[1] 32999
# cnmac0: DHCPREQUEST to 255.255.255.255
cnmac0: DHCPACK from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac0: 192.168.11.8 lease accepted from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac0 [priv] priv_write_resolv_conf: writing
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written

# dhclient -dv cnmac1 &
[2] 43785
# cnmac1: link up -> down
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac1: no link....
cnmac1: link down -> up
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac1: DHCPREQUEST to 255.255.255.255
cnmac1: DHCPREQUEST to 255.255.255.255
cnmac1: DHCPDISCOVER - interval 1
cnmac1: DHCPDISCOVER - interval 1
cnmac1: DHCPOFFER from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac1: DHCPREQUEST to 255.255.255.255
cnmac1: DHCPACK from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac1: 192.168.11.25 lease accepted from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac1 [priv]: add route 0.0.0.0/0.0.0.0 via 192.168.11.1: File exists
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)

# dhclient -dv cnmac2 &
[3] 24608
# cnmac2: link up -> down
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac2: no link....cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac0 [priv] priv_write_resolv_conf: already written

cnmac2: link down -> up
cnmac2: DHCPREQUEST to 255.255.255.255
cnmac2: DHCPREQUEST to 255.255.255.255
cnmac2: DHCPDISCOVER - interval 1
cnmac2: DHCPDISCOVER - interval 1
cnmac2: DHCPDISCOVER - interval 1
cnmac2: DHCPDISCOVER - interval 1
cnmac2: DHCPOFFER from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac2: DHCPREQUEST to 255.255.255.255
cnmac2: unexpected DHCPOFFER from 192.168.11.1 (e0:63:da:59:db:a2) - state #4
cnmac2: unexpected DHCPOFFER from 192.168.11.1 (e0:63:da:59:db:a2) - state #4
cnmac2: DHCPACK from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac2: 192.168.11.24 lease accepted from 192.168.11.1 (e0:63:da:59:db:a2)
cnmac1 [priv] priv_write_resolv_conf: not my problem (1 != 2)
cnmac0 [priv] priv_write_resolv_conf: already written
cnmac2 [priv]: add route 0.0.0.0/0.0.0.0 via 192.168.11.1: File exists
cnmac2 [priv] priv_write_resolv_conf: not my problem (1 != 3)
cnmac2 [priv] priv_write_resolv_conf: not my problem (1 != 3)
cnmac2 [priv] priv_write_resolv_conf: not my problem (1 != 3)

Attachment: signature.asc
Description: PGP signature

Reply via email to