Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #164 virtio-net + UEFI crash #189

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants