Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Aug 1998 17:46:39 +0300
From:      Vallo Kallaste <vallo@matti.ee>
To:        freebsd-questions@FreeBSD.ORG
Cc:        se@FreeBSD.ORG
Subject:   Crash: ncr0: SCSI phase error fixup:
Message-ID:  <19980808174639.27232@matti.ee>

next in thread | raw e-mail | index | archive | help
Hello !

I got a fourth crash on our cache server with same error message. I have no 
clue what I must do to avoid this scene. For first crash I got replies which 
suggest control scsi termination and cable quality. I have controlled 
everything and changed cable... but it happens again.

Crash is related to scsi subsystem:

Aug  8 16:13:12 vanaema /kernel: ncr0: SCSI phase error fixup: CCB already 
dequeued (0xf100b800)
Aug  8 16:13:29 vanaema /kernel: ncr0: timeout ccb=f1041800 (skip)
Aug  8 16:13:29 vanaema /kernel: ncr0: timeout ccb=f1041c00 (skip)
Aug  8 16:13:29 vanaema /kernel: ncr0: timeout ccb=f1037800 (skip)
Aug  8 16:13:29 vanaema /kernel: ncr0: timeout ccb=f100fc00 (skip)
Aug  8 16:13:29 vanaema /kernel: ncr0: timeout ccb=f100b400 (skip)
Aug  8 16:13:30 vanaema /kernel: ncr0: timeout ccb=f1041400 (skip)
Aug  8 16:13:30 vanaema /kernel: ncr0: timeout ccb=f100b000 (skip)
Aug  8 16:13:30 vanaema /kernel: ncr0: timeout ccb=f100b800 (skip)

I use ccd on this particular machine. After working two or three weeks 
flawlessy, machine crashes with same error messages. Scsi hard disks lights 
are on and I can't access ccd stripe set. Machine works, because system 
partitions are on the other disk, but squid are dead. I can't live with that, 
machine is dedicated to www cache. Scsi controller type is ASUS PCI-SC875, 
scsi BIOS version 4.03.

Dmesg:

Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.5-RELEASE #0: Fri Jul 10 14:17:14 EEST 1998
    root@vanaema.matti.ee:/usr/src/sys/compile/VN_ncr
CPU: Pentium Pro (233.90-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping=4
  Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 100663296 (98304K bytes)
avail memory = 96468992 (94208K bytes)
Probing for devices on PCI bus 0:
chip0 <generic PCI bridge (vendor=8086 device=7180 subclass=0)> rev 3 on pci0:0
chip1 <generic PCI bridge (vendor=8086 device=7181 subclass=4)> rev 3 on pci0:1
chip2 <generic PCI bridge (vendor=8086 device=7110 subclass=1)> rev 1 on 
pci0:7:
0
pci0:7:1: Intel Corporation, device=0x7111, class=storage (ide) [no driver 
assig
ned]
pci0:7:2: Intel Corporation, device=0x7112, class=0x0c, subclass=0x03 int d 
irq 
11 [no driver assigned]
chip3 <generic PCI bridge (vendor=8086 device=7113 subclass=128)> rev 1 on 
pci0:
7:3
ncr0 <ncr 53c875 fast20 wide scsi> rev 3 int a irq 10 on pci0:10
ncr0 waiting for scsi devices to settle
(ncr0:5:0): "QUANTUM VIKING 4.5 WSE 880R" type 0 fixed SCSI 2
sd0(ncr0:5:0): Direct-Access 
sd0(ncr0:5:0): WIDE SCSI (16 bit) enabled
sd0(ncr0:5:0): 40.0 MB/s (50 ns, offset 16)
4345MB (8899737 512 byte sectors)
(ncr0:6:0): "QUANTUM VIKING 4.5 WSE 880R" type 0 fixed SCSI 2
sd1(ncr0:6:0): Direct-Access 
sd1(ncr0:6:0): WIDE SCSI (16 bit) enabled
sd1(ncr0:6:0): 40.0 MB/s (50 ns, offset 16)
4345MB (8899737 512 byte sectors)
de0 <Digital 21041 Ethernet> rev 33 int a irq 9 on pci0:11
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:80:c8:68:fd:1f
vga0 <VGA-compatible display device> rev 154 on pci0:12
Probing for devices on PCI bus 1:
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
sio2 not found at 0x3e8
sio3 not found at 0x2e8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80048004 on isa
wdc0: unit 0 (wd0): <FUJITSU MPB3032ATU>, 32-bit, multi-block-4
wd0: 3093MB (6335280 sectors), 6704 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM FIREBALL1080A>, 32-bit, multi-block-4
wd1: 1039MB (2128896 sectors), 2112 cyls, 16 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
de0: enabling 10baseT port
ccd0-1: Concatenated disk drivers

Kernel config:

machine         "i386"
cpu             "I686_CPU"
ident           VN
maxusers        80
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS                     #Network Filesystem
#options        NFS_NOSERVER            #Disable the NFS-server code.
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=5            #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
#options                FAILSAFE                #Be conservative
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         COMPAT_LINUX
options         CLK_CALIBRATION_LOOP
options         "CLK_USE_I8254_CALIBRATION"
options         NSWAPDEV=2

config          kernel  root on wd0

# Symbios SCSI

controller      ncr0
controller      scbus0
device          sd0 at scbus?
device          cd0 at scbus?
options         SCSI_NCR_DFLT_TAGS=8


controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0

controller      wdc0    at isa? port "IO_WD1" bio irq 14 flags 0x80048004 
vector wdintr
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0x80048004 
vector wdintr
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          wcd0    #IDE CD-ROM

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
options         MAXCONS=16              # number of virtual consoles

# Mandatory, don't remove
device          npx0    at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
device          sio2    at isa? port "IO_COM3" tty irq 5 vector siointr
device          sio3    at isa? port "IO_COM4" tty irq 9 vector siointr

device          lpt0    at isa? port? tty irq 7 vector lptintr
#device         lpt1    at isa? port? tty

device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector 
psmintr

device de0
#device fxp0
#device vx0

pseudo-device   loop
pseudo-device   ether
pseudo-device   log
pseudo-device   sl      1
# ijppp uses tun instead of ppp device
pseudo-device   ppp     6
pseudo-device   vn      1
pseudo-device   tun     1
pseudo-device   pty     16
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   bpfilter        4
pseudo-device   snp     3       #Snoop device - to look at pty/vty/etc..
pseudo-device   ccd     2       #Concatenated disk driver

options         KTRACE          #kernel tracing

df -k:

Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       31775    16742    12491    57%    /
/dev/wd0s1f    496367   417274    39384    91%    /usr
/dev/wd0s1e     29727     4457    22892    16%    /var
/dev/wd0s1g   1268719   997291   169931    85%    /var/news
/dev/ccd0c    8631019  7249182   691356    91%    /ccd
procfs              4        4        0   100%    /proc
/dev/wd0s1h    993679   525625   388560    57%    /store
/dev/wd1s1e    992751   767025   146306    84%    /store2

ccd.conf:

ccd0            4096      0       /dev/sd0c /dev/sd1c



Vallo Kallaste
vallo@matti.ee

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980808174639.27232>