All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Hirst <rhirst@linuxcare.com>
To: Matthew Wilcox <willy@debian.org>
Cc: parisc-linux@parisc-linux.org
Subject: Re: [parisc-linux] ntpdate broken
Date: Wed, 5 Dec 2001 17:56:25 +0000	[thread overview]
Message-ID: <20011205175625.G7051@linuxcare.com> (raw)
In-Reply-To: <20011205041853.C12186@parcelfarce.linux.theplanet.co.uk>; from willy@debian.org on Wed, Dec 05, 2001 at 04:18:53AM +0000

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

  reply	other threads:[~2001-12-05 17:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-05  4:18 [parisc-linux] ntpdate broken Matthew Wilcox
2001-12-05 17:56 ` Richard Hirst [this message]
2001-12-06  2:33   ` Carlos O'Donell Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011205175625.G7051@linuxcare.com \
    --to=rhirst@linuxcare.com \
    --cc=parisc-linux@parisc-linux.org \
    --cc=willy@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.