AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Software > OS, Software, Firmware, and BIOS > Linux

Linux Questions and information concerning Linux


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 25th October, 2010, 04:17 PM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

nvidia driver/2.6.36 kernel in Gentoo

I can't seem to get the nvidia driver to build against the new kernel. I imported .config into the new kernel source, ran 'make oldconfig' to set any new options, and then 'make && make modules_install'.

Normally, after those commands, I run 'module-rebuild populate' followed by 'module-rebuild rebuild' to rebuild the nvidia driver against the new kernel. It has always worked, but this time I get this output:

Code:
OPTERON-185 linux # module-rebuild rebuild
** Preparing to merge modules:
** Packages which I will emerge are:
	=x11-drivers/nvidia-drivers-256.53
5 4 3 2 1 
... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-256.53
 * NVIDIA-Linux-x86_64-256.53.run RMD160 SHA1 SHA256 size ;-) ...                                            [ ok ]
 * Package:    x11-drivers/nvidia-drivers-256.53
 * Repository: gentoo
 * Maintainer: cardoe@gentoo.org jer@gentoo.org,spock@gentoo.org
 * USE:  acpi amd64 elibc_glibc gtk kernel_linux multilib userland_GNU
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.36-ck/build
 * Found sources for kernel version:
 *     2.6.36-ck
 * Checking for MTRR support ...                                                                             [ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-256.53.run to /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work ...
 * Applying 256.35-unified-arch.patch ...                                                                    [ ok ]
 * Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ...                                      [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work ...
 * Preparing nvidia module
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.36-ck/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module 
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.36-ck/build \
KBUILD_SRC=/usr/src/linux-2.6.36-ck \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel" -f /usr/src/linux-2.6.36-ck/Makefile \
modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
echo;								\
echo "  ERROR: Kernel configuration is invalid.";		\
echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
echo;								\
/bin/false)
mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/.tmp_versions/*
make -f /usr/src/linux-2.6.36-ck/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel
(cat /dev/null;   echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/modules.order
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include -I/usr/src/linux-2.6.36-ck/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.36-ck/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel -Wall -M  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/.nv_gvi.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include -I/usr/src/linux-2.6.36-ck/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.36-ck/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel -WalD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.c
l -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv_gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv_gvi.c
  cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/.nv-vm.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/include -I/usr/src/linux-2.6.36-ck/arch/x86/include -Iinclude  -I/usr/src/linux-2.6.36-ck/include -include include/generated/autoconf.h   -I/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -march=k8 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack   -I/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel -Wall -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.53\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv-vm.c
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.c:426: error: unknown field 'ioctl' specified in initializer
/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.c:426: warning: initialization from incompatible pointer type
make[4]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel/nv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
emake failed
 * ERROR: x11-drivers/nvidia-drivers-256.53 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux 		SYSOUT=/lib/modules/2.6.36-ck/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4178:  Called linux-mod_src_compile
 *   environment, line 3084:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 					${BUILD_FIXES} 						${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-256.53',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-256.53'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/'

>>> Failed to emerge x11-drivers/nvidia-drivers-256.53, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/temp/build.log'

 * Messages for package x11-drivers/nvidia-drivers-256.53:

 * ERROR: x11-drivers/nvidia-drivers-256.53 failed:
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux 		SYSOUT=/lib/modules/2.6.36-ck/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4178:  Called linux-mod_src_compile
 *   environment, line 3084:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" 						CROSS_COMPILE=${CHOST}- 						LDFLAGS=\"$(get_abi_LDFLAGS)\" 					${BUILD_FIXES} 						${BUILD_PARAMS} 						${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-256.53',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-256.53'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-256.53/work/'
OPTERON-185 linux #
I find this part of the output strange:

Code:
echo "  ERROR: Kernel configuration is invalid.";		\
echo "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
Contrary to the error, both files do exist.

I'm suspecting that something is amiss in the .config, but I don't know what. All the new kernel options are not needed AFAICT. I'll attach my current running .config [2.6.35-ck-r4] and the newly generated one [2.6.36-ck]. If one of the gentoo boyz has some time to take a look I'd appreciate it. Maybe you can see something I don't

I looked for similar bug reports and didn't find anything, so it's prolly something here.
Attached Files
File Type: zip 2.6.35-ck-r4.zip (13.5 KB, 30 views)
File Type: zip 2.6.36-ck.zip (13.4 KB, 41 views)
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com

Last edited by ThunderRd; 25th October, 2010 at 04:19 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 25th October, 2010, 08:06 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,446

It's not your config, there is a patch for the nvidia-driver ebuild on gentoo bugzilla.

Gentoo Bug 334223 - nvidia-drivers fails to emerge with kernel 2.6.36 or later
__________________
Biostar TForce X58 - Core i7 920 - 12GB Corsair Dominator DDR3 - EVGA 560ti - PCP&C 750W - Dual boot, Arch Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 26th October, 2010, 03:15 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

Hmm. Wonder why I didn't find that bug when I looked.

Now that the 2.6.36 has gone stable you'd think this would have been corrected.

In any case, thanks, I'll take a look at it later when I'm home and report back.
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 26th October, 2010, 03:37 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

Cliff, rather than patching, maybe it would be an easier solution for me to unmask driver 260.xx and try that. 260.xx is hardmasked, but on the nvidia forum the dev states that the changes probably won't be made to 256.xx anytime soon [implying that 260 should build properly]

What do you think?
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com

Last edited by ThunderRd; 26th October, 2010 at 03:37 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 26th October, 2010, 05:26 AM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,446

260 drivers work fine with everything I have thrown at them, I'm on the 2.6.35-zen-git kernel though. Unmasking a package really isn't a big deal so I would do it and see what happens.
__________________
Biostar TForce X58 - Core i7 920 - 12GB Corsair Dominator DDR3 - EVGA 560ti - PCP&C 750W - Dual boot, Arch Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 26th October, 2010, 05:49 AM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,446

Quote:
Originally Posted by ThunderRd View Post
Now that the 2.6.36 has gone stable you'd think this would have been corrected.
I'm sorry, but I got a chuckle out of that. You forget, this is linux, just because it is marked stable doesn't necessarily mean it will continue to work as you expect it to or as it did before. I've said it before, in linux, if it works exactly as it should, it's not finished.
__________________
Biostar TForce X58 - Core i7 920 - 12GB Corsair Dominator DDR3 - EVGA 560ti - PCP&C 750W - Dual boot, Arch Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 26th October, 2010, 09:52 AM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

Quote:
Originally Posted by ccperf721p View Post
I've said it before, in linux, if it works exactly as it should, it's not finished.
And if it doesn't, it is
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 26th October, 2010, 01:45 PM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

Unmasking the 260* driver did the trick. I don't mind running a beta driver, so I guess it was the best solution. And another lesson learned.
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 26th October, 2010, 03:50 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,446

Every time I read something about upcoming changes in linux, the reason is always the same. The old app had too many limitations. So we move to a new app that provides not one bit of additional functionality or in some cases, less functionality, then we need a couple more apps to provide the missing functionality. It took me two days to gather up the needed info to get something as simple as a thumb drive showing up in a file manager when I get rid of hal.
__________________
Biostar TForce X58 - Core i7 920 - 12GB Corsair Dominator DDR3 - EVGA 560ti - PCP&C 750W - Dual boot, Arch Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 26th October, 2010, 07:47 PM
Daniel ~'s Avatar
Chief BBS Administrator
 
Join Date: September 2001
Location: Seattle Wa.
Posts: 45,606

Quote:
Originally Posted by ThunderRd View Post
And if it doesn't, it is
Yes! and so are you! LOL
__________________
"Though all men live in ignorance before mystery,
they need not live in darkness...
Justice is foundation and Mercy ETERNAL
."
DKE

"All that we do is touched by Ocean
Yet we remain on the shore of what we know."
Richard Wilbur

[img]/forum/attachments/random-nonsense/16515-sigs-dan_drag.jpg[/img]
Subscribers! Ask Pitch about a Custom Sig Graphic

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 27th October, 2010, 08:05 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,446

It's actually a good idea to learn how to set up and maintain a local overlay. Especially for guys like us that like to play on the edge. At some point you will want to modify either the ebuild or configure script in the package itself to suit your needs.

With some packages that I use that are not in portage and I don't feel like writing an ebuild, I will install them to /home/cp/bin and just export the PATH in .bashrc just to keep the base system clean.
__________________
Biostar TForce X58 - Core i7 920 - 12GB Corsair Dominator DDR3 - EVGA 560ti - PCP&C 750W - Dual boot, Arch Linux/WinXP

Last edited by ccperf721p; 27th October, 2010 at 08:05 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 27th October, 2010, 08:38 PM
Kaitain's Avatar
Member
Mars Rover Champion, Joust Champion
 
Join Date: September 2001
Location: MK10, UK.
Posts: 4,372
Send a message via MSN to Kaitain Send a message via Skype™ to Kaitain

Occasionally you'll also need to keep some older or newer versions of libraries hanging around for compatability. You can drop those in a directory somewhere (I tend to use /opt/<something> ) and create a rule in /etc/env.d to set the LDPATH for that executable only.

It's also handy if you find yourself having to use binary exes for specific distros (e.g. Fedora or Ubuntu, as very occasionally a closed-source application will be released as a binary rpm or deb, but not as a generic file).

Haven't had to do that for a while now there are open source alternatives for getting mp3s from Amazon.
__________________
It is by coffee alone I set my mind in motion...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 28th October, 2010, 05:08 PM
ThunderRd's Avatar
Irreverent Query Chairman
 
Join Date: June 2007
Location: NYC native in northern Thailand
Posts: 2,241

Quote:
Originally Posted by ccperf721p View Post
It's actually a good idea to learn how to set up and maintain a local overlay.
So, if I find something outside of portage that I want to use, I'd have to change the location of where the ebuild resides? How does layman know where to look for it?
__________________
#1: Tt Armor, ASUS Maximus Extreme, QX9650@4.1G, 8G Corsair Dominator GT DDR3-2000, Corsair HX1050, H2O-Swiftech, Gigabyte GTX470/Arctic Accelero Xtreme Plus II, Intel 520 SSD, Kingston SSD, 2xRaptor 150G RAID0, Win 7 Pro 64
#2: Tt Shark, ASUS P5Q Pro Turbo, Q6600@3.8G, 4G HyperX-1600, Corsair HX850, CoolerMaster V10, 2xASUS 9600GT, 2xRaptor 74G RAID0, OCZ Vertex 4 SSD, Gentoo/siduction Linux [64-bit]
#3, #4: Opteron 170@2.75G nude, A8N-SLI Deluxe, Gentoo

AOA Folding @HomeOur sister site: www.gamersonlinux.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 28th October, 2010, 07:43 PM
Kaitain's Avatar
Member
Mars Rover Champion, Joust Champion
 
Join Date: September 2001
Location: MK10, UK.
Posts: 4,372
Send a message via MSN to Kaitain Send a message via Skype™ to Kaitain

Quote:
Originally Posted by ThunderRd View Post
So, if I find something outside of portage that I want to use, I'd have to change the location of where the ebuild resides? How does layman know where to look for it?
You need to create a variable, PORTDIR_OVERLAY in /etc/make.conf listing all your overlay directories. IIRC this is still manual, even if you have layman installed.
__________________
It is by coffee alone I set my mind in motion...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 28th October, 2010, 09:08 PM
Member
 
Join Date: April 2005
Location: AZ
Posts: 2,446

ebuilds I find elsewhere go in /usr/local/portage/. They have to carry the same naming convention as gentoo. Such as /usr/local/portage/www-client/firefox/firefox-4.78.ebuild

Also above the source=/var/lib/layman/* you will need to add PORTDIR_OVERLAY=/usr/local/portage or wherever you decide to create your overlay.
__________________
Biostar TForce X58 - Core i7 920 - 12GB Corsair Dominator DDR3 - EVGA 560ti - PCP&C 750W - Dual boot, Arch Linux/WinXP
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia 260.89 WHQL Driver is out Necorum Graphics and Sound cards; Speakers and other Peripherals 7 27th October, 2010 08:36 PM
XG 84.12 Nvidia Driver!! dsio Graphics and Sound cards; Speakers and other Peripherals 11 23rd March, 2006 12:26 AM
Nvidia driver 77.77 chrisbard Graphics and Sound cards; Speakers and other Peripherals 10 24th August, 2005 03:03 AM
Nvidia 77.50 Driver out dsio Graphics and Sound cards; Speakers and other Peripherals 4 14th June, 2005 03:06 PM
WinXP Driver Update- Nvidia Corporation Media Driver Version 5.10.2906.0 Pablo Escobar EPoX MotherBoards 1 9th December, 2002 08:47 PM


All times are GMT +1. The time now is 06:53 PM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0