tech-kern archive

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

re: Strange problem with raidframe under NetBSD-5.1



> looks like netbsd-5 is missing this change:
> 
> revision 1.284
> date: 2011/03/18 23:53:26;  author: mrg;  state: Exp;  lines: +27 -11
> apply the fix_label hack to partitionSizeHi as well.  it's needed there.
> to do so, move the call to fix the label inside of rf_reasonable_label()
> itself, so we can fix the partition sizes before calling
> rf_component_label_partitionsize() itself.
> 
> fixes the failure mode where i had garbage not in numBlocksHi but in
> partitionSizeHi, and the check against rf_component_label_partitionsize()
> would fail and my raid would not auto-configure.

i just sent a pullup request for this.  sorry i forgot last year :-(


.mrg.


Home | Main Index | Thread Index | Old Index