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

panic configuring raid 1



Hello,

I am trying to configure mirroring disk with my slimed down kernel but
am getting panic at the very early stage of initial configuration.
I have not succeeded in "raidctl -i" with the kernel as yet.

On the other hand, with the kernel generated from GENERIC with options
raid uncommented works fine. I may have stripped off necessary code for
raidframe or added code incompatible with it at runtime. But I cannot
find the real cause of panics so far.

Since the latter is more than 3.2mb but the former is less than
1.6mb (although unworkable now), I want to know my real error. Will
you help me ?

I attached raid.2 file I use to configure raid2d (this is likely to be
raid2c, as opposed to man page), the log of panic-reboot-panic
sequence. Sorry for this long message. As attaching kernel config file
makes this too long, I did not attached it.

One more question. Is FFS_SOFTUPDATES compatible with raidframe, and makes
sense on my mirroring configuration ?


horio shoichi


# cat -n raid.2
     1  # experimental ? raid --- two units with mirroring
     2  START array
     3  1 2 0
     4  START disks
     5  /dev/wd0f
     6  /dev/wd1f
     7  # START spare
     8  START layout
     9  # sectPerSU SUsPerParityUnit SUsPerReconUnit RAID_level
    10  32 1 1 1
    11  START queue
    12  fifo 1
# raidctl -i raid2
Initiating re-wrpanic: softdep_disk_io_initiation: read
Stopped at      _Debugger+0x4:  leave
ddb> boot sync
syncing disks... done
WARNING: not updating battery clock
rebooting...
[ preserving 127184 bytes of bsd symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-1999 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 2.6 (RAID) #0: Fri Dec 10 20:07:51 JST 1999
    root_(_at_)_hotokenoza:/sys/arch/i386/compile/RAID
cpu0: Intel Pentium II (Celeron) ("GenuineIntel" 686-class, 128KB L2 cache) 301 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
BIOS mem  = 654336 conventional, 66060288 extended
real mem  = 66715648
avail mem = 59850752
using 840 buffers containing 3440640 bytes of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(2b) BIOS, date 10/20/98
bios0: diskinfo 0xe038d00c cksumlen 64 memmap 0xe038d0a8 apminfo 0xe038d12c
apm0 at bios0: Power Management spec V1.1
apm0: AC on, no battery
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82443BX PCI-AGP (PAC)" rev 0x03
ppb0 at pci0 dev 1 function 0 "Intel 82443BX AGP (PAC)" rev 0x03
pci1 at ppb0 bus 1
"SIS 6326 AGP Video" rev 0x92 at pci1 dev 0 function 0 not configured
pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE (PIIX4)" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <ST34311A>
wd0: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd0: 16-sector PIO, LBA, 4126MB, 8944 cyl, 15 head, 63 sec, 8452080 sectors
pciide0: channel 0 interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
wd1 at pciide0 channel 1 drive 0: <ST34311A>
wd1: can use 32-bit, PIO mode 4, DMA mode 2, Ultra-DMA mode 2
wd1: 16-sector PIO, LBA, 4126MB, 8944 cyl, 15 head, 63 sec, 8452080 sectors
pciide0: channel 1 interrupting at irq 15
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
"Intel 82371AB USB (PIIX4)" rev 0x01 at pci0 dev 7 function 2 not configured
"Intel 82371AB Power Management (PIIX4)" rev 0x02 at pci0 dev 7 function 3 not configured
fxp0 at pci0 dev 18 function 0 "Intel 82557" rev 0x05: irq 11, address 00:10:dc:89:42:ef
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
"Ensoniq AudioPCI97" rev 0x06 at pci0 dev 20 function 0 not configured
isa0 at pcib0
isadma0 at isa0
pcppi0 at isa0 port 0x61
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask c040 netmask c840 ttymask c840
Kernelized RAIDframe activated
dkcsum: wd0 matched BIOS disk 80
dkcsum: wd1 matched BIOS disk 81
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Enter pathname of shell or RETURN for sh: 
# cd home/horio
# raidctl -c raid.2 raid2
RAIDFRAME: protectedSectors is 64
raid2: Component /dev/wd0f being configured at row: 0 col: 0
	Row: 0 Column: 0 Num Rows: 1 Num Columns: 2
	Version: 1 Serial Number: 32345 Mod Counter: 62
	Clean: 0 Status: 0
/dev/wd0f is not clean!
raid2: Component /dev/wd1f being configured at row: 0 col: 1
	Row: 0 Column: 1 Num Rows: 1 Num Columns: 2
	Version: 1 Serial Number: 32345 Mod Counter: 62
	Clean: 0 Status: 0
/dev/wd1f is not clean!
RAIDFRAME: Configure (RAID Level 1): total number of sectors is 7604320 (3713 MB)
RAIDFRAME(RAID Level 1): Using 6 floating recon bufs with no head sep limit
# raidctl -g /dev/wd0f raid2
Row: 0
Column: 0
Component label for /dev/wd0f:
Version: 1
Serial Number: 32345
Mod counter: 65
Row: 0
Column: 0
Num Rows: 1
Num Columns: 2
Clean: 0
Status: optimal
# raidctl -g /dev/wd1f raid2
Row: 0
Column: 1
Component label for /dev/wd1f:
Version: 1
Serial Number: 32345
Mod counter: 67
Row: 0
Column: 1
Num Rows: 1
Num Columns: 2
Clean: 0
Status: optimal
# newfs /dev/rraid2d
panic: softdep_disk_io_initiation: read
Stopped at      _Debugger+0x4:  leave
ddb> 



Visit your host, monkey.org