Hi, when I try to compile a custom kernel 2.4.29 with option "Device driver domain" enabled, I get following error during "make ARCH=xen": arch/xen/drivers/blkif/drv.o(.text+0x35e0): In function `blkif_connect'': : undefined reference to `direct_remap_area_pages'' arch/xen/drivers/netif/drv.o(.text+0x1a95): In function `netif_connect'': : undefined reference to `direct_remap_area_pages'' arch/xen/drivers/netif/drv.o(.text+0x1ad4): In function `netif_connect'': : undefined reference to `direct_remap_area_pages'' When I disable the option compiling finishes without any problem. My domain0 kernel is version 2.6.11, other domains run with 2.6.11-xenU without any privileged access. Current Xen version used is xen-2.0-testing. Same error occured with xen-2.0.5-stable. Didn''t test with xen-unstable right now. Anyone got a hint what the problem might be? Thanks in advance, Marco. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> when I try to compile a custom kernel 2.4.29 with option > "Device driver domain" enabled, I get following error during > "make ARCH=xen": > > arch/xen/drivers/blkif/drv.o(.text+0x35e0): In function > `blkif_connect'': > : undefined reference to `direct_remap_area_pages'' > arch/xen/drivers/netif/drv.o(.text+0x1a95): In function > `netif_connect'': > : undefined reference to `direct_remap_area_pages'' > arch/xen/drivers/netif/drv.o(.text+0x1ad4): In function > `netif_connect'': > : undefined reference to `direct_remap_area_pages'' > > When I disable the option compiling finishes without any problem.Compare your config for 2.4.29 against that of the 2.4.29 xen0 config. It is able to build and host native drivers just fine. It''s likely the config dependencies need tweaking to prevent you slecting an illegal combination of some sort. Best, Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Pratt schrieb:>>when I try to compile a custom kernel 2.4.29 with option >>"Device driver domain" enabled, I get following error during >>"make ARCH=xen": >> >>arch/xen/drivers/blkif/drv.o(.text+0x35e0): In function >>`blkif_connect'': >>: undefined reference to `direct_remap_area_pages'' >>arch/xen/drivers/netif/drv.o(.text+0x1a95): In function >>`netif_connect'': >>: undefined reference to `direct_remap_area_pages'' >>arch/xen/drivers/netif/drv.o(.text+0x1ad4): In function >>`netif_connect'': >>: undefined reference to `direct_remap_area_pages'' >> >>When I disable the option compiling finishes without any problem. > > > Compare your config for 2.4.29 against that of the 2.4.29 xen0 config. > It is able to build and host native drivers just fine. > > It''s likely the config dependencies need tweaking to prevent you > slecting an illegal combination of some sort. > > Best, > IanOk, that was the problem. Seems I had some illegal combinations in my config. Now it works, thank you. Marco. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
This will happen if you don''t enable the privileged domain option as well as physical device access. Cheers, Mark On Monday 11 April 2005 12:13, Marco Genise wrote:> Hi, > > when I try to compile a custom kernel 2.4.29 with option "Device driver > domain" enabled, I get following error during "make ARCH=xen": > > arch/xen/drivers/blkif/drv.o(.text+0x35e0): In function `blkif_connect'': > : undefined reference to `direct_remap_area_pages'' > > arch/xen/drivers/netif/drv.o(.text+0x1a95): In function `netif_connect'': > : undefined reference to `direct_remap_area_pages'' > > arch/xen/drivers/netif/drv.o(.text+0x1ad4): In function `netif_connect'': > : undefined reference to `direct_remap_area_pages'' > > When I disable the option compiling finishes without any problem. > > My domain0 kernel is version 2.6.11, other domains run with 2.6.11-xenU > without any privileged access. Current Xen version used is > xen-2.0-testing. Same error occured with xen-2.0.5-stable. Didn''t test > with xen-unstable right now. > > Anyone got a hint what the problem might be? > > Thanks in advance, > > Marco. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> This will happen if you don''t enable the privileged domain > option as well as physical device access.It would be good to add this as a dependency. Patches welcome :-) Thanks, Ian> On Monday 11 April 2005 12:13, Marco Genise wrote: > > Hi, > > > > when I try to compile a custom kernel 2.4.29 with option "Device > > driver domain" enabled, I get following error during "make > ARCH=xen": > > > > arch/xen/drivers/blkif/drv.o(.text+0x35e0): In function > `blkif_connect'': > > : undefined reference to `direct_remap_area_pages'' > > > > arch/xen/drivers/netif/drv.o(.text+0x1a95): In function > `netif_connect'': > > : undefined reference to `direct_remap_area_pages'' > > > > arch/xen/drivers/netif/drv.o(.text+0x1ad4): In function > `netif_connect'': > > : undefined reference to `direct_remap_area_pages'' > > > > When I disable the option compiling finishes without any problem. > > > > My domain0 kernel is version 2.6.11, other domains run with > > 2.6.11-xenU without any privileged access. Current Xen > version used is > > xen-2.0-testing. Same error occured with xen-2.0.5-stable. > Didn''t test > > with xen-unstable right now. > > > > Anyone got a hint what the problem might be? > > > > Thanks in advance, > > > > Marco. > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel