From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 2 19:58:16 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6C8C1065670; Fri, 2 Mar 2012 19:58:16 +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 B13418FC14; Fri, 2 Mar 2012 19:58:15 +0000 (UTC) Received: by eekd17 with SMTP id d17so769396eek.13 for ; Fri, 02 Mar 2012 11:58:14 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.213.108.147 as permitted sender) client-ip=10.213.108.147; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.213.108.147 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.213.108.147]) by 10.213.108.147 with SMTP id f19mr33784ebp.162.1330718294932 (num_hops = 1); Fri, 02 Mar 2012 11:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=09rlflsSSW7EaOUvZ28OjJHSd+4KoTeeT+Z1ztjDcP0=; b=adL/zYSRfm1N+baJ2GF/wjXeU73IRujPIj4Hg8CTIiaUOazOvFYnYNNX+xROI7TZRf 4yUzsY4tvwe6rNhpH3ug+xon+waru/2ZnJH+BF0DNazrisz+1zcnLbjsE6NDmxD5dgqk DVgXiIj/cEMD0ThQimhJcDmM5FGnMl3BgufZN8sJfZ1uCC/Zh55cjdFm296NahIhLpPC dAD7PtljAYK4toOhNnrUO6G2wvThTbdCxTp+Kl3y7qgBnlPmguhIetLXboBEcxIPwvP0 +VsCUaVsO8LhuCP9CJ12tUv3yk5ca6CpmLb+u/FEjWhjGe80jw3gQR/HV2H0Yq5BPGU1 Tp7g== Received: by 10.213.108.147 with SMTP id f19mr28301ebp.162.1330718294769; Fri, 02 Mar 2012 11:58:14 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id r5sm24046953eef.6.2012.03.02.11.58.07 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 11:58:13 -0800 (PST) Message-ID: <20120302.195816.794.5@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Fri, 02 Mar 2012 20:58:16 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203021446.59663.jhb@freebsd.org> References: <20120302.151703.536.2@DOMY-PC> <201203021224.24735.jhb@freebsd.org> <20120302.184637.320.4@DOMY-PC> <201203021446.59663.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: Fri, 02 Mar 2012 19:58:16 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0ADate: Fri, 2 Mar 2012 14:46:59 = -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A> = On Friday, March 02, 2012 1:46:37 pm rank1seeker@gmail.com wrote:=0D=0A> = > ----- Original Message -----=0D=0A> > From: John Baldwin = =0D=0A> > To: rank1seeker@gmail.com=0D=0A> > Cc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0A> > Date: Fri, 2 Mar 2012 12:24:24 = -0500=0D=0A> > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A> > = =0D=0A> > > On Friday, March 02, 2012 10:17:03 am rank1seeker@gmail.com = wrote:=0D=0A> > > > ----- Original Message -----=0D=0A> > > > From: John = Baldwin =0D=0A> > > > To: rank1seeker@gmail.com=0D=0A> > = > > Cc: hackers@freebsd.org, "Roman Divacky" , = Andriy Gapon =0D=0A> > > > Date: Thu, 1 Mar 2012 = 16:14:43 -0500=0D=0A> > > > Subject: Re: BUG: 9.0 stage 2 boot = (/boot/boot)=0D=0A> > > > =0D=0A> > > > =0D=0A> > > > > > However, avg@ = might have found the actual cause of the bug. And Roman did=0D=0A> > > > = > > indeed break this earlier. Try the updated boot2_test.patch = again.=0D=0A> > > > > =0D=0A> > > > > You should still try this.=0D=0A> > = > > > =0D=0A> > > > > -- =0D=0A> > > > > John Baldwin=0D=0A> > > > > = =0D=0A> > > > =0D=0A> > > > =0D=0A> > > > Using patch: MD5 = (boot2_test.patch) =3D 72412f9b47b114302268561f12c1b46b=0D=0A> > > > = =0D=0A> > > > http://www.starforce.biz/stage2boot_1.jpg=0D=0A> > > > = =0D=0A> > > > This is the worst patch as even RE-typing doesn't = work.=0D=0A> > > > That is, it is completely unable to boot.=0D=0A> > > > = =0D=0A> > > > Throw me another patch!=0D=0A> > > =0D=0A> > > Ah, was = using sizeof() on the wrong thing, and I have a fix for the = garbage=0D=0A> > > you saw for kname as well. Patch is updated at the = normal URL.=0D=0A> > > =0D=0A> > > > > Please don't treat John this way. = He has put in a lot of time for=0D=0A> > > > > you, and many others, and = is one of THE experts.=0D=0A> > > > > =0D=0A> > > > > Chris=0D=0A> > > > = =0D=0A> > > > =0D=0A> > > > He didn't got a bad treatment, nor any side = is angry.=0D=0A> > > > Relax! ;)=0D=0A> > > =0D=0A> > > Actually, you've = been rather rude for the entire thread, I am just doing my=0D=0A> > > = best to ignore it in the interest of getting the bug fixed.=0D=0A> > > = =0D=0A> > > -- =0D=0A> > > John Baldwin=0D=0A> > > =0D=0A> > =0D=0A> > = I'm sorry if you think so, especially part where I am rude through the = entire thread. That I can hardly believe.=0D=0A> > I am also actively = testing and am persistant in solving issue.=0D=0A> > Or is problem in my = perception?=0D=0A> =0D=0A> I think it may just be that your language = comes off as being a bit demanding,=0D=0A> plus a fair bit of all caps, = etc. If English is not your native language=0D=0A> then that may also be = a factor. If you are not intending to be rude then that=0D=0A> is plenty = good enough for me. :)=0D=0A> =0D=0A> > Anyway, yours latest patch has a = same md5 hash as a previous one and also built binary /boot/boot had same = md5 hash.=0D=0A> > So I've simply skipped installing boot code.=0D=0A> = =0D=0A> Yes, my bad, I updated it locally but forgot to upload it to the = URL.=0D=0A> It should really be updated now.=0D=0A> =0D=0A> -- =0D=0A> = John Baldwin=0D=0A> =0D=0A=0D=0A=0D=0AUsing MD5 (boot2_test.patch) =3D = 05c46840163f789d362b46bf51b6c79f=0D=0A=0D=0AI can't build = it.=0D=0A=0D=0A# cd /sys/boot=0D=0A# make clean && make obj && make = depend && make && make install && make = clean=0D=0A=0D=0A------=0D=0A=3D=3D=3D> i386/boot2 (all)=0D=0Aobjcopy -S = -O binary boot1.out boot1=0D=0Add if=3D/dev/zero of=3Dboot2.ldr bs=3D512 = count=3D1=0D=0A1+0 records in=0D=0A1+0 records out=0D=0A512 bytes = transferred in 0.000116 secs (4409617 bytes/sec)=0D=0Acc -Os = -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time = -mno-align-long-strings -mrtd -mregparm=3D3 -DUSE_XREAD = -DUFS1_AND_UFS2 -DFLAGS=3D0x80 -DSIOPRT=3D0x3f8 -DSIOFMT=3D0x3 = -DSIOSPD=3D9600 -I/usr/src/sys/boot/i386/boot2/../../common = -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return = -Wbad-function-cast -Wcast-align -Wmissing-declarations = -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow = -Wstrict-prototypes -Wwrite-strings -Winline --param = max-inline-insns-single=3D100 -ffreestanding = -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 = -mno-sse3 -msoft-float -std=3Dgnu99 -S -o boot2.s.tmp = /usr/src/sys/boot/i386/boot2/boot2.c=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c: = In function 'main':=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c:282: error: = expected ':' before ')' token=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c: = In function 'parse':=0D=0A/usr/src/sys/boot/i386/boot2/boot2.c:468: = warning: passing argument 1 of 'memcpy' discards qualifiers from pointer = target type=0D=0A*** [boot2.s] Error code 1=0D=0A=0D=0AStop in = /usr/src/sys/boot/i386/boot2.=0D=0A*** [all] Error code 1=0D=0A=0D=0AStop = in /usr/src/sys/boot/i386.=0D=0A*** [all] Error code 1=0D=0A=0D=0AStop in = /usr/src/sys/boot.=0D=0A------=0D=0A=0D=0A=0D=0ADomagoj = Smol=E8i=E6=0D=0A=0D=0A