Skip to content

Conversation

@amartinunowhy
Copy link

When using virtio-net with an UEFI firmware (bootrom),
xhyve crashes on an assertion. See the related bug
#164

The complete details are not clear to me, but it seems
that during boot, the firmware reads on the interface but
doesn't provide big enough read buffers. It seems that
the space for VLAN headers is missing.

This patch drops the related reads, so normal booting can
occur. Network boot probably doesn't work, though.

Signed-off-by: Antoine Martin amartin@unowhy.com

When using virtio-net with an UEFI firmware (bootrom),
xhyve crashes on an assertion. See the related bug
machyve#164

The complete details are not clear to me, but it seems
that during boot, the firmware reads on the interface but
doesn't provide big enough read buffers. It seems that
the space for VLAN headers is missing.

This patch drops the related reads, so normal booting can
occur. Network boot probably doesn't work, though.

Signed-off-by: Antoine Martin amartin@unowhy.com
@mike-pt
Copy link

mike-pt commented May 18, 2020

thanks for this: I tested and at least now it moves along, but its like you say:

Read buffer too small: 1514 bytes. vmnet expected at least 1518. (thanks for printing that too btw)

Seems like the real solution is finding why its smaller right?

Still this is great for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants