I’m getting a consistent panic with a NVIDIA GeForce FX 5600 XT (NV31) AGP card when enabling both kern.vty=vt and hw.vga.textmode=1 in /boot/loader.conf. FreeBSD 10.1-BETA3. I wanted to test the VT console, enabled kern.vty=vt, but the graphics mode was unusable due to the buffer being drawn out of the screen (that’s another problem). I then added hw.vga.textmode=1 and kernel panicked. Unfortunately, I’m not getting any core dumps despite having dumpdev="AUTO" in /etc/rc.conf and a 3 GB swap device enabled (actual memory is 1.5 GB). I’ve not found any erros related to savecore. Here is some relevant text, copied by hand, from the panic: vga0: <VGA GENERIC ISA VGA> ... Fatal trap 12: Page fault while in vm86 mode ... fault code: user read, page not present ... I’m willing to test further if any developer is interested.
Can you please add the backtrace if available (or just attach a picture of the full panic output)?
Created attachment 147937 [details] Screenshoot of panic with vt, textmode and NVIDIA Sure, attached. I don’t understand why it’s not dumping core… :(
> I don’t understand why it’s not dumping core... It happens too early for the coredump, unfortunately. The kernel core infrastructure relies on the system getting to multiuser and executing /etc/rc.d/dumpon in order to set the dump device.
> It happens too early for the coredump, unfortunately. The kernel core > infrastructure relies on the system getting to multiuser and executing > /etc/rc.d/dumpon in order to set the dump device. Thanks for the explanation, some new knowledge… :) I hope you’ll resolve this issue soon. I’m ready to test.
> It happens too early for the coredump, unfortunately. The kernel core > infrastructure relies on the system getting to multiuser and executing > /etc/rc.d/dumpon in order to set the dump device. Oh, see dumpon(8) - you can set the dumpdev variable from the loader to set the dumpdev in early boot.
Updated to 10.1.-RC4-p1. I set kern.vty=vt at loader time and it boots without issues but panics at shut down with another Fatal trap 12. I can provide the core dump if useful.
For completeness, please note that the panic is still there at boot if hw.vga.textmode=1. I just discovered that the panic seems to be "postponed" until shut down time if this option is not set. Hope it helps!
Updated 10.1-BETA and 10.1-RC versioned bugs to 10.1-STABLE.
Can you please test 10.2-PRERELEASE to see if this problem persists?
(In reply to Glen Barber from comment #9) Thanks for your interest, but I think you should close this PR: The legacy x11/nvidia-driver-173 port, required by this old AGP card, is forbidden since December 2014 because of vulnerabilities. Compiling manually is not working with current sources and I’m unable to debug those errors. On the other hand, booting the 10.2-PRERELEASE memstick and setting kern.vty=vt and hw.vga.textmode=1 at loader time works with the built-in vga driver. Thanks again for your efforts! Juan
Submitter notes that the only native driver supporting this card is marked as FORBIDDEN and suggests to close this.