>Synopsis:      tsciic(4) on alpha should be disabled, causes CS20 instability
>Category:      alpha
>Environment:
        System      : OpenBSD 6.*
        Architecture: OpenBSD.alpha
        Machine     : alpha
>Description:
        A few releases ago, alipm got disabled on alpha because there were
        reports of CS20 systems freezing.
        Since then, another i2c controller has been added, tsciic.
        On CS20 systems, the i2c bus at tsciic sports both the usual spdmem
        information, and an lmenv(4) sensors chip.
        Unfortunately, when the lmenv driver is enabled, the CS20 quickly
        freezes hard, with both GENERIC and GENERIC.MP.
        Until the cause for this is understood, I'd suggest disabling tsciic
        (or lmenv, but this will cause a noisy lmenv probe signature to be
         output in dmesg) in order to make CS20 (and likely DS20L) usable again.
>How-To-Repeat:
        Boot a recent enough OpenBSD kernel to have tsciic on a CS20 system.
>Fix:
        Suggested workaround:
Index: sys/arch/alpha/conf/GENERIC
===================================================================
RCS file: /OpenBSD/src/sys/arch/alpha/conf/GENERIC,v
retrieving revision 1.259
diff -u -p -r1.259 GENERIC
--- sys/arch/alpha/conf/GENERIC 31 Aug 2016 12:46:45 -0000      1.259
+++ sys/arch/alpha/conf/GENERIC 29 Aug 2017 19:43:24 -0000
@@ -285,9 +285,9 @@ mlphy*      at mii?                         # Micro Linear 
6692 PH
 ukphy* at mii?                         # "unknown" PHYs
 
 # sensors
-alipm* at pci? disable
+alipm* at pci? disable         # known to cause freezes on CS20/DS20L
 iic*   at alipm?
-tsciic*        at tsc?
+tsciic*        at tsc? disable         # known to cause freezes on CS20/DS20L
 iic*   at tsciic?
 
 adc*   at iic?                         # Analog Devices AD7416/AD7417/7418

dmesg:
[ using 762464 bytes of bsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.1-current (GENERIC.MP) #0: Thu Aug 10 09:24:05 GMT 2017
    [email protected]:/usr/src/sys/arch/alpha/compile/GENERIC.MP
API CS20D 833 MHz
8192 byte page size, 2 processors.
real mem = 2147483648 (2048MB)
rsvd mem = 2981888 (2MB)
avail mem = 2099380224 (2002MB)
mainbus0 at root
cpu0 at mainbus0: ID 0 (primary), 21264B-3 (unknown minor type 3)
cpu0: architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
cpu1 at mainbus0: ID 1, 21264B-3 (unknown minor type 3)
cpu1: architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
tsc0 at mainbus0: 21272 Chipset, Cchip rev 0
tsc0: 4 Dchips, 1 memory bus of 32 bytes
tsc0: arrays present: 1024MB, 1024MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0 hose 0
pci0 at tsp0 bus 0
siop0 at pci0 dev 3 function 0 "Symbios Logic 53c1010-66" rev 0x01: dec 6600 
irq 16, using 8K of on-board RAM
scsibus0 at siop0: 16 targets, initiator 7
sd0 at scsibus0 targ 3 lun 0: <IBM, DDYS-T18350N, S96H> SCSI3 0/direct fixed 
naa.5005076206d78e86
sd0: 17501MB, 512 bytes/sector, 35843670 sectors
fxp0 at pci0 dev 4 function 0 "Intel 8255x" rev 0x08, i82559: dec 6600 irq 20, 
address 00:02:56:00:02:15
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
sio0 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0xc3
pciide0 at pci0 dev 16 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc2: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 ignored (disabled)
atapiscsi0 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, CD-ROM SN-124, q008> ATAPI 5/cdrom 
removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
"Acer Labs M7101 Power" rev 0x00 at pci0 dev 17 function 0 not configured
isa0 at sio0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x3bc/4 irq 7
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
tsp1 at tsc0 hose 1
pci1 at tsp1 bus 0
fxp1 at pci1 dev 3 function 0 "Intel 8255x" rev 0x08, i82559: dec 6600 irq 32, 
address 00:02:56:00:02:16
inphy1 at fxp1 phy 1: i82555 10/100 PHY, rev. 4
tsciic0 at tsc0
iic0 at tsciic0
lmenv0 at iic0 addr 0x2f: adm9240 rev 2
spdmem0 at iic0 addr 0x50: 256MB SDRAM registered ECC PC100CL3
spdmem1 at iic0 addr 0x51: 256MB SDRAM registered ECC PC100CL3
spdmem2 at iic0 addr 0x52: 256MB SDRAM registered ECC PC100CL3
spdmem3 at iic0 addr 0x53: 256MB SDRAM registered ECC PC100CL3
spdmem4 at iic0 addr 0x54: 256MB SDRAM registered ECC PC100CL3
spdmem5 at iic0 addr 0x55: 256MB SDRAM registered ECC PC100CL3
spdmem6 at iic0 addr 0x56: 256MB SDRAM registered ECC PC100CL3
spdmem7 at iic0 addr 0x57: 256MB SDRAM registered ECC PC100CL3
stray isa irq 15
stray isa irq 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
siop0: target 3 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
root on sd0a (ee148a783da86a27.a) swap on sd0b dump on sd0b
stray isa irq 3
stray isa irq 4

Reply via email to