From owner-freebsd-current@freebsd.org Thu Nov 9 14:56:26 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 3411EE52606 for ; Thu, 9 Nov 2017 14:56:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC166976D for ; Thu, 9 Nov 2017 14:56:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 0B3FEE52605; Thu, 9 Nov 2017 14:56:26 +0000 (UTC) Delivered-To: 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 0AD50E52604 for ; Thu, 9 Nov 2017 14:56:26 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 CE5616976C for ; Thu, 9 Nov 2017 14:56:25 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22f.google.com with SMTP id 143so7683767itf.2 for ; Thu, 09 Nov 2017 06:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=K6+WXpwwsMDs0vjaLGmvpzVufCGXVnLFt7zoZeKLZDo=; b=1zn40dDf3MSP43aDsxeiAfwyWG+iNhHpaFTJqH7OBZndiaIgPW1bMVWV11bNhtzFx5 BSgOlzQ0r+uJ+CTxS095ullyl3s7Z7dabIVvSMNbcCGl6UojUsLZEwLppvEBdQvC6wZz 5HdWeUBqk0pyW+Hs7N9UBU0Vlt2wTfZXSBaJURHu24KJtGJppHAqSE7RCbK6cMzSoAJU aONCauBEwxD+ZVtksMNJXtcmQpcKwp5imyeao9Disc00Qwopc0DaFj1tALES5C5zTapQ i0DnD/se3ewoYaz5FOwW9kYLdMu2LDI82Z6+VoquTpByd87YNtTiyqdXUPqGWafqAFXU eAcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=K6+WXpwwsMDs0vjaLGmvpzVufCGXVnLFt7zoZeKLZDo=; b=ZK2gzvesStITpqMj6Q9r997immyOgJX54CzjIMuXgBNUuV2P/O7iOcCj3fQ0twsdw8 1Ea858JDfYx04CFQ3gzwXbGIWs8WZgutx1bwZXcoaSvq4kMgGpqKB1WJf/LdeIIWUcw9 Mk2byIknhbG0T7VRsvW00CZUZb4fWYND3kqrd6COMgHzS7WmGipNiGyHwL49Bv6Vpejr Q+m5HfeSuINxy5RIgYbpQKqVHvmDOady/2mACFXqWtgQ4I8RZqOcRG28RAzhx6h/F7gi Sp5t+BkK2o32CrtcU6NKxYPE+Jreim80FxOQ0/xXPJStMkWf0OfOkJok0vnd2RHO+uKq 60mQ== X-Gm-Message-State: AJaThX4OsEExUEvI4QwpdI8JXPRhkGmz1/llUZd4n3+nLZJvKDe1OQwk Wvsvqz9z4ZdFHBV8RHMEi0IwJ+zGeEAEVpmgamLOTQ== X-Google-Smtp-Source: AGs4zMapaiN+eeygdZEZjSDCo5p8KHwlEXQSHwmDkRX46VqZcekwKf+7FLHjDRF1353QRLg6apE9p7G6xnQmap4ySeY= X-Received: by 10.36.64.145 with SMTP id n139mr159990ita.115.1510239384973; Thu, 09 Nov 2017 06:56:24 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.108.204 with HTTP; Thu, 9 Nov 2017 06:56:24 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:48b2:e409:663b:8d66] In-Reply-To: <20171109135221.GB4550@kib.kiev.ua> References: <20171109135221.GB4550@kib.kiev.ua> From: Warner Losh Date: Thu, 9 Nov 2017 07:56:24 -0700 X-Google-Sender-Auth: 1kR5jXTYe39pn1N77hAVI8jM9fE Message-ID: Subject: Re: XBOX/i386 and xlint removal To: Konstantin Belousov Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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: Thu, 09 Nov 2017 14:56:26 -0000 On Thu, Nov 9, 2017 at 6:52 AM, Konstantin Belousov wrote: > Hello, > I created two reviews to axe two features which I personally find of > little use in modern FreeBSD. > > https://reviews.freebsd.org/D13015 xlint > https://reviews.freebsd.org/D13016 XBOX/i386 > > Reviews contain the explanations. For xlint it is just an overdue, IMO. > While for XBOX I do not have much opposition against supporting the > obsoleted platforms, but the way the port was done pollutes the sources > with too much #ifdefs. Since people often do not want to care about i386 > together with amd64, additional hurdle only makes the things worse. > > Feel free to add yourself as reviewer. I intend to commit the patches > in a week, unless strong objections expressed by the time. > Thanks for the heads up. Both of these items are ripe for removal. XBOX was doable back in the day when one could still obtain the necessary hacking hardware to allow FreeBSD to run on it. Today, that's become unobtainium for the most part. I looked to get an XBOX running a couple of years ago, and at that time it was hard to get the right stuff. Today, all hacking xbox stuff online is about the newer xbox 360 or xbox one, which would be interesting projects too, but have nothing to do with this code. In 2005, when I originally committed the code, it was a simple thing to find. By 2010 it was hard and by 2015 it was almost impossible. I had a XBOX that I got rid of a couple of years ago because I couldn't find the modding kit that would allow it to run FreeBSD easily. One can buy modded XBOXes on ebay still for ~$150-$200, but those machines are marketed as retro gaming consoles... The XBOX code itself isn't horrible. It shows some flaws in our ability to do memory detection and prevent access to hardware that a problem. Some cleanup in the area would theoretically be useful, but it would have been useful a decade ago. Not so much today. The cruft is minor, but for a platform that's even less useful to support than pc98 and that also is gone. xlint hasn't been useful since before clang went into the tree. While I have a small twinge of nostalgia for it, it's only a small twinge and it too is past its freshness date. Warner