[kvm-devel] cannot boot minix3

2006-12-30 Thread ( अमेय पाळंदे ) Ameya Palande
Hi,

I am using latest kvm release 8 with linux kernel 2.6.18.2-34-default.
I am trying to run minix3 using following command line,

/usr/local/kvm/bin/qemu -boot d -m 128 -hda ./minix_image -cdrom
./IDE-image-3.1.2a.iso

After this it starts, but then suddenly it dies with following message,
exception 13 (0)
Aborted

dmesg output shows,
kvm: msrs: 1

I tried with no-acpi option also. But no success.

Processor info : Intel Core Duo T2300

Any help ?

Regards,
Ameya.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] cannot boot minix3

2006-12-31 Thread ( अमेय पाळंदे ) Ameya Palande
On 12/31/06, Dor Laor <[EMAIL PROTECTED]> wrote:
> >
> >Hi,
> >
> >I am using latest kvm release 8 with linux kernel 2.6.18.2-34-default.
> >I am trying to run minix3 using following command line,
> >
> >/usr/local/kvm/bin/qemu -boot d -m 128 -hda ./minix_image -cdrom
> >./IDE-image-3.1.2a.iso
> >
> >After this it starts, but then suddenly it dies with following message,
> >exception 13 (0)
> >Aborted
>
> It's probably the notorious real mode problem.
> Try running it without graphical boot loader.
> The other alternative is to install the OS with plain Qemu and afterwards use 
> it with KVM.
>
> >
> >dmesg output shows,
> >kvm: msrs: 1
> >
> >I tried with no-acpi option also. But no success.
> >
> >Processor info : Intel Core Duo T2300
> >
> >Any help ?
> >
> >Regards,
> >Ameya.
> >
> >-
> >Take Surveys. Earn Cash. Influence the Future of IT
> >Join SourceForge.net's Techsay panel and you'll get the chance to share
> >your
> >opinions on IT & business topics through brief surveys - and earn cash
> >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >___
> >kvm-devel mailing list
> >kvm-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/kvm-devel
>

Hi,

Can you tell me how to debug it ?
I saw debug.c file under kernel directory in kvm source code.
There is a show_code() function in debug.c file.
Can I see which instruction in Minix3 in real mode is generating the problem ?

Regards,
Ameya.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] Compile error with openSuse 10.2

2007-01-04 Thread ( अमेय पाळंदे ) Ameya Palande
> Message: 9
> Date: Thu, 4 Jan 2007 17:00:32 +0200
> From: Peter Smith <[EMAIL PROTECTED]>
> Subject: [kvm-devel] Compile error with openSuse 10.2
> To: kvm-devel@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="us-ascii"
>
> When compiling KVM I get the following error:-
>
> In file included from /home/peter/applications-home/kvm-9/qemu/usb-linux.c:29:
> /usr/include/linux/usbdevice_fs.h:49: error: variable or field `__user'
> declared void
> /usr/include/linux/usbdevice_fs.h:49: error: syntax error before '*' token
>
> My environment is
> openSuse 10.2
> gcc 3.4.6
> kernel 2.6.18.2 (32 bit)
>
> I would be grateful for some pointers,
> Peter
>

Hi Peter,

Include  file before usbdevice_fs.h in,
kvm-9/qemu/usb-linux.c

And then recompile.

Hope this helps :)

Regards,
Ameya.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] cannot boot minix3

2007-01-06 Thread ( अमेय पाळंदे ) Ameya Palande
Hi,

I am calling show_code() at the end of handle_exception() function.
>From code trace I can see that it exits for HLT instruction.
Minix boot monitor calls HLT in getch() function while waiting for keyboard
interrupt.

There is a handler handle_halt() for handling exits due to HLT instruction.
But instead of that handle_exception() handler is getting called.

I can see that kvm is getting EXIT_REASON_EXCEPTION_NMI
instead of EXIT_REASON_HLT.

Am i doing something wrong ? How is this possible ?

Regards,
Ameya.

On 12/31/06, Dor Laor <[EMAIL PROTECTED]> wrote:
>
> >> >Hi,
> >> >
> >> >I am using latest kvm release 8 with linux kernel 2.6.18.2-34-default.
> >> >I am trying to run minix3 using following command line,
> >> >
> >> >/usr/local/kvm/bin/qemu -boot d -m 128 -hda ./minix_image -cdrom
> >> >./IDE-image-3.1.2a.iso
> >> >
> >> >After this it starts, but then suddenly it dies with following message,
> >> >exception 13 (0)
> >> >Aborted
> >>
> >> It's probably the notorious real mode problem.
> >> Try running it without graphical boot loader.
> >> The other alternative is to install the OS with plain Qemu and afterwards
> >use it with KVM.
> >>
> >> >
> >> >dmesg output shows,
> >> >kvm: msrs: 1
> >> >
> >> >I tried with no-acpi option also. But no success.
> >> >
> >> >Processor info : Intel Core Duo T2300
> >> >
> >> >Any help ?
> >> >
> >> >Regards,
> >> >Ameya.
> >> >
> >> >
> >-
> >> >Take Surveys. Earn Cash. Influence the Future of IT
> >> >Join SourceForge.net's Techsay panel and you'll get the chance to share
> >> >your
> >> >opinions on IT & business topics through brief surveys - and earn cash
> >>
> >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> >___
> >> >kvm-devel mailing list
> >> >kvm-devel@lists.sourceforge.net
> >> >https://lists.sourceforge.net/lists/listinfo/kvm-devel
> >>
> >
> >Hi,
> >
> >Can you tell me how to debug it ?
> >I saw debug.c file under kernel directory in kvm source code.
> >There is a show_code() function in debug.c file.
> >Can I see which instruction in Minix3 in real mode is generating the
> >problem ?
> >
>
> I think that debug.c won't compile now, it was created when only VT was 
> supported. However you can take the relevant show_code function and add it to 
> vmx.c (Intel) or svm.c (AMD). Call it at the end of handle_exception()
> Function.
>
> Anyway since the problem is the partial implementation of real mode 
> emulation, thus a single instruction won't help much.
>
>
> >Regards,
> >Ameya.
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] netbsd 3.1 problem

2007-01-07 Thread ( अमेय पाळंदे ) Ameya Palande
Hi,

I am using kvm release 10 under opensuse 10.2 kernel
2.6.18.2-34-default on intel
core duo processor T2300.

I am trying to boot netbsd 3.1 from bootable CD image.

Here is the command line :
/usr/local/kvm/bin/qemu -no-acpi -m 256 -boot d -cdrom
~ameya/Desktop/i386cd-3.1.iso

When I arrive at welcome screen (blue color) of netbsd installation tool I
get following in dmesg output,

kvm: msrs: 1
kvm: msrs: 1
kvm: emulating exchange as write
is_empty_shadow_page: f4f06e50 2
assertion failed /tmp/kvm-10/kernel/mmu.c:456:
is_empty_shadow_page(page->page_hpa)
assertion failed /tmp/kvm-10/kernel/paging_tmpl.h:160: *shadow_pte == 0

Also if I go to utility menu and select Halt the system, then
it says system halted press any key to reboot if I press any key
then qemu exits with following errors,

You can see same problem if you select "Reboot the System" from
main installation menu.

unhandled vm exit:  0x2
rax  rbx cafabe94 rcx cafabe94 rdx

rsi  rdi c0a30800 rsp cafabe94 rbp
cafabeb0
r8  b7e2ca88 r9  b7fedff40d7905c6 r10 b7fee6f8080491a0 r11
b7fdfecdbfcadc20
r12 b7b443d0b7fee8b8 r13 00010001 r14 0804a100 r15
08131238
rip c02ccae4 rflags 00010082
Aborted

Regards,
Ameya.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] netbsd 3.1 problem

2007-01-07 Thread ( अमेय पाळंदे ) Ameya Palande
Hi,

On 1/7/07, Avi Kivity <[EMAIL PROTECTED]> wrote:
> ( अमेय पाळंदे ) Ameya Palande wrote:
> > Hi,
> >
> > I am using kvm release 10 under opensuse 10.2 kernel
> > 2.6.18.2-34-default on intel
> > core duo processor T2300.
> >
> > I am trying to boot netbsd 3.1 from bootable CD image.
> >
> > Here is the command line :
> > /usr/local/kvm/bin/qemu -no-acpi -m 256 -boot d -cdrom
> > ~ameya/Desktop/i386cd-3.1.iso
> >
> > When I arrive at welcome screen (blue color) of netbsd installation tool I
> > get following in dmesg output,
> >
> > kvm: msrs: 1
> > kvm: msrs: 1
> > kvm: emulating exchange as write
> > is_empty_shadow_page: f4f06e50 2
> > assertion failed /tmp/kvm-10/kernel/mmu.c:456:
> > is_empty_shadow_page(page->page_hpa)
> > assertion failed /tmp/kvm-10/kernel/paging_tmpl.h:160: *shadow_pte == 0
> >
> >
>
> This is likely a bug in the new shadow page table caching code.  Can you
> test kvm-9?
>

I tested same thing with kvm-9 release.
Here is the command line,
/usr/local/kvm/bin/qemu -no-acpi -m 256 -boot d -cdrom
/home/ameya/setups/netbsd/i386cd-3.1.iso

If I select "Reboot the System" from main installation menu
it says rebooting the system and qemu exits with following error,

-
unhandled vm exit:  0x2
rax  rbx cafabe94 rcx cafabe94 rdx

rsi  rdi c0a30800 rsp cafabe94 rbp
cafabeb0
r8  b7e28a88 r9  b7fe9ff40d7905c6 r10 b7fea6f80804919c r11
b7fdbecdbfbdeb30
r12 b7b403d0b7fea8b8 r13 00010001 r14 0804a0e2 r15
08131238
rip c02ccae4 rflags 00010082
Aborted
-
dmesg shows following statement,
kvm: msrs: 1

Regards,
Ameya.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] OS installation report

2007-01-07 Thread ( अमेय पाळंदे ) Ameya Palande
Hi,

I tried installing following OSs using kvm release 9 and 10.
Note : I used -no-acpi -m 256 for qemu

1. opensuse 10.2
kvm10 - for starting installation one has to press shift key to avoid graphical
 boot screen. Afterwards Graphical installation starts
without any problem.
kvm9  - for starting installation shift key should be pressed.
   It hangs while probing for hard disks and formatting hard disk :(

2. debian 3.14r4
kvm10 - installation proceeds till partitioning step and afterwords hangs :(
But already installed system using kvm9 boots and works properly.
kvm9  - installation works.

3. netbsd 3.1
kvm10 - installation hangs :(
Already installed system with kvm9 doesn't boot, dmesg is full with
"not present" messages.
kvm9  - installation works.


4. openbsd 4
kvm10 - installation hangs at rootdev detection stage :(
kvm9  - installation works.

5. freebsd 6.1
kvm10 - installation hangs at partitioning commit state :(
kvm9  - installation hangs at initial stage :(

I hope this report is helpful, and we can get overall picture of where we are.

Regards,
Ameya.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel