Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192299 - >=sys-kernel/xen-sources-2.6.20-r3 doesn't compile with CONFIG_PCI=y for domU ( undefined reference to `quirk_intel_irqbalance')
Summary: >=sys-kernel/xen-sources-2.6.20-r3 doesn't compile with CONFIG_PCI=y for domU...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
: 212441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-09-12 14:33 UTC by Laurento Frittella (mrfree)
Modified: 2010-01-06 22:29 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config-domU (config-domU,16.58 KB, text/plain)
2007-09-12 14:33 UTC, Laurento Frittella (mrfree)
Details
patch to remove missing call quirk_intel_irqbalance (patch-irqbalance,518 bytes, patch)
2007-09-15 07:39 UTC, Srdjan Rosic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2007-09-12 14:33:31 UTC
When I compile sources for domU kernel I receive this error
  undefined reference to `quirk_intel_irqbalance'

I need to disable CONFIG_PCI to get it working.

The same .config works well to the dom0 kernel, the differences are:
- XEN section: I disable all frontend options and enable backend options
- Bus section: I disable XEN PCI frontend
Comment 1 Laurento Frittella (mrfree) 2007-09-12 14:33:59 UTC
Created attachment 130715 [details]
config-domU
Comment 2 Srdjan Rosic 2007-09-15 07:36:39 UTC
yes, but removing CONFIG_PCI kills any chance of a working pci frontend in domU
I found the offending call to the missing function in arch/x86_64/kernel/early-quirks.c and I can verify that it's the only offending instance.

However, when i remove the call, i still can't use pci devices from within domU

(In reply to comment #0)
> When I compile sources for domU kernel I receive this error
>   undefined reference to `quirk_intel_irqbalance'
> 
> I need to disable CONFIG_PCI to get it working.
> 
> The same .config works well to the dom0 kernel, the differences are:
> - XEN section: I disable all frontend options and enable backend options
> - Bus section: I disable XEN PCI frontend
> 

Comment 3 Srdjan Rosic 2007-09-15 07:39:16 UTC
Created attachment 130972 [details, diff]
patch to remove missing call quirk_intel_irqbalance

copy to usr/src/linux and execute 
patch -p1 patch-irqbalance
Comment 4 Dominik 'Rathann' Mierzejewski 2007-10-17 09:27:17 UTC
I've just stumbled upon this bug, too.

Someone said here
http://forums.gentoo.org/viewtopic-p-4348244.html
that disabling CONFIG_SMP also helps.
Comment 5 Scott Alfter 2008-01-16 06:18:54 UTC
The patch works for me...without it, the domU build for xen-sources-2.6.20-r6 fails.
Comment 6 Frank Stanek 2008-02-23 17:27:17 UTC
The problem is still present in xen-sources-2.6.21.

The patch by Srdjan Rosic helps in my case.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-03-05 23:21:09 UTC
*** Bug 212441 has been marked as a duplicate of this bug. ***
Comment 8 Josh Becigneul 2008-07-15 21:49:17 UTC
(In reply to comment #3)
> patch -p1 patch-irqbalance
> 

I had to execute:

patch -p1 < patch-irqbalance
Comment 9 Patrick Lauer gentoo-dev 2010-01-06 22:29:47 UTC
Dropped version. Try .29 or .31 :)