NetBSD Problem Report #51716

From www@NetBSD.org  Wed Dec 14 05:01:00 2016
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id DB2D97A289
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 14 Dec 2016 05:00:59 +0000 (UTC)
Message-Id: <20161214050058.A47547A336@mollari.NetBSD.org>
Date: Wed, 14 Dec 2016 05:00:58 +0000 (UTC)
From: tgl@sss.pgh.pa.us
Reply-To: tgl@sss.pgh.pa.us
To: gnats-bugs@NetBSD.org
Subject: Can't install NetBSD 7.0 from USB stick on recent Apple machines
X-Send-Pr-Version: www-1.0

>Number:         51716
>Category:       install
>Synopsis:       Can't install NetBSD 7.0 from USB stick on recent Apple machines
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 14 05:05:00 +0000 2016
>Last-Modified:  Wed Dec 14 17:10:01 +0000 2016
>Originator:     Tom Lane
>Release:        7.0.2
>Organization:
>Environment:
can't help you on that because I don't get as far as being able to run uname
>Description:
I've tried to install NetBSD 7.0.2 on two different Apple machines: a late-2013 Macbook Pro and a late-2012 Mac Mini.  On both, the install gets as far as looking for the root device and then hangs up indefinitely.  I'm not the only one seeing it, because the exact same behavior is shown in this YouTube video:

https://www.youtube.com/watch?v=XbhSfo2YgXE

>How-To-Repeat:
1. dd NetBSD-7.0.2-amd64-install.img onto a USB stick

2. Insert stick into reasonably recent Apple machine

3. Power up; hold down Option (ALT) when you hear the startup chime

4. Select USB stick (it'll appear as "Windows", which is a usability fail, but let's keep our priorities straight)

5. Wait.

6. Boot process gets as far as

	boot device: <unknown>
	root device:

and hangs up.

>Fix:
I do not know a workaround.  End goal was to install NetBSD onto another USB stick, but I've so far failed at that.

>Audit-Trail:
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: install/51716
Date: Wed, 14 Dec 2016 01:25:49 -0500

 After further digging in the NetBSD PR database, I found a couple of
 possibly-related reports:

 * install/48860 suggests that "root device: " might be meant as a prompt
 and that responding "?" would elicit something interesting.  Tried that,
 no response.

 * install/51503 reports a somewhat different set of symptoms when trying
 to install from a USB stick when there's an OS present on the system's
 main drive.  This says that for completeness I should mention that my
 machines do have live OS X installations on their internal disks.  Just
 before the hangup is reached, I see messages indicating that NetBSD has
 recognized the partitions on the internal disk.

 Also, just in case, I tried selecting the "no ACPI, no SMP" option;
 didn't change anything.

 			regards, tom lane

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, tgl@sss.pgh.pa.us
Subject: re: install/51716
Date: Wed, 14 Dec 2016 19:30:52 +1100

 one guess is that usb3 is required and not well supported in netbsd 7.
 that might explain why both the boot device and keyboard do nothing
 as they're not suppored here.

 netbsd-current has a much better chance of working here.  can you try
 an image from eg:

    http://nyftp.NetBSD.org/pub/NetBSD-daily/HEAD/201612140120Z/images/NetB=
 SD-7.99.47-amd64-install.img.gz

 if this works less poorly, usb3 may be the problem (but really it
 needs boot logs to see what happened.)


 .mrg.

From: Tom Lane <tgl@sss.pgh.pa.us>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@NetBSD.org, install-manager@NetBSD.org
Subject: Re: install/51716
Date: Wed, 14 Dec 2016 12:08:40 -0500

 matthew green <mrg@eterna.com.au> writes:
 > one guess is that usb3 is required and not well supported in netbsd 7.
 > that might explain why both the boot device and keyboard do nothing
 > as they're not suppored here.

 Ah!  (But for the record, the keyboard does seem to work --- at least,
 it works during the initial dialog where you can disable ACPI.)

 > netbsd-current has a much better chance of working here.  can you try
 > an image from eg:
 >    http://nyftp.NetBSD.org/pub/NetBSD-daily/HEAD/201612140120Z/images/Ne=
 tBSD-7.99.47-amd64-install.img.gz

 Seems pretty unstable :-(.  I tried several recent-date img's:

 NetBSD-7.99.46-amd64-install.img from 201612120920Z:
 hangs up after
 	ugen0 at uhub1 port 3
 	ugen0: Apple Inc. Bluetooth USB Host Controller, rev 2.00/1.27, addr 5
 does not shut down in response to power button, unlike 7.0.2

 NetBSD-7.99.47-amd64-install.img from 201612140120Z:
 hangs up after
 	hdaudio1 at pci0 ... HD Audio Controller
 	hdaudio1: interrupting at ioapic0 pin 22
 	hdafg1 at hdaudio1: vendor 1013 product 4208
 does not shut down in response to power button

 NetBSD-7.99.47-amd64-install.img from 201612140600Z:
 same behavior as 201612120920Z

 On the plus side, it does seem to have successfully detected the USB
 stick, as I see lines a little further up reporting the stick and
 complaining that its physical size doesn't match what the header says,
 which I assume is expected.

 > if this works less poorly, usb3 may be the problem (but really it
 > needs boot logs to see what happened.)

 I'd be happy to supply boot logs if you can explain how to get them
 off the machine ...

 			regards, tom lane

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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.