Skip to contentSkip to conversation

FreeBSD booting problem (resent)

Qemu-devel Pavel Janík 2 participants 2 messages May 23, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

people on IRC channel reported problems booting FreeBSD ISO images and floppies. I have tried booting this floppy image:

http://tmp.janik.cz/QEMU/FreeBSD/boot.flp

with current CVS as of now.

pavel@linux:~/Tmp/QEMU> /tmp/QEMU/bin/qemu -pci -boot a -fda ~/.www/tmp.janik.cz/QEMU/FreeBSD/boot.flp -S Serial port redirected to /dev/pts/143
QEMU 0.5.5 monitor - type 'help' for more information
(qemu) log in_asm
(qemu) c
(qemu)

and /tmp/qemu.log contains:

...
IN:

0x000090d6:  xor    %ecx,%ecx
0x000090d8:  mov    %ecx,%cr3

----------------
IN:

0x000090db:  lgdtl  0x96d0
0x000090e2:  ljmpw  $0x18,$0x90e8

Full log is available at

http://tmp.janik.cz/QEMU/FreeBSD/qemu.log.bz2

Interesting thing is:

pavel@linux:~/.www/tmp.janik.cz/QEMU/FreeBSD> wc -l qemu.log 324664 qemu.log
pavel@linux:~/.www/tmp.janik.cz/QEMU/FreeBSD> grep -c "add %al,(%eax)" qemu.log
299565 pavel@linux:~/.www/tmp.janik.cz/QEMU/FreeBSD>

Ie. 93% of all executed instructions is

    add    %al,(%eax)
Signature · 4 lines
Pavel Janík

Ask three people which VM is best, and you will get four answers ;)
                  -- Hubert Mantel about VM in 2.4.x
#1 lore raw
Quoted 4 lines · Pavel Janík

Hi,

people on IRC channel reported problems booting FreeBSD ISO images and floppies. I have tried booting this floppy image:

FreeBSD 5.2.1 should boot now both with floppies and CDROM.

Fabrice.