NetBSD Problem Report #20386
Received: (qmail 19535 invoked by uid 605); 17 Feb 2003 09:44:13 -0000
Message-Id: <200302170944.h1H9i9f28515@capo.xnet.duzan.org>
Date: Mon, 17 Feb 2003 04:44:09 -0500 (EST)
From: Gary Duzan <gary@duzan.org>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: gary@duzan.org
To: gnats-bugs@gnats.netbsd.org
Subject: Panic on Jensen (lpt, scb_set)
X-Send-Pr-Version: 3.95
>Number: 20386
>Category: port-alpha
>Synopsis: Panic on Jensen (lpt, scb_set)
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-alpha-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Feb 17 09:45:00 +0000 2003
>Closed-Date: Tue Jul 17 09:58:30 +0000 2007
>Last-Modified: Tue Aug 21 20:05:03 +0000 2007
>Originator: Gary Duzan
>Release: NetBSD 1.6_STABLE, 10 Feb 2003
>Organization:
Not Much
>Environment:
Architecture: alpha
Machine: alpha
>Description:
When attempting to boot from a cdhdtape image on a DECpc
AXP 150, I get the following panic:
lpt0 at jensenio0 port 0x3bc
panic: scb_set: bad vector 0x1
This is preventing the install, so the poor box is stuck
running OSF/1.
>How-To-Repeat:
Burn a CD from a 1.6_STABLE cdhdtape and try to boot it.
>Fix:
None. As a workaround, removing the lpt driver from the
INSTALL kernel might do, but I don't have another alpha to
build from and cross-builds for the alpha appear to be
broken.
>Release-Note:
>Audit-Trail:
From: "r.o.s.s" <ross@netbsd.org>
To: gary@duzan.org, gnats-bugs@gnats.netbsd.org
Cc:
Subject: Re: port-alpha/20386: Panic on Jensen (lpt, scb_set)
Date: 18 Feb 2003 01:35:18 -0000
I think I know how to fix this, but for now I've just
uploaded test kernels with no lpt. See
ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/GENERIC-1.6-nolpt.gz
ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/cdhdtape1
Please let me know...
//
From: Gary Duzan <gary@duzan.org>
To: "r.o.s.s" <ross@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-alpha/20386: Panic on Jensen (lpt, scb_set)
Date: Mon, 17 Feb 2003 22:20:19 -0500
In Message <20030218013518.17422.qmail@mail.netbsd.org> ,
"r.o.s.s" <ross@netbsd.org> wrote:
=>I think I know how to fix this, but for now I've just
=>uploaded test kernels with no lpt. See
=>
=> ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/GENERIC-1.6-nolpt.gz
=> ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/cdhdtape1
=>
=>Please let me know...
Thanks. Unfortunately, the machine is at home and I need to
borrow a CD caddy from work, so the earliest I could test it would
be late tomorrow night, and probably not until after that. I'll let
you know as soon as I can try it out.
Gary Duzan
From: Gary Duzan <gary@duzan.org>
To: "r.o.s.s" <ross@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-alpha/20386: Panic on Jensen (lpt, scb_set)
Date: Tue, 18 Feb 2003 21:53:25 -0500
In Message <20030218013518.17422.qmail@mail.netbsd.org> ,
"r.o.s.s" <ross@netbsd.org> wrote:
=>I think I know how to fix this, but for now I've just
=>uploaded test kernels with no lpt. See
=>
=> ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/GENERIC-1.6-nolpt.gz
=> ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/cdhdtape1
=>
=>Please let me know...
Trying to boot the above cdhdtape1 image from CD consistently
gives me I/O errors:
===========================================================================
>>> boot dka400
INIT-S-CPU...
AUDIT_BOOT_STARTS ...
AUDIT_CHECKSUM_GOOD
AUDIT_LOAD_BEGINS
AUDIT_LOAD_DONE
NetBSD/alpha 1.6.1_RC1 ustar Bootstrap, Revision 1.3
(ross@extra, Fri Feb 14 03:12:28 PST 2003)
VMS PAL rev: 0x10001052c
OSF PAL rev: 0x20120
Switch to OSF PAL code succeeded.
Boot flags: A
8081880@@@@@@@@@read text: Input/output error
@@@@@@@@@open netbsd.gz: Input/output error
@@@@@@@@@open netbsd.bak: Input/output error
@@@@@@@@@open netbsd.bak.gz: Input/output error
@@@@@@@@@open netbsd.old: Input/output error
@@@@@@@@@open netbsd.old.gz: Input/output error
@@@@@@@@@open onetbsd: Input/output error
@@@@@@@@@open onetbsd.gz: Input/output error
@@@@@@@@@open netbsd.alpha: Input/output error
@@@@@@@@@open netbsd.alpha.gz: Input/output error
?05 HLT INSTR
PC= 00000000.20000038 PSL= 00000000.00000007
>>>
===========================================================================
If I boot into OSF/1 I can read the image fine from /dev/rrz4a
and get a file with the same size and "sum" as the original.
Unfortunately, this looks like a separate bug.
Gary Duzan
From: Gary Duzan <gary@duzan.org>
To: "r.o.s.s" <ross@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org, port-alpha-maintainer@netbsd.org
Subject: Re: port-alpha/20386: Panic on Jensen (lpt, scb_set)
Date: Wed, 19 Feb 2003 23:06:14 -0500
FYI, I found the 1.6L cdhdtape image from Jan 17 2003 on releng,
and that gives me the same panic: scb_set: bad vector 0x1, so if
working on current is easier, then I can work with that. I want
to get this thing running current eventually anyway.
I also dug up a 1.6_STABLE image from Nov 22 2002, which gives
a similar result as the lpt-less image you sent me:
8086928+227040@@@@@@@@@lseek section headers: invalid file offset
Perhaps ustar is broken on alpha?
Gary Duzan
From: Gary Duzan <gary@duzan.org>
To: "r.o.s.s" <ross@netbsd.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: port-alpha/20386: Panic on Jensen (lpt, scb_set)
Date: Sat, 22 Feb 2003 08:48:11 -0500
In Message <20030218013518.17422.qmail@mail.netbsd.org> ,
"r.o.s.s" <ross@netbsd.org> wrote:
=>I think I know how to fix this, but for now I've just
=>uploaded test kernels with no lpt. See
=>
=> ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/GENERIC-1.6-nolpt.gz
=> ftp://ftp.netbsd.org/pub/NetBSD/arch/alpha/misc/cdhdtape1
=>
=>Please let me know...
Ok, now that I have the CD burn problem sorted out, I finally
can report on this. I do get past lpt0 now, but now it is hanging
after configuring fd0. Breaking into the debugger, I get nothing
from trace, only swapper from ps, and only one really suspicious
line in dmesg:
le0: failed to clear memory at 0 (0xff != 0xaa)
Gary Duzan
State-Changed-From-To: open->closed
State-Changed-By: tsutsui@netbsd.org
State-Changed-When: Tue, 17 Jul 2007 18:58:30 +0900
State-Changed-Why:
I'll take this problem in port-alpha/36628.
From: Izumi Tsutsui <tsutsui@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/20386 CVS commit: src/sys/arch/alpha/jensenio
Date: Thu, 19 Jul 2007 12:58:29 +0000 (UTC)
Module Name: src
Committed By: tsutsui
Date: Thu Jul 19 12:58:29 UTC 2007
Modified Files:
src/sys/arch/alpha/jensenio: lpt_jensenio.c
Log Message:
Backout changes on lpt_jensenio.c rev 1.2.
lpt at jensenio doesn't seem to have a specific interrupt vector
but uses a normal EISA interrupt.
Fixes another part of PR port-alpha/36628 and PR port-alpha/20386.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/sys/arch/alpha/jensenio/lpt_jensenio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/20386 CVS commit: [netbsd-4] src/sys/arch/alpha
Date: Tue, 21 Aug 2007 20:00:29 +0000 (UTC)
Module Name: src
Committed By: liamjfoy
Date: Tue Aug 21 20:00:29 UTC 2007
Modified Files:
src/sys/arch/alpha/alpha [netbsd-4]: dec_2000_300.c
src/sys/arch/alpha/eisa [netbsd-4]: eisa_machdep.c
src/sys/arch/alpha/include [netbsd-4]: eisa_machdep.h
src/sys/arch/alpha/jensenio [netbsd-4]: jensenio.c jensenio_intr.c
lpt_jensenio.c
src/sys/arch/alpha/pci [netbsd-4]: sio.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #815):
sys/arch/alpha/pci/sio.c: revision 1.41
sys/arch/alpha/eisa/eisa_machdep.c: revision 1.6
sys/arch/alpha/jensenio/jensenio.c: revision 1.14
sys/arch/alpha/jensenio/jensenio_intr.c: revision 1.6
sys/arch/alpha/include/eisa_machdep.h: revision 1.8
sys/arch/alpha/alpha/dec_2000_300.c: revision 1.14
sys/arch/alpha/jensenio/lpt_jensenio.c: revision 1.6
Avoid NULL pointer dereference in MD device_register() function.
Fixes a part of PR port-alpha/36628.
Backout changes on lpt_jensenio.c rev 1.2.
lpt at jensenio doesn't seem to have a specific interrupt vector
but uses a normal EISA interrupt.
Fixes another part of PR port-alpha/36628 and PR port-alpha/20386.
More fixes for Jensen, reported and tested by Christoph Franzen
in PR port-alpha/36628:
- make jensenio_eisa_maxslots() return 8 (instead of 16) since
EISA config for slot 8-15 on jensen could return invalid values
- pass eisa_chipset_tag_t to eisa_init() and check eisa_maxslots()
on probing EISA config space
- pass M_ZERO to malloc(9) and make sure malloc(9) doesn't fail
- fix typo in a debug printf, add more debug printfs, and
use #ifdef EISA_DEBUG to enable them
- cast uint8_t value to uint32_t before shift more than 8 bits
- check buffer region on reading compressed data from EISA config space
Check a correct value on a sanity check in jensenio_eisa_intr_map().
Fixes yet another bug on Jensen found on tracking PR port-alpha/36628.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.11.18.1 src/sys/arch/alpha/alpha/dec_2000_300.c
cvs rdiff -r1.5 -r1.5.58.1 src/sys/arch/alpha/eisa/eisa_machdep.c
cvs rdiff -r1.7 -r1.7.76.1 src/sys/arch/alpha/include/eisa_machdep.h
cvs rdiff -r1.13 -r1.13.24.1 src/sys/arch/alpha/jensenio/jensenio.c
cvs rdiff -r1.5 -r1.5.24.1 src/sys/arch/alpha/jensenio/jensenio_intr.c
cvs rdiff -r1.5 -r1.5.58.1 src/sys/arch/alpha/jensenio/lpt_jensenio.c
cvs rdiff -r1.40 -r1.40.24.1 src/sys/arch/alpha/pci/sio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>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.