From nobody Fri Nov 18 17:32:58 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 4NDP580hq8z4hy9b for ; Fri, 18 Nov 2022 17:33:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NDP575qS1z4873 for ; Fri, 18 Nov 2022 17:33:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62f.google.com with SMTP id f18so14753247ejz.5 for ; Fri, 18 Nov 2022 09:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PJdIdl384Lcwh/i21wS80A9PiXVOP4uzk8zkU+aLZCE=; b=IvPvXz7K3wpjbFO+5lX+aHDvUrzVoGpJn8S7Ahk6uLpYjpVc/Ub5odEFY9X86A05m0 yfyU492nDOqLie38fWva9bawYA9BWOLUh0ig6zSDor2XYnfyqZNKbPWQWI7GnQuQPMWQ io56yAiKW7J6jRLJaAJCvNmxmElj7h7sVHqYIAddj/A9SGJL0WBImSv0nV+jTn3wQXVm rnQYH3c7nPsyxA9dzIgwqOzBGOBd6qZ7S4HGoeZPyyYtqptGSOiUZazQ+u9zNvS4+tgH wnbMkNhrFQkglAdcIOfYahhERESa1ql444Ema3clDCJFD0yHf+m7ommdpecl1vgTrNch 31fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PJdIdl384Lcwh/i21wS80A9PiXVOP4uzk8zkU+aLZCE=; b=iCc2W5hXkkoGc12Cur3tH35FIoaj4cY67I1FSX9rGVb6Oonp5IihjsQqBhAMqHnYdW CDDJ445ewEvbydGj9BFNUWBKa0rHvXUs57AjFww2fiEeHshkxz6YpQTwmco9xrlw5q4b vIWY9/Xl2KNEBU/EbAgOkZPZ0Bb3u68fwiImBweQlOBcUNxk3pyRRTFKgOZLu/rQi8gI f6xpJQhsx2zR027T5byhsoLBqBRnDUaI9NcnvWU22LwWtEbgyVaUohtXeAJrgZgQtwRN Fs4hCox/GOZt9MpFL2f4IN+ijM9Np68P6WEgP3iGdfb8JJQTkTxkjvTsF+otgpSgU/nL nRcA== X-Gm-Message-State: ANoB5pmg8okYrTvWGoiccF8EJT+MiuBucB0BwZYriuvdrZ2Md95Jpjjq WkuzGPfwUuJ5XN17NA1YKYQjsaxTYJKCBnN0Gl+Tl59lGFs= X-Google-Smtp-Source: AA0mqf6S1iv/H/wYhsjRp2vsmfClHD3kW8fzQOWPIWCV5Qrn32VC/3VJG5Nyp5dKldujHRKVWR7KJz5ZcZ3466JFsWI= X-Received: by 2002:a17:906:cc9b:b0:799:9ace:e868 with SMTP id oq27-20020a170906cc9b00b007999acee868mr6617280ejb.451.1668792789426; Fri, 18 Nov 2022 09:33:09 -0800 (PST) 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 References: <5E84C24A-E90F-4EE2-B054-EEDCC23DD6E6@gid.co.uk> <8FAA2C39-3394-49A8-865D-CF580A3EB52C@gid.co.uk> In-Reply-To: <8FAA2C39-3394-49A8-865D-CF580A3EB52C@gid.co.uk> From: Warner Losh Date: Fri, 18 Nov 2022 10:32:58 -0700 Message-ID: Subject: Re: Dropping firewire support from boot loader To: rb@gid.co.uk Cc: freebsd-arch Content-Type: multipart/alternative; boundary="0000000000006b04e705edc2195d" X-Rspamd-Queue-Id: 4NDP575qS1z4873 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000006b04e705edc2195d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Bob, Thanks for trying all this out. I'm going to go ahead and retire it. If someone wants to bring it back after testing and fixing, we can talk about it then. Warner On Fri, Nov 18, 2022 at 5:30 AM wrote: > Hi, > > It doesn=E2=80=99t seem to work. Building with LOADER_FIREWIRE_SUPPORT do= esn=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 awa= y. > > > On 12 Nov 2022, at 20:49, Warner Losh wrote: > > > > > > > > On Sat, Nov 12, 2022, 1:25 PM Bob Bishop wrote: > > Hi, > > > > 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 dis= k > comes up through CAM. > > > > However, I couldn=E2=80=99t get the loader to see the disk; I don=E2=80= =99t 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. > > > > 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). > > > > Warner > > > > Warner > > > > > On 10 Nov 2022, at 21:53, Warner Losh wrote: > > > > > > I've created a diff: https://reviews.freebsd.org/D37334 > > > > > > Warner > > > > > > On Thu, Nov 10, 2022 at 3:07 AM Bob Bishop wrote: > > > Hi, > > > > > > > On 9 Nov 2022, at 23:55, Warner Losh wrote: > > > > > > > > > > > > > > > > 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 : > > > > > > > > > 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. > > > > > > > > > > Is anybody still using it? Does anybody know if it works? Any > objections to > > > > > removing it from FreeBSD 14? > > > > > > I think I still have hardware that will do this. I can check it out i= f > anyone cares... > > > > > > > I would suggest that old PowerMac's might be the most > > > > likely usage context. > > > > > > > > Right now, though, this is an i386 only feature... > > > > > > > > Warner > > > > > > -- > > > Bob Bishop > > > rb@gid.co.uk > > > > > > > > > > > > > > > > -- > > Bob Bishop > > rb@gid.co.uk > > > > > > > > > > > -- > Bob Bishop t: +44 (0)118 940 1243 > rb@gid.co.uk m: +44 (0)783 626 4518 > > > > > > --0000000000006b04e705edc2195d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Bob,

Thanks for trying al= l this out. I'm going to go ahead and retire it. If someone wants to br= ing it back after testing and fixing, we can talk=C2=A0about it then.
=

Warner

On Fri, Nov 18, 2022 at 5:30 AM <rb@gid.co.uk> wrote:
Hi,

It doesn=E2=80=99t seem to work. Building with LOADER_FIREWIRE_SUPPORT does= n=E2=80=99t actually get libfirewire.a built but adding the subdir to the l= ist fixes that.

The resulting loader booted from a USB stick goes BTX Halted straight away.=

> On 12 Nov 2022, at 20:49, Warner Losh <imp@bsdimp.com> wrote:
>
>
>
> On Sat, Nov 12, 2022, 1:25 PM Bob Bishop <rb@gid.co.uk> wrote:
> Hi,
>
> 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.
>
> However, I couldn=E2=80=99t get the loader to see the disk; I don=E2= =80=99t think this build of the loader includes the firewire bits. Not help= ed on my hardware because the BIOS doesn=E2=80=99t have firewire disk boot = support.
>
> 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 i= t 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).
>
> Warner
>
> Warner
>
> > On 10 Nov 2022, at 21:53, Warner Losh <imp@bsdimp.com> wrote:
> >
> > I've created a diff: https://reviews.freebsd.org/D37= 334
> >
> > Warner
> >
> > On Thu, Nov 10, 2022 at 3:07 AM Bob Bishop <rb@gid.co.uk> wrote:
> > Hi,
> >
> > > On 9 Nov 2022, at 23:55, Warner Losh <imp@bsdimp.com> wrote:
> > >
> > >
> > >
> > > On Wed, Nov 9, 2022 at 3:42 PM Mark Millard <marklmi@yahoo.com> wrote:=
> > > Warner Losh <imp_at_bsdimp.com> wrote on
> > > Date: Wed, 09 Nov 2022 20:01:41 UTC :
> > >
> > > > I'd like to drop firewire support from the boot loa= der. It's not been used
> > > > in quite some time, as far as I can tell. Nor have I (o= r anybody else)
> > > > tested it in forever.
> > > >
> > > > Is anybody still using it? Does anybody know if it work= s? Any objections to
> > > > removing it from FreeBSD 14?
> >
> > I think I still have hardware that will do this. I can check it o= ut if anyone cares...
> >
> > > I would suggest that old PowerMac's might be the most > > > likely usage context.
> > >
> > > Right now, though, this is an i386 only feature...
> > >
> > > Warner
> >
> > --
> > Bob Bishop
> > rb@gid.co.uk
> >
> >
> >
> >
>
> --
> Bob Bishop
>
rb@gid.co.uk
>
>
>
>


--
Bob Bishop=C2=A0 =C2=A0 =C2=A0 =C2=A0t: +44 (0)118 940 1243
rb@gid.co.uk=C2=A0 = =C2=A0 =C2=A0m: +44 (0)783 626 4518





--0000000000006b04e705edc2195d--