NetBSD Problem Report #55657

From www@netbsd.org  Sun Sep 13 20:08:50 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B91681A9239
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 Sep 2020 20:08:50 +0000 (UTC)
Message-Id: <20200913200849.919EF1A923A@mollari.NetBSD.org>
Date: Sun, 13 Sep 2020 20:08:49 +0000 (UTC)
From: jmcneill@invisible.ca
Reply-To: jmcneill@invisible.ca
To: gnats-bugs@NetBSD.org
Subject: libsa ffs support is not endian independent
X-Send-Pr-Version: www-1.0

>Number:         55657
>Category:       lib
>Synopsis:       libsa ffs support is not endian independent
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mrg
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 13 20:10:01 +0000 2020
>Last-Modified:  Tue May 11 21:05:58 +0000 2021
>Originator:     Jared McNeill
>Release:        9.99.72
>Organization:
>Environment:
NetBSD 9.99.72 (GENERIC64) #173: Sun Sep 13 16:29:07 ADT 2020
>Description:
LIBSA_BIENDIAN_SUPPORT allows for loading opposite endian kernels than the bootloader, but the ffs code only allows for loading kernels from a partition that is the same endian as the bootloader.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: lib-bug-people->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Tue, 11 May 2021 21:05:58 +0000
Responsible-Changed-Why:
i have a patch that is starting to work for this.  additionally to the
ufs code, the disklabel code needs bi-endian support (i have this
part working, but need to clean up, perhaps move ffs_bswap.c into
libkern.)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.