Subject: port-pmax/2540: Kernel panic wihout 'options DS5000_100,DS5000_25'
To: None <gnats-bugs@NetBSD.ORG>
From: Manuel Bouyer <>
List: netbsd-bugs
Date: 06/11/1996 10:43:26
>Number:         2540
>Category:       port-pmax
>Synopsis:       Kernel panic wihout 'options DS5000_100,DS5000_25'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 11 05:05:01 1996

LIX, Ecole Polytechnique, France

>Release:        1.2_ALPHA

System: NetBSD 1.2_ALPHA NetBSD 1.2_ALPHA (ANTIOCHE) #0: Mon Jun 10 17:52:11 MET DST 1996 pmax

Decstation 5000/200, 48Mb RAM.

A kernel compiled without
        options DS5000_100
        options DS5000_25
Will panic before configuring the old scsi interface with the following
message :
NetBSD 1.2_ALPHA (NEWCONF) #0: Mon Jun 10 20:02:10 MET DST 1996
real mem = 50331648
avail mem = 42803200
using 1228 buffers containing 5029888 bytes of memory
mainbus0 (root)
MIPS R3000 CPU Rev. 2.0 with MIPS R3010 FPC Rev. 2.0
tcmatch: tc cmp tc
tc0 at mainbus0: 25 MHz clock
tcattach: config_found for KN02    , addr 0xbfc00000
asicmatch: KN02     slot 7 offset 0x0 pri -1
(configuring KN02 system slot as asic)
asic0 at tc0 slot 7 offset 0x0asicattach: asic0

asicattach: entry 0, base addr bfc00000
 adding dc subslot 0 offset 200000 addr bfe00000
dc0 at asic0 offset 0x200000 priority 7
asicattach: entry 1, base addr bfc00000
 adding mc146818 subslot 0 offset 280000 addr bfe80000
clock0 at asic0 offset 0x280000 priority 0
asicattach: entry 2, base addr bfc00000
asicattach: done
tcattach: config_found for PMAD-AA , addr 0xbf800000
le0 at tc0 slot 6 offset 0x0: address 08:00:2b:16:47:c2
le0: 32 receive buffers, 8 transmit buffers
tc_intr_establish: slot 6 level 2 handler 0x80034aac sc 0xc0430e00 on
tcattach: config_found for PMAZ-AA , addr 0xbf400000
asc0 at tc0 slot 5 offset 0x0tc_intr_establish: slot 5 level 1 handler 0x800ed7cc sc 0xc0432c00 on
: tZZZZt 7
le1 at tc0 slot 2 offset 0x0: address 08:00:2b:1b:c0:bc
le1: 32 receive buffers, 8 transmit buffers
tc_intr_establish: slot 2 level 2 handler 0x80034aac sc 0xc0430c00 on
cfb0 at tc0 slot 0 offset 0x0 (1024x864x8) (console)
looking for non-PROM console driver
calling initcpu()
autconfiguration done, spl back to 0x0
call spl0
CPU memory read timeout error at 0xffffffec
panic: Mem error interrupt
stacktrace_subr+4c (80143000,0,be0d5c00,be0d5808) ra 8010330c sz 136
stacktrace+18 (80143000,0,be0d5c00,be0d5808) ra 800ff84c sz 32
800ff804+48 (100,0,be0d5c00,be0d5808) ra 80047550 sz 32
800474f0+60 (80114b30,8011e9f8,ffffee44,be0d5808) ra 80104bc8 sz 24
80104aac+11c (80114b30,8011e9f8,ffffee44,be0d5808) ra 80103d84 sz 48
80103b98+1ec (80114b30,8011e9f8,ffffee44,be0d5808) ra 80102a2c sz 64
interrupt+ac (80114b30,8011e9f8,ffffee44,be0d5808) ra 80030e5c sz 40
r3000 KernIntr+80: (80114b30, 8011e9f8 ,ffffee44) -------
mips_r2000_UserIntr+2bc (0,0,a4,be0d5808) ra 800fd930 sz 0
800fd860+d0 (0,0,a4,be0d5808) ra 1 sz 32
PC 0x1: not in kernel space
0+1 (0,0,a4,be0d5808) ra 0 sz 0
User-level: pid 0
syncing disks... 


remove 'options DS5000_100' and 'options DS5000_25' from the NEWCONF,
config NEWCONF; cd ../compile/NEWCONF; make depend all; cp netbsd /; reboot
on a decstation 5000/200   

    Don't know. I guess there is some uninitialised pointer somewhere.