Article View: comp.sys.sun
Article #12555Changing interrupt priority of ALM-2 board
From: Mike Maciolek
Date: Sat, 06 May 1989 10:46
Date: Sat, 06 May 1989 10:46
48 lines
2562 bytes
2562 bytes
This is a followup to a previous posting, in which I requested general
help in determining the cause of a frequent "panic:mget" system crash.
Thanks to all who responded! Your comments were most helpful.
I have now confirmed the problem is caused by trying to run SLIP on an
ALM-2 serial port. The ALM2 interrupts the buffer allocation routine, and
ultimately an mbuf allocation panic occurs.
The problem does not occur when I run SLIP on ttyb.
(So why not just run SLIP on ttyb?)
I'd like to keep ttyb available for Sunlink/INR software, which means running
SLIP on the ALM port (ttyh0).
The recommended fix (from several helpful sources -- thanks) is to change
the interrupt priority of the ALM board...something about re-strapping the
serial board for a lower priority. Sounds like a hardware-kind of thing
to do. Trouble is, the SUN documentation on the ALM says nothing about
jumpers or DIP-switch settings for changing the interrupt priority level.
Could it be the interrupt priority level is set in software? A quick peek
at the kernel config file shows:
device zs0 at obio ? csr 0x20000 flags 3 priority 3
device mcp0 at vme32d32 ? csr 0x01000000 flags 0x1ffff priority 4
vector mcpintr 0x8b
"Well", thinks I, "Why not try running the ALM at the SAME priority level as
the ttya/b ports?" I tried to compile a kernel with the "device mcp0" line
changed from "priority 4" to "priority 3". Seemed to compile OK, but when I
tried to reboot, I got a continuous stream of
"iobus level 3 interrupt not serviced"
messages, so with tears in my eyes, I turned around and went back to the
old kernel, which is where I remain to this day.
HAS ANYONE DONE THIS (THIS == successfully reset the interrupt priority
of the ALM-2 board so it works with SLIP)
PLEASE enlighten me as to how - if it is possible at all. Much thanks.
Michael Maciolek mikem@juliet.ll.mit.edu (preferred)
G43 SysAdmin mikem@xn.ll.mit.edu
MIT/Lincoln Laboratory
Technical Details
Message-ID:
<1363@xn.LL.MIT.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request From: mikem@juliet.ll.mit.edu (Mike Maciolek) Newsgroups: comp.sys.sun Subject: Changing interrupt priority of ALM-2 board Keywords: Hardware Message-ID: <1363@xn.LL.MIT.EDU> Date: 6 May 89 10:46:16 GMT Sender: usenet@rice.edu Organization: MIT Lincoln Laboratory Lines: 48 Approved: Sun-Spots@rice.edu Original-Date: 26 Apr 89 20:48:04 GMT X-Sun-Spots-Digest: Volume 7, Issue 271, message 10 of 18