9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] issuing fshalt shuts down rio and gives the following
@ 2012-01-19 10:32 ROuNIN
  2012-01-19 11:30 ` David du Colombier
  2012-01-30  9:44 ` [9fans] issuing fshalt shuts down rio and gives the ROuNIN
  0 siblings, 2 replies; 16+ messages in thread
From: ROuNIN @ 2012-01-19 10:32 UTC (permalink / raw)
  To: 9fans

Hello,

Recently, I noticed a change from what I do not recall to be the
behavoiur I saw some time ago

When I issue an fshalt, it shuts down rio and give the following
outside rio
init: starting /bin/rc
term%

ROuNIN



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 10:32 [9fans] issuing fshalt shuts down rio and gives the following ROuNIN
@ 2012-01-19 11:30 ` David du Colombier
  2012-01-19 12:15   ` Peter A. Cejchan
  2012-01-19 13:13   ` erik quanstrom
  2012-01-30  9:44 ` [9fans] issuing fshalt shuts down rio and gives the ROuNIN
  1 sibling, 2 replies; 16+ messages in thread
From: David du Colombier @ 2012-01-19 11:30 UTC (permalink / raw)
  To: 9fans

> Recently, I noticed a change from what I do not recall to be the
> behavoiur I saw some time ago
>
> When I issue an fshalt, it shuts down rio and give the following
> outside rio
> init: starting /bin/rc
> term%

Yes, I got surprised when I first saw this change in may 2011,
but it's just normal behavior.

It kills rio and get back to cga mode to be able to reboot properly.

--
David du Colombier



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 11:30 ` David du Colombier
@ 2012-01-19 12:15   ` Peter A. Cejchan
  2012-01-19 13:39     ` David du Colombier
  2012-01-19 13:13   ` erik quanstrom
  1 sibling, 1 reply; 16+ messages in thread
From: Peter A. Cejchan @ 2012-01-19 12:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 78 bytes --]

is it okay to do ^T^Tr (or, CtlAltDel) then? I guess it is, however..
++pac

[-- Attachment #2: Type: text/html, Size: 84 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 11:30 ` David du Colombier
  2012-01-19 12:15   ` Peter A. Cejchan
@ 2012-01-19 13:13   ` erik quanstrom
  2012-01-19 13:35     ` Peter A. Cejchan
  1 sibling, 1 reply; 16+ messages in thread
From: erik quanstrom @ 2012-01-19 13:13 UTC (permalink / raw)
  To: 9fans

On Thu Jan 19 06:31:30 EST 2012, 0intro@gmail.com wrote:
> > Recently, I noticed a change from what I do not recall to be the
> > behavoiur I saw some time ago
> >
> > When I issue an fshalt, it shuts down rio and give the following
> > outside rio
> > init: starting /bin/rc
> > term%
>
> Yes, I got surprised when I first saw this change in may 2011,
> but it's just normal behavior.
>
> It kills rio and get back to cga mode to be able to reboot properly.

given that output, it is not clear that fshalt is really halting.
(expect, using kernel $fu...)

can you still run normal commands afterwards, or has your fs
shut down?  you may wish to sprinkle some echoes in the
fshalt script and see where things fail.

- erik



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 13:13   ` erik quanstrom
@ 2012-01-19 13:35     ` Peter A. Cejchan
  2012-01-19 13:44       ` David du Colombier
  0 siblings, 1 reply; 16+ messages in thread
From: Peter A. Cejchan @ 2012-01-19 13:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

I've just checked it out, just boot/login/logout:
the terminal went to 'black' (== txt) mode with
   prompt:
      fsys all sync
      main sync: wrote  blocks     ## why??
      (then, cursor blinks until <Enter>)
term%

[-- Attachment #2: Type: text/html, Size: 294 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 12:15   ` Peter A. Cejchan
@ 2012-01-19 13:39     ` David du Colombier
  0 siblings, 0 replies; 16+ messages in thread
From: David du Colombier @ 2012-01-19 13:39 UTC (permalink / raw)
  To: 9fans

> is it okay to do ^T^Tr (or, CtlAltDel) then? I guess it is, however..

Yes. You just have to wait for your file system
to synchronize and halt.

--
David du Colombier



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 13:35     ` Peter A. Cejchan
@ 2012-01-19 13:44       ` David du Colombier
  2012-01-19 14:23         ` Peter A. Cejchan
       [not found]         ` <CAM6ozu5ZTZ-Q7R2G9jgkWZdxgs_86n+j4pO3XarL0_c3W+_njw@mail.gmail.c>
  0 siblings, 2 replies; 16+ messages in thread
From: David du Colombier @ 2012-01-19 13:44 UTC (permalink / raw)
  To: 9fans

> I've just checked it out, just boot/login/logout:
> the terminal went to 'black' (== txt) mode with
>    prompt:
>       fsys all sync
>       main sync: wrote  blocks     ## why??

fshalt runs fossilcons(4) sync to flush the cache,
before halting the file system.

>       (then, cursor blinks until <Enter>)
> term%

It looks fine.

--
David du Colombier



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 13:44       ` David du Colombier
@ 2012-01-19 14:23         ` Peter A. Cejchan
  2012-01-19 14:51           ` David du Colombier
       [not found]         ` <CAM6ozu5ZTZ-Q7R2G9jgkWZdxgs_86n+j4pO3XarL0_c3W+_njw@mail.gmail.c>
  1 sibling, 1 reply; 16+ messages in thread
From: Peter A. Cejchan @ 2012-01-19 14:23 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

why did it write anything wnen nothing was changed? just login/fshalt...

> fshalt runs fossilcons(4) sync to flush the cache,

> before halting the file system.
>

[-- Attachment #2: Type: text/html, Size: 349 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
       [not found]         ` <CAM6ozu5ZTZ-Q7R2G9jgkWZdxgs_86n+j4pO3XarL0_c3W+_njw@mail.gmail.c>
@ 2012-01-19 14:38           ` erik quanstrom
  2012-01-19 14:54             ` tlaronde
  2012-01-19 15:02             ` Peter A. Cejchan
  0 siblings, 2 replies; 16+ messages in thread
From: erik quanstrom @ 2012-01-19 14:38 UTC (permalink / raw)
  To: 9fans

> why did it write anything wnen nothing was changed? just login/fshalt...
>

atime updates.

i'm not convinced that everything is fine.  are you running
the current version of fshalt, fossil?  there are a couple
of expect scripts hiding in fshalt, and they could easily
be confused.

- erik



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 14:23         ` Peter A. Cejchan
@ 2012-01-19 14:51           ` David du Colombier
  0 siblings, 0 replies; 16+ messages in thread
From: David du Colombier @ 2012-01-19 14:51 UTC (permalink / raw)
  To: 9fans

> why did it write anything wnen nothing was changed? just
> login/fshalt...

It is likely to be atime updates.

--
David du Colombier



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 14:38           ` erik quanstrom
@ 2012-01-19 14:54             ` tlaronde
  2012-01-19 15:06               ` David du Colombier
  2012-01-19 15:02             ` Peter A. Cejchan
  1 sibling, 1 reply; 16+ messages in thread
From: tlaronde @ 2012-01-19 14:54 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, Jan 19, 2012 at 09:38:40AM -0500, erik quanstrom wrote:
> > why did it write anything wnen nothing was changed? just login/fshalt...
> >
>
> atime updates.
>
> i'm not convinced that everything is fine.  are you running
> the current version of fshalt, fossil?  there are a couple
> of expect scripts hiding in fshalt, and they could easily
> be confused.

Since I have a vanilla fresh install, I can tell that what is described
is the default behavior. The fs does sync and halt.

The only curious thing is that "fshalt -r" does reboot, but reboots say
Plan9, and not the computer (restarts from 9load it seems). [I'm not
saying it should not or whatever; it is a constatation and it probably
makes sense for a Plan9 terminal.]
--
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                      http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 14:38           ` erik quanstrom
  2012-01-19 14:54             ` tlaronde
@ 2012-01-19 15:02             ` Peter A. Cejchan
  1 sibling, 0 replies; 16+ messages in thread
From: Peter A. Cejchan @ 2012-01-19 15:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 412 bytes --]

... there've been some issues around pull considering files as locally
modified while they weren't... thus, I have some outdated versions of
everything ... I'll try to edit the pull's output to pull -s list, then
we'll see.
Although unhappy with that, I am spending much time now on linux, writing
in 'Go', as I depend on packages using features introduced after Go 60.2,
sigh...
Thanks, regards,
++pac

[-- Attachment #2: Type: text/html, Size: 451 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 14:54             ` tlaronde
@ 2012-01-19 15:06               ` David du Colombier
  2012-01-19 16:20                 ` erik quanstrom
  0 siblings, 1 reply; 16+ messages in thread
From: David du Colombier @ 2012-01-19 15:06 UTC (permalink / raw)
  To: 9fans

> The only curious thing is that "fshalt -r" does reboot, but reboots
> say Plan9, and not the computer (restarts from 9load it seems). [I'm
> not saying it should not or whatever; it is a constatation and it
> probably makes sense for a Plan9 terminal.]

It reloads the current kernel using #c/reboot.

--
David du Colombier



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the following
  2012-01-19 15:06               ` David du Colombier
@ 2012-01-19 16:20                 ` erik quanstrom
  0 siblings, 0 replies; 16+ messages in thread
From: erik quanstrom @ 2012-01-19 16:20 UTC (permalink / raw)
  To: 9fans

On Thu Jan 19 10:06:50 EST 2012, 0intro@gmail.com wrote:
> > The only curious thing is that "fshalt -r" does reboot, but reboots
> > say Plan9, and not the computer (restarts from 9load it seems). [I'm
> > not saying it should not or whatever; it is a constatation and it
> > probably makes sense for a Plan9 terminal.]
>
> It reloads the current kernel using #c/reboot.

not correct.  it loads the current default kernel,
from /n/boot/$cputype/9xxx.  where xxx is determined
by peeking at $terminal.

- erik



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the
  2012-01-19 10:32 [9fans] issuing fshalt shuts down rio and gives the following ROuNIN
  2012-01-19 11:30 ` David du Colombier
@ 2012-01-30  9:44 ` ROuNIN
  2012-02-22 23:29   ` Nicolas Bercher
  1 sibling, 1 reply; 16+ messages in thread
From: ROuNIN @ 2012-01-30  9:44 UTC (permalink / raw)
  To: 9fans

Why can we not re-instate the following messages at least the "done
halting":

term% fshalt
syncing.../srv/fscons...prompt: venti...
halting.../srv/fscons...
prompt:
done halting

ROuNIN



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [9fans] issuing fshalt shuts down rio and gives the
  2012-01-30  9:44 ` [9fans] issuing fshalt shuts down rio and gives the ROuNIN
@ 2012-02-22 23:29   ` Nicolas Bercher
  0 siblings, 0 replies; 16+ messages in thread
From: Nicolas Bercher @ 2012-02-22 23:29 UTC (permalink / raw)
  To: 9fans

On 30/01/2012 10:44, ROuNIN wrote:
> Why can we not re-instate the following messages at least the "done
> halting":
>
> term% fshalt
> syncing.../srv/fscons...prompt: venti...
> halting.../srv/fscons...
> prompt:
> done halting

That an important point to me: how can I be sure all of the fshalt stuff
is done for good?  I'm currently setting up a Plan 9 cpu/fs/auth with
recent iso and this really confused to me at first.

Actually, after (too) many reboots, I saw "done halting" only once.

Nicolas



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-02-22 23:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 10:32 [9fans] issuing fshalt shuts down rio and gives the following ROuNIN
2012-01-19 11:30 ` David du Colombier
2012-01-19 12:15   ` Peter A. Cejchan
2012-01-19 13:39     ` David du Colombier
2012-01-19 13:13   ` erik quanstrom
2012-01-19 13:35     ` Peter A. Cejchan
2012-01-19 13:44       ` David du Colombier
2012-01-19 14:23         ` Peter A. Cejchan
2012-01-19 14:51           ` David du Colombier
     [not found]         ` <CAM6ozu5ZTZ-Q7R2G9jgkWZdxgs_86n+j4pO3XarL0_c3W+_njw@mail.gmail.c>
2012-01-19 14:38           ` erik quanstrom
2012-01-19 14:54             ` tlaronde
2012-01-19 15:06               ` David du Colombier
2012-01-19 16:20                 ` erik quanstrom
2012-01-19 15:02             ` Peter A. Cejchan
2012-01-30  9:44 ` [9fans] issuing fshalt shuts down rio and gives the ROuNIN
2012-02-22 23:29   ` Nicolas Bercher

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).