You are not logged in.

#1 2011-04-13 09:55:19

marduk
Member
Registered: 2007-07-18
Posts: 12

2.6.38 breaks nvidia driver?

I've been using my stripped-off kernel config since 2.6.35 or so. After upgrading to 2.6.38 the nvidia.ko module woks with kernel from repository, but no longer loads when I'm running my custom kernel config:

[ 453.278900] NVRM: request_mem_region failed for 175M @ 0xfb000000. This
can
[ 453.278901] NVRM: occur when a driver such as rivatv is loaded and claims
[ 453.278902] NVRM: ownership of the device's registers.
[ 453.279085] nvidia: probe of 0000:0a:00.0 failed with error -1
[ 453.279128] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 453.279129] NVRM: None of the NVIDIA graphics adapters were initialized!

Of course I reinstalled the nvidia driver from abs after recompiling the kernel. The config is basically the same stuff as in the repo (including 2.6.38 features such as process groups, transparent hugepages and compaction, but with drivers to the installed hw only). I don't have any other modules that claims video card. Nouveau is blacklisted:

$ pacman -Qo /etc/modprobe.d/nouveau_blacklist.conf
/etc/modprobe.d/nouveau_blacklist.conf is owned by nvidia 270.41.03-1

$ cat /etc/modprobe.d/nouveau_blacklist.conf
blacklist nouveau

Installed packages:

$ pacman -Q | egrep "nvidia|kernel26"
kernel26 2.6.38.2-1
kernel26-docs 2.6.38.2-1
kernel26-headers 2.6.38.2-1
kernel26-manpages 2.6.38-1
nvidia 270.41.03-1
nvidia-utils 270.41.03-1

I've tried to go through the kernel configuration process again but to the same affect. I've uploaded my kernel config for your reference here and below is the lspci for reference.

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400M GS] (rev a1)
03:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
0c:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)

Last edited by marduk (2011-04-13 10:00:35)

Offline

#2 2011-04-13 10:12:34

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: 2.6.38 breaks nvidia driver?

You have to recompile when running the kernel, else it would install for the RUNNING kernel rather than the new one you've installed (but are not running).

Take a look at nvidia-all from the AUR, or simply compile the package when logged into the new kernel. 2.6.38 works with nvidia for sure (am running that here).

You could also use the nvidia pcakge from extra since the kernel in [core] is 2.6.38 as well, I think.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-04-13 10:14:55

marduk
Member
Registered: 2007-07-18
Posts: 12

Re: 2.6.38 breaks nvidia driver?

ngoonee wrote:

You have to recompile when running the kernel, else it would install for the RUNNING kernel rather than the new one you've installed (but are not running).

Yep, this is how I do it..

Offline

#4 2011-04-13 12:35:16

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: 2.6.38 breaks nvidia driver?

You may want to/have to start cutting down from the 'full' config then. The other thing to check is whether any nouveau-related stuff is compiled in (I have some as modules and they don't interfere, in my own custom kernel).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2011-04-13 19:37:35

marduk
Member
Registered: 2007-07-18
Posts: 12

Re: 2.6.38 breaks nvidia driver?

ngoonee wrote:

You may want to/have to start cutting down from the 'full' config then. The other thing to check is whether any nouveau-related stuff is compiled in (I have some as modules and they don't interfere, in my own custom kernel).

Yep, I'm working on it. By the way, the error in dmesh now says about 3953M memory while I only have 2GB RAM - ain't it strange?

NVRM: request_mem_region failed for 3953M @ 0xfdffffff. This can
NVRM: occur when a driver such as rivatv is loaded and claims
NVRM: ownership of the device's registers.
nvidia: probe of 0000:01:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!

Here's also my lsmod output with custom kernel where nvidia doesn't load:

$ lsmod
Module                  Size  Used by
ipv6                  242632  12
usbhid                 30619  0
hid                    60993  1 usbhid
snd_seq_dummy           1095  0
snd_seq_oss            24112  0
snd_seq_midi_event      4416  1 snd_seq_oss
snd_seq                40760  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          4257  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            32830  0
snd_mixer_oss          12685  1 snd_pcm_oss
vboxdrv               217720  1
snd_hda_codec_idt      46926  1
arc4                    1086  2
ecb                     1605  2
snd_hda_intel          18572  0
b43                   270372  0
snd_hda_codec          54014  2 snd_hda_codec_idt,snd_hda_intel
uhci_hcd               19139  0
mac80211              152585  1 b43
ehci_hcd               34242  0
snd_hwdep               4652  1 snd_hda_codec
firewire_ohci          24613  0
sdhci_pci               6715  0
snd_pcm                58373  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
cpufreq_powersave        674  0
sdhci                  14035  1 sdhci_pci
usbcore               113548  4 usbhid,uhci_hcd,ehci_hcd
intel_agp               8560  0
i2c_i801                6276  0
cfg80211              123547  2 b43,mac80211
firewire_core          41601  1 firewire_ohci
b44                    24289  0
snd_timer              14927  2 snd_seq,snd_pcm
snd                    41461  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
cpufreq_ondemand        7488  2
ssb                    33148  2 b43,b44
mii                     3214  1 b44
crc_itu_t               1069  1 firewire_core
intel_gtt              11225  1 intel_agp
thermal                 6470  0
soundcore               4833  1 snd
button                  3858  0
ac                      2441  0
agpgart                21234  2 intel_agp,intel_gtt
battery                 8386  0
acpi_cpufreq            5045  1
dell_laptop             6751  0
i2c_core               15565  1 i2c_i801
snd_page_alloc          5773  2 snd_hda_intel,snd_pcm
mmc_core               56601  3 b43,sdhci,ssb
freq_table              2015  2 cpufreq_ondemand,acpi_cpufreq
power_supply            5392  3 ac,battery,dell_laptop
sg                     20276  0
dcdbas                  4308  1 dell_laptop
evdev                   7083  0
psmouse                33833  0
processor              21421  3 acpi_cpufreq
thermal_sys            11573  2 thermal,processor
hwmon                   1105  1 thermal_sys
mperf                    995  1 acpi_cpufreq
ext3                  112160  2
jbd                    39331  1 ext3
mbcache                 4218  1 ext3
sd_mod                 25207  4
sr_mod                 12774  0
cdrom                  30867  1 sr_mod

Offline

#6 2011-04-13 19:41:57

duckshaft
Member
From: London
Registered: 2011-03-28
Posts: 48

Re: 2.6.38 breaks nvidia driver?

nvidia-173xx has stopped working for me, had to switch to standard 'nvidia' package, which causes serious fps drops with my old graphics card. (6700 XL) Anyone know a way around this?

Offline

#7 2011-04-14 10:13:18

marduk
Member
Registered: 2007-07-18
Posts: 12

Re: 2.6.38 breaks nvidia driver?

I've disabled transparent hugepages and now the error is slightly different.

nvidia: Unknown symbol pv_mmu_ops (err 0)
nvidia: Unknown symbol pv_cpu_ops (err 0)
nvidia: Unknown symbol pv_irq_ops (err 0)

Full dmesg output is available by the link

Offline

Board footer

Powered by FluxBB