Subject: generic HBA errors on Digital Personal WorkStation 500au
To: None <port-alpha@netbsd.org>
From: Ari Lukkarinen <arska@lukkarinen.org>
List: port-alpha
Date: 06/16/2004 08:44:10
Hello

I have installed NetBSD 1.6.2 on Personal WorkStation 500au, but
I have had problems with SCSI errors.
This machine have Qlogic 1040 SCSI adapter and two disks.
Currently, the larger 9 GB disk (sd1) is used for the operating system.
The installation is not a problem, but soon after the
machine is booted problems appear. The error message
is "sd1(isp0:0:2:0): generic HBA error". I am quote sure that
in this case the harware is functioning properly, because
TruUnix was used in the same machine just couple of weeks ago.
In addition, I actually have another identical machine which
behaved in exactly the same way.

So does someone have an idea, what could be the problem ?
Previous mails in this list indicated, that the problem
could be in the SCSI adapter. However, those messages
blamed Qlogic 1020 adapter and this machine have 1040 adapter.
In some previous case a large memory
(> 1GB) was found to be related to the problem.
I have 1.5 GB memory, but I would not like to strip extra memory
out of the box.

The configuration of my alpha can be found from the
/var/log/messages file given below.


Yours
--
Ari Lukkarinen

-------------------------------------------
/var/adm/messages:

Jun 12 13:58:15 dhcp-46 /netbsd:
Jun 12 13:58:15 dhcp-46 /netbsd: [ using 560888 bytes of netbsd ELF symbol table ]
Jun 12 13:58:15 dhcp-46 /netbsd: consinit: not using prom console
Jun 12 13:58:15 dhcp-46 /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Jun 12 13:58:15 dhcp-46 /netbsd:     The NetBSD Foundation, Inc.  All rights reserved.
Jun 12 13:58:15 dhcp-46 /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Jun 12 13:58:15 dhcp-46 /netbsd:     The Regents of the University of California.  All rights reserved.
Jun 12 13:58:15 dhcp-46 /netbsd:
Jun 12 13:58:15 dhcp-46 /netbsd: NetBSD 1.6.2 (GENERIC) #3: Mon Feb  9 11:37:53 CET 2004
Jun 12 13:58:15 dhcp-46 /netbsd:     he@spurv.urc.uninett.no:/usr/obj/sys/arch/alpha/compile/GENERIC
Jun 12 13:58:15 dhcp-46 /netbsd: Digital Personal WorkStation 500au, 500MHz, s/n
Jun 12 13:58:15 dhcp-46 /netbsd: 8192 byte page size, 1 processor.
Jun 12 13:58:15 dhcp-46 /netbsd: total memory = 1536 MB
Jun 12 13:58:15 dhcp-46 /netbsd: (1896 KB reserved for PROM, 1534 MB used by NetBSD)
Jun 12 13:58:15 dhcp-46 /netbsd: avail memory = 1420 MB
Jun 12 13:58:15 dhcp-46 /netbsd: using 9831 buffers containing 78648 KB of memory
Jun 12 13:58:15 dhcp-46 /netbsd: mainbus0 (root)
Jun 12 13:58:15 dhcp-46 /netbsd: cpu0 at mainbus0: ID 0 (primary), 21164A-0
Jun 12 13:58:15 dhcp-46 /netbsd: cpu0: Architecture extensions: 1<BWX>
Jun 12 13:58:15 dhcp-46 /netbsd: cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
Jun 12 13:58:15 dhcp-46 /netbsd: cia0: extended capabilities: 1<BWEN>
Jun 12 13:58:15 dhcp-46 /netbsd: cia0: using BWX for PCI config access
Jun 12 13:58:15 dhcp-46 /netbsd: sio_intr_setup: 0 level-triggered
Jun 12 13:58:15 dhcp-46 /netbsd: sio_intr_setup: 1 level-triggered
Jun 12 13:58:15 dhcp-46 /netbsd: sio_intr_setup: 8 level-triggered
Jun 12 13:58:15 dhcp-46 /netbsd: sio_intr_setup: 13 level-triggered
Jun 12 13:58:16 dhcp-46 /netbsd: pci0 at cia0 bus 0
Jun 12 13:58:16 dhcp-46 /netbsd: pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Jun 12 13:58:16 dhcp-46 /netbsd: tlp0 at pci0 dev 3 function 0: DECchip 21143 Ethernet, pass 3.0
Jun 12 13:58:16 dhcp-46 /netbsd: tlp0: interrupting at dec 550 irq 0
Jun 12 13:58:16 dhcp-46 /netbsd: tlp0: DEC , Ethernet address 00:00:f8:76:4e:79
Jun 12 13:58:16 dhcp-46 /netbsd: nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 1
Jun 12 13:58:16 dhcp-46 /netbsd: nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Jun 12 13:58:16 dhcp-46 /netbsd: tlp0: 10baseT, 10baseT-FDX, 10base2, 10base5
Jun 12 13:58:16 dhcp-46 /netbsd: sio0 at pci0 dev 7 function 0: Contaq Microsystems 82C693 PCI-ISA Bridge (rev. 0x00)
Jun 12 13:58:16 dhcp-46 /netbsd: pciide0 at pci0 dev 7 function 1: Cypress 82C693 IDE Controller (rev. 0x00)
Jun 12 13:58:16 dhcp-46 /netbsd: pciide0: device disabled (at device)
Jun 12 13:58:16 dhcp-46 /netbsd: pciide1 at pci0 dev 7 function 2: Cypress 82C693 IDE Controller (rev. 0x00)
Jun 12 13:58:16 dhcp-46 /netbsd: pciide1: hardware does not support DMA
Jun 12 13:58:16 dhcp-46 /netbsd: pciide1: primary channel wired to compatibility mode
Jun 12 13:58:16 dhcp-46 /netbsd: atapibus0 at pciide1 channel 0: 2 targets
Jun 12 13:58:16 dhcp-46 /netbsd: cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-6302B, , 1012> type 5 cdrom removable
Jun 12 13:58:16 dhcp-46 /netbsd: cd0: 32-bit data port
Jun 12 13:58:16 dhcp-46 /netbsd: cd0: drive supports PIO mode 4, DMA mode 2
Jun 12 13:58:16 dhcp-46 /netbsd: alpha_shared_intr_establish: isa irq 15: warning: using edge-triggered on level-triggered
Jun 12 13:58:16 dhcp-46 /netbsd: pciide1: secondary channel interrupting at isa irq 15
Jun 12 13:58:16 dhcp-46 /netbsd: cd0(pciide1:0:0): using PIO mode 4
Jun 12 13:58:16 dhcp-46 /netbsd: ohci0 at pci0 dev 7 function 3: Contaq Microsystems 82C693 PCI-ISA Bridge (rev. 0x00)
Jun 12 13:58:16 dhcp-46 /netbsd: ohci0: interrupting at isa irq 10
Jun 12 13:58:16 dhcp-46 /netbsd: ohci0: OHCI version 1.0, legacy support
Jun 12 13:58:16 dhcp-46 /netbsd: usb0 at ohci0: USB revision 1.0
Jun 12 13:58:16 dhcp-46 /netbsd: uhub0 at usb0
Jun 12 13:58:16 dhcp-46 /netbsd: uhub0: Contaq Microsys OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Jun 12 13:58:16 dhcp-46 /netbsd: uhub0: 2 ports with 2 removable, self powered
Jun 12 13:58:16 dhcp-46 /netbsd: tga0 at pci0 dev 12 function 0: TGA2 pass 2, board type T8-02
Jun 12 13:58:16 dhcp-46 /netbsd: tga0: 1280 x 1024, 8bpp, Bt485 RAMDAC
Jun 12 13:58:16 dhcp-46 /netbsd: tga0: interrupting at dec 550 irq 8
Jun 12 13:58:16 dhcp-46 /netbsd: wsdisplay0 at tga0 (kbdmux ignored)
Jun 12 13:58:16 dhcp-46 /netbsd: ppb0 at pci0 dev 20 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
Jun 12 13:58:16 dhcp-46 /netbsd: pci1 at ppb0 bus 1
Jun 12 13:58:16 dhcp-46 /netbsd: pci1: i/o space, memory space enabled, rd/line, wr/inv ok
Jun 12 13:58:16 dhcp-46 /netbsd: isp0 at pci1 dev 4 function 0: QLogic 1020 Ultra Wide SCSI HBA
Jun 12 13:58:16 dhcp-46 /netbsd: isp0: interrupting at dec 550 irq 3
Jun 12 13:58:17 dhcp-46 /netbsd: isp0: invalid NVRAM header
Jun 12 13:58:17 dhcp-46 /netbsd: scsibus0 at isp0: 16 targets, 8 luns per target
Jun 12 13:58:17 dhcp-46 /netbsd: isp1 at pci1 dev 8 function 0: QLogic 1020 Ultra Wide SCSI HBA
Jun 12 13:58:17 dhcp-46 /netbsd: isp1: interrupting at dec 550 irq 12
Jun 12 13:58:17 dhcp-46 /netbsd: scsibus1 at isp1: 16 targets, 8 luns per target
Jun 12 13:58:17 dhcp-46 /netbsd: isa0 at sio0
Jun 12 13:58:17 dhcp-46 /netbsd: com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
Jun 12 13:58:17 dhcp-46 /netbsd: com0: console
Jun 12 13:58:17 dhcp-46 /netbsd: alpha_shared_intr_establish: isa irq 4: warning: using edge-triggered on level-triggered
Jun 12 13:58:17 dhcp-46 /netbsd: com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
Jun 12 13:58:17 dhcp-46 /netbsd: alpha_shared_intr_establish: isa irq 3: warning: using edge-triggered on level-triggered
Jun 12 13:58:17 dhcp-46 /netbsd: pckbc0 at isa0 port 0x60-0x64
Jun 12 13:58:17 dhcp-46 /netbsd: vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
Jun 12 13:58:17 dhcp-46 /netbsd: wsdisplay1 at vga0 (kbdmux ignored)
Jun 12 13:58:17 dhcp-46 /netbsd: lpt0 at isa0 port 0x3bc-0x3bf irq 7
Jun 12 13:58:17 dhcp-46 /netbsd: alpha_shared_intr_establish: isa irq 7: warning: using edge-triggered on level-triggered
Jun 12 13:58:17 dhcp-46 /netbsd: sb0 at isa0 port 0x220-0x237 irq 5 drq 1alpha_shared_intr_establish: isa irq 5: warning: using edge-triggered on level-triggered
Jun 12 13:58:17 dhcp-46 /netbsd: : dsp v3.01
Jun 12 13:58:17 dhcp-46 /netbsd: audio0 at sb0: half duplex, mmap, independent
Jun 12 13:58:17 dhcp-46 /netbsd: midi at sb0 not configured
Jun 12 13:58:17 dhcp-46 /netbsd: opl at sb0 not configured
Jun 12 13:58:17 dhcp-46 /netbsd: pcppi0 at isa0 port 0x61
Jun 12 13:58:17 dhcp-46 /netbsd: midi0 at pcppi0: PC speaker
Jun 12 13:58:17 dhcp-46 /netbsd: spkr0 at pcppi0
Jun 12 13:58:17 dhcp-46 /netbsd: isabeep0 at pcppi0
Jun 12 13:58:17 dhcp-46 /netbsd: fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
Jun 12 13:58:17 dhcp-46 /netbsd: alpha_shared_intr_establish: isa irq 6: warning: using edge-triggered on level-triggered
Jun 12 13:58:17 dhcp-46 /netbsd: fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Jun 12 13:58:17 dhcp-46 /netbsd: mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
Jun 12 13:58:17 dhcp-46 /netbsd: scsibus0: waiting 2 seconds for devices to settle...
Jun 12 13:58:17 dhcp-46 /netbsd: sd0 at scsibus0 target 0 lun 0: <DEC, RZ2CC-KA (C) DEC, 5520> SCSI2 0/direct fixed
Jun 12 13:58:17 dhcp-46 /netbsd: sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
Jun 12 13:58:17 dhcp-46 /netbsd: sd0: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
Jun 12 13:58:17 dhcp-46 /netbsd: sd1 at scsibus0 target 2 lun 0: <HITACHI, DK329H-91WC, AKAK> SCSI2 0/direct fixed
Jun 12 13:58:17 dhcp-46 /netbsd: sd1: 8781 MB, 7931 cyl, 10 head, 226 sec, 512 bytes/sect x 17985430 sectors
Jun 12 13:58:17 dhcp-46 /netbsd: sd1: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
Jun 12 13:58:17 dhcp-46 /netbsd: scsibus1: waiting 2 seconds for devices to settle...
Jun 12 13:58:17 dhcp-46 /netbsd: Kernelized RAIDframe activated
Jun 12 13:58:17 dhcp-46 /netbsd: root on sd1a dumps on sd1b
Jun 12 13:58:17 dhcp-46 /netbsd: root file system type: ffs
Jun 12 13:58:13 dhcp-46 savecore: no core dump
Jun 12 14:00:00 dhcp-46 syslogd: restart
Jun 12 15:31:27 dhcp-46 /netbsd: ror
Jun 12 15:31:28 dhcp-46 /netbsd: sd1(isp0:0:2:0): generic HBA error
Jun 12 15:31:50 dhcp-46 last message repeated 235 times
Jun 12 15:31:58 dhcp-46 /netbsd: ror
Jun 12 15:31:58 dhcp-46 /netbsd: sd1(isp0:0:2:0): generic HBA error
Jun 12 15:40:00 dhcp-46 last message repeated 236 times
Jun 12 15:46:36 dhcp-46 last message repeated 2 times