how to debug my kernel

冯硕 steve.shuo.feng at gmail.com
Thu Aug 23 04:01:57 UTC 2007


The most simple solution may be to use serial console :-).
You need a dummy (with cross TX/RX) serial cable connecting the box with
your modified kernel as the 'debug end' and another Windows/Linux box as
'console'.
Boot your kernel with parameter "console=ttyS0,115200" (or any speed your
console support), and set your console properly ("remote terminal" on
Windows or minicom on Linux), then you can see the kernel output on your
console.
Set the screen buffer of your console as big as you wish. :-)

2007/8/23, Feng Xian <feng.xian at gmail.com>:
>
> Hi,
>
>  I'm currently working on a project which needs to modify linux scheduler.
> But my new kernel always gets crashed after one-day's run. There is no OOPS
> message coming out when it crashed.
>  What should I do?
>
> Best regards
> Feng
>
> --
> Addr: 1025N, 23rd str, APT 33,
>          Lincoln, NE, 68503
> Phone: (402)310-9826
> WWW: cse.unl.edu/~fxian <http://cse.unl.edu/%7Efxian>
> _______________________________________________
> Fedora-kernel-list mailing list
> Fedora-kernel-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-kernel-list
>
>


-- 
Feng Shuo
Tel: (86)10-6260-0547
Fax: (86)10-6265-7255
Mailing: P. O. Box 2704# Beijing
Postcode: 100080
National Research Centre for High Performance Computers
Institute of Computing Technology, Chinese Academy of Sciences
No. 6, South Kexueyuan Road, Haidian District
Beijing, China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-kernel-list/attachments/20070823/72f58e32/attachment.htm>


More information about the Fedora-kernel-list mailing list