Skip to contentSkip to conversation

Xen status

DISCUSSION Jeremy Fitzhardinge 3 participants 4 messages Sep 13, 2006 – Sep 14, 2006 virtio core

lore
Share & tools
lore
#0 lore raw

Well, the PDA stuff took a bit longer to settle down than I would have hoped, but it seems fairly sound now.

I just committed the changes needed to make Xen happy with the PDA, which means making sure an appropriate GDT is set up early enough.

I also seem to have avoided most of the APIC issues under Xen by simply making the cpuid not report the presence of an APIC.

With these in place, things are getting fairly far, but not to usermode. It often gets as far as trying to mount root, but it fails; I haven't investigated that yet. But it also frequently crashes before then, depending on when it gets an interrupt. I'm trying to work out what's happening here, but the symptom is eip == 0x00000001 (!).

Chris, what local hacks do you have in your tree?

j

#1 lore raw
Quoted 6 lines · Jeremy Fitzhardinge

Well, the PDA stuff took a bit longer to settle down than I would have hoped, but it seems fairly sound now.

I just committed the changes needed to make Xen happy with the PDA, which means making sure an appropriate GDT is set up early enough.

Quoted 8 lines

I also seem to have avoided most of the APIC issues under Xen by simply making the cpuid not report the presence of an APIC.

With these in place, things are getting fairly far, but not to usermode. It often gets as far as trying to mount root, but it fails; I haven't investigated that yet. But it also frequently crashes before then, depending on when it gets an interrupt. I'm trying to work out what's happening here, but the symptom is eip == 0x00000001 (!).

Bad patches? I put code in vmi.c to patch IRET and SYSEXIT EIPs to 0x1 and 0x2, respectively, once upon a time. Maybe it migrated over to you somehow?

#2 lore raw
In reply to Jeremy Fitzhardinge
Quoted 6 lines · * Jeremy Fitzhardinge ([email protected]) wrote:

Well, the PDA stuff took a bit longer to settle down than I would have hoped, but it seems fairly sound now.

I just committed the changes needed to make Xen happy with the PDA, which means making sure an appropriate GDT is set up early enough.

Quoted 8 lines

I also seem to have avoided most of the APIC issues under Xen by simply making the cpuid not report the presence of an APIC.

With these in place, things are getting fairly far, but not to usermode. It often gets as far as trying to mount root, but it fails; I haven't investigated that yet. But it also frequently crashes before then, depending on when it gets an interrupt. I'm trying to work out what's happening here, but the symptom is eip == 0x00000001 (!).

Haven't seen that one.

Quoted 1 line

Chris, what local hacks do you have in your tree?

Essentially all the local hacks I have are for debugging. There was one bit which was just for apic clock setup. But the symptom w/out that was a hang, not a crash. They're also on a remote machine that has apparently died. Re-tooling locally ATM.

thanks,
-chris

#3 lore raw
Quoted 9 lines · Chris Wright
Quoted 6 lines

With these in place, things are getting fairly far, but not to usermode. It often gets as far as trying to mount root, but it fails; I haven't investigated that yet. But it also frequently crashes before then, depending on when it gets an interrupt. I'm trying to work out what's happening here, but the symptom is eip == 0x00000001 (!).

Haven't seen that one.

Yeah, it looks like something is going amiss in interrupt delivery. Maybe something to do with interrupt stacks...

I never saw anything strange relating to timer events, but perhaps this is a manifestation of that problem.

Quoted 2 lines

Essentially all the local hacks I have are for debugging. There was one bit which was just for apic clock setup.

I think I worked around that by masking off the ACPI bit in CPUID.

Quoted 1 line

But the symptom w/out that was a hang, not a crash.

Yes, I'm past that one.

Quoted 3 lines

They're also on a remote machine that
has apparently died. Re-tooling locally ATM.

That sucks.

J