Discussion:
How to enable debugging on NFS (dprintk)?
Steve Fosdick
2003-07-17 11:07:25 UTC
Permalink
There are some calls to dprintk within the NFS kernel code - how to I
set things up to I can see the messages from these calls please?

Steve.


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
NFS maillist - ***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
Danny Smith
2003-07-17 14:33:36 UTC
Permalink
It's controlled by /proc/sys/sunrpc/nfs_debug (or nfsd_debug for the
server).

Not totally sure of the valid values, but it's an int bit field, so this
will turn most things on (client side):

echo 65535 > /proc/sys/sunrpc/nfs_debug

Danny
Post by Steve Fosdick
There are some calls to dprintk within the NFS kernel code - how to I
set things up to I can see the messages from these calls please?
Steve.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
https://lists.sourceforge.net/lists/listinfo/nfs
--
Danny Smith
Senior Systems Administrator, Cinesite (Europe) Ltd
020 7973 4000 - x4055 / ***@cinesite.co.uk




-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
NFS maillist - ***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
Unknown
2003-07-17 14:51:12 UTC
Permalink
Post by Danny Smith
It's controlled by /proc/sys/sunrpc/nfs_debug (or nfsd_debug for the
server).
Not totally sure of the valid values
See include/linux/sunrpc/debug.h, include/linux/nfs_fs.h (the very end,
where the NFSDBG_* macros are defined), and include/linux/nfsd/debug.h.

--Bruce Fields
Post by Danny Smith
but it's an int bit field, so this
echo 65535 > /proc/sys/sunrpc/nfs_debug
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
NFS maillist - ***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

Loading...