DragonFly kernel List (threaded) for 2007-02
Re: compiling NATA
:> Thomas E. Spanjaard wrote:
:>> I've just written a wiki page which could serve as reference point
:>> from now on: http://wiki.dragonflybsd.org/index.cgi/HowtoUseNATA .
:> I did all according to this article and rebooted DFBSD box, after
:> loading new kernel with nata on screen was appeared:
:> init: fatal error: segmentation fault
:> below string "Trying to mount root /dev/ad0s2a"
:Strange, could you post a backtrace?
: Thomas E. Spanjaard
That sort of error is virtually guarenteed to be due to the disk
driver not reading the data or reading the wrong data. It is exactly
what happens to me when I mess up a block number translation in a
driver, or if biodone() is called without properly setting b_resid.
My money is on b_resid, b_flags, and/or b_error not being set properly
on I/O completion.