Re: How to compile Jeremy's dom0 pvops kernel (2.6.32.x) on Fedora 15

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 03, 2011 at 02:54:36PM +0200, Robin Axelsson wrote:
> On 2011-05-03 14:41, Pasi Kärkkäinen wrote:
>> On Tue, May 03, 2011 at 11:48:47AM +0200, Robin Axelsson wrote:
>>> On 2011-05-03 08:22, Pasi Kärkkäinen wrote:
>>>> On Tue, May 03, 2011 at 02:06:24AM +0200, Robin Axelsson wrote:
>>>>> Hi,
>>>>> I'm trying to compile Jeremy's paravirt_ops kernel on Fedora 15 using
>>>>> the following tutorial:
>>>>>
>>>>> http://wiki.xensource.com/xenwiki/Fedora13Xen4Tutorial
>>>>>
>>>>> but in the compilation process I get error messages that some .c and .h
>>>>> files are missing. I couldn't locate the packages that would house these
>>>>> files for Fedora 15 so I wonder how to compile it for F15.
>>>>>
>>>>> I want to use Jeremy's kernel because I need dom0 pciback drivers for
>>>>> using VGAPassthrough and PCIpassthrough.
>>>>>
>>>> Hello,
>>>>
>>>> Please paste the actual build errors..
>>>>
>>>> -- Pasi
>>>>
>>>> .
>>>>
>>> During compilation I see a lot of warnings: They are in pretty much
>>> every .../.../xyz.h file, the warnings are about variables that are set
>>> but not used. Perhaps this is normal. Then when things start to go
>>> haywire it begins with a couple of LDs on drivers/video/fb.o
>>> .../built-in.o and vmlinux.o followed by the command MODPOST that gives
>>> a warning that it found 10 section mismatches. It suggested that I
>>> should make with 'CONFIG_DEBUG_SECTION_MISMATCH=y' option/argument added.
>>>
>>> Then the final straw that breaks it all is when line 28 in
>>> Documentation/video4linux/v4lgrab.c refers to linux/videodev.h that
>>> doesn't exist which terminates the compilation.
>>>
>>> The cause of this seems to be that (according to an ubuntu bug report)
>>> the V4L1 API was removed in one of the Linux 2.6.38 pre-releases since
>>> v4l support has been dropped since kernel 2.6.35, and the
>>> <linux/videodev.h>  header doesn't exist. Perhaps it compiles
>>> mediastreamer2/src/msv4l.c if either V4L1 or V4L2 is detected, and that
>>> file unconditionally includes<linux/videodev.h>.
>>>
>>>
>>
>> Two suggestions:
>>
>> - Did you try my reference .config file?
>> - Do you have enough free disk space to build the kernel?
>>
>>
>> -- Pasi
>>
>>
>
> - If you by using reference config mean executing the following lines  
> (which are stated in the tutorial):
>
> # wget -O .config http://pasik.reaktio.net/xen/pv_ops-dom0-debug/config-2.6.32.25-pvops-dom0-xen-stable-x86_64
> # make oldconfig
> # make clean
> # make -j4 bzImage&&  make -j4 modules
>
> the answer is yes.
>

Ok.

> - Yes I have enough disk space for the kernel and I think it is quite evident from the error messages I supplied in my prior post that this is not the problem.
>

I asked because one of the errors looked like running out of disk space..

>>> unifdef: /home/xen_repo/linux-2.6-xen/usr/include/xen/privcmd.h.tmp: 79:
>>> Premature EOF (#if line 33 depth 1)
>>> unifdef: output may be truncated

-- Pasi

--
xen mailing list
xen@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/xen



[Index of Archives]     [Fedora General]     [Fedora Music]     [Linux Kernel]     [Fedora Desktop]     [Fedora Directory]     [PAM]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux