* [parisc-linux] ntpdate broken
@ 2001-12-05 4:18 Matthew Wilcox
2001-12-05 17:56 ` Richard Hirst
0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2001-12-05 4:18 UTC (permalink / raw)
To: parisc-linux
ntpdate isn't working on paer. from the strace:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
rt_sigaction(SIGALRM, {0x287a2, [], 0}, {SIG_DFL}, 8) = 0
setitimer(ITIMER_REAL, {it_interval={0, 200000}, it_value={0, 100000}}, NULL) = 0
setpriority(PRIO_PROCESS, 0, -12) = 0
poll([{fd=4, events=POLLIN}], 1, 60000) = 0
poll( <unfinished ...>
anyone want to spend some time debugging this? i'd bug the debian
maintainer, but i hear he's not very sympathetic towards hppa.
--
Revolutions do not require corporate support.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [parisc-linux] ntpdate broken
2001-12-05 4:18 [parisc-linux] ntpdate broken Matthew Wilcox
@ 2001-12-05 17:56 ` Richard Hirst
2001-12-06 2:33 ` Carlos O'Donell Jr.
0 siblings, 1 reply; 3+ messages in thread
From: Richard Hirst @ 2001-12-05 17:56 UTC (permalink / raw)
To: Matthew Wilcox; +Cc: parisc-linux
On Wed, Dec 05, 2001 at 04:18:53AM +0000, Matthew Wilcox wrote:
>
> ntpdate isn't working on paer. from the strace:
>
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
> fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> rt_sigaction(SIGALRM, {0x287a2, [], 0}, {SIG_DFL}, 8) = 0
> setitimer(ITIMER_REAL, {it_interval={0, 200000}, it_value={0, 100000}}, NULL) = 0
> setpriority(PRIO_PROCESS, 0, -12) = 0
> poll([{fd=4, events=POLLIN}], 1, 60000) = 0
> poll( <unfinished ...>
>
> anyone want to spend some time debugging this? i'd bug the debian
> maintainer, but i hear he's not very sympathetic towards hppa.
That poll call should have been interrupted by SIGALRM after about 100ms.
time_t is long, so I guess we need a wrapper for setitimer()/getitimer().
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [parisc-linux] ntpdate broken
2001-12-05 17:56 ` Richard Hirst
@ 2001-12-06 2:33 ` Carlos O'Donell Jr.
0 siblings, 0 replies; 3+ messages in thread
From: Carlos O'Donell Jr. @ 2001-12-06 2:33 UTC (permalink / raw)
To: parisc-linux
> >
> > ntpdate isn't working on paer. from the strace:
> >
> > socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
> > fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> > rt_sigaction(SIGALRM, {0x287a2, [], 0}, {SIG_DFL}, 8) = 0
> > setitimer(ITIMER_REAL, {it_interval={0, 200000}, it_value={0, 100000}}, NULL) = 0
> > setpriority(PRIO_PROCESS, 0, -12) = 0
> > poll([{fd=4, events=POLLIN}], 1, 60000) = 0
> > poll( <unfinished ...>
> >
> > anyone want to spend some time debugging this? i'd bug the debian
> > maintainer, but i hear he's not very sympathetic towards hppa.
>
> That poll call should have been interrupted by SIGALRM after about 100ms.
> time_t is long, so I guess we need a wrapper for setitimer()/getitimer().
>
> Richard
Could there be other long issues lurking?
A hidden assumption somewhere?
I guess my questions would be:
Are wide/narrow wrapper issues ferreted out one by one?
c.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-06 2:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-05 4:18 [parisc-linux] ntpdate broken Matthew Wilcox
2001-12-05 17:56 ` Richard Hirst
2001-12-06 2:33 ` Carlos O'Donell Jr.
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.