* 2.6.0-test3 and dnotify @ 2003-08-12 16:28 Ronald Kuetemeier 2003-08-13 4:29 ` Stephen Rothwell 2003-08-13 4:37 ` [PATCH][DOCO] " Stephen Rothwell 0 siblings, 2 replies; 4+ messages in thread From: Ronald Kuetemeier @ 2003-08-12 16:28 UTC (permalink / raw) To: linux-kernel First, sorry if you replied to my other mail. I forgot to activate the e-mail address, should work now. I run some of my programs on 2.6.0-test3 this morning, before my coffee ..., anyhow seems dnotify isn't working any more. I compiled the example from <linux-2.6.0-test3>/Documentation/dnotify.txt this also doesn't work anymore. SMP <2 PIII> system. As usual CC me, if possible :-). Ronald ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.0-test3 and dnotify 2003-08-12 16:28 2.6.0-test3 and dnotify Ronald Kuetemeier @ 2003-08-13 4:29 ` Stephen Rothwell 2003-08-13 4:37 ` [PATCH][DOCO] " Stephen Rothwell 1 sibling, 0 replies; 4+ messages in thread From: Stephen Rothwell @ 2003-08-13 4:29 UTC (permalink / raw) To: Ronald Kuetemeier; +Cc: linux-kernel On 12 Aug 2003 10:28:47 -0600 Ronald Kuetemeier <ron_ker@kuetemeier.com> wrote: > > I run some of my programs on 2.6.0-test3 this morning, before my coffee > ..., anyhow seems dnotify isn't working any more. I compiled the example > from <linux-2.6.0-test3>/Documentation/dnotify.txt this also doesn't > work anymore. > SMP <2 PIII> system. > As usual CC me, if possible :-). Try using (SIGRTMIN + 1) instead of SGIRTMIN. At some point glibc or bash (or something) started blocking SIGRTMIN by default ... -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ ^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH][DOCO] Re: 2.6.0-test3 and dnotify 2003-08-12 16:28 2.6.0-test3 and dnotify Ronald Kuetemeier 2003-08-13 4:29 ` Stephen Rothwell @ 2003-08-13 4:37 ` Stephen Rothwell 2003-08-13 17:13 ` Ronald Kuetemeier 1 sibling, 1 reply; 4+ messages in thread From: Stephen Rothwell @ 2003-08-13 4:37 UTC (permalink / raw) To: Linus; +Cc: linux-kernel, Ronald Kuetemeier Linus, On 12 Aug 2003 10:28:47 -0600 Ronald Kuetemeier <ron_ker@kuetemeier.com> wrote: > > I run some of my programs on 2.6.0-test3 this morning, before my coffee > ..., anyhow seems dnotify isn't working any more. I compiled the example > from <linux-2.6.0-test3>/Documentation/dnotify.txt this also doesn't > work anymore. This has been asked a couple of times, so can you please apply the following documentation patch? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ diff -ruN 2.6.0-test3/Documentation/dnotify.txt 2.6.0-test3.sfr.1/Documentation/dnotify.txt --- 2.6.0-test3/Documentation/dnotify.txt 2001-04-07 03:42:48.000000000 +1000 +++ 2.6.0-test3.sfr.1/Documentation/dnotify.txt 2003-08-13 14:32:14.000000000 +1000 @@ -32,7 +32,8 @@ Preferably the application will choose one of the real time signals (SIGRTMIN + <n>) so that the notifications may be queued. This is -especially important if DN_MULTISHOT is specified. +especially important if DN_MULTISHOT is specified. Note that SIGRTMIN +is often blocked, so it is better to use (at least) SIGRTMIN + 1. Implementation expectations (features and bugs :-)) --------------------------- @@ -78,10 +79,10 @@ act.sa_sigaction = handler; sigemptyset(&act.sa_mask); act.sa_flags = SA_SIGINFO; - sigaction(SIGRTMIN, &act, NULL); + sigaction(SIGRTMIN + 1, &act, NULL); fd = open(".", O_RDONLY); - fcntl(fd, F_SETSIG, SIGRTMIN); + fcntl(fd, F_SETSIG, SIGRTMIN + 1); fcntl(fd, F_NOTIFY, DN_MODIFY|DN_CREATE|DN_MULTISHOT); /* we will now be notified if any of the files in "." is modified or new files are created */ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH][DOCO] Re: 2.6.0-test3 and dnotify 2003-08-13 4:37 ` [PATCH][DOCO] " Stephen Rothwell @ 2003-08-13 17:13 ` Ronald Kuetemeier 0 siblings, 0 replies; 4+ messages in thread From: Ronald Kuetemeier @ 2003-08-13 17:13 UTC (permalink / raw) To: Stephen Rothwell; +Cc: Linus, linux-kernel Stephan, I most certainly will give it a shot. But why is it working under 2.4.X iff glibc or bash are blocking SIGRTMIN, they should also block under 2.4.x or is there a bug in 2.4.x which prevents it? Thanks for your help, Ronald On Tue, 2003-08-12 at 22:37, Stephen Rothwell wrote: > Linus, > > On 12 Aug 2003 10:28:47 -0600 Ronald Kuetemeier <ron_ker@kuetemeier.com> wrote: > > > > I run some of my programs on 2.6.0-test3 this morning, before my coffee > > ..., anyhow seems dnotify isn't working any more. I compiled the example > > from <linux-2.6.0-test3>/Documentation/dnotify.txt this also doesn't > > work anymore. > > This has been asked a couple of times, so can you please apply the > following documentation patch? ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-08-13 17:13 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-08-12 16:28 2.6.0-test3 and dnotify Ronald Kuetemeier 2003-08-13 4:29 ` Stephen Rothwell 2003-08-13 4:37 ` [PATCH][DOCO] " Stephen Rothwell 2003-08-13 17:13 ` Ronald Kuetemeier
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).