how to debug a driver remotely?

how to debug a driver remotely?

am 11.08.2006 06:41:14 von om.turyx

Recently a friend of mine asked me to port a PCI driver from 2.4 to
2.6, which I tried. But I learned that the device is custom made and
not commercially available. Since it is not available anywhere else,
he suggested me that I do remote debugging using telnet/ssh.

For all driver development efforts I have carried out so far, I had
free access to the device, the target machine and a serial port. Now
in this case, without a serial port and remote power off/on
facilities, I would like to ask the list about the options I have.

(I do not have a remote power on/off switch. The driver panics so
often that somebody has to babysit the machine to switch it off and
on.)

Regards,
Om.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/

Re: how to debug a driver remotely?

am 11.08.2006 10:21:34 von Alexandr Lebedev

> (I do not have a remote power on/off switch. The driver panics so
> often that somebody has to babysit the machine to switch it off and
> on.)

why not try user-mode-linux
user-mode-linux.sourceforge.net

It will allow you to run kernel from usermode, and if the kernel
panics you can always restart it.

--
wbr, Alex

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/