Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOLog on serial port? Or to use kprintf?



Hi, 
Currently I see my IOLog() messages in to the
/var/log/system.log file.

Can I redirect it to my serial port?
My Sytem is MAC OS X 10.3.7 on Power MAC G5.
If yes, Do I have to set do nvram
boot-args="debug=0x08" ?
(DB_KPRT)
I learned from Kernel Programming.pdf .
I tried it, but I still get IOLog() messages in the
same file.

I hope I don't have to recompile the kernel for this.

Or U can direct only kprintf() to serial port???

what should be serial port setting for MAC OS X G5?
is it 57600 8N1 or 38400 8N1 ?

G5 has that modem kind of RJ11 conector, not the
serial port that we see on PC, so do I need to connect
it
via RJ11 connector to other host ?

If I have to use kprintf() in my driver code, do I
need to recompile the 
kernel, to see the messages on the console / serial
port?
 I think need to recompile in DEBUG mode, right?

I searched the xnu code, but I don't find any code of
the kprintf in any of the c files.
Where is the kprintf() definition???

Regards,
Parav Pandit


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.