Re: RISC-V root device question -> Panic

2020-12-19 Thread Mitchell Horne
On Mon, Dec 14, 2020 at 6:03 PM Michael Dexter wrote: > > Mitchell, > > On 12/7/20 1:56 PM, Mitchell Horne wrote: > > You can also override it using the QEMU commandline, which is simpler > > since you won't need to recompile anything. Adding the following > > argument should suffice: > > This

Re: RISC-V root device question -> Panic

2020-12-14 Thread Michael Dexter
Mitchell, On 12/7/20 1:56 PM, Mitchell Horne wrote: You can also override it using the QEMU commandline, which is simpler since you won't need to recompile anything. Adding the following argument should suffice: This works great but riscv 12-STABLE using last week's snapshot revision throws

Re: RISC-V root device question

2020-12-07 Thread Michael Dexter
On 12/7/20 2:40 PM, Mitchell Horne wrote: My bad, the extra '=' is a typo. It should be: -append "vfs.root.mountfrom=ufs:/dev/vtbd0p3" That worked perfectly and I added it to the wiki page: https://wiki.freebsd.org/riscv All the best, Michael

Re: RISC-V root device question

2020-12-07 Thread Mitchell Horne
On Mon, Dec 7, 2020 at 6:28 PM Michael Dexter wrote: > > On 12/7/20 1:56 PM, Mitchell Horne wrote: > > As you suggest, it is possible to overwrite the default root device in > > the kernel config, by adding a line such as: > >options ROOTDEVNAME=\"ufs:/dev/vtbd0p3\" > > Thank you for the

Re: RISC-V root device question

2020-12-07 Thread Michael Dexter
On 12/7/20 1:56 PM, Mitchell Horne wrote: As you suggest, it is possible to overwrite the default root device in the kernel config, by adding a line such as: options ROOTDEVNAME=\"ufs:/dev/vtbd0p3\" Thank you for the syntax! You can also override it using the QEMU commandline, which is

Re: RISC-V root device question

2020-12-07 Thread Mitchell Horne
On Mon, Dec 7, 2020 at 4:54 PM Michael Dexter wrote: > > All, > > The FreeBSD wiki page on RISC-V reads: > > If you get mountroot prompt, then indicate to the kernel the location of > rootfs: > > mountroot> ufs:/dev/vtbd0 > > This indeed appears to be remain the case on CURRENT as of last week. >

RISC-V root device question

2020-12-07 Thread Michael Dexter
All, The FreeBSD wiki page on RISC-V reads: If you get mountroot prompt, then indicate to the kernel the location of rootfs: mountroot> ufs:/dev/vtbd0 This indeed appears to be remain the case on CURRENT as of last week. Specifying a device and partition, or disklabel at the mountroot>