Date: Sat, 03 Mar 2012 09:59:19 +0100 From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" <jhb@freebsd.org>, "Roman Divacky" <rdivacky@freebsd.org>, "Andriy Gapon" <avg@freebsd.org> Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) Message-ID: <20120303.085919.077.6@DOMY-PC> 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>
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>, "Andriy = Gapon" <avg@freebsd.org>=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 = <jhb@freebsd.org>=0D=0A> > To: rank1seeker@gmail.com=0D=0A> > Cc: = hackers@freebsd.org, "Roman Divacky" <rdivacky@freebsd.org>, "Andriy = Gapon" <avg@freebsd.org>=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 <jhb@freebsd.org>=0D=0A> > > > To: rank1seeker@gmail.com=0D=0A> > = > > Cc: hackers@freebsd.org, "Roman Divacky" <rdivacky@freebsd.org>, = "Andriy Gapon" <avg@freebsd.org>=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 = <jhb@freebsd.org>=0D=0A> > > > > > To: rank1seeker@gmail.com=0D=0A> > > > = > > Cc: hackers@freebsd.org, "Roman Divacky" <rdivacky@freebsd.org>, = Andriy Gapon <avg@freebsd.org>=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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120303.085919.077.6>