[Qemu-devel] /dev/kqemu could not be opened

2006-12-02 Thread Mihamina Rakotomandimby
Hi,
I installed kqemu 1.3.0-pre9 and qemu 0.8.2. /dev/kqemu exist and is
widely usable (chmod 666 and 777 tested)

$ ls -l /dev/kqemu 
crwxrwxrwx 1 root root 250, 0 2006-12-02 23:34 /dev/kqemu

But when launching qemu:

$ qemu -m 512  debian.img 
Could not open '/dev/kqemu' - 
QEMU acceleration layer not activated

/dev/kqemu is not openable What could be the problem?




___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] /dev/kqemu could not be opened

2006-12-02 Thread Michael McConnell
On Sat, 2 Dec 2006, Mihamina Rakotomandimby wrote:

 Hi,
 I installed kqemu 1.3.0-pre9 and qemu 0.8.2. /dev/kqemu exist and is
 widely usable (chmod 666 and 777 tested)
 
   $ ls -l /dev/kqemu 
   crwxrwxrwx 1 root root 250, 0 2006-12-02 23:34 /dev/kqemu
 
 But when launching qemu:
 
   $ qemu -m 512  debian.img 
   Could not open '/dev/kqemu' - 
   QEMU acceleration layer not activated
 
 /dev/kqemu is not openable What could be the problem?

Is the kqemu module loaded?

If not, try 'modprobe kqemu' then restart QEMU.

-- Michael Soruk McConnell
   Eridani Star System

   MailStripper - http://www.MailStripper.eu/ - SMTP spam filter
   Mail Me Anywhere - http://www.MailMeAnywhere.com/ - Mobile email



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] [solved] /dev/kqemu could not be opened

2006-12-02 Thread Mihamina Rakotomandimby
On Sat, 2006-12-02 at 22:57 +, Michael McConnell wrote:
  $ qemu -m 512  debian.img 
  Could not open '/dev/kqemu' - 
  QEMU acceleration layer not activated
 Is the kqemu module loaded?
 If not, try 'modprobe kqemu' then restart QEMU.

DumbAss could I be!
kqemu was not loaded.
Thank you.



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] initrd not working

2006-12-02 Thread Dick Streefland
Hi,

I run qemu-0.8.2 on Kubuntu, and I would like to test an initramfs by
booting the kernel with qemu. However, I'm having problems with the
initrd. The kernel reports bad gzip magic numbers when checking the
initramfs, both with a compressed ext2 filesystem image and with a
compressed cpio archive. What am I doing wrong?

$ hd initrd.gz | head -1
  1f 8b 08 08 6b d2 71 45  00 03 69 6e 69 74 72 64  |k.qE..initrd|
$ qemu -kernel /boot/linux-2.6.19 -initrd initrd.gz -hda empty -nographic 
-append console=ttyS0
(qemu) Could not open '/dev/kqemu' - QEMU acceleration layer not activated
Linux version 2.6.19 ([EMAIL PROTECTED]) (gcc version 4.1.2 20060928 
(prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 SMP Sat Dec 2 23:49:10 CET 2006
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009fc00 (usable)
 BIOS-e820: 0010 - 0800 (usable)
0MB HIGHMEM available.
128MB LOWMEM available.
Zone PFN ranges:
  DMA 0 - 4096
  Normal   4096 -32768
  HighMem 32768 -32768
early_node_map[1] active PFN ranges
0:0 -32768
DMI not present or invalid.
ACPI: Disabling ACPI support
Allocating PCI resources starting at 1000 (gap: 0800:f800)
Detected 2405.095 MHz processor.
Built 1 zonelists.  Total pages: 32512
Kernel command line: console=ttyS0
Found and enabled local APIC!
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 122092k/131072k available (4138k kernel code, 8480k reserved, 2300k 
data, 320k init, 0k highmem)
virtual kernel memory layout:
fixmap  : 0xfff9d000 - 0xf000   ( 392 kB)
pkmap   : 0xff80 - 0xffc0   (4096 kB)
vmalloc : 0xc880 - 0xff7fe000   ( 879 MB)
lowmem  : 0xc000 - 0xc800   ( 128 MB)
  .init : 0xc0751000 - 0xc07a1000   ( 320 kB)
  .data : 0xc050a9e8 - 0xc0749bec   (2300 kB)
  .text : 0xc010 - 0xc050a9e8   (4138 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4890.42 BogoMIPS (lpj=9780851)
Mount-cache hash table entries: 512
CPU: L1 I cache: 8K
CPU: L2 cache: 128K
Compat vDSO mapped to e000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 20k freed
CPU0: Intel Pentium II (Klamath) stepping 03
SMP motherboard not detected.
Brought up 1 CPUs
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like 
an initrd

-- 
Dick


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] initrd not working

2006-12-02 Thread Daniel Jacobowitz
On Sun, Dec 03, 2006 at 12:18:58AM +0100, Dick Streefland wrote:
 Hi,
 
 I run qemu-0.8.2 on Kubuntu, and I would like to test an initramfs by
 booting the kernel with qemu. However, I'm having problems with the
 initrd. The kernel reports bad gzip magic numbers when checking the
 initramfs, both with a compressed ext2 filesystem image and with a
 compressed cpio archive. What am I doing wrong?

I don't know, but I'll be interested to find out.  I tried two
different kernels on Debian amd64, and one of them could load an initrd
but the other mysteriously couldn't.


-- 
Daniel Jacobowitz
CodeSourcery


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] kernel panic when using kqemu

2006-12-02 Thread Mihamina Rakotomandimby
Hi, 
I am using kqemu 1.3.0-pre9 and qemu 0.8.2 on Ubuntu Edgy, kernel
2.6.17-generic.
I run into kernel panic in the guest when launching qemu
-kernel-kqemu.
Some problems found on the net:
http://haiku-os.org/trac/ticket/748
http://qemu-forum.ipi.fi/viewtopic.php?p=5011sid=494a2df12b48a1e8fdca8ae0e7bfb752
http://qemu-forum.ipi.fi/viewtopic.php?p=6874sid=494a2df12b48a1e8fdca8ae0e7bfb752

They seem to be the same problem as me, but I don't know how to solve
mine.
Here are some screenshot:
http://www.asso-polyvalente.fr/workspaces/members/mihamina/public/kqemu-debian/
http://www.asso-polyvalente.fr/workspaces/members/mihamina/public/kqemu-fedora/
(the image is larger here:
http://www.asso-polyvalente.fr/workspaces/members/mihamina/public , or
just save the imageon your computer then see it real size)

How to workarroud?



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel