View Full Version : 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 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?
Ianxxx
03-16-2008, 11:39 PM
Might help to tell us what graphics card you are using, what version of leopard?
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!?
Any ideas?
Ianxxx
03-17-2008, 12:15 AM
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
WinLinMac01
03-17-2008, 12:57 AM
When did you inject the Nvidia drivers, before or after the installation?
farcaller
03-17-2008, 01:38 AM
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.
WinLinMac01
03-17-2008, 02:42 AM
7600's are troublesome. Sorry to say that, but its simply true. ;)
roisoft
03-17-2008, 02:58 AM
@ 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 (http://wiki.osx86project.org/wiki/index.php/HCL_10.5.2#nVidia) and take a look.
Puttabong
03-17-2008, 03:00 AM
I have a GeForce 7600 GT and it's truly an out of the box experience ;) I love it!
roisoft
03-17-2008, 03:05 AM
@farcaller, are you using nvinjectgo.kext and the correct device ID for your card?
Ianxxx
03-17-2008, 03:05 AM
In defence of winlinmac I've heard a few people complaining that they can't get their 7600gs to work.
WinLinMac01
03-17-2008, 03:07 AM
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.
roisoft
03-17-2008, 03:08 AM
take a look here (http://wiki.osx86project.org/wiki/index.php/HCL_10.5.1#nVidia) please
Ianxxx
03-17-2008, 03:09 AM
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?
WinLinMac01
03-17-2008, 03:10 AM
decaf :D, you? lolz
Ianxxx: 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?
Ianxxx
03-17-2008, 03:15 AM
WinLinMac01:decaf :D, you? lolz
Ianxxx: 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!
Ianxxx
03-17-2008, 03:18 AM
Anyone having problems with there GFX could always try this solution
http://www.hardocp.com/image.html?image=MTEyNjExMzE1M25saG1RZG1RZW9fMV8xX 2wuanBn
WinLinMac01
03-17-2008, 03:18 AM
thats understandable, :D, 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.
Ianxxx: WinLinMac01:decaf :D, you? lolz
Ianxxx: 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!
farcaller
03-17-2008, 03:19 AM
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).
Ianxxx
03-17-2008, 03:21 AM
farcaller: 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?
roisoft
03-17-2008, 03:27 AM
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?
farcaller
03-17-2008, 03:29 AM
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.
Ianxxx
03-17-2008, 03:33 AM
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
roisoft
03-17-2008, 03:50 AM
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 (http://tinyurl.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
Ianxxx
03-17-2008, 03:51 AM
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 (http://tinyurl.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
reboot
edit the info.plist for your kext, nvdaresman, nvda40hal, geforce, 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
That's what I was thinking lol
farcaller
03-17-2008, 04:23 AM
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?
farcaller
03-17-2008, 04:23 AM
btw, my board is 10de:0398
Ianxxx
03-17-2008, 04:25 AM
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 (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?
Why not put your device id's into the gf and nv from the upgrade, instead of replacing them?
farcaller
03-17-2008, 04:31 AM
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).
Ianxxx
03-17-2008, 04:33 AM
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.
farcaller
03-17-2008, 04:35 AM
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...
gully666uk
03-17-2008, 02:31 PM
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.
farcaller
03-17-2008, 03:07 PM
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.
WinLinMac01
03-17-2008, 03:57 PM
do you have an vga port too or is plainly two dvi connectors?
roisoft
03-17-2008, 04:03 PM
Maybe you need a specific Nvcap value for your card, go here (http://nvinject.free.fr/forums/) and post your problem there
farcaller
03-17-2008, 04:16 PM
@WinLinMac01 4 outputs: built-in LCD, D-SUB, DVI, TV-Out
farcaller
03-17-2008, 04:24 PM
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
farcaller
03-17-2008, 06:07 PM
WOW! IT DOES WORK!!!! and BT mouse is magically fixed :D
roisoft
03-17-2008, 06:41 PM
Congrats man!! really nice! :D
farcaller
03-17-2008, 06:47 PM
roisoft, thanks a lot for your help!
hey farcaller,
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.
farcaller
03-17-2008, 07:55 PM
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: http://nvinject.free.fr/forums/viewtopic.php?t=19 (04000100 00000300 0c000000 00000007 00000000 works for me).
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.