From owner-freebsd-current@freebsd.org Sun Jul 9 14:43:21 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 44887D87547 for ; Sun, 9 Jul 2017 14:43:21 +0000 (UTC) (envelope-from filippomore@yahoo.com) 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 290041CF1 for ; Sun, 9 Jul 2017 14:43:21 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2575FD87545; Sun, 9 Jul 2017 14:43:21 +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 25181D87544 for ; Sun, 9 Jul 2017 14:43:21 +0000 (UTC) (envelope-from filippomore@yahoo.com) Received: from sonic319-24.consmr.mail.ne1.yahoo.com (sonic319-24.consmr.mail.ne1.yahoo.com [66.163.188.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA31F1CF0 for ; Sun, 9 Jul 2017 14:43:20 +0000 (UTC) (envelope-from filippomore@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1499611394; bh=ELJEV4IJqDZuYRYAVdwe3obekDxTv9WucXTJfLtwLJQ=; h=Date:From:To:Subject:References:From:Subject; b=UwpaqGimz+y7O6k7CrrWSFotDKsil0VSAzuSskKLEBb/IB0XI2IOV4dQ9z8h8OBULn96DA/PuXeVvq2mOkAYdvczl+jWOzznumScdg6m8Cg7qbx9flUSNhBHfFgMxn7++rPQJlVCgNTHvW/yIO95cxv3EO4Co+5Ybq4RRkZF2aRJOQXmfYYn6bLSb2vBnUiLJLXmTN0goWmoR/RD252DN7UgTIHTKbljGe6MjsTXZh7qRXC9sdQvuakZL+zp/bO3RMw/shhwW/r5wEI96h0qcgwh7WFUyTbWMCUC/NjDGovNeJDfOf9jlXpFcql22ffwCq29jgXJAxIQ4BrV2m6e7w== X-YMail-OSG: 3Hm94S4VRDtX4O7bahaAQHAz4HfEabFmnzRBOcLeOpVtMKzv Received: from sonic.gate.mail.ne1.yahoo.com by sonic319.consmr.mail.ne1.yahoo.com with HTTP; Sun, 9 Jul 2017 14:43:14 +0000 Date: Sun, 9 Jul 2017 14:43:13 +0000 (UTC) From: Filippo Moretti To: Current Message-ID: <1482174535.1601586.1499611393763@mail.yahoo.com> Subject: Problem with make installworld et alii MIME-Version: 1.0 References: <1482174535.1601586.1499611393763.ref@mail.yahoo.com> X-Mailer: WebService/1.1.10014 YMailNorrin Mozilla/5.0 (X11; FreeBSD i386; rv:54.0) Gecko/20100101 Firefox/54.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:43:21 -0000 FreeBSD sting 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320360: Mon Jun 26 15:4= 9:29 UTC 2017=C2=A0=C2=A0=C2=A0=C2=A0 root@releng3.nyi.freebsd.org:/usr/obj= /usr/src/sys/GENERIC=C2=A0=C2=A0i386After compiling world and kernel I cann= ot 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=3D12)PID 42315 (cc) uid 0: exited on signal 6 (core dum= ped) make:=C2=A0 "/usr/src/share/mk/bsd.compiler.mk" line 145 : Unable to determ= ine compiler type for CC=3Dcc . Consider settingCOMPILER_TYPE This is the report of the crash I experienced with my custom kernel while r= unning xinit (all the operations in console mode worked).I can succesfully = start X using GENERIC.My kernel Worked fine until I reinstalled this snapsh= ot. Jul=C2=A0=C2=A08 08:41:53 sting kernel:=20 Jul=C2=A0=C2=A08 08:41:53 sting kernel:=20 Jul=C2=A0=C2=A08 08:41:53 sting kernel: Fatal trap 12: page fault while in = kernel mode Jul=C2=A0=C2=A08 08:41:53 sting kernel: cpuid =3D 1; apic id =3D 01 Jul=C2=A0=C2=A08 08:41:53 sting kernel: fault virtual address=C2=A0=C2=A0= =C2=A0=C2=A0 =3D 0xa4c8c67d Jul=C2=A0=C2=A08 08:41:53 sting kernel: fault code=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D= supervisor read, page not present Jul=C2=A0=C2=A08 08:41:53 sting kernel: instruction pointer=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 =3D 0x20:0xc7f86218 Jul=C2=A0=C2=A08 08:41:53 sting kernel: stack pointer=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x28:0xf0b828e0 Jul=C2=A0=C2=A08 08:41:53 sting kernel: frame pointer=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0x28:0xf0b8290c Jul=C2=A0=C2=A08 08:41:53 sting kernel: code segment=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D base 0x0= , limit 0xfffff, type 0x1b Jul=C2=A0=C2=A08 08:41:53 sting kernel: =3D DPL 0, pres 1, def32 1, gran 1 Jul=C2=A0=C2=A08 08:41:53 sting kernel: processor eflags=C2=A0=C2=A0=3D int= errupt enabled, resume, IOPL =3D 0 Jul=C2=A0=C2=A08 08:41:53 sting kernel: current process=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 798 (Xorg) Jul=C2=A0=C2=A08 08:41:53 sting kernel: trap number=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 12 Jul=C2=A0=C2=A08 08:41:53 sting kernel: panic: page fault Jul=C2=A0=C2=A08 08:41:53 sting kernel: cpuid =3D 1 Jul=C2=A0=C2=A08 08:41:53 sting kernel: time =3D 1499495998 Jul=C2=A0=C2=A08 08:41:53 sting kernel: KDB: stack backtrace: Jul=C2=A0=C2=A08 08:41:53 sting kernel: #0 0xc07d92df at kdb_backtrace+0x4f Jul=C2=A0=C2=A08 08:41:53 sting kernel: #1 0xc079ad33 at vpanic+0x133 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #2 0xc079abfb at panic+0x1b Jul=C2=A0=C2=A08 08:41:53 sting kernel: #3 0xc0a7a73e at trap_fatal+0x31e Jul=C2=A0=C2=A08 08:41:53 sting kernel: #4 0xc0a7a783 at trap_pfault+0x33 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #5 0xc0a79e8e at trap+0x2be Jul=C2=A0=C2=A08 08:41:53 sting kernel: #6 0xc0a68d6a at calltrap+0x6 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #7 0xc0823df8 at unp_connect2+0x88 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #8 0xc0823a9b at unp_connectat+0x40= b Jul=C2=A0=C2=A08 08:41:53 sting kernel: #9 0xc0821000 at uipc_connect+0x40 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #10 0xc081dac6 at kern_connectat+0x= 116 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #11 0xc081d999 at sys_connect+0x99 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #12 0xc0a7b104 at syscall+0x5b4 Jul=C2=A0=C2=A08 08:41:53 sting kernel: #13 0xc0a68dee at Xint0x80_syscall+= 0x2e Jul=C2=A0=C2=A08 08:41:53 sting kernel: Uptime: 2m10s Jul=C2=A0=C2=A08 08:41:53 sting kernel: Physical memory: 2929 MB Jul=C2=A0=C2=A08 08:41:53 sting kernel: Dumping 109 MB: 94 78 62 46 30 14 Jul=C2=A0=C2=A08 08:41:53 sting kernel: Dump complete Jul=C2=A0=C2=A08 08:41:53 sting kernel: Automatic reboot in 15 seconds - pr= ess a key on the console to abort Jul=C2=A0=C2=A08 08:41:53 sting kernel: --> Press a key on the console to r= eboot, Jul=C2=A0=C2=A08 08:41:53 sting kernel: --> or switch off the system now. Jul=C2=A0=C2=A08 08:41:53 sting kernel: Rebooting... Jul=C2=A0=C2=A08 08:41:53 sting kernel: cpu_reset: Restarting BSP Jul=C2=A0=C2=A08 08:41:53 sting kernel: cpu_reset_proxy: Stopped CPU 1 I also get these messages in console Jul=C2=A0=C2=A08 08:45:31 sting kernel: 1st 0xc6114bb8 bufwait (bufwait) @ = /usr/src/sys/kern/vfs_bio.c:3539 Jul=C2=A0=C2=A08 08:45:31 sting kernel: 2nd 0xd0391800 dirhash (dirhash) @ = /usr/src/sys/ufs/ufs/ufs_dirhash.c:281 Jul=C2=A0=C2=A08 08:45:31 sting kernel: stack backtrace: Jul=C2=A0=C2=A08 08:45:31 sting kernel: #0 0xc0cbbbd1 at witness_debugger+0= x81 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #1 0xc0cbbaf1 at witness_checkorder= +0xd11 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #2 0xc0c60154 at _sx_xlock+0x64 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #3 0xc0f5d3b0 at ufsdirhash_add+0x4= 0 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #4 0xc0f6010a at ufs_direnter+0x47a Jul=C2=A0=C2=A08 08:45:31 sting kernel: #5 0xc0f6a07f at ufs_makeinode+0x5a= f Jul=C2=A0=C2=A08 08:45:31 sting kernel: #6 0xc0f695a6 at ufs_symlink+0x36 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #7 0xc123be43 at VOP_SYMLINK_APV+0x= d3 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #8 0xc0d301a4 at kern_symlinkat+0x2= 74 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #9 0xc0d2ff21 at sys_symlink+0x31 Jul=C2=A0=C2=A08 08:45:31 sting kernel: #10 0xc120719e at syscall+0x6de Jul=C2=A0=C2=A08 08:45:31 sting kernel: #11 0xc11f2bee at Xint0x80_syscall+= 0x2e Jul=C2=A0=C2=A08 08:46:07 sting kernel: lock order reversal: Jul=C2=A0=C2=A08 08:46:07 sting kernel: 1st 0xd18c9914 ufs (ufs) @ /usr/src= /sys/kern/vfs_syscalls.c:3362 Jul=C2=A0=C2=A08 08:46:07 sting kernel: 2nd 0xc6114bb8 bufwait (bufwait) @ = /usr/src/sys/ufs/ffs/ffs_vnops.c:280 Jul=C2=A0=C2=A08 08:46:07 sting kernel: 3rd 0xd1af3c68 ufs (ufs) @ /usr/src= /sys/kern/vfs_subr.c:2602 Jul=C2=A0=C2=A08 08:46:07 sting kernel: stack backtrace: Jul=C2=A0=C2=A08 08:46:07 sting kernel: #0 0xc0cbbbd1 at witness_debugger+0= x81 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #1 0xc0cbbaf1 at witness_checkorder= +0xd11 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #2 0xc0c2b2cc at __lockmgr_args+0x7= 9c Jul=C2=A0=C2=A08 08:46:07 sting kernel: #3 0xc0f577e7 at ffs_lock+0x87 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #4 0xc123c627 at VOP_LOCK1_APV+0xd7 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #5 0xc0d37ea3 at _vn_lock+0x63 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #6 0xc0d24c51 at vget+0x81 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #7 0xc0d1655d at vfs_hash_get+0xcd Jul=C2=A0=C2=A08 08:46:07 sting kernel: #8 0xc0f52a44 at ffs_vgetf+0x44 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #9 0xc0f48a7a at softdep_sync_buf+0= xbba Jul=C2=A0=C2=A08 08:46:07 sting kernel: #10 0xc0f585df at ffs_syncvnode+0x2= df Jul=C2=A0=C2=A08 08:46:07 sting kernel: #11 0xc0f57984 at ffs_fdatasync+0x2= 4 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #12 0xc123fe87 at VOP_FDATASYNC_APV= +0xd7 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #13 0xc0d34075 at kern_fsync+0x225 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #14 0xc0d34152 at sys_fdatasync+0x2= 2 Jul=C2=A0=C2=A08 08:46:07 sting kernel: #15 0xc120719e at syscall+0x6de Jul=C2=A0=C2=A08 08:46:07 sting kernel: #16 0xc11f2bee at Xint0x80_syscall+= 0x2e sincerelyFilippo