Subject: Re: port-alpha/36628: cdhdtape image panics with memory management trap on Jensen
To: None <port-alpha-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Christoph Franzen <ChristophFranzen@gmx.net>
List: netbsd-bugs
Date: 07/12/2007 22:50:02
The following reply was made to PR port-alpha/36628; it has been noted by GNATS.

From: "Christoph Franzen" <ChristophFranzen@gmx.net>
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Cc: gnats-bugs@NetBSD.org, port-alpha-maintainer@netbsd.org
Subject: Re: port-alpha/36628: cdhdtape image panics with memory management trap on Jensen
Date: Thu, 12 Jul 2007 22:49:59 +0200

 > Hmm, looks NULL pointer dereference in
 > alpha/dec_2000_300.c:dec_2000_300_device_register().
 > 
 > Could you try the following image or attached patch?
 > 
 > http://www.ceres.dti.ne.jp/~tsutsui/netbsd/cdhdtape-20070712.gz
 
 This one is better, but now looks to me a lot like the bug around 
 version 1.6 (lpt port issue). I found something in the archives; 
 Jason Thorpe apparently had fixed something like that in/before 1.6:
 http://mail-index.netbsd.org/port-alpha/2002/06/26/0003.html
 I wonder why it has come back, or is this a different issue?
 
 ==============================
 NetBSD/alpha 4.0_BETA2 ustar Bootstrap, Revision 1.3
 (tsutsui@mirage, Fri Jul 13 00:08:27 JST 2007)
 
 VMS PAL rev: 0x100010530
 OSF PAL rev: 0x20123
 Switch to OSF PAL code succeeded.
 
 Boot flags: A
 9057184+177808=0x8cefb0
 
 Entering netbsd at 0xfffffc00003012e0...
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 
 2005, 2006
 
     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 4.0_BETA2 (INSTALL) #1: Fri Jul 13 00:29:28 JST 2007
 
 	tsutsui@mirage:/r/work/src-
 4.0/src/sys/arch/alpha/compile/obj.alpha/INSTALL
 
 DEC2000 model 300, 150MHz, s/n 
 8192 byte page size, 1 processor.
 total memory = 32768 KB
 (2048 KB reserved for PROM, 30720 KB used by NetBSD)
 avail memory = 21120 KB
 mainbus0 (root)
 cpu0 at mainbus0: ID 0 (primary), 21064-0
 jensenio0 at mainbus0
 pckbc0 at jensenio0 port 0x60
 pms0 at pckbc0 (aux slot)
 pckbc0: aux slot interrupting at vector 0x990
 wsmouse0 at pms0 (mux ignored)
 com0 at jensenio0 port 0x3f8: ns8250 or ns16450, no fifo
 com0: console
 com0: interrupting at vector 0x900
 com1 at jensenio0 port 0x2f8: ns8250 or ns16450, no fifo
 com1: interrupting at vector 0x920
 lpt0 at jensenio0 port 0x3bc
 panic: scb_set: bad vector 0x1
 
 Stopped in pid 0.1 (swapper) at 0xfffffc00005d9cc0:     ret     
 zero,(ra)
 ==============================
 
 Again, "trace" is empty.
 
 Regards, Christoph