Subject: Re: port-alpha/36628: cdhdtape image panics with memory management
To: None <tsutsui@NetBSD.org, gnats-admin@netbsd.org,>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: netbsd-bugs
Date: 07/23/2007 11:20:02
The following reply was made to PR port-alpha/36628; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: ChristophFranzen@gmx.net
Cc: gnats-bugs@NetBSD.org, tsutsui@ceres.dti.ne.jp
Subject: Re: port-alpha/36628: cdhdtape image panics with memory management
	 trap on Jensen
Date: Mon, 23 Jul 2007 20:16:22 +0900

 ChristophFranzen@gmx.net wrote:
 
 > There seems to be something wrong however. The ECU configuration 
 > shows the SCSI adapter at IRQ 11 while Netbsd shows EISA IRQ 12. The 
 > host adapter is revision E.
 
 Hmm. According to src/sys/dev/eisa/ahb.c, the irq setting
 is stored in AHA-1742 INTDEF register so the ECU should
 set up the card properly but somehow it doesn't.
 Does the card work on other OSes (DIGITAL UNIX or Linux)?
 
 One concern is that the EISA config file provided by DEC
 doesn't have "CHOICE" section for IRQ levels while
 the Adaptec one for x86 has it:
 ftp://ftp.digital.com/pub/DEC/Alpha/firmware/archive/ecu/ntecuv111a.zip
 http://www.adaptec.com/en-US/speed/eprom_bios/aswc174_exe.htm
 
 What "CHOICE" items are shown on the ECU menu for AHA-1742A?
 If there is no IRQ "CHOICE", what happens if you choose
 "BIOS Base Address E8000H" one?
 (it seems to set the ahb INTDEF register irq 11 LEVEL)
 
 > db> trace
 > cpu_Debugger() at netbsd:cpu_Debugger+0x4
 > comintr() at netbsd:comintr+0x920
 > com_jensenio_intr() at netbsd:com_jensenio_intr+0x24
 > interrupt() at netbsd:interrupt+0x1f4
 > XentInt() at netbsd:XentInt+0x1c
 > --- interrupt (from ipl 0) ---
 > spl0() at netbsd:spl0+0x30
 > cpu_configure() at netbsd:cpu_configure+0x70
 > configure() at netbsd:configure+0x44
 > main() at netbsd:main+0x1bc
 > locorestart() at netbsd:locorestart+0x64
 > --- root of call graph ---
  :
 > db> show event
 > evcnt type 1: cpu0 device = 6390298
 > evcnt type 1: eisa irq 12 = 6390297
 > evcnt type 1: vector 0x900 = 1
 
 This indicates that the problem is unhandled interrupt
 storm from eisa irq 12.
 ---
 Izumi Tsutsui