Martin,

>>Sorry, the new version doesn't work with kqemu very well

So kqemu not working in 64 Bit mode is a known bug (or do you talk about 
another bug)?

(bash):root at ferrari:/root # uname -a
SunOS ferrari 5.11 snv_49 i86pc i386 i86pc

(bash):root at ferrari:/root # isainfo -kv
64-bit amd64 kernel modules

(bash):root at ferrari:/root # modinfo | grep kqemu
227 fffffffff5e14000  27380 211   1  kqemu (kqemu accelerator v0.2)

(bash):root at ferrari:/root # pkginfo -l SUNWqemu
   PKGINST:  SUNWqemu
      NAME:  qemu
  CATEGORY:  application
      ARCH:  i386
   VERSION:  0.8.2
   BASEDIR:  /opt
    VENDOR:  Sun Microsystems, Inc.
    PSTAMP:  Martin Bochnig
  INSTDATE:  Oct 19 2006 09:04
   HOTLINE:  http://opensolaris.org/os/project/qemu/
     EMAIL:  qemu-discuss at opensolaris.org
    STATUS:  completely installed
     FILES:      326 installed pathnames
                  18 directories
                  31 executables
               44161 blocks used (approx)


[19.10.2006 13:48:58] Executing "/opt/SUNWqemu/bin/qemu-system-x86_64 -L 
/opt/SUNWqemu/bin/../share/qemu -boot d  -m 256  -monitor stdio  -hda 
/export/qemu/hdimg//dsl.hdd -cdrom /export/qemu/cdrom/dsl.iso " ...
+ /opt/SUNWqemu/bin/qemu-system-x86_64 -L /opt/SUNWqemu/bin/../share/qemu -boot 
d -m 256 -monitor stdio -hda /export/qemu/hdimg//dsl.hdd -cdrom 
/export/qemu/cdrom/dsl.iso
QEMU 0.8.2 monitor - type 'help' for more information
(qemu) info kqemu
kqemu support: not compiled
(qemu)

Using the 32 bit binary on a 32 Bit kernel and the kqemu module looks okay to 
me:


(bash):root at ferrari:/root # uname -a
SunOS ferrari 5.11 snv_49 i86pc i386 i86pc

(bash):root at ferrari:/root # isainfo -kv
32-bit i386 kernel modules

(bash):root at ferrari:/root # modinfo | grep qemu
227 f96b2000  18998 211   1  kqemu (kqemu accelerator v0.2)


(bash):root at ferrari:/root # start_dsl.sh -m
[19.10.2006 14:15:28] start_dsl.sh started on Thu Oct 19 14:15:28 CEST 2006
[19.10.2006 14:15:28] No config file ("start_dsl.conf") found (use -C to create 
a default config file)
[19.10.2006 14:15:28] Using the log file "/var/tmp/start_dsl.LOG"
[19.10.2006 14:15:28] Starting the PC image "DSL ISO image" ...
[19.10.2006 14:15:28] Using the qemu binary "/opt/SUNWqemu/bin/qemu"
[19.10.2006 14:15:28] QEMU PC emulator version 0.8.2, Copyright (c) 2003-2005 
Fabrice Bellard
[19.10.2006 14:15:28] LD_LIBRARY_PATH is now 
"/opt/tools/qemu/SUNWqemu/32/lib::/usr/local/lib:/opt/oracle/OraHome_1/lib:/usr/local/lib:/opt/oracle/OraHome_1/lib:/usr/local/lib:/opt/oracle/OraHome_1/lib"
[19.10.2006 14:15:28] Executing "/opt/SUNWqemu/bin/qemu -L 
/opt/SUNWqemu/bin/../share/qemu -boot d  -m 256  -monitor stdio  -hda 
/export/qemu/hdimg//dsl.hdd -cdrom /export/qemu/cdrom/dsl.iso " ...
+ /opt/SUNWqemu/bin/qemu -L /opt/SUNWqemu/bin/../share/qemu -boot d -m 256 
-monitor stdio -hda /export/qemu/hdimg//dsl.hdd -cdrom 
/export/qemu/cdrom/dsl.iso
QEMU 0.8.2 monitor - type 'help' for more information
(qemu) info kqemu
kqemu support: enabled for user code
(qemu)
(qemu) quit

(bash):root at ferrari:/root # start_dsl.sh -k -m
[19.10.2006 14:18:49] start_dsl.sh started on Thu Oct 19 14:18:49 CEST 2006
[19.10.2006 14:18:49] No config file ("start_dsl.conf") found (use -C to create 
a default config file)
[19.10.2006 14:18:49] Using the log file "/var/tmp/start_dsl.LOG"
[19.10.2006 14:18:49] Starting the PC image "DSL ISO image" ...
[19.10.2006 14:18:49] Using the qemu binary "/opt/SUNWqemu/bin/qemu"
[19.10.2006 14:18:49] QEMU PC emulator version 0.8.2, Copyright (c) 2003-2005 
Fabrice Bellard
[19.10.2006 14:18:49] LD_LIBRARY_PATH is now 
"/opt/tools/qemu/SUNWqemu/32/lib::/usr/local/lib:/opt/oracle/OraHome_1/lib:/usr/local/lib:/opt/oracle/OraHome_1/lib:/usr/local/lib:/opt/oracle/OraHome_1/lib"
[19.10.2006 14:18:49] Executing "/opt/SUNWqemu/bin/qemu -kernel-kqemu -L 
/opt/SUNWqemu/bin/../share/qemu -boot d  -m 256  -monitor stdio  -hda 
/export/qemu/hdimg//dsl.hdd -cdrom /export/qemu/cdrom/dsl.iso " ...
+ /opt/SUNWqemu/bin/qemu -kernel-kqemu -L /opt/SUNWqemu/bin/../share/qemu -boot 
d -m 256 -monitor stdio -hda /export/qemu/hdimg//dsl.hdd -cdrom 
/export/qemu/cdrom/dsl.iso
QEMU 0.8.2 monitor - type 'help' for more information
(qemu) info kqemu
kqemu support: enabled for user and kernel code
(qemu)


Unfortunately the "old" binaries do not work on snv_49 - the "new" ones do.

If you compile new binaries - can you please include the patch from Juergen 
Keil for the bug in the info command? This bug is really annoying.


regards

Bernd
--
This message posted from opensolaris.org

Reply via email to