Hello. I mailed the same text to freebsd-gfx-bugs@nvidia.com, but may be anyone already fixed similiar problems:
My laptop: Lenovo Thinkpad W530
Discrete graphic card: Nvidia K1000M
OS: FreeBSD 9.1-RC1 / amd64 with GENERIC kernel ("TEST" kernel with DDB option added, see attached kernel.diff file)
x11/nvidia-driver version: 304.51 , i also tried older versions - the result was the same
See full photo of kernel panic
I got kernel panic when start X.org with "nvidia" driver (system goes reboot with GENERIC kernel, so I'm using my own with "no reboot at panic" option). Panic also occurs when I'm trying to "nvidia-xconfig --query-gpu-info", I attached photo of panic message. With "vesa" driver nvidia card starts normally, but resolution is low (xrandr can't increase it).
My laptop has Nvidia optimus system, I read a lot about it and think that Thinkpad W530 shouldn't have problems with it - in BIOS I can choose "nvidia optimus", "discrete graphic", "integrated graphic"(intel hd4000), I tried all this options and nvidia card available in windows7/freebsd(pciconf -lv) only in "optimus"(with intel hd4000) and "discrete" modes, so I'm using "discrete mode".
P.S. I know about Intel KMS support, and it's works (not ideal, but it's another question) - here I want to make nvidia works.
My laptop: Lenovo Thinkpad W530
Discrete graphic card: Nvidia K1000M
OS: FreeBSD 9.1-RC1 / amd64 with GENERIC kernel ("TEST" kernel with DDB option added, see attached kernel.diff file)
x11/nvidia-driver version: 304.51 , i also tried older versions - the result was the same
Code:
NVRM: failed to copy vbios to system memory
NVRM: RmInitAdapter failed! (0x30:0xffffffff:861)
nvidia0: NVRM: rm_init_adapter() failed!
Fatal trap 12: page fault while in kernel mode
I got kernel panic when start X.org with "nvidia" driver (system goes reboot with GENERIC kernel, so I'm using my own with "no reboot at panic" option). Panic also occurs when I'm trying to "nvidia-xconfig --query-gpu-info", I attached photo of panic message. With "vesa" driver nvidia card starts normally, but resolution is low (xrandr can't increase it).
My laptop has Nvidia optimus system, I read a lot about it and think that Thinkpad W530 shouldn't have problems with it - in BIOS I can choose "nvidia optimus", "discrete graphic", "integrated graphic"(intel hd4000), I tried all this options and nvidia card available in windows7/freebsd(pciconf -lv) only in "optimus"(with intel hd4000) and "discrete" modes, so I'm using "discrete mode".
P.S. I know about Intel KMS support, and it's works (not ideal, but it's another question) - here I want to make nvidia works.