Subject: Problems with disklabels and raidframe
To: None <port-sparc64@netbsd.org>
From: John Klos <john@sixgirls.org>
List: port-sparc64
Date: 05/22/2003 01:57:24
Hi,

I'm trying to set up a machine which has six 18 gig SCSI drives. First,
when making disklabels, I ran into a problem which was supposed to be
fixed a while ago - I can't newfs a slice which isn't an integer number of
cylinders.

Big deal - so I fixed that and set up raidframe. However, I'm getting
kernel panics. Depending on how I arrange the ratio of sectors per track
and number of cyliders, it panics either within the first minute or two of
writing to the drives (it gets through booting, though) or after a lot of
disk I/O (like most of the way through cvs'ing src).

Am I missing something simple?

Thanks,
John Klos
Sixgirls Computing Labs

Here's what it looks like:

data fault: pc=104e8fc addr=0
kernel trap 30: data access exception
Stopped in pid 389 (cp) at      VOP_STRATEGY+0x34:      ldx
[%o0 + 0
x58], %o2
db> tra
rf_DispatchKernelIO(2440168, 246d900, 3ecc5ac8, f3, 102c914, 102cb7c) at rf_Disp
atchKernelIO+0x3a8
rf_DiskIOEnqueue(2440168, 246d900, 1, 3, 1be01, 0) at rf_DiskIOEnqueue+0x39c
rf_DiskReadFuncForThreads(2529000, 102c3dc, 244c000, 0, 9, 2493700) at rf_DiskRe
adFuncForThreads+0x280
FireNode(2529000, 3, 1, 25290f0, 0, 1000000) at FireNode+0x9c
FireNodeList(2529000, 5, 0, 1, 2465a70, 1000000) at FireNodeList+0x1f8
PropagateResults(2506f30, 0, 3ecc5ac8, 80, a326000, 2478600) at PropagateResults
+0x5b8
ProcessNode(2506f30, 0, 1, 243e030, 245c200, 0) at ProcessNode+0x194
rf_FinishNode(2506f30, 0, 2506ed0, 0, 0, 1000000) at rf_FinishNode+0x44
rf_NullNodeFunc(2506f30, 102c36c, 3, f3, 102c914, 102cb7c) at rf_NullNodeFunc+0x
1c
FireNode(2506f30, 244c010, 244c010, 2478600, 9, 2493700) at FireNode+0x9c
FireNodeArray(1, 244c010, 244c000, 0, 9, 2493700) at FireNodeArray+0x250
rf_DispatchDAG(244c000, 10646d0, 244ba00, 1064400, 0, 1000000) at rf_DispatchDAG
+0x184
rf_State_ExecuteDAG(2465a00, 10646a8, 1064400, 1, 2465a70, 1000000) at rf_State_
ExecuteDAG+0x1a8
rf_ContinueRaidAccess(2465a00, 1, 3ecc5ac8, 80, a326000, 2478600) at rf_Continue
RaidAccess+0x12c
rf_DoAccess(243e000, 77, 1, 116c0c0, 80, a326000) at rf_DoAccess+0x350
raidstart(243e000, 240b840, 240b840, 0, 2523280, 1151ed8) at raidstart+0x454
raidstrategy(2478600, 1046e34, af, 19, 0, 0) at raidstrategy+0x384
spec_strategy(19b95150, 121bf44, 231ec00, 0, 0, 19b95294) at spec_strategy+0xb8
ufs_strategy(19b95150, 19b95150, 117727c, 0, ffffffffffffffff, 0) at ufs_strateg
y+0x1dc
VOP_STRATEGY(2478600, 116c0c0, 116c0c0, 19b95248, 19b95294, 1eb0) at VOP_STRATEG
Y+0x48
genfs_gop_write(19ba3760, 19b95360, 8, 1, 1217350, 0) at genfs_gop_write+0x464
genfs_putpages(19b956b0, 19438b40, 18bc000, ffffc000, 18fba000, 80080d) at genfs
_putpages+0xd10
ffs_putpages(19b956b0, 19b956b0, 1168f28, 0, 0, 3) at ffs_putpages+0x1c4
VOP_PUTPAGES(19ba3760, 30000, 40000, 1, 2523280, 1151ed8) at VOP_PUTPAGES+0x5c
ffs_write(19b95930, 19b95930, 1167688, 0, 0, 0) at ffs_write+0x834
VOP_WRITE(19ba3760, 19b95b30, 1, 2523280, 0, 0) at VOP_WRITE+0x5c
vn_write(194708c0, 194708f8, 19b95b30, 2523280, 1, 1211c28) at vn_write+0x19c
dofilewrite(1948e880, 4, 194708c0, 40204000, a99e8, 194708f8) at dofilewrite+0xd
c
sys_write(1948e880, 19b95da0, 19b95d90, 11ccaf4, 19b95db0, 19b95f50) at sys_writ
e+0xe8
syscall(19b95ed0, 804, 101a10, 101a14, 0, 0) at syscall+0x634
syscall_setup(4, 40204000, a99e8, 1, 3, 0) at syscall_setup+0xec