Skip to contentSkip to conversation

cannot boot minix3

DISCUSSION ( अमेय पाळंदे ) Ameya Palande 2 participants 5 messages Dec 30, 2006 – Jan 7, 2007 4 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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

#2 lore raw
In reply to a message not in the archive
Quoted 6 lines

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,

Quoted 6 lines

/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.

Quoted 13 lines

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.

Quoted 10 lines

-------------------------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
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

#4 lore raw
In reply to a message not in the archive
Quoted 9 lines · Dor Laor
Quoted 9 lines

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

Quoted 32 lines
Quoted 3 lines

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.

Quoted 23 lines

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 [email protected]
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

#6 lore raw
In reply to a message not in the archive
Quoted 45 lines
Quoted 9 lines
Quoted 9 lines

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

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines
Quoted 7 lines

dmesg output shows,
kvm: msrs: 1

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

Quoted 8 lines
Quoted 8 lines

Processor info : Intel Core Duo T2300

Any help ?

Regards,
Ameya.

------------------------------------------------------------------------

-

Quoted 11 lines
Quoted 4 lines

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

Quoted 4 lines

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 8 lines

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.

Quoted 2 lines

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

#8 lore raw
In reply to a message not in the archive

Hi,

I am calling show_code() at the end of handle_exception() function.

Quoted 1 line

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.

Quoted 54 lines · Dor Laor
Quoted 45 lines
Quoted 9 lines
Quoted 9 lines

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

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines
Quoted 7 lines

dmesg output shows,
kvm: msrs: 1

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

Quoted 8 lines
Quoted 8 lines

Processor info : Intel Core Duo T2300

Any help ?

Regards,
Ameya.

------------------------------------------------------------------------

-

Quoted 11 lines
Quoted 4 lines

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

Quoted 4 lines

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Quoted 8 lines

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 ?

Quoted 9 lines

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.

Quoted 2 lines

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