tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problems with raidframe under NetBSD-5.1/i386
On Thu, 6 Jan 2011 09:42:41 -0800
buhrow%lothlorien.nfbcal.org@localhost (Brian Buhrow) wrote:
> Hello. I have a box running NetBSD-5.1/i386 with kernel
> sources from 1/4/2011 which refuses to reconstruct to what looks like
> a perfectly good disk. The errormessages are:
>
> Command:
> root#raidctl -R /dev/sd10a raid2
>
> Error messages from the kernel:
> raid2: initiating in-place reconstruction on column 4
> raid2: Recon write failed!
> raid2: reconstruction failed.
Is there anything else in /var/log/messsages about this? Did the
component fail before with write errors?
> So, I realize this isn't a lot to go on, so I've been trying to build
> a kernel with some debugging in it.
>
> Configured a kernel with:
> options DEBUG
> options RF_DEBUG_RECON
>
> But the kernel won't build because the Dprintf statements that get
> turned on in the rf_reconstruct.c file when the second option is
> enabled causes gcc to emit warnings.
Ug. Those should probably be fixed, although I don't suspect many
people use them....
> So, rather than fixing the warnings, and potentially breaking
> something else, my question is, how can I turn off -werror in the
> build process for just this kernel? Looking in the generated
> Makefile didn't provide enlightenment and I don't really want to
> disable this option for my entire tree. But, I imagine, this is an
> easy and often-wanted thing to do. -thanks
> -Brian
Later...
Greg Oster
Home |
Main Index |
Thread Index |
Old Index