Subject: port-macppc/31420: macppc install using 2.0.2 fails to boot when ufs2 is used
To: None <port-macppc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <tmdraney@cox.net>
List: netbsd-bugs
Date: 09/29/2005 22:57:00
>Number:         31420
>Category:       port-macppc
>Synopsis:       macppc install using 2.0.2 fails to boot when ufs2 is used
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 29 22:57:00 +0000 2005
>Originator:     Merritt
>Release:        2.0.2
>Organization:
N/A
>Environment:
NetBSD kernel...net 2.0.2 NetBSD 2.0.2 (Generic) #0: Tue Mar 22 16:19:08
UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-Release/macppc/2000503220140Z-obj/home/builds/ab/netbsd-2-0-2-Release/src/sys/arch/macppc/compile/Generic macppc
>Description:
I installed NetBSD on my new powerbook using the install directions.  The only differences were that I also added a /usr and /home partition and used a different file system ufs2.  I did a newfs -O2 /dev/wd0? command to create the filesystems.  I did it on all partitions.  It seemed to install alright but it failed to boot from open firmware using the command

boot hd:,ofwboot.xcf hd:4,/netbsd

I had previously copied the ofwboot.xcf onto my first hfs partition containing osx.  I messed around with every command I could think of and could get nothing to work.  I then reinstalled netbsd again but reformated each partition with regular ffs and walla the above command had me booting into netbsd and all was well.  I again reinstalled it with ufs2 and it again failed.  I am now running netbsd under regular ffs and it is running well.  My guess would be there is a problem with Netbsds ofwboot.xcf on 2.0.2.
>How-To-Repeat:
Install netbsd on a AL powerbook 15" 1.65 ghz with newfs -O2 /dev/.. for all the partitions and install and try to boot into netbsd.  
>Fix:
Unknown