On Wed, Apr 12, 2016 at 11:01PM, Paul Wootton wrote: >On Tue, Apr 12, 2016 at 02:02PM, Paul Wootton wrote: > >With the help of Konstantin, I have got a proper disassembly. > >I have recompiled a few times so my new panic is >instruction pointer = 0x20:0xffffffff80fed2d9 >stack pointer = 0x28:0xffffffff824d89c0 >frame pointer = 0x28:0xffffffff824d8a40 >code segment = base 0x0, Limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 >Processor eflags = resume, IOPL = 0 >Current process = 0 (swapper) >[ thread pid 0 tid 100000 ] >Stopped at native_lapic_setup+0x99: lesl %edx,%esp > >and a disassembly gives >0xffffffff80fed2d9 <native_lapic_setup+153>: (bad) 0x99 == 153 > >Now to figure out why I am making bad binaries. >Ive not seen any issues yet with the world, so its not as if every >binary I >make is bad
I have found that having CPUTYPE?=native in /etc/make.conf was my issue. Commenting that line out (the only other line I have is KERNCONF) and now I can build a good kernel --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus _______________________________________________ email@example.com mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"