OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: porting freebsd twe driver?

From: Adam (suckmy-balls.com)
Date: Thu Dec 16 2004 - 16:06:14 CST


On Thu, Dec 16, 2004 at 04:33:33PM -0500, Michael Shalayeff wrote:
> Making, drinking tea and reading an opus magnum from Adam:
> > Is there any reason not to port freebsd's twe driver to replace the
> > existing openbsd driver? The freebsd driver was worked on by 3ware
> > people, and it actually works, including rebuilding arrays, etc.
>
> driver does not do rebuilds.
> you have to go get 3ware's binary to do it.
> so far 3ware has refused to publish needed
> information to implement the management.
>
> in othr words there is no gain in porting (except it's ugly ;)

The driver does send the command to the controller to do a rebuild if
DTWE_SHUTDOWN_NOTIFICATION is defined and an unclean shutdown happens.
It also continues the rebuilding process if it has been started, which
the openbsd driver does not do. In freebsd, I can just yank a failed
drive and put in a new one, and it will rebuild. In openbsd I have to
yank the drive, replace it, go into the 3ware bios, start a rebuild,
then boot off of a knoppix cd and wait for the array to finish
rebuilding, then reboot back into openbsd.

Adam