Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Enji Cooper
> On Aug 1, 2019, at 11:07, Andriy Gapon wrote: > >> On 01/08/2019 20:30, Enji Cooper wrote: >> On Aug 1, 2019, at 08:53, Rodney W. Grimes >> wrote: >> Is it possible in an rc script to distinguish between a manual stop (e.g., service foo stop) and a stop during a system

Re: drm-legacy is broken, again

2019-08-01 Thread Niclas Zeising
On 2019-08-01 21:42, Steve Kargl wrote: On Thu, Aug 01, 2019 at 03:31:15PM -0400, Mark Johnston wrote: On Thu, Aug 01, 2019 at 12:30:24PM -0700, Steve Kargl wrote: On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: Just

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Ian Lepore
On Thu, 2019-08-01 at 21:14 +0300, Andriy Gapon wrote: > On 01/08/2019 19:12, Warner Losh wrote: > > > > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > mailto:freebsd-...@gndrsh.dnsmgr.net>> > > wrote: > > > > > > > > Is it possible in an rc script to distinguish between a

Re: drm-legacy is broken, again

2019-08-01 Thread Steve Kargl
On Thu, Aug 01, 2019 at 03:31:15PM -0400, Mark Johnston wrote: > On Thu, Aug 01, 2019 at 12:30:24PM -0700, Steve Kargl wrote: > > On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: > > > On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > > > > Just updated /usr/src to top

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Andriy Gapon
On 01/08/2019 21:53, Freddie Cash wrote: > On Thu, Aug 1, 2019, 11:15 AM Andriy Gapon, > wrote: > > On 01/08/2019 19:12, Warner Losh wrote: > > > > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > >

Re: drm-legacy is broken, again

2019-08-01 Thread Mark Johnston
On Thu, Aug 01, 2019 at 12:30:24PM -0700, Steve Kargl wrote: > On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: > > On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > > > Just updated /usr/src to top of tree. > > > > > > Trying to update drm-legacy port. After > > > a

Re: drm-legacy is broken, again

2019-08-01 Thread Steve Kargl
On Thu, Aug 01, 2019 at 03:22:27PM -0400, Mark Johnston wrote: > On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > > Just updated /usr/src to top of tree. > > > > Trying to update drm-legacy port. After > > a failed 'make' in /usr/ports/drm-legacy > > The patch below should fix it.

Re: drm-legacy is broken, again

2019-08-01 Thread Mark Johnston
On Thu, Aug 01, 2019 at 12:10:09PM -0700, Steve Kargl wrote: > Just updated /usr/src to top of tree. > > Trying to update drm-legacy port. After > a failed 'make' in /usr/ports/drm-legacy The patch below should fix it. drm was relying on refcount.h including limits.h. diff --git

drm-legacy is broken, again

2019-08-01 Thread Steve Kargl
Just updated /usr/src to top of tree. Trying to update drm-legacy port. After a failed 'make' in /usr/ports/drm-legacy % make |& tee drm.txt % tail drm.txt ===> drm2/drm2 (all) Warning: Object directory not changed from original

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Freddie Cash
On Thu, Aug 1, 2019, 11:15 AM Andriy Gapon, wrote: > On 01/08/2019 19:12, Warner Losh wrote: > > > > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > > mailto:freebsd-...@gndrsh.dnsmgr.net>> > > wrote: > > > > > > > > Is it possible in an rc script to distinguish between a manual

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Andriy Gapon
On 01/08/2019 19:12, Warner Losh wrote: > > > On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes > mailto:freebsd-...@gndrsh.dnsmgr.net>> > wrote: > > > > > Is it possible in an rc script to distinguish between a manual stop > > (e.g., service foo stop) and a stop during a system

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Andriy Gapon
On 01/08/2019 20:39, Rodney W. Grimes wrote: >> On Aug 1, 2019, at 08:53, Rodney W. Grimes >> wrote: >> Is it possible in an rc script to distinguish between a manual stop (e.g., service foo stop) and a stop during a system shutdown (via rc.shutdown) ? Are there any

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Andriy Gapon
On 01/08/2019 20:30, Enji Cooper wrote: > On Aug 1, 2019, at 08:53, Rodney W. Grimes > wrote: > >>> >>> Is it possible in an rc script to distinguish between a manual stop >>> (e.g., service foo stop) and a stop during a system shutdown (via >>> rc.shutdown) ? >>> Are there any marker variables

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Andriy Gapon
On 01/08/2019 20:30, Enji Cooper wrote: > On Aug 1, 2019, at 08:53, Rodney W. Grimes > wrote: > >>> >>> Is it possible in an rc script to distinguish between a manual stop >>> (e.g., service foo stop) and a stop during a system shutdown (via >>> rc.shutdown) ? >>> Are there any marker variables

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Rodney W. Grimes
> On Aug 1, 2019, at 08:53, Rodney W. Grimes > wrote: > > >> > >> Is it possible in an rc script to distinguish between a manual stop > >> (e.g., service foo stop) and a stop during a system shutdown (via > >> rc.shutdown) ? > >> Are there any marker variables for that? > >> Or something in

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Enji Cooper
On Aug 1, 2019, at 08:53, Rodney W. Grimes wrote: >> >> Is it possible in an rc script to distinguish between a manual stop >> (e.g., service foo stop) and a stop during a system shutdown (via >> rc.shutdown) ? >> Are there any marker variables for that? >> Or something in the global system

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Warner Losh
On Thu, Aug 1, 2019, 10:53 AM Rodney W. Grimes < freebsd-...@gndrsh.dnsmgr.net> wrote: > > > > Is it possible in an rc script to distinguish between a manual stop > > (e.g., service foo stop) and a stop during a system shutdown (via > > rc.shutdown) ? > > Are there any marker variables for that?

Re: rc script: manual stop vs system shutdown

2019-08-01 Thread Rodney W. Grimes
> > Is it possible in an rc script to distinguish between a manual stop > (e.g., service foo stop) and a stop during a system shutdown (via > rc.shutdown) ? > Are there any marker variables for that? > Or something in the global system state? Not that I can think of, but I like this idea, I am

Re: Boot still broken from r349133-r349160 - Was re:(Problem with USB after r349133)

2019-08-01 Thread Scott Long
I’m 99% sure that the boot breakage is due to this commit: Author: jkim Date: Tue Jul 9 18:02:36 2019 New Revision: 349863 URL: https://svnweb.freebsd.org/changeset/base/349863 Log: MFV: r349861 Import ACPICA 20190703. I have two systems now that are affected, and both of them are “fixed”

rc script: manual stop vs system shutdown

2019-08-01 Thread Andriy Gapon
Is it possible in an rc script to distinguish between a manual stop (e.g., service foo stop) and a stop during a system shutdown (via rc.shutdown) ? Are there any marker variables for that? Or something in the global system state? Thanks! -- Andriy Gapon