View previous topic :: View next topic |
Author |
Message |
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Sat Oct 02, 2010 11:30 pm Post subject: Trying to make a happy kernel for an i7 920 with KVM |
|
|
Hi.
I'm admitting complete and utter defeat. I need help. I suspect that I need to go back to wearing proverbial diapers.
I've been using Linux for over a decade. I've compiled more kernels than I can count, and after the first few never had any problem until I moved to an i7 920. Since then I have not had a happy kernel that both supports all my hardware and is stable. This includes prior Gentoo installations.
Here are my desires:
- I want a kernel to run on the bare hardware which makes use of all my hardware, including chip/motherboard features which may not be entirely necessary for a bare-bones system.
- I am using software RAID on all partitions except swap, including /boot.
- I want this box to host KVM guests, both Linux and Windows. I may also experiment with Mac OS or Darwin. No more than 2 guests at once probably.
- I want to use non-free software, most importantly the nvidia-drivers video driver and the Creative X-Fi sound card.
- I want to take full advantage of IPV6
- I would like to keep this x86_64 but I figure I may need to bend that a bit
- I would like to watch TV/DVD/Blu-Ray in a window or full-screen, but this is the least critical of the desires.
I've loaded the 2.6.34-gentoo-r6 kernel source from gentoo-sources.
I've also loaded Pappy's seed for this kernel from kernel-seeds.org.
I'm starting from scratch with basic questions. Please be gentle.
- Can I do all this without using experimental/incomplete drivers?
- Are the options which are set for most features actually safe? Meaning, can I download gentoo-sources, add the kernel seed, set up my specific hardware and then just compile to make it mostly go?
- Is there a good write-up on this so nobody has to write a book just to help me out? I've already checked the handbook and searched the Gentoo documentation, and spent several times going line-by-line on kernel-seeds documentation. I'm either doing something stupid without thinking or I'm thinking too much and not going with the flow.
Hardware listed below:
Motherboard is the generic version of the Asus P6T.
Code: |
# lspci
00:00.0 Host bridge: Intel Corporation X58 I/O Hub to ESI Port (rev 12)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 12)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 12)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 12)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 12)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 12)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 12)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 12)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 3
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 4
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 5
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
01:00.0 Multimedia video controller: Conexant Systems, Inc. Hauppauge Inc. HDPVR-1250 model 1196 (rev 04)
02:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 260] (rev a1)
04:00.0 SATA controller: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 03)
04:00.1 IDE interface: JMicron Technology Corp. 20360/20363 Serial ATA Controller (rev 03)
05:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. Device 3403
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
08:00.0 Multimedia audio controller: Creative Labs SB X-Fi |
Code: |
# lspci -n
00:00.0 0600: 8086:3405 (rev 12)
00:01.0 0604: 8086:3408 (rev 12)
00:03.0 0604: 8086:340a (rev 12)
00:07.0 0604: 8086:340e (rev 12)
00:14.0 0800: 8086:342e (rev 12)
00:14.1 0800: 8086:3422 (rev 12)
00:14.2 0800: 8086:3423 (rev 12)
00:14.3 0800: 8086:3438 (rev 12)
00:1a.0 0c03: 8086:3a37
00:1a.1 0c03: 8086:3a38
00:1a.2 0c03: 8086:3a39
00:1a.7 0c03: 8086:3a3c
00:1b.0 0403: 8086:3a3e
00:1c.0 0604: 8086:3a40
00:1c.2 0604: 8086:3a44
00:1c.3 0604: 8086:3a46
00:1c.4 0604: 8086:3a48
00:1d.0 0c03: 8086:3a34
00:1d.1 0c03: 8086:3a35
00:1d.2 0c03: 8086:3a36
00:1d.7 0c03: 8086:3a3a
00:1e.0 0604: 8086:244e (rev 90)
00:1f.0 0601: 8086:3a16
00:1f.2 0101: 8086:3a20
00:1f.3 0c05: 8086:3a30
00:1f.5 0101: 8086:3a26
01:00.0 0400: 14f1:8880 (rev 04)
02:00.0 0300: 10de:05e2 (rev a1)
04:00.0 0106: 197b:2363 (rev 03)
04:00.1 0101: 197b:2363 (rev 03)
05:00.0 0c00: 1106:3403
06:00.0 0200: 10ec:8168 (rev 02)
08:00.0 0401: 1102:0005
|
Code: |
# lsusb
Bus 007 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 058f:9410 Alcor Micro Corp. Keyboard
Bus 006 Device 003: ID 04b3:310b IBM Corp. Red Wheel Mouse
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 009: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 008: ID 046d:0a15 Logitech, Inc.
Bus 002 Device 007: ID 1737:0071 Linksys
Bus 002 Device 006: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
Bus 002 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
|
Thanks. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sun Oct 03, 2010 6:41 am Post subject: Re: Trying to make a happy kernel for an i7 920 with KVM |
|
|
1clue wrote: |
Here are my desires:
- I want a kernel to run on the bare hardware which makes use of all my hardware, including chip/motherboard features which may not be entirely necessary for a bare-bones system.
- I am using software RAID on all partitions except swap, including /boot.
- I want this box to host KVM guests, both Linux and Windows. I may also experiment with Mac OS or Darwin. No more than 2 guests at once probably.
- I want to use non-free software, most importantly the nvidia-drivers video driver and the Creative X-Fi sound card.
- I want to take full advantage of IPV6
- I would like to keep this x86_64 but I figure I may need to bend that a bit
- I would like to watch TV/DVD/Blu-Ray in a window or full-screen, but this is the least critical of the desires.
| Reasonable and doable, up to a point. I don't know if the UDF driver in the kernel has been updated to handle blu-ray. I know there is an XP driver, but I don't know if that's been reverse engineered yet. Perhaps someone else might be able to share that knowledge.
Quote: | I've loaded the 2.6.34-gentoo-r6 kernel source from gentoo-sources.
I've also loaded Pappy's seed for this kernel from kernel-seeds.org.
I'm starting from scratch with basic questions. Please be gentle.
- Can I do all this without using experimental/incomplete drivers?
- Are the options which are set for most features actually safe? Meaning, can I download gentoo-sources, add the kernel seed, set up my specific hardware and then just compile to make it mostly go?
- Is there a good write-up on this so nobody has to write a book just to help me out? I've already checked the handbook and searched the Gentoo documentation, and spent several times going line-by-line on kernel-seeds documentation. I'm either doing something stupid without thinking or I'm thinking too much and not going with the flow.
|
No. You will most likely need some experimental drivers, if only for the sake of your CPU.
I am not sure what you mean by, "safe". If you are talking safe as in, "won't blow your system to somewhere you wouldn't like, yes. There is nothing in the settings that should nuke anything on your system, or allow the magick smoke to escape. About a year and a half ago, someone let something out in one of the release candidate (rc) kernels that killed e1000 devices. This was rapidly fixed, and an actual fix was created to bring the NIC's back from the grave. As far as I know, that is the only time that the kernel has sent computer parts to limbo. That was a little over two years ago, and I've not heard of a similar issue since.
If you are referring to safety as in secure from internet threats, well, that's debatable. I do not turn on the security settings in the kernel as I leave the decision about security up to the person's own discretion. In general, Linux is fairly resistant to internet infection, so even with no security turned on, you are more secure just by the very nature of Linux.
I don't know of any better write up about the kernel from the user's point of view than my pages. If there are other resources out there for the kernel with the user as the main point of reference, I don' t know about it.
If you have a current .config, post it, along with the contents of your /etc/fstab file, and I'll whip you up a workable basic kernel, to which you can add your other desired support.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Sun Oct 03, 2010 7:07 am Post subject: |
|
|
Pappy,
Thanks for the reply.
Blu-ray playback is of marginal value because I have a separate Blu-ray player that I can use if I have to, but I have a Blu-ray RW in the box and I would like to be able to use it to read/write to the 50G capacity. Watching blu-ray on the PC would be Really Cool, but that's gravy for me. I am NOT interested in doing anything with movies that violates the rules a Windows user would need to/be expected to follow, and setting all that up would be what happens after just about everything else is working.
Experimental: OK, I just hoped to cut down on the junk I have to wade through.
Safe: The things you mention are not on my radar. I'm familiar with the things you're talking about, not what I'm talking about is "won't lock my system up, and won't leave me with a half-functional system." In other words, when I add your file, configure it for my hardware and compile it, will the kernel that comes out have basic functionality without a lot of extras? If I actually knew what all those options were, would the default setup be something an average user might want, or are they random noise to be completely ignored?
I keep getting lost in some areas, like networking features for example. I lose track of the difference between "I need that" and "That would be cool" or "I wonder what that is." Always had that problem, but back in the day the number of things you could play with was a lot smaller. Then I stopped compiling my own, and now everything is different.
Finally, I thought that you could find the currently running kernel's config somewhere in /proc, but I can't find it. Being able to start with that would be REALLY handy.
Thanks. |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Oct 03, 2010 1:03 pm Post subject: |
|
|
Quote: | Finally, I thought that you could find the currently running kernel's config somewhere in /proc, but I can't find it. Being able to start with that would be REALLY handy. |
that would be /proc/config.gz
but you have to set the kernel to produce this _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Oct 03, 2010 1:42 pm Post subject: |
|
|
well you shoud be able to produce a kernel yourself.
if you don't care about the space...
make allmodconfig
and everything possible will be module
make allnoconfig
and everything possible will be set to no
This way you just have to enable what you need, and if you don't know if you need it, then you probably don't need it
The kernel itself will gave you hints to answer (should the option be on or off ? If you don't know set it to X)
next to that, as you're one little lazy user (ok i'm speaking more about me there)
lspci -k and tada, you will get the list of needed drivers for your kernel to work
and the only difficulty i saw was that fucking tsc timer that is bug as hell for my core2 and i7
sadly i cannot disable it, and some kernel blacklist it but some others re-enable it (currently i'm using 2.6.36-rc6 and they again enable that shitty timer)
i find the hpet really stable and well, nothing more, it just do the job ok, nothing fancy
so add that if you have timing/lag peak sometimes in your applications to default your timing base on hpet.
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="clocksource=hpet" |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Sun Oct 03, 2010 2:56 pm Post subject: Re: Trying to make a happy kernel for an i7 920 with KVM |
|
|
1clue wrote: | I've loaded the 2.6.34-gentoo-r6 kernel source from gentoo-sources. |
Do not go with this release. It has known important troubles with many usb devices. (Starting with keyboard)
Moreover, important security patches have been commited since.
Start with 34 but at least r10. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Sun Oct 03, 2010 6:33 pm Post subject: |
|
|
Yes, your system will function as fully as possible. I have set up a few other I7 kernels, and so far, so good. There might be unsupported devices, but I'm still fairly sure that anything that falls into that category shouldn't be there too long.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Oct 04, 2010 3:48 am Post subject: |
|
|
OK, well I have a semi-functional kernel from 2.6.34-gentoo-r10.
Good news, I can boot and have all my filesystems, and the sound card works, and X works on the nv driver.
Bad news, the nvidia driver doesn't work. Can't load glx driver according to /var/log/Xorg.0.log. It says to reload the nvidia driver.
I can't emerge nvidia-drivers though. It says (full trace below) that my kernel config is bad, and I need to run make oldconfig && make prepare to fix it. Did that, still broken.
I'm stuck. Thanks in advance.
Here's the trace from revdep-rebuild:
Code: |
# emerge --oneshot --verbose x11-drivers/nvidia-drivers:0
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] x11-drivers/nvidia-drivers-195.36.31 USE="acpi gtk (multilib) -custom-cflags" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-195.36.31
* NVIDIA-Linux-x86_64-195.36.31-pkg2.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* CPV: x11-drivers/nvidia-drivers-195.36.31
* REPO: gentoo
* 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.34-gentoo-r10/build
* Found sources for kernel version:
* 2.6.34-gentoo-r10
* Checking for MTRR support ... [ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-195.36.31-pkg2.run to /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2 ...
* Applying NVIDIA_glx-defines.patch ... [ ok ]
* Applying NVIDIA_glx-glheader.patch ... [ ok ]
* Applying 195.30-unified-arch.patch ... [ ok ]
* Converting NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2 ...
* Preparing nvidia module
make -j12 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.34-gentoo-r10/build HOST_CC=x86_64-pc-linux-gnu-gcc CC=x86_64-pc-linux-gnu-gcc clean module
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.34-gentoo-r10/build \
KBUILD_SRC=/usr/src/linux-2.6.34-gentoo-r10 \
KBUILD_EXTMOD="/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv" -f /usr/src/linux-2.6.34-gentoo-r10/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-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_versions/*
make -f /usr/src/linux-2.6.34-gentoo-r10/scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv
(cat /dev/null; echo kernel//var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.ko;) > /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/modules.order
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -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-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nv_gvi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -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-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_nv_gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv_gvi.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -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-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv-vm.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/os-agp.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/os-registry.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/os-interface.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nv-i2c.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv-i2c.c
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nvacpi.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.tmp_nvacpi.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvacpi.c
x86_64-pc-linux-gnu-ld -r -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv-kernel.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv_gvi.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv-vm.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/os-agp.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/os-interface.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/os-registry.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv-i2c.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvacpi.o
make -f /usr/src/linux-2.6.34-gentoo-r10/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-2.6.34-gentoo-r10/Module.symvers -I /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/Module.symvers -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/Module.symvers -S -w -c -s
WARNING: could not find /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nv-kernel.o.cmd for /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nv-kernel.o
x86_64-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r10/arch/x86/include -Iinclude -I/usr/src/linux-2.6.34-gentoo-r10/include -include include/generated/autoconf.h -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -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 -O2 -m64 -march=core2 -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=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 -fno-dwarf2-cfi-asm -fconserve-stack -I/var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -mcmodel=kernel -mno-red-zone -fno-defer-pop -MD -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"195.36.31\" -UDEBUG -U_DEBUG -DNDEBUG -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.mod.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.mod.c
x86_64-pc-linux-gnu-ld -r -T /usr/src/linux-2.6.34-gentoo-r10/scripts/module-common.lds --build-id -o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.ko /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.o /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/work/NVIDIA-Linux-x86_64-195.36.31-pkg2/usr/src/nv/nvidia.mod.o
NVIDIA: left KBUILD.
>>> Source compiled.
>>> Test phase [not enabled]: x11-drivers/nvidia-drivers-195.36.31
>>> Install nvidia-drivers-195.36.31 into /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/image/ category x11-drivers
* Installing nvidia module
>>> Completed installing nvidia-drivers-195.36.31 into /var/tmp/portage/x11-drivers/nvidia-drivers-195.36.31/image/
ecompressdir: bzip2 -9 /usr/share/man
>>> Installing (1 of 1) x11-drivers/nvidia-drivers-195.36.31
* checking 105 files for package collisions
* Updating module dependencies for 2.6.34-gentoo-r10 ... [ ok ]
* Adding module to moduledb.
--- /usr/
--- /usr/lib32/
>>> /usr/lib32/libOpenCL.so.1.0.0
>>> /usr/lib32/libnvidia-compiler.so.195.36.31
>>> /usr/lib32/libvdpau_nvidia.so.195.36.31
>>> /usr/lib32/vdpau/
>>> /usr/lib32/libcuda.so.195.36.31
--- /usr/lib32/opengl/
>>> /usr/lib32/opengl/nvidia/
>>> /usr/lib32/opengl/nvidia/lib/
>>> /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libGLcore.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libGL.so.195.36.31
--- /usr/bin/
>>> /usr/bin/nvidia-smi
>>> /usr/bin/nvidia-bug-report.sh
>>> /usr/bin/nvidia-xconfig
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/nvidia-xconfig.1.bz2
>>> /usr/share/man/man1/nvidia-smi.1.bz2
--- /usr/share/doc/
>>> /usr/share/doc/nvidia-drivers-195.36.31/
>>> /usr/share/doc/nvidia-drivers-195.36.31/XF86Config.sample.bz2
>>> /usr/share/doc/nvidia-drivers-195.36.31/README.bz2
>>> /usr/share/doc/nvidia-drivers-195.36.31/NVIDIA_Changelog.bz2
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/xvmcsupport.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/xrandrextension.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/xineramaglx.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/xconfigoptions.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/xcompositeextension.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/vdpausupport.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/supportedchips.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/sli.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/selectdriver.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/sdi.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/programmingmodes.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/procinterface.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/powermanagement.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/openglenvvariables.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/nvidiasettings.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/newusertips.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/minimumrequirements.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/knownissues.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/introduction.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/installedcomponents.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/installdriver.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/installationandconfiguration.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/index.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/i2c.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/glxsupport.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/framelock.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/flippingubb.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/faq.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/editxconfig.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/dpi.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/dma_issues.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/displaydevicenames.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/depth30.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/configuringagp.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/configtwinview.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/configtvout.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/configmultxscreens.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/configlaptop.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/commonproblems.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/appendices.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/addtlresources.html
>>> /usr/share/doc/nvidia-drivers-195.36.31/html/acknowledgements.html
--- /usr/include/
>>> /usr/include/CL/
>>> /usr/include/CL/cl_platform.h
>>> /usr/include/CL/cl_gl.h
>>> /usr/include/CL/cl.h
>>> /usr/include/cuda/
>>> /usr/include/cuda/cudaGL.h
>>> /usr/include/cuda/cuda.h
--- /usr/lib64/
>>> /usr/lib64/libOpenCL.so.1.0.0
>>> /usr/lib64/libnvidia-compiler.so.195.36.31
>>> /usr/lib64/libvdpau_nvidia.so.195.36.31
>>> /usr/lib64/vdpau/
>>> /usr/lib64/libcuda.so.195.36.31
>>> /usr/lib64/libXvMCNVIDIA.so.195.36.31
>>> /usr/lib64/libXvMCNVIDIA.a
--- /usr/lib64/opengl/
>>> /usr/lib64/opengl/nvidia/
>>> /usr/lib64/opengl/nvidia/lib/
>>> /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libGLcore.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libGL.so.195.36.31
>>> /usr/lib64/opengl/nvidia/extensions/
>>> /usr/lib64/opengl/nvidia/extensions/libglx.so.195.36.31
--- /usr/lib64/xorg/
--- /usr/lib64/xorg/modules/
--- /usr/lib64/xorg/modules/drivers/
>>> /usr/lib64/xorg/modules/drivers/nvidia_drv.so
>>> /usr/lib64/libnvidia-cfg.so.195.36.31
--- /etc/
--- /etc/OpenCL/
--- /etc/OpenCL/vendors/
>>> /etc/OpenCL/vendors/nvidia.icd
--- /etc/modprobe.d/
>>> /etc/modprobe.d/nvidia.conf
--- /lib/
--- /lib/modules/
--- /lib/modules/2.6.34-gentoo-r10/
--- /lib/modules/2.6.34-gentoo-r10/video/
>>> /lib/modules/2.6.34-gentoo-r10/video/nvidia.ko
>>> /usr/lib32/libOpenCL.so.1 -> libOpenCL.so.1.0.0
>>> /usr/lib32/libnvidia-compiler.so.1 -> libnvidia-compiler.so.195.36.31
>>> /usr/lib32/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.195.36.31
>>> /usr/lib32/libcuda.so.1 -> libcuda.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libnvidia-tls.so -> libnvidia-tls.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libGL.so.1 -> libGL.so.195.36.31
>>> /usr/lib32/opengl/nvidia/lib/libGL.so -> libGL.so.195.36.31
>>> /usr/lib64/libOpenCL.so.1 -> libOpenCL.so.1.0.0
>>> /usr/lib64/libnvidia-compiler.so.1 -> libnvidia-compiler.so.195.36.31
>>> /usr/lib64/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.195.36.31
>>> /usr/lib64/libcuda.so.1 -> libcuda.so.195.36.31
>>> /usr/lib64/libXvMCNVIDIA.so -> libXvMCNVIDIA.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libnvidia-tls.so -> libnvidia-tls.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libGLcore.so.1 -> libGLcore.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libGLcore.so -> libGLcore.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libGL.so.1 -> libGL.so.195.36.31
>>> /usr/lib64/opengl/nvidia/lib/libGL.so -> libGL.so.195.36.31
>>> /usr/lib64/opengl/nvidia/extensions/libglx.so -> /usr/lib64/opengl/nvidia/extensions/libglx.so.195.36.31
>>> /usr/lib32/libOpenCL.so -> libOpenCL.so.1
>>> /usr/lib32/libnvidia-compiler.so -> libnvidia-compiler.so.1
>>> /usr/lib32/libcuda.so -> libcuda.so.1
>>> /usr/lib64/libOpenCL.so -> libOpenCL.so.1
>>> /usr/lib64/libnvidia-compiler.so -> libnvidia-compiler.so.1
>>> /usr/lib64/libcuda.so -> libcuda.so.1
* Updating module dependencies for 2.6.34-gentoo-r10 ... [ ok ]
Switching to xorg-x11 OpenGL interface... done
* You must be in the video group to use the NVIDIA device
* For more info, read the docs at
* http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
*
* This ebuild installs a kernel module and X driver. Both must
* match explicitly in their version. This means, if you restart
* X, you must modprobe -r nvidia before starting it back up
*
* To use the NVIDIA GLX, run "eselect opengl set nvidia"
*
* NVIDIA has requested that any bug reports submitted have the
* output of /usr/bin/nvidia-bug-report.sh included.
*
* To work with compiz, you must enable the AddARGBGLXVisuals option.
*
* If you are having resolution problems, try disabling DynamicTwinView.
>>> Regenerating /etc/ld.so.cache...
* Messages for package x11-drivers/nvidia-drivers-195.36.31:
* You must be in the video group to use the NVIDIA device
* For more info, read the docs at
* http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
*
* This ebuild installs a kernel module and X driver. Both must
* match explicitly in their version. This means, if you restart
* X, you must modprobe -r nvidia before starting it back up
*
* To use the NVIDIA GLX, run "eselect opengl set nvidia"
*
* NVIDIA has requested that any bug reports submitted have the
* output of /usr/bin/nvidia-bug-report.sh included.
*
* To work with compiz, you must enable the AddARGBGLXVisuals option.
*
* If you are having resolution problems, try disabling DynamicTwinView.
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
|
|
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Mon Oct 04, 2010 4:10 am Post subject: |
|
|
It appears as if your installation of nvidia-drivers went well. What is most likely happening is that you can't start X. This is because nvidia-drivers require an /etc/x11/org.conf file. While xorg-server 1.7 and up don't require an /etc/x11/org.conf file for every other driver one can use, it is a must for nvidia-drivers.
Here is one I use. Edit it as needed, or try it full on first. If you still have issues, post your /var/log/Xorg.0.log after X failure.
Code: | # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Oct 31 15:05:49 PST 2008
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
Option "AIGLX" "true"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/default/ghostscript/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "record"
Load "dbe"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "G72 [GeForce 7300 SE]"
Option "TripleBuffer" "True"
# added for xfce-4.6
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
#for xfce-4.6.x
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection |
Oh, and post your current kernel .config via pastebin. See my sig for a link.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Oct 04, 2010 4:17 am Post subject: |
|
|
http://pastebin.com/GWREszrz
My xorg.conf for nvidia is as follows:
Code: |
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Thu Jun 3 09:41:37 PDT 2010
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG W2453"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 260"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "DFP-0"
Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1920+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
|
|
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Mon Oct 04, 2010 8:21 am Post subject: |
|
|
1clue wrote: | ... It says (full trace below) that my kernel config is bad |
I have been shocked as well when emerging nvidia-drivers for the first time...
Just read more carefully...
It does *not* actually say : "ERROR: Kernel configuration is invalid."
It says Code: | echo " ERROR: Kernel configuration is invalid" |
Which is slightly different. The ERROR... would have been echoed if you had had an error.
What you see as traces are *not* traces from the build, but echoes of lines of code.
So do not worry for that, as Pappy wrote, your installation went well.
If it helps, this is a more minimalistic xorg.conf that should be far enough :
Code: | Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
|
BTW this has been automatically generated by the nvidia-xconfig utility you should get and from which I strongly suggest you start for configuring your xorg xonfiguration file.
BTW, being helped on this forum does not mean you can safely forget reading the documentation coming with the packages you install... |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Mon Oct 04, 2010 9:01 am Post subject: |
|
|
1clue,
I forgot to ask you to post your /etc/fstab file. I'll need it to make sure your file systems are set properly.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Oct 04, 2010 9:00 pm Post subject: |
|
|
@aCOSwt,
If you look at my xorg.conf, it tells you that it was generated by nvidia-xconfig. My version is evidently much more verbose than yours?
As well, I've had the nvidia driver installed before, but with the new kernel it isn't working.
That said, I looked again at the output and you're right, it doesn't say it's invalid and it doesn't say it failed. Thanks for pointing that out.
I've probably compiled kernels for Gentoo on this box over 30 times. None of them are completely happy, and I keep throwing them out since I manage to mess them up after fighting with it for awhile.
@pappy,
Code: | # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/md1 /boot ext2 defaults,noatime 1 2
/dev/md2 / ext3 noatime 0 1
/dev/md3 /spare ext3 noauto,noatime 0 0
/dev/mapper/vg1-gentoo--opt /opt ext3 noatime 0 2
/dev/mapper/vg1-gentoo--usr /usr ext3 noatime 0 2
/dev/mapper/vg1-shared--vmware /vmware xfs noatime 0 2
/dev/mapper/vg2-gentoo--home /home ext3 noatime 0 2
/dev/mapper/vg2-gentoo--usr--portage /usr/portage ext2 noatime 0 2
/dev/mapper/vg2-gentoo--usr--portage--distfiles /usr/portage/distfiles ext2 noatime 0 2
/dev/mapper/vg2-gentoo--var /var ext3 noatime 0 2
/dev/mapper/vg2-gentoo--var--lib--mysql /var/lib/mysql reiserfs defaults,noatime 0 2
/dev/mapper/vg2-shared--archives /archives xfs noatime 0 2
/dev/sda2 none swap sw 0 0
/dev/sdb2 none swap sw 0 0
/dev/sdc2 none swap sw 0 0
/dev/sdd2 none swap sw 0 0
tmpfs /var/tmp/portage tmpfs rw,size=4608m 0 0
|
and here's my disk format, all 4 disks are approximately the same, but I split up in pairs for the volumes:
Code: | # fdisk -l /dev/sda
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d6eb1
Device Boot Start End Blocks Id System
/dev/sda1 * 1 34 273073+ fd Linux raid autodetect
/dev/sda2 35 1602 12594960 82 Linux swap / Solaris
/dev/sda3 1603 4867 26226112+ fd Linux raid autodetect
/dev/sda4 4868 91201 693477855 5 Extended
/dev/sda5 4868 30976 209720511 fd Linux raid autodetect
/dev/sda6 30977 57085 209720511 fd Linux raid autodetect
/dev/sda7 57086 91201 274036738+ fd Linux raid autodetect
|
VG1 uses "even" disks and VG2 uses "odd" disks. I tried for code on one and data on the other, but you know how that goes.
Code: |
# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
gentoo-opt vg1 -wi-ao 2.00g
gentoo-usr vg1 -wi-ao 8.00g
shared-vmware vg1 -wi-ao 100.00g
gentoo-home vg2 -wi-ao 10.00g
gentoo-usr-portage vg2 -wi-ao 2.00g
gentoo-usr-portage-distfiles vg2 -wi-ao 6.00g
gentoo-var vg2 -wi-ao 2.00g
gentoo-var-lib-mysql vg2 -wi-ao 2.00g
shared-archives vg2 -wi-ao 120.00g
|
|
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Mon Oct 04, 2010 10:38 pm Post subject: |
|
|
Cool. I'll take a closer look when I get home later on this evening.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Mon Oct 04, 2010 11:54 pm Post subject: |
|
|
I think I have a fairly good handle on the disk array.
I'm considering converting everything out of ext2 since you can't resize ext2 on the fly, but I don't need help with that.
My issue is strictly with the kernel and its features.
One thing that I have on my old kernel that's gone now, is the CPU frequency stuff. I have performance and ondemand in the list, but I used to also have the ability to pin it at one of maybe 8 or 10 frequencies. Come to think of it I've never really used anything except ondemand or performance, but it was need to play with when I'm bored.
I haven't even started testing the video stream stuff, first I want to get the basic every-day stuff going, and really I can mess around on my own for that. My biggest issue is using all the processor features and the normal stuff. Dual monitors doesn't do much good if they both show the same thing.
Thanks. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Oct 05, 2010 1:13 am Post subject: |
|
|
You weren't too far off. The jmicron is mislabeled. It is actually an AHCI device. When working with hard drive drivers and file systems, you want to install them directly into the kernel. As far as KVM, I'm not versed in it. I believe the settings need to be compiled into the kernel.
Click here for your new .config. Compile as is.
For the best results, please do the following:
1) Move your .config file out of your kernel source directory (/usr/src/linux- ).
2) Issue the command make mrproper. This is a destructive step. It returns the source to pristine condition. Unmoved .config files will be deleted!
3) Copy my .config into your source directory.
4) Issue the command make && make modules_install.
5) Install the kernel as you normally would, and reboot.
6) Once it boots, please post /var/log/dmesg so I can see how things loaded.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Tue Oct 05, 2010 1:50 am Post subject: |
|
|
Hang on, I posted it here but it was cut off. I'm going back to your other site.
http://pastebin.com/1ECFu1Fi
Now I'm going to try to remake the xorg.conf as recommended and see if that does anything.
Thanks. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Tue Oct 05, 2010 2:07 am Post subject: |
|
|
The abbreviated xorg.conf did not find any screens. There are 2 of them.
The previously generated xorg.conf didn't work either, but I didn't really grab the log.
Now I'm going to generate another one with the same tool, on the off chance that your changes made the generated file be different. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Oct 05, 2010 6:06 am Post subject: |
|
|
I don't like the look of what I'm seeing. Give this a try instead. This should at least clear up the jmicron pata issue.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Oct 05, 2010 6:07 am Post subject: |
|
|
Also, please post your /var/log/Xorg.0.log file.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Tue Oct 05, 2010 3:10 pm Post subject: |
|
|
This will have to wait until I get home.
Thanks. |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Wed Oct 06, 2010 1:45 am Post subject: |
|
|
dmesg:
http://pastebin.com/286ecVRX
Xorg.0.log:
Code: |
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.33-gentoo-r2a x86_64
Current Operating System: Linux Hermes 2.6.34-gentoo-r10 #1 SMP PREEMPT Tue Oct 5 20:28:18 CDT 2010 x86_64
Kernel command line: root=/dev/md2
Build Date: 08 August 2010 02:22:12PM
Current version of pixman: 0.18.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 5 20:35:14 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "Monitor0"
(**) | |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF,
/usr/share/fonts/Type1/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib64/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x7c26c0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7
(--) PCI: (0:1:0:0) 14f1:8880:0070:2259 Conexant Systems, Inc. Hauppauge Inc. HDPVR-1250 model 1196 rev 4, Mem @ 0xdfe00000/2097152
(--) PCI:*(0:2:0:0) 10de:05e2:196e:064b nVidia Corporation GT200 [GeForce GTX 260] rev 161, Mem @ 0xf2000000/16777216, 0xc0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000ac00/128, BIOS @ 0x????????/524288
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.13.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA: system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
|
|
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Oct 06, 2010 4:48 am Post subject: |
|
|
I'm still not happy with what I'm seeing as far as kernel driver errors. Those might be because of the newness of your machine. You could try a more recent kernel version, and see if that cures those errors. If not, post them as kernel bugs, and see where that goes.
As for X, it's not finding the nvidia module. That has to load or you won't be able to start. Did you run make modules_install after the new kernel was compiled? Did you emerge nvidia-drivers with /usr/src/linux pointing to /usr/src/linux-2.6.34-gentoo-r10 after compiling the kernel with this latest .config?
Also, you need to run this command:
Code: | emerge acpi acpid && rc-update add acpid default |
to give you acpi socket support under X.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Wed Oct 06, 2010 6:36 am Post subject: |
|
|
pappy_mcfae wrote: | I'm still not happy with what I'm seeing |
+1
You could also check for the availability of a BIOS update. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed Oct 06, 2010 8:51 am Post subject: |
|
|
It's weird, for sure. I just set up another guy with an I7 laptop, and it booted with nary an error.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|