Results 1 to 2 of 2
Hi, I am trying to debug my USB Gadget driver. I have two machines connected to the LAN and the driver is running on one of them. However, there is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-25-2009 #1
- Join Date
- Feb 2009
2.6.x kernel debugging over ethernet (without serial connection) and reboot
I am trying to debug my USB Gadget driver. I have two machines connected to the LAN and the driver is running on one of them. However, there is no serial or ethernet null-modem connection between them.
At some point in time, the kernel freezes due to my buggy driver (I am suspecting unreleased lock) In this situation I need to be able to reboot the frozen host remotely from the other host.
I searched on the net and on the forum but did not find material which would serve this purpose, although I found a few useful tutorials on KGDB in general.
Please let me know if there any way of doing this.
Thanks for your time!
- 04-16-2009 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
gives read/write access to the kernel variable panic_timeout. If this
is zero, the kernel will loop on a panic; if non-zero it indicates
that the kernel should autoreboot after this number of seconds. When
you use the software watchdog device driver, the recommended setting
According to Wikipedia: In the 2.6 kernel the softdog driver is located in drivers/char/watchdog/softdog.c
See softdog: Linux HASometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!