[haiku-bugs] Re: [Haiku] #5859: "shutdown -q" fails in terminal

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 30 Apr 2010 21:42:32 -0000

#5859: "shutdown -q" fails in terminal
-----------------------+----------------------------------------------------
 Reporter:  Disreali   |       Owner:  nobody        
     Type:  bug        |      Status:  new           
 Priority:  normal     |   Milestone:  R1            
Component:  - General  |     Version:  R1/Development
 Keywords:             |   Blockedby:                
 Platform:  All        |    Blocking:                
-----------------------+----------------------------------------------------

Comment(by bonefish):

 Replying to [comment:3 Disreali]:
 > Replying to [comment:2 axeld]:
 > > Generally, powering off can only work if APM or ACPI has been enabled
 - did you do that? It's not enabled by default in that revision yet (only
 after r36474).
 >
 > One of the first things I do after any install is to enable ACPI.
 Though, I do not enable APM. Is that needed also?

 No, enabling both is calling for trouble.

 > I tried to upload my syslog, but it was to big. I don't know what I
 should be looking for in the syslog.  If someone could give me an idea, I
 could then upload that section.

 Please note that the syslog can contain output of several sessions. One is
 fully sufficient. You can e.g. search for a line "Welcome to the Haiku
 boot loader!". The output for the session starts about 20 lines above that
 with a line "options = 0". Normally the output for a single session
 shouldn't hit the attachment size limit. If it still does, please zip it
 (gzip, bzip2, zip,...).

 > Also, I just found out that if I enter 'shutdown' without any switch, it
 will shutdown the system. This is not expected behavior. Entering
 'shutdown' without a switch should print out the same as 'shutdown -h'.

 The current behavior is definitely the expected one. All commands that
 don't need arguments should have a reasonable default behavior when
 invoked without any. And it is kind of obvious what the default behavior
 of the ''shutdown'' command would be.


 Replying to [comment:4 Disreali]:
 > Just installed r36511-alpha-rc and entering 'shutdown -q' in terminal
 freezes the system. System does not respond to keyboard or mouse input,
 and I have to do a hard reset.
 >
 > Would you prefer I enter a new ticket for this?

 Yes please. Also check whether you can still enter the kernel debugger
 (Alt-Sysreq-D).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5859#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: