On 2016-Oct-04 11:14:38 +1000, Andy Farkas <chuzzwa...@gmail.com> wrote:
>Is it just me or....
>
>Step 1: boot
>Step 2: login as root
>Step 3: type "w<enter>" *
>Step 4: type "shutdown now; logout<enter>"
>Step 5: press <enter> at the 'Enter full pathname of shell or RETURN for
>/bin/sh:' prompt
>Step 6: type "reboot<enter>"
>Step 7: get a Panic: "Going nowhere without my init!"
>
>* The panic will not happen if you skip step 3.
>
>The panic will not happen if you type "sync; sync; sync" after step 5.
>
>The panic will not happen if you wait (an unknown amount of) some time
>after step 5.

I can reproduce this on the console of my GCE instance but the timing
seems important.  It doesn't seem to fail if I ssh in or if I pause between
any of the commands.

...
gce1# w
 7:47PM  up 38 secs, 1 users, load averages: 0.69, 0.22, 0.08
USER       TTY      FROM                                      LOGIN@  IDLE WHAT
root       u0       -                                         7:47PM     - w
gce1# shutdown now;logout
Shutdown NOW!
shutdown: [pid 1071]
Stopping cron.
Stopping sshd.
Stopping ntpd.
Stopping local_unbound.
Stopping devd.
Writing entropy file:.
Writing early boot entropy file:.
Terminated
.
Oct  6 19:47:09 pflog0: promiscuous mode disabled
Enter full pathname of shell or RETURN for /bin/sh:
gce1# reboot
Oct  6 19:47:17 init: single user shell terminated.

init died (signal 0, exit 0)
panic: Going nowhere without my init!
Uptime: 55s
Changing serial settings was 0/0 now 3/0
Start bios (version 1.7.2-20150226_170051-google)

gce1$ uname -a
FreeBSD gce1.rulingia.com 11.0-PRERELEASE FreeBSD 11.0-PRERELEASE #83 r306704M: 
Thu Oct  6 13:22:27 AEDT 2016     
r...@gce1.rulingia.com:/usr/obj/usr/src/sys/GCE  amd64

I haven't investigated the cause yet.

-- 
Peter Jeremy

Attachment: signature.asc
Description: PGP signature

Reply via email to