Hi Chaps,

Thanks for your advice. I've pulled apart the DHCP server today and
checked the packets piecemeal, the Bhyve PXE firmware is now getting
exactly all the correct data.
I got bootx64.efi up and running and started netbsd in a debug mode. I
saw it go to load the nfs.kmod, but this time I saw a bit more of what
is going on, and ideas?!

> boot net0:netbsd -d -v -a
booting net0:netbsd (howto 0x20041)
21368856+784744+1312408 [944186+1401072+1026750]=0x1b37ee8
Loading net0:/stand/amd64/10.1/modules/nfs/nfs.kmod
[   1.0000000] cpu_rng: rdrand/rdseed
[   1.0000000] entropy: ready
[   1.0000000] fatal breakpoint trap in supervisor mode
[   1.0000000] trap type 1 code 0 rip 0xffffffff8023538d cs 0x8 rflags
0x202 cr2 0 ilevel 0x8 rsp 0xffffffff81d86eb0
[   1.0000000] curlwp 0xffffffff8188b000 pid 0.0 lowest kstack
0xffffffff81d812c0
Stopped in pid 0.0 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
init_x86_64() at netbsd:init_x86_64+0x579
ds          24f0
es          2f
fs          780
gs          1000
rdi         8
rsi         2
rbp         ffffffff81d86eb0
rbx         1f
rdx         0
rcx         8000000001dd7121
rax         0
r8          0
r9          8
r10         ffffffff80201590    Xintr_legacy15
r11         1560f0
r12         ffffbe00000011f0
r13         ffffbe0000001000
r14         ffffffff81d81000
r15         0
rip         ffffffff8023538d    breakpoint+0x5
cs          8
rflags      202
rsp         ffffffff81d86eb0
ss          10
netbsd:breakpoint+0x5:  leave
db{0}>

Thanks,

Ian

On Fri, 12 Sept 2025 at 07:59, Pierre <[email protected]> wrote:
>
> I encountered similar issues with netbooting before, your error message is 
> close to
>
> Unknown error: code 45
> boot: Input/output error
>
> Error: NFS2ERR_OPNOTSUPP
>
>
> I solved it by enabling disabling subtree check in the nfs export setup 
> (https://pub.nethence.com/booting/pxe.netbsd).
>
> sorry for non-ascii
> -pph
>
> On 11 Sep 2025, at 23:41, [email protected] wrote:
>
> [email protected] (Ian Bonham) writes:
>
> menu=Boot NetBSD normally: dev;boot net0:netbsd -a root=10.1.1.1:/srv/vm/mail
>
>
> The bootloader doesn't accept a "root=..." argument
>
>
>          RP (17), length 26: "nfs://10.1.1.1/srv/vm/mail"
>
>
> The root path attribute only contains the path ("/srv/vm/mail"),
> not a pseudo-URL. The NFS server host used is either the BOOTP/DHCP
> server itself, or the IP you pass as "swap server" attribute (code 16).
>
> The man page diskless(8) gives more details about the process.
>
>
> Sep 11 17:20:11 19d mountd[23312]: mount request from 10.1.1.10 for
>
> non existent path /nfs:
>
>
> Yes, it tries to mount "nfs" (the beginning of your pseudo URL).
>
>
>
> Greetings,



-- 


Kindest Regards,

Ian Bonham

[email protected]

Mobile : +44 (0)7396 103 957
Skype : ian.bonham

Reply via email to