NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/59358: KERNEL_DIR : booot code can't find kernel
>Number: 59358
>Category: kern
>Synopsis: KERNEL_DIR : booot code can't find kernel
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 26 14:45:00 +0000 2025
>Originator: Paul Goyette
>Release: NetBSD 10.99.14
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost |
| & Network Engineer | | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+
>Environment:
System: NetBSD speedy.whooppee.com 10.99.14 NetBSD 10.99.14 (SPEEDY 2025-04-17 14:29:40 UTC) #0: Thu Apr 17 17:39:06 UTC 2025 paul%speedy.whooppee.com@localhost:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
Using anita to install NetBSD 10.99.14 in a VM, I get the following
error messages when trying to locate a kernel:
...
Option 1 will be chosen in 0 seconds.
read header short
open netbsd: No such file or directory
boot: cd0a:netbsd: No such file or directory
open netbsd.gz/kernel: No such file or directory
open netbsd.gz: No such file or directory
boot: cd0a:netbsd.gz: No such file or directory
open onetbsd/kernel: No such file or directory
open onetbsd: No such file or directory
boot: cd0a:onetbsd: No such file or directory
open onetbsd.gz/kernel: No such file or directory
open onetbsd.gz: No such file or directory
boot: cd0a:onetbsd.gz: No such file or directory
open netbsd.old/kernel: No such file or directory
open netbsd.old: No such file or directory
boot: cd0a:netbsd.old: No such file or directory
open netbsd.old.gz/kernel: No such file or directory
open netbsd.old.gz: No such file or directory
boot: cd0a:netbsd.old.gz: No such file or directory
and then it goes back to the boot menu. After the default timeout,
it tried again to select the default, and loops forever.
Seems like it's processing a list of potential default kernels,
so I added
{ "netbsd/kernel", "netbsd/kernel.gz" }
to the list of kernel names in both efiboot/boot.c and boot/boot2.c
with the hope that boot-time filesystem support includes descending
into (sub)directories. Alas, it seems that that doesn't work; I
getthe following additional error messages for the new table entry:
...
open netbsd/kernel/kernel: No such file or directory
read header short
boot: cd0a:netbsd/kernel: Inappropriate file type or format
open netbsd/kernel.gz/kernel: No such file or directory
open netbsd/kernel.gz: No such file or directory
boot: cd0a:netbsd/kernel.gz: No such file or directory
>How-To-Repeat:
see above
>Fix:
Presumably we need to teach the boot code about filename paths and
how to descend into a sub-directory?
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index