2009/11/30 Luca Olivetti <[email protected]>: > > An update: the program has been running for almost two weeks now (actually > 13 days) and I deployed it at the customer's site (crossing fingers). > This threw me into paranoia mode (I made a small modification to another > project and I used the original fpc version to avoid this kind of problems), > so I'd appreciate if anyone could give me some pointers on how to debug this > on a virtual machine (what I found with google involves recompiling the > kernel with debug support and using a special pci card to generate a NMI > when the kernel gets stuck).
The best way to do this is probably with netconsole. This gets your kernel to spit out the printk messages over the network so you can use netcat on another machine to see the latest messages before the kernel hangs. I don't know if there's a problem with doing this on a virtual machine. Google around or read the kernel docs to see how this works. Henry -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
