Results 1 to 2 of 2
I have a device driver that hooks into the VFS. The driver basically intercepts the VFS calls, logs them to disk and then calls the appropriate file system call.
This ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-06-2013 #1Just Joined!
- Join Date
- Oct 2012
- Posts
- 6
Linux freezes need to debug
I have a device driver that hooks into the VFS. The driver basically intercepts the VFS calls, logs them to disk and then calls the appropriate file system call.
This effectively traces the file system calls so it can then be replayed and what not.
For large calls the machine freezes. I have print statements in every method in the driver but I am not able to tell where exactly it freezes and whether is a deadlock or some other error.
My question is what is the best possible way to debug this. Can I turn on some global kernel logging? or is there a better known method of doing such kind of debugging?
Thanks in advance.
- 02-09-2013 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,680
Hi,
There is kernel debugging available, although if not already built into your kernel, you might need to recompile it. Check out some succinctly explained techniques on kernel debugging here.


Reply With Quote
