NetBSD Problem Report #48076
From www@NetBSD.org Tue Jul 23 18:50:44 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 77A98705B0
for <gnats-bugs@gnats.NetBSD.org>; Tue, 23 Jul 2013 18:50:44 +0000 (UTC)
Message-Id: <20130723185042.D29D370926@mollari.NetBSD.org>
Date: Tue, 23 Jul 2013 18:50:42 +0000 (UTC)
From: oshima-ya@yagoto-urayama.jp
Reply-To: oshima-ya@yagoto-urayama.jp
To: gnats-bugs@NetBSD.org
Subject: An userland of NetBSD/x68k after 2013-07-20 does not work at all.
X-Send-Pr-Version: www-1.0
>Number: 48076
>Category: port-m68k
>Synopsis: An userland of NetBSD/x68k after 2013-07-20 does not work at all.
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: matt
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 23 18:55:00 +0000 2013
>Closed-Date: Fri Aug 02 04:43:26 +0000 2013
>Last-Modified: Fri Aug 02 04:43:26 +0000 2013
>Originator: Yasushi Oshima
>Release: NetBSD-current 6.99.23
>Organization:
>Environment:
NetBSD 6.99.23 NetBSD 6.99.23 (ZSCONS) #0: Wed Jul 24 00:20:39 JST 2013 oshima@sweety:/export/current/src/sys/arch/x68k/compile/ZSCONS x68k
>Description:
An userland (init) of NetBSD/x68k-current after about 2013-07-20 does not work.
1. install cd and install fd (INSTALL kernel and md(4) root)
Boot up , INSTALL kernel output to console bootmesg, but system hang-up after output 'root file system type: ffs'
2. GENERIC (or ZSCONS: serial console GENERIC) kernel and installed userland
Boot up, GENERIC kernel output to console bootmesg, but kernel panic at executing init(8) as follows:
(snip)
boot device: sd1
root on sd1a dumps on sd1b
root file system type: ffs
panic: init died (signal 0, exit 1)
Stopped in pid 1.1 (init) at netbsd:cpu_Debugger+0x6: unlk a6
db> bt
cpu_Debugger(?)
db_panic(1a4dd80,bbccf30,1a4dd80,bbcce68,1981dc) + 6
vpanic(251949,bbcce74,bbcceec,b8058,251949) + 120
panic(251949,0,1,1a4dd80,bbccf30) + c
exit1(1a3f560,100,bbccfb4,1a3f560,bbccf78) + 7f0
sys_exit(1a3f560,bbccf30,bbccf70,12,0) + 30
syscall_plain(1,1a3f560,bbccfb4,4016e64,ffefea78) + 92
syscall(1) + 5c
trap0() + e
db>
it seems that init(8) exists immediately.
3. 2013-07-23's GENERIC kernel and statically linked init
Use 'boot -a', and enter '/rescue/init' when prompting 'init path',
After that, system is hang-up.
It is the same that the case 1. install-cd/fd.
4. 2013-07-17's install cd and install fd work well, and GENERIC kenel with 2013-07-17's userland works well.
5. 2013-07-23's GENERIC kernel and 2013-07-17's userland works well.
6. 2013-07-17's GENERIC kernel and 2013-07-23's userland
Boot up, and panic when executing init(8).
It is the same that case 2.
I think that this is a problem of userland at 2013-07-23 (maybe after about 2013-07-20).
In addition, m68k's build had broken from 2013-07-18 to 2013-07-19. so cannot test during these days binary.
I tried this on NetBSD/x68k port only. but it will occur on another m68k port, too.
>How-To-Repeat:
- boot up install FD or CD after 2013-07-20. it will hang-up.
- boot up GENERIC kernel and userland (this system is built and extracted to filesystem by another system) .
it will panic.
>Fix:
none
>Release-Note:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: matt@NetBSD.org
Subject: Re: port-m68k/48076: An userland of NetBSD/x68k after 2013-07-20 does not work at all
Date: Wed, 24 Jul 2013 10:01:11 +0200
I tried on mac68k and new kernel with old userland works fine, but new
userland gives strange failures:
Cannot map anonymous memoryFile too large: File too large
Static binaries (/rescue) do not work correct either:
# /rescue/df
df: :
Martin
From: Yasushi Oshima <oshima-ya@yagoto-urayama.jp>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: port-m68k/48076: An userland of NetBSD/x68k after 2013-07-20
does not work at all.
Date: Thu, 25 Jul 2013 23:26:03 +0900 (JST)
I try install a NetBSD/sun3-current at 2013-07-23 on TME.
When booting netbsd-RAMDISK kernel from tape-image,
It stops after printing 'root on md0a dumps on md0b'...
screenshot:
https://twitter.com/oshimyja/status/360398780920635393/photo/1
I hit enter key in this, kernel panic occured.
screenshot:
https://twitter.com/oshimyja/status/360399041093324800/photo/1
In addition, when using image at 2013-07-17, this is boot ok.
https://twitter.com/oshimyja/status/360404945331163138/photo/1
This problem will affect all m68k-ports.
Thanks.
Responsible-Changed-From-To: port-m68k-maintainer->matt
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Fri, 26 Jul 2013 16:59:14 +0000
Responsible-Changed-Why:
Broekn by recent Coldfire merge, and 20130726 news68k is still broken.
Please fix or revert.
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/48076 CVS commit: src/lib/csu/arch/m68k
Date: Fri, 26 Jul 2013 18:47:23 +0000
Module Name: src
Committed By: martin
Date: Fri Jul 26 18:47:23 UTC 2013
Modified Files:
src/lib/csu/arch/m68k: crt0.S
Log Message:
Simplify to new ___start() signature.
Seems to fix PR port-m68k/48076.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/csu/arch/m68k/crt0.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Yasushi Oshima <oshima-ya@yagoto-urayama.jp>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/48076 CVS commit: src/lib/csu/arch/m68k
Date: Sat, 27 Jul 2013 18:36:03 +0900 (JST)
martin:
> Log Message:
> Simplify to new ___start() signature.
> Seems to fix PR port-m68k/48076.
>
I try recent current, then it works well again when booting install-
floppy and GENERIC kernel + re-installed new userland both dynamically
and statically binary from HDD.
Also, sun3-current's ramdisk-image on TME works well, too.
Thank you very much!
--
Yasushi Oshima
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: matt@NetBSD.org, oshima-ya@yagoto-urayama.jp
Subject: Re: PR/48076 CVS commit: src/lib/csu/arch/m68k
Date: Sat, 27 Jul 2013 14:32:04 +0200
Unfortunately the initfini3 test still fails, so a bit more work is needed.
Martin
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: matt@NetBSD.org, oshima-ya@yagoto-urayama.jp
Subject: Re: PR/48076 CVS commit: src/lib/csu/arch/m68k
Date: Sat, 27 Jul 2013 15:32:51 +0200
On Sat, Jul 27, 2013 at 02:32:04PM +0200, Martin Husemann wrote:
> Unfortunately the initfini3 test still fails, so a bit more work is needed.
And this is now also fixed.
Martin
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 02 Aug 2013 04:43:26 +0000
State-Changed-Why:
fixed.
>Unformatted:
(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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.