Subject: ccd errors? ccd0: error 5 on component 4
To: None <port-sparc@NetBSD.ORG, thorpej@nas.nasa.go>
From: Marshall Midden <m4@nts.umn.edu>
List: port-sparc
Date: 12/18/1996 10:16:57
ccd0: error 5 on component 4

I'm getting these messages, although the data seems to be collecting ok.  I am
collecting piles of cisco netflow data onto this machine, into this huge
partition.  In an effort to conserve space, after each hour, the program starts
a new file, and it starts a "gzip -9" on the last hours data (reducing the
40-70mb file into a 4-14mb file after 20 minutes of computing).  These messages
mostly seem to appear after the gzip starts.  Very confusing.

I'm using a kernel compiled from sup-current @7am that day:
    NetBSD 1.2B (M4.4) #2: Fri Dec  6 12:32:40 CST 1996

ccdconfig -g
  ccd0 0 0 /dev/sd1g /dev/sd2g /dev/sd3g /dev/sd4g /dev/sd5g /dev/sd8g /dev/sd8h /dev/sd9g /dev/sd10g

(Really 8 disks -- had problem with 4gb sd8 and created two partitions, then
found out I couldn't add, but left it as 2 partitions.)
-----------------------------------------------------------------------------
In an effort to figure out what is wrong, I created this wonderful message,
but finally figured out what is wrong.

	foreach i ( 1 2 3 4 5 8 9 10 )
	  disklabel sd$i | grep 'c:'
	end
Guess what, disk label is in core!  Doing a "df /dev/rsd${i}c" found the
problem.  Disk number 9 decided to die.  So, the component "4" is not a very
useful number.

-----------------------------------------------------------------------------
/var/log/messages, trimmed:
Dec  6 12:44:45 n /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
Dec  6 12:44:45 n /netbsd:     The Regents of the University of California.  All rights reserved.
Dec  6 12:44:45 n /netbsd:
Dec  6 12:44:45 n /netbsd: NetBSD 1.2B (M4.4) #2: Fri Dec  6 12:32:40 CST 1996
Dec  6 12:44:45 n /netbsd:     m4@n.nts.umn.edu:/home/m4/src/netbsd/sys/arch/sparc/compile/M4.4
Dec  6 12:44:45 n /netbsd: real mem = 16367616
Dec  6 12:44:45 n /netbsd: avail mem = 13643776
Dec  6 12:44:46 n /netbsd: using 199 buffers containing 815104 bytes of memory
Dec  6 12:44:46 n /netbsd: bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@3,0
Dec  6 12:44:46 n /netbsd: mainbus0 (root): SUNW,SPARCstation-5
Dec  6 12:44:46 n /netbsd: cpu0 at mainbus0: FMI,MB86904 @ 70 MHz, on-chip FPU
Dec  6 12:44:46 n /netbsd: cpu0: physical 16K instruction (32 b/l), 8K data (16 b/l) cache NOT enabled for 4/0 cpu/mmu combination
Dec  6 12:44:46 n /netbsd: obio0 at mainbus0
Dec  6 12:44:46 n /netbsd: clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)
Dec  6 12:44:46 n /netbsd: timer0 at obio0 addr 0x71d00000 delay constant 33
Dec  6 12:44:47 n /netbsd: auxreg0 at obio0 addr 0x71900000
Dec  6 12:44:47 n /netbsd: zs0 at obio0 addr 0x71100000 pri 12, softpri 6
Dec  6 12:44:47 n /netbsd: zs1 at obio0 addr 0x71000000 pri 12, softpri 6
Dec  6 12:44:47 n /netbsd: [slavioconfig at obio0] addr 0x71800000 not configured
Dec  6 12:44:47 n /netbsd: power0 at obio0 addr 0x71910000
Dec  6 12:44:47 n /netbsd: fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077
Dec  6 12:44:47 n /netbsd: iommu0 at mainbus0 addr 0x10000000: version 4/0, page-size 4096, range 64MB
Dec  6 12:44:47 n /netbsd: sbus0 at iommu0: clock = 23.333 MHz
Dec  6 12:44:47 n /netbsd: dma0 at sbus0 slot 5 offset 0x8400000: rev 2
Dec  6 12:44:47 n /netbsd: esp0 at dma0 slot 0x5 offset 0x8800000 pri 4: ESP200 40Mhz, target 7
Dec  6 12:44:47 n /netbsd: scsibus0 at esp0
Dec  6 12:44:48 n /netbsd: sd3 at scsibus0 targ 0 lun 0: <SEAGATE, ST12550N, 0013> SCSI2 0/direct fixed
Dec  6 12:44:48 n /netbsd: sd3: 2040MB, 2708 cyl, 19 head, 81 sec, 512 bytes/sec
Dec  6 12:44:48 n /netbsd: sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST42100, 7614> SCSI2 0/direct fixed
Dec  6 12:44:48 n /netbsd: sd1: 1825MB, 2574 cyl, 15 head, 96 sec, 512 bytes/sec
Dec  6 12:44:48 n /netbsd: sd2 at scsibus0 targ 2 lun 0: <SEAGATE, ST42100, 7614> SCSI2 0/direct fixed
Dec  6 12:44:48 n /netbsd: sd2: 1825MB, 2574 cyl, 15 head, 96 sec, 512 bytes/sec
Dec  6 12:44:48 n /netbsd: sd0 at scsibus0 targ 3 lun 0: <SEAGATE, ST5660N  SUN0535, 0644> SCSI2 0/direct fixed
Dec  6 12:44:48 n /netbsd: sd0: 520MB, 3002 cyl, 4 head, 88 sec, 512 bytes/sec
Dec  6 12:44:48 n /netbsd: sd4 at scsibus0 targ 4 lun 0: <CDC, 94191-15, 0136> SCSI1 0/direct fixed
Dec  6 12:44:48 n /netbsd: sd4: 633MB, 1632 cyl, 15 head, 52 sec, 512 bytes/sec
Dec  6 12:44:48 n /netbsd: sd5 at scsibus0 targ 5 lun 0: <CDC, 94191-15, 0136> SCSI1 0/direct fixed
Dec  6 12:44:48 n /netbsd: sd5: 633MB, 1632 cyl, 15 head, 52 sec, 512 bytes/sec
Dec  6 12:44:48 n /netbsd: SUNW,bpp at sbus0 slot 5 offset 0xc800000 not configured
Dec  6 12:44:48 n /netbsd: ledma0 at sbus0 slot 5 offset 0x8400010: rev 2
Dec  6 12:44:48 n /netbsd: le0 at ledma0 slot 0x5 offset 0x8c00000 pri 6: address 08:00:20:73:b8:4c
Dec  6 12:44:48 n /netbsd: le0: 8 receive buffers, 2 transmit buffers
Dec  6 12:44:49 n /netbsd: SUNW,CS4231 at sbus0 slot 4 offset 0xc000000 not configured
Dec  6 12:44:49 n /netbsd: power-management at sbus0 slot 4 offset 0xa000000 not configured
Dec  6 12:44:49 n /netbsd: dma1 at sbus0 slot 1 offset 0x81000: rev esc
Dec  6 12:44:49 n /netbsd: esp1 at dma1 slot 0x1 offset 0x80000 pri 5: ESP200 40Mhz, target 7
Dec  6 12:44:49 n /netbsd: scsibus1 at esp1
Dec  6 12:44:49 n /netbsd: sd9 at scsibus1 targ 1 lun 0: <CDC, 94191-15, 0136> SCSI1 0/direct fixed
Dec  6 12:44:49 n /netbsd: sd9: 632MB, 1632 cyl, 15 head, 52 sec, 512 bytes/sec
Dec  6 12:44:49 n /netbsd: sd10 at scsibus1 targ 2 lun 0: <QUANTUM, P105SS 910-10-94, A.1> SCSI1 0/direct fixed
Dec  6 12:44:49 n /netbsd: sd10: 100MB, 1019 cyl, 6 head, 33 sec, 512 bytes/sec
Dec  6 12:44:49 n /netbsd: sd8 at scsibus1 targ 3 lun 0: <SEAGATE, ST15150N, 0020> SCSI2 0/direct fixed
Dec  6 12:44:49 n /netbsd: sd8: 4095MB, 3712 cyl, 21 head, 107 sec, 512 bytes/sec
Dec  6 12:44:49 n /netbsd: st9 at scsibus1 targ 5 lun 0: <SONY, SDT-5000, 3.26> SCSI2 1/sequential removable
Dec  6 12:44:49 n /netbsd: st9: drive empty
Dec  6 12:44:49 n /netbsd: lebuffer at sbus0 slot 1 offset 0x40000 not configured
Dec  6 12:44:49 n /netbsd: cgthree0 at sbus0 slot 3 offset 0x0: SUNW,501-2691, 1024 x 768 (console)
Dec  6 12:44:49 n /netbsd: cgthree0: attached to /dev/fb
Dec  6 12:44:49 n /netbsd: root on sd0a
Dec  6 12:44:51 n lpd[85]: restarted
Dec  6 12:44:55 n init: kernel security level changed from 0 to 1
Dec  6 13:06:11 n /netbsd: zs1b: fifo overrun
Dec  9 17:09:46 n /netbsd: esp1: SCSI bus reset
Dec  9 17:09:46 n /netbsd: esp0: SCSI bus reset
Dec 16 16:16:26 n /netbsd: ccd0: error 5 on component 4
Dec 16 16:16:29 n last message repeated 11 times
Dec 16 16:33:41 n /netbsd: ccd0: error 5 on component 4
Dec 16 16:35:20 n last message repeated 19 times
Dec 16 18:24:35 n /netbsd: ccd0: error 5 on component 4
Dec 16 18:24:39 n last message repeated 11 times
Dec 16 19:47:33 n /netbsd: ccd0: error 5 on component 4
Dec 16 19:47:36 n last message repeated 7 times
Dec 16 20:00:19 n last message repeated 16 times
Dec 16 20:47:42 n /netbsd: ccd0: error 5 on component 4
Dec 16 20:47:45 n last message repeated 7 times
Dec 16 21:00:18 n last message repeated 16 times
Dec 16 21:47:23 n /netbsd: ccd0: error 5 on component 4
Dec 16 21:47:25 n last message repeated 7 times
Dec 16 22:00:19 n last message repeated 16 times
Dec 16 22:49:44 n /netbsd: ccd0: error 5 on component 4
Dec 16 22:49:46 n last message repeated 7 times
Dec 16 23:00:17 n last message repeated 8 times
Dec 16 23:54:05 n /netbsd: ccd0: error 5 on component 4
Dec 17 00:00:18 n last message repeated 23 times
Dec 17 01:00:13 n /netbsd: ccd0: error 5 on component 4
Dec 17 01:00:17 n last message repeated 11 times
Dec 17 02:00:15 n /netbsd: ccd0: error 5 on component 4
Dec 17 02:00:25 n last message repeated 15 times
Dec 17 03:00:15 n /netbsd: ccd0: error 5 on component 4
Dec 17 03:00:20 n last message repeated 15 times
Dec 17 04:00:16 n /netbsd: ccd0: error 5 on component 4
Dec 17 04:00:23 n last message repeated 15 times
Dec 17 05:00:16 n /netbsd: ccd0: error 5 on component 4
Dec 17 05:00:23 n last message repeated 15 times
Dec 17 06:00:16 n /netbsd: ccd0: error 5 on component 4
Dec 17 06:01:03 n last message repeated 15 times
Dec 17 07:00:16 n /netbsd: ccd0: error 5 on component 4
Dec 17 07:00:21 n last message repeated 15 times
Dec 17 08:00:11 n /netbsd: ccd0: error 5 on component 4
Dec 17 08:00:20 n last message repeated 15 times
Dec 17 08:49:04 n /netbsd: ccd0: error 5 on component 4
Dec 17 08:49:06 n last message repeated 7 times
Dec 17 09:00:20 n last message repeated 16 times
Dec 17 09:44:54 n /netbsd: ccd0: error 5 on component 4
Dec 17 09:44:57 n last message repeated 7 times
Dec 17 10:00:18 n last message repeated 16 times
Dec 17 10:20:09 n /netbsd: ccd0: error 5 on component 4
Dec 17 10:20:10 n last message repeated 3 times
Dec 17 10:59:09 n /netbsd: ccd0: error 5 on component 4
Dec 17 11:00:17 n last message repeated 23 times
Dec 17 11:52:39 n /netbsd: ccd0: error 5 on component 4
Dec 17 11:52:41 n last message repeated 7 times
Dec 17 11:53:27 n su: m4 to root on /dev/ttyp1
Dec 17 12:00:08 n /netbsd: ccd0: error 5 on component 4
Dec 17 12:00:17 n last message repeated 15 times
Dec 17 13:00:15 n /netbsd: ccd0: error 5 on component 4
Dec 17 13:00:17 n last message repeated 7 times
Dec 17 14:00:15 n /netbsd: ccd0: error 5 on component 4
Dec 17 14:00:17 n last message repeated 7 times
Dec 17 14:17:36 n last message repeated 12 times
Dec 17 15:28:57 n /netbsd: ccd0: error 5 on component 4
Dec 17 15:29:00 n last message repeated 7 times
Dec 17 15:34:08 n /netbsd: ccd0: error 5 on component 4
Dec 17 15:34:12 n last message repeated 11 times
Dec 17 16:16:04 n /netbsd: ccd0: error 5 on component 4
Dec 17 16:16:08 n last message repeated 11 times
Dec 17 16:35:46 n last message repeated 20 times
Dec 17 19:00:09 n /netbsd: ccd0: error 5 on component 4
Dec 17 19:00:19 n last message repeated 15 times
Dec 17 20:00:09 n /netbsd: ccd0: error 5 on component 4
Dec 17 20:00:19 n last message repeated 15 times
Dec 17 21:00:10 n /netbsd: ccd0: error 5 on component 4
Dec 17 21:00:18 n last message repeated 15 times
Dec 17 22:00:09 n /netbsd: ccd0: error 5 on component 4
Dec 17 22:00:19 n last message repeated 15 times
Dec 17 23:00:09 n /netbsd: ccd0: error 5 on component 4
Dec 17 23:00:18 n last message repeated 15 times
Dec 18 00:00:14 n /netbsd: ccd0: error 5 on component 4
Dec 18 00:00:17 n last message repeated 7 times
Dec 18 01:00:12 n /netbsd: ccd0: error 5 on component 4
Dec 18 01:00:19 n last message repeated 15 times
Dec 18 03:00:16 n /netbsd: ccd0: error 5 on component 4
Dec 18 03:00:21 n last message repeated 15 times
Dec 18 05:00:21 n /netbsd: ccd0: error 5 on component 4
Dec 18 05:00:24 n last message repeated 7 times
Dec 18 06:00:17 n /netbsd: ccd0: error 5 on component 4
Dec 18 06:00:25 n last message repeated 15 times
Dec 18 07:00:17 n /netbsd: ccd0: error 5 on component 4
Dec 18 07:00:21 n last message repeated 15 times
Dec 18 08:00:16 n /netbsd: ccd0: error 5 on component 4
Dec 18 08:00:19 n last message repeated 7 times
Dec 18 08:52:23 n /netbsd: ccd0: error 5 on component 4
Dec 18 09:00:19 n last message repeated 23 times