Date: Tue, 28 Feb 2012 21:09:06 +0100 From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" <jhb@freebsd.org>, "Roman Divacky" <rdivacky@freebsd.org> Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) Message-ID: <20120228.200906.958.1@DOMY-PC> In-Reply-To: <201202271123.59244.jhb@freebsd.org> References: <20120217.074355.853.1@DOMY-PC> <201202241531.11281.jhb@freebsd.org> <20120225.144148.466.1@DOMY-PC> <201202271123.59244.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----=0D=0AFrom: John Baldwin = <jhb@freebsd.org>=0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" <rdivacky@freebsd.org>=0D=0ADate: = Mon, 27 Feb 2012 11:23:59 -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A=0D=0A> On Saturday, February 25, 2012 9:41:48 am = rank1seeker@gmail.com wrote:=0D=0A> > > Do you only see the "No " = message? Do you see the '/boot.config: /loader'=0D=0A> > > message? (Do = you have RBX_QUIET enabled perhaps? (-q)) Do you get the actual=0D=0A> > = > boot2 prompt at all?=0D=0A> > =0D=0A> > I don't have RBX_QUIET enabled = nor any other flags=0D=0A> > =0D=0A> > Let the pic tell a story:=0D=0A> > = http://www.starforce.biz/stage2boot.jpg=0D=0A> =0D=0A> Ahh, this is = helpful. You do see the '/boot.config: /loader' message.=0D=0A=0D=0AI've = already explained that, numerous times (RE-typing ...)=0D=0AImage is = STILL valid for this latest patch.=0D=0A=0D=0A> > It is also valid for = your latest patch=0D=0A> > =0D=0A> > =0D=0A> > > Hmm, I think the problem = is that 'opts' has garbage instead of being=0D=0A> > > initialized to = zero.=0D=0A> > > =0D=0A> > > Try this (also at = www.freebsd.org/~jhb/patches/boot2_opts.patch):=0D=0A> > =0D=0A> > = =0D=0A> > Patch eliminates possible error, of manual = "intervention"=0D=0A> > That is, a perfectly valid patch being classified = as invalid.=0D=0A> =0D=0A> I have no idea what you mean here. However, = it seems you don't have junk in=0D=0A> your 'opts' variable = anyway.=0D=0A=0D=0AWhat I meant was that I won't manually(edit file) = apply patch, but via 'patch' tool/bin.=0D=0A=0D=0A> Hmm, you could try = adding some more debugging to boot2.c to see exactly what=0D=0A> is = failing. For example, does the first call to 'parse()' fail and = clear=0D=0A> autoboot?=0D=0A=0D=0AI don't do nor understand c = code.=0D=0A=0D=0A> Oh, garbage in cmd[] could be bad. We might read = beyond the end of the file.=0D=0A> Try = http://www.FreeBSD.org/~jhb/patches/boot2_cmd.patch=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A> =0D=0A=0D=0A> ... Ah, 9.0 doesn't have the = =0D=0A> /boot/config support. Try = www.freebsd.org/~jhb/patches/boot2_cmd_9.0.patch=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A=0D=0AHow could it silently loose documented = functionality?=0D=0AIt still doesn't work,=0D=0A=0D=0A=0D=0ADomagoj = Smol=E8i=E6
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120228.200906.958.1>