From owner-freebsd-current@freebsd.org Fri Jan 6 19:43:44 2017 Return-Path: Delivered-To: freebsd-current@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 C6242CA27A4 for ; Fri, 6 Jan 2017 19:43:44 +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 6E68712A5; Fri, 6 Jan 2017 19:43:44 +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 v06JhcCE039279 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 6 Jan 2017 21:43:38 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua v06JhcCE039279 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id v06Jhc5E039278; Fri, 6 Jan 2017 21:43:38 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 6 Jan 2017 21:43:38 +0200 From: Konstantin Belousov To: Kurt Lidl Cc: FreeBSD-Current Subject: Re: ABI differences between stable/10 and head? Message-ID: <20170106194338.GE2349@kib.kiev.ua> References: <364d5cf1-f5a7-785a-b55e-f605f165371f@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <364d5cf1-f5a7-785a-b55e-f605f165371f@FreeBSD.org> User-Agent: Mutt/1.7.2 (2016-11-26) 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-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jan 2017 19:43:44 -0000 On Fri, Jan 06, 2017 at 09:54:50AM -0500, Kurt Lidl wrote: > Yesterday, I upgraded the kernel on my sparc64 to -head, > so I was running a mis-matched kernel and userland. > The userland was a recent (as of two days ago) stable/10. > > In the nightly report, I noticed the following: > > > Network interface status: > > Name Mtu Network Address Ipkts Ierrs Idrop Opkts Oerrs Coll Drop > > bge0 - 00:03:ba:e0:ce:07 0 64691 0 0 0 11494817 2025493932409880576 > > bge0 - fe80::203:baf fe80::203:baff:fe 0 - - 0 - - - > > bge0 - spork.pix.net 2001:470:e254:10: 0 - - 0 - - - > > bge0 - 192.168.16.0 spork 0 - - 0 - - - > > bge1 - 00:03:ba:e0:ce:08 0 0 0 0 0 0 4040291828690585088 > > bge2 - 00:03:ba:e0:ce:09 0 0 0 0 0 0 4040291832985552384 > > bge3 - 00:03:ba:e0:ce:0a 0 0 0 0 0 0 4040291837582442496 > > lo0 - 0 74 0 0 0 38794 2025493932409880576 > > lo0 - localhost ::1 0 - - 0 - - - > > lo0 - fe80::1%lo0 fe80::1%lo0 0 - - 0 - - - > > lo0 - your-net localhost 0 - - 0 - - - > > As you can see, the "drop" column for the host has > completely outrageous values. > > When representing those numbers as binary, there's > an awful lot of zeros in the low order bits, like > some structure is being referenced off by a word or > two. > > lidl@torb-142: bc -l > bc 1.06 > Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. > This is free software with ABSOLUTELY NO WARRANTY. > For details type `warranty'. > obase=2 > 2025493932409880576 > 1110000011100000000000000000000000000000000000000000000000000 > > I also find it more than slightly curious that the "drop" values for > bge0 and lo0 are identical. > > Do we have some subtle ABI differences between the two systems > (stable/10 vs -head)? We have not subtle, but large ABI breakage regularly with the management interfaces, esp. with network and CAM interfaces. Do not expect that network configuration tools like ifconfig or route, or network statistic tools like netstat, work between major releases.