Subject: Re: RAIDframe questions
To: NetBSD Current Users <current-users@NetBSD.org>
From: Chris Ross <cross+netbsd@distal.com>
List: current-users
Date: 09/20/2007 10:46:54
On Sep 19, 2007, at 22:01, Chris Ross wrote:
>   But no, I do care [about being able to get crash dumps], so I'll  
> set up
> the b partitions on the component disks.

   Okay.  So I got the 'b' partitions set up on the component disks.   
I didn't
do what needs to be done to tell the kernel where to crash-dump, though,
it appears.  More kernel config to be done, right?

   Beyond that, which is at the end of the below, the first "sync"  
from ddb
doesn't do what I'd expect.  Perhaps this is a port-sparc64 question,  
but...

NetBSD/sparc64 (host.distal.com) (console)

login: [halt sent]
cpu0: kdb breakpoint at 1297e20
Stopped at      netbsd:cpu_Debugger+0x4:        nop
db> sync
syncing disks... done
unmounting file systems...panic: switch wchan
cpu0: kdb breakpoint at 1297e20
Stopped at      netbsd:cpu_Debugger+0x4:        nop
db> sync
Frame pointer is at 0xe003e431
Call traceback:
128def0(ffffffffffffffff, d, 0, 1848400, e003efa0, 0, e003e501) fp =  
e003e501
10a0d70(100, 0, 1851494, 1851400, 1851490, 185146c, e003e5c1) fp =  
e003e5c1
10a1240(e003f058, 0, 1, e003ef38, 73, 73000000, e003e681) fp = e003e681
10a16b4(180c128, 1320588, 0, 0, e003f148, b, e003e7d1) fp = e003e7d1
10a4cdc(1297e28, 0, 15ad9c00, 140dfc000, e003fb9800, 0, e003e8c1) fp  
= e003e8c1
12991a0(0, 0, 0, 0, 1819c98, 1000000, e003e991) fp = e003e991
1296c98(101, e003f910, 0, 400, e003fac8, 188cc00, e003eef1) fp =  
e003eef1
1008b34(e003f910, 101, 1297e20, 1d0006, 0, 1, e003f061) fp = e003f061
11e3a6c(140dfc0, e003fb98, 10c89ad8, 0, 10edb20, a, e003f241) fp =  
e003f241
1009fa4(18055aa, 104, 3, 10, 180c000, 1885f00, e003f311) fp = e003f311
11d01a8(18852a0, 0, 100000, 1, 1, 4, e003f3c1) fp = e003f3c1
11d0698(18852a0, 0, e0017ed0, 1008a229, 128ad00, 8, e003f491) fp =  
e003f491
117d87c(0, 4, 13e1250, 0, 0, 4ffffffff, e003f551) fp = e003f551
11aa448(1882a80, 0, 1881970, 13e1ea0, 0, 1885c00, e003f611) fp =  
e003f611
10094e4(0, 11a9f80, ffffffffffffe000, 1fff, ffc08000, 1009424,  
e003f701) fp = e003f701
100030(f0067634, 0, 10fc00, fff83d00, 10eaf0, fff83e00, fff83691) fp  
= fff83691

dump to dev 25,1 not possible
rebooting

   So, does anyone know why the first "sync" caused a panic while  
trying to
unmount file systems?  Any suggestions on tracking that?

   Thanks.....

                                 - Chris