site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d1q1/baJIux/YSeKckSygZ/5iviyW1QoycMuTccWnCs=; b=na27NMB7iq5+X8tBtDLVlHmnrkbtMeoKSeoDencsI4eGG/jQF8SUqaFr40X+PZ+Nht EJJUKLnyIF+ZKjZzDNRiXD6gbLeBJmiN+aXIMBUnfAFPPcdwydji9+ictxvR4BFdDexi lyPOKxoznrWCInMtB3fbO8n//gzR/yUQiaXlg= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=fdTVd0pSw+p0f+9+BDiL4uR29W+H+G8+k9B6pA/EW6ZrI6aiyBxPZYHMG6Z9Db6qvr PHjEqtlnDT9C6+M1hktQm/6oWqZLOcYjNPTjCQPL9f0Q9klOiKEfgasxEbJYzOzxI9zE E+FGQC/+uzWlXJqfEuqUaYrn6m11tKklGpITU= "buffered output versus unbuffered output" in a middle of many things but not really lost Cheers! On Thu, Oct 9, 2008 at 8:43 AM, Herb Petschauer <bogvardi@gmail.com> wrote:
2008/10/9 Cloud Strife <geforce8800@gmail.com>:
Hi everyone. I am new to Mach kernel programming. Currently I am writing a dummy driver from the following guidance: http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTC...
After wrote the code and compiled them, I set the owner and the privilege of the kext, and loaded it by "kextload -t myIOKitDriver.kext". The terminal prompted I had successfully loaded the kext. I am expecting to see some information come out from the console. However, the expected message: " IOLog("Initializing\n");" does not appear. Can anyone tell me why the IOLog don't show up? And is there any way to correct this? Thank you very much for any help. Have a good day. :-) -- Best regards.
Use kextstat to see if your kext was loaded
kextstat | grep com.whatever.bundleinfo.youused
Sometimes IOLog() gets lost in the works...
I usually have a second window open with a "tail -f /var/log" command running to capture an logging (that or the Console.app) or system messages. I've switched to FireWire and kprintf (much nicer but it requires two machines, search the archives).
Does kextunload complain that there is nothing to unload?
Good luck! -H. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- -mmw _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com