compiling NATA

Matthew Dillon dillon at
Fri Feb 23 11:04:58 PST 2007

:Rodion wrote:
:> Thomas E. Spanjaard wrote:
:>> I've just written a wiki page which could serve as reference point 
:>> from now on: .
:> 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
:         tgen at

    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.

					Matthew Dillon 
					<dillon at>

More information about the Kernel mailing list