Skip to contentSkip to conversation

Bug#795330: Suggests noapic but doesn't support it

Pkg-xen-devel Ian Campbell 3 participants 6 messages Sep 4, 2015 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Control: tag -1 upstream

Jan/Andy & David,

Is there anything we can improve here on either the Xen or kernel side do you think?

Quoted 6 lines · Guido Günther

Package: xen-hypervisor-4.5-amd64
Severity: normal

Hi,
when running xen inside of kvm the hypervisor fails to set up the proper IRQ routing and suggests to use noapic.

FTR, it seems to say:

panic("IO-APIC + timer doesn't work! Boot with apic_verbosity=debug "
"and send a report. Then try booting with the 'noapic' option");

Did you also try the first thing it suggested? What was the result?

Quoted 5 lines

If you add this via

GRUB_CMDLINE_XEN_DEFAULT

it will boot futher but then report that noapic isn't supported.

Is this the kernel saying that or Xen? Do you have full boot logs?

I think it is the kernel since I can't find such a message in Xen and
http://xenbits.xen.org/docs/unstable/misc/xen-command-line.html says for the noapic option: "This is not recommended with pvops type kernels."

Quoted 1 line

So please make Xen not claim to support noapic if it doesn't

I think ultimately this is down to different components being able to support different things, e.g. Xen's advice might be fine with a FreeBSD dom0 or some other version of Linux.

Quoted 2 lines

(the issue
was finally resolved by removeing all virtion devices and doubling the

^virtio ?

Quoted 1 line

hypervisors RAM so the suggestion was misplaced anyways).

I can see how the virtio thing might make the KVM guest look different to Xen, but the RAM thing seems orthogonal.

Thanks,
Ian.

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

#2 lore raw
Quoted 11 lines · Ian Campbell

Control: tag -1 upstream

Jan/Andy & David,

Is there anything we can improve here on either the Xen or kernel side do you think?

Quoted 3 lines · Guido Günther

Package: xen-hypervisor-4.5-amd64
Severity: normal

Quoted 8 lines
Quoted 3 lines

Hi,
when running xen inside of kvm the hypervisor fails to set up the proper IRQ routing and suggests to use noapic.

FTR, it seems to say:

panic("IO-APIC + timer doesn't work! Boot with apic_verbosity=debug "
"and send a report. Then try booting with the 'noapic' option");

This is the Linux kernel making a recommendation for its command line.

Quoted 7 lines

Did you also try the first thing it suggested? What was the result?

Quoted 5 lines

If you add this via

GRUB_CMDLINE_XEN_DEFAULT

it will boot futher but then report that noapic isn't supported.

Don't add Linux command line options to the Xen command line.

David

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

#3 lore raw
Quoted 18 lines · David Vrabel
Quoted 17 lines · Ian Campbell

Control: tag -1 upstream

Jan/Andy & David,

Is there anything we can improve here on either the Xen or kernel side do
you think?

Quoted 7 lines · Guido Günther

Package: xen-hypervisor-4.5-amd64
Severity: normal

Hi,
when running xen inside of kvm the hypervisor fails to set up the proper
IRQ routing and suggests to use noapic.

Quoted 8 lines
Quoted 6 lines

FTR, it seems to say:

panic("IO-APIC + timer doesn't work! Boot with
apic_verbosity=debug "
"and send a report. Then try booting with the 'noapic'
option");

This is the Linux kernel making a recommendation for its command line.

I cut-n-paste that message from xen.git. Although maybe in a file which originates in Linux.

(So now I realised I don't really know which entity was complaining)

Quoted 8 lines
Quoted 7 lines

Did you also try the first thing it suggested? What was the result?

Quoted 5 lines

If you add this via

GRUB_CMDLINE_XEN_DEFAULT

it will boot futher but then report that noapic isn't supported.

Quoted 8 lines

Don't add Linux command line options to the Xen command line.

David

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

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

#4 lore raw
Quoted 26 lines · Ian Campbell
Quoted 25 lines · David Vrabel
Quoted 23 lines · Ian Campbell

Control: tag -1 upstream

Jan/Andy & David,

Is there anything we can improve here on either the Xen or kernel side do
you think?

Quoted 7 lines · Guido Günther

Package: xen-hypervisor-4.5-amd64
Severity: normal

Hi,
when running xen inside of kvm the hypervisor fails to set up the proper
IRQ routing and suggests to use noapic.

FTR, it seems to say:

panic("IO-APIC + timer doesn't work! Boot with
apic_verbosity=debug "
"and send a report. Then try booting with the 'noapic'
option");

Quoted 6 lines
Quoted 1 line

This is the Linux kernel making a recommendation for its command line.

I cut-n-paste that message from xen.git. Although maybe in a file which originates in Linux.

(So now I realised I don't really know which entity was complaining)

Oh, in which case removing (from Xen) the recommendation to try noapic might be useful.

David

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

#5 lore raw
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 04.09.15 at 16:22, <[email protected]> wrote:

Oh, in which case removing (from Xen) the recommendation to try noapic might be useful.

Hmm - so far I didn't the option was not working. I also don't understand the reference to pv-ops kernels in the doc. Sadly it's not clear where this comes from, since Ian has imported it from the wiki, and in the wiki it has been there from the beginning (with no hint to where that first version came from).

Jan

#6 lore raw
In reply to Ian Campbell
Quoted 19 lines
Quoted 1 line
Quoted 1 line · On 04.09.15 at 16:13, <[email protected]> wrote:
Quoted 17 lines · David Vrabel
Quoted 15 lines · Ian Campbell
Quoted 7 lines · Guido Günther

Package: xen-hypervisor-4.5-amd64
Severity: normal

Hi,
when running xen inside of kvm the hypervisor fails to set up the proper
IRQ routing and suggests to use noapic.

FTR, it seems to say:

panic("IO-APIC + timer doesn't work! Boot with
apic_verbosity=debug "
"and send a report. Then try booting with the 'noapic'
option");

Quoted 6 lines
Quoted 1 line

This is the Linux kernel making a recommendation for its command line.

I cut-n-paste that message from xen.git. Although maybe in a file which originates in Linux.

(So now I realised I don't really know which entity was complaining)

The reference to apic_verbosity= makes it Xen (Linux uses apic= here).

Jan

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