Serial console can be monitored for messages in the Linux kernel too....just
make sure that the appropriate kernel parameters are set.
Use a null-modem serial cable connected back-to-back across the serial ports
of your PC. Edit the kernel command line parameters in /boot/grub/menu.lst
(in Fedora) to append "console=ttyS0,115200" (other baud rates are possible
too), and remove the "quiet" line in the parameter. Ensure the same is
repeated on the PC at the other end. Reboot the PC and use a program like
"minicom" on the host PC to connect to the target and check if serial
connectivity is fine.
Any subsequent boot crashes should be logged on the host PC through minicom.
KGDB (not KDBG which is entirely different) is a kernel debugger and when
setup (is another process altogether) can make the kernel on the target
machine act like a process being debugged through GDB (the last I know about
KGDB is that it is broken and the community isn't very active in resolving
the issues).
Regards,
K.Prasad

2009/5/11 Srinivas G. <[email protected]>

> Dear All,
>
>
>
> I'm developing a custom USB driver. There was an exception/crash when
> the module was loaded. I had seen the /var/log/messages but complete log
> messages were not available after rebooting the PC. As in windows the
> serial debugging allows connecting PC <-> PC through NULL modem cable
> which has host and target machines for debugging.
>
>
>
> Could you please let me know, is there anything similar in linux as
> well?
>
>
>
> I heard about the KDBG, however it may not be the same as like in
> Windows. Am I correct?
>
>
>
> Thanks and Regards,
>
> Srinivas G
>
>
>
> _______________________________________________
> To unsubscribe, email [email protected] with
> "unsubscribe <password> <address>"
> in the subject or body of the message.
> http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
>



-- 
Contact me at [email protected]
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to