You are not logged in.
Pages: 1
I am not able to compile the Nvidia drivers on 2.6.33-rc2.
Just get the message:
*** Unable to determine the target kernel version. ***
have someone done this successful?
Offline
Stick with 2.6.32 for now. Working alright.
Offline
Thats kind of the problem, my soundcard isnt supported before 2.6.33...
Got a VT1718S chip on a ASUS M4A78-HTPC motherboard.
Offline
You need to make sure the headers in /usr/src/linux-<your kernel name> exist
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Worth noting: you're ahead of Arch, so this is not actually an Arch issue. You have a suggestion from ngoonee, and you may get others, but I would recommend you try other resources as well.
Offline
According to gun26's comment, there are two patches you can either apply to get nvidia working with 2.6.33-rc2.
Offline
I had this same issue. I have nvidia working with kernel from linus git tree. Make sure you have the following on your PKGBUILD, taken from kernel2-git@AUR:
##############################
# Install fake kernel source
##############################
install -D -m644 Module.symvers "$pkgdir/usr/src/linux-$_kernver/Module.symvers" &&
install -D -m644 Makefile "$pkgdir/usr/src/linux-$_kernver/Makefile" &&
install -D -m644 kernel/Makefile "$pkgdir/usr/src/linux-$_kernver/kernel/Makefile" &&
install -D -m644 .config "$pkgdir/usr/src/linux-$_kernver/.config" &&
install -D -m644 .config "$pkgdir/lib/modules/$_kernver/.config" || return 1
#######################################################
# Install scripts directory and fix permissions on it
#######################################################
cp -a scripts "$pkgdir/usr/src/linux-$_kernver" &&
chmod og-w -R "$pkgdir/usr/src/linux-$_kernver" || return 1
##########################
# Install header files
##########################
msg "Installing header files..."
# kernel headers
msg2 "kernel"
for i in acpi asm-{generic,$_karch} config linux math-emu media net pcmcia scsi sound trace video; do
mkdir -p "$pkgdir/usr/src/linux-$_kernver/include/$i" &&
cp -a include/$i "$pkgdir/usr/src/linux-$_kernver/include" || return 1
done
########################################
# Install architecture dependent files
########################################
msg "Installing architecture files..."
mkdir -p "$pkgdir/usr/src/linux-$_kernver/arch/$_karch/kernel" &&
cp arch/$_karch/kernel/asm-offsets.s "$pkgdir/usr/src/linux-$_kernver/arch/$_karch/kernel"
cp arch/$_karch/Makefile* "$pkgdir/usr/src/linux-$_kernver/arch/$_karch"
cp -r arch/$_karch/configs "$pkgdir/usr/src/linux-$_kernver/arch/$_karch"
# copy arch includes for external modules and fix the nVidia issue
mkdir -p "$pkgdir/usr/src/linux-$_kernver/arch/$_karch" &&
cp -a "arch/$_karch/include" "$pkgdir/usr/src/linux-$_kernver/arch/$_karch/" || return 1
# create a necessary symlink to the arch folder
cd "$pkgdir/usr/src/linux-$_kernver/arch" || return 1
if [[ $CARCH = "x86_64" ]]; then
ln -s $_karch x86_64 || return 1
else
ln -s $_karch i386 || return 1
fi
cd "$OLDPWD" || return 1
##################################
# Create some important symlinks
##################################
msg "Creating important symlinks..."
cd "$pkgdir/usr/src/linux-$_kernver/include" &&
ln -s asm-$_karch asm &&
cd "$OLDPWD" || return 1
cd "$pkgdir/lib/modules/$_kernver" &&
rm -rf source build &&
ln -s ../../../usr/src/linux-$_kernver build &&
cd "$OLDPWD" || return 1
cd "$pkgdir/usr/src" &&
ln -s linux-$_kernver linux-$_basekernel-git &&
cd "$OLDPWD" || return 1
cd "$pkgdir/lib/modules" &&
ln -s $_kernver $_basekernel-git &&
cd "$OLDPWD" || return 1
###################
# Fix permissions
###################
msg "Fixing permissions..."
chown -R root:root "$pkgdir/usr/src/linux-$_kernver" &&
find "$pkgdir/usr/src/linux-$_kernver" -type d -exec chmod 755 {} \; || return 1
Last edited by s3kt0r (2010-01-03 16:21:34)
box1: Arch (linux-3.17-rc5)
box2: Gentoo (linux-3.17-rc5)
wm: subtle
Offline
adding fake kernel sources while simple patch from nvidia/linux site is available?
get mentioned patch and run (WITHOUT root privileges):
sh NVIDIA-Linux-x86-195.30-pkg1.run --apply-patch nvidia-2.6.33.patch.txt
at the end you will get
NVIDIA-Linux-x86-195.30-pkg1-custom.run
package so original file will not be overwritten
then run
sudo sh NVIDIA-Linux-x86-195.30-pkg1-custom.run -N -s
and you are back in business.
NVIDIA-Linux-x86-195.30-pkg1.run has some important performance improvements, so I would suggest to download this beta.
Offline
now with rc3, still get:
[media@htpc src]$ sudo sh NVIDIA-Linux-x86_64-190.53-pkg0-custom.run -N -s
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 190.53...................................................................................................................................................
ERROR: Unable to determine the version of the kernel sources located in
'/lib/modules/2.6.33-rc3-ARCH/build'. Please make sure you have
installed the kernel source files for your kernel and that they are
properly configured; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' or 'kernel-devel' RPM installed. If you know
the correct kernel source files are installed, you may specify the
kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Offline
now with rc3, still get:
[media@htpc src]$ sudo sh NVIDIA-Linux-x86_64-190.53-pkg0-custom.run -N -s Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 190.53................................................................................................................................................... ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.33-rc3-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
I don't use PKGBUILD for kernelit as is quite inflexible. In fact I don't have ARCH kernel installed at all, I believe that in few instances using sources directly is much better choice.
Install kernel from sources and use nvidia binary blob. That is all.
Last edited by broch (2010-01-08 14:19:30)
Offline
I like the PKGBUILD, have more control that way I think.
Is something missing in the PKGBUILD since it wont work?
I use the kernel26-rc from AUR http://aur.archlinux.org/packages.php?ID=31932
Last edited by Illidan (2010-01-08 14:27:04)
Offline
I like the PKGBUILD, have more control that way I think.
Is something missing in the PKGBUILD since it wont work?I use the kernel26-rc from AUR http://aur.archlinux.org/packages.php?ID=31932
I can tell you only what is working. I doubt that PKGBUILD gives more control: I did not have any problems installing patched nvidia for 2.6.33-rc2. You are still struggling.
Anyway, your question can be answered by someone who uses PKGBUILD for 2.6.33-rc2 and nvidia (maybe PKGBUILD? I don't know).
Sorry that I can't help more
good luck
Offline
Pages: 1