On 11/11/11 05:05 PM, Hansel Chung wrote:
On Nov 10, 2011, at 5:44 PM, Dan Mick wrote:
cmn_err() can go to the log (/var/adm/messages), the console, or both. See its
manpage.
debugger: see kmdb(1).
Cool, I'll check out the manpage next.
You've got access to Writing Device Drivers, I assume?
Yep! I assume you're referring to:
http://download.oracle.com/docs/cd/E19082-01/819-3196/
and
http://download.oracle.com/docs/cd/E19082-01/819-3159/
?
Thanks,
-Hansel
Didn't know about the latter, but definitely the former, yes. There are
sections in there on using kmdb and cmn_err for debugging. Chapter 22 in WDD.
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss