Reproducible panic kldunloading nvidia
Hi all, I recently noticed (while updating my ports) that attempting to unload the nvidia driver causes the kernel to panic. I can load/unload other modules without a problem. If I kldunload nvidia, it immediately panics with a fatal trap 12. * The nvidia driver port version is nvidia-driver-1.0.6113 * uname -a output: FreeBSD ool-18beb73b.dyn.optonline.net 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #0: Wed Apr 28 10:26:54 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRANKENSTEIN i386 * It might be significant that I do not currently have an nvidia card installed in this machine (I did at one point). Any idea what might be wrong here? Any hints on how I can gather more info. to file a bug report if that becomes necessary? Thanks, --Chris PS: Please be sure to include my email address in any reply, as I am not subscribed to this list. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reproducible panic kldunloading nvidia
This happens when your world and kernel are out of sync. Remake the world and the kernel and install them and try it out. BTW if you want to unload it then delete the necessesary lines from /boot/loader.conf Regards S. On Tue, 14 Sep 2004 12:29:32 -0400, Christopher Rued [EMAIL PROTECTED] wrote: Hi all, I recently noticed (while updating my ports) that attempting to unload the nvidia driver causes the kernel to panic. I can load/unload other modules without a problem. If I kldunload nvidia, it immediately panics with a fatal trap 12. * The nvidia driver port version is nvidia-driver-1.0.6113 * uname -a output: FreeBSD ool-18beb73b.dyn.optonline.net 4.10-PRERELEASE FreeBSD 4.10-PRERELEASE #0: Wed Apr 28 10:26:54 EDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FRANKENSTEIN i386 * It might be significant that I do not currently have an nvidia card installed in this machine (I did at one point). Any idea what might be wrong here? Any hints on how I can gather more info. to file a bug report if that becomes necessary? Thanks, --Chris PS: Please be sure to include my email address in any reply, as I am not subscribed to this list. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Subhro Sankha Kar School of Information Technology Block AQ-13/1 Sector V ZIP 700091 India ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reproducible panic kldunloading nvidia
Subhro wrote: This happens when your world and kernel are out of sync. Remake the world and the kernel and install them and try it out. Hmm...it's odd that this should only happen with one module, though, right? I always go through the full make mergemaster -p, buildworld, buildkernel, installkernel, installworld, mergemaster cycle...I don't think I've recently stopped mid-way. I do frequently cvsup sources (just to observe changes), and then not compile, but I don't think this should be an issue, unless the nvidia driver compiles against sources in /usr/src. I'm due for an update anyway, so I'll probably just go ahead and rebuild everything and see what happens. BTW if you want to unload it then delete the necessesary lines from /boot/loader.conf Thanks for the tip -- I'll probably try this first, before rebuilding my system. PS: Please be sure to include my email address in any reply, as I am not subscribed to this list. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reproducible panic kldunloading nvidia
On Tue, Sep 14, 2004 at 02:15:15PM -0400, Christopher Rued wrote: Subhro wrote: This happens when your world and kernel are out of sync. Remake the world and the kernel and install them and try it out. Hmm...it's odd that this should only happen with one module, though, right? I don't think the panic has anything to do with world/kernel out of sync but it is a, hm, feature of the nvidia module. I had the same problem while upgrading the nvidia-driver port and have seen someone else on one of the lists describing the same. I always go through the full make mergemaster -p, buildworld, buildkernel, installkernel, installworld, mergemaster cycle...I don't think I've recently stopped mid-way. I do frequently cvsup sources (just to observe changes), and then not compile, but I don't think this should be an issue, unless the nvidia driver compiles against sources in /usr/src. The nvidia driver *does* build against kernel sources (/usr/src/sys), so be careful here! I'm due for an update anyway, so I'll probably just go ahead and rebuild everything and see what happens. BTW if you want to unload it then delete the necessesary lines from /boot/loader.conf Thanks for the tip -- I'll probably try this first, before rebuilding my system. /boot/loader.conf is read at boot time, it doesn't have any influence on modules loaded/unloaded while running. Of course, it is a good idea to edit it when you don't intend to load the unloaded module on next boot. As for the crash on unload: I don't know for a solution except for not doing an unload. I have no need for it anyway, even when temporarily switching to the nv driver I leave the nvidia module untouched as it doesn't really hurt AFAIK. It's quite annoying on the portupgrade, to play it safe you could reboot without loading the module. Finally, keep in mind that the nvidia module might have a tendency to crash your machine anyway, see the nvidia/BSD FAQ at http://soulwax.net/nvidia/ for some useful hints and advice. Karel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]