From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 08:59:18 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 469A1106566B; Sat, 3 Mar 2012 08:59:18 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE9B8FC0C; Sat, 3 Mar 2012 08:59:16 +0000 (UTC) Received: by eaaf13 with SMTP id f13so858639eaa.13 for ; Sat, 03 Mar 2012 00:59:16 -0800 (PST) Received-SPF: pass (google.com: domain of rank1seeker@gmail.com designates 10.213.105.147 as permitted sender) client-ip=10.213.105.147; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rank1seeker@gmail.com designates 10.213.105.147 as permitted sender) smtp.mail=rank1seeker@gmail.com; dkim=pass header.i=rank1seeker@gmail.com Received: from mr.google.com ([10.213.105.147]) by 10.213.105.147 with SMTP id t19mr480891ebo.199.1330765156206 (num_hops = 1); Sat, 03 Mar 2012 00:59:16 -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=liSNFU6ZWQA4m+pnk8xnhdrErm5pVk4vQD2VdrHC7LM=; b=0CD6MBfmbK9/aTcgjM60r4oiH7PzlQaQqmcHJ37E3eeBAdvcQ9X3xD2TAt+hMtTAFV zj+FsvPH6bbXEqJOHtF/tCsRPUbqt6wVPsCTp8DGYKpa+MSvYshDXsjCMa5Jvy2UpS9C lHXcgeyUXW3KFhYtmhv5d4dFLPkl6tOWDmKsUL8Y0im8qCf4dMxtwmD8v4uBcW/gHGBe zzPi/s+2q6XRkFyQC6j4Aq36CIi/4y59Mzv6KFSTPqwz2ZTYmvHDBfgqjpO8lkn93fH0 6stBojhMuKATpRiAGkcbj34AAtRwRRxAq0/cNhZWnlR/H8KQeG3UHAIohqrvWCwP3EKG hLpQ== Received: by 10.213.105.147 with SMTP id t19mr382272ebo.199.1330765155783; Sat, 03 Mar 2012 00:59:15 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id y14sm31202585eef.10.2012.03.03.00.59.01 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 00:59:14 -0800 (PST) Message-ID: <20120303.085919.077.6@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Sat, 03 Mar 2012 09:59:19 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203021720.11756.jhb@freebsd.org> References: <20120302.151703.536.2@DOMY-PC> <201203021446.59663.jhb@freebsd.org> <20120302.195816.794.5@DOMY-PC> <201203021720.11756.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: Sat, 03 Mar 2012 08:59:18 -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 17:20:11 = -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A> = On Friday, March 02, 2012 2:58:16 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 14:46:59 = -0500=0D=0A> > Subject: 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=0A> > Using MD5 (boot2_test.patch) =3D = 05c46840163f789d362b46bf51b6c79f=0D=0A> > =0D=0A> > I 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=0A> > objcopy -S -O binary = boot1.out boot1=0D=0A> > dd if=3D/dev/zero of=3Dboot2.ldr bs=3D512 = count=3D1=0D=0A> > 1+0 records in=0D=0A> > 1+0 records out=0D=0A> > 512 = bytes transferred in 0.000116 secs (4409617 bytes/sec)=0D=0A> > cc -Os = -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time = -mno-align-long-strings -mrtd -mregparm=3D3 -DUSE_XREAD -=0D=0A> = DUFS1_AND_UFS2 -DFLAGS=3D0x80 -DSIOPRT=3D0x3f8 -DSIOFMT=3D0x3 = -DSIOSPD=3D9600 -I/usr/src/sys/boot/i386/boot2/../../common -=0D=0A> = I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -Wall -Waggregate-return = -Wbad-function-cast -Wcast-align -Wmissing-declarations = -Wmissing-=0D=0A> prototypes -Wnested-externs -Wpointer-arith -Wshadow = -Wstrict-prototypes -Wwrite-strings -Winline --param = max-inline-insns-single=3D100 -=0D=0A> ffreestanding = -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 = -mno-sse3 -msoft-float -std=3Dgnu99 -S -o boot2.s.tmp =0D=0A> = /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> =0D=0A> Oops, should be fixed now.=0D=0A> =0D=0A> -- =0D=0A> = John Baldwin=0D=0A> =0D=0A=0D=0A=0D=0AUsing: MD5 (boot2_test.patch) =3D = c2d6d2c9806df5915419987f200c05af=0D=0A=0D=0AStill fails to = build.=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.000117 secs (4382620 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*** [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