* nfs and printk's
@ 2004-11-04 2:26 Shaya Potter
2004-11-04 18:17 ` Trond Myklebust
0 siblings, 1 reply; 4+ messages in thread
From: Shaya Potter @ 2004-11-04 2:26 UTC (permalink / raw)
To: linux-fsdevel
is there any reason why printk's I'm putting in nfs_readdir() don't
appear at all (when other's, such as in nfsd) do appear. If it matters,
this is a 2.4.23 kernel. Is printk somehow defined out in fs/nfs/ ?
thanks,
shaya
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nfs and printk's
2004-11-04 2:26 nfs and printk's Shaya Potter
@ 2004-11-04 18:17 ` Trond Myklebust
2004-11-04 18:20 ` Shaya Potter
0 siblings, 1 reply; 4+ messages in thread
From: Trond Myklebust @ 2004-11-04 18:17 UTC (permalink / raw)
To: Shaya Potter; +Cc: Linux Filesystem Development
on den 03.11.2004 Klokka 21:26 (-0500) skreiv Shaya Potter:
> is there any reason why printk's I'm putting in nfs_readdir() don't
> appear at all (when other's, such as in nfsd) do appear. If it matters,
> this is a 2.4.23 kernel. Is printk somehow defined out in fs/nfs/ ?
printk() should always work. Just make sure that you are not confusing
it with "dprintk()".
Cheers,
Trond
--
Trond Myklebust <trond.myklebust@fys.uio.no>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nfs and printk's
2004-11-04 18:20 ` Shaya Potter
@ 2004-11-04 18:19 ` Randy.Dunlap
0 siblings, 0 replies; 4+ messages in thread
From: Randy.Dunlap @ 2004-11-04 18:19 UTC (permalink / raw)
To: Shaya Potter; +Cc: Trond Myklebust, Linux Filesystem Development
Shaya Potter wrote:
> On Thu, 2004-11-04 at 10:17 -0800, Trond Myklebust wrote:
>
>>on den 03.11.2004 Klokka 21:26 (-0500) skreiv Shaya Potter:
>>
>>>is there any reason why printk's I'm putting in nfs_readdir() don't
>>>appear at all (when other's, such as in nfsd) do appear. If it matters,
>>>this is a 2.4.23 kernel. Is printk somehow defined out in fs/nfs/ ?
>>
>>printk() should always work. Just make sure that you are not confusing
>>it with "dprintk()".
>
>
> I'm not, but there's something else screwed up with my build. none of
> the printk's I'm adding now are doing anything. very weird, probably a
> stupid screw up on my part.
It could also depend on the log level used in the printk() call.
Are you using one (like KERN_DEBUG)?
If so, either don't use one (usually Works For Me) or
increase the level of logging (Alt-SysRq-9).
--
~Randy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: nfs and printk's
2004-11-04 18:17 ` Trond Myklebust
@ 2004-11-04 18:20 ` Shaya Potter
2004-11-04 18:19 ` Randy.Dunlap
0 siblings, 1 reply; 4+ messages in thread
From: Shaya Potter @ 2004-11-04 18:20 UTC (permalink / raw)
To: Trond Myklebust; +Cc: Linux Filesystem Development
On Thu, 2004-11-04 at 10:17 -0800, Trond Myklebust wrote:
> on den 03.11.2004 Klokka 21:26 (-0500) skreiv Shaya Potter:
> > is there any reason why printk's I'm putting in nfs_readdir() don't
> > appear at all (when other's, such as in nfsd) do appear. If it matters,
> > this is a 2.4.23 kernel. Is printk somehow defined out in fs/nfs/ ?
>
> printk() should always work. Just make sure that you are not confusing
> it with "dprintk()".
I'm not, but there's something else screwed up with my build. none of
the printk's I'm adding now are doing anything. very weird, probably a
stupid screw up on my part.
thanks.
shaya
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-04 18:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-04 2:26 nfs and printk's Shaya Potter
2004-11-04 18:17 ` Trond Myklebust
2004-11-04 18:20 ` Shaya Potter
2004-11-04 18:19 ` Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).