Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › Leopard 10.5 › Kernel Panic on using NVinject drivers
8,066 reads · 2008-03-16 – 2008-03-20
Report Leopard 10.5 NVIDIA GeForce

Kernel Panic on using NVinject drivers

I figured out, that a kernel panic, which was produced after install, could solved for me using this guide. http://osx86.wikidot.com/known-issues#toc1 So I removed the Geforce/NV-Kexts and I could boot up. But without the NVinject-drivers…

Primary Author
@anna Published 2008-03-16
Collection
Leopard 10.5
Archival Footprint
8,066 historical reads · 35 curated field notes (from 43 dispatches) · 2008-03-16 – 2008-03-20
Credited Voices (7)
@farcaller (13)@Ianxxx (11)@roisoft (7)@WinLinMac01 (6)@anna (4)@Puttabong@gully666uk

I figured out, that a kernel panic, which was produced after install, could solved for me using this guide. http://osx86.wikidot.com/known-issues#toc1 ↗
So I removed the Geforce/NV-Kexts and I could boot up. But without the NVinject-drivers the whole aqua-UI was lame and lazy, so I tried to reinstall the NVinject drivers manually. But after reboot the same kernel panic again (even tried all boot switches).
What can I do, to make the drivers work, or what could have caused this issue?

Author Updates & Technical Revisions

Follow-up dispatches by @anna

Author Update #1 @anna 2008-03-16

Ok, you're right. i installed the latest release (10.5.2 rev2) and i have a geforce 7600 gs on agp-port running.
But just now, I recognized, that my graphics card is detected in system information under leopard as PCI connected!?

Author Update #2 @anna 2008-03-17

I followed the comments of this thread to find a solution, but can you briefly sum up (in some steps), what you exactly have done to get the nvinject drivers working? Maybe we could even add this issue to the wiki, if zephyroth agrees, that it might be helpful.
That would be very nice, thanks.

Author Update #3 @anna 2008-03-20

I've tried your guide farcaller, thanks so far. But I couldn't manage it to get it workin'

I feel helpless, do you have any idea what I have done wrong? Or what else can be responsable for this issue?
I think maybe I should post on the NVinject forums, it seems, that my NVCAP key is wrong.

Synthesized Community Field Notes

35 technical responses curated from 43 original dispatches

Field Note #1 @Ianxxx 2008-03-16

Might help to tell us what graphics card you are using, what version of leopard?

Field Note #2 @Ianxxx 2008-03-16

I can't give you the info myself as I'm using pci, but I'm sure I've read issues about agp either on this forum or insanelymac, if you browse around I'm sure you'll find the info is here somewhere

Field Note #3 @WinLinMac01 2008-03-16

When did you inject the Nvidia drivers, before or after the installation?

Field Note #4 @farcaller 2008-03-17

Ah, welcome to the club try "leo_vid_kexts.zip" from rapidshare. That might solve your problem. Might not.

I've got GeforceGo 7600 btw. It seems that 7600 series are troublesome.

Field Note #5 @WinLinMac01 2008-03-17

7600's are troublesome. Sorry to say that, but its simply true.

Field Note #6 @roisoft 2008-03-17

@ WinLinMac01, I think, you are talking about 7950 not 7600. This card is absollutly supported, i have 3x7600, 1x7300 1x7950, and all are working perfect. Another thing is the laptop version (GO) or AGP version. Go here ↗ and take a look.

Field Note #7 @Puttabong 2008-03-17

I have a GeForce 7600 GT and it's truly an out of the box experience I love it!

Field Note #8 @roisoft 2008-03-17

@farcaller, are you using nvinjectgo.kext and the correct device ID for your card?

Field Note #9 @Ianxxx 2008-03-17

In defence of winlinmac I've heard a few people complaining that they can't get their 7600gs to work.

Field Note #10 @WinLinMac01 2008-03-17

I should really read what I am typing before I post. You are right, the 7950's are the cards that give people the pain, especially from what I've read. =))

excuse what I said.

my apologies

I need a cup of coffee, lol.

Field Note #11 @Ianxxx 2008-03-17
[cite] Ianxxx:In defence of winlinmac I've heard a few people complaining that they can't get their 7600gs to work.

In that case I'll take these words back then,
did someone mention coffeeee?

Field Note #12 @WinLinMac01 2008-03-17

decaf , you? lolz

[cite] Ianxxx:[cite] Ianxxx:In defence of winlinmac I've heard a few people complaining that they can't get their 7600gs to work.

In that case I'll take these words back then,
did someone mention coffeeee?

Field Note #13 @Ianxxx 2008-03-17
[cite] WinLinMac01:decaf , you? lolz [cite] Ianxxx:[cite] Ianxxx:In defence of winlinmac I've heard a few people complaining that they can't get their 7600gs to work.

In that case I'll take these words back then,
did someone mention coffeeee?

lots and lots of caffine, hey I'm over 40 I need it!

Field Note #14 @Ianxxx 2008-03-17

Anyone having problems with there GFX could always try this solution
har docp.com/image.html?image=MTEyNjExMzE1M25saG1RZG1RZW9fMV8xX2wuanBn

Field Note #15 @WinLinMac01 2008-03-17

thats understandable, , as a matter a fact, I'm going to consume some now. =)

I CAME UP WITH LOUNGE (THREAD) FOR THE FORUMS SO USERS CAN DISCUSS JUST ABOUT ANYTHING RELEVANT TO THE WORLD OF TECHNOLOGY. CHECK IT OUT.

global market as a matter of fact.

[cite] Ianxxx:[cite] WinLinMac01:decaf , you? lolz [cite] Ianxxx:[cite] Ianxxx:In defence of winlinmac I've heard a few people complaining that they can't get their 7600gs to work.

In that case I'll take these words back then,
did someone mention coffeeee?

lots and lots of caffine, hey I'm over 40 I need it!

Field Note #16 @farcaller 2008-03-17
[cite] roisoft:@farcaller, are you using nvinjectgo.kext and the correct device ID for your card?

Sure, but I've tried NVinject 0.2.1 (the one that doesn't requre device ID) with same problem. Without NVinject I do have 1024x768. With NVinject - 1280x800 but no QE/CI. With "leo_vid_kexts.zip" - QE/CI but menus do not render at all (black rectangles).

Field Note #17 @Ianxxx 2008-03-17
[cite] farcaller:[cite] roisoft:@farcaller, are you using nvinjectgo.kext and the correct device ID for your card?

Sure, but I've tried NVinject 0.2.1 (the one that doesn't requre device ID) with same problem. Without NVinject I do have 1024x768. With NVinject - 1280x800 but no QE/CI. With "leo_vid_kexts.zip" - QE/CI but menus do not render at all (black rectangles).

Are you using new kernel and no graphics update, just I got the black rectangles with that combo?

Field Note #18 @roisoft 2008-03-17

do the graphics update, add the correct id (only your device id, delete the others)into the info.plist for geforce, nvdaresman, nvda40hal, then use marvin utility for patch the opengl frameworks. Forget about the leonvidia kext, you want 10.5.2... don´t you?

Field Note #19 @farcaller 2008-03-17

I've got ToH 9.2.0 and graphics update from Rev1 (currently Rev2) DVD. The original GraphicsUpdate1 always panics the kernel. Without NVinject/wahtever I have failsafe mode, with it - native res, no QE/CI. With kexts from "leo_vid_kexts.zip" (unfortunately I don't know their origin) - black rectangles instead of menus, render bugs in Dashboard and mostly the mess in other places that use OpenGL.

Field Note #20 @Ianxxx 2008-03-17

I might haven missed something but is your device id definatly in geforce.kext and nvdanv40hal.kext?
If I miss my device id in one of these I get to change res but no QE CI

Field Note #21 @roisoft 2008-03-17

Leo_vid..._kexts are a 10.5 version and they are not compatible with the new opengl frameworks (10.5.2 graphics update) and they are causing all of your graphics problems (balck…). You can try this, download this (tiny url.com/39csng), extract and move the "patches" folder to the root do the graphics update again, boot with -s and type

mount -uw /
cd /patches
./replace.sh
./patcher cpuid.txt
./patcher cpuid-graphics.txt
reboot

edit the info.plist for your kext, nvdaresman, nvda40hal, geforce, and add only your device id, delete the others, copy into the extensions folder nvinjectgo open a terminal and type

sudo -s
(password)

cd /system/library/extensions

chmod -R 755 * && chown -R root:wheel *
cd ..
rm extensions.mkext
kextcache -a i386 -e
reboot

boot with -f -v

Field Note #22 @Ianxxx 2008-03-17
[cite] roisoft:Leo_vid..._kexts are a 10.5 version and they are not compatible with the new opengl frameworks (10.5.2 graphics update) and they are causing all of your graphics problems (balck…). You can try this, download this (tiny url.com/39csng), extract and move the "patches" folder to the root do the graphics update again, boot…

That's what I was thinking lol

Field Note #23 @farcaller 2008-03-17

Okay, I've installed GraphicsUpdate (and got a system freeze neary instantly after setup).
Rebooted in single mode, applied replace.sh, patcher cpuid.txt and patchr graphics-cpuid.txt (you seem to miss that, but this is the one cpuid that patches OpenGL).
Rebooted just to see kernel panic (GeForce.kext/NVDAResman.kext)
Rebooted in single mode, restored my Gf* and NV* stuff (from Rev2).
Rebooted, fixed IDs in NVDAHAL40, NVDAResman, GeForce and NVinject (noticed the side-effect of replace.sh - completely dead BT mouse).
Rebooted to see OSX in the state I've started from (not counting dead mouse, *sniff*).

Other ideas?

Field Note #24 @Ianxxx 2008-03-17
[cite] farcaller:Okay, I've installed GraphicsUpdate (and got a system freeze neary instantly after setup). Rebooted in single mode, applied replace.sh, patcher cpuid.txt and patchr graphics-cpuid.txt (you seem to miss that, but this is the one cpuid that patches OpenGL). Rebooted just to see kernel panic…

Why not put your device id's into the gf and nv from the upgrade, instead of replacing them?

Field Note #25 @farcaller 2008-03-17

Is that going to fix kernel panic?... ok, I'll try now (the truth is that I didn't remember ID, and lspci doesn't work in single mode).

Field Note #26 @Ianxxx 2008-03-17
[cite] farcaller:Is that going to fix kernel panic?... ok, I'll try now (the truth is that I didn't remember ID, and lspci doesn't work in single mode).

good luck don't know if it will work but I reckon its worth a go.

Field Note #27 @farcaller 2008-03-17

Erm... I just realised that I forgot to backup known "good" kexts. Seems that I'm not going back in this MacOS instance…

PS: gee, tried of tweaking Adium again and again...

PPS: have I coped correct kexts?.. Shouldn't be here by now

PPPS: gone reinstalling GU1 from scratch. btw OSX no longer detects my USB BT dongle...

Field Note #28 @gully666uk 2008-03-17

i to also have had many problems with a 7600gs 512mb but its pcie.so i hope somebody can come up with a decent fix.

Field Note #29 @farcaller 2008-03-17

Latest update (installed kexts from GU1, fixed PCI ID). Result - black screen. Same black screen on external monitor connected to D-SUB, unfortunately I don't have anything DVI-like to plug to my DVI port.

Field Note #30 @WinLinMac01 2008-03-17

do you have an vga port too or is plainly two dvi connectors?

Show 5 additional community field notes (#31–#35)
Field Note #31 @roisoft 2008-03-17

Maybe you need a specific Nvcap value for your card, go here (nvinject.fr ee.fr/forums/) and post your problem there

Field Note #32 @farcaller 2008-03-17

@WinLinMac01 4 outputs: built-in LCD, D-SUB, DVI, TV-Out

Field Note #33 @farcaller 2008-03-17

My current NVCAP is
In [16]: get_nvcap('BAAAAAAAAwAMAAAAAAAABwAAAAA=')
Out[16]: '04000000 00000300 0c000000 00000007 00000000'
that corresponds to "PCIe GeForce 7 series, dual DVI", looks pretty much like what I have

Field Note #34 @farcaller 2008-03-17

WOW! IT DOES WORK! and BT mouse is magically fixed

Field Note #35 @farcaller 2008-03-17

Here it goes.
1.1.1. Get GraphicsUpdate, unpack it with pacifist and fix cpuid with Marvin's AMD Utility
1.1.2. Manually copy all the updates to root.
or
1.2.1. Get GraphicsUpdate, get patches.zip from this thread. Unpack patches to root (/) and install GraphicsUpdate. For me this results in lockup after install, but if you can reboot - do that.
1.2.2. Boot with -s (single mode), mount root as noted on the screen.
1.2.3. cd /patches
1.2.4. ./patcher cpuid-graphics.txt

2. At this point you'd better boot into -s (or continue old session), remove extensions cache and reboot with -f -v
3. If you get a lockup - you have to reboot in -s again and fix PCI IDs in corresponding kexts by the means of nano, vim or any other console editor. Remove cache, rebuild, boot with -f -v
4. If you get black screen at this point - back to single mode and try playing with NVCAP (found in the Info.plist of NVinject). You can get some here: nvinject.fr ee.fr/forums/viewtopic.php?t=19 (04000100 00000300 0c000000 00000007 00000000 works for me).

Corroborated & Participated: @roisoft @farcaller
Sources & Contributor Provenance (7 credited usernames · Thread #738)
UsernameDossier ContributionDispatchesActive Window
@farcallerCore Contributor132008-03-17
@IanxxxCore Contributor112008-03-16 → 2008-03-17
@roisoftCore Contributor72008-03-17
@WinLinMac01Core Contributor62008-03-16 → 2008-03-17
@annaPrimary Author42008-03-16 → 2008-03-20
@PuttabongContributor12008-03-17
@gully666ukContributor12008-03-17