Subject: port-sparc/32770: stay interrupts on isp
To: None <port-sparc-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <efnbp06@bn2.maus.net>
List: netbsd-bugs
Date: 02/08/2006 07:35:01
>Number: 32770
>Category: port-sparc
>Synopsis: reading disklabel off CD-R attached to isp gives stray interrupts
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 08 07:35:00 +0000 2006
>Originator: efnbp06@bn2.maus.net
>Release: NetBSD 3.0
>Environment:
System: NetBSD 3.0
Architecture: sparc
Machine: sparc
>Description:
Four CD writers attached to a QLogic SCSI SBUS card plugged into a SS20.
Each time a disklabel is read from an empty CD-R, you get a SCSI error
(OK) surrounded by several stray interrupts.
After a while, you get a crazy interrupts panic.
Relevant part of syslog follow:
Feb 7 19:55:59 pallas /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Feb 7 19:55:59 pallas /netbsd: The NetBSD Foundation, Inc. All rights reserved.
Feb 7 19:55:59 pallas /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Feb 7 19:55:59 pallas /netbsd: The Regents of the University of California. All rights reserved.
Feb 7 19:55:59 pallas /netbsd:
Feb 7 19:55:59 pallas /netbsd: NetBSD 3.0 (pallas) #1: Sun Jan 1 23:27:03 CET 2006
Feb 7 19:55:59 pallas /netbsd: ef@cliff.local:/Volumes/User/ef-cliff/local/build/NetBSD/usr/src/sys/arch/sparc/compile/obj/pallas
Feb 7 19:55:59 pallas /netbsd: total memory = 64800 KB
Feb 7 19:55:59 pallas /netbsd: avail memory = 60600 KB
Feb 7 19:55:59 pallas /netbsd: bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
Feb 7 19:55:59 pallas /netbsd: mainbus0 (root): SUNW,SPARCstation-20: hostid 7270f65d
Feb 7 19:55:59 pallas /netbsd: cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 60 MHz, on-chip FPU
Feb 7 19:55:59 pallas /netbsd: cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
Feb 7 19:55:59 pallas /netbsd: cpu1 at mainbus0: mid 10: TMS390Z50 v0 or TMS390Z55 @ 60 MHz, on-chip FPU
Feb 7 19:55:59 pallas /netbsd: cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external (32 b/l): cache enabled
Feb 7 19:55:59 pallas /netbsd: obio0 at mainbus0
Feb 7 19:55:59 pallas /netbsd: clock0 at obio0 slot 0 offset 0x200000: mk48t08
Feb 7 19:55:59 pallas /netbsd: timer0 at obio0 slot 0 offset 0x300000: delay constant 28
Feb 7 19:55:59 pallas /netbsd: zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
Feb 7 19:55:59 pallas /netbsd: zstty0 at zs0 channel 0
Feb 7 19:55:59 pallas /netbsd: zstty1 at zs0 channel 1
Feb 7 19:55:59 pallas /netbsd: zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
Feb 7 19:55:59 pallas /netbsd: kbd0 at zs1 channel 0: baud rate 1200 (console input)
Feb 7 19:55:59 pallas /netbsd: ms0 at zs1 channel 1: baud rate 1200
Feb 7 19:55:59 pallas /netbsd: SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
Feb 7 19:55:59 pallas /netbsd: auxreg0 at obio0 slot 0 offset 0x800000
Feb 7 19:55:59 pallas /netbsd: power0 at obio0 slot 0 offset 0xa01000 level 2
Feb 7 19:55:59 pallas /netbsd: iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x1, page-size 4096, range 64MB
Feb 7 19:55:59 pallas /netbsd: sbus0 at iommu0: clock = 25 MHz
Feb 7 19:55:59 pallas /netbsd: dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
Feb 7 19:55:59 pallas /netbsd: esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
Feb 7 19:55:59 pallas /netbsd: scsibus0 at esp0: 8 targets, 8 luns per target
Feb 7 19:55:59 pallas /netbsd: ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
Feb 7 19:55:59 pallas /netbsd: le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:1c:7a:dc
Feb 7 19:55:59 pallas /netbsd: le0: 8 receive buffers, 2 transmit buffers
Feb 7 19:55:59 pallas /netbsd: bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
Feb 7 19:55:59 pallas /netbsd: SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
Feb 7 19:55:59 pallas /netbsd: cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11 (console)cgsix0: attached to /dev/fb
Feb 7 19:55:59 pallas /netbsd:
Feb 7 19:55:59 pallas /netbsd: isp0 at sbus0 slot 3 offset 0x10000 level 3 (ipl 5) for QLGC,isp
Feb 7 19:55:59 pallas /netbsd: scsibus1 at isp0: 16 targets, 8 luns per target
Feb 7 19:55:59 pallas /netbsd: eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Feb 7 19:55:59 pallas /netbsd: scsibus0: waiting 2 seconds for devices to settle...
Feb 7 19:55:59 pallas /netbsd: scsibus1: waiting 2 seconds for devices to settle...
Feb 7 19:55:59 pallas /netbsd: sd0 at scsibus0 target 3 lun 0: <WDIGTL, ENTERPRISE, 1.91> disk fixed
Feb 7 19:55:59 pallas /netbsd: sd0: 4157 MB, 5720 cyl, 8 head, 186 sec, 512 bytes/sect x 8515173 sectors
Feb 7 19:55:59 pallas /netbsd: sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
Feb 7 19:55:59 pallas /netbsd: cd0 at scsibus1 target 1 lun 0: <TEAC, CD-R58S, 1.0P> cdrom removable
Feb 7 19:55:59 pallas /netbsd: cd0: async, 8-bit transfers
Feb 7 19:55:59 pallas /netbsd: cd0: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
Feb 7 19:55:59 pallas /netbsd: cd1 at scsibus1 target 2 lun 0: <TEAC, CD-R58S, 1.0P> cdrom removable
Feb 7 19:55:59 pallas /netbsd: cd1: async, 8-bit transfers
Feb 7 19:55:59 pallas /netbsd: cd1: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
Feb 7 19:55:59 pallas /netbsd: cd2 at scsibus1 target 5 lun 0: <TEAC, CD-R58S, 1.0P> cdrom removable
Feb 7 19:55:59 pallas /netbsd: cd2: async, 8-bit transfers
Feb 7 19:55:59 pallas /netbsd: cd2: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
Feb 7 19:55:59 pallas /netbsd: cd3 at scsibus1 target 6 lun 0: <TEAC, CD-R58S, 1.0P> cdrom removable
Feb 7 19:55:59 pallas /netbsd: cd3: async, 8-bit transfers
Feb 7 19:55:59 pallas /netbsd: cd3: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
Feb 7 19:55:59 pallas /netbsd: root on sd0a dumps on sd0b
Feb 7 19:55:59 pallas /netbsd: root file system type: ffs
Feb 7 19:55:59 pallas /netbsd: cpu0: booting secondary processors: cpu1
Feb 7 19:55:59 pallas savecore: no core dump
Feb 7 19:56:04 pallas rpc.statd: Starting
Feb 7 19:56:05 pallas rpc.lockd: Starting
Feb 7 19:59:42 pallas /netbsd: stray interrupt ipl 0x5 pc=0xf0007c5c npc=0xf0007c60 psr=404000c7<S,PS>
Feb 7 19:59:42 pallas /netbsd: cd0(isp0:0:1:0): Check Condition on CDB: 0x43 00 00 00 00 00 00 00 0c 40
Feb 7 19:59:42 pallas /netbsd: SENSE KEY: Illegal Request
Feb 7 19:59:42 pallas /netbsd: ASC/ASCQ: Illegal Field in CDB
Feb 7 19:59:42 pallas /netbsd:
Feb 7 19:59:46 pallas /netbsd: cd0(isp0:0:1:0): Check Condition on CDB: 0x08 00 00 00 01 00
Feb 7 19:59:46 pallas /netbsd: SENSE KEY: Illegal Request
Feb 7 19:59:46 pallas /netbsd: COMMAND INFO: 72 (0x48)
Feb 7 19:59:46 pallas /netbsd: ASC/ASCQ: Logical Block Address Out of Range
Feb 7 19:59:46 pallas /netbsd:
Feb 7 19:59:46 pallas /netbsd: cd0: disk label read error
Feb 7 19:59:46 pallas /netbsd: stray interrupt ipl 0x5 pc=0xf00f69a4 npc=0xf00f69a8 psr=400001c5<S,PS>
Feb 7 19:59:46 pallas /netbsd: cd0(isp0:0:1:0): Check Condition on CDB: 0x43 00 00 00 00 00 00 00 0c 40
Feb 7 19:59:46 pallas /netbsd: SENSE KEY: Illegal Request
Feb 7 19:59:46 pallas /netbsd: ASC/ASCQ: Illegal Field in CDB
Feb 7 19:59:46 pallas /netbsd:
Feb 7 19:59:46 pallas /netbsd: stray interrupt ipl 0x5 pc=0xf00f6b78 npc=0xf00f6b7c psr=400000c1<S,PS>
>How-To-Repeat:
Attach CD writers to QLogic SBUS card. Try to access CDs.
>Fix:
Unknown