From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 28 20:09:09 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26BB210656D0; Tue, 28 Feb 2012 20:09:09 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5D52E8FC0C; Tue, 28 Feb 2012 20:09:08 +0000 (UTC) Received: by eekd17 with SMTP id d17so2042130eek.13 for ; Tue, 28 Feb 2012 12:09:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=1js5GPqOD8Ros3W1MDi7+mxpQYjYcgzeBcawdD9Qoj8=; b=ohVJIzClmIQFKkanXM5n3EspGALMoFJ/nO2VUtZH6E2e5QUyk4rCQbcL8MB8tHat6G bIXSr58fcEd6AtUJ6syfJWH0XBh3hIhaU/sdVYWSiM7MfFKGFonfvfzGfSVb+3xngl3H JfJp6k9hGdDhEzdNpB4R5fVme9cQ5EnFYqYyI= Received: by 10.14.27.142 with SMTP id e14mr9119237eea.70.1330459746974; Tue, 28 Feb 2012 12:09:06 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id u9sm73833445eem.11.2012.02.28.12.08.55 (version=SSLv3 cipher=OTHER); Tue, 28 Feb 2012 12:09:05 -0800 (PST) Message-ID: <20120228.200906.958.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" Date: Tue, 28 Feb 2012 21:09:06 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable 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> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 20:09:09 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" =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