Logging information from inside fb/fb.c

Warner Losh imp at bsdimp.com
Mon Oct 23 03:23:34 UTC 2017


On Oct 22, 2017 8:35 PM, "fire crow" <fire at firecrow.com> wrote:

Hi,
I'm trying to log infirmation about video devices in the `vid_register`
function in `sys/dev/fb/fb.c` and it appears that using `uprintf` is
causing a kernel panic. Is there another logging facility I can use?


Dtrace? Printf may also work better if there is no controlling terminal...
But the panic may be due to recursion into the driver. Try a serial or null
console.

Warner


Thanks
~fire
_______________________________________________
freebsd-drivers at freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-drivers
To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.org"


More information about the freebsd-drivers mailing list