Subject: port-pmax/28798: Kernel support broken for PMAG-C in 2.0 branch
To: None <port-pmax-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <cc@corti-net.de>
List: netbsd-bugs
Date: 12/28/2004 17:27:00
>Number:         28798
>Category:       port-pmax
>Synopsis:       Kernel support broken for PMAG-C in 2.0 branch
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-pmax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 28 17:27:00 +0000 2004
>Originator:     Christian Corti
>Release:        2.0 release
>Organization:
>Environment:
NetBSD/pmax 2.0, DECstation 5000/260 with 96MB RAM, kernel from kern-WSCONS.tgz
>Description:
Kernel is not able to initialize with a PMAG-C as primary video interface. A PMAGB-B (alone or with the PMAG-C as additional card) works flawlessly. Here's the output from the PROM monitor trying to boot the kernel:
>>boot 3/rz0/netbsd_temp -a

NetBSD/pmax 1.6.1 FFS Primary Bootstrap

NetBSD/pmax 2.0 Secondary Bootstrap, Revision 1.5
(builds@build, Wed Dec  1 20:26:28 UTC 2004)

Boot: 3/rz0/netbsd_temp
2900224+426136 [108496+95539]=0x35e178
Starting at 0x80030000

segment  0 start 00000000 size 04800000
segment  1 start 06000000 size 00800000
segment  2 start 08000000 size 00800000
segment  3 start 0a000000 size 00800000
panic: px_init: allocation out of bounds
Begin traceback...
pid 256 trap: TLB miss (load or instr. fetch) in kernel mode
status=0x20000002, cause=0x8, epc=0x8019336c, vaddr=0x0
pid=0 cmd= usp=0x0 ksp=0x80390d50
Stopped in pid 0.1 () at        netbsd:p_find+0x4c:     lw      s0,0(v0)
db>

Taking the additional memory modules out doesn't change anything (I currently have 2x32MB and 4x8 MB). The machine ran fine the last time I tried it with the PMAG-C (release 1.5 beta). The PROM diagnostic routines run without errors.
>How-To-Repeat:
Install a PMAG-C as the only video adapter into your DECstation and try booting any 2.0 kernel (no matter if kernel from kern-WSCONS.tgz or built from sources)
>Fix: