NetBSD Problem Report #53052

From  Sat Feb 24 20:18:47 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id C48E77A1ED
	for <>; Sat, 24 Feb 2018 20:18:47 +0000 (UTC)
Message-Id: <>
Date: Sat, 24 Feb 2018 20:18:46 +0000 (UTC)
Subject: Attempting to load kernel from UFS partition causes panic
X-Send-Pr-Version: www-1.0

>Number:         53052
>Category:       port-macppc
>Synopsis:       Attempting to load kernel from UFS partition causes panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 24 20:20:00 +0000 2018
>Originator:     Sevan Janiyan
>Release:        NetBSD 8.99.12
I have a 12" PowerBook which has an SSD installed instead of the IDE HDD but operating as an IDE slave instead of a master.
Attempting to boot NetBSD on this system with ofwboot.xcf on a HFS+ partition and the NetBSD kernel on the UFS partition results in a immediate crash upon trying to load the kernel and continuously fills the same panic message on the screen

panic: trap
cpu0: Begin traceback...
0x00a6e910: at vpanic+0x13c
0x00a6e940: at panic+0x4c
0x00a6e980: at trap+0x430
0x00a6ea10: kernel ISI trap by 0xff847168: srr1=0x40003030
            r1=0xa6eae0 cr=0x22224248 xer=0 ctr=0
0x00a6eae0: at 0xfffffffc
0x00a6eb00: at OF_read+0x78
0x00a6eb30: at ofw_stack+0x44
saved LR(0x2c) is invalid cpu0: End traceback...
--db_more--trap: kernel ISI by 0xff847168 (SRR1 0x40004040), Ir: 0x1001e4
Skipping crash dump on recursive panic

In OpenFirmware my boot-device is set to pci2/ata-6@D/disk@1:3,\ofwboot.xcf
My boot-file is set to /netbsd

Everything works fine if I attempt to load a gzipped kernel from the same HFS+ partition as where ofwboot.xcf located.
I haven't ruled out the disk as an IDE slave yet, but 
In OpenFirmware:
setenv boot-device pci2/ata-6@D/disk@1:3,\ofwboot.xcf
setenv boot-file /netbsd
setenv boot-command ." hello" cr " screen" output boot

NetBSD Home
NetBSD PR Database Search

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