Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2021 17:45:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 256393] Issue with recreation of ppp/tun interfaces
Message-ID:  <bug-256393-7501-szz7F2mnyI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256393-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256393-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256393

--- Comment #2 from Nathan Whitehorn <nwhitehorn@FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #1)

Here are a whole bunch of logs:
FreeBSD xxxxxxxxxxxxxxx 13.0-STABLE FreeBSD 13.0-STABLE #1
stable/13-n245818-ae23d302479: Wed Jun  2 10:27:55 EDT 2021    
nwhitehorn@terel.tachypleus.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

>From the ppp log (key portion is "Error: ipcp_InterfaceUp: unable to set ip
address"):
Jun  3 17:10:07 conference syslogd: last message repeated 1 times
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: deflink: RecvConfigAck(2)
state = Ack-Sent
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP:  IPADDR[6] 192.168.42.1
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots
with slot compression
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: deflink: State change
Ack-Sent --> Opened
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: deflink: LayerUp.
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: myaddr 192.168.42.1 hisaddr =
192.168.42.2
Jun  3 17:10:07 conference ppp[8508]: tun0: Warning: iface add:
ioctl(SIOCAIFADDR, 192.168.42.1 -> 192.168.42.2): File exists
Jun  3 17:10:07 conference ppp[8508]: tun0: Error: ipcp_InterfaceUp: unable to
set ip address
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: deflink: LayerDown:
192.168.42.1
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: deflink: SendTerminateReq(3)
state = Opened
Jun  3 17:10:07 conference ppp[8508]: tun0: IPCP: deflink: State change Opened
--> Closing
Jun  3 17:10:07 conference ppp[8508]: tun0: LCP: deflink: SendIdent(4) state =
Opened
Jun  3 17:10:07 conference ppp[8508]: tun0: LCP:  MAGICNUM c6d8cf0b
Jun  3 17:10:07 conference ppp[8508]: tun0: LCP:  TEXT user-ppp 3.4.2
Jun  3 17:10:08 conference ppp[8508]: tun0: Warning: ipv4_Input: IPCP not open
- packet dropped
Jun  3 17:10:10 conference syslogd: last message repeated 3 times
Jun  3 17:10:10 conference ppp[8508]: tun0: IPCP: deflink: SendTerminateReq(3)
state = Closing
Jun  3 17:10:11 conference ppp[8508]: tun0: Warning: ipv4_Input: IPCP not open
- packet dropped
Jun  3 17:10:13 conference syslogd: last message repeated 5 times
Jun  3 17:10:14 conference ppp[8508]: tun0: IPCP: deflink: SendTerminateReq(3)
state = Closing
Jun  3 17:10:14 conference ppp[8508]: tun0: Warning: ipv4_Input: IPCP not open
- packet dropped


Jun  3 17:43:15 conference syslogd: last message repeated 1 times
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: deflink: RecvConfigAck(2)
state = Ack-Sent
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP:  IPADDR[6] 192.168.42.1
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots
with slot compression
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: deflink: State change
Ack-Sent --> Opened
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: deflink: LayerUp.
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: myaddr 192.168.42.1 hisaddr =
192.168.42.2
Jun  3 17:43:15 conference ppp[8811]: tun0: Warning: iface add:
ioctl(SIOCAIFADDR, 192.168.42.1 -> 192.168.42.2): File exists
Jun  3 17:43:15 conference ppp[8811]: tun0: Error: ipcp_InterfaceUp: unable to
set ip address
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: deflink: LayerDown:
192.168.42.1
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: deflink: SendTerminateReq(3)
state = Opened
Jun  3 17:43:15 conference ppp[8811]: tun0: IPCP: deflink: State change Opened
--> Closing
Jun  3 17:43:15 conference ppp[8811]: tun0: LCP: deflink: SendIdent(4) state =
Opened
Jun  3 17:43:15 conference ppp[8811]: tun0: LCP:  MAGICNUM d57f3e26
Jun  3 17:43:15 conference ppp[8811]: tun0: LCP:  TEXT user-ppp 3.4.2
Jun  3 17:43:15 conference ppp[8811]: tun0: Warning: ipv4_Input: IPCP not open
- packet dropped
Jun  3 17:43:18 conference syslogd: last message repeated 3 times

Nothing in dmesg with tun_debug set except this:
tun0: tunpoll
tun0: tunpoll waiting

I can try to bisect, but it might be a little while as this is an important
production machine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256393-7501-szz7F2mnyI>