Date: Sun, 14 Aug 2016 23:39:03 -0700 From: Adrian Chadd <adrian@freebsd.org> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: Re: kernel using gcc-5.3 fails to boot right Message-ID: <CAJ-Vmon6vKJUb8ZfRZv_v%2BphekH0TsW6Vpia_B_sg2k76wQ6PQ@mail.gmail.com> In-Reply-To: <CAJ-Vmo=DAgC7x8FECWu_ne-usU4jdCyojFL2HuAJAFj8hmasMA@mail.gmail.com> References: <CAJ-VmomVS_fmYo2pvTm85x9tqfRnbcggWW9NLa28BJpfjaFozg@mail.gmail.com> <CAJ-Vmon19GF6N-90avR3%2BPeXkSC=BkNt7Cy2CiVY%2BbwFN5iuMQ@mail.gmail.com> <CAJ-Vmo=DAgC7x8FECWu_ne-usU4jdCyojFL2HuAJAFj8hmasMA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, So to follow follow up - it looks like there's some reasonably interesting garbage behaviour going on. Adding printfs changes the values of those 64 bit variables being printed, and the loop behaviour. eg: ipfw2 initialized, divert loadable, nat loadable, default to deny, logging disabled^M CALLING add_sopt_handler: from /usr/home/adrian/work/freebsd/head-embedded/src/sys/modules/ipfw/../../netpfil/ipfw/ip_fw_sockopt.c:3388^M ipfw_add_sopt_handler: called; sh=0xc021dad0, count=11^M ipfw_add_sopt_handler: called; gencnt=1969842025, ctl3_hsize=0, sz=11, count=11, (176 bytes)^M ipfw_add_sopt_handler: retrying; gencnt=8388358300892480083, tgen=1969842025^M ipfw_add_sopt_handler: called; gencnt=1969842025, ctl3_hsize=0, sz=11, count=11, (176 bytes)^M ipfw_add_sopt_handler: retrying; gencnt=8388358300892480083, tgen=1969842025^M ipfw_add_sopt_handler: called; gencnt=1969842025, ctl3_hsize=0, sz=11, count=11, (176 bytes)^M ipfw_add_sopt_handler: retrying; gencnt=8388358300892480083, tgen=1969842025^M ipfw_add_sopt_handler: called; gencnt=1969842025, ctl3_hsize=0, sz=11, count=11, (176 bytes)^M ... all I'm doing is printing, and tgen is the value of gencnt when the loop starts. So, something smells fishy. -adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmon6vKJUb8ZfRZv_v%2BphekH0TsW6Vpia_B_sg2k76wQ6PQ>