Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: nvidia module, __raw_spin_lock_init
Date: Fri, 24 Feb 2012 20:07:18
Message-Id: CAK2H+ec5AHYKTJjZ0mFA6o2QC0zCz5OgHbXA3oUr7RVO2+cvTw@mail.gmail.com
In Reply to: [gentoo-user] Re: nvidia module, __raw_spin_lock_init by Michael Mol
1 On Fri, Feb 24, 2012 at 11:56 AM, Michael Mol <mikemol@×××××.com> wrote:
2 > On Fri, Feb 24, 2012 at 12:49 PM, Michael Mol <mikemol@×××××.com> wrote:
3 >> Is anyone else able to get nvidia-drivers 290.10 to load into a kernel
4 >> from gentoo-sources 3.2.1-r2? This box has been headless for so long,
5 >> I really don't have a good baseline comparison.
6 >>
7 >> When I try to load the module, I get "nvidia: Unknown symbol
8 >> __raw_spin_lock_init (err 0)".
9 >
10 > Figured out that one; I had to enable DEBUG_SPINLOCK.
11 >
12 > Now I'm trying to figure out why I get:
13 >
14 > [   30.650581] NVRM: Can't find an IRQ for your NVIDIA card!
15 > [   30.650587] NVRM: Please check your BIOS settings.
16 > [   30.650591] NVRM: [Plug & Play OS] should be set to NO
17 > [   30.650595] NVRM: [Assign IRQ to VGA] should be set to YES
18 > [   30.650610] nvidia: probe of 0000:01:00.0 failed with error -1
19 > [   30.650634] NVRM: The NVIDIA probe routine failed for 1 device(s).
20 > [   30.650636] NVRM: None of the NVIDIA graphics adapters were initialized!
21 >
22 > lspci -kvv shows:
23 > 01:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce
24 > 210] (rev a2) (prog-if 00 [VGA controller])
25 >        Subsystem: Micro-Star International Co., Ltd. Device 2011
26 >        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
27 > ParErr- Stepping- SERR+ FastB2B- DisINTx-
28 >        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
29 > <TAbort- <MAbort- >SERR- <PERR- INTx-
30 >        Latency: 0, Cache Line Size: 64 bytes
31 >        Interrupt: pin A routed to IRQ 18
32 >        Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
33 >        Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
34 >        Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
35 >        Region 5: I/O ports at cc00 [size=128]
36 >        Expansion ROM at fb200000 [disabled] [size=512K]
37 >        Capabilities: <access denied>
38 >        Kernel modules: nvidia
39 >
40 > Any ideas?
41 >
42 > --
43 > :wq
44 >
45
46 I'm currently running 295.20 but I'm fairly sure I ran 295.10 also
47 with my GTX465. If there's something specific you want I'll send it
48 off list.
49
50 TH,
51 Mark
52
53 mark@c2stable ~ $ uname -a
54 Linux c2stable 3.2.1-gentoo-r2 #1 SMP PREEMPT Thu Jan 26 12:41:42 PST
55 2012 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
56 GNU/Linux
57 mark@c2stable ~ $ eix -I nvidia-drivers
58 [I] x11-drivers/nvidia-drivers
59 Available versions: 96.43.20!s 173.14.31!s 275.09.07!s
60 (~)275.43!s 290.10!s (~)290.10-r2!s (~)295.20-r1!s (~)295.20-r1!s[1]
61 {acpi custom-cflags gtk kernel_linux multilib}
62 Installed versions: 295.20-r1!s(02:33:05 PM 02/18/2012)(acpi gtk
63 kernel_linux multilib -custom-cflags)
64 Homepage: http://www.nvidia.com/
65 Description: NVIDIA X11 driver and GLX libraries
66
67 [1] "init6" /var/lib/layman/init6
68 mark@c2stable ~ $
69
70 04:00.0 VGA compatible controller: nVidia Corporation Device 10c3 (rev
71 a2) (prog-if 00 [VGA controller])
72 Subsystem: eVga.com. Corp. Device 1301
73 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
74 ParErr- Stepping- SERR- FastB2B- DisINTx-
75 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
76 <TAbort- <MAbort- >SERR- <PERR- INTx-
77 Latency: 0
78 Interrupt: pin A routed to IRQ 32
79 Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
80 Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]
81 Region 3: Memory at ce000000 (64-bit, prefetchable) [size=32M]
82 Region 5: I/O ports at ac00 [size=128]
83 [virtual] Expansion ROM at fba00000 [disabled] [size=512K]
84 Capabilities: [60] Power Management version 3
85 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
86 PME(D0-,D1-,D2-,D3hot-,D3cold-)
87 Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
88 Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
89 Address: 0000000000000000 Data: 0000
90 Capabilities: [78] Express (v2) Endpoint, MSI 00
91 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
92 unlimited, L1 <64us
93 ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
94 DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
95 Unsupported-
96 RlxdOrd+ ExtTag+ PhantFunc- AuxPwr- NoSnoop+
97 MaxPayload 128 bytes, MaxReadReq 512 bytes
98 DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
99 AuxPwr- TransPend-
100 LnkCap: Port #2, Speed 5GT/s, Width x16, ASPM L0s L1,
101 Latency L0 <512ns, L1 <4us
102 ClockPM+ Surprise- LLActRep- BwNot-
103 LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
104 ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
105 LnkSta: Speed 5GT/s, Width x8, TrErr- Train- SlotClk+
106 DLActive- BWMgmt- ABWMgmt-
107 DevCap2: Completion Timeout: Not Supported, TimeoutDis+
108 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
109 LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance-
110 SpeedDis-, Selectable De-emphasis: -6dB
111 Transmit Margin: Normal Operating Range,
112 EnterModifiedCompliance- ComplianceSOS-
113 Compliance De-emphasis: -6dB
114 LnkSta2: Current De-emphasis Level: -6dB
115 Capabilities: [b4] Vendor Specific Information: Len=14 <?>
116 Capabilities: [100 v1] Virtual Channel
117 Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
118 Arb: Fixed- WRR32- WRR64- WRR128-
119 Ctrl: ArbSelect=Fixed
120 Status: InProgress-
121 VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
122 Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
123 Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
124 Status: NegoPending- InProgress-
125 Capabilities: [128 v1] Power Budgeting <?>
126 Capabilities: [600 v1] Vendor Specific Information: ID=0001
127 Rev=1 Len=024 <?>
128 Kernel driver in use: nvidia
129 Kernel modules: nvidia
130
131 c2stable ~ # lsmod
132 Module Size Used by
133 vmnet 32295 15
134 vmblock 9675 0
135 vsock 35510 2
136 vmci 55922 2 vsock
137 vmmon 56524 5
138 snd_seq_dummy 1486 0
139 snd_seq_oss 24001 0
140 snd_seq_midi_event 6267 1 snd_seq_oss
141 snd_seq 45249 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
142 snd_seq_device 5862 3 snd_seq_dummy,snd_seq_oss,snd_seq
143 snd_pcm_oss 32440 0
144 snd_mixer_oss 12577 1 snd_pcm_oss
145 vboxnetadp 4720 0
146 vboxnetflt 13187 0
147 vboxdrv 1760062 3 vboxnetadp,vboxnetflt
148 nvidia 12273751 86
149 snd_hda_codec_hdmi 22515 8
150 snd_hda_codec_analog 80332 1
151 snd_hda_intel 21859 17
152 snd_hda_codec 73488 3
153 snd_hda_codec_hdmi,snd_hda_codec_analog,snd_hda_intel
154 snd_hwdep 5508 1 snd_hda_codec
155 snd_pcm 74632 8
156 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
157 snd_timer 18381 6 snd_seq,snd_pcm
158 snd 58592 38
159 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_hdmi,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
160 agpgart 31204 1 nvidia
161 soundcore 6750 1 snd
162 snd_page_alloc 7340 2 snd_hda_intel,snd_pcm
163 sky2 42709 0
164 i2c_i801 7674 0
165 c2stable ~ # modinfo nvidia
166 filename: /lib/modules/3.2.1-gentoo-r2/video/nvidia.ko
167 alias: char-major-195-*
168 version: 295.20
169 supported: external
170 license: NVIDIA
171 alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
172 alias: pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
173 alias: pci:v000010DEd*sv*sd*bc03sc02i00*
174 alias: pci:v000010DEd*sv*sd*bc03sc00i00*
175 depends: agpgart
176 vermagic: 3.2.1-gentoo-r2 SMP preempt mod_unload modversions
177 parm: NVreg_EnableVia4x:int
178 parm: NVreg_EnableALiAGP:int
179 parm: NVreg_ReqAGPRate:int
180 parm: NVreg_EnableAGPSBA:int
181 parm: NVreg_EnableAGPFW:int
182 parm: NVreg_Mobile:int
183 parm: NVreg_ResmanDebugLevel:int
184 parm: NVreg_RmLogonRC:int
185 parm: NVreg_ModifyDeviceFiles:int
186 parm: NVreg_DeviceFileUID:int
187 parm: NVreg_DeviceFileGID:int
188 parm: NVreg_DeviceFileMode:int
189 parm: NVreg_RemapLimit:int
190 parm: NVreg_UpdateMemoryTypes:int
191 parm: NVreg_InitializeSystemMemoryAllocations:int
192 parm: NVreg_UseVBios:int
193 parm: NVreg_RMEdgeIntrCheck:int
194 parm: NVreg_UsePageAttributeTable:int
195 parm: NVreg_EnableMSI:int
196 parm: NVreg_MapRegistersEarly:int
197 parm: NVreg_RegisterForACPIEvents:int
198 parm: NVreg_RegistryDwords:charp
199 parm: NVreg_RmMsg:charp
200 parm: NVreg_NvAGP:int
201 c2stable ~ #