From owner-freebsd-current@freebsd.org Fri Apr 15 16:31:48 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E9B1AEE6CF for ; Fri, 15 Apr 2016 16:31:48 +0000 (UTC) (envelope-from paulw@fisheyehq.com) Received: from smtprelay.hostedemail.com (smtprelay0083.hostedemail.com [216.40.44.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1DF1F03 for ; Fri, 15 Apr 2016 16:31:47 +0000 (UTC) (envelope-from paulw@fisheyehq.com) Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave08.hostedemail.com (Postfix) with ESMTP id C9CCF2113A9 for ; Fri, 15 Apr 2016 14:02:13 +0000 (UTC) Received: from filter.hostedemail.com (unknown [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id 63AB52691E4; Fri, 15 Apr 2016 14:01:59 +0000 (UTC) X-Session-Marker: 7061756C77406669736865796568712E636F6D X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, paulw@fisheyehq.com, :::, RULES_HIT:10:41:355:379:541:542:599:960:967:973:988:989:1042:1155:1160:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1801:2393:2525:2553:2560:2563:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4605:5007:6119:7903:7974:8985:9025:10004:10400:10848:11026:11232:11658:11914:12043:12517:12519:12555:12663:13069:13311:13357:13439:14181:14721:21080:21366:30012:30022:30054:30090:30091, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0, LFtime:2, LUA_SUMMARY:none X-HE-Tag: pie67_85a9dcf32711b X-Filterd-Recvd-Size: 2830 Received: from DESKTOPBP64BFH (host-212-159-139-150.static.as13285.net [212.159.139.150]) (Authenticated sender: paulw@fisheyehq.com) by omf12.hostedemail.com (Postfix) with ESMTPA; Fri, 15 Apr 2016 14:01:58 +0000 (UTC) From: "Paul Wootton" To: Cc: "'Konstantin Belousov'" References: <17ea940319f36a803594bd00940efe4f@fisheyehq.com> <20160412075534.GC18263@kib.kiev.ua> <000b01d19506$cb7d8b80$6278a280$@com> In-Reply-To: <000b01d19506$cb7d8b80$6278a280$@com> Subject: RE: Kernel trap when booting inside VirtualBox Date: Fri, 15 Apr 2016 15:02:01 +0100 Organization: Fisheye Message-ID: <1f6801d1971f$62de2100$289a6300$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdGUkLTNQ3nmdE/TR6y/FaaCtOOgcgAKpfcAABI2g9AAhsjPQA== Content-Language: en-gb x-cr-hashedpuzzle: B4Kp C/+j Ea9c FLft G27W KDdj Km7C My8N PGDq Qi6p R49B SIhH Sdlc VQja VXCw Xr1W; 2; ZgByAGUAZQBiAHMAZAAtAGMAdQByAHIAZQBuAHQAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcAOwBrAG8AcwB0AGkAawBiAGUAbABAAGcAbQBhAGkAbAAuAGMAbwBtAA==; Sosha1_v1; 7; {AD964793-07A6-4ADB-9B1D-4DFA53C21922}; cABhAHUAbAB3AEAAZgBpAHMAaABlAHkAZQBoAHEALgBjAG8AbQA=; Fri, 15 Apr 2016 14:01:57 GMT; UgBFADoAIABLAGUAcgBuAGUAbAAgAHQAcgBhAHAAIAB3AGgAZQBuACAAYgBvAG8AdABpAG4AZwAgAGkAbgBzAGkAZABlACAAVgBpAHIAdAB1AGEAbABCAG8AeAA= x-cr-puzzleid: {AD964793-07A6-4ADB-9B1D-4DFA53C21922} X-Antivirus: avast! (VPS 160415-0, 15/04/2016), Outbound message X-Antivirus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 16:31:48 -0000 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 : (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