[issue1344] shutdown now" does not work

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sat May 9 01:56:40 PDT 2009


On Mon, Apr 27, 2009 at 10:43:27AM +0000, Stathis Kamperis (via DragonFly issue tracker) wrote:
> 
> Stathis Kamperis <ekamperi at gmail.com> added the comment:
> 
> :: "shutdown now" does not work on HEAD.  I don't know when it starts,
> :: but it should be quite recent.
> 
> :I am git-bisect'ing it. I started before the libc merge, which translates to
> :~200 commits until HEAD. I'll need 7-8 buildworlds to track it down.
> 
> Hi.
> 
> The commit after 'shutdown now' has stopped working is
> b8477cda8783596a7c765667658de9a94dd368fd
> " Revoke reimplementation - primary commit part 1/2"
> 
> Any ideas on how to further debug it ? Breaking into ddb doesn't show much, just
> that we are in scgetc(), a syscons function. Also, ktrace'ing init and then
> invoking the command in discussion, produces this output: 
> http://leaf.dragonflybsd.org/~beket/ktrace.out.txt
> 
> Cheers,
> Stathis
> 
> _____________________________________________________
> DragonFly issue tracker <bugs at lists.dragonflybsd.org>
> <http://bugs.dragonflybsd.org/issue1344>
> _____________________________________________________

Any progress on this issue?

If I issue shutdown command from an ssh session, the console is usable.
If I switch to ttyv1(alt+F2), login as root, then issue `shutdown now',
the screen locks up but I can switch to ttyv0(alt+F1) and it accepts
the keystroke.  An odd thing is that you can switch back to ttyv1 from
ttyv0 after going to single-user mode.





More information about the Bugs mailing list