NetBSD Problem Report #54096

From www@netbsd.org  Tue Apr  2 17:14:19 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 792EF7A0D9
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Apr 2019 17:14:19 +0000 (UTC)
Message-Id: <20190402171418.856C27A1C4@mollari.NetBSD.org>
Date: Tue,  2 Apr 2019 17:14:18 +0000 (UTC)
From: ronja.koistinen@kapsi.fi
Reply-To: ronja.koistinen@kapsi.fi
To: gnats-bugs@NetBSD.org
Subject: Booting from hard disk hangs with a few lines of green text after fresh install (macppc)
X-Send-Pr-Version: www-1.0

>Number:         54096
>Category:       port-macppc
>Synopsis:       Booting from hard disk hangs with a few lines of green text after fresh install (macppc)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 02 17:15:01 +0000 2019
>Last-Modified:  Tue Apr 02 23:55:00 +0000 2019
>Originator:     Ronja Koistinen
>Release:        NetBSD 8.0 macppc
>Organization:
>Environment:
Apple iBook G4 12" 1.2 GHz (2004, model number A1054)
>Description:
The machine has an mSATA to IDE adapter with a 120 gigabyte SSD for a hard disk. It has a 10 GB HFS partition at the beginning containing a working Mac OS X installation. That partition also has the ofwboot.xcf bootloader.

I successfully booted the NetBSD 8.0 install media from CD-RW from Open Firmware (version 3). I partitioned the remaining space on the SSD to contain a 2 GB swap partition and the rest of it in an FFS root partition (slice a). These follow the various partitions created by Mac OS X such that the root partition is number 5.

After uneventfully installing NetBSD on the SSD, I attempted to boot from the SSD using Open Firmware. As I have copied the ofwboot.xcf bootloader on the Mac OS X partition, I attempted to boot with the command "boot hd:,\ofwboot.xcf".

This command launches the NetBSD bootloader, which then appears to find the netbsd kernel image.

However, the boot hangs after a few lines of green text. See photograph: https://i.imgur.com/xVXyagz.jpg
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-macppc/54096: Booting from hard disk hangs with a few lines
 of green text after fresh install (macppc)
Date: Wed, 3 Apr 2019 02:54:09 +0300

 On Tue, Apr 02, 2019 at 17:15:01 +0000, ronja.koistinen@kapsi.fi wrote:

 > However, the boot hangs after a few lines of green text.

 This is quite likely port-macppc/44895

 Possible workarounds:

 - use ofwboot.elf instead of ofwboot.xcf

 - use compressed netbsd.gz, the ofwboot.xcf bug seems to only happens
   with large kernels

 -uwe

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.