From owner-freebsd-current@freebsd.org Sun Jul 9 14:49:55 2017 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 52C2CD87797 for ; Sun, 9 Jul 2017 14:49:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 360611ECF for ; Sun, 9 Jul 2017 14:49:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: by mailman.ysv.freebsd.org (Postfix) id 32303D87795; Sun, 9 Jul 2017 14:49:55 +0000 (UTC) Delivered-To: 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 31B8FD87794 for ; Sun, 9 Jul 2017 14:49:55 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [202.12.127.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D1D271ECE for ; Sun, 9 Jul 2017 14:49:54 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:subject:subject; s=201508; t=1499611786; bh=+7GE6hIh EOITSVebrqeA0jQWylU+yJdZMMXKnJOppCY=; b=CH9YgvGP5941qq8L5pfo5x0t ttrEBgiOYgZIIWXiKU+7CrKgUik5VxYM4g+oU5uQbHpp+gv8dNtVzrsghij9kBdK 5PfnKQsL5JbETzC1pakpnfUyMU0LpvuhuHkznWThfI8iN15UyCMociCfnLQuXuQS trP+4H9cQZs542nKb9o= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id 559451AAAE; Sun, 9 Jul 2017 10:49:46 -0400 (EDT) Subject: Re: Problem with make installworld et alii To: Filippo Moretti , Current References: <1482174535.1601586.1499611393763.ref@mail.yahoo.com> <1482174535.1601586.1499611393763@mail.yahoo.com> From: Michael Butler Message-ID: <77dd8283-b427-df31-3021-335ddf254d84@protected-networks.net> Date: Sun, 9 Jul 2017 10:49:45 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1482174535.1601586.1499611393763@mail.yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 09 Jul 2017 14:49:55 -0000 You need to a build newer than SVN r320652 to fix this .. On 07/09/17 10:43, Filippo Moretti wrote: > FreeBSD sting 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320360: Mon Jun 26 15:49:29 UTC 2017 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386After compiling world and kernel I cannot make install world with the following error:Fatal error cannot allocate read line in initial thread at line 392 in file /use/src/lib/libthr/thread/thr_init.c (errorno=12)PID 42315 (cc) uid 0: exited on signal 6 (core dumped) > make: "/usr/src/share/mk/bsd.compiler.mk" line 145 : Unable to determine compiler type for CC=cc . Consider settingCOMPILER_TYPE > > > > > > This is the report of the crash I experienced with my custom kernel while running xinit (all the operations in console mode worked).I can succesfully start X using GENERIC.My kernel Worked fine until I reinstalled this snapshot. > > > Jul 8 08:41:53 sting kernel: > Jul 8 08:41:53 sting kernel: > Jul 8 08:41:53 sting kernel: Fatal trap 12: page fault while in kernel mode > Jul 8 08:41:53 sting kernel: cpuid = 1; apic id = 01 > Jul 8 08:41:53 sting kernel: fault virtual address = 0xa4c8c67d > Jul 8 08:41:53 sting kernel: fault code = supervisor read, page not present > Jul 8 08:41:53 sting kernel: instruction pointer = 0x20:0xc7f86218 > Jul 8 08:41:53 sting kernel: stack pointer = 0x28:0xf0b828e0 > Jul 8 08:41:53 sting kernel: frame pointer = 0x28:0xf0b8290c > Jul 8 08:41:53 sting kernel: code segment = base 0x0, limit 0xfffff, type 0x1b > Jul 8 08:41:53 sting kernel: = DPL 0, pres 1, def32 1, gran 1 > Jul 8 08:41:53 sting kernel: processor eflags = interrupt enabled, resume, IOPL = 0 > Jul 8 08:41:53 sting kernel: current process = 798 (Xorg) > Jul 8 08:41:53 sting kernel: trap number = 12 > Jul 8 08:41:53 sting kernel: panic: page fault > Jul 8 08:41:53 sting kernel: cpuid = 1 > Jul 8 08:41:53 sting kernel: time = 1499495998 > Jul 8 08:41:53 sting kernel: KDB: stack backtrace: > Jul 8 08:41:53 sting kernel: #0 0xc07d92df at kdb_backtrace+0x4f > Jul 8 08:41:53 sting kernel: #1 0xc079ad33 at vpanic+0x133 > Jul 8 08:41:53 sting kernel: #2 0xc079abfb at panic+0x1b > Jul 8 08:41:53 sting kernel: #3 0xc0a7a73e at trap_fatal+0x31e > Jul 8 08:41:53 sting kernel: #4 0xc0a7a783 at trap_pfault+0x33 > Jul 8 08:41:53 sting kernel: #5 0xc0a79e8e at trap+0x2be > Jul 8 08:41:53 sting kernel: #6 0xc0a68d6a at calltrap+0x6 > Jul 8 08:41:53 sting kernel: #7 0xc0823df8 at unp_connect2+0x88 > Jul 8 08:41:53 sting kernel: #8 0xc0823a9b at unp_connectat+0x40b > Jul 8 08:41:53 sting kernel: #9 0xc0821000 at uipc_connect+0x40 > Jul 8 08:41:53 sting kernel: #10 0xc081dac6 at kern_connectat+0x116 > Jul 8 08:41:53 sting kernel: #11 0xc081d999 at sys_connect+0x99 > Jul 8 08:41:53 sting kernel: #12 0xc0a7b104 at syscall+0x5b4 > Jul 8 08:41:53 sting kernel: #13 0xc0a68dee at Xint0x80_syscall+0x2e > Jul 8 08:41:53 sting kernel: Uptime: 2m10s > Jul 8 08:41:53 sting kernel: Physical memory: 2929 MB > Jul 8 08:41:53 sting kernel: Dumping 109 MB: 94 78 62 46 30 14 > Jul 8 08:41:53 sting kernel: Dump complete > Jul 8 08:41:53 sting kernel: Automatic reboot in 15 seconds - press a key on the console to abort > Jul 8 08:41:53 sting kernel: --> Press a key on the console to reboot, > Jul 8 08:41:53 sting kernel: --> or switch off the system now. > Jul 8 08:41:53 sting kernel: Rebooting... > Jul 8 08:41:53 sting kernel: cpu_reset: Restarting BSP > Jul 8 08:41:53 sting kernel: cpu_reset_proxy: Stopped CPU 1 > I also get these messages in console > > Jul 8 08:45:31 sting kernel: 1st 0xc6114bb8 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3539 > Jul 8 08:45:31 sting kernel: 2nd 0xd0391800 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:281 > Jul 8 08:45:31 sting kernel: stack backtrace: > Jul 8 08:45:31 sting kernel: #0 0xc0cbbbd1 at witness_debugger+0x81 > Jul 8 08:45:31 sting kernel: #1 0xc0cbbaf1 at witness_checkorder+0xd11 > Jul 8 08:45:31 sting kernel: #2 0xc0c60154 at _sx_xlock+0x64 > Jul 8 08:45:31 sting kernel: #3 0xc0f5d3b0 at ufsdirhash_add+0x40 > Jul 8 08:45:31 sting kernel: #4 0xc0f6010a at ufs_direnter+0x47a > Jul 8 08:45:31 sting kernel: #5 0xc0f6a07f at ufs_makeinode+0x5af > Jul 8 08:45:31 sting kernel: #6 0xc0f695a6 at ufs_symlink+0x36 > Jul 8 08:45:31 sting kernel: #7 0xc123be43 at VOP_SYMLINK_APV+0xd3 > Jul 8 08:45:31 sting kernel: #8 0xc0d301a4 at kern_symlinkat+0x274 > Jul 8 08:45:31 sting kernel: #9 0xc0d2ff21 at sys_symlink+0x31 > Jul 8 08:45:31 sting kernel: #10 0xc120719e at syscall+0x6de > Jul 8 08:45:31 sting kernel: #11 0xc11f2bee at Xint0x80_syscall+0x2e > Jul 8 08:46:07 sting kernel: lock order reversal: > Jul 8 08:46:07 sting kernel: 1st 0xd18c9914 ufs (ufs) @ /usr/src/sys/kern/vfs_syscalls.c:3362 > Jul 8 08:46:07 sting kernel: 2nd 0xc6114bb8 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_vnops.c:280 > Jul 8 08:46:07 sting kernel: 3rd 0xd1af3c68 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2602 > Jul 8 08:46:07 sting kernel: stack backtrace: > Jul 8 08:46:07 sting kernel: #0 0xc0cbbbd1 at witness_debugger+0x81 > Jul 8 08:46:07 sting kernel: #1 0xc0cbbaf1 at witness_checkorder+0xd11 > Jul 8 08:46:07 sting kernel: #2 0xc0c2b2cc at __lockmgr_args+0x79c > Jul 8 08:46:07 sting kernel: #3 0xc0f577e7 at ffs_lock+0x87 > Jul 8 08:46:07 sting kernel: #4 0xc123c627 at VOP_LOCK1_APV+0xd7 > Jul 8 08:46:07 sting kernel: #5 0xc0d37ea3 at _vn_lock+0x63 > Jul 8 08:46:07 sting kernel: #6 0xc0d24c51 at vget+0x81 > Jul 8 08:46:07 sting kernel: #7 0xc0d1655d at vfs_hash_get+0xcd > Jul 8 08:46:07 sting kernel: #8 0xc0f52a44 at ffs_vgetf+0x44 > Jul 8 08:46:07 sting kernel: #9 0xc0f48a7a at softdep_sync_buf+0xbba > Jul 8 08:46:07 sting kernel: #10 0xc0f585df at ffs_syncvnode+0x2df > Jul 8 08:46:07 sting kernel: #11 0xc0f57984 at ffs_fdatasync+0x24 > Jul 8 08:46:07 sting kernel: #12 0xc123fe87 at VOP_FDATASYNC_APV+0xd7 > Jul 8 08:46:07 sting kernel: #13 0xc0d34075 at kern_fsync+0x225 > Jul 8 08:46:07 sting kernel: #14 0xc0d34152 at sys_fdatasync+0x22 > Jul 8 08:46:07 sting kernel: #15 0xc120719e at syscall+0x6de > Jul 8 08:46:07 sting kernel: #16 0xc11f2bee at Xint0x80_syscall+0x2e > sincerelyFilippo > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >