Subject: port-vax/11754: VAXstation crash with NetBSD 1.5 and 2 scsi disks
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mkb@mukappabeta.de>
List: netbsd-bugs
Date: 12/16/2000 20:04:18
>Number:         11754
>Category:       port-vax
>Synopsis:       VAXstation crash with NetBSD 1.5 and 2 scsi disks
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-vax-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 16 20:04:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Buelow
>Release:        NetBSD/vax 1.5 (GENERIC kernel)
>Organization:

	--mkb
>Environment:
NetBSD 1.5 (GENERIC) on VAXstation 3100/m30, 24MB RAM, 1GB IBM disk
on scsia and 4GB quantum disk on scsib (external).

>Description:
After having upgraded my VAXstation from 1.4 to 1.5 (actually reinstalled)
and hooked on an external scsi disk to the second scsi bus, I have seen
some soft errors on sd0 and now a severe crash with the following output
with sd1:

sd1(si1:1:0):  Check Condition on CDB: 0x0a 00 00 10 04 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

sd1(si1:1:0):  Check Condition on CDB: 0x0a 00 04 30 08 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

sd1(si1:1:0):  Check Condition on CDB: 0x2a 00 00 62 d1 90 00 00 10 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

sd1(si1:1:0):  Check Condition on CDB: 0x2a 00 00 62 95 80 00 00 10 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0
sd1(si1:1:0):  Check Condition on CDB: 0x28 00 00 62 95 80 00 00 10 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

sd1(si1:1:0):  Check Condition on CDB: 0x28 00 00 62 95 80 00 00 10 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

sd1(si1:1:0):  Check Condition on CDB: 0x28 00 00 62 95 80 00 00 10 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

mode = 060550, inum = 790823, fs = /usr2
panic: ffs_valloc: dup alloc
Stopped in tar at       _ffs_valloc+0xee:       movl    0xc0(r6), r0
db> cont
syncing disks... sd1(si1:1:0):  Check Condition on CDB: 0x2a 00 00 62 cf dc 00 00 04 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable
         SKSV:  Progress Indicator: 0

panic: lockmgr: locking against myself
Stopped in tar at       _lockmgr+0x36a: movw    12(r6), r0
db> sync

dumping to dev 20,1 offset 148467
dump succeeded

?06 HLT INST
    PC = 80107A6A
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> 
 
 The disks are known to work and the internal disk (sd0) has worked
 without any problems for over a year in the VAXstation.
 Since I remember the scsi problems with the second disk in 1.5_ALPHA
 I thought maybe there're still some bugs lurking in the DMA code
 concerning the second scsi bus on the VAXstation?