NetBSD Problem Report #53283

From www@NetBSD.org  Sun May 13 05:17:03 2018
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 BC5017A174
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 13 May 2018 05:17:03 +0000 (UTC)
Message-Id: <20180513051702.523397A1DF@mollari.NetBSD.org>
Date: Sun, 13 May 2018 05:17:02 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: RPI earmv6hf earmv7hf: startx system hangs after 2018-03-30 14:00:00 UTC 
X-Send-Pr-Version: www-1.0

>Number:         53283
>Category:       port-arm
>Synopsis:       RPI earmv6hf earmv7hf: startx system hangs after 2018-03-30 14:00:00 UTC
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-arm-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 13 05:20:00 +0000 2018
>Closed-Date:    Fri Jun 08 21:13:47 +0000 2018
>Last-Modified:  Fri Jun 08 21:13:47 +0000 2018
>Originator:     Jun Ebihara
>Release:        2018-03-30 14:00:00 UTC
>Organization:
SOUM Corporation
>Environment:
NetBSD 8.99.17 (RPI2) #0: Thu May 10 01:32:24 UTC 2018
        mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/evbarm/compile/RPI2

>Description:
On Raspberry PI  NetBSD/earmv6hf earmv7hf 8.99.14 or later.

startx makes system hangs.

kernel source code date
2018-03-30 13:35:00 UTC startx works well
2018-03-30 14:00:00 UTC startx hangs


>How-To-Repeat:
http://ftp.netbsd.org/pub/NetBSD/misc/jun/raspberry-pi/2018-04-14-earmv6hf/2018-04-14-netbsd-raspi-earmv6hf.img.gz

1. make micro SDcard
gunzip < 2018-04-14-netbsd-raspi-earmv6hf.img.gz |dd of=/dev/rsd0d

2. boot Rasbperry PI
put microSDcard,HDMI display, USB keyboard,mouse and powersupply

3. startx 

login root with no passwd.

# startx
.. works well 

4. change kernel

cd /boot
cp kernel7.img.org kernel7.img
cp kernel.img.org kernel.img
reboot

5. start may system hang

login root with no passwd

# startx
 .. hangs. X.log are null file.


>Fix:
use 201803211740Z kernel.

        gunzip < 201803211740Z/earmv6hf/netbsd-RPI.img.gz  > ${MNT}/kernel.img
        gunzip < 201803211740Z/earmv6hf/netbsd-RPI2.img.gz > ${MNT}/kernel7.img

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Fri, 08 Jun 2018 18:14:11 +0000
State-Changed-Why:
Does the following commit fix this for you?

http://mail-index.netbsd.org/source-changes/2018/06/08/msg095871.html


From: Jun Ebihara <jun@soum.co.jp>
To: gnats-bugs@NetBSD.org, jmcneill@NetBSD.org
Cc: port-arm-maintainer@netbsd.org, netbsd-bugs@netbsd.org,
        gnats-admin@netbsd.org
Subject: Re: port-arm/53283 (RPI earmv6hf earmv7hf: startx system hangs
 after 2018-03-30 14:00:00 UTC)
Date: Sat, 09 Jun 2018 06:07:46 +0900 (JST)

 From: jmcneill@NetBSD.org
 Subject: Re: port-arm/53283 (RPI earmv6hf earmv7hf: startx system hangs after 2018-03-30 14:00:00 UTC)
 Date: Fri,  8 Jun 2018 18:14:11 +0000 (UTC)

 > Does the following commit fix this for you?
 > http://mail-index.netbsd.org/source-changes/2018/06/08/msg095871.html

 startx works fine with this fix!
 https://twitter.com/ebijun/status/1005193442245468162

 many thanx
 --
 Jun Ebihara

State-Changed-From-To: feedback->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Fri, 08 Jun 2018 21:13:47 +0000
State-Changed-Why:
Fixed.


>Unformatted:

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.