IOLog on serial port? Or to use kprintf?
IOLog on serial port? Or to use kprintf?
- Subject: IOLog on serial port? Or to use kprintf?
- From: Parav Pandit <email@hidden>
- Date: Sat, 22 Jan 2005 00:00:32 +0000 (GMT)
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:
This email sent to email@hidden