Comment 11 for bug 671831

Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 671831] [NEW] Sparc guest assert error

On Tue, Nov 9, 2010 at 1:28 PM, Nigel Horne <email address hidden> wrote:
> Stefan,
>> Would it be possible to share your the kernel image (vmlinuz) and
>> initrd file?  That's all we need to reproduce the bug.
>>
>
> Sure - how do I create them from the Image file I have?  (I don't use an
> external kernel image and initrd file to boot)

$ /sbin/fdisk -lu ~njh/qemu/sparc/debian.img
...hopefully this displays the slices/partitions...
                       Device Boot Start End Blocks
 Id System
test.raw1 * 2048 1026047 512000 83 Linux

$ mount -o loop,offset=$((2048 * 512)) /mnt
(The offset is calculated by taking the start block number from fdisk
and multiplying it by 512 bytes)

$ ls /mnt/boot
...there should be a vmlinuz and initrd, you could check the silo.conf
or other boot configuration if you don't know the exact kernel/initrd
filenames.

$ cp /mnt/boot/{vmlinuz,initrd} /tmp
$ umount /mnt

Stefan