NetBSD Problem Report #55101

From www@netbsd.org  Mon Mar 23 19:52:15 2020
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 BE3B31A9213
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Mar 2020 19:52:14 +0000 (UTC)
Message-Id: <20200323195213.B85711A921F@mollari.NetBSD.org>
Date: Mon, 23 Mar 2020 19:52:13 +0000 (UTC)
From: jhbowers@alumni.princeton.edu
Reply-To: jhbowers@alumni.princeton.edu
To: gnats-bugs@NetBSD.org
Subject: boot of NetBSD 9.0 on Odroid-HC1 fails; found problem, I think
X-Send-Pr-Version: www-1.0

>Number:         55101
>Category:       kern
>Synopsis:       boot of NetBSD 9.0 on Odroid-HC1 fails; found problem, I think
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 23 19:55:00 +0000 2020
>Closed-Date:    
>Last-Modified:  Thu Mar 26 18:40:01 +0000 2020
>Originator:     John Bowers
>Release:        9.0
>Organization:
self
>Environment:
NetBSD armv7 9.0 NetBSD 9.0 (GENERIC) #2: Mon Mar 23 15:25:33 EDT 2020  root@armv7:/usr/obj/sys/arch/evbarm/compile/GENERIC evbarm
>Description:
Since the final release of NetBSD 9.0, I have not been able to boot from it on my Odroid-HC1.  However, I can boot from RC1, and have been able to compile the RC2 kernel and boot from it.

I have tried narrowing down where the problem lies and think that I've found it.  In particular, if I substitute /usr/src/sys/arch/evbarm/fdt/fdt_machdep.c from the RC2 source files to the final release source files and recompile the kernel, the system will boot.  

I have not yet extensively tested this modified release kernel, but will continue to do so.  However, I thought that you should know about this ASAP.

Be well.  Take care of yourself in this difficult time.


John Bowers

>How-To-Repeat:
any time I try to boot from the final release 9.0 kernel
>Fix:
I have tried narrowing down where the problem lies and think that I've found it.  In particular, if I substitute /usr/src/sys/arch/evbarm/fdt/fdt_machdep.c from the RC2 source files to the final release source files and recompile the kernel, the system will boot.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: skrll@NetBSD.org
State-Changed-When: Tue, 24 Mar 2020 08:18:10 +0000
State-Changed-Why:
Please try a recent netbsd-9 build 
nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/evbarm-earmv7hf/
A pullup was added to workaround the A7 cluster bringup which has
become a problem again


From: John Bowers <jhbowers@alumni.princeton.edu>
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, skrll@NetBSD.org
Cc: 
Subject: Re: kern/55101 (boot of NetBSD 9.0 on Odroid-HC1 fails; found
 problem, I think)
Date: Tue, 24 Mar 2020 11:15:57 -0400

 Thanks for this.

 Please pardon this noobie response.  I wasn't able to try the link that you sent me because I'm unclear about how to load the software onto the SD card.  Documentation is simply lacking, or not findable.

 However, I was able to copy the current image (NetBSD-evbarm-earmv7hf-202003232120Z-odroid-xu3.img.gz) that I could flash to the SD card from https://www.armbsd.org/arm/.  This is to confirm that it boots properly on my Odroid-HC1.

 I have not tried anything else so far.

 On 3/24/20 4:18 AM, skrll@NetBSD.org wrote:
 > Synopsis: boot of NetBSD 9.0 on Odroid-HC1 fails; found problem, I think
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: skrll@NetBSD.org
 > State-Changed-When: Tue, 24 Mar 2020 08:18:10 +0000
 > State-Changed-Why:
 > Please try a recent netbsd-9 build
 > nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/evbarm-earmv7hf/
 > A pullup was added to workaround the A7 cluster bringup which has
 > become a problem again
 > 
 > 
 > 

From: Nick Hudson <nick.hudson@gmx.co.uk>
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, jhbowers@alumni.princeton.edu
Cc: 
Subject: Re: kern/55101 (boot of NetBSD 9.0 on Odroid-HC1 fails; found
 problem, I think)
Date: Thu, 26 Mar 2020 17:48:34 +0000

 On 24/03/2020 15:20, John Bowers wrote:
 > The following reply was made to PR kern/55101; it has been noted by GNAT=
 S.
 >
 > From: John Bowers <jhbowers@alumni.princeton.edu>
 > To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 >   netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, skrll@NetBSD.org
 > Cc:
 > Subject: Re: kern/55101 (boot of NetBSD 9.0 on Odroid-HC1 fails; found
 >   problem, I think)
 > Date: Tue, 24 Mar 2020 11:15:57 -0400
 >
 >   Thanks for this.
 >
 >   Please pardon this noobie response.  I wasn't able to try the link tha=
 t you sent me because I'm unclear about how to load the software onto the =
 SD card.  Documentation is simply lacking, or not findable.
 >
 >   However, I was able to copy the current image (NetBSD-evbarm-earmv7hf-=
 202003232120Z-odroid-xu3.img.gz) that I could flash to the SD card from ht=
 tps://www.armbsd.org/arm/.  This is to confirm that it boots properly on m=
 y Odroid-HC1.
 >
 >   I have not tried anything else so far.

 The Odroid-XU4 build on

 	http://www.invisible.ca/arm/

 should work I think

 Nick

From: John Bowers <jhbowers@alumni.princeton.edu>
To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: kern/55101 (boot of NetBSD 9.0 on Odroid-HC1 fails; found
 problem, I think)
Date: Thu, 26 Mar 2020 14:37:27 -0400

 Nick,

 This is to let you know that, at least as the Odroid-HC1 is concerned, the contents of the //www.armbsd.org/arm/ and //www.invisible.ca/arm/ are identical.

 I don't know if I should post this in a new bug report, but the NetBSD-evbarm-earmv7hf-202003240450Z-odroid-xu3.img.gz release only finds 5 of the 8 CPU's of the HC1.  But, I can build kernels on it.  Unfortunately, the latest stable kernel (downloaded by CVS) also only finds 5 of the 8 CPU's.

 I'm trying to get ZFS working, so right now I'm not interested in using a current release.

 Thanks.


 John


 On 3/26/20 1:50 PM, Nick Hudson wrote:
 > The following reply was made to PR kern/55101; it has been noted by GNATS.
 > 
 > From: Nick Hudson <nick.hudson@gmx.co.uk>
 > To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 >   gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, jhbowers@alumni.princeton.edu
 > Cc:
 > Subject: Re: kern/55101 (boot of NetBSD 9.0 on Odroid-HC1 fails; found
 >   problem, I think)
 > Date: Thu, 26 Mar 2020 17:48:34 +0000
 > 
 >   On 24/03/2020 15:20, John Bowers wrote:
 >   > The following reply was made to PR kern/55101; it has been noted by GNAT=
 >   S.
 >   >
 >   > From: John Bowers <jhbowers@alumni.princeton.edu>
 >   > To: gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,
 >   >   netbsd-bugs@netbsd.org, gnats-admin@netbsd.org, skrll@NetBSD.org
 >   > Cc:
 >   > Subject: Re: kern/55101 (boot of NetBSD 9.0 on Odroid-HC1 fails; found
 >   >   problem, I think)
 >   > Date: Tue, 24 Mar 2020 11:15:57 -0400
 >   >
 >   >   Thanks for this.
 >   >
 >   >   Please pardon this noobie response.  I wasn't able to try the link tha=
 >   t you sent me because I'm unclear about how to load the software onto the =
 >   SD card.  Documentation is simply lacking, or not findable.
 >   >
 >   >   However, I was able to copy the current image (NetBSD-evbarm-earmv7hf-=
 >   202003232120Z-odroid-xu3.img.gz) that I could flash to the SD card from ht=
 >   tps://www.armbsd.org/arm/.  This is to confirm that it boots properly on m=
 >   y Odroid-HC1.
 >   >
 >   >   I have not tried anything else so far.
 >   
 >   The Odroid-XU4 build on
 >   
 >   	http://www.invisible.ca/arm/
 >   
 >   should work I think
 >   
 >   Nick
 >   
 > 

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.