Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3411542pxu; Sun, 20 Dec 2020 01:56:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7by4UjQxDnb5GuFmjYV9P9mcaDho68uXWxbTlxox7jSj797rHYkrBAZa4gFXx4kjJbUSX X-Received: by 2002:a50:e80c:: with SMTP id e12mr11494275edn.288.1608458161791; Sun, 20 Dec 2020 01:56:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608458161; cv=none; d=google.com; s=arc-20160816; b=urgS5PKEqtojzaAr5DZpWtjcX1XgT9rGp06Hwb2GPSnzJCNwmisJmwz5wTA5yzttJN PnCwqcz//b2v/inN4xlqtTjrblszGUU2O6dDIjGqFTZWkH7aLTxo9ZLru4ebD0IcDxog bAmjFUAT37attx+4w72+6azoBsfsrZG15OrWglRME0qdUyWL7g5Ky/XK5pJeQ7gpNmIt r0IbeZxUwHH1Iyh8fIBuabHqIuI/vnwsdPkn5fQPh4pimR1keCur8sQfBciYCDmfkNz8 g3UOhstA6d4pfR6j1iUxcs5mlQqAvPhpqY56sGTT7LaCm/hlwDHjETm8zlIJR29k87sR Uz3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YAPbCIAtqizrJjOjmuHJe0YU4+eOKzCw3UhT/xACS9Y=; b=SKe123oqHjw6f+cx/L2lx0J4tJY92SnTBDkS7kRYuPgO1vrWD20xfo3O9pd91zTbYB W1kvkzuWtOGcITQfePrcqXl8vfJ9Ho4Qz538btvF7DfL3JRBCJtjv+44A+wLCj9G0j4Y fM+SOmWMot4434asjY+MwXlGIldPNFLZ0wOQUar/gbo3Efr1yzlmziVdKDcMfVYqEAj6 25vrMmLeMhRRdMWFjQ/lgY/qNPr8cTfOkkPOoMQ2rtORI90B57MzJdZ2llMVpbI1/Ytg qnAk6FJfooTBwdDvOBaJHxKmLVJ0byvkyqpgLp+S9prJG+yE7Wq4wrM1zvT8WymlwF54 NACw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uNilJg+V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r13si8949958edq.603.2020.12.20.01.55.39; Sun, 20 Dec 2020 01:56:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uNilJg+V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727258AbgLTJy3 (ORCPT + 99 others); Sun, 20 Dec 2020 04:54:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726377AbgLTJy2 (ORCPT ); Sun, 20 Dec 2020 04:54:28 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE859C0613CF; Sun, 20 Dec 2020 01:53:44 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id 23so16530074lfg.10; Sun, 20 Dec 2020 01:53:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YAPbCIAtqizrJjOjmuHJe0YU4+eOKzCw3UhT/xACS9Y=; b=uNilJg+VN8l7sryqjTpuWhaIkxynXcIN41x9XJKmGYAGIs5aZWmW/0DBN6jNqqhQY0 UBXllN5HoBhxs4KJ3Wg6cJJIRE9YYKbj4nfirBBLbasKBgCxnMcz48a/4ou+yH1YFxti 9Ru+YPYej4SEadN0aXRIEx94AhAll7JQmTU/Tpo02R2l8e8ljSHVDOwclOZ2QJepGbsJ JvRMakTbA1G9MzUVQI26yOf5GV+6pgpasquFlLJ+ZKMw5N2e28q+8588Z5s4DCMjjkcB C3Zo+rUDuLtBMUrsxGE177n1u8gURcC7RQXV3fEMJjz0p/xuA/ebuL0tSRprvuK4SL9W QtvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YAPbCIAtqizrJjOjmuHJe0YU4+eOKzCw3UhT/xACS9Y=; b=nigUBfcoTmt0fULknfrARwUerNma2cw17MEFC8owD6sr58iuQOkSwl1uTWIWo6Z53K lF1FgPWZl/Dg419ycHrDfFZSqcyZCoS7iyMOwc5zMq3CDojMrQFu9vbWWUbxuP0PBy7f arTxnRdt+tnUleC+x094djHNhzyMpPp0qzkce/GNFGF9m12D53jy2DbQ6gg75GCVoHsj tiM58KAas0mup9ryhxckx/EA3e+rQNUuHqV18qNKHrpBiZHeurSnX/O72+1j7DusWjVu 1j8/GexrCrhWJh1QhlL3UQS+IeREG9mE2NIso+lbyg5yiqu9XlMgxAOmd1WM4eSVbR5G hwWw== X-Gm-Message-State: AOAM533+as12jalY4lRv9mNKu3JXUEYX7PdpswU8JfH6qBbp35e/bQ/U 6mqHG65ONXukshlBKIAtixXTJYLWwKhWTmOnpV4= X-Received: by 2002:a2e:3a17:: with SMTP id h23mr5183276lja.435.1608458022771; Sun, 20 Dec 2020 01:53:42 -0800 (PST) MIME-Version: 1.0 References: <20201218184347.2180772-1-sam@ravnborg.org> <20201219214054.GB3132151@ravnborg.org> In-Reply-To: From: Julian Calaby Date: Sun, 20 Dec 2020 20:53:30 +1100 Message-ID: Subject: Re: [RFC PATCH 0/13] sparc32: sunset sun4m and sun4d To: Romain Dolbeau Cc: Sam Ravnborg , David S Miller , sparclinux , Andreas Larsson , Arnd Bergmann , Alexey Dobriyan , Al Viro , Andrew Morton , Anshuman Khandual , Arvind Sankar , Christian Brauner , Denis Efremov , Dmitry Safonov <0x7f454c46@gmail.com>, Geert Uytterhoeven , Greg Kroah-Hartman , Ira Weiny , Lorenzo Pieralisi , Mark Rutland , Mike Rapoport , Pekka Enberg , Peter Zijlstra , Stephen Rothwell , Thomas Gleixner , Will Deacon , Willy Tarreau , LKML , debian-sparc , gentoo-sparc@lists.gentoo.org, info@temlib.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Romain, On Sun, Dec 20, 2020 at 8:26 PM Romain Dolbeau wrote: > > Le dim. 20 d=C3=A9c. 2020 =C3=A0 09:54, Julian Calaby a =C3=A9crit : > > If I want to run them, assuming the hardware still works, I need to > > netboot them as I cannot find working, compatible HDDs for them as > > everything has switched to SATA or SAS. > > SCSI2SD () > are a bit expensive, but solve that problem (I own both a V5 and a V6, > both work well in my SPARCstations, tried sun4c and sun4m). > As it takes micro-sd cards, it's quite easy to keep multiple OSes > on hand. I'd forgotten about that. Fair point =3D) > > Then there's the issue of finding a monitor as they're not > > electrically compatible with VGA > > Huh? There is Sun's 13W3-to-vga adapters and cables, and many > monitors will sync to Sun's frequency (though not the most recent > LCDs whose analog circuitry is pathetic compared to old-school > CRTs). Some framebuffers will output 1280x1024 (rarer than for > 1152x900), and some can be coerced to do almost anything with > some Forth knowledge (see e.g. > , again blowing my > own horn here sorry...). Yeah, my issue is that I have no CRTs anymore - all my monitors are LCDs and none of them sync to the frequencies SUNs use. So yeah, you can make adapters (i have home-made adapters to convert both ways) however out of the 4 monitors I own with VGA ports, none of them sync to Sun frequencies. > > (...) booting one up for fun is simply impractical > > An SCSI2SD and either a null-modem serial cable or a > Sun keyboard/13w3 cable/17"LCD combo and you're good to > go. You might need another unix-like box to netboot the system. That's almost exactly what I was planning to do, but I'd still be lacking a Linux distro to run. > > I believe that Gentoo is architecture-neutral enough that it'd work, > > but I believe that you'll have to compile everything - there'll be no > > pre-built anything for sparc32 > > Trying gentoo is on my todo list... has been for a long time :-( Same. IIRC there's some ancient versions that have the bits to netboot a SparcStation so you can then do the necessary stuff to install the minimal binaries and stuff, at which point you can do the various configurations, pull in the latest portage tree and emerge world, however the last time I tried this, the disk I was using - my last one - failed somewhere in the middle of that process. > > and as it's fairly slow hardware by > > today's standards, that's going to take a long time, however you could > > probably use distcc and cross-compilers to speed it up. > > Isn't that what Qemu is for ? :-) I've managed to recompile LLVM > and clang in NetBSD 9 for my SS20, one by cross-compiling > (LLVM requires too much memory), the other in QEmu. > Unfortunately, Qemu doesn't yet support mt-tcg (multithreaded > emulation) for sparc so single-core only - still faster than the HW, > mostly because of incomparably faster I/O. My distcc plan was to have it talk to a cross compiler on my x86 desktop. I never got to the point where it would have actually used it. > > If there were more people using it or more testing, or more distros > > supporting it - not just (theoretically?) working on it - then I'd be > > fighting to keep it. > > I wish I had some arguments for that point... I will just re-mention Qemu= , > as it makes testing quite easy and reasonably not-too-slow. QEMU is somewhat slow and never _exactly_ the same as real hardware, so I can see why distros might not use it as a build machine or whatever. And if they do build for QEMU and it doesn't work on real hardware, then we have a distro that's only for virtual hardware and that seems pointless. You're right that with the right bits and pieces resurrecting a Sparc32 machine is relatively "easy", however there's still no modern distros supporting this ancient hardware so the upstream kernel has most likely bitrotted. I still don't think it's worth saving. Thanks, --=20 Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/