Subject: newbie with RAIDFRAME troubles
To: Netbsd-Help <netbsd-help@netbsd.org>
From: bjorn <plonnie@home.nl>
List: netbsd-help
Date: 07/25/2001 17:35:36
Hi,
I started out it would be nice to configure a raid level 0 device but I'm
having difficulties in configuring a RAIDFRAME properly. I hope sopmene can
help me I dont know exactly what information to send so here is the
output from dmesg, a piece of /var/log/messages en the output from
raidctl -s raid0

------------------------------------------
#dmesg
NetBSD 1.5.1 (GONZKERN) #1: Sun Jul 22 14:31:44 CEST 2001
    root@gonzo.plonnie.nl:/usr/src/sys/arch/i386/compile/GONZKERN
cpu0: Intel Celeron (Mendocino) (686-class), 334.13 MHz
total memory = 447 MB
avail memory = 408 MB
using 5754 buffers containing 23016 KB of memory
BIOS32 rev. 0 found at 0xfdb60
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Silicon Integrated System product 0x5600 (rev. 0x11)
pciide0 at pci0 dev 0 function 1: Silicon Integrated System 5597/5598 IDE
controller (rev. 0xd0)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
atapibus0 at pciide0 channel 0
cd0 at atapibus0 drive 1: <ATAPI-CD ROM-DRIVE-50MAX, UM1102  Firmware, VER
50L> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: primary channel interrupting at irq 14
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
pciide0: secondary channel wired to compatibility mode
wd0 at pciide0 channel 1 drive 0: <Maxtor 90432D2>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 4121 MB, 8374 cyl, 16 head, 63 sec, 512 bytes/sect x 8440992 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data
transfers)
pcib0 at pci0 dev 1 function 0
pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0xb1)
Silicon Integrated System 600 Power Mngmt Controller (undefined subclass
0x00) at pci0 dev 1 function 1 not configured
ppb0 at pci0 dev 2 function 0: Silicon Integrated System 86C201 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Silicon Integrated System 6326 AGP VGA (rev.
0x0b)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
siop0 at pci0 dev 9 function 0: Symbios Logic 53c875 (ultra-wide scsi)
siop0: using on-board RAM
siop0: interrupting at irq 9
scsibus0 at siop0: 16 targets, 8 luns per target
de0 at pci0 dev 11 function 0
de0: interrupting at irq 10
de0: 21041 [10Mb/s] pass 2.1
de0: address 00:00:c5:5f:cf:46
ne2 at pci0 dev 13 function 0: RealTek 8029 Ethernet
ne2: 10base2, 10baseT, 10baseT-FDX, auto, default [0x00 0x30] auto
ne2: Ethernet address 00:20:18:3c:14:5c
ne2: interrupting at irq 11
isa0 at pcib0
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: read port 0x203
isapnp0: <CMI8330/C3D Audio Adapter, @@@0001, , > port 0x530/8,0x388/8 irq 5
drq 0 not configured
isapnp0: <CMI8330/C3D Audio Adapter, @H@0001, , > port 0x300/2 irq 5 not
configured
isapnp0: <CMI8330/C3D Audio Adapter, @P@0001, , > port 0x200/8 not
configured
sb1 at isapnp0 port 0x220/16 irq 5 drq 1,5
sb1: CMI8330/C3D Audio Adapter : dsp v4.13
audio0 at sb1: full duplex, mmap, independent
midi1 at sb1: SB MIDI UART
opl0 at sb1: model OPL3
midi2 at opl0: SB Yamaha OPL3
biomask e345 netmask ef45 ttymask ffc7
de0: enabling 10baseT port
scsibus0: waiting 2 seconds for devices to settle...
siop0: target 0 using 8bit transfers
siop0: target 0 now synchronous at 20.0Mhz, offset 16
siop0: target 0 using tagged queuing
sd0 at scsibus0 target 0 lun 0: <IBM OEM, DCHS09U, 6363> SCSI2 0/direct
fixed
siop0: target 0 using 16bit transfers
siop0: target 0 now synchronous at 20.0Mhz, offset 15
sd0: 8689 MB, 6082 cyl, 18 head, 162 sec, 512 bytes/sect x 17796077 sectors
siop0: target 2 using 8bit transfers
siop0: target 2 now synchronous at 20.0Mhz, offset 16
siop0: target 2 using tagged queuing
sd1 at scsibus0 target 2 lun 0: <IBM OEM, DCHS09U, 6363> SCSI2 0/direct
fixed
siop0: target 2 using 16bit transfers
siop0: target 2 now synchronous at 20.0Mhz, offset 15
sd1: 8689 MB, 6082 cyl, 18 head, 162 sec, 512 bytes/sect x 17796077 sectors
siop0: target 8 using tagged queuing
sd2 at scsibus0 target 8 lun 0: <SEAGATE, ST39173W, 6244> SCSI2 0/direct
fixed
siop0: target 8 using 16bit transfers
siop0: target 8 now synchronous at 20.0Mhz, offset 15
sd2: 8683 MB, 7501 cyl, 10 head, 237 sec, 512 bytes/sect x 17783240 sectors
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
RAIDFRAME: protectedSectors is 64
raid0: Too many different mod counters!
raid0: Component /dev/sd0e being configured at row: 0 col: 0
         Row: 0 Column: 0 Num Rows: 1 Num Columns: 3
         Version: 2 Serial Number: 123456 Mod Counter: 113
         Clean: No Status: 0
/dev/sd0e is not clean!
raid0: Component /dev/sd1e being configured at row: 0 col: 1
         Row: 0 Column: 1 Num Rows: 1 Num Columns: 3
         Version: 2 Serial Number: 123456 Mod Counter: 112
         Clean: No Status: 0
/dev/sd1e has a different modfication count: 113 112
/dev/sd1e is not clean!
raid0: Component /dev/sd2e being configured at row: 0 col: 2
         Row: 0 Column: 2 Num Rows: 1 Num Columns: 3
         Version: 2 Serial Number: 123456 Mod Counter: 104
         Clean: No Status: 0
/dev/sd2e has a different modfication count: 113 104
/dev/sd2e is not clean!
raid0: There were fatal errors
Closing vnode for row: 0 col: 0
Closing vnode for row: 0 col: 1
Closing vnode for row: 0 col: 2
RAIDFRAME: failed rf_ConfigureDisks with 22
Closing vnode for row: 0 col: 0
vnode was NULL
Closing vnode for row: 0 col: 1
vnode was NULL
Closing vnode for row: 0 col: 2
vnode was NULL
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = enabled
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
------------------------------------------
#piece of the messages
<<<<<<<
Jul 25 17:21:42 gonzo /netbsd: raid0: Component /dev/sd2e being configured
at row: 0 col: 2
Jul 25 17:21:42 gonzo /netbsd:          Row: 0 Column: 2 Num Rows: 1 Num
Columns: 3
Jul 25 17:21:42 gonzo /netbsd:          Version: 2 Serial Number: 123456 Mod
Counter: 104
Jul 25 17:21:42 gonzo /netbsd:          Clean: No Status: 0
Jul 25 17:21:42 gonzo /netbsd: /dev/sd2e has a different modfication count:
113 104
Jul 25 17:21:42 gonzo /netbsd: /dev/sd2e is not clean!
Jul 25 17:21:42 gonzo /netbsd: raid0: There were fatal errors
Jul 25 17:21:42 gonzo /netbsd: raid0: Fatal errors being ignored.
Jul 25 17:21:42 gonzo /netbsd: RAIDFRAME: Configure (RAID Level 0): total
number of sectors is 53348736 (26049 MB)
Jul 25 17:21:42 gonzo /netbsd: RAIDFRAME(RAID Level 0): Using 9 floating
recon bufs with no head sep limit
Jul 25 17:43:32 gonzo /netbsd: sd1(siop0:2:0): command timeout
Jul 25 17:43:32 gonzo /netbsd: siop0: scsi bus reset
Jul 25 17:43:32 gonzo /netbsd: cmd 0xc0e10180 (target 2:0) in reset list
Jul 25 17:43:32 gonzo /netbsd: cmd 0xc0e10000 (target 2:0) in reset list
Jul 25 17:43:32 gonzo /netbsd: cmd 0xc0e10180 (status 2) about to be
processed
Jul 25 17:43:32 gonzo /netbsd: cmd 0xc0e10000 (status 2) about to be
processed
Jul 25 17:43:32 gonzo /netbsd: siop0: target 2 using 16bit transfers
Jul 25 17:43:32 gonzo /netbsd: siop0: target 2 now synchronous at 20.0Mhz,
offset 15
Jul 25 17:44:32 gonzo /netbsd: sd1(siop0:2:0): command timeout
Jul 25 17:44:32 gonzo /netbsd: siop0: scsi bus reset
Jul 25 17:44:32 gonzo /netbsd: cmd 0xc0ea2240 (target 0:0) in reset list
Jul 25 17:44:32 gonzo /netbsd: cmd 0xc0e102c0 (target 2:0) in reset list
Jul 25 17:44:32 gonzo /netbsd: cmd 0xc0e10040 (target 2:0) in reset list
Jul 25 17:44:32 gonzo /netbsd: cmd 0xc0ea2240 (status 2) about to be
processed
Jul 25 17:44:32 gonzo /netbsd: cmd 0xc0e102c0 (status 2) about to be
processed
Jul 25 17:44:32 gonzo /netbsd: cmd 0xc0e10040 (status 2) about to be
processed
>>>>>>>>>

------------------------------------------
#raidctl -s raid0
Components:
           /dev/sd0e: optimal
           /dev/sd1e: failed
           /dev/sd2e: optimal
No spares.
Component label for /dev/sd0e:
   Row: 0 Column: 0 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 123456 Mod Counter: 123
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 0  blocksize: 512 numBlocks: 17782912
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
/dev/sd1e status is: failed.  Skipping label.
Component label for /dev/sd2e:
   Row: 0 Column: 2 Num Rows: 1 Num Columns: 3
   Version: 2 Serial Number: 123456 Mod Counter: 123
   Clean: No Status: 0
   sectPerSU: 64 SUsPerPU: 1 SUsPerRU: 1
   RAID Level: 0  blocksize: 512 numBlocks: 17782912
   Autoconfig: No
   Root partition: No
   Last configured as: raid0
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
------------------------------------------
however when I first did raidctl -C /etc/raid0.conf raid0 all /dev/ds?e
where optimal

hope anyone can help

Bjørn Schothuis