All of lore.kernel.org
 help / color / mirror / Atom feed
* How to enable debugging on NFS (dprintk)?
@ 2003-07-17 11:07 Steve Fosdick
  2003-07-17 14:33 ` Danny Smith
  0 siblings, 1 reply; 3+ messages in thread
From: Steve Fosdick @ 2003-07-17 11:07 UTC (permalink / raw)
  To: nfs

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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to enable debugging on NFS (dprintk)?
  2003-07-17 11:07 How to enable debugging on NFS (dprintk)? Steve Fosdick
@ 2003-07-17 14:33 ` Danny Smith
  2003-07-17 14:51   ` Unknown
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Smith @ 2003-07-17 14:33 UTC (permalink / raw)
  To: Steve Fosdick; +Cc: nfs

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



Steve Fosdick wrote:

> 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  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>


-- 
Danny Smith
Senior Systems Administrator, Cinesite (Europe) Ltd
020 7973 4000 - x4055    /    dannys@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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to enable debugging on NFS (dprintk)?
  2003-07-17 14:33 ` Danny Smith
@ 2003-07-17 14:51   ` Unknown
  0 siblings, 0 replies; 3+ messages in thread
From: Unknown @ 2003-07-17 14:51 UTC (permalink / raw)
  To: Danny Smith

On Thu, Jul 17, 2003 at 03:33:36PM +0100, Danny Smith wrote:
> 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

> but it's an int bit field, so this 
> will turn most things on (client side):
> 
> 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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-17 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-17 11:07 How to enable debugging on NFS (dprintk)? Steve Fosdick
2003-07-17 14:33 ` Danny Smith
2003-07-17 14:51   ` Unknown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.