Dear folks, I'm trying to run a NetBSD-current kernel using qemu using the 'qemu -kernel' option. The host is an 86_64 machine. When trying out an NetBSD-current/x86_64 kernel (amd64) qemu won't load the kernel and complains about qemu-system-x86_64: Error loading uncompressed kernel without PVH ELF Note I'm curious as how if possible these notes can be added and what they ought to be! The only reference i found so far are Xen 4.x PVH ELF notes. Is it possible? Would reverse-engineering Qemu on this help? When trying out an NetBSD-current/i386 kernel, qemu acceps the kernel since the i386 kernel supports multiboot. The kernel starts fine but the CPU detection fails and it panics. I've tried running qemu-system-x86_64 -m 2048 -cdrom boot-com.iso -drive file=dummy.fs,format=raw -net nic -net tap,ifname=tap0,script=no -kernel /usr/sources/cvs.netbsd.org/src-clean/obj/sys/arch/i386/compile/GENERIC/netbsd -serial stdio -cpu pentium -display curses but also qemu-system-i386 -m 2048 -cdrom boot-com.iso -drive file=dummy.fs,format=raw -net nic -net tap,ifname=tap0,script=no -kernel /usr/sources/cvs.netbsd.org/src-clean/obj/sys/arch/i386/compile/GENERIC/netbsd -serial stdio -cpu pentium -display curses It doesn't matter what CPU I specify in either -86_64 or -i386 or if I obmit it even; its completely ignored and the output is always: [ 1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded [ 1.0000030] ioapic0 at mainbus0 apid 0 [ 1.0000030] cpu0 at mainbus0 apid 0 [ 1.0000030] cpu0: Intel 386-class [ 1.0000030] cpu0: node 0, package 0, core 0, smt 0 [ 1.0000030] panic: NetBSD requires an 80486DX or later processor [ 1.0000030] The operating system has halted. [ 1.0000030] Please press any key to reboot. Any thoughts or hints on this? Thanks in advance, Reinoud
Attachment:
signature.asc
Description: PGP signature