|
|
Subscribe / Log in / New account

Gentoo dropping support of SPARC

The Gentoo security team has announced that the SPARC architecture will no longer be supported by the security team. "This decision follows the council decision on 2016-12-11, 'The council defers to the security team, but is supportive of dropping security support for sparc if it is unable to generally meet the security team timelines.'"


From:  Yury German <blueknight-AT-gentoo.org>
To:  gentoo-announce-AT-lists.gentoo.org
Subject:  [gentoo-announce] Dropping support of sparc as a security supported architecture.
Date:  Tue, 6 Jun 2017 11:25:45 -0400
Message-ID:  <d91a678b-9931-def4-b309-4d1d32615571@gentoo.org>

Hello,

After long discussion with the sparc team and other developers, the
Security Team has decided to drop SPARC as a security supported
architecture. This decision follows the council decision on 2016-12-11,
"The council defers to the security team, but is supportive of dropping
security support for sparc if it is unable to generally meet the
security team timelines."

The list of security supported architectures is maintained in the
[Security Vulnerability Treatment Policy]

The consequences of the removal of security supported architecture
include (i) GLSA will be released before a version of a package is
necessarily stable for the architecture (ii) architecture-specific
issues will not be investigated.

In addition to this announcement, glsa-check will be updated to present
necessary information for sparc users. As most security issues are
cross-architecture, glsa-check will continue to be operational for sparc
based on generic GLSAs for other architectures.

References:
[Security Vulnerability Treatment Policy]
https://www.gentoo.org/support/security/vulnerability-tre...
##

-- 
________________
Yury German (BlueKnight)
Gentoo Security Team Lead
Email: blueknight@gentoo.org

OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net
GPG Fingerprint: 8858 89D6 C0C4 75C4 D0DD  FA00 EEAF ED89 024C 043


to post comments

Gentoo dropping support of SPARC

Posted Jun 6, 2017 17:46 UTC (Tue) by mageta (subscriber, #89696) [Link] (6 responses)

The headline is misleading. The consequences are written in the mail-text, and they don't seem to imply that SPARC is dropped as architecture from Gentoo as a whole.

Gentoo dropping support of SPARC

Posted Jun 6, 2017 20:22 UTC (Tue) by prometheanfire (subscriber, #65683) [Link] (5 responses)

Ya, in fact we are looking into getting more sparc hardware for testing.

Gentoo dropping support of SPARC

Posted Jun 7, 2017 8:54 UTC (Wed) by glaubitz (subscriber, #96452) [Link] (4 responses)

> Ya, in fact we are looking into getting more sparc hardware for testing.

What you should do first is switch the default from sparcv9 (32 bits) to sparcv9 (64 bits) which is what we did in Debian.

> https://lists.debian.org/debian-sparc/2016/06/msg00126.html

Also, Oracle itself is fully investing the 64-bit port themselves. In fact, they offer two Linux distributions for sparc64:

> http://www.oracle.com/technetwork/server-storage/linux/do...
> https://oss.oracle.com/projects/linux-sparc/

But since Oracle's distributions require at least sun4v machines, many people will be better off running Debian sparc64
which also has many more and up-to-date packages.

Adrian

Gentoo dropping support of SPARC

Posted Jun 7, 2017 13:17 UTC (Wed) by jond (subscriber, #37669) [Link] (3 responses)

> What you should do first is switch the default from sparcv9 (32 bits) to sparcv9 (64 bits) which is what we did in Debian.

Well sure, if their goal is to exclude using 32bit sparc systems with Gentoo. But perhaps that is not their goal.

Gentoo dropping support of SPARC

Posted Jun 7, 2017 13:34 UTC (Wed) by glaubitz (subscriber, #96452) [Link] (2 responses)

> Well sure, if their goal is to exclude using 32bit sparc systems with Gentoo. But perhaps that is not their goal.

sparcv9 *is* a 64-bit architecture. There is currently no usable 32-bit SPARC support in Linux.

What Gentoo (and Debian's "sparc" port used) is using is "sparc64" with 32-bit pointers. Gentoo for
SPARC requires at least an UltraSPARC machine (sun4u) and all of these are 64-bit.

If you boot a current version of Gentoo on a SPARC and run "uname -a" it will say "sparc64", it's
just the userland that is 32-bit. And Oracle is currently investing all resources into sparc64
which is why the best idea would be to fully switch to sparc64 like Debian and OpenBSD already
did.

Gentoo dropping support of SPARC

Posted Jun 7, 2017 13:48 UTC (Wed) by pizza (subscriber, #46) [Link] (1 responses)

It's worth mentioning that the oldest UltraSPARC/sun4u machines are over two decades old now. (And a modern smartphone is more than an order of magnitude more capable, even before the GPU is factored in..)

Gentoo dropping support of SPARC

Posted Jun 7, 2017 13:54 UTC (Wed) by glaubitz (subscriber, #96452) [Link]

> It's worth mentioning that the oldest UltraSPARC/sun4u machines are over two decades old now.

Exactly. And all of these are fully supported by the sparc64 ports of Debian and OpenBSD. They're not
supported by Oracle's own distributions Linux for SPARC and Oracle Linux though as these require
"sun4v". But Oracle fully supports the development of sparc64.

They are working on: golang, the kernel, GRUB, Ocaml, gcc, binutils and much more.

People interested in Linux on SPARC should join #sparc on Freenode.

Gentoo dropping support of SPARC

Posted Jun 6, 2017 20:35 UTC (Tue) by epa (subscriber, #39769) [Link] (4 responses)

Is SPARC one of those architectures where you have sparc, sparc64, sparcv5, supersparc, ultrasparc, sparcman or whatever and some of them are really ancient stuff, so you can 'drop' one of them but it doesn't affect any hardware sold in the last twenty years?

Gentoo dropping support of SPARC

Posted Jun 6, 2017 20:42 UTC (Tue) by nix (subscriber, #2304) [Link] (2 responses)

Quite. SPARC32 kernel support is gone, but there is still code in the kernel -- and weird uncommented workarounds in the kernel -- to support things like the Spitfire, released in 1995, an artifact which is actually literally in the Computer History Museum.

The artifact I ran into half an hour ago was code in arch/sparc/kernel/time_64.c:tick_get_tick():

static unsigned long long tick_get_tick(void)
{
        unsigned long ret;

        __asm__ __volatile__("rd        %%tick, %0\n\t"
                             "mov       %0, %0"
                             : "=r" (ret));

        return ret & ~TICK_PRIV_BIT;
}

What's that weird mov for? Well, there was a comment before this code was split up in 2003:

   * Just to be anal we add a workaround for Spitfire
   * Errata 50 by preventing pipeline bypasses on the
   * final read of the %tick register into a compare
   * instruction.  The Errata 50 description states
   * that %tick is not prone to this bug, but I am not
   * taking any chances.

So we have a weird workaround with a long-lost comment in a frequently-called path to handle bugs that, uh, are believed not to affect actual museum artifacts, and certainly don't affect anything more recent (though anything in actual use these days won't use this code path at all because it will have the %stick register).

Gentoo dropping support of SPARC

Posted Jun 14, 2017 22:16 UTC (Wed) by jch (guest, #51929) [Link] (1 responses)

> SPARC32 kernel support is gone, but there is still code in the kernel -- and weird uncommented workarounds in the kernel -- to support things like the Spitfire, released in 1995

Isn't the Spitfire a SPARCv9 (a.k.a. UltraSparc or SPARC64)?

Gentoo dropping support of SPARC

Posted Jun 16, 2017 17:32 UTC (Fri) by nix (subscriber, #2304) [Link]

I think it was the first, or nearly the first, widely-available UltraSPARC. I wasn't suggesting that it was 32-bit: I was noting that even some UltraSPARC stuff is weird and ancient and has little justification for existence any more (and, by extension, that nobody not running a computer museum will miss the ability to boot 32-bit kernels on their SPARC Classic).

Gentoo dropping support of SPARC

Posted Jun 7, 2017 8:58 UTC (Wed) by glaubitz (subscriber, #96452) [Link]

> Is SPARC one of those architectures where you have sparc, sparc64, sparcv5, supersparc, ultrasparc, sparcman or whatever and some of them are really ancient stuff, so you can 'drop' one of them but it doesn't affect any hardware sold in the last twenty years?

sparc64 is fully supported by Oracle:

> http://www.oracle.com/technetwork/server-storage/linux/do...
> https://oss.oracle.com/projects/linux-sparc/

A variant of sparcv8 called LEON is still supported, too, because ESA uses it:

> https://en.wikipedia.org/wiki/LEON


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds