Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Dear Xen developers,
I am using Xen paravirt-operations domain 0 kernels 2.6.30-rc3 and 2.6.31-rc6 cloned from Jeremy Fitzhardinge's kernel git tree.
I am trying to compile the nouveau open source drivers for NVIDIA graphics cards.
I am following the nouveau kernel module build instructions at http://nouveau.freedesktop.org/wiki/InstallDRM
Specifically, I am following Section
3.2. Alt: Rebuilding your existing kernel with new DRM and Nouveau parts
in the nouveau kernel module build instructions.
However, when I am compiling the kernel and kernel modules (using make), it encountered an error with the translation-table map (TTM) GPU video memory management driver.
*** How can I exclude TTM from being built? ***
pv-ops kernel 2.6.30-rc3:-
In file included from /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/agp.h:8,
from drivers/gpu/drm/ttm/ttm_agp_backend.c:39:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'get_dma_ops':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:29: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:32: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_mapping_error':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:40: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:41: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_map_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:64: error: implicit declaration of function 'valid_dma_direction' /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:65: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_unmap_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:81: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:82: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_map_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:99: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_unmap_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:113: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:114: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:124: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:125: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:137: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:138: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146: error: parameter 5 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_range_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:151: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:152: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162: error: parameter 5 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_range_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:167: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:168: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_sg_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:182: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:183: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_sg_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:195: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:196: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204: error: parameter 5 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_map_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:211: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_unmap_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:223: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:224: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:247: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:249: error: implicit declaration of function 'DMA_BIT_MASK' /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:284: error: implicit declaration of function 'is_device_dma_capable' /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:287: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:290: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_free_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:308: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:309: error: dereferencing pointer to incomplete type drivers/gpu/drm/ttm/ttm_agp_backend.c: In function 'ttm_agp_populate':drivers/gpu/drm/ttm/ttm_agp_backend.c:66: error: 'struct agp_memory' has no member named 'pages'
make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
pv-ops kernel 2.6.31-rc6:-
In file included from /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/agp.h:8,
from drivers/gpu/drm/ttm/ttm_agp_backend.c:39:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_mapping_error':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:42: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:43: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60: warning: 'enum dma_data_direction' declared inside parameter list /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60: error: parameter 4 ('dir') has incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:77: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:79: error: implicit declaration of function 'DMA_BIT_MASK' /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:114: error: implicit declaration of function 'is_device_dma_capable' /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:117: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:120: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_free_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:138: error: dereferencing pointer to incomplete type /usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:139: error: dereferencing pointer to incomplete type make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I would like to exclude TTM from being compiled. May I know which build scripts do I modify?
I tried renaming drivers/gpu/ttm to drivers/gpu/ttm_orig in the kernel souces but it doesn't work. scripts/Makefile.build:44: /usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile: No such file or directory make[4]: *** No rule to make target `/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile'. Stop. make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
It simply complains that ttm directory cannot be found and Makefile in ttm dir does not exist. This is of course due to me renaming the ttm directory in the kernel sources. I want to prevent ttm from being built.
Thank you very much.
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 24 lines · Mr. Teo En Ming (Zhang Enming)
Dear Xen developers,
I am using Xen paravirt-operations domain 0 kernels 2.6.30-rc3 and 2.6.31-rc6 cloned from Jeremy Fitzhardinge's kernel git tree.
I am trying to compile the nouveau open source drivers for NVIDIA graphics cards.
I am following the nouveau kernel module build instructions at
http://nouveau.freedesktop.org/wiki/InstallDRMSpecifically, I am following Section
3.2. Alt: Rebuilding your existing kernel with new DRM and Nouveau parts
in the nouveau kernel module build instructions.
However, when I am compiling the kernel and kernel modules (using make), it encountered an error with the translation-table map (TTM) GPU video memory management driver.
Quoted 9 lines
*** How can I exclude TTM from being built? ***
It simply complains that ttm directory cannot be found and
Makefilein ttm dir does not exist. This is of course due to me renaming the ttm directory in the kernel sources. I want to prevent ttm from being built.Thank you very much.
Did you verify it compiles and works with standard (non dom0 patched) 2.6.31-rc6 kernel?
If it does, then this problem is not Xen/dom0 related at all..
-- Pasi
Dear Pasi,
I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 3 lines · Pasi Kärkkäinen
Did you verify it compiles and works with standard (non dom0 patched) 2.6.31-rc6 kernel?
If it does, then this problem is not Xen/dom0 related at all
Dear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 4 lines · Mr. Teo En Ming (Zhang Enming)
Dear Pasi,
I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
Quoted 2 lines
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 8:31 AM
Dear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 4 lines · Mr. Teo En Ming (Zhang Enming)
Dear Pasi,
I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 56 lines · Boris Derzhavets
Quoted 1 line
Do I need to request nouveau and tungsten developers to make ttm and
nouveau
Quoted 1 line
code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /<[email protected]>/* wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 8:31 AMDear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected] </mc/[email protected]> Alma Maters: Singapore Polytechnic, National University of SingaporeOn 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
>
Quoted 7 lines
_______________________________________________
Xen-devel mailing list [email protected] </mc/[email protected]>
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
I might give Driver "intel" a try in xorg.conf. Let me reboot to Intel GMA4500 first.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 8 lines · Mr. Teo En Ming (Zhang Enming)
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
Quoted 93 lines
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN:[email protected] Alma Maters: Singapore Polytechnic, National University of SingaporeQuoted 56 lines · Boris Derzhavets
Quoted 1 line
Do I need to request nouveau and tungsten developers to make ttm
and nouveau
Quoted 1 line
code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /<[email protected]>/* wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 8:31 AMDear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected] </mc/[email protected]> Alma Maters: Singapore Polytechnic, National University of SingaporeOn 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
>Quoted 7 lines
_______________________________________________
Xen-devel mailing list [email protected] </mc/[email protected]>
http://lists.xensource.com/xen-devel------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
All what i do on F11:-
# yum install vncserver
Then put in /etc/rc.local
export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16
Reboot Xen Host and connect remotely via vncviewer , using local X-server and GDM on Xen Host. KDM fails to with Xen.
There was one feed from Ian Campbell regarding Nvidia support by pvops kernel, followed by Jeremy Fitzhardinge notice. :(
Do you remember that ?
Boris.P.S. GeForce 8500 GT installed on my box.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected], [email protected]
Date: Saturday, August 22, 2009, 8:57 AM
I might give Driver "intel" a try in xorg.conf. Let me reboot to Intel GMA4500 first.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
On 08/22/2009 08:44 PM, Boris Derzhavets wrote:
> Do I need to request nouveau and tungsten developers
to make ttm and nouveau
Quoted 1 line
code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Date: Saturday, August 22, 2009, 8:31 AM
Dear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 5 lines · Mr. Teo En Ming (Zhang Enming)
Dear Pasi,
I am now trying to compile ttm and nouveau against stock vanilla
2.6..31-rc6 kernel with-out dom 0 patch.
Quoted 1 line
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Nope. What is the link?
Regards,
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
_____
From: Boris Derzhavets [mailto:[email protected]]
Sent: Saturday, August 22, 2009 9:23 PM
To: [email protected]
Cc: [email protected]
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
All what i do on F11:-
# yum install vncserver
Then put in /etc/rc.local
export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16
Reboot Xen Host and connect remotely via vncviewer , using local X-server and GDM on Xen Host. KDM fails to with Xen.
There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(
Do you remember that ?
Boris.P.S. GeForce 8500 GT installed on my box. --- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected], [email protected]
Date: Saturday, August 22, 2009, 8:57 AM
I might give Driver "intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first.
Signature · 29 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6.30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
Signature · 29 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 1 line · Boris Derzhavets
Do I need to request nouveau and tungsten developers to make ttm and
nouveau
Quoted 1 line
code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 8:31 AM
Dear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 3 lines · Mr. Teo En Ming (Zhang Enming)
Dear Pasi,
I am now trying to compile ttm and nouveau against stock vanilla
2.6.31-rc6 kernel with-out dom 0 patch.
Quoted 1 line
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_____
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date: 08/20/09 18:06:00
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
I don't have it.
I am not expecting PVOPS kernel to have Nvidia support in a foreseeable future. B.
--- On Sat, 8/22/09, Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Teo En Ming (Zhang Enming) <[email protected]>
Subject: RE: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 9:52 AM
Nope. What is the link?
Regards,
Mr. Teo En Ming (Zhang Enming)
Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines
Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
From: Boris Derzhavets
[mailto: [email protected] ]
Sent: Saturday, August 22, 2009
9:23 PM
Subject: Re: [Xen-devel] Compiling
nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
All what i do on F11:-
# yum install vncserver
Then put in /etc/rc.local
export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16
Reboot Xen Host and connect remotely via vncviewer , using local X-server and GDM on Xen Host. KDM fails to with Xen.
There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(
Do you remember that ?
Boris.
P.S. GeForce 8500 GT installed on my box.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang
Enming) < [email protected] >
wrote:
From: Mr. Teo En Ming (Zhang Enming) < [email protected] >
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Cc: [email protected] ,
[email protected]
Date: Saturday, August 22, 2009, 8:57 AM
I might give Driver
"intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first. --
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic,
National University of
Singapore
On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server
when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic,
National University of
Singapore
Quoted 1 line · Boris Derzhavets
Do I need to request nouveau and tungsten
developers to make ttm and nouveau
> code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On Sat, 8/22/09, Mr. Teo En Ming
(Zhang Enming) <[email protected]>
wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Date: Saturday, August 22, 2009, 8:31 AM
Dear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines
Plaza
Singapore
529541
Republic of
Singapore
Mobile :
+65-9648-9798
MSN: [email protected]
Alma Maters: Singapore
Polytechnic, National
University of
Singapore
On 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla
2.6.31-rc6 kernel with-out dom 0 patch.
>
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel _______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
No
virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date: 08/20/09 18:06:00
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
OMG! OMG! OMG! I have solved the problem with Xorg X server (GUI) not previously working under Xen pv-ops dom 0 kernels.
Here is what I did:
A. Booted computer using NVIDIA card
1. nvidia-installer --uninstall
2. yum groupremove "X Window System"
3. yum groupinstall "X Window System"
4. Xorg -configure
5. mv /root/xorg.conf.new /etc/X11/xorg.conf-nv
6. Make sure xorg.conf-nv contains "Driver 'nv'"
7. cd /etc/X11; ln -s xorg.conf-nv xorg.conf
8. Check X server is started successfully
B. Reboot computer using integrated Intel GMA 4500 graphics on Intel DQ45CB
1. Xorg -configure
2. vi /root/xorg.conf.new
3. Remove all sections related to nv inside
xorg.conf.new, leaving only intel
4. cp /root/xorg.conf.new /etc/X11/xorg.conf-intel
5. cd /etc/X11; ln -s xorg.conf-intel xorg.conf
6. Start X server. This causes garbage GUI output.
7. Add nomodeset kernel parameter to /boot/grub/grub.conf. Reboot again.
8. Start X server. GNOME desktop environment appears. SUCCESS! No garbage GUI output!
The solution to getting X server (Graphical User Interface) work under a Xen paravirt-operations domain 0 kernel is not to use NVIDIA cards. Since it is clearly impossible to get official NVIDIA drivers and open source nouveau drivers to work with Jeremy Fitzhardinge's paravirt ops dom 0 kernels. And also Jeremy's git tree does not have nouveau sources either.
Hence, instead of using NVIDIA graphics cards with Xen pv_ops dom 0 kernels, use Intel GMA 4500 to get graphical displays (I am using Intel Desktop Board DQ45CB).
Congratulate me on my success!!!
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 242 lines · Boris Derzhavets
I don't have it.
I am not expecting PVOPS kernel to have Nvidia support in a foreseeable future. B.--- On *Sat, 8/22/09, Teo En Ming (Zhang Enming)
/<[email protected]>/* wrote:From: Teo En Ming (Zhang Enming) <[email protected]>
Subject: RE: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 9:52 AMNope. What is the link?
Regards,
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]------------------------------------------------------------------------
*From:* Boris Derzhavets [mailto: [email protected] ] *Sent:* Saturday, August 22, 2009 9:23 PM
*To:* [email protected]
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernelAll what i do on F11:-
# yum install vncserver
Then put in
/etc/rc.localexport HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16Reboot Xen Host and connect remotely via vncviewer , using local X-server and GDM on Xen Host. KDM fails to with Xen.
There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(Do you remember that ?
Boris.
P.S. GeForce 8500 GT installed on my box.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /< [email protected] >/* wrote:From: Mr. Teo En Ming (Zhang Enming) < [email protected] >
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected] , [email protected]
Date: Saturday, August 22, 2009, 8:57 AMI might give Driver "intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
SingaporeMobile : +65-9648-9798
Alma Maters: Singapore Polytechnic,
National University of
SingaporeOn 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
SingaporeMobile : +65-9648-9798
Alma Maters: Singapore Polytechnic,
National University of
SingaporeOn 08/22/2009 08:44 PM, Boris Derzhavets wrote:
> Do I need to request nouveau and tungsten developers to make ttm and nouveau
> code Xen pvops dom 0 aware?Why would you expect them to take care of Xen pvops ?
Boris.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /<[email protected]>/* wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 8:31 AMDear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of SingaporeOn 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date:
08/20/09 18:06:00
Quoted 9 lines
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list [email protected] </mc/[email protected]>
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Just one question. If i would remove GeForce Video Card and enable integrated Intel
GMA 4500 in BIOS . Then load system and tune xorg.conf to work with Intel GMA .
I suspect pvops kernel to work OK due to presence of driver for Intel GMA 4500. Hence X-Server will come up properly. This story seems to be about presence of Intel Video Chip driver in the pvops kernel
and nothing else. So, with ASUS P5Q-E i have to look for video card with driver already
implemented in 2.6.31-rc6.
Please, advise if i am wrong about that.
Boris.
--- On Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 2:56 PM
OMG! OMG! OMG! I have solved the problem with Xorg X server (GUI) not previously working under Xen pv-ops dom 0 kernels.
Here is what I did:
A. Booted computer using NVIDIA card
1. nvidia-installer --uninstall
2. yum groupremove "X Window System"
3. yum groupinstall "X Window System"
4. Xorg -configure
5. mv /root/xorg.conf.new /etc/X11/xorg.conf-nv
6. Make sure xorg.conf-nv contains "Driver 'nv'"
7. cd /etc/X11; ln -s xorg.conf-nv xorg.conf
8. Check X server is started successfully
B. Reboot computer using integrated Intel GMA 4500 graphics on Intel DQ45CB
1. Xorg -configure
2. vi /root/xorg.conf.new
3. Remove all sections related to nv inside
xorg.conf.new, leaving only intel
4. cp /root/xorg.conf.new /etc/X11/xorg.conf-intel
5. cd /etc/X11; ln -s xorg.conf-intel xorg.conf
6. Start X server. This causes garbage GUI output.
7. Add nomodeset kernel parameter to /boot/grub/grub.conf. Reboot again.
8. Start X server. GNOME desktop environment appears. SUCCESS! No garbage GUI output!
The solution to getting X server (Graphical User Interface) work under a Xen paravirt-operations domain 0 kernel is not to use NVIDIA cards. Since it is clearly impossible to get official NVIDIA drivers and open source nouveau drivers to work with Jeremy Fitzhardinge's paravirt ops dom 0 kernels. And also Jeremy's git tree does not have nouveau sources either.
Hence, instead of using NVIDIA graphics cards with Xen pv_ops dom 0 kernels, use Intel GMA 4500 to get graphical displays (I am using Intel Desktop Board DQ45CB).
Congratulate me on my success!!!
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
On 08/22/2009 10:22 PM, Boris Derzhavets wrote:
I don't have it.
I am not expecting PVOPS kernel to have Nvidia support in a foreseeable future.
B.
--- On Sat, 8/22/09, Teo En Ming (Zhang Enming) <[email protected]> wrote:
From: Teo En Ming (Zhang Enming) <[email protected]>
Subject: RE: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Date: Saturday, August 22, 2009, 9:52 AM
Nope. What
is the link?
Regards,
Mr. Teo En Ming
(Zhang Enming)
Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support
Engineer
Information
Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]
From: Boris Derzhavets
[mailto: [email protected] ]
Sent:
Saturday, August 22, 2009
9:23 PM
To:
Cc:
Subject: Re:
[Xen-devel] Compiling
nouveau open source nvidia graphics card drivers for Xen paravirt-operations
domain 0 kernel
All what i do on F11:-
# yum install vncserver
Then put in /etc/rc.local
export HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16
Reboot Xen Host and connect remotely via vncviewer , using local X-server and GDM on Xen Host. KDM fails to with Xen.
There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(
Do you remember that ?
Boris.
P.S. GeForce 8500 GT installed on my box.
--- On Sat, 8/22/09, Mr. Teo En
Ming (Zhang Enming) <
[email protected] > wrote:
From: Mr. Teo En Ming (Zhang Enming) < [email protected]
Quoted 1 line
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Date: Saturday, August 22, 2009, 8:57 AM
I might
give Driver "intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic,
National University of
Singapore
On 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6...30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic,
National University of
Singapore
On 08/22/2009 08:44 PM, Boris Derzhavets wrote:
> Do I need to
request nouveau and tungsten developers to make ttm and nouveau
Quoted 1 line
code Xen pvops dom 0 aware?
Why would you expect them to take care of Xen pvops ?
Boris.
--- On Sat, 8/22/09, Mr. Teo En
Ming (Zhang Enming) <[email protected]>
wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
Date: Saturday, August 22, 2009, 8:31 AM
Dear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 5 lines · Mr. Teo En Ming (Zhang Enming)
Dear Pasi,
I am now trying to compile ttm and nouveau against stock vanilla
2.6..31-rc6 kernel with-out dom 0 patch.
Quoted 1 line
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
No
virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date:
08/20/09
18:06:00
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Dear Boris,
You do not have to remove nvidia geforce video card from the PCI Express x16 slot at all. Just go to BIOS and set Primary Video Graphics Adaptor to Intel GMA 4500 IGD. When you boot up, just do a Xorg -configure and remove all sections in xorg.conf.new related to nvidia. Then copy xorg.conf.new to /etc/X11/xorg.conf and startx.
In Xen pv-ops dom 0 kernel, the kernel module that will be loaded for Intel GMA 4500 is the i915.ko kernel module.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 359 lines · Boris Derzhavets
Just one question. If i would remove GeForce Video Card and enable
integrated Intel
GMA 4500 in BIOS . Then load system and tune xorg.conf to work with Intel GMA .
I suspect pvops kernel to work OK due to presence of driver for
Intel GMA 4500. Hence X-Server will come up properly.
This story seems to be about presence of Intel Video Chip driver in
the pvops kernel
and nothing else. So, with ASUS P5Q-E i have to look for video card with driver already implemented in 2.6.31-rc6.Please, advise if i am wrong about that.
Boris.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /<[email protected]>/* wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 2:56 PMOMG! OMG! OMG! I have solved the problem with Xorg X server (GUI) not previously working under Xen pv-ops dom 0 kernels.
Here is what I did:
A. Booted computer using NVIDIA card
1. nvidia-installer --uninstall
2. yum groupremove "X Window System"
3. yum groupinstall "X Window System"
4. Xorg -configure
5. mv
/root/xorg.conf.new/etc/X11/xorg.conf-nv6. Make sure xorg.conf-nv contains "Driver 'nv'"
7. cd
/etc/X11; ln -s xorg.conf-nv xorg.conf8. Check X server is started successfully
B. Reboot computer using integrated Intel GMA 4500 graphics on Intel DQ45CB
1. Xorg -configure
2. vi
/root/xorg.conf.new3. Remove all sections related to nv inside
xorg.conf.new, leaving only intel4. cp
/root/xorg.conf.new/etc/X11/xorg.conf-intel5. cd
/etc/X11; ln -s xorg.conf-intel xorg.conf6. Start X server. This causes
garbage GUI output.7. Add nomodeset kernel parameter to
/boot/grub/grub.conf. Reboot again.8. Start X server. GNOME desktop environment appears. SUCCESS! No garbage GUI output!
The solution to getting X server (Graphical User Interface) work under a Xen paravirt-operations domain 0 kernel is not to use NVIDIA cards. Since it is clearly impossible to get official NVIDIA drivers and open source nouveau drivers to work with Jeremy Fitzhardinge's paravirt ops dom 0 kernels. And also Jeremy's git tree does not have nouveau sources either.
Hence, instead of using NVIDIA graphics cards with Xen
pv_opsdom 0 kernels, use Intel GMA 4500 to get graphical displays (I am using Intel Desktop Board DQ45CB).Congratulate me on my success!!!
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer
Information Technology
Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN:[email protected]
Alma Maters: Singapore Polytechnic, National University of SingaporeQuoted 248 lines · Boris Derzhavets
I don't have it.
I am not expecting PVOPS kernel to have Nvidia support in a foreseeable future.
B.--- On *Sat, 8/22/09, Teo En Ming (Zhang Enming) /<[email protected]>/* wrote:
From: Teo En Ming (Zhang Enming) <[email protected]>
Subject: RE: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 9:52 AMNope. What is the link?
Regards,
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541Republic of Singapore
Mobile: +65-9648-9798
MSN: [email protected]------------------------------------------------------------------------
*From:* Boris Derzhavets [mailto: [email protected] ] *Sent:* Saturday, August 22, 2009 9:23 PM
*To:* [email protected]
*Cc:* [email protected]
*Subject:* Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernelAll what i do on F11:-
# yum install vncserver
Then put in
/etc/rc.localexport HOME=/root
vncserver :1 -geometry 1280x1024 -depth 16Reboot Xen Host and connect remotely via vncviewer , using local X-server and GDM on Xen Host. KDM fails to with Xen.
There was one feed from Ian Campbell regarding Nvidia support by pvops kernel,
followed by Jeremy Fitzhardinge notice. :(Do you remember that ?
Boris.
P.S. GeForce 8500 GT installed on my box.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /< [email protected] >/* wrote:From: Mr. Teo En Ming (Zhang Enming) < [email protected] >
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected] , [email protected]
Date: Saturday, August 22, 2009, 8:57 AMI might give Driver "intel" a try in xorg.conf.. Let me reboot to Intel GMA4500 first.
--
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
SingaporeMobile : +65-9648-9798
Alma Maters: Singapore Polytechnic,
National University of
SingaporeOn 08/22/2009 08:53 PM, Mr. Teo En Ming (Zhang Enming) wrote:
Dear Boris,
Could you get X.org X server to work with Xen pv-ops dom 0 kernels 2.6..30-rc3 and 2.6.31-rc6 under Fedora 11 64-bit?
There is no nouveau driver for jeremy's dom 0 kernel. And when I tried to compiled nouveau against Jeremy's kernel, it would not work.
Although I could compile and install official nvidia drivers against Jeremy's kernel, X server will hang and freeze.
So I tried to use driver "nv" and "vesa" for X server when I booted Jeremy's kernel. But X still would not work and give me a backtrace.
All this is when I am using NVIDIA Geforce 8400 GS PCI Express x16.
If I switch over to using onboard integrated graphics Intel GMA 4500, is it supported under Jeremy Fitzhardinge's pvops dom 0 kernel? What driver can I use in xorg.conf?
Thank you.
--
Mr.. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of
SingaporeMobile : +65-9648-9798
Alma Maters: Singapore Polytechnic,
National University of
SingaporeOn 08/22/2009 08:44 PM, Boris Derzhavets wrote:
> Do I need to request nouveau and tungsten developers to make ttm and nouveau
> code Xen pvops dom 0 aware?Why would you expect them to take care of Xen pvops ?
Boris.
--- On *Sat, 8/22/09, Mr. Teo En Ming (Zhang Enming) /<[email protected]>/* wrote:
From: Mr. Teo En Ming (Zhang Enming) <[email protected]>
Subject: Re: [Xen-devel] Compiling nouveau open source nvidia graphics card drivers for Xen paravirt-operations domain 0 kernel
To: [email protected]
Cc: [email protected]
Date: Saturday, August 22, 2009, 8:31 AMDear Pasi,
I have compiled ttm and nouveau successfully against the stock/vanilla 2.6.31-rc6 kernel WITHOUT Xen paravirt-ops Domain 0 patch.
So it seems that nouveau could not be compiled against Xen pv-ops dom 0 kernel and could not work with it.
Do I need to request nouveau and tungsten developers to make ttm and nouveau code Xen pvops dom 0 aware?
-- Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza Singapore 529541
Republic of Singapore
Mobile : +65-9648-9798
MSN: [email protected]
Alma Maters: Singapore Polytechnic, National University of SingaporeOn 08/22/2009 07:43 PM, Mr. Teo En Ming (Zhang Enming) wrote:
> Dear Pasi,
>
> I am now trying to compile ttm and nouveau against stock vanilla 2.6.31-rc6 kernel with-out dom 0 patch.
>_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
http://lists.xensource.com/xen-devel <http://lists.xensource..com/xen-devel>
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release
Date: 08/20/09 18:06:00Quoted 8 lines
-----Inline Attachment Follows-----
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel-----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list [email protected] </mc/[email protected]> http://lists.xensource.com/xen-devel
Quoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Dear Xen developers,
Just now in my earlier email, I renamed drivers/gpu/drm/ttm to drivers/gpu/drm/ttm_orig.
However, I forgot to rename include/drm/ttm to include/drm/ttm_orig. Hence the build process complains Makefile in ttm is not found.
Now, I have renamed include/drm/ttm to include/drm/ttm_orig. I have successfully excluded TTM from being built.
But now I get compile errors with nouveau drivers.
pv-ops dom 0 kernel 2.6.30-rc3:
In file included from drivers/gpu/drm/nouveau/nouveau_drv.c:30:drivers/gpu/drm/nouveau/nouveau_drv.h:67: error: field 'bo' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h:68: error: field 'kmap' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo':drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: type defaults to 'int' in declaration of '__mptr' drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: initialization from incompatible pointer type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nvbo_kmap_obj_iovirtual':drivers/gpu/drm/nouveau/nouveau_drv.h:103: error: implicit declaration of function 'ttm_kmap_obj_virtual' drivers/gpu/drm/nouveau/nouveau_drv.h:104: warning: cast to pointer from integer of different size drivers/gpu/drm/nouveau/nouveau_drv.h: At top level:drivers/gpu/drm/nouveau/nouveau_drv.h:482: error: field 'mem_global_ref' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h:483: error: field 'bo_global_ref' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h:484: error: field 'bdev' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bdev':drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: type defaults to 'int' in declaration of '__mptr' drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: initialization from incompatible pointer type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo_ref':drivers/gpu/drm/nouveau/nouveau_drv.h:589: error: implicit declaration of function 'ttm_bo_reference' drivers/gpu/drm/nouveau/nouveau_drv.h:589: warning: passing argument 1 of 'nouveau_bo' makes pointer from integer without a cast drivers/gpu/drm/nouveau/nouveau_drv.h:87: note: expected 'struct ttm_buffer_object *' but argument is of type 'int' drivers/gpu/drm/nouveau/nouveau_drv.h:593: error: implicit declaration of function 'ttm_bo_unref' drivers/gpu/drm/nouveau/nouveau_drv.c: In function 'nouveau_pci_suspend':drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: implicit declaration of function 'ttm_bo_evict_mm' drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: 'TTM_PL_VRAM' undeclared (first use in this function) drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: (Each undeclared identifier is reported only once drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: for each function it appears in.)
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_drv.o] Error 1
make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
pv-ops dom 0 kernel 2.6.31-rc6:
In file included from drivers/gpu/drm/nouveau/nouveau_drv.c:30:drivers/gpu/drm/nouveau/nouveau_drv.h:67: error: field 'bo' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h:68: error: field 'kmap' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo':drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: type defaults to 'int' in declaration of '__mptr' drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: initialization from incompatible pointer type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nvbo_kmap_obj_iovirtual':drivers/gpu/drm/nouveau/nouveau_drv.h:103: error: implicit declaration of function 'ttm_kmap_obj_virtual' drivers/gpu/drm/nouveau/nouveau_drv.h:104: warning: cast to pointer from integer of different size drivers/gpu/drm/nouveau/nouveau_drv.h: At top level:drivers/gpu/drm/nouveau/nouveau_drv.h:482: error: field 'mem_global_ref' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h:483: error: field 'bo_global_ref' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h:484: error: field 'bdev' has incomplete type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bdev':drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: type defaults to 'int' in declaration of '__mptr' drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: initialization from incompatible pointer type drivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo_ref':drivers/gpu/drm/nouveau/nouveau_drv.h:589: error: implicit declaration of function 'ttm_bo_reference' drivers/gpu/drm/nouveau/nouveau_drv.h:589: warning: passing argument 1 of 'nouveau_bo' makes pointer from integer without a cast drivers/gpu/drm/nouveau/nouveau_drv.h:87: note: expected 'struct ttm_buffer_object *' but argument is of type 'int' drivers/gpu/drm/nouveau/nouveau_drv.h:593: error: implicit declaration of function 'ttm_bo_unref' drivers/gpu/drm/nouveau/nouveau_drv.c: In function 'nouveau_pci_suspend':drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: implicit declaration of function 'ttm_bo_evict_mm' drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: 'TTM_PL_VRAM' undeclared (first use in this function) drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: (Each undeclared identifier is reported only once drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: for each function it appears in.)
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_drv.o] Error 1
make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
From the error messages above, it appears that nouveau drivers depended on TTM GPU video memory management driver code. Hence, I cannot exclude TTM from being compiled.
But I get TTM build errors. And hence my nouveau drivers cannot be compiled, since it depended on TTM for graphics processor video memory management.
How can I resolve this? Is it possible that nouveau display drivers are not compatible with Xen paravirt-ops dom 0 kernels just like official NVIDIA display drivers?
If this is the case, I would have to change my graphics card to one which is supported under pv_ops kernel. I had chosen NVIDIA on first instinct because it historically supports Linux.
I would like to keep my NVIDIA card, so are there any patches for ttm code?
Thank you.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 174 lines · Mr. Teo En Ming (Zhang Enming)
Dear Xen developers,
I am using Xen paravirt-operations domain 0 kernels 2.6.30-rc3 and 2.6.31-rc6 cloned from Jeremy Fitzhardinge's kernel git tree.
I am trying to compile the nouveau open source drivers for NVIDIA graphics cards.
I am following the nouveau kernel module build instructions at http://nouveau.freedesktop.org/wiki/InstallDRM
Specifically, I am following Section
3.2. Alt: Rebuilding your existing kernel with new DRM and Nouveau parts
in the nouveau kernel module build instructions.
However, when I am compiling the kernel and kernel modules (using make), it encountered an error with the translation-table map (TTM) GPU video memory management driver.
*** How can I exclude TTM from being built? ***
pv-ops kernel 2.6.30-rc3:-
In file included from
/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/agp.h:8,
fromdrivers/gpu/drm/ttm/ttm_agp_backend.c:39:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'get_dma_ops':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:29: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:32: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_mapping_error':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:40: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:41: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_map_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:64: error: implicit declaration of function 'valid_dma_direction'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:65: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_unmap_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:81: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:82: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_map_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:99: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_unmap_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:113: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:114: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:124: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:125: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:137: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:138: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146: error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_range_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:151: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:152: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162: error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_single_range_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:167: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:168: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_sg_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:182: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:183: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_sync_sg_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:195: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:196: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204: error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_map_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:211: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_unmap_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:223: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:224: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:247: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:249: error: implicit declaration of function 'DMA_BIT_MASK'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:284: error: implicit declaration of function 'is_device_dma_capable'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:287: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:290: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h: In function 'dma_free_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:308: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:309: error: dereferencing pointer to incomplete typedrivers/gpu/drm/ttm/ttm_agp_backend.c: In function 'ttm_agp_populate':drivers/gpu/drm/ttm/ttm_agp_backend.c:66: error: 'structagp_memory' has no member named 'pages'
make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2pv-ops kernel 2.6.31-rc6:-
In file included from
/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/agp.h:8,
fromdrivers/gpu/drm/ttm/ttm_agp_backend.c:39:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_mapping_error':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:42: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:43: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: At top level:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60: warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60: error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:77: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:79: error: implicit declaration of function 'DMA_BIT_MASK'/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_alloc_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:114: error: implicit declaration of function 'is_device_dma_capable'/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:117: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:120: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h: In function 'dma_free_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:138: error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:139: error: dereferencing pointer to incomplete type make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2I would like to exclude TTM from being compiled. May I know which build scripts do I modify?
I tried renaming
drivers/gpu/ttmtodrivers/gpu/ttm_origin the kernel souces but it doesn't work.scripts/Makefile.build:44:/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile: No such file or directory make[4]: *** No rule to make target `/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile'. Stop. make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2It simply complains that ttm directory cannot be found and
Makefilein ttm dir does not exist. This is of course due to me renaming the ttm directory in the kernel sources. I want to prevent ttm from being built.Thank you very much.
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN:[email protected]
Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 11 lines · Mr. Teo En Ming (Zhang Enming)
Dear Xen developers,
Just now in my earlier email, I renamed
drivers/gpu/drm/ttmtodrivers/gpu/drm/ttm_orig.However, I forgot to rename
include/drm/ttmtoinclude/drm/ttm_orig. Hence the build process complainsMakefilein ttm is not found.Now, I have renamed
include/drm/ttmtoinclude/drm/ttm_orig. I have successfully excluded TTM from being built.
Uhm.. it looks like that nouveau driver _requires_ TTM.
-- Pasi
Quoted 460 lines
But now I get compile errors with nouveau drivers.
pv-ops dom 0 kernel 2.6.30-rc3:
In file included from
drivers/gpu/drm/nouveau/nouveau_drv.c:30:drivers/gpu/drm/nouveau/nouveau_drv.h:67: error: field 'bo' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:68: error: field 'kmap' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo':drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nvbo_kmap_obj_iovirtual':drivers/gpu/drm/nouveau/nouveau_drv.h:103: error: implicit declaration of function 'ttm_kmap_obj_virtual'drivers/gpu/drm/nouveau/nouveau_drv.h:104: warning: cast to pointer from integer of different sizedrivers/gpu/drm/nouveau/nouveau_drv.h: At top level:drivers/gpu/drm/nouveau/nouveau_drv.h:482: error: field 'mem_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:483: error: field 'bo_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:484: error: field 'bdev' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bdev':drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo_ref':drivers/gpu/drm/nouveau/nouveau_drv.h:589: error: implicit declaration of function 'ttm_bo_reference'drivers/gpu/drm/nouveau/nouveau_drv.h:589: warning: passing argument 1 of 'nouveau_bo' makes pointer from integer without a castdrivers/gpu/drm/nouveau/nouveau_drv.h:87: note: expected 'structttm_buffer_object*' but argument is of type 'int'drivers/gpu/drm/nouveau/nouveau_drv.h:593: error: implicit declaration of function 'ttm_bo_unref'drivers/gpu/drm/nouveau/nouveau_drv.c: In function 'nouveau_pci_suspend':drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: implicit declaration of function 'ttm_bo_evict_mm'drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: 'TTM_PL_VRAM' undeclared (first use in this function)drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: (Each undeclared identifier is reported only oncedrivers/gpu/drm/nouveau/nouveau_drv.c:116: error: for each function it appears in.)
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_drv.o] Error 1 make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2pv-ops dom 0 kernel 2.6.31-rc6:
In file included from
drivers/gpu/drm/nouveau/nouveau_drv.c:30:drivers/gpu/drm/nouveau/nouveau_drv.h:67: error: field 'bo' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:68: error: field 'kmap' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo':drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nvbo_kmap_obj_iovirtual':drivers/gpu/drm/nouveau/nouveau_drv.h:103: error: implicit declaration of function 'ttm_kmap_obj_virtual'drivers/gpu/drm/nouveau/nouveau_drv.h:104: warning: cast to pointer from integer of different sizedrivers/gpu/drm/nouveau/nouveau_drv.h: At top level:drivers/gpu/drm/nouveau/nouveau_drv.h:482: error: field 'mem_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:483: error: field 'bo_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:484: error: field 'bdev' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bdev':drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo_ref':drivers/gpu/drm/nouveau/nouveau_drv.h:589: error: implicit declaration of function 'ttm_bo_reference'drivers/gpu/drm/nouveau/nouveau_drv.h:589: warning: passing argument 1 of 'nouveau_bo' makes pointer from integer without a castdrivers/gpu/drm/nouveau/nouveau_drv.h:87: note: expected 'structttm_buffer_object*' but argument is of type 'int'drivers/gpu/drm/nouveau/nouveau_drv.h:593: error: implicit declaration of function 'ttm_bo_unref'drivers/gpu/drm/nouveau/nouveau_drv.c: In function 'nouveau_pci_suspend':drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: implicit declaration of function 'ttm_bo_evict_mm'drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: 'TTM_PL_VRAM' undeclared (first use in this function)drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: (Each undeclared identifier is reported only oncedrivers/gpu/drm/nouveau/nouveau_drv.c:116: error: for each function it appears in.)
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_drv.o] Error 1 make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2From the error messages above, it appears that nouveau drivers depended on TTM GPU video memory management driver code. Hence, I cannot exclude TTM from being compiled.
But I get TTM build errors. And hence my nouveau drivers cannot be compiled, since it depended on TTM for graphics processor video memory management.
How can I resolve this? Is it possible that nouveau display drivers are not compatible with Xen paravirt-ops dom 0 kernels just like official NVIDIA display drivers?
If this is the case, I would have to change my graphics card to one which is supported under
pv_opskernel. I had chosen NVIDIA on first instinct because it historically supports Linux.I would like to keep my NVIDIA card, so are there any patches for ttm code?
Thank you.
Signature · 11 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of SingaporeQuoted 296 lines · Mr. Teo En Ming (Zhang Enming)
Dear Xen developers,
I am using Xen paravirt-operations domain 0 kernels 2.6.30-rc3 and 2.6.31-rc6 cloned from Jeremy Fitzhardinge's kernel git tree.
I am trying to compile the nouveau open source drivers for NVIDIA graphics cards.
I am following the nouveau kernel module build instructions at
http://nouveau.freedesktop.org/wiki/InstallDRMSpecifically, I am following Section
3.2. Alt: Rebuilding your existing kernel with new DRM and Nouveau parts
in the nouveau kernel module build instructions.
However, when I am compiling the kernel and kernel modules (using make), it encountered an error with the translation-table map (TTM) GPU video memory management driver.
*** How can I exclude TTM from being built? ***
pv-ops kernel 2.6.30-rc3:-
In file included from
/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/agp.h:8, fromdrivers/gpu/drm/ttm/ttm_agp_backend.c:39:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'get_dma_ops':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:29:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:32:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_mapping_error':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:40:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:41:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_map_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:64:
error: implicit declaration of function 'valid_dma_direction'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:65:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_unmap_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:81:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:82:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_map_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:99:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_unmap_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:113:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:114:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:124:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:125:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:137:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:138:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146:
error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_range_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:151:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:152:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162:
error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_range_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:167:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:168:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_sg_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:182:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:183:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_sg_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:195:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:196:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204:
error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_map_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:211:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_unmap_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:223:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:224:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:247:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:249:
error: implicit declaration of function 'DMA_BIT_MASK'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:284:
error: implicit declaration of function 'is_device_dma_capable'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:287:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:290:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_free_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:308:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:309:
error: dereferencing pointer to incomplete typedrivers/gpu/drm/ttm/ttm_agp_backend.c: In function 'ttm_agp_populate':drivers/gpu/drm/ttm/ttm_agp_backend.c:66: error: 'structagp_memory' has no member named 'pages'
make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2pv-ops kernel 2.6.31-rc6:-
In file included from
/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/agp.h:8, fromdrivers/gpu/drm/ttm/ttm_agp_backend.c:39:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_mapping_error':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:42:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:43:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:77:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:79:
error: implicit declaration of function 'DMA_BIT_MASK'/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:114:
error: implicit declaration of function 'is_device_dma_capable'/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:117:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:120:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_free_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:138:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:139:
error: dereferencing pointer to incomplete type
make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1 make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2I would like to exclude TTM from being compiled. May I know which build scripts do I modify?
I tried renaming
drivers/gpu/ttmtodrivers/gpu/ttm_origin the kernel souces but it doesn't work.scripts/Makefile.build:44:/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile:
No such file or directory
make[4]: *** No rule to make target `/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile'. Stop.
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2It simply complains that ttm directory cannot be found and
Makefilein ttm dir does not exist. This is of course due to me renaming the ttm directory in the kernel sources. I want to prevent ttm from being built.Thank you very much.
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN:[email protected]
Alma Maters: Singapore Polytechnic, National University of SingaporeQuoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Dear Pasi,
I have nouveau driver on my stock/default Fedora 11 kernel that does not depend on ttm.
lsmod | grep ttm shows up nothing.
Signature · 10 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of Singapore
Quoted 491 lines · Pasi Kärkkäinen
Quoted 12 lines · Mr. Teo En Ming (Zhang Enming)
Dear Xen developers,
Just now in my earlier email, I renamed
drivers/gpu/drm/ttmtodrivers/gpu/drm/ttm_orig.However, I forgot to rename
include/drm/ttmtoinclude/drm/ttm_orig. Hence the build process complainsMakefilein ttm is not found.Now, I have renamed
include/drm/ttmtoinclude/drm/ttm_orig. I have successfully excluded TTM from being built.Uhm.. it looks like that nouveau driver _requires_ TTM.
-- Pasi
Quoted 124 lines
But now I get compile errors with nouveau drivers.
pv-ops dom 0 kernel 2.6.30-rc3:
In file included from
drivers/gpu/drm/nouveau/nouveau_drv.c:30:drivers/gpu/drm/nouveau/nouveau_drv.h:67: error: field 'bo' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:68: error: field 'kmap' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo':drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nvbo_kmap_obj_iovirtual':drivers/gpu/drm/nouveau/nouveau_drv.h:103: error: implicit declaration of function 'ttm_kmap_obj_virtual'drivers/gpu/drm/nouveau/nouveau_drv.h:104: warning: cast to pointer from integer of different sizedrivers/gpu/drm/nouveau/nouveau_drv.h: At top level:drivers/gpu/drm/nouveau/nouveau_drv.h:482: error: field 'mem_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:483: error: field 'bo_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:484: error: field 'bdev' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bdev':drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo_ref':drivers/gpu/drm/nouveau/nouveau_drv.h:589: error: implicit declaration of function 'ttm_bo_reference'drivers/gpu/drm/nouveau/nouveau_drv.h:589: warning: passing argument 1 of 'nouveau_bo' makes pointer from integer without a castdrivers/gpu/drm/nouveau/nouveau_drv.h:87: note: expected 'structttm_buffer_object*' but argument is of type 'int'drivers/gpu/drm/nouveau/nouveau_drv.h:593: error: implicit declaration of function 'ttm_bo_unref'drivers/gpu/drm/nouveau/nouveau_drv.c: In function 'nouveau_pci_suspend':drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: implicit declaration of function 'ttm_bo_evict_mm'drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: 'TTM_PL_VRAM' undeclared (first use in this function)drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: (Each undeclared identifier is reported only oncedrivers/gpu/drm/nouveau/nouveau_drv.c:116: error: for each function it appears in.)
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_drv.o] Error 1 make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2pv-ops dom 0 kernel 2.6.31-rc6:
In file included from
drivers/gpu/drm/nouveau/nouveau_drv.c:30:drivers/gpu/drm/nouveau/nouveau_drv.h:67: error: field 'bo' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:68: error: field 'kmap' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo':drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:89: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nvbo_kmap_obj_iovirtual':drivers/gpu/drm/nouveau/nouveau_drv.h:103: error: implicit declaration of function 'ttm_kmap_obj_virtual'drivers/gpu/drm/nouveau/nouveau_drv.h:104: warning: cast to pointer from integer of different sizedrivers/gpu/drm/nouveau/nouveau_drv.h: At top level:drivers/gpu/drm/nouveau/nouveau_drv.h:482: error: field 'mem_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:483: error: field 'bo_global_ref' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h:484: error: field 'bdev' has incomplete typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bdev':drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: type defaults to 'int' in declaration of '__mptr'drivers/gpu/drm/nouveau/nouveau_drv.h:577: warning: initialization from incompatible pointer typedrivers/gpu/drm/nouveau/nouveau_drv.h: In function 'nouveau_bo_ref':drivers/gpu/drm/nouveau/nouveau_drv.h:589: error: implicit declaration of function 'ttm_bo_reference'drivers/gpu/drm/nouveau/nouveau_drv.h:589: warning: passing argument 1 of 'nouveau_bo' makes pointer from integer without a castdrivers/gpu/drm/nouveau/nouveau_drv.h:87: note: expected 'structttm_buffer_object*' but argument is of type 'int'drivers/gpu/drm/nouveau/nouveau_drv.h:593: error: implicit declaration of function 'ttm_bo_unref'drivers/gpu/drm/nouveau/nouveau_drv.c: In function 'nouveau_pci_suspend':drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: implicit declaration of function 'ttm_bo_evict_mm'drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: 'TTM_PL_VRAM' undeclared (first use in this function)drivers/gpu/drm/nouveau/nouveau_drv.c:116: error: (Each undeclared identifier is reported only oncedrivers/gpu/drm/nouveau/nouveau_drv.c:116: error: for each function it appears in.)
make[4]: *** [drivers/gpu/drm/nouveau/nouveau_drv.o] Error 1 make[3]: *** [drivers/gpu/drm/nouveau] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2From the error messages above, it appears that nouveau drivers depended on
TTM GPU video memory management driver code. Hence, I cannot exclude TTM from being compiled.But I get TTM build errors. And hence my nouveau drivers cannot be compiled, since it depended on TTM for graphics processor video memory management.
How can I resolve this? Is it possible that nouveau display drivers are not compatible with Xen paravirt-ops dom 0 kernels just like official NVIDIA display drivers?
Quoted 342 lines
If this is the case, I would have to change my graphics card to one which is supported under
pv_opskernel. I had chosen NVIDIA on first instinct because it historically supports Linux.I would like to keep my NVIDIA card, so are there any patches for ttm code?
Thank you.
Signature · 11 lines
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering) Technical Support Engineer Information Technology Department Asiasoft Online Pte Ltd Tampines Central 1 #04-01 Tampines Plaza Singapore 529541 Republic of Singapore Mobile: +65-9648-9798 MSN: [email protected] Alma Maters: Singapore Polytechnic, National University of SingaporeQuoted 300 lines · Mr. Teo En Ming (Zhang Enming)
Dear Xen developers,
I am using Xen paravirt-operations domain 0 kernels 2.6.30-rc3 and 2.6.31-rc6 cloned from Jeremy Fitzhardinge's kernel git tree.
I am trying to compile the nouveau open source drivers for NVIDIA graphics cards.
I am following the nouveau kernel module build instructions at
http://nouveau.freedesktop.org/wiki/InstallDRMSpecifically, I am following Section
3.2. Alt: Rebuilding your existing kernel with new DRM and Nouveau parts
in the nouveau kernel module build instructions.
However, when I am compiling the kernel and kernel modules (using make), it encountered an error with the translation-table map (TTM) GPU video memory management driver.
*** How can I exclude TTM from being built? ***
pv-ops kernel 2.6.30-rc3:-
In file included from
/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/agp.h:8,from
drivers/gpu/drm/ttm/ttm_agp_backend.c:39:
/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'get_dma_ops':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:29:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:32:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_mapping_error':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:40:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:41:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:58:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_map_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:64:
error: implicit declaration of function 'valid_dma_direction'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:65:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:76:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_unmap_single':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:81:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:82:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:88:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_map_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:99:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:107:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_unmap_sg':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:113:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:114:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:119:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:124:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:125:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:132:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:137:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:138:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:146:
error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_range_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:151:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:152:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:162:
error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_single_range_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:167:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:168:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:177:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_sg_for_cpu':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:182:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:183:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:190:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_sync_sg_for_device':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:195:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:196:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:204:
error: parameter 5 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_map_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:211:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:218:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_unmap_page':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:223:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:224:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:230:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:247:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:249:
error: implicit declaration of function 'DMA_BIT_MASK'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:284:
error: implicit declaration of function 'is_device_dma_capable'/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:287:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:290:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:
In function 'dma_free_coherent':/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:308:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.30-rc3-enming.teo-tip/arch/x86/include/asm/dma-mapping.h:309:
error: dereferencing pointer to incomplete typedrivers/gpu/drm/ttm/ttm_agp_backend.c: In function 'ttm_agp_populate':drivers/gpu/drm/ttm/ttm_agp_backend.c:66: error: 'structagp_memory' has no member named 'pages'
make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2pv-ops kernel 2.6.31-rc6:-
In file included from
/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/agp.h:8,from
drivers/gpu/drm/ttm/ttm_agp_backend.c:39:
/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_mapping_error':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:42:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:43:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
At top level:/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60:
warning: 'enumdma_data_direction' declared inside parameter list/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:60:
error: parameter 4 ('dir') has incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent_mask':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:77:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:79:
error: implicit declaration of function 'DMA_BIT_MASK'/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_alloc_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:114:
error: implicit declaration of function 'is_device_dma_capable'/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:117:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:120:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:
In function 'dma_free_coherent':/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:138:
error: dereferencing pointer to incomplete type/usr/src/kernels/2.6.31-rc6-enming.teo/arch/x86/include/asm/dma-mapping.h:139:
error: dereferencing pointer to incomplete type
make[4]: *** [drivers/gpu/drm/ttm/ttm_agp_backend.o] Error 1 make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2I would like to exclude TTM from being compiled. May I know which build scripts do I modify?
I tried renaming
drivers/gpu/ttmtodrivers/gpu/ttm_origin the kernel souces but it doesn't work.scripts/Makefile.build:44:/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile:
No such file or directory
make[4]: *** No rule to make target `/usr/src/kernels/2.6.31-rc6-enming.teo/drivers/gpu/drm/ttm/Makefile'. Stop.
make[3]: *** [drivers/gpu/drm/ttm] Error 2
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2It simply complains that ttm directory cannot be found and
Makefilein ttm dir does not exist. This is of course due to me renaming the ttm directory in the kernel sources. I want to prevent ttm from being built.Thank you very much.
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile: +65-9648-9798
MSN:[email protected]
Alma Maters: Singapore Polytechnic, National University of SingaporeQuoted 8 lines
------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel