Re: Direct kernel boot without harddrive image

2008-11-24 Thread Daire Byrne

- Daire Byrne [EMAIL PROTECTED] wrote:

 I tried with -no-kvm and I get the same crash when I reboot the VM. I
 suppose it's a qemu bug then. I tried with the latest kvm-qemu (78)
 but perhaps I should try the latest Qemu and if it still breaks report
 the bug on the Qemu mailing list? It is like it forgets to boot the
 kernel and initrd again after a reboot and tries to boot from the
 harddrive instead.

More weirdness with direct booting - using more than 2048MB causes the BIOS to 
repeatedly crash out. This only happens using -kernel and -initrd.

Daire
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Direct kernel boot without harddrive image

2008-11-20 Thread Daire Byrne
Avi,

- Avi Kivity [EMAIL PROTECTED] wrote:

  Is direct kernel booting just not really supported properly or is it
 just to do with Qemu forgetting about the direct boot kernel/initrd
 after a reboot?
 
 Direct kernel booting is supported.  Please try with -no-kvm to see if
 it is a qemu or kvm issue, and also try the latest release to see you
 aren't encountering an already-fixed bug.

I tried with -no-kvm and I get the same crash when I reboot the VM. I suppose 
it's a qemu bug then. I tried with the latest kvm-qemu (78) but perhaps I 
should try the latest Qemu and if it still breaks report the bug on the Qemu 
mailing list? It is like it forgets to boot the kernel and initrd again after a 
reboot and tries to boot from the harddrive instead.

Cheers,

Daire
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Direct kernel boot without harddrive image

2008-11-16 Thread Avi Kivity

Daire Byrne wrote:

Is direct kernel booting just not really supported properly or is it just to do 
with Qemu forgetting about the direct boot kernel/initrd after a reboot?
  


Direct kernel booting is supported.  Please try with -no-kvm to see if 
it is a qemu or kvm issue, and also try the latest release to see you 
aren't encountering an already-fixed bug.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Direct kernel boot without harddrive image

2008-11-07 Thread Daire Byrne
Hi,

Admittedly this looks more like a Qemu issue but it effects KVM too which is 
all I'm interested in. I have a kernel and initrd which contains a mini busybox 
root environment which I want to boot directly using -kernel and -initrd. Now 
this works fine on first start but if I reboot within the system QEMU crashes 
out on the next run. I used -hda /dev/zero instead of a HD image. When qemu 
crashes after the reboot it dumps something like this:

[EMAIL PROTECTED] ~]# /usr/bin/qemu-kvm -m 1024 -smp 1 -name fedora3 -kernel 
vmlinuz-current -initrd initrd-diskless.img -append 'init=/init 
ramdisk_size=65536 root=/dev/ram0 rw' -hda /dev/zero
qemu: loading initrd (0x282bde bytes) at 0x1fd7d000
exception 13 (33)
rax b141 rbx 0100 rcx  rdx 
0100
rsi  rdi  rsp fff2 rbp 

r8  r9  r10  r11 

r12  r13  r14  r15 

rip 002c rflags 00033017
cs 1020 (00010200/ p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ds  (/ p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
es 1000 (0001/ p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
ss 1000 (0001/ p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
fs 1000 (0001/ p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
gs  (/ p 1 dpl 3 db 0 s 1 type 3 l 0 g 0 avl 0)
tr 0080 (fffbd000/2088 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt  (/ p 1 dpl 0 db 0 s 0 type 2 l 0 g 0 avl 0)
gdt fb812/30
idt 0/3ff
cr0 10 cr2 0 cr3 0 cr4 0 cr8 0 efer 0
code: 00 d0 d7 1f de 2b 28 00 00 00 00 00 00 fe 00 00 00 00 02 00 -- ff ff ff 
1f e8 cd 0c eb 0b 90 90 90 90 90 90 90 90 90 90 90 00 00 00 00 00 00 00 00 00 00

Is direct kernel booting just not really supported properly or is it just to do 
with Qemu forgetting about the direct boot kernel/initrd after a reboot?

Daire
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html