NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/57324: NetBSD 10.99.2 -current fails to detect root wedge using name on Raspberry Pi 3 official image



The following reply was made to PR port-arm/57324; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-arm/57324: NetBSD 10.99.2 -current fails to detect root wedge using name on Raspberry Pi 3 official image
Date: Sat, 28 Oct 2023 00:42:47 -0000 (UTC)

 mrg%eterna.com.au@localhost (matthew green) writes:
 
 > hmm, when i boot into qemu it picks "dk1" as the "boot device:",
 > not "ld0".
 
 Too much magic, and I bet qemu boots with EFI.
 
 > is there any "root=3Dsomething" command line provided?  it is the
 > case that here, booted_nblks is unset (0), but "booted_device" is
 > already set to dk1 by the time rootconf_handle_wedges() is called.
 
 The booted_nblks are for bootloaders that pass disk offsets (and sizes)
 and where MI code needs to map this to a wedge device.
 
 Here we have command line arguments that are parsed as string
 options and the root option is passed in bootspec to MI code.
 


Home | Main Index | Thread Index | Old Index