From nobody Fri Nov 18 12:30:56 2022 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NDGNT3yhxz4hF1b for ; Fri, 18 Nov 2022 12:31:05 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id 4NDGNS4hnTz3hFP for ; Fri, 18 Nov 2022 12:31:04 +0000 (UTC) (envelope-from rb@gid.co.uk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of rb@gid.co.uk designates 194.32.164.250 as permitted sender) smtp.mailfrom=rb@gid.co.uk; dmarc=none Received: from smtpclient.apple ([194.32.164.25]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id 2AICUuOq048965; Fri, 18 Nov 2022 12:30:56 GMT (envelope-from rb@gid.co.uk) Content-Type: text/plain; charset=utf-8 List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Dropping firewire support from boot loader From: rb@gid.co.uk In-Reply-To: Date: Fri, 18 Nov 2022 12:30:56 +0000 Cc: freebsd-arch Content-Transfer-Encoding: quoted-printable Message-Id: <8FAA2C39-3394-49A8-865D-CF580A3EB52C@gid.co.uk> References: <5E84C24A-E90F-4EE2-B054-EEDCC23DD6E6@gid.co.uk> To: Warner Losh X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42831, ipnet:194.32.164.0/24, country:GB]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[gid.co.uk]; FROM_NO_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NDGNS4hnTz3hFP X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Hi, It doesn=E2=80=99t seem to work. Building with LOADER_FIREWIRE_SUPPORT = doesn=E2=80=99t actually get libfirewire.a built but adding the subdir = to the list fixes that. The resulting loader booted from a USB stick goes BTX Halted straight = away. > On 12 Nov 2022, at 20:49, Warner Losh wrote: >=20 >=20 >=20 > On Sat, Nov 12, 2022, 1:25 PM Bob Bishop wrote: > Hi, >=20 > Well, the kernel support =E2=80=98just works=E2=80=99 so installing on = to a firewire disk is straightforward; just load up firewire.ko and = sbp.ko, and the disk comes up through CAM. >=20 > However, I couldn=E2=80=99t get the loader to see the disk; I don=E2=80=99= t think this build of the loader includes the firewire bits. Not helped = on my hardware because the BIOS doesn=E2=80=99t have firewire disk boot = support. >=20 > Firmware isn't built by default. You need a special build for that... = what is loading /boot/loader? Not sure you could boot the system with it = if the bios doesn't support it (except by having a tiny disk that the = BIOS understands and using that to boot off the fireworks root). >=20 > Warner=20 >=20 > Warner=20 >=20 > > On 10 Nov 2022, at 21:53, Warner Losh wrote: > >=20 > > I've created a diff: https://reviews.freebsd.org/D37334 > >=20 > > Warner > >=20 > > On Thu, Nov 10, 2022 at 3:07 AM Bob Bishop wrote: > > Hi, > >=20 > > > On 9 Nov 2022, at 23:55, Warner Losh wrote: > > >=20 > > >=20 > > >=20 > > > On Wed, Nov 9, 2022 at 3:42 PM Mark Millard = wrote: > > > Warner Losh wrote on > > > Date: Wed, 09 Nov 2022 20:01:41 UTC : > > >=20 > > > > I'd like to drop firewire support from the boot loader. It's not = been used > > > > in quite some time, as far as I can tell. Nor have I (or anybody = else) > > > > tested it in forever. > > > >=20 > > > > Is anybody still using it? Does anybody know if it works? Any = objections to > > > > removing it from FreeBSD 14? > >=20 > > I think I still have hardware that will do this. I can check it out = if anyone cares...=20 > >=20 > > > I would suggest that old PowerMac's might be the most > > > likely usage context. > > >=20 > > > Right now, though, this is an i386 only feature... > > >=20 > > > Warner > >=20 > > -- > > Bob Bishop > > rb@gid.co.uk > >=20 > >=20 > >=20 > >=20 >=20 > -- > Bob Bishop > rb@gid.co.uk >=20 >=20 >=20 >=20 -- Bob Bishop t: +44 (0)118 940 1243 rb@gid.co.uk m: +44 (0)783 626 4518