NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/58088: Kernel loading is interrupted.
The following reply was made to PR kern/58088; it has been noted by GNATS.
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: Maksim F <maxstaylor%gmail.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/58088: Kernel loading is interrupted.
Date: Fri, 29 Mar 2024 13:17:56 +0000
This is a multi-part message in MIME format.
--=_LF0R1FFWgpNWTy7tDsnl9sFJlFnD3FDt
Yes, the zfsroot ramdisk doesn't have the firmware that nouveau(4)
needs, and I guess we don't have a mechanism for getting it out of
another file system like the one the ramdisk was found on. Annoying!
It is possible to build the zfsroot ramdisk with firmware. I have the
attached patch in my netbsd-9 tree, which I had forgotten about. The
patch does it for cgdroot (which I also locally patched to do zfs on
cgd as well) but it should be straightforward to adapt to zfsroot.
--=_LF0R1FFWgpNWTy7tDsnl9sFJlFnD3FDt
Content-Type: text/plain; charset="ISO-8859-1"; name="pr58088-ramdiskfirmware"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="pr58088-ramdiskfirmware.patch"
From 11474e14cc9008441daa1d443a3bbb1c214b3f09 Mon Sep 17 00:00:00 2001
From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Date: Fri, 9 Jul 2021 10:45:24 +0000
Subject: [PATCH] WIP: Include firmware in ramdisk.
---
distrib/amd64/ramdisks/ramdisk-cgdroot/Makefile | 2 +-
distrib/common/list.cgdroot | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/distrib/amd64/ramdisks/ramdisk-cgdroot/Makefile b/distrib/amd6=
4/ramdisks/ramdisk-cgdroot/Makefile
index cb211dda391f..046eadd02b4c 100644
--- a/distrib/amd64/ramdisks/ramdisk-cgdroot/Makefile
+++ b/distrib/amd64/ramdisks/ramdisk-cgdroot/Makefile
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1 2013/07/15 00:22:10 khorben Exp $
=20
IMAGE=3D ramdisk-cgdroot.fs
-IMAGESIZE=3D 5000k
+IMAGESIZE=3D 30000k
IMAGEDEPENDS=3D =09
MAKEDEVTARGETS=3D all
CRUNCHENV=3D INIT_CHROOT=3D1
diff --git a/distrib/common/list.cgdroot b/distrib/common/list.cgdroot
index 2cf0a9c4adeb..1e2ab48b50ff 100644
--- a/distrib/common/list.cgdroot
+++ b/distrib/common/list.cgdroot
@@ -33,4 +33,5 @@ LIBS -lpthread
COPY ${NETBSDSRCDIR}/distrib/common/cgdroot.rc etc/rc
=20
# Make firmware images available.
+COPYDIR ${DESTDIR}/libdata altroot/libdata
SYMLINK altroot/libdata libdata
--=_LF0R1FFWgpNWTy7tDsnl9sFJlFnD3FDt--
Home |
Main Index |
Thread Index |
Old Index