rumpkernel / rumprun

The Rumprun unikernel and toolchain for various platforms
Other
1.14k stars 128 forks source link

"xfer->ux_bus->ub_usedma == false" failed #98

Open shiftypenguin opened 7 years ago

shiftypenguin commented 7 years ago

A rump kernel I compiled fails to initialize fully and says the following before halting:

kernel diagnostic assertion "xfer->ux_bus->ub_usedma == false" failed: file "[...]/src-netbsd/sys/rump/dev/lib/libusb/../../../../dev/usb/usbdi.c", line 413

My sources are from three days ago at the time of writing. The same binary runs fine in qemu, but not on this box. The program compiled into rumprun is just a printf. NetBSD release 7.1 boots fine on the same machine.

egrosclaude commented 7 years ago

I'm facing exactly this problem with rumprun iso. The app works under qemu, not on bare metal or KVM.

dimar81 commented 7 years ago

I've had the same issue, the reason is the wrong baking config option. When you running "rumprun-bake" you need to provide a config that matches the platform you are planning to run the resulted binary. See "rumprun-bake list" for available list of configs.