Bug#476504: [pkg-nvidia-devel] Bug#476504: No way to compile NVIDIA with 2.6.25-2-686 kernel

2008-05-25 Thread Ruslan Tarasov
I had the same problem you have with 686 image. Actually there are two problems.

1. nvidia-kernel-source 169.12 is not compatible with kernel 2.6.25.
2. nvidia-kernel-source 169.12 is not compatible with XEN enabled kernels.

So, you need to do the following to compile and install your kernel.

1. Install nvidia-kernel-source as usual (apt-get install nvidia-kernel-source).
2. Patch it as described above with diff from
http://www.nvnews.net/vbulletin/showthread.php?t=110088 to resolve
first problem.
3. Edit /usr/src/modules/nvidia-kernel/nv/nv-linux.h and add #undef
CONFIG_XEN just above first #ifdef CONFIG_XEN line. Sorry, I am too
lazy to prepare diff for you.
4. Compile and install module by using make module and make install.

This, for sure, is workaround, but it works perfectly.

Best regards,
Ruslan.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#476504: No way to compile NVIDIA with 2.6.25-2-686 kernel

2008-05-16 Thread MarioDebian
Hi.

I have read this bug report and have tried all patches.

I have packaged 173.08 version and don't compile.

All time I get some XEN warnings or errors...

Why CONFIG_XEN is enabled by default?

# grep XEN /usr/src/linux-headers-2.6.25-2-686/.config
CONFIG_XEN=y
CONFIG_XEN_BLKDEV_FRONTEND=m
CONFIG_XEN_NETDEV_FRONTEND=m
CONFIG_HVC_XEN=y

In 2.6.24 CONFIG_XEN is not set.


Error looks like this:

In file included from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
/usr/src/modules/nvidia-kernel/nv/nv-linux.h:112:23: error:
asm/maddr.h: No such file or directory

This include file loads when CONFIG_XEN is enabled

I attach complete module-assistant output.


Thanks

-- 
http://soleup.eup.uva.es/mariodebian


m-a_nvidia.output
Description: Binary data


Bug#476504: [pkg-nvidia-devel] Bug#476504: No way to compile NVIDIA with 2.6.25-2-686 kernel

2008-05-16 Thread Lennart Sorensen
On Fri, May 16, 2008 at 11:55:56AM +0200, MarioDebian wrote:
 I have read this bug report and have tried all patches.
 
 I have packaged 173.08 version and don't compile.
 
 All time I get some XEN warnings or errors...
 
 Why CONFIG_XEN is enabled by default?
 
 # grep XEN /usr/src/linux-headers-2.6.25-2-686/.config
 CONFIG_XEN=y
 CONFIG_XEN_BLKDEV_FRONTEND=m
 CONFIG_XEN_NETDEV_FRONTEND=m
 CONFIG_HVC_XEN=y
 
 In 2.6.24 CONFIG_XEN is not set.
 
 
 Error looks like this:
 
 In file included from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
 /usr/src/modules/nvidia-kernel/nv/nv-linux.h:112:23: error:
 asm/maddr.h: No such file or directory
 
 This include file loads when CONFIG_XEN is enabled
 
 I attach complete module-assistant output.

Are you on i386 or amd64?  I guess i386 given the '686' above.  I tried
it on amd64 and it built fine there.  XEN is NOT enabled on the 2.6.25
amd64 kernel.  Perhaps that is an inconsistency that should be fixed in
the kernel package.  The changelog says they are enabling xen guest
support in all x86 kernels.

-- 
Len Sorensen



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#476504: [pkg-nvidia-devel] Bug#476504: No way to compile NVIDIA with 2.6.25-2-686 kernel

2008-05-16 Thread mariodebian
El vie, 16-05-2008 a las 09:14 -0400, Lennart Sorensen escribió:
 On Fri, May 16, 2008 at 11:55:56AM +0200, MarioDebian wrote:
  I have read this bug report and have tried all patches.
  
  I have packaged 173.08 version and don't compile.
  
  All time I get some XEN warnings or errors...
  
  Why CONFIG_XEN is enabled by default?
  
  # grep XEN /usr/src/linux-headers-2.6.25-2-686/.config
  CONFIG_XEN=y
  CONFIG_XEN_BLKDEV_FRONTEND=m
  CONFIG_XEN_NETDEV_FRONTEND=m
  CONFIG_HVC_XEN=y
  
  In 2.6.24 CONFIG_XEN is not set.
  
  
  Error looks like this:
  
  In file included from /usr/src/modules/nvidia-kernel/nv/nv.c:14:
  /usr/src/modules/nvidia-kernel/nv/nv-linux.h:112:23: error:
  asm/maddr.h: No such file or directory
  
  This include file loads when CONFIG_XEN is enabled
  
  I attach complete module-assistant output.
 
 Are you on i386 or amd64?  I guess i386 given the '686' above.  I tried
 it on amd64 and it built fine there.  XEN is NOT enabled on the 2.6.25
 amd64 kernel.  Perhaps that is an inconsistency that should be fixed in
 the kernel package.  The changelog says they are enabling xen guest
 support in all x86 kernels.
 

I'm using Debian unstable i386 with 686 kernel.
In i386, amd64 packages seems to be compiled without CONFIG_XEN.

I will try 2.6.25-2-amd64, thanks


-- 
http://soleup.eup.uva.es/mariodebian


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente