Re: [Qemu-devel] Multiboot using -kernel and -initrd stopped working

2013-07-20 Thread Jens Nyberg
Ok, another update. The problem seems to be that in rom_copy (hw/core/loader.c:776) where it iterates over all the roms it will fail at: if (!rom->data) { continue } For the second program header. This means that it hasnt been able to allocate memory for that header because rom->data is suppo

Re: [Qemu-devel] Multiboot using -kernel and -initrd stopped working

2013-07-20 Thread Jens Nyberg
I have some information to go on: The problem occurs because of a failed call to rom_copy from hw/i386/multiboot.c I print debugged some values: ELF_LOW: 0x10 ELF_HIGH: 0x14c578 MH_LOAD_ADDR: 0x10 MH_KERNEL_SIZE: 0x4c578 MH_ENTRY_ADDR: 0x1c COPY SIZE: 0x4210 The return value from ro

[Qemu-devel] Multiboot using -kernel and -initrd stopped working

2013-07-20 Thread Jens Nyberg
Hi! I develop my own operating system and I have been using this command to start my operating system: $ qemu-system-x86_64 -kernel fudge -initrd initrd.tar I just recently upgraded the qemu package for arch linux and now this does not seem to work anymore. I get this error message: Error while