NetBSD Problem Report #34498

From www@NetBSD.org  Fri Sep  8 22:30:50 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id E1F7F63B89F; Fri,  8 Sep 2006 22:30:49 +0000 (UTC)
Message-Id: <20060908223049.E1F7F63B89F@narn.NetBSD.org>
Date: Fri,  8 Sep 2006 22:30:49 +0000 (UTC)
From: Hilmar.Boehm@hiro-consult.de
Reply-To: Hilmar.Boehm@hiro-consult.de
To: gnats-bugs@NetBSD.org
Subject: Netbsd 3.1RC2/macppc is powered off during boot of the installation kernel on powerbook5,8
X-Send-Pr-Version: www-1.0

>Number:         34498
>Category:       port-macppc
>Synopsis:       Netbsd 3.1RC2/macppc is powered off during boot of the installation kernel on powerbook5,8
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 08 22:35:00 +0000 2006
>Closed-Date:    
>Last-Modified:  Thu Apr 21 00:30:02 +0000 2011
>Originator:     Hilmar Böhm
>Release:        3.1RC2
>Organization:
(privat)
>Environment:
-'uname -a is not possible-
Apple PowerBokk5,8: - post-October-2005 System, bought Nov. 2005, 15", 1,67GHz PowerPC processor, 2GB Memory, CD/DVD Superdrive, 120GB internal HD.
Used: NetBSD 3.1RC2 release candidate iso image (ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-3-1-RC2/200609031430Z/iso/ )

Apple Open Firmware :
Apple PowerBoot 5,8 4.9.6f0 BootROM built on 10/05/05 at 16:45:50
Copyright 1994-2005 Apple Computer, Inc.

Welcome to Open Firmwarem the system time and date is: 09/08/2006 22:23:47
....



>Description:
Symptom: During boot of the installation kernel the system is (completely) powered off. 
What I tried:
1. Boot from CD-ROM (see above)by means of (from OFW3 cmmand line):
> boot cd:, ofwboot.xcf --> The system is switched off after a few lines of kernel output. Lines go by very fast, so no detail can be seen.

2. - Copied from Inst-CD: "ofwboot.xcf", "netbsd-GENERIC-MD.gz", "netbsd-GENERIC_MD.symbols.gz" over to root dir. of MAC OS X Boot partition (first HPFS partition on disk) and 
- renamed netbsd-GENERIC_MD.gz to netbsd-gz and
- issued the OFW3 command: > boot hd:,ofwboot.xcf netbsd.gz

3. The screen resolution changes from standard PB-resolution to a lower resolution (bigger characters) with white screen background and kernel output starts. The Output on screen is to fast to recognize output in detail. I tried to take a picture from the screen with my mobile phone camera. 
The last lines are:
...
uhub1 at usb1
uhub1: NEC OHCI ...
ehci0: 2 ports ...
ehci0 at pci1 dev...
ehci0: interruption
ehci0:  BIOS has...
ehci0: EHCI version...
usb20: companion....
uhub at ehci0...
(the system is switched off here (power off))
---------------------------------------------

I can reproduce this behaviour with NetBSD 2.1, 3.0 and 3.0.1 also, ecactly same behaviour.

The only reference to this problem I saw on the port-macppc Mailing List was: 29.01.2001 - Richard M Kreuter - "Re: Powerbook 15 XFree". No solution!


>How-To-Repeat:
See Description above and use the above mentioned Hardware!

>Fix:

>Release-Note:

>Audit-Trail:
From: Allen Briggs <briggs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-macppc/34498: Netbsd 3.1RC2/macppc is powered off during boot of the installation kernel on powerbook5,8
Date: Fri, 8 Sep 2006 21:50:16 -0400

 On Fri, Sep 08, 2006 at 10:35:00PM +0000, Hilmar.Boehm@hiro-consult.de wrote:
 > Symptom: During boot of the installation kernel the system is (completely) powered off. 

 I have seen this, too.  I tracked it down to ADB through the VIA
 emulation.  When we try to reset the ADB, it powers down immediately.
 OpenBSD does the same (at least they did with the latest kernel I
 could try from their binary download -- 3.9?).  Linux handles it
 fine.

 I started to look through the power management code, but began to
 think that we'd be better off with a rather sizeable overhaul and
 punted for the time being.

 There's something else funky with the keyboard.  It appears to be
 a USB keyboard that also appears through ADB emulation of some sort.
 OS X sees three USB busses:
 	1: Bluetooth HCI
 	2: Apple Internal Keyboard / Trackpad:
 		Version: 0.86
 		Bus Power (mA): 500
 		Speed: Up to 12 Mb/sec
 		Manufacturer: Apple Computer
 		Product ID: 0x0214
 		Vendor ID: 0x05ac (Apple Computer, Inc.)
 	3: USB High-Speed Bus

 But NetBSD probes several devices here and I get no keyboard input.
 Perhaps because the wskbd0 attaches to the wrong keyboard instance.

 -allen

 -- 
 Allen Briggs  |  http://www.ninthwonder.com/~briggs/  |  briggs@ninthwonder.com

State-Changed-From-To: open->feedback
State-Changed-By: macallan@netbsd.org
State-Changed-When: Wed, 28 Feb 2007 04:00:49 +0000
State-Changed-Why:
please post ofctl -p output


From: =?iso-8859-1?Q?Hilmar_B=F6hm?= <Hilmar.Boehm@hiro-consult.de>
To: <gnats-bugs@gnats.netbsd.org>
Subject: Re: port-mcppc/34498
Date: Thu, 20 Mar 2008 12:48:39 +0100

 I've sold this notebook and therefore I cannot test this anymore nor cannot
 provide any further information.
 This report can be closed from my side.
 Best regards. / Hilmar.



State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 27 Mar 2008 08:11:28 +0000
State-Changed-Why:
submitter cannot test; hopefully someone else with the same hw will happen by


State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 27 Mar 2008 08:13:16 +0000
State-Changed-Why:
meant to be a comment on 34498; submitter typoed and confused gnats. I have
copied the comment over.


State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 27 Mar 2008 08:13:51 +0000
State-Changed-Why:
crap, wrong pr.


State-Changed-From-To: open->dead
State-Changed-By: hubertf@NetBSD.org
State-Changed-When: Sat, 20 Feb 2010 16:31:57 +0000
State-Changed-Why:
Submitter cannot reproduce,
OS version is no longer supported.
If this still is a problem with a recent NetBSD version, please re-submit.

 - Hubert


State-Changed-From-To: dead->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 14 Mar 2010 18:09:12 +0000
State-Changed-Why:
this one should really be tested if possible.

in any event, "dead" is the wrong state...


From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/34498: Netbsd 3.1RC2/macppc is powered off during
 boot of the installation kernel on powerbook5,8
Date: Thu, 21 Apr 2011 00:27:02 +0000

 yea verily, gnats sucketh mightily

    ------

 From: Michael <macallan@netbsd.org>
 To: gnats-admin@netbsd.org
 Subject: Re: port-mcppc/34498 (pending)
 Date: Wed, 20 Apr 2011 21:40:01 +0000 (UTC)

  This was very likely fixed years ago when I replaced the ADB  
  subsystem. The old code would attempt to reset the ADB bus which some  
  PMUs don't like and power down ( Core99 Powerbook PMUs have this nasty  
  habit instead of just returning errors ). Also, this PowerBook may not  
  even have ADB support at all, IIRC the last generation had USB  
  keyboards and trackpads.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.