Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2017 21:43:38 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Kurt Lidl <lidl@FreeBSD.org>
Cc:        FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: ABI differences between stable/10 and head?
Message-ID:  <20170106194338.GE2349@kib.kiev.ua>
In-Reply-To: <364d5cf1-f5a7-785a-b55e-f605f165371f@FreeBSD.org>
References:  <364d5cf1-f5a7-785a-b55e-f605f165371f@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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      - <Link#1>      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      - <Link#2>      00:03:ba:e0:ce:08        0     0     0        0     0     0 4040291828690585088
> > bge2      - <Link#3>      00:03:ba:e0:ce:09        0     0     0        0     0     0 4040291832985552384
> > bge3      - <Link#4>      00:03:ba:e0:ce:0a        0     0     0        0     0     0 4040291837582442496
> > lo0       - <Link#5>                               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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170106194338.GE2349>