NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-alpha/41727: scsi devices disappear after halt/reboot on isp(4)



>Number:         41727
>Category:       port-alpha
>Synopsis:       scsi devices disappear after halt/reboot on isp(4)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 14 19:40:00 +0000 2009
>Originator:     Dennis Lindroos
>Release:        netbsd-5 branch, ca. 5/2009
>Organization:
National Land Survey of Finland
>Environment:
NetBSD 5.0_STABLE alpha
>Description:
Hi

Since I upgraded my Digital Personal Workstation from NetBSD 4 to 5, the 
machine is having an annoying problem with the QLogic isp(4) SCSI:

After halt(8)'ing the system, the SRM console goes "waiting for pkc0.7.0.1004.0 
to start..." for a minute and all the scsi devices have disappeared. I have to 
do an SRM "init" to get back to the correct state and to be able to boot an OS.


-->

halted CPU 0

halt code = 5
HALT instruction completed
PC = fffffc0000300118
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...
waiting for pkc0.7.0.1004.0 to start...

>>>show dev
dkb0.0.0.207.0              DKB0        TOSHIBA CD-ROM XM-6302B  1012
dva0.0.0.0.1                DVA0
ewa0.0.0.3.0                EWA0              00-00-F8-76-46-FB
pkc0.7.0.1004.0             PKC0                  SCSI Bus ID 7
pqa0.0.0.107.0              PQA0                       PCI EIDE
pqb0.0.0.207.0              PQB0                       PCI EIDE
>>>boot dkc200
(boot dkc200.2.0.1004.0 -flags A)
failed to open dkc200.2.0.1004.0
>>>

Notice how even the "5.57" after "SCSI Bus ID 7" has gone away, see below. This 
is what it should look like:

>>>show dev
dkb0.0.0.207.0              DKB0        TOSHIBA CD-ROM XM-6302B  1012
dkc0.0.0.1004.0             DKC0                       RZ2CC-KA  5520
dkc200.0.0.1004.0           DKC200            COMPAQ BD07296B44  HPB6
dkc400.0.0.1004.0           DKC400            COMPAQ BD07296B44  HPB6
dva0.0.0.0.1                DVA0
mkc500.0.0.1004.0           MKC500                        TLZ10  04a8
ewa0.0.0.3.0                EWA0              00-00-F8-76-46-FB
pkc0.7.0.1004.0             PKC0                  SCSI Bus ID 7  5.57
pqa0.0.0.107.0              PQA0                       PCI EIDE
pqb0.0.0.207.0              PQB0                       PCI EIDE

btw. SRM version is 7.2-1

Could the major update to the isp(4) driver (dev/ic/isp.c rev. 1.111 among 
other files) have something to do with it?
"Testing has been principally on amd64, i386 and sparc64 and seems to
not have broken things for me."


Here's the boot dmesg:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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 5.0_STABLE (GENERIC-$Revision: 1.325 $) #2: Sat May 23 11:45:30 EEST 2009
        lindroos%bsd-lab.nls.fi@localhost:/var/obj/sys/arch/alpha/UKULELE
Digital Personal WorkStation 500au, 500MHz, s/n 
8192 byte page size, 1 processor.
total memory = 256 MB
(1896 KB reserved for PROM, 254 MB used by NetBSD)
avail memory = 244 MB
timecounter: Timecounters tick every 0.976 msec
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-0
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (Pyxis), pass 1
cia0: extended capabilities: 1<BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
tlp0 at pci0 dev 3 function 0: DECchip 21143 Ethernet, pass 3.0
tlp0: interrupting at dec 550 irq 0
tlp0: DEC, Ethernet address 00:00:f8:76:46:fb
nsphy0 at tlp0 phy 5: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp0: 10baseT, 10baseT-FDX, 10base2, 10base5
sio0 at pci0 dev 7 function 0: Contaq Microsystems 82C693 PCI-ISA Bridge (rev. 
0x00)
cypide0 at pci0 dev 7 function 1
cypide0: Cypress 82C693 IDE Controller (rev. 0x00)
cypide0: bus-master DMA support present
cypide0: primary channel wired to compatibility mode
cypide0: primary channel interrupting at isa irq 14
atabus0 at cypide0 channel 0
cypide1 at pci0 dev 7 function 2
cypide1: Cypress 82C693 IDE Controller (rev. 0x00)
cypide1: hardware does not support DMA
cypide1: primary channel wired to compatibility mode
cypide1: secondary channel interrupting at isa irq 15
atabus1 at cypide1 channel 0
ohci0 at pci0 dev 7 function 3: Contaq Microsystems 82C693 PCI-ISA Bridge (rev. 
0x00)
ohci0: interrupting at isa irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
tga0 at pci0 dev 12 function 0: TGA2 pass 2, board type T8-02
tga0: 1280 x 1024, 8bpp, Bt485 RAMDAC
tga0: interrupting at dec 550 irq 8
wsdisplay0 at tga0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
ppb0 at pci0 dev 20 function 0: Digital Equipment DC21152 PCI-PCI Bridge (rev. 
0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
isp0 at pci1 dev 4 function 0: QLogic 1020 Fast Wide SCSI HBA
isp0: interrupting at dec 550 irq 3
fxp0 at pci1 dev 9 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at dec 550 irq 16
fxp0: Ethernet address 00:02:a5:41:e9:bd
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay1 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay1
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.01
audio0 at sb0: half duplex, mmap, independent
opl at sb0 not configured
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 1024 Hz quality 0
timecounter: Timecounter "PCC" frequency 499875840 Hz quality 1000
stray isa irq 15
scsibus0 at isp0: 16 targets, 8 luns per target
atapibus0 at atabus1: 2 targets
scsibus0: waiting 2 seconds for devices to settle...
cd0 at atapibus0 drive 0: <TOSHIBA CD-ROM XM-6302B, , 1012> cdrom removable
uhub0 at usb0: Contaq Microsys OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(cypide1:0:0): using PIO mode 4
IPsec: Initialized Security Association Processing.
sd0 at scsibus0 target 0 lun 0: <DEC, RZ2CC-KA (C) DEC, 5520> disk fixed
sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd0: sync (100.00ns offset 8), 16-bit (20.000MB/s) transfers, tagged queueing
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
sd1 at scsibus0 target 2 lun 0: <COMPAQ, BD07296B44, HPB6> disk fixed
sd1: 69464 MB, 47996 cyl, 4 head, 741 sec, 512 bytes/sect x 142264000 sectors
sd1: sync (100.00ns offset 7), 16-bit (20.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 4 lun 0: <COMPAQ, BD07296B44, HPB6> disk fixed
sd2: 69464 MB, 47996 cyl, 4 head, 741 sec, 512 bytes/sect x 142264000 sectors
sd2: sync (100.00ns offset 7), 16-bit (20.000MB/s) transfers, tagged queueing
st0 at scsibus0 target 5 lun 0: <DEC, TLZ10    (C) DEC, 04a8> tape removable
st0: st0: async, 8-bit transfers
drive empty
st0: sync (100.00ns offset 8), 8-bit (10.000MB/s) transfers
root on sd1a dumps on sd1b
root file system type: ffs

Any help is appreciated!

Regards,
Dennis


>How-To-Repeat:
Halt or Reboot the running OS. The scsi devices will no longer show up in the 
SRM device list (until the SRM is reset).



>Fix:



Home | Main Index | Thread Index | Old Index