From owner-freebsd-stable@freebsd.org Sun Oct 22 00:17:14 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D253FE3E561 for ; Sun, 22 Oct 2017 00:17:14 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id A6BBD709F3 for ; Sun, 22 Oct 2017 00:17:14 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id F234013917; Sun, 22 Oct 2017 09:17:11 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 8579C8207; Sun, 22 Oct 2017 09:17:11 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 454438205; Sun, 22 Oct 2017 09:17:11 +0900 (JST) Date: Sun, 22 Oct 2017 09:16:11 +0900 (JST) Message-Id: <20171022.091611.1432980156690916756.yasu@utahime.org> To: freebsd-stable@freebsd.org Subject: Re: Freebsd 10 to 11 sendmail compile issues.. From: Yasuhiro KIMURA In-Reply-To: <7a4b5f15-1bab-9ab4-1ecf-8ffbf8546758@leadmon.net> References: <7a4b5f15-1bab-9ab4-1ecf-8ffbf8546758@leadmon.net> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2017 00:17:14 -0000 From: Howard Leadmon Subject: Freebsd 10 to 11 sendmail compile issues.. Date: Sat, 21 Oct 2017 19:22:40 -0400 > I have the following flags in /etc/make.conf: > = > SENDMAIL_CFLAGS=3D -I/usr/local/include -DSASL=3D2 -DDNSMAP -DSTARTTL= S > SENDMAIL_LDFLAGS=3D -L/usr/local/lib > SENDMAIL_LDADD=3D -lsasl2 -lssl -lcrypto > = > = > =A0So I trhought OK, simple enough looking at the error and changed t= his > over to the following: > = > SENDMAIL_CFLAGS=3D -I/usr/local/include -DSASL=3D2 -DDNSMAP -DSTARTTL= S > SENDMAIL_LDFLAGS=3D -L/usr/local/lib > SENDMAIL_LIBADD+=3D sasl2 ssl crypto It seems you intend to link base sendmail binary with library that is installed by security/cyrus-sasl2 port. If so I think following steps are required. 1. Temporarily comment out all sendmail related settings in /etc/make.conf 2. Rebuild operating system and upgrade from 10.3 to 11.1. 3. Rebuild all installed ports on 11.1. 4. Enable settings again that is disabled at step 1 and rebuild base sendmail. To be honest I'm not sure if step 4 succeed. But it is quite possible that linking binary for 11.1 with library built on 10.3 causes unpredictable trouble. So you should keep above steps anyway. --- Yasuhiro KIMURA From owner-freebsd-stable@freebsd.org Sun Oct 22 13:03:16 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF629E523C8 for ; Sun, 22 Oct 2017 13:03:16 +0000 (UTC) (envelope-from fbsd-lists@dudes.ch) Received: from mail.dudes.ch (mail.dudes.ch [193.73.211.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.dudes.ch", Issuer "StartCom Class 3 OV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78B946550B for ; Sun, 22 Oct 2017 13:03:15 +0000 (UTC) (envelope-from fbsd-lists@dudes.ch) Received: from amd64.dudes.ch (amd64.dudes.ch [193.73.211.16]) (authenticated bits=0) by mail.dudes.ch (8.15.2/8.15.2) with ESMTPSA id v9MD34qG001382 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 22 Oct 2017 15:03:04 +0200 (CEST) (envelope-from fbsd-lists@dudes.ch) Date: Sun, 22 Oct 2017 15:03:04 +0200 From: Markus Wild To: freebsd-stable@freebsd.org Subject: Re: System fails to boot with zfs root on nvme mirror when not using full disks Message-ID: <20171022150304.14d3a0c9@amd64.dudes.ch> In-Reply-To: <20171020165144.GC96120@in-addr.com> References: <20171020171345.073bd9b1@mwoffice.virtualtec.office> <20171020165144.GC96120@in-addr.com> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 193.73.211.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Oct 2017 13:03:17 -0000 Hello Gary thanks for your input! > My suspicion is that you didn't make a backup of the new > /boot/zfs/zpool.cache > > From the USB live booted system, when you recreated the zpool you > likely changed parameters that live in the cache. You need to copy > that to the new boot pool or ZFS can get angry It's a possibility... new attempt from usb live system: gpart delete -i 3 nvd0 gpart delete -i 3 nvd1 gpart add -a 4k -s 50G -t freebsd-zfs -l zfs0 nvd0 gpart add -a 4k -s 50G -t freebsd-zfs -l zfs1 nvd1 sysctl vfs.zfs.min_auto_ashift=12 zpool create -m none -o cachefile=/var/tmp/zpool.cache zroot mirror /dev/gpt/zfs0 /dev/gpt/zfs1 zfs receive -Fud zroot < zroot.zfs zpool set bootfs=zroot/ROOT/default zroot mount -t zfs zroot/ROOT/default /mnt cp /var/tmp/zpool.cache /mnt/boot/zfs/zpool.cache umount /mnt reboot Unfortunately, this didn't change anything. I'm still getting the Trying to mount root from zfs:zroot/ROOT/default []... Mounting from zfs:zroot/ROOT/default failed with error 6. error :( Any other ideas....? Cheers, Markus From owner-freebsd-stable@freebsd.org Mon Oct 23 07:41:04 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8488CE439CF for ; Mon, 23 Oct 2017 07:41:04 +0000 (UTC) (envelope-from fbsd-lists@dudes.ch) Received: from mail.dudes.ch (mail.dudes.ch [193.73.211.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.dudes.ch", Issuer "StartCom Class 3 OV Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2012165EA1 for ; Mon, 23 Oct 2017 07:41:03 +0000 (UTC) (envelope-from fbsd-lists@dudes.ch) Received: from mwoffice.virtualtec.office (pippin.virtualtec.ch [93.189.66.120]) (authenticated bits=0) by mail.dudes.ch (8.15.2/8.15.2) with ESMTPSA id v9N7ewTe010008 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 23 Oct 2017 09:40:58 +0200 (CEST) (envelope-from fbsd-lists@dudes.ch) X-Authentication-Warning: mail.dudes.ch: Host pippin.virtualtec.ch [93.189.66.120] claimed to be mwoffice.virtualtec.office Date: Mon, 23 Oct 2017 09:40:57 +0200 From: Markus Wild To: freebsd-stable@freebsd.org Subject: Re: System fails to boot with zfs root on nvme mirror when not using full disks Message-ID: <20171023094057.7a69db2b@mwoffice.virtualtec.office> In-Reply-To: <20171022150304.14d3a0c9@amd64.dudes.ch> References: <20171020171345.073bd9b1@mwoffice.virtualtec.office> <20171020165144.GC96120@in-addr.com> <20171022150304.14d3a0c9@amd64.dudes.ch> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 193.73.211.25 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 07:41:04 -0000 I have found the problem... I seem to be a victim of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221075 I wasn't able to get the system to boot just by using /dev/nvd0p3 and /dev/nvd1p3 (avoiding labels), but I did succeed with a custom kernel as per the PR: include GENERIC ident NOMMC nodevice mmc nodevice mmcsd nodevice sdhci So, there is indeed a problem with that part... Cheers, Markus From owner-freebsd-stable@freebsd.org Mon Oct 23 17:52:40 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F278FE5125A for ; Mon, 23 Oct 2017 17:52:39 +0000 (UTC) (envelope-from denisgranato@gmail.com) Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80F027D50D for ; Mon, 23 Oct 2017 17:52:39 +0000 (UTC) (envelope-from denisgranato@gmail.com) Received: by mail-wm0-x236.google.com with SMTP id q124so11121357wmb.0 for ; Mon, 23 Oct 2017 10:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=theS3n1d70vNXXW0izl8oHUWsbpMNISNxr9+u+0/9yc=; b=PDVxxpZWzzBt0ZCrX31zL2gVT32M2uPDB7ZFLT+GZYEmRkVONw/XBixnpz3dTZAA8O P0zRI0oaspmuswWsVML9/dKPGKe0GSiOI2kgb3qjC6QhnuFpSPjCxnlhY9V/4KRkd8kI JZVcJDI6SsmnLoJ76qWc7G5TaC7X9fQztAsrKXOtEpWBTIfudfovMgco6wKq9ix5in8F P9O9pnTqZIRqHLLRf7Mlwo4X9g8CoTsbN1jU86p1Mf1OQ4Ob9tQqMhd2wtm3V+RzMcm0 u7Z0ueghHh6EE7vQytpMF+Tnu9CYJOl78zPhjS0Lf0MvXtKPv28/ey/5b6nSEieHplGs Jtjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=theS3n1d70vNXXW0izl8oHUWsbpMNISNxr9+u+0/9yc=; b=Ui7QXPh0K9Nc4rkSefOCcaZegRLmqesLzarX73DdEIGFrWX/EHm5jeyl3vFi4TvpLa zzqmrIs4xG3z2tXqHUTq9s4cVrRE0Rr/FryQB6pb43ffmltkUMXAB8pIC20pr5tlIpi2 FnKznYY0eEvIBx6Ik/jkVfdelGGAtahqBg4abM5i1wjyz24DQCJSLdmE9t0xVlpNzFmP Yktsya6DaoAUy3jU8U6gfT4holFcyfPiBZxX6Yfe1s15GeTemhmlYuC2OnUTdwE7JQRG /s74NaUbmWpy0zwhK9iQQWSzKQThlJ+FOIWeklfgxBbB0NytPecd2T655+W1fx14zRHO 0SwA== X-Gm-Message-State: AMCzsaUOum/saJzt1AI/lYO9MMm1ODziUUDVmUR9CnYR2udNXyt3IwKq ctfD8nRdxL5GGuT3RQG/fOUNI8AvFadLRlrnJB/QnA== X-Google-Smtp-Source: ABhQp+TVc7P7nafQJGbruZbdMVDfpLI9+4hyFYID9VX16ffcB0dZVF7WexQpwhdp1Ht0Qj19oqTl04pLp5q42DjhltM= X-Received: by 10.80.146.209 with SMTP id l17mr9471005eda.13.1508781157565; Mon, 23 Oct 2017 10:52:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.216.6 with HTTP; Mon, 23 Oct 2017 10:52:06 -0700 (PDT) In-Reply-To: References: <20171017173258.GZ86601@home.opsec.eu> <20171017174708.GA86601@home.opsec.eu> <20171017191145.GB86601@home.opsec.eu> <20171019183939.GI86601@home.opsec.eu> <20171019190200.GJ86601@home.opsec.eu> <20171019193620.GK86601@home.opsec.eu> From: Denis Granato Date: Mon, 23 Oct 2017 15:52:06 -0200 Message-ID: Subject: Re: error instaling any ports To: Kurt Jaeger Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 17:52:40 -0000 Im with a 9.3 Release now (thanks Kurt) but When I try to install a port, same error root@avvio-fw:/usr/src # cd /usr/ports/net-mgmt/rancid3/ root@avvio-fw:/usr/ports/net-mgmt/rancid3 # make delete-old-libs "/usr/ports/Mk/bsd.port.mk", line 1045: Unknown directive Unknown modifier 't' Variable .CURDIR is recursive. Do I need to upgrade to 10? att On Thu, Oct 19, 2017 at 6:10 PM, Denis Granato wrote: > Ok its worked > Entered in single mode > Make installworld > Mergemaster -UiP > now server is alive in 9.3 > > Tomorrow I check the ports > > On Oct 19, 2017 5:36 PM, "Kurt Jaeger" wrote: > >> Hi! >> >> > ok, I will try this, becausa I did everthing, then I reboot, like this >> steps >> > >> > svn checkout https://svn.freebsd.org/base/release/9.3.0/ . >> > make buildworld >> > make buildkernel >> > make installkernel >> > make installworld >> > >> > mergemaster -UiP >> > shutdown -r now >> >> Yes, this works for small upgrades, most of the time. Sometimes >> it fails. >> >> I was lazy when I listed it that way. >> >> The reboot should have been between installkernel and installworld. >> >> -- >> pi@opsec.eu +49 171 3101372 3 years >> to go ! >> > From owner-freebsd-stable@freebsd.org Mon Oct 23 18:05:57 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CFEDFE515B6 for ; Mon, 23 Oct 2017 18:05:57 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F85B7DAB1 for ; Mon, 23 Oct 2017 18:05:57 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e6h6s-0006oK-T3; Mon, 23 Oct 2017 20:05:58 +0200 Date: Mon, 23 Oct 2017 20:05:58 +0200 From: Kurt Jaeger To: Denis Granato Cc: freebsd-stable@freebsd.org Subject: Re: error instaling any ports Message-ID: <20171023180558.GN86601@home.opsec.eu> References: <20171017191145.GB86601@home.opsec.eu> <20171019183939.GI86601@home.opsec.eu> <20171019190200.GJ86601@home.opsec.eu> <20171019193620.GK86601@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 18:05:57 -0000 Hi! > Im with a 9.3 Release now (thanks Kurt) > but When I try to install a port, same error > > root@avvio-fw:/usr/src # cd /usr/ports/net-mgmt/rancid3/ > root@avvio-fw:/usr/ports/net-mgmt/rancid3 # make delete-old-libs > "/usr/ports/Mk/bsd.port.mk", line 1045: Unknown directive > Unknown modifier 't' > > Variable .CURDIR is recursive. > > > Do I need to upgrade to 10? Yes, as 9.3 is no longer supported, too. https://www.freebsd.org/security/security.html#sup lists what is supported. But: You can update using freebsd-update now. Try this: freebsd-update -r 10.4-RELEASE upgrade # Installation kernel freebsd-update install shutdown -r now # installation some userspace freebsd-update install # pkg-update freebsd-update install -- pi@opsec.eu +49 171 3101372 3 years to go ! From owner-freebsd-stable@freebsd.org Tue Oct 24 17:24:10 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BFCCE536BD for ; Tue, 24 Oct 2017 17:24:10 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20477681AB for ; Tue, 24 Oct 2017 17:24:10 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e72vy-000AK3-H4; Tue, 24 Oct 2017 19:24:10 +0200 Date: Tue, 24 Oct 2017 19:24:10 +0200 From: Kurt Jaeger To: Denis Granato Cc: freebsd-stable@freebsd.org Subject: Re: error instaling any ports Message-ID: <20171024172410.GC34891@home.opsec.eu> References: <20171019183939.GI86601@home.opsec.eu> <20171019190200.GJ86601@home.opsec.eu> <20171019193620.GK86601@home.opsec.eu> <20171023180558.GN86601@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 17:24:10 -0000 Hi! > After second freebsd-update install Boot single-user and edit /etc/defaults/rc.conf and/or /etc/rc.conf, there's some typo somewhere. -- pi@opsec.eu +49 171 3101372 3 years to go ! From owner-freebsd-stable@freebsd.org Tue Oct 24 17:52:51 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 70053E544ED for ; Tue, 24 Oct 2017 17:52:51 +0000 (UTC) (envelope-from denisgranato@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 008066A331 for ; Tue, 24 Oct 2017 17:52:50 +0000 (UTC) (envelope-from denisgranato@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id r196so753547wmf.2 for ; Tue, 24 Oct 2017 10:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=CITexVKBIDjTyEX5bHSTpVkL4+cuY8ZT0nAlTyFurK0=; b=mtNFI1YjTN/zPGMY8shK4Z5Is1LizCURgDTinmBt7JCYzf9pQ8lQ0fGBuSiuwJvftO 5loee4s5MRLNynNs6TmhneB0ASb7cIchb9wzz88atdkshF9vF5E6qNNvZUtzNha1oHDa GbfHnExQGkLtruQ6b/UA+AjOH1Qp1n7TeYVpsZuQY/3JTrM2dALeWpb9AAvyDntLlHwH bUjI7j4W82UuYh4UkuiFdzEYHtZSWDxfixeKp9Wuz+AYdX4c9qz9MzSsdJG4l53dEPuz 7o8TqDPmeEmErTOYn206Vd1CYCIjczW8iFiPEyV9SQn0Q6a85b9r7eF7aF4pE/HnrNjc OfoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=CITexVKBIDjTyEX5bHSTpVkL4+cuY8ZT0nAlTyFurK0=; b=B2iZcNM4skIVkr7mhIjPVpCW76/fgfFpm7FXFdRfu9ElPmJmigpjuJ0r4pLQIqEuA0 WSIobS5mb6gtwcXt9ImL2S2v1W9iU8GEthK2LgPXzrzqqBve/GveMbcbqm/7QBENKBVV VOS0I2/B2TuWb+I0sz1YvSkq7Mt4lPtneteylbMyqszq9bHVQUqcyTMn3Vc6jQkHe+hd HzzrBU1WROn18mwMETlC+A26NdqvD97GATQjnbFPsY7MVQDAgt8xZoL8UHjEDQgONPOH nI5wZ0g5r6Yz/t8NAYLyKwZe5dHSu31BW0YhFfFNpdexvrfzUJ5BPLPtBnKOPBwH6FiX j+Tw== X-Gm-Message-State: AMCzsaXc9TyLjYQGO6ZpbYqJ6uNzDKoSnKyjfw0hHMoVSCiqdyuhbYKf Evcju3cpHkMaMBRtuDCaIUzi+cb8RlmoLs3cNVQ= X-Google-Smtp-Source: ABhQp+SXe59kz6JQsu0+M5mw77PJHzfbfSU7p9ViTAaK88lJLslG/fFw3FWReNp2QMNKeewYVl0u6qKSo0jz1Zg7/AY= X-Received: by 10.80.222.130 with SMTP id c2mr21439279edl.218.1508867569152; Tue, 24 Oct 2017 10:52:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.216.6 with HTTP; Tue, 24 Oct 2017 10:52:18 -0700 (PDT) In-Reply-To: <20171024172410.GC34891@home.opsec.eu> References: <20171019183939.GI86601@home.opsec.eu> <20171019190200.GJ86601@home.opsec.eu> <20171019193620.GK86601@home.opsec.eu> <20171023180558.GN86601@home.opsec.eu> <20171024172410.GC34891@home.opsec.eu> From: Denis Granato Date: Tue, 24 Oct 2017 15:52:18 -0200 Message-ID: Subject: Re: error instaling any ports To: Kurt Jaeger Cc: freebsd-stable@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 17:52:51 -0000 yes a lot of ">>>>> 10.4 RELEASE" and "<<<<<<<< current version" Im fighting now trying to install some packages tks On Tue, Oct 24, 2017 at 3:24 PM, Kurt Jaeger wrote: > Hi! > > > After second freebsd-update install > > Boot single-user and edit /etc/defaults/rc.conf and/or /etc/rc.conf, > there's some typo somewhere. > > -- > pi@opsec.eu +49 171 3101372 3 years to > go ! > From owner-freebsd-stable@freebsd.org Tue Oct 24 18:03:05 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 277F2E54948 for ; Tue, 24 Oct 2017 18:03:05 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0DAE6A8EC for ; Tue, 24 Oct 2017 18:03:04 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1e73Xe-000ANZ-MW; Tue, 24 Oct 2017 20:03:06 +0200 Date: Tue, 24 Oct 2017 20:03:06 +0200 From: Kurt Jaeger To: Denis Granato Cc: freebsd-stable@freebsd.org Subject: Re: error instaling any ports Message-ID: <20171024180306.GD34891@home.opsec.eu> References: <20171019190200.GJ86601@home.opsec.eu> <20171019193620.GK86601@home.opsec.eu> <20171023180558.GN86601@home.opsec.eu> <20171024172410.GC34891@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 18:03:05 -0000 Hi! > yes > a lot of ">>>>> 10.4 RELEASE" and "<<<<<<<< current version" Ah, so you skipped some of the questions during the update. Well, that takes a bit of work to clean up, but it's no deal breaker. -- pi@opsec.eu +49 171 3101372 3 years to go ! From owner-freebsd-stable@freebsd.org Wed Oct 25 20:54:24 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D341AE5406B for ; Wed, 25 Oct 2017 20:54:24 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A271881D67 for ; Wed, 25 Oct 2017 20:54:24 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9PKsNLS054264 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 25 Oct 2017 16:54:23 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9PKsKPv021979 for ; Wed, 25 Oct 2017 16:54:21 -0400 (EDT) (envelope-from mike@sentex.net) To: FreeBSD-STABLE Mailing List From: Mike Tancsa Subject: ppp routing bug ? Organization: Sentex Communications Message-ID: Date: Wed, 25 Oct 2017 16:54:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2017 20:54:24 -0000 While testing out our nanobsd RELENG11 images, I noticed a strange routing issue. Using a standard pppoe config that has been working fine on RELENG8,9,10 I am getting bogus routing entries. having the commands in ppp.linkup pppoe: add 192.168.134.2/32 HISADDR add 192.168.134.3/32 HISADDR add 192.168.134.4/32 HISADDR add 192.168.134.5/32 HISADDR results in these routing table entries # netstat -Wnr | grep tun0 default 64.7.128.7 US 112 1492 tun0 64.7.128.7 link#14 UHS 0 1492 tun0 0.0.0.0&0x17040000 64.7.128.7 US 0 1492 tun0 0.0.0.0&0x17040000 64.7.128.7 US 0 1492 tun0 0.0.0.0&0x17040000 64.7.128.7 US 0 1492 tun0 0.0.0.0&0x17040000 64.7.128.7 US 0 1492 tun0 ff02::%tun0/32 fe80::20d:b9ff:fe18:62f4%tun0 UGS 0 1492 tun0 The ppp.conf is ltepppoe: add default HISADDR set device PPPoE:vr0 set server /var/run/dsl-internet "" 0177 set speed sync disable ipv6cp enable echo disable vjcomp set cd 15 set dial set login set timeout 0 set lqrperiod 10 set authname xxx@yyy set authkey zzzz set ifaddr 10.0.0.1/0 10.0.0.2/0 Any idea what might be up ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@freebsd.org Wed Oct 25 21:10:07 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 06897E54551 for ; Wed, 25 Oct 2017 21:10:07 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C8456823D8 for ; Wed, 25 Oct 2017 21:10:06 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9PLA5Ak057179 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 25 Oct 2017 17:10:05 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9PLA37t022022 for ; Wed, 25 Oct 2017 17:10:03 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ppp routing bug ? From: Mike Tancsa To: FreeBSD-STABLE Mailing List References: Organization: Sentex Communications Message-ID: Date: Wed, 25 Oct 2017 17:10:03 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Oct 2017 21:10:07 -0000 On 10/25/2017 4:54 PM, Mike Tancsa wrote: > While testing out our nanobsd RELENG11 images, I noticed a strange > routing issue. Using a standard pppoe config that has been working fine > on RELENG8,9,10 I am getting bogus routing entries. > having the commands in ppp.linkup > > pppoe: > add 192.168.134.2/32 HISADDR > add 192.168.134.3/32 HISADDR > add 192.168.134.4/32 HISADDR > add 192.168.134.5/32 HISADDR Upping the logs with debug ppp[60212]: tun0: Command: pppoe: add 192.168.134.2/32 HISADDR ppp[60212]: tun0: Debug: wrote 124: cmd = Add, dst = 192.168.134.2, gateway = 64.7.128.7 The gateway is correct. Seems right, but its not installing it right. It also borkes on the ipv6 addr which I have disabled ppp[60212]: tun0: Warning: ff02::: Change route failed: errno: Value too large to be stored in data type ppp[60212]: tun0: Debug: deflink: DescriptorRead: read 14/2048 from 1 ppp[60212]: tun0: Debug: proto_LayerPull: unknown -> 0xc021 ppp[60212]: tun0: Debug: link_PullPacket: Despatch proto 0xc021 Any ideas ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@freebsd.org Thu Oct 26 10:18:18 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AAFDBE44A9A for ; Thu, 26 Oct 2017 10:18:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 429C8742A3 for ; Thu, 26 Oct 2017 10:18:17 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v9QAI2hP030275 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Oct 2017 12:18:03 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: mike@sentex.net Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id v9QAHqro026773; Thu, 26 Oct 2017 17:17:52 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ppp routing bug ? To: Mike Tancsa , FreeBSD-STABLE Mailing List References: From: Eugene Grosbein Message-ID: <59F1B650.5070107@grosbein.net> Date: Thu, 26 Oct 2017 17:17:52 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: Yes, score=5.5 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Flag: YES X-Spam-Level: ***** X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 10:18:18 -0000 On 26.10.2017 04:10, Mike Tancsa wrote: > On 10/25/2017 4:54 PM, Mike Tancsa wrote: >> While testing out our nanobsd RELENG11 images, I noticed a strange >> routing issue. Using a standard pppoe config that has been working fine >> on RELENG8,9,10 I am getting bogus routing entries. >> having the commands in ppp.linkup >> >> pppoe: >> add 192.168.134.2/32 HISADDR >> add 192.168.134.3/32 HISADDR >> add 192.168.134.4/32 HISADDR >> add 192.168.134.5/32 HISADDR > > Upping the logs with debug > > > ppp[60212]: tun0: Command: pppoe: add 192.168.134.2/32 HISADDR > ppp[60212]: tun0: Debug: wrote 124: cmd = Add, dst = 192.168.134.2, > gateway = 64.7.128.7 > > The gateway is correct. Seems right, but its not installing it right. > > > > > It also borkes on the ipv6 addr which I have disabled > > ppp[60212]: tun0: Warning: ff02::: Change route failed: errno: Value too > large to be stored in data type > ppp[60212]: tun0: Debug: deflink: DescriptorRead: read 14/2048 from 1 > ppp[60212]: tun0: Debug: proto_LayerPull: unknown -> 0xc021 > ppp[60212]: tun0: Debug: link_PullPacket: Despatch proto 0xc021 > > > Any ideas ? Are you sure that: 1) your ppp(8) binary is in sync with the kernel in the Nanobsd build ? Generally that would be /usr/sbin/ppp but in your case I'd check twice if this is the case. 2) your /sbin/route and /usr/bin/netstat are in sync too? Try using "route -n monitor" in the background to see what "ppp" really sends to the kernel. Try using "mpd5" instead of "ppp" to make PPPoE connection and see if it runs into same problem. From owner-freebsd-stable@freebsd.org Thu Oct 26 13:45:17 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0620EE4A06D for ; Thu, 26 Oct 2017 13:45:17 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7985B7EC7D for ; Thu, 26 Oct 2017 13:45:15 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9QDjEoV020665 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 26 Oct 2017 09:45:14 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.ca [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9QDjBY9025591; Thu, 26 Oct 2017 09:45:11 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ppp routing bug ? To: Eugene Grosbein , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> Date: Thu, 26 Oct 2017 09:45:11 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <59F1B650.5070107@grosbein.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 13:45:17 -0000 On 10/26/2017 6:17 AM, Eugene Grosbein wrote: >> >> >> Any ideas ? > > Are you sure that: Hi, Yes I have rebuilt all a number of times. Also, this is i386. I think I will try and build and AMD64 image to see if it follows there too. > > Try using "route -n monitor" in the background to see what "ppp" really sends to the kernel. > Try using "mpd5" instead of "ppp" to make PPPoE connection and see if it runs into same problem. It seems to be routes that are /32s that are at issue. If I have a /30, the route gets installed correctly. In ppp.linkup if I put pppoe: add 192.168.134.2/32 HISADDR add 192.168.134.4/30 HISADDR ! /sbin/route add 192.168.135.0/24 HISADDR ! /sbin/route add 192.168.136.1 HISADDR ! /sbin/route add 192.168.137.1/32 HISADDR The first route does not get installed, the rest do. 0.0.0.0&0x17040000 64.7.128.7 US 0 1492 tun0 192.168.134.4/30 64.7.128.7 US 0 1492 tun0 192.168.135.0/24 64.7.128.7 US 0 1492 tun0 192.168.136.1 64.7.128.7 UHS 0 1492 tun0 192.168.137.1/32 64.7.128.7 US 0 1492 tun0 route monitor shows two statements per entry. comparing 134.2 and 137.1. the HOST flag is not set for the bogus entry. got message of size 124 on Thu Oct 26 09:37:40 2017 RTM_ADD: Add Route: len 124, pid: 23810, seq 4, errno 0, flags: locks: inits: sockaddrs: 192.168.134.2 64.7.128.7 got message of size 196 on Thu Oct 26 09:37:40 2017 RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 8, errno 0, flags: locks: inits: sockaddrs: 192.168.134.2 64.7.128.7 tun0 98.159.244.185 vs got message of size 124 on Thu Oct 26 09:37:40 2017 RTM_ADD: Add Route: len 124, pid: 24236, seq 1, errno 0, flags: locks: inits: sockaddrs: 192.168.136.1 64.7.128.7 got message of size 196 on Thu Oct 26 09:37:40 2017 RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 11, errno 0, flags: locks: inits: sockaddrs: 192.168.136.1 64.7.128.7 tun0 98.159.244.185 got message of size 212 on Thu Oct 26 09:37:40 2017 RTM_CHANGE: Change Metrics or flags: len 212, pid: 23810, seq 12, errno 0, flags: locks: inits: sockaddrs: 192.168.137.1 64.7.128.7 255.255.255.255 tun0 98.159.244.185 -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@freebsd.org Thu Oct 26 13:59:48 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B522E4A470 for ; Thu, 26 Oct 2017 13:59:48 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CE08E7F1A0 for ; Thu, 26 Oct 2017 13:59:47 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v9QDxdaB031707 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Oct 2017 15:59:39 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: mike@sentex.net Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id v9QDxaDJ076451; Thu, 26 Oct 2017 20:59:36 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ppp routing bug ? To: Mike Tancsa , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> From: Eugene Grosbein Message-ID: <59F1EA48.1090500@grosbein.net> Date: Thu, 26 Oct 2017 20:59:36 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: Yes, score=5.5 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_96_Q, LOCAL_FROM,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * 3.3 DATE_IN_FUTURE_96_Q Date: is 4 days to 4 months after Received: date * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-Spam-Flag: YES X-Spam-Level: ***** X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 13:59:48 -0000 On 26.10.2017 20:45, Mike Tancsa wrote: > vs > > got message of size 124 on Thu Oct 26 09:37:40 2017 > RTM_ADD: Add Route: len 124, pid: 24236, seq 1, errno 0, > flags: > locks: inits: > sockaddrs: > 192.168.136.1 64.7.128.7 > > got message of size 196 on Thu Oct 26 09:37:40 2017 > RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 11, errno > 0, flags: > locks: inits: > sockaddrs: > 192.168.136.1 64.7.128.7 tun0 98.159.244.185 Why different PIDs? pid: 24236 vs. pid: 23810 From owner-freebsd-stable@freebsd.org Thu Oct 26 14:25:16 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B13F5E4AE05 for ; Thu, 26 Oct 2017 14:25:16 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7CE8B7FF11 for ; Thu, 26 Oct 2017 14:25:16 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9QEPFbi028947 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 26 Oct 2017 10:25:15 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.ca [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9QEPDwa025681; Thu, 26 Oct 2017 10:25:13 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ppp routing bug ? To: Eugene Grosbein , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> <59F1EA48.1090500@grosbein.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: Date: Thu, 26 Oct 2017 10:25:13 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <59F1EA48.1090500@grosbein.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 14:25:16 -0000 On 10/26/2017 9:59 AM, Eugene Grosbein wrote: > On 26.10.2017 20:45, Mike Tancsa wrote: > >> vs >> >> got message of size 124 on Thu Oct 26 09:37:40 2017 >> RTM_ADD: Add Route: len 124, pid: 24236, seq 1, errno 0, >> flags: >> locks: inits: >> sockaddrs: >> 192.168.136.1 64.7.128.7 >> >> got message of size 196 on Thu Oct 26 09:37:40 2017 >> RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 11, errno >> 0, flags: >> locks: inits: >> sockaddrs: >> 192.168.136.1 64.7.128.7 tun0 98.159.244.185 > > Why different PIDs? pid: 24236 vs. pid: 23810 Not sure. Does ppp spawn off another process to do routing changes ? I diffed the source to ppp from 10 vs 11 and nothing has really changed. Perhaps routing API changes that ppp was relying on ? 23810 is ppp as its currently running ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-stable@freebsd.org Thu Oct 26 16:01:32 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87BECE4D1BF for ; Thu, 26 Oct 2017 16:01:32 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 083A883253 for ; Thu, 26 Oct 2017 16:01:31 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v9QG1Nas032505 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Oct 2017 18:01:24 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: mike@sentex.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v9QG1K1F006176 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Thu, 26 Oct 2017 23:01:20 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ppp routing bug ? To: Mike Tancsa , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> <59F1EA48.1090500@grosbein.net> From: Eugene Grosbein Message-ID: <59F206CB.5000006@grosbein.net> Date: Thu, 26 Oct 2017 23:01:15 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 16:01:32 -0000 26.10.2017 21:25, Mike Tancsa wrote: > On 10/26/2017 9:59 AM, Eugene Grosbein wrote: >> On 26.10.2017 20:45, Mike Tancsa wrote: >> >>> vs >>> >>> got message of size 124 on Thu Oct 26 09:37:40 2017 >>> RTM_ADD: Add Route: len 124, pid: 24236, seq 1, errno 0, >>> flags: >>> locks: inits: >>> sockaddrs: >>> 192.168.136.1 64.7.128.7 >>> >>> got message of size 196 on Thu Oct 26 09:37:40 2017 >>> RTM_CHANGE: Change Metrics or flags: len 196, pid: 23810, seq 11, errno >>> 0, flags: >>> locks: inits: >>> sockaddrs: >>> 192.168.136.1 64.7.128.7 tun0 98.159.244.185 >> >> Why different PIDs? pid: 24236 vs. pid: 23810 > > Not sure. Does ppp spawn off another process to do routing changes ? I would re-run ppp under ktrace to make sure while having "route monitor" running around. Then compare pids with kdump output. > I diffed the source to ppp from 10 vs 11 and nothing has really changed. > Perhaps routing API changes that ppp was relying on ? It seems so. From owner-freebsd-stable@freebsd.org Thu Oct 26 18:04:12 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55B93E4FEDD for ; Thu, 26 Oct 2017 18:04:12 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E055D634E4 for ; Thu, 26 Oct 2017 18:04:10 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9QI4957075291 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 26 Oct 2017 14:04:09 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.net [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9QI45Ra027492; Thu, 26 Oct 2017 14:04:05 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ppp routing bug ? To: Eugene Grosbein , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> <59F1EA48.1090500@grosbein.net> <59F206CB.5000006@grosbein.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <98f44309-d706-4cef-c0b2-0f08e0e1855c@sentex.net> Date: Thu, 26 Oct 2017 14:04:05 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <59F206CB.5000006@grosbein.net> Content-Type: multipart/mixed; boundary="------------4A7C126E8A680DE8E41B51B4" Content-Language: en-US X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 18:04:12 -0000 This is a multi-part message in MIME format. --------------4A7C126E8A680DE8E41B51B4 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 10/26/2017 12:01 PM, Eugene Grosbein wrote: > > I would re-run ppp under ktrace to make sure while having "route monitor" running around. > Then compare pids with kdump output. I wonder if I copied and pasted from 2 different test sessions. Anyways, same PID when I re-ran the test and more importantly the same results (see pid.txt). The HOST flag is missing for some reason when the route is added by ppp vs via the shell 29597 is the ppp process the borked route monitor looks like got message of size 124 on Thu Oct 26 12:21:12 2017 RTM_ADD: Add Route: len 124, pid: 29597, seq 2, errno 0, flags: locks: inits: sockaddrs: 192.168.134.2 64.7.128.7 got message of size 196 on Thu Oct 26 12:21:13 2017 RTM_CHANGE: Change Metrics or flags: len 196, pid: 29597, seq 5, errno 0, flags: locks: inits: sockaddrs: 192.168.134.2 64.7.128.7 tun0 98-159-244-185.agas1a-dynamic.dsl.sentex.ca vs the one that works got message of size 124 on Thu Oct 26 12:21:13 2017 RTM_ADD: Add Route: len 124, pid: 29877, seq 1, errno 0, flags: locks: inits: sockaddrs: 192.168.136.1 64.7.128.7 got message of size 196 on Thu Oct 26 12:21:13 2017 RTM_CHANGE: Change Metrics or flags: len 196, pid: 29597, seq 8, errno 0, flags: locks: inits: sockaddrs: 192.168.136.1 64.7.128.7 tun0 98-159-244-185.agas1a-dynamic.dsl.sentex.ca > >> I diffed the source to ppp from 10 vs 11 and nothing has really changed. >> Perhaps routing API changes that ppp was relying on ? > > It seems so. > > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ --------------4A7C126E8A680DE8E41B51B4 Content-Type: text/plain; charset=UTF-8; name="pid.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="pid.txt" Z3JlcCBwaWQgcm91dGUudHh0MiAKUlRNX01JU1M6IExvb2t1cCBmYWlsZWQgb24gdGhpcyBh ZGRyZXNzOiBsZW4gMTA4LCBwaWQ6IDAsIHNlcSAwLCBlcnJubyAwLCBmbGFnczo8RE9ORT4K UlRNX0FERDogQWRkIFJvdXRlOiBsZW4gMjA0LCBwaWQ6IDAsIHNlcSAwLCBlcnJubyAwLCBm bGFnczo8VVAsSE9TVCxTVEFUSUM+ClJUTV9BREQ6IEFkZCBSb3V0ZTogbGVuIDI3NiwgcGlk OiAwLCBzZXEgMCwgZXJybm8gMCwgZmxhZ3M6PFVQLERPTkU+ClJUTV9BREQ6IEFkZCBSb3V0 ZTogbGVuIDE3NiwgcGlkOiAyOTU5NCwgc2VxIDEsIGVycm5vIDAsIGZsYWdzOjxVUCxHQVRF V0FZLERPTkUsU1RBVElDPgpSVE1fREVMRVRFOiBEZWxldGUgUm91dGU6IGxlbiAyMDQsIHBp ZDogMCwgc2VxIDAsIGVycm5vIDAsIGZsYWdzOjxIT1NULFNUQVRJQz4KUlRNX0RFTEVURTog RGVsZXRlIFJvdXRlOiBsZW4gMjc2LCBwaWQ6IDAsIHNlcSAwLCBlcnJubyAwLCBmbGFnczo8 RE9ORT4KUlRNX01JU1M6IExvb2t1cCBmYWlsZWQgb24gdGhpcyBhZGRyZXNzOiBsZW4gMTA4 LCBwaWQ6IDAsIHNlcSAwLCBlcnJubyAwLCBmbGFnczo8RE9ORT4KUlRNX0dFVDogUmVwb3J0 IE1ldHJpY3M6IGxlbiAxODAsIHBpZDogMjk3NjksIHNlcSAxLCBlcnJubyAzLCBmbGFnczo8 VVAsR0FURVdBWSxTVEFUSUM+ClJUTV9NSVNTOiBMb29rdXAgZmFpbGVkIG9uIHRoaXMgYWRk cmVzczogbGVuIDEwOCwgcGlkOiAwLCBzZXEgMCwgZXJybm8gMCwgZmxhZ3M6PERPTkU+ClJU TV9NSVNTOiBMb29rdXAgZmFpbGVkIG9uIHRoaXMgYWRkcmVzczogbGVuIDEwOCwgcGlkOiAw LCBzZXEgMCwgZXJybm8gMCwgZmxhZ3M6PERPTkU+ClJUTV9BREQ6IEFkZCBSb3V0ZTogbGVu IDE2NCwgcGlkOiAwLCBzZXEgMCwgZXJybm8gMCwgZmxhZ3M6PFVQLEhPU1QsUElOTkVEPgpS VE1fQUREOiBBZGQgUm91dGU6IGxlbiAxMjQsIHBpZDogMjk1OTcsIHNlcSAyLCBlcnJubyAw LCBmbGFnczo8VVAsR0FURVdBWSxET05FLFNUQVRJQz4KUlRNX0FERDogQWRkIFJvdXRlOiBs ZW4gMTQwLCBwaWQ6IDI5NTk3LCBzZXEgMywgZXJybm8gMCwgZmxhZ3M6PFVQLEdBVEVXQVks RE9ORSxTVEFUSUM+ClJUTV9BREQ6IEFkZCBSb3V0ZTogbGVuIDE0MCwgcGlkOiAyOTg3NCwg c2VxIDEsIGVycm5vIDAsIGZsYWdzOjxVUCxHQVRFV0FZLERPTkUsU1RBVElDPgpSVE1fQURE OiBBZGQgUm91dGU6IGxlbiAxMjQsIHBpZDogMjk4NzcsIHNlcSAxLCBlcnJubyAwLCBmbGFn czo8VVAsR0FURVdBWSxIT1NULERPTkUsU1RBVElDPgpSVE1fQUREOiBBZGQgUm91dGU6IGxl biAxNDAsIHBpZDogMjk4ODQsIHNlcSAxLCBlcnJubyAwLCBmbGFnczo8VVAsR0FURVdBWSxE T05FLFNUQVRJQz4KUlRNX0NIQU5HRTogQ2hhbmdlIE1ldHJpY3Mgb3IgZmxhZ3M6IGxlbiAy MzYsIHBpZDogMjk1OTcsIHNlcSA0LCBlcnJubyAwLCBmbGFnczo8VVAsRE9ORSxTVEFUSUM+ ClJUTV9DSEFOR0U6IENoYW5nZSBNZXRyaWNzIG9yIGZsYWdzOiBsZW4gMTk2LCBwaWQ6IDI5 NTk3LCBzZXEgNSwgZXJybm8gMCwgZmxhZ3M6PFVQLERPTkUsU1RBVElDPgpSVE1fQ0hBTkdF OiBDaGFuZ2UgTWV0cmljcyBvciBmbGFnczogbGVuIDIxMiwgcGlkOiAyOTU5Nywgc2VxIDYs IGVycm5vIDAsIGZsYWdzOjxVUCxET05FLFNUQVRJQz4KUlRNX0NIQU5HRTogQ2hhbmdlIE1l dHJpY3Mgb3IgZmxhZ3M6IGxlbiAyMTIsIHBpZDogMjk1OTcsIHNlcSA3LCBlcnJubyAwLCBm bGFnczo8VVAsRE9ORSxTVEFUSUM+ClJUTV9DSEFOR0U6IENoYW5nZSBNZXRyaWNzIG9yIGZs YWdzOiBsZW4gMTk2LCBwaWQ6IDI5NTk3LCBzZXEgOCwgZXJybm8gMCwgZmxhZ3M6PFVQLERP TkUsU1RBVElDPgpSVE1fQ0hBTkdFOiBDaGFuZ2UgTWV0cmljcyBvciBmbGFnczogbGVuIDIx MiwgcGlkOiAyOTU5Nywgc2VxIDksIGVycm5vIDAsIGZsYWdzOjxVUCxET05FLFNUQVRJQz4K UlRNX0NIQU5HRTogQ2hhbmdlIE1ldHJpY3Mgb3IgZmxhZ3M6IGxlbiAyNjAsIHBpZDogMjk1 OTcsIHNlcSAxMCwgZXJybm8gNTEsIGZsYWdzOjxVUCxTVEFUSUM+ClJUTV9NSVNTOiBMb29r dXAgZmFpbGVkIG9uIHRoaXMgYWRkcmVzczogbGVuIDEwOCwgcGlkOiAwLCBzZXEgMCwgZXJy bm8gMCwgZmxhZ3M6PERPTkU+ClJUTV9NSVNTOiBMb29rdXAgZmFpbGVkIG9uIHRoaXMgYWRk cmVzczogbGVuIDEwOCwgcGlkOiAwLCBzZXEgMCwgZXJybm8gMCwgZmxhZ3M6PERPTkU+ClJU TV9NSVNTOiBMb29rdXAgZmFpbGVkIG9uIHRoaXMgYWRkcmVzczogbGVuIDEwOCwgcGlkOiAw LCBzZXEgMCwgZXJybm8gMCwgZmxhZ3M6PERPTkU+ClJUTV9NSVNTOiBMb29rdXAgZmFpbGVk IG9uIHRoaXMgYWRkcmVzczogbGVuIDEwOCwgcGlkOiAwLCBzZXEgMCwgZXJybm8gMCwgZmxh Z3M6PERPTkU+Cg== --------------4A7C126E8A680DE8E41B51B4-- From owner-freebsd-stable@freebsd.org Thu Oct 26 22:17:03 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DE0A7E54262 for ; Thu, 26 Oct 2017 22:17:03 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 856036B97F for ; Thu, 26 Oct 2017 22:17:02 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221] (may be forged)) by hz.grosbein.net (8.15.2/8.15.2) with ESMTPS id v9QMGv0p035100 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 27 Oct 2017 00:16:58 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: mike@sentex.net Received: from [10.58.0.4] ([10.58.0.4]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTPS id v9QMGrhP014492 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 27 Oct 2017 05:16:53 +0700 (+07) (envelope-from eugen@grosbein.net) Subject: Re: ppp routing bug ? To: Mike Tancsa , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> <59F1EA48.1090500@grosbein.net> <59F206CB.5000006@grosbein.net> <98f44309-d706-4cef-c0b2-0f08e0e1855c@sentex.net> From: Eugene Grosbein Message-ID: <59F25ED0.1010001@grosbein.net> Date: Fri, 27 Oct 2017 05:16:48 +0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <98f44309-d706-4cef-c0b2-0f08e0e1855c@sentex.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00, LOCAL_FROM, RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Spam-Report: * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.9 RDNS_NONE Delivered to internal network by a host with no rDNS * 2.6 LOCAL_FROM From my domains X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on hz.grosbein.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 22:17:04 -0000 27.10.2017 1:04, Mike Tancsa пишет: > On 10/26/2017 12:01 PM, Eugene Grosbein wrote: >> >> I would re-run ppp under ktrace to make sure while having "route monitor" running around. >> Then compare pids with kdump output. > > I wonder if I copied and pasted from 2 different test sessions. Anyways, > same PID when I re-ran the test and more importantly the same results > (see pid.txt). The HOST flag is missing for some reason when the route > is added by ppp vs via the shell > > 29597 is the ppp process > > > the borked route monitor looks like > > got message of size 124 on Thu Oct 26 12:21:12 2017 > RTM_ADD: Add Route: len 124, pid: 29597, seq 2, errno 0, > flags: > locks: inits: > sockaddrs: > 192.168.134.2 64.7.128.7 > > > got message of size 196 on Thu Oct 26 12:21:13 2017 > RTM_CHANGE: Change Metrics or flags: len 196, pid: 29597, seq 5, errno > 0, flags: > locks: inits: > sockaddrs: > 192.168.134.2 64.7.128.7 tun0 98-159-244-185.agas1a-dynamic.dsl.sentex.ca > > vs the one that works > > got message of size 124 on Thu Oct 26 12:21:13 2017 > RTM_ADD: Add Route: len 124, pid: 29877, seq 1, errno 0, > flags: > locks: inits: > sockaddrs: > 192.168.136.1 64.7.128.7 > > > got message of size 196 on Thu Oct 26 12:21:13 2017 > RTM_CHANGE: Change Metrics or flags: len 196, pid: 29597, seq 8, errno > 0, flags: > locks: inits: > sockaddrs: > 192.168.136.1 64.7.128.7 tun0 98-159-244-185.agas1a-dynamic.dsl.sentex.ca That makes sense: ppp send bogus request to the routing socket and the request has not RTF_HOST flag nor RTA_NETMASK address. It seems, earlier kernel code masked this bug somehow but it does not now. Anyway, we have two bugs here: ppp sending bad request and kernel having no enough checks for this somehow. Fixing ppp part would be easy. Please try this patch: --- usr.sbin/ppp/route.c.orig 2017-02-15 13:06:48.606161000 +0700 +++ usr.sbin/ppp/route.c 2017-10-27 05:14:44.006142000 +0700 @@ -801,8 +801,10 @@ rt_Set(struct bundle *bundle, int cmd, c if (!ncprange_ishost(dst)) { cp += memcpy_roundup(cp, &samask, samask.ss_len); rtmes.m_rtm.rtm_addrs |= RTA_NETMASK; } + else + rtmes.m_rtm.rtm_flags |= RTF_HOST; nb = cp - (char *)&rtmes; rtmes.m_rtm.rtm_msglen = nb; wb = ID0write(s, &rtmes, nb); @@ -905,8 +907,10 @@ rt_Update(struct bundle *bundle, const s if (mask) { rtmes.m_rtm.rtm_addrs |= RTA_NETMASK; p += memcpy_roundup(p, mask, mask->sa_len); } + else + rtmes.m_rtm.rtm_flags |= RTF_HOST; if (ifa && ifp && ifp->sa_family == AF_LINK) { rtmes.m_rtm.rtm_addrs |= RTA_IFP; p += memcpy_roundup(p, ifp, ifp->sa_len); From owner-freebsd-stable@freebsd.org Fri Oct 27 11:12:55 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF14DE40A83 for ; Fri, 27 Oct 2017 11:12:55 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 978A5982 for ; Fri, 27 Oct 2017 11:12:55 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 96AECE40A82; Fri, 27 Oct 2017 11:12:55 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9645BE40A81 for ; Fri, 27 Oct 2017 11:12:55 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C5EF980; Fri, 27 Oct 2017 11:12:54 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id v9RBCsGW058658; Fri, 27 Oct 2017 11:12:54 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id v9RBCspX058657; Fri, 27 Oct 2017 04:12:54 -0700 (PDT) (envelope-from david) Date: Fri, 27 Oct 2017 04:12:54 -0700 From: David Wolfskill To: stable@freebsd.org Cc: Bryan Drewery Subject: buildworld fail in stable/11 @r325033 -- r325029? Message-ID: <20171027111254.GJ1159@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , stable@freebsd.org, Bryan Drewery MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6kWU/h0oUHrBarxG" Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 11:12:55 -0000 --6kWU/h0oUHrBarxG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is observed on systems (both my laptop & my build machine) running stable/11 @r325003, after updating sources to r325033: --- libprocstat.o --- In file included from /usr/src/lib/libprocstat/libprocstat.c:69: /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:19: error: field has inco= mplete type 'struct siginfo32' struct siginfo32 pl_siginfo; /* siginfo for signal */ ^ /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:9: note: forward declarat= ion of 'struct siginfo32' struct siginfo32 pl_siginfo; /* siginfo for signal */ ^ I don't know that r325029 is to blame, but that was the last commit in that area (in the range r325003 - r325033). And there wwer not very many commits to stable/11 in that range: 1. Oct 27 Konstantin Belousov svn commit: r325033 - stable/11/sys/vm 2. Oct 27 Bryan Drewery svn commit: r325029 - in stable/11: sys/compa= t/freeb 3. Oct 26 Ian Lepore svn commit: r325023 - stable/11/sys/dev/sdhci 4. Oct 26 Tijl Coosemans svn commit: r325015 - in stable/11/sys: compa= t/linsy 5. Oct 25 Alan Somers svn commit: r325003 - in stable/11: sys/geom = sys/sys Peace, david --=20 David H. Wolfskill david@catwhisker.org Unsubstantiated claims of "Fake News" are evidence that the claimant lies a= gain. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --6kWU/h0oUHrBarxG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJZ8xS2XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4Xb+IH/0qZ7CNz36VDTqmbR/0eLbFG vDpLYQ5LPay0coEx/lKLdk76XEz5r2TiSEF10J2Xioi+KLYChAiUBC6X36ppLoww esUR6YbAIQZLuPjZKCkHjgWIBHr0ksG7hwRYSx01AsWnj4sdlOZRiymojLQzKLsf JuSauLAt/7ktYWFUAVp5bfRRYL5ZSgJc1reSTrAlyBTef3UXjRqOwr942oF8mZ2e rsoxv4zukKrAqsW4jKMxWylI6U8fwfH79W+o6myRFEpXiXvLffsBn1XYmBqc4ZlO PxnfeICD8KKEU2N1FrzAYMM7Gac/nISx5kRAZ9ankeRNTXAdXYOohfGJNJoT/T4= =FVQj -----END PGP SIGNATURE----- --6kWU/h0oUHrBarxG-- From owner-freebsd-stable@freebsd.org Fri Oct 27 14:09:00 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CE1DE460D3 for ; Fri, 27 Oct 2017 14:09:00 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5923466967 for ; Fri, 27 Oct 2017 14:09:00 +0000 (UTC) (envelope-from mack@macktronics.com) Received: by mailman.ysv.freebsd.org (Postfix) id 581E2E460D2; Fri, 27 Oct 2017 14:09:00 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56E26E460D1 for ; Fri, 27 Oct 2017 14:09:00 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from borg.macktronics.com (gw.macktronics.com [209.181.253.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 331AC66966; Fri, 27 Oct 2017 14:08:58 +0000 (UTC) (envelope-from mack@macktronics.com) Received: from pandora.local (olive.macktronics.com [209.181.253.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by borg.macktronics.com (Postfix) with ESMTPS id 6B6F79EB; Fri, 27 Oct 2017 09:08:51 -0500 (CDT) From: Dan Mack To: David Wolfskill Cc: stable@freebsd.org, Bryan Drewery Subject: Re: buildworld fail in stable/11 @r325033 -- r325029? References: <20171027111254.GJ1159@albert.catwhisker.org> Date: Fri, 27 Oct 2017 09:08:50 -0500 In-Reply-To: <20171027111254.GJ1159@albert.catwhisker.org> (David Wolfskill's message of "Fri, 27 Oct 2017 04:12:54 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 14:09:00 -0000 FWIW - I had a successful build yesterday on stable/11 r325010; I have not tried anything newer yet. Dan David Wolfskill writes: > This is observed on systems (both my laptop & my build machine) running > stable/11 @r325003, after updating sources to r325033: > > --- libprocstat.o --- > In file included from /usr/src/lib/libprocstat/libprocstat.c:69: > /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:19: error: field has incomplete type 'struct siginfo32' > struct siginfo32 pl_siginfo; /* siginfo for signal */ > ^ > /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:9: note: forward declaration of 'struct siginfo32' > struct siginfo32 pl_siginfo; /* siginfo for signal */ > ^ > > I don't know that r325029 is to blame, but that was the last commit > in that area (in the range r325003 - r325033). And there wwer not > very many commits to stable/11 in that range: > > 1. Oct 27 Konstantin Belousov svn commit: r325033 - stable/11/sys/vm > 2. Oct 27 Bryan Drewery svn commit: r325029 - in stable/11: sys/compat/freeb > 3. Oct 26 Ian Lepore svn commit: r325023 - stable/11/sys/dev/sdhci > 4. Oct 26 Tijl Coosemans svn commit: r325015 - in stable/11/sys: compat/linsy > 5. Oct 25 Alan Somers svn commit: r325003 - in stable/11: sys/geom sys/sys > > Peace, > david From owner-freebsd-stable@freebsd.org Fri Oct 27 14:42:32 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E5A4E470DA for ; Fri, 27 Oct 2017 14:42:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 036AE67E9C for ; Fri, 27 Oct 2017 14:42:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 00B2EE470D9; Fri, 27 Oct 2017 14:42:32 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00576E470D7 for ; Fri, 27 Oct 2017 14:42:32 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85E1C67E9A; Fri, 27 Oct 2017 14:42:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id v9REgIjM008705 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Oct 2017 17:42:19 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v9REgIjM008705 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v9REgIim008704; Fri, 27 Oct 2017 17:42:18 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 27 Oct 2017 17:42:18 +0300 From: Konstantin Belousov To: David Wolfskill , stable@freebsd.org, Bryan Drewery Subject: Re: buildworld fail in stable/11 @r325033 -- r325029? Message-ID: <20171027144218.GG2566@kib.kiev.ua> References: <20171027111254.GJ1159@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171027111254.GJ1159@albert.catwhisker.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 14:42:32 -0000 On Fri, Oct 27, 2017 at 04:12:54AM -0700, David Wolfskill wrote: > This is observed on systems (both my laptop & my build machine) running > stable/11 @r325003, after updating sources to r325033: > > --- libprocstat.o --- > In file included from /usr/src/lib/libprocstat/libprocstat.c:69: > /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:19: error: field has incomplete type 'struct siginfo32' > struct siginfo32 pl_siginfo; /* siginfo for signal */ > ^ > /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:9: note: forward declaration of 'struct siginfo32' > struct siginfo32 pl_siginfo; /* siginfo for signal */ > ^ > > I don't know that r325029 is to blame, but that was the last commit > in that area (in the range r325003 - r325033). And there wwer not > very many commits to stable/11 in that range: Can you confirm that the following patch allows your system to build ? Index: lib/libprocstat/libprocstat.c =================================================================== --- lib/libprocstat/libprocstat.c (revision 325038) +++ lib/libprocstat/libprocstat.c (working copy) @@ -63,10 +63,10 @@ #include #include #include +#include #define _KERNEL #include #include -#include #include #include #include Index: . =================================================================== --- . (revision 325038) +++ . (working copy) Property changes on: . ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r316304 From owner-freebsd-stable@freebsd.org Fri Oct 27 15:24:47 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EE84E4846E for ; Fri, 27 Oct 2017 15:24:47 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4593A6A24D for ; Fri, 27 Oct 2017 15:24:47 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: by mailman.ysv.freebsd.org (Postfix) id 41BDCE4846D; Fri, 27 Oct 2017 15:24:47 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41608E4846C for ; Fri, 27 Oct 2017 15:24:47 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D54996A24C; Fri, 27 Oct 2017 15:24:46 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v9RFOZCn068687; Fri, 27 Oct 2017 17:24:35 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 756852A8; Fri, 27 Oct 2017 17:24:35 +0200 (CEST) Message-ID: <59F34FB3.5000906@omnilan.de> Date: Fri, 27 Oct 2017 17:24:35 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: David Wolfskill , stable@FreeBSD.org, Bryan Drewery Subject: Re: buildworld fail in stable/11 @r325033 -- r325029? References: <20171027111254.GJ1159@albert.catwhisker.org> In-Reply-To: <20171027111254.GJ1159@albert.catwhisker.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Fri, 27 Oct 2017 17:24:35 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 15:24:47 -0000 Bezüglich David Wolfskill's Nachricht vom 27.10.2017 13:12 (localtime): > This is observed on systems (both my laptop & my build machine) running > stable/11 @r325003, after updating sources to r325033: > > --- libprocstat.o --- > In file included from /usr/src/lib/libprocstat/libprocstat.c:69: > /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:19: error: field has incomplete type 'struct siginfo32' > struct siginfo32 pl_siginfo; /* siginfo for signal */ > ^ > /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:9: note: forward declaration of 'struct siginfo32' > struct siginfo32 pl_siginfo; /* siginfo for signal */ > ^ I know nothing about the code changes in r324932 (MFC r316286), but the followup fix r325029 (MFC r320481) seems to have caused the early buildworld failure in stable/11 – for me too. Since clang reported the error referencing some include from obj/tmp (tmp/usr/include/sys/ptrace.h), I found: r316304 (https://svnweb.freebsd.org/base/head/lib/libprocstat/libprocstat.c?view=patch&r1=316304&r2=316303&pathrev=316304), which I thought could explain the symptom. Seems to be the solution (applies cleanly to stable/11, buildworld succeded). Even a blind squirrel sometimes finds the nut ;-) -harry From owner-freebsd-stable@freebsd.org Fri Oct 27 15:27:18 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71C59E485F0 for ; Fri, 27 Oct 2017 15:27:18 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5980F6A3A7 for ; Fri, 27 Oct 2017 15:27:18 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.ysv.freebsd.org (Postfix) id 58B0DE485EE; Fri, 27 Oct 2017 15:27:18 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 582DEE485ED for ; Fri, 27 Oct 2017 15:27:18 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E5CAF6A3A6; Fri, 27 Oct 2017 15:27:17 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id v9RFRFkC065118; Fri, 27 Oct 2017 15:27:15 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id v9RFRFmM065117; Fri, 27 Oct 2017 08:27:15 -0700 (PDT) (envelope-from david) Date: Fri, 27 Oct 2017 08:27:15 -0700 From: David Wolfskill To: Konstantin Belousov Cc: stable@freebsd.org, Bryan Drewery Subject: Re: buildworld fail in stable/11 @r325033 -- r325029? Message-ID: <20171027152715.GC1159@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Konstantin Belousov , stable@freebsd.org, Bryan Drewery References: <20171027111254.GJ1159@albert.catwhisker.org> <20171027144218.GG2566@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LCsMNAlXV8vGS7CH" Content-Disposition: inline In-Reply-To: <20171027144218.GG2566@kib.kiev.ua> User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 15:27:18 -0000 --LCsMNAlXV8vGS7CH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 27, 2017 at 05:42:18PM +0300, Konstantin Belousov wrote: > ... > Can you confirm that the following patch allows your system to build ? >=20 > Index: lib/libprocstat/libprocstat.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- lib/libprocstat/libprocstat.c (revision 325038) > +++ lib/libprocstat/libprocstat.c (working copy) > @@ -63,10 +63,10 @@ > #include > #include > #include > +#include > #define _KERNEL > #include > #include > -#include > #include > #include > #include > Index: . > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > .... Yes: Thanks, Konstantin; that worked rather nicely: FreeBSD localhost 11.1-STABLE FreeBSD 11.1-STABLE #432 r325033M/325033:110= 1506: Fri Oct 27 08:18:47 PDT 2017 root@g1-252.catwhisker.org:/common/S= 1/obj/usr/src/sys/CANARY amd64 Peace, david --=20 David H. Wolfskill david@catwhisker.org Unsubstantiated claims of "Fake News" are evidence that the claimant lies a= gain. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --LCsMNAlXV8vGS7CH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJZ81BTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4XVfQIAKg5ju0mqJt6tKsb9NeKWpCO KAcgLCT6x5CyGPAcPdi8dH0c0r/aJ84+f/x5p00nbpKFMytloMaxC2sC7QlHYiea CWUEy2JVtLzC/gAOocCg5NNl3I4cFJ1W3jeiX9nAhdadIT95qEViHvEyfX7BJ9hZ 7dpY6zwHDEKha+pf7HSfY8MP/Kv/srtHQlG9GJu9oUgkad4f9GaEjpoFkqP5FS4B TDUrB2uomQ5EmIftJSR6LM3Gjd5c/h3kesFyhdG5QIpNsIJZTXEvKLMl1C+8Nh+7 pDUo/absBOarZpFi6gTU6lThtIJ2TcsApzKlOeNk7vjCHP2KkgmJfDR37dtUTJM= =MCuM -----END PGP SIGNATURE----- --LCsMNAlXV8vGS7CH-- From owner-freebsd-stable@freebsd.org Fri Oct 27 15:27:50 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B9EFE486CF for ; Fri, 27 Oct 2017 15:27:50 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 20C336A4B9 for ; Fri, 27 Oct 2017 15:27:50 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: by mailman.ysv.freebsd.org (Postfix) id 203B7E486CD; Fri, 27 Oct 2017 15:27:50 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FEEEE486C7 for ; Fri, 27 Oct 2017 15:27:50 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2F776A4B8; Fri, 27 Oct 2017 15:27:49 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id v9RFRgQP068708; Fri, 27 Oct 2017 17:27:42 +0200 (CEST) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 5E3152AA; Fri, 27 Oct 2017 17:27:42 +0200 (CEST) Message-ID: <59F3506E.1030206@omnilan.de> Date: Fri, 27 Oct 2017 17:27:42 +0200 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: Konstantin Belousov CC: David Wolfskill , stable@freebsd.org, Bryan Drewery Subject: Re: buildworld fail in stable/11 @r325033 -- r325029? References: <20171027111254.GJ1159@albert.catwhisker.org> <20171027144218.GG2566@kib.kiev.ua> In-Reply-To: <20171027144218.GG2566@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: ACL 129 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Fri, 27 Oct 2017 17:27:42 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 15:27:50 -0000 Bezüglich Konstantin Belousov's Nachricht vom 27.10.2017 16:42 (localtime): > On Fri, Oct 27, 2017 at 04:12:54AM -0700, David Wolfskill wrote: >> This is observed on systems (both my laptop & my build machine) running >> stable/11 @r325003, after updating sources to r325033: >> >> --- libprocstat.o --- >> In file included from /usr/src/lib/libprocstat/libprocstat.c:69: >> /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:19: error: field has incomplete type 'struct siginfo32' >> struct siginfo32 pl_siginfo; /* siginfo for signal */ >> ^ >> /usr/obj/usr/src/tmp/usr/include/sys/ptrace.h:148:9: note: forward declaration of 'struct siginfo32' >> struct siginfo32 pl_siginfo; /* siginfo for signal */ >> ^ >> >> I don't know that r325029 is to blame, but that was the last commit >> in that area (in the range r325003 - r325033). And there wwer not >> very many commits to stable/11 in that range: > Can you confirm that the following patch allows your system to build ? > > Index: lib/libprocstat/libprocstat.c > =================================================================== > --- lib/libprocstat/libprocstat.c (revision 325038) > +++ lib/libprocstat/libprocstat.c (working copy) > @@ -63,10 +63,10 @@ > #include > #include > #include > +#include > #define _KERNEL > #include > #include > -#include > #include > #include > #include > Index: . > =================================================================== > --- . (revision 325038) > +++ . (working copy) > Confirmed. Sorry for the obsolete last post. It's been in the pipeline for build time and haven't checked that you already posted the solution! -harry From owner-freebsd-stable@freebsd.org Fri Oct 27 15:36:06 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 892F9E49388 for ; Fri, 27 Oct 2017 15:36:06 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [IPv6:2607:f3e0:80:80::2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 244296B817 for ; Fri, 27 Oct 2017 15:36:05 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (lava.sentex.ca [IPv6:2607:f3e0:0:5::11]) by smarthost2.sentex.ca (8.15.2/8.15.2) with ESMTPS id v9RFa3OB004284 (version=TLSv1 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 27 Oct 2017 11:36:03 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [192.168.43.26] (saphire3.sentex.ca [192.168.43.26]) by lava.sentex.ca (8.15.2/8.15.2) with ESMTP id v9RFa0WW031615; Fri, 27 Oct 2017 11:36:00 -0400 (EDT) (envelope-from mike@sentex.net) Subject: Re: ppp routing bug ? To: Eugene Grosbein , FreeBSD-STABLE Mailing List References: <59F1B650.5070107@grosbein.net> <22c3cbd4-2a8e-884f-ec9b-cc4d12ff818f@sentex.net> <59F1EA48.1090500@grosbein.net> <59F206CB.5000006@grosbein.net> <98f44309-d706-4cef-c0b2-0f08e0e1855c@sentex.net> <59F25ED0.1010001@grosbein.net> From: Mike Tancsa Organization: Sentex Communications Message-ID: <639cc812-d865-15a7-eda1-cb71575dc2e6@sentex.net> Date: Fri, 27 Oct 2017 11:36:00 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <59F25ED0.1010001@grosbein.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Oct 2017 15:36:06 -0000 On 10/26/2017 6:16 PM, Eugene Grosbein wrote: > 27.10.2017 1:04, Mike Tancsa пишет: >> >> the borked route monitor looks like >> >> got message of size 124 on Thu Oct 26 12:21:12 2017 >> RTM_ADD: Add Route: len 124, pid: 29597, seq 2, errno 0, >> flags: >> locks: inits: >> sockaddrs: >> 192.168.134.2 64.7.128.7 >> >> >> got message of size 196 on Thu Oct 26 12:21:13 2017 >> RTM_CHANGE: Change Metrics or flags: len 196, pid: 29597, seq 5, errno >> 0, flags: >> locks: inits: >> sockaddrs: >> 192.168.134.2 64.7.128.7 tun0 98-159-244-185.agas1a-dynamic.dsl.sentex.ca > > That makes sense: ppp send bogus request to the routing socket and > the request has not RTF_HOST flag nor RTA_NETMASK address. > It seems, earlier kernel code masked this bug somehow but it does not now. > > Anyway, we have two bugs here: ppp sending bad request and kernel having > no enough checks for this somehow. > > Fixing ppp part would be easy. Please try this patch: Thanks, that seems to restore the earlier functionality! ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/