Re: PSA: If you run -current, beware!

2015-02-05 Thread John Baldwin
On Thursday, February 05, 2015 08:48:33 AM Luigi Rizzo wrote: On Thursday, February 5, 2015, Peter Wemm pe...@wemm.org wrote: On Wednesday, February 04, 2015 04:29:41 PM Konstantin Belousov wrote: On Tue, Feb 03, 2015 at 01:33:15PM -0800, Peter Wemm wrote: Sometime in the Dec 10th

Re: PSA: If you run -current, beware!

2015-02-05 Thread Ed Maste
On 5 February 2015 at 02:48, Luigi Rizzo ri...@iet.unipi.it wrote: Rather than depending on a compiler option, wouldn't it be better/more robust to change ticks to unsigned, which has specified wrapping behavior? I believe there are cases other than ticks that rely on 2s complement signed

Re: PSA: If you run -current, beware!

2015-02-05 Thread David Chisnall
On 5 Feb 2015, at 07:48, Luigi Rizzo ri...@iet.unipi.it wrote: Rather than depending on a compiler option, wouldn't it be better/more robust to change ticks to unsigned, which has specified wrapping behavior? Especially if we want to extend support for external toolchains. gcc and clang

Re: PSA: If you run -current, beware!

2015-02-05 Thread Alfred Perlstein
On 2/5/15 11:00 AM, Peter Wemm wrote: On Thursday, February 05, 2015 10:48:54 AM John Baldwin wrote: On Thursday, February 05, 2015 04:22:23 PM Luigi Rizzo wrote: On Thu, Feb 05, 2015 at 08:21:45AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 08:48:33 AM Luigi Rizzo wrote: ...

Re: PSA: If you run -current, beware!

2015-02-05 Thread Peter Wemm
On Thursday, February 05, 2015 11:00:46 AM Peter Wemm wrote: On Thursday, February 05, 2015 10:48:54 AM John Baldwin wrote: On Thursday, February 05, 2015 04:22:23 PM Luigi Rizzo wrote: On Thu, Feb 05, 2015 at 08:21:45AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 08:48:33

Re: PSA: If you run -current, beware!

2015-02-05 Thread Luigi Rizzo
On Thu, Feb 05, 2015 at 08:21:45AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 08:48:33 AM Luigi Rizzo wrote: ... It is fixed (in the proper meaning of the word, not like worked around, covered by paper) by the patch at the end of the mail. We already have a story

Re: PSA: If you run -current, beware!

2015-02-05 Thread Ryan Stone
On Wed, Feb 4, 2015 at 6:15 PM, Peter Wemm pe...@wemm.org wrote: --- kern/kern_clock.c 2014-12-01 15:42:21.707911656 -0800 +++ kern/kern_clock.c 2014-12-01 15:42:21.707911656 -0800 @@ -410,6 +415,11 @@ #ifdef SW_WATCHDOG EVENTHANDLER_REGISTER(watchdog_list, watchdog_config, NULL,

Re: PSA: If you run -current, beware!

2015-02-05 Thread Brooks Davis
On Thu, Feb 05, 2015 at 10:48:54AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 04:22:23 PM Luigi Rizzo wrote: On Thu, Feb 05, 2015 at 08:21:45AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 08:48:33 AM Luigi Rizzo wrote: ... It is fixed (in the proper

Re: PSA: If you run -current, beware!

2015-02-05 Thread John Baldwin
On Thursday, February 05, 2015 04:22:23 PM Luigi Rizzo wrote: On Thu, Feb 05, 2015 at 08:21:45AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 08:48:33 AM Luigi Rizzo wrote: ... It is fixed (in the proper meaning of the word, not like worked around, covered by

Re: PSA: If you run -current, beware!

2015-02-05 Thread Peter Wemm
On Thursday, February 05, 2015 10:48:54 AM John Baldwin wrote: On Thursday, February 05, 2015 04:22:23 PM Luigi Rizzo wrote: On Thu, Feb 05, 2015 at 08:21:45AM -0500, John Baldwin wrote: On Thursday, February 05, 2015 08:48:33 AM Luigi Rizzo wrote: ... It is fixed (in the proper

Re: PSA: If you run -current, beware!

2015-02-04 Thread Ed Maste
On 4 February 2015 at 09:29, Konstantin Belousov kostik...@gmail.com wrote: So the issue is reproducable in 3 minutes after boot with the following change in kern_clock.c: volatile intticks = INT_MAX - (/*hz*/1000 * 3 * 60); It is fixed (in the proper meaning of the word, not like worked

Re: PSA: If you run -current, beware!

2015-02-04 Thread Peter Wemm
On Wednesday, February 04, 2015 04:29:41 PM Konstantin Belousov wrote: On Tue, Feb 03, 2015 at 01:33:15PM -0800, Peter Wemm wrote: Sometime in the Dec 10th through Jan 7th timeframe a timing bug has been introduced to 11.x/head/-current.With HZ=1000 (the default for bare metal, not for

Re: PSA: If you run -current, beware!

2015-02-04 Thread Luigi Rizzo
On Thursday, February 5, 2015, Peter Wemm pe...@wemm.org wrote: On Wednesday, February 04, 2015 04:29:41 PM Konstantin Belousov wrote: On Tue, Feb 03, 2015 at 01:33:15PM -0800, Peter Wemm wrote: Sometime in the Dec 10th through Jan 7th timeframe a timing bug has been introduced to

Re: PSA: If you run -current, beware!

2015-02-04 Thread Konstantin Belousov
On Tue, Feb 03, 2015 at 01:33:15PM -0800, Peter Wemm wrote: Sometime in the Dec 10th through Jan 7th timeframe a timing bug has been introduced to 11.x/head/-current.With HZ=1000 (the default for bare metal, not for a vm); the clocks stop just after 24 days of uptime. This means

Re: PSA: If you run -current, beware!

2015-02-03 Thread Luigi Rizzo
On Tuesday, February 3, 2015, Peter Wemm pe...@wemm.org wrote: Sometime in the Dec 10th through Jan 7th timeframe a timing bug has been introduced to 11.x/head/-current.With HZ=1000 (the default for bare metal, not for a vm); the clocks stop just after 24 days of uptime. This means

Re: PSA: If you run -current, beware!

2015-02-03 Thread Ian Lepore
On Tue, 2015-02-03 at 13:33 -0800, Peter Wemm wrote: Sometime in the Dec 10th through Jan 7th timeframe a timing bug has been introduced to 11.x/head/-current.With HZ=1000 (the default for bare metal, not for a vm); the clocks stop just after 24 days of uptime. This means things like

PSA: If you run -current, beware!

2015-02-03 Thread Peter Wemm
Sometime in the Dec 10th through Jan 7th timeframe a timing bug has been introduced to 11.x/head/-current.With HZ=1000 (the default for bare metal, not for a vm); the clocks stop just after 24 days of uptime. This means things like cron, sleep, timeouts etc stop working. TCP/IP won't time