<div dir="auto">Hi all,<div dir="auto">Off hand does anyone know how to log information from inside a kernel module, debugging vesa.ko.</div><div dir="auto"><br></div><div dir="auto">~fire</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Oct 21, 2017 1:14 PM, "fire crow" <<a href="mailto:fire@firecrow.com">fire@firecrow.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><br></div><div dir="auto"><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Oct 21, 2017 1:03 PM, "Pete Wright" <<a href="mailto:pete@nomadlogic.org" target="_blank">pete@nomadlogic.org</a>> wrote:<br type="attribution"><blockquote class="m_7421331664612369222quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><div class="m_7421331664612369222quoted-text"><br>
<br>
On 10/20/2017 21:21, fire crow wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi thanks for the tips, 12.0 current from the svn head and drm-next-kmod from ports didnt load up when vt initialized on boot. Im currently looking at the vesa kmod, getting this error that im trying to work out.<br>
<br>
$ kldload vesa<br>
module_register_init: MOD_LOAD (vesa, 0x< f and numbers>, 0) error 19<br>
sysctl_unregister_oid: failed to unregister sysctl<br>
</blockquote>
<br></div></div>
does your console load w/o attempting to load the vesa driver?  if it does you might want to take a stab at using the SCFB xorg driver:<br>
<br>
xf86-video-scfb-0.0.4_5        X.Org syscons display driver<br>
<br>
It's a software driver, which while it may be slow - but it certainly is usable for browsing, hacking and email.  it is what i was using on my systems until we could get the drm-next code in a semi-usable state.<br>
<br>
i'm not %100 sure why vesa would refuse to load the as a kmod - might be worth pinging freebsd-x11@ if you get frustrated with it :)<div class="quoted-text"><div class="m_7421331664612369222elided-text"><br>
<br>
-pete<br>
<br>
-- <br>
Pete Wright<br>
<a href="mailto:pete@nomadlogic.org" target="_blank">pete@nomadlogic.org</a><br>
@nomadlogicLA<br>
<br>
</div></div></blockquote></div><div style="font-family:sans-serif" dir="auto">Thanks, I was able to get scfb working a couple months ago if i remember right. It was slow but usable.</div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Thing is im not in X anymore, im just rocking on the inital vt console to develop, using links for a browser etc. Im only after smaller text and nicer fonts, but trying to pull it off in a world without X.</div><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">Readig vesa kmod code now, im hoping i can just update what devices the driver identifies and use existing code for it. Fingera crossed.</div><font color="#888888"><div dir="auto" style="font-family:sans-serif"><br></div><div dir="auto" style="font-family:sans-serif">~fire</div></font></div></div></div>
<br>______________________________<wbr>_________________<br>
talk mailing list<br>
<a href="mailto:talk@lists.nycbug.org">talk@lists.nycbug.org</a><br>
<a href="http://lists.nycbug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">http://lists.nycbug.org/<wbr>mailman/listinfo/talk</a><br></blockquote></div><br></div>