Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 14:43:13 +0000 (UTC)
From:      Filippo Moretti <filippomore@yahoo.com>
To:        Current <current@freebsd.org>
Subject:   Problem with make installworld et alii
Message-ID:  <1482174535.1601586.1499611393763@mail.yahoo.com>
References:  <1482174535.1601586.1499611393763.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
























Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1482174535.1601586.1499611393763>