Skip to contentSkip to conversation

mini-os (not a cross post)

DISCUSSION Donour Sizemore 3 participants 10 messages Sep 26, 2005 – Oct 5, 2005

lore
Share & tools
lore
#0 lore raw

Hi everyone

I just posted to xen-users about not being able to build the mini-os example. Looking through the souce I found a big

* TODO - x86_64 broken!

in extras/mini-os/include/hypervisor.h. Does anybody know exactly what the issue is that keeps it from building?

thanks

donour

#1 lore raw

I did a quick fix of replacing the hypervisor.h contents with code from the sparse kernel's corresponding file. This along with a couple of other minor changes got it to compile. But it doesn't boot up properly. I'm investigating that a bit in my spare time.

Quoted 20 lines · Donour Sizemore

Hi everyone

I just posted to xen-users about not being able to build the mini-os example. Looking through the souce I found a big

* TODO - x86_64 broken!

in extras/mini-os/include/hypervisor.h. Does anybody know exactly what the issue is that keeps it from building?

thanks

donour

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 9 lines · Dave Olien

I did a quick fix of replacing the hypervisor.h contents with code from the sparse kernel's corresponding file. This along with a couple of other minor changes got it to compile. But it doesn't boot up properly. I'm investigating that a bit in my spare time.

Thanks for the tip. I'll take a look at it shortly.

Were your you trying to boot it on a 64bit machine?

donour

#3 lore raw

Yes, on x86_64. One possibility is that the
mini-os I built was from the recent unstable source, but my dom0 kernel and hypervisor were built from older sources. There is probably an incompatbility there. I'll try again using consistent versions when I get the time.

Let me know what you find.

Dave

Quoted 4 lines · Donour Sizemore

Were your you trying to boot it on a 64bit machine?

donour

#4 lore raw

Hi there guys!

I am currently responsible for mini-os. I've recently updated the code to make it work under 32 bit (mini-os was not used for quite some time, almost 2 years if I am correct. Subsequently the changes in the interfaces broke it).

I've started fixing 64-bit version as well, but now I am busy with something else. It will therefore have to wait a little unless you are interested in helping out. I could give you precise list of things than need fixing is such case.

Cheers
Gregor

Quoted 21 lines · Dave Olien

Yes, on x86_64. One possibility is that the
mini-os I built was from the recent unstable source, but my dom0 kernel and hypervisor were built from older sources. There is probably an incompatbility there. I'll try again using consistent versions when I get the time.

Let me know what you find.

Dave

Quoted 3 lines · Donour Sizemore

Were your you trying to boot it on a 64bit machine?

donour

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

Gregor,

I think I could spend some time helping out on this. If you could post the items that still need work, I'll choose some items to work on.

Thanks!
Dave

Quoted 42 lines · Grzegorz Milos

Hi there guys!

I am currently responsible for mini-os. I've recently updated the code to make it work under 32 bit (mini-os was not used for quite some time, almost 2 years if I am correct. Subsequently the changes in the interfaces broke it).

I've started fixing 64-bit version as well, but now I am busy with something else. It will therefore have to wait a little unless you are interested in helping out. I could give you precise list of things than need fixing is such case.

Cheers
Gregor

Quoted 14 lines · Dave Olien

Yes, on x86_64. One possibility is that the
mini-os I built was from the recent unstable source, but my dom0 kernel and hypervisor were built from older sources. There is probably an incompatbility there. I'll try again using consistent versions when I get the time.

Let me know what you find.

Dave

Quoted 2 lines · Donour Sizemore

Were your you trying to boot it on a 64bit machine?

Quoted 7 lines
Quoted 1 line

donour

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
In reply to Dave Olien
Quoted 7 lines · Dave Olien

Yes, on x86_64. One possibility is that the
mini-os I built was from the recent unstable source, but my dom0 kernel and hypervisor were built from older sources. There is probably an incompatbility there. I'll try again using consistent versions when I get the time.

I tried this with recent unstable-source, but ran into quite a few other errors. Specifically, this one has me perplexed:

/usr/include/linux/types.h:34: error: conflicting types for `size_t'

I didn't think that could happen has the x86 and x86_64 hypercall.h are the same (at least in the linux-2.6-sparse directory).

Did you make any progress since the booting errors?

donour

#8 lore raw
Quoted 2 lines

I didn't think that could happen has the x86 and x86_64 hypercall.h

err, hypervisor.h

donour

#9 lore raw
In reply to Donour Sizemore

Donour,

I haven't had time yet to really look at it. I'm hoping to have a few hours this week. I'm also waiting for Grzegorz Milos to post a list of items that need to be worked on in x86-64 mini-os, and I'll try to start working on that list.

Dave

Quoted 20 lines · Donour Sizemore
Quoted 7 lines · Dave Olien

Yes, on x86_64. One possibility is that the
mini-os I built was from the recent unstable source, but my dom0 kernel and hypervisor were built from older sources. There is probably an incompatbility there. I'll try again using consistent versions when I get the time.

I tried this with recent unstable-source, but ran into quite a few other errors. Specifically, this one has me perplexed:

/usr/include/linux/types.h:34: error: conflicting types for `size_t'

I didn't think that could happen has the x86 and x86_64 hypercall.h are the same (at least in the linux-2.6-sparse directory).

Did you make any progress since the booting errors?

donour

#6 lore raw
In reply to Grzegorz Milos
Quoted 3 lines

I've started fixing 64-bit version as well, but now I am busy with something else. It will therefore have to wait a little unless you are interested in helping out. I could give you precise list of things than need fixing is such case.

Yes. Could you please send out that list. I'm still interested in getting it working.

donour