On Thu, Mar 21, 2013 at 10:04:41AM +0200, Konstantin Belousov wrote: > ... > This gives me an idea. The only so to say 'vm' change in r248508 was an > addition of the bio_transient_map submap. The vfs.unmapped_buf_allowed > tunable did not eliminated the submap creation. Please try r248569 > with vfs.unmapped_buf_allowed set to 0. OK; I believe that worked. "Believe" because (in the normal course of things) I updated to: FreeBSD g1-235.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #845 r248575M/248575: Thu Mar 21 05:35:06 PDT 2013 root_at_g1-235.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 which is a little beyond r248569. (I still have r248508 on a different slice, and figured I could update that to precisely r248569 if this test was incorrect or inconclusive.) In any case: after booting the above (r248575) to verify that it worked as long as I did not load nvidia.ko first, I then rebooted, escaped to loader prompt, set vfs.unmapped_buf_allowed=0; boot. And after that came up OK, I (manually) loaded nvidia.ko, then re-started X (xdm); the nVidia banner displayed just before the xdm login screen did. (I have my xdm startup script "prefer" the nvidia driver, but if nvidia.ko isn't loaded, it reverts to the nv driver automagically.) > If this combination allows the nvidia driver to start, please revert > the setting of vfs.unmapped_buf_allowed, and instead set > kern.bio_transient_maxcnt e.g. to 256 or even 128. OK; rebooting, escaping to loader, *not* setting vfs.unmapped_buf_allowed, and setting kern.bio_transient_maxcnt=256 also allowed nvidia driver to be used at r248575. > Also, on the machine without the tunables customization, please show > the output of sysctl kern.nbuf, kern.bio_transient_maxcnt. Also show > the output of pciconf -lvb. OK; I rebooted (to revert the vfs.unmapped_buf_allowed setting) and obtained the above (augmented a wee bit by some of the others mentioned; I've attached that as "sysctl.txt". I've also attached a copy of dmesg.boot, in case that's useful. I then tried rebooting r248575 and loading nvidia.ko *without* the tunable customization, and verified that I still saw (what looks like) a "reset" when I start X that way (as reported initially). > From what I see in your report, you use i386 arch. What is the amount > of memory installed in the machine ? 4GB. Is the above what you had in mind, or would you like me to try at precisely r248569? Anything else? Thanks again! Peace, david -- David H. Wolfskill david_at_catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC