opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-hackers@freebsd.org 28 February 2012 • 12:23AM -0500

Re: BUG: 9.0 stage 2 boot (/boot/boot)
by John Baldwin

REPLY TO AUTHOR
 
REPLY TO GROUP




On Saturday, February 25, 2012 9:41:48 am rank1seeker@gmai... wrote:
> > Do you only see the "No " message?  Do you see the '/boot.config: /loader'
> > message?  (Do you have RBX_QUIET enabled perhaps? (-q))  Do you get the actual
> > boot2 prompt at all?
>
> I don't have RBX_QUIET enabled nor any other flags
>
> Let the pic tell a story:
> http://www.starforce.biz/stage2boot.jpg

Ahh, this is helpful.  You do see the '/boot.config: /loader' message.

> It is also valid for your latest patch
>
>
> > Hmm, I think the problem is that 'opts' has garbage instead of being
> > initialized to zero.
> >
> > Try this (also at www.freebsd.org/~jhb/patches/boot2_opts.patch):
>
>
> Patch eliminates possible error, of manual "intervention"
> That is, a perfectly valid patch being classified as invalid.

I have no idea what you mean here.  However, it seems you don't have junk in
your 'opts' variable anyway.

Hmm, you could try adding some more debugging to boot2.c to see exactly what
is failing.  For example, does the first call to 'parse()' fail and clear
autoboot?

Oh, garbage in cmd[] could be bad.  We might read beyond the end of the file.
Try http://www.FreeBSD.org/~jhb/patches/boot2_cmd.patch

--
John Baldwin
_______________________________________________
freebsd-hackers@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@free..."

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.