NetBSD Problem Report #42433

From www@NetBSD.org  Wed Dec  9 14:31:43 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 931D463C2E4
	for <gnats-bugs@gnats.netbsd.org>; Wed,  9 Dec 2009 14:31:43 +0000 (UTC)
Message-Id: <20091209143143.48EE863BB2F@www.NetBSD.org>
Date: Wed,  9 Dec 2009 14:31:43 +0000 (UTC)
From: nonakap@gmail.com
Reply-To: nonakap@gmail.com
To: gnats-bugs@NetBSD.org
Subject: landisk can't boot after remove uarea swap-out functionality.
X-Send-Pr-Version: www-1.0

>Number:         42433
>Category:       port-sh3
>Synopsis:       landisk can't boot after remove uarea swap-out functionality.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sh3-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 09 14:35:00 +0000 2009
>Closed-Date:    Fri Dec 11 02:30:51 +0000 2009
>Last-Modified:  Fri Dec 11 02:30:51 +0000 2009
>Originator:     NONAKA Kimihiro
>Release:        NetBSD 5.99.22
>Organization:
>Environment:
System: NetBSD koharu.myhome.local 5.99.22 NetBSD 5.99.22 (GENERIC) #10: Thu Dec 3 17:48:24 JST 2009 root@koharu.myhome.local:/usr/obj.i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
	landisk can't boot after remove uarea swap-out functionality.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.21 (GENERIC) #3: Tue Dec  8 18:48:01 JST 2009
        root@koharu.myhome.local:/home/source/NetBSD/tmp/src/src/sys/arch/landisk/compile/obj.landisk/GENERIC
Model: I-O DATA LANDISK
total memory = 65536 KB
avail memory = 58536 KB
mainbus0 (root)
cpu0 at mainbus0: SH4 266.666 MHz PCLOCK 33.333 MHz
cpu0: 8KB/32B direct-mapped Instruction cache.
cpu0: 16KB/32B direct-mapped Data cache.
cpu0: U0, P0, P3 write-through; P1 write-through
cpu0: full-associative 4 ITLB, 64 UTLB entries
cpu0: multiple virtual storage mode, SQ access: kernel, wired 3
shpcic0 at mainbus0: Hitachi SH7751R PCI Controller (host bridge, revision 0x01)
PCI bus 0: Warning: Total bandwidth exceeded!? (5732712)
pci0 at shpcic0
re0 at pci0 dev 0 function 0: RealTek 8139C+ 10/100BaseTX (rev. 0x20)
re0: interrupting at irq 5
re0: Ethernet address 00:a0:b0:59:19:ae
rlphy0 at re0 phy 0: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
acardide0 at pci0 dev 1 function 0: Acard ATP865-A Ultra133 IDE Controller (rev. 0x07)
acardide0: using irq 6 for native-PCI interrupt
atabus0 at acardide0 channel 0
atabus1 at acardide0 channel 1
ohci0 at pci0 dev 2 function 0: NEC USB Host Controller (rev. 0x43)
ohci0: interrupting at irq 7
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
ohci1 at pci0 dev 2 function 1: NEC USB Host Controller (rev. 0x43)
ohci1: interrupting at irq 8
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
ehci0 at pci0 dev 2 function 2: NEC USB Host Controller (rev. 0x04)
ehci0: interrupting at irq 5
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
shb0 at mainbus0
scif0 at shb0
scif0: console
rs5c313rtc0 at shb0: real time clock
obio0 at mainbus0
btn0 at obio0 irq 12: USL-5P buttons
pwrsw0 at obio0 irq 11: Power Switch
uhub0 at usb0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1 at usb1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2 at usb2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
wd0 at atabus0 drive 0: <TRANSCEND>
wd0: 1943 MB, 3949 cyl, 16 head, 63 sec, 512 bytes/sect x 3980592 sectors
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
1 2009-12-10T07:init: _getttyent: Bad address
input in flex scanner failed
pwrsw0: power button pressed, shutting down!
syncing disks... done
unmounting file systems...unmounted root_device on / type ffs
 done

>How-To-Repeat:
	1. cvs co -D "2009/10/21 22:00:00 UTC" src
	2. compile landisk GENERIC kernel with checkout source.
	3. boot with compiled kernel.

	# cvs co -D "2009/10/21 21:00:00 UTC" src is boot successfully.

>Fix:
Sorry, I don't know.

The following patch resolve this. there were uninitialized parameters.
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/sh3/sh3/vm_machdep.c

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: uch@NetBSD.org
State-Changed-When: Fri, 11 Dec 2009 02:30:51 +0000
State-Changed-Why:
problem solved.


>Unformatted:

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