All of lore.kernel.org
 help / color / mirror / Atom feed
* Troubles building the xen linux pv drivers
@ 2009-11-04 22:53 Guillaume Rousse
  2009-11-05  9:55 ` Pasi Kärkkäinen
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Rousse @ 2009-11-04 22:53 UTC (permalink / raw)
  To: Xen Development Mailing List

Hello list.

I'm having trouble building the xen linux pv drivers from xen 3.4.1:
[guillaume@oberkampf linux-2.6]$ make -C 
/lib/modules/2.6.31.5-desktop-1mnb/build/ M=$PWD modules
make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb'
   CC [M] 
/home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.o
In file included from 
/home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.c:51:
include/xen/interface/memory.h:32: error: expected 
specifier-qualifier-list before 'GUEST_HANDLE'
include/xen/interface/memory.h:53: warning: data definition has no type 
or storage class

My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 + 
Andrew Lyon patches as xenified linux tree.
-- 
BOFH excuse #199:

the curls in your keyboard cord are losing electricity.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles building the xen linux pv drivers
  2009-11-04 22:53 Troubles building the xen linux pv drivers Guillaume Rousse
@ 2009-11-05  9:55 ` Pasi Kärkkäinen
  2009-11-06 18:01   ` Guillaume Rousse
  0 siblings, 1 reply; 4+ messages in thread
From: Pasi Kärkkäinen @ 2009-11-05  9:55 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: Xen Development Mailing List

On Wed, Nov 04, 2009 at 11:53:04PM +0100, Guillaume Rousse wrote:
> Hello list.
> 
> I'm having trouble building the xen linux pv drivers from xen 3.4.1:
> [guillaume@oberkampf linux-2.6]$ make -C 
> /lib/modules/2.6.31.5-desktop-1mnb/build/ M=$PWD modules
> make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb'
>   CC [M] 
> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.o
> In file included from 
> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.c:51:
> include/xen/interface/memory.h:32: error: expected 
> specifier-qualifier-list before 'GUEST_HANDLE'
> include/xen/interface/memory.h:53: warning: data definition has no type 
> or storage class
> 
> My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 + 
> Andrew Lyon patches as xenified linux tree.
>

I think unmodified_drivers is currently only supported on Linux 2.6.18.
Novell has some patches to make it work on 2.6.27.

Also, afaik, someone at Redhat is working on porting the
unmodified_drivers to pv_ops framework for upstream Linux kernel.

-- Pasi

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles building the xen linux pv drivers
  2009-11-05  9:55 ` Pasi Kärkkäinen
@ 2009-11-06 18:01   ` Guillaume Rousse
  2009-11-17 17:09     ` C.J. Adams-Collier
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Rousse @ 2009-11-06 18:01 UTC (permalink / raw)
  To: Pasi Kärkkäinen; +Cc: Xen Development Mailing List

Pasi Kärkkäinen a écrit :
> On Wed, Nov 04, 2009 at 11:53:04PM +0100, Guillaume Rousse wrote:
>> Hello list.
>>
>> I'm having trouble building the xen linux pv drivers from xen 3.4.1:
>> [guillaume@oberkampf linux-2.6]$ make -C 
>> /lib/modules/2.6.31.5-desktop-1mnb/build/ M=$PWD modules
>> make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb'
>>   CC [M] 
>> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.o
>> In file included from 
>> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.c:51:
>> include/xen/interface/memory.h:32: error: expected 
>> specifier-qualifier-list before 'GUEST_HANDLE'
>> include/xen/interface/memory.h:53: warning: data definition has no type 
>> or storage class
>>
>> My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 + 
>> Andrew Lyon patches as xenified linux tree.
>>
> 
> I think unmodified_drivers is currently only supported on Linux 2.6.18.
They are commit logs message in mercurial about fixing build with Linux 
2.6.27+, so I think at least 2.6.27 is supposed to build.

> Novell has some patches to make it work on 2.6.27.
Is there a public repository available for them ?

> Also, afaik, someone at Redhat is working on porting the
> unmodified_drivers to pv_ops framework for upstream Linux kernel.
Again, I'm interested by any reference about where to find the code.
-- 
BOFH excuse #21:

POSIX compliance problem

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Troubles building the xen linux pv drivers
  2009-11-06 18:01   ` Guillaume Rousse
@ 2009-11-17 17:09     ` C.J. Adams-Collier
  0 siblings, 0 replies; 4+ messages in thread
From: C.J. Adams-Collier @ 2009-11-17 17:09 UTC (permalink / raw)
  To: Guillaume Rousse; +Cc: Xen Development Mailing List


[-- Attachment #1.1.1: Type: text/plain, Size: 1849 bytes --]

On Fri, 2009-11-06 at 19:01 +0100, Guillaume Rousse wrote:
> Pasi Kärkkäinen a écrit :
> > On Wed, Nov 04, 2009 at 11:53:04PM +0100, Guillaume Rousse wrote:
> >> Hello list.
> >>
> >> I'm having trouble building the xen linux pv drivers from xen 3.4.1:
> >> [guillaume@oberkampf linux-2.6]$ make -C 
> >> /lib/modules/2.6.31.5-desktop-1mnb/build/ M=$PWD modules
> >> make: Entering directory `/usr/src/linux-2.6.31.5-desktop-1mnb'
> >>   CC [M] 
> >> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.o
> >> In file included from 
> >> /home/guillaume/xen-3.4.1/unmodified_drivers/linux-2.6/balloon/balloon.c:51:
> >> include/xen/interface/memory.h:32: error: expected 
> >> specifier-qualifier-list before 'GUEST_HANDLE'
> >> include/xen/interface/memory.h:53: warning: data definition has no type 
> >> or storage class
> >>
> >> My current kernel is a 2.6.31.5, and I'm using a vanilla 2.6.30.2 + 
> >> Andrew Lyon patches as xenified linux tree.
> >>
> > 
> > I think unmodified_drivers is currently only supported on Linux 2.6.18.
> They are commit logs message in mercurial about fixing build with Linux 
> 2.6.27+, so I think at least 2.6.27 is supposed to build.
> 
> > Novell has some patches to make it work on 2.6.27.
> Is there a public repository available for them ?

They keep the patches in the source rpm:

ftp://ftp.suse.com/pub/projects/kernel/kotd/SLE11_BRANCH/x86_64/kernel-xen-2.6.27.39-0.0.0.2.a1d3483.x86_64.rpm

I tried building it yesterday and failed at platform-pci.  See attached
build log.  Any help anyone could provide would be greatly appreciated.

> > Also, afaik, someone at Redhat is working on porting the
> > unmodified_drivers to pv_ops framework for upstream Linux kernel.
> Again, I'm interested by any reference about where to find the code.


[-- Attachment #1.1.2: log --]
[-- Type: text/plain, Size: 2080 bytes --]

make: Entering directory `/usr/src/linux-2.6.27'
  CC [M]  /usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/evtchn.o
<command-line>: warning: "__XEN_INTERFACE_VERSION__" redefined
<command-line>: warning: this is the location of the previous definition
In file included from <command-line>:0:
./include/linux/autoconf.h:145:1: warning: "CONFIG_XEN_COMPAT" redefined
<command-line>: warning: this is the location of the previous definition
In file included from include/linux/mm.h:40,
                 from include/asm/mach-xen/asm/pci.h:4,
                 from include/linux/pci.h:1026,
                 from /usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/platform-pci.h:25,
                 from /usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/evtchn.c:37:
include/asm/mach-xen/asm/pgtable.h:50:1: warning: "_PAGE_NX" redefined
In file included from include/asm/mach-xen/asm/synch_bitops.h:11,
                 from include/xen/evtchn.h:40,
                 from /usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/evtchn.c:34:
/usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h:107:1: warning: this is the location of the previous definition
In file included from include/linux/mm.h:40,
                 from include/asm/mach-xen/asm/pci.h:4,
                 from include/linux/pci.h:1026,
                 from /usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/platform-pci.h:25,
                 from /usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/evtchn.c:37:
include/asm/mach-xen/asm/pgtable.h:274: error: expected ‘)’ before numeric constant
make[2]: *** [/usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/evtchn.o] Error 1
make[1]: *** [/usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci] Error 2
make: *** [_module_/usr/src/hg/xen-unstable.hg/unmodified_drivers/linux-2.6] Error 2
make: Leaving directory `/usr/src/linux-2.6.27'

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-17 17:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-04 22:53 Troubles building the xen linux pv drivers Guillaume Rousse
2009-11-05  9:55 ` Pasi Kärkkäinen
2009-11-06 18:01   ` Guillaume Rousse
2009-11-17 17:09     ` C.J. Adams-Collier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.