Subject: port-sparc/25412: Follow up crash report
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dykstraz@dwx.com>
List: netbsd-bugs
Date: 05/01/2004 02:32:01
>Number:         25412
>Category:       port-sparc
>Synopsis:       Follow up crash report
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 01 02:33:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Zach Dykstra
>Release:        netbsd-2-0/200404240000/sparc/
>Organization:
>Environment:
-
>Description:
This is a follow up report to last nights submission. I have captured the crash information. Here is all of the information I felt was relevant, contact me if I have left anything out.
-------------------------------------

<#0> ok probe-scsi
Target 1
  Unit 0   Disk     IBM     DPES31080SUN1.05S80B9546489065
                          1195  00011684G9001
                        D60886
Target 3
  Unit 0   Disk     SEAGATE ST32430W SUN2.1G066600321497
                    Copyright (c) 1995 Seagate
                    All rights reserved
Target 6
  Unit 0   Removable Read Only device     TOSHIBA XM-4101TASUNSLCD108404/18/94


<#0> ok  

Rebooting with command: cdrom
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@6,0:d  File and args:
>How-To-Repeat:
Boot an auto build CD from 4/19 or 4/29. Follow the prompts, with a double check for drive geometry. Watch the panic as it extracts base.tgz. Rinse, repeat. 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> NetBSD/sparc Secondary Boot, Revision 1.14
 >> (autobuild@tgm.netbsd.org, Thu Apr 29 11:43:07 UTC 2004)
 Booting netbsd
 1458692+769224+169556=0x259738
 OBP version 3, revision 2.15 (plugin rev 2)
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.
 
 NetBSD 2.0_BETA (INSTALL) #0: Thu Apr 29 14:22:52 UTC 2004
         autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sparc/OBJ/autobuild/netbs
 d-2-0/src/sys/arch/sparc/compile/INSTALL
 total memory = 97592 KB
 avail memory = 92664 KB
 bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@6,0:
 d
 mainbus0 (root): SUNW,SPARCstation-20: hostid 723753d3
 cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 60 MHz, on-chip FPU
 cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b
 /l): cache enabled
 cpu at mainbus0 not configured
 obio0 at mainbus0
 clock0 at obio0 slot 0 offset 0x200000: mk48t08
 timer0 at obio0 slot 0 offset 0x300000: delay constant 28
 zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
 zstty0 at zs0 channel 0 (console i/o)
 zstty1 at zs0 channel 1
 zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
 kbd0 at zs1 channel 0: baud rate 1200
 ms0 at zs1 channel 1: baud rate 1200
 fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
 auxreg0 at obio0 slot 0 offset 0x800000
 power0 at obio0 slot 0 offset 0xa01000 level 2
 iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x1, page-size 4096, range 64M
 B
 sbus0 at iommu0: clock = 25 MHz
 dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
 esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
 scsibus0 at esp0: 8 targets, 8 luns per target
 ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
 le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:22:e5:d4
 le0: 8 receive buffers, 2 transmit buffers
 SUNW,bpp at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3) not configured
 SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
 cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11
 cgsix0: attached to /dev/fb
 eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
 md0: internal 688 KB image area
 scsibus0: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 1 lun 0: <IBM, DPES31080SUN1.05, S80B> disk fixed
 sd0: drive offline
 sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
 sd1 at scsibus0 target 3 lun 0: <SEAGATE, ST32430W SUN2.1G, 0666> disk fixed
 sd1: drive offline
 sd1: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
 cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> cdrom removabl
 e
 cd0: async, 8-bit transfers
 root on md0a dumps on md0b
 root file system type: ffs
 Welcome to the NetBSD/sparc microroot setup utility.   
 
     Command: progress -zf /mnt2//sparc/binary/sets/base.tgz tar -xepf -
 
 --------------------------------------------------------------------------------
  44% |*************************************| 23040 KB  443.02 KB/s    01:05 ETAp
 panic: kernel fault
 syncing disks... panic: lockmgr: locking against myself
 Frame pointer is at 0xf017b788
 Call traceback:
   pc = 0xf0131f54  args = (0x1, 0x5, 0x0, 0x0, 0xf017b8a8, 0x31, 0xf017b7f0) fp= 0xf017b7f0
   pc = 0xf00a8350  args = (0x104, 0x0, 0x0, 0x0, 0xf017bc88, 0x32, 0xf017b860) fp = 0xf017b860
   pc = 0xf008cd10  args = (0xf015b3a8, 0x2, 0x0, 0x0, 0xf0258c00, 0x104, 0xf017b8c8) fp = 0xf017b8c8
   pc = 0xf00d0acc  args = (0xf2b02b98, 0x10012, 0xf2b02b28, 0xf017bd40, 0xf0258c00, 0x100, 0xf017b938) fp = 0xf017b938
   pc = 0xf00cff14  args = (0xf2b02b28, 0x10012, 0x240, 0xf017bde8, 0x0, 0x4a4, 0xf017b9b0) fp = 0xf017b9b0
   pc = 0xf00c7de0  args = (0xf2b02b28, 0x10012, 0x0, 0x0, 0x700, 0x0, 0xf017ba18) fp = 0xf017ba18
   pc = 0xf0072188  args = (0xf2b02b28, 0x10012, 0xf0236da0, 0x1624, 0xffff, 0xf0259000, 0xf017ba80) fp = 0xf017ba80
   pc = 0xf00caab4  args = (0x0, 0x2, 0xf045ee80, 0xf2827198, 0xf017bbb0, 0x0, 0xf017baf8) fp = 0xf017baf8
   pc = 0xf00c95cc  args = (0xf0185400, 0x0, 0x0, 0x0, 0x700, 0x31, 0xf017bb68) fp = 0xf017bb68
   pc = 0xf0131ec8  args = (0xf2827198, 0x5, 0x0, 0x0, 0xf017bc88, 0x32, 0xf017bbd0) fp = 0xf017bbd0
   pc = 0xf00a8350  args = (0x100, 0x0, 0x0, 0x0, 0xf017bcfc, 0x0, 0xf017bc40) fp = 0xf017bc40
   pc = 0xf01408b8  args = (0xf0167f10, 0xf01056e8, 0x240, 0xf017bd40, 0xf0258c00, 0x100, 0xf017bca8) fp = 0xf017bca8
   pc = 0xf0008518  args = (0x9, 0x326, 0x240, 0xf017bde8, 0x0, 0x4a4, 0xf017bd88) fp = 0xf017bd88
   pc = 0xf01057b4  args = (0xf0162000, 0x0, 0x4, 0xf017be58, 0xe, 0x0, 0xf017be38) fp = 0xf017be38
   pc = 0xf0130e14  args = (0x1, 0x0, 0xf017bf08, 0xf017bf08, 0x25, 0xf2b02b28, 0xf017bea0) fp = 0xf017bea0
   pc = 0xf0008dc8  args = (0x0, 0x8000, 0x80000000, 0xf0130cb4, 0x40000fc7, 0xf29618f8, 0xf017bf50) fp = 0xf017bf50
   pc = 0xf0a71000  args = (0x2b, 0x9014, 0xf2708000, 0xf0a72000, 0xf025b364, 0xf025b4ac, 0xf2961908) fp = 0xf2961908
 
 dump to dev 5,1 not possible
 sd0(esp0:0:1:0): failed to enqueue polling command, retrying...
 sd0(esp0:0:1:0): failed to enqueue polling command, retrying...
 sd0(esp0:0:1:0): failed to enqueue polling command, retrying...
 sd0(esp0:0:1:0): failed to enqueue polling command, retrying...
 sd0(esp0:0:1:0): failed to enqueue polling command
 sd0: cache synchronization failed
 rebooting
 
 Resetting ...    
 
 ----------------------------------
 
 The above text shows all of the hardware as NetBSD sees it (and is valid, to the best of my knoweldge).  I have been able to repeat this crash every time i've attempted to install. I have the same crash using a 4/19 auto build.