Re: help with crash dump

2019-09-24 Thread Igor V. Ruzanov
Please try to remove 'WITHOUT_REPRODUCIBLE_BUILD' option and recompile the 
kernel to see if it will be stable in your context. The modern FreeBSD 
releses (12.0 for example) is with reproducible build enabled now. As quck 
check, tell uname -a and you will give the following output:
FreeBSD xxx.yourdomain.tld 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 #0: 
Mon Oct 24 18:49:24 UTC 2016 
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

And without WITHOUT_REPRODUCIBLE_BUILD you should see the ident: FreeBSD 
xxx.yourdomin.tld 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC  
amd64


|
|> On 24 Sep 2019, at 12:43, Igor V. Ruzanov  wrote:
|> 
|> Is your kernel custom and you were compile it? If yes, could you please 
|> send kernel config to here?
|
|
|The kernel is from 12.0-STABLE r351639.
|
|I use the GENERIC config to compile the kernel but with custom src.conf:
|
|cat /etc/src.conf
|
|WITHOUT_AUTHPF=yes
|WITHOUT_AUTOFS=yes
|WITHOUT_BHYVE=yes
|WITHOUT_BLUETOOTH=yes
|WITHOUT_BOOTPARAMD=yes
|WITHOUT_BOOTPD=yes
|WITHOUT_BSDINSTALL=yes
|WITHOUT_CCD=yes
|WITHOUT_CTM=yes
|WITHOUT_CUSE=yes
|WITHOUT_CXGBETOOL=yes
|WITHOUT_DEBUG_FILES=yes
|WITHOUT_FLOPPY=yes
|WITHOUT_FREEBSD_UPDATE=yes
|WITHOUT_GCOV=yes
|WITHOUT_HAST=yes
|WITHOUT_HTML=yes
|WITHOUT_HYPERV=yes
|WITHOUT_I4B=yes
|WITHOUT_IPFILTER=yes
|WITHOUT_LPR=yes
|WITHOUT_MLX5TOOL=yes
|WITHOUT_MODULE_DRM=yes
|WITHOUT_MODULE_DRM2=yes
|WITHOUT_NCP=yes
|WITHOUT_NDIS=yes
|WITHOUT_OBJC=yes
|WITHOUT_PF=yes
|WITHOUT_PMC=yes
|WITHOUT_PPP=yes
|WITHOUT_PROFILE=yes
|WITHOUT_RADIUS_SUPPORT=yes
|WITHOUT_RBOOTD=yes
|WITHOUT_REPRODUCIBLE_BUILD=yes
|WITHOUT_SHAREDOCS=yes
|WITHOUT_SYSINSTALL=yes
|WITHOUT_TESTS=yes
|WITHOUT_TFTP=yes
|WITHOUT_TIMED=yes
|WITHOUT_USB_GADGET_EXAMPLES=yes
|WITHOUT_WIRELESS=yes
|WITHOUT_WPA_SUPPLICANT_EAPOL=yes
|WITHOUT_ZFS=yes
|___
|freebsd-questi...@freebsd.org mailing list
|https://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
|
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help with crash dump

2019-09-24 Thread Christos Chatzaras


> On 24 Sep 2019, at 12:43, Igor V. Ruzanov  wrote:
> 
> Is your kernel custom and you were compile it? If yes, could you please 
> send kernel config to here?


The kernel is from 12.0-STABLE r351639.

I use the GENERIC config to compile the kernel but with custom src.conf:

cat /etc/src.conf

WITHOUT_AUTHPF=yes
WITHOUT_AUTOFS=yes
WITHOUT_BHYVE=yes
WITHOUT_BLUETOOTH=yes
WITHOUT_BOOTPARAMD=yes
WITHOUT_BOOTPD=yes
WITHOUT_BSDINSTALL=yes
WITHOUT_CCD=yes
WITHOUT_CTM=yes
WITHOUT_CUSE=yes
WITHOUT_CXGBETOOL=yes
WITHOUT_DEBUG_FILES=yes
WITHOUT_FLOPPY=yes
WITHOUT_FREEBSD_UPDATE=yes
WITHOUT_GCOV=yes
WITHOUT_HAST=yes
WITHOUT_HTML=yes
WITHOUT_HYPERV=yes
WITHOUT_I4B=yes
WITHOUT_IPFILTER=yes
WITHOUT_LPR=yes
WITHOUT_MLX5TOOL=yes
WITHOUT_MODULE_DRM=yes
WITHOUT_MODULE_DRM2=yes
WITHOUT_NCP=yes
WITHOUT_NDIS=yes
WITHOUT_OBJC=yes
WITHOUT_PF=yes
WITHOUT_PMC=yes
WITHOUT_PPP=yes
WITHOUT_PROFILE=yes
WITHOUT_RADIUS_SUPPORT=yes
WITHOUT_RBOOTD=yes
WITHOUT_REPRODUCIBLE_BUILD=yes
WITHOUT_SHAREDOCS=yes
WITHOUT_SYSINSTALL=yes
WITHOUT_TESTS=yes
WITHOUT_TFTP=yes
WITHOUT_TIMED=yes
WITHOUT_USB_GADGET_EXAMPLES=yes
WITHOUT_WIRELESS=yes
WITHOUT_WPA_SUPPLICANT_EAPOL=yes
WITHOUT_ZFS=yes
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help with crash dump

2019-09-24 Thread Igor V. Ruzanov
Is your kernel custom and you were compile it? If yes, could you please 
send kernel config to here?

|Id Refs AddressSize Name
| 1   12 0x8020  2446480 kernel
| 21 0x82648000281e0 geom_mirror.ko
| 31 0x82a21000 88e8 tmpfs.ko
| 41 0x82a2a000258f8 ipfw.ko
| 51 0x82a5  acf mac_ntpd.ko
| 61 0x82a51000 2940 nullfs.ko
|
|
|
|
|> On 24 Sep 2019, at 11:15, Igor V. Ruzanov  wrote:
|> 
|> What kernel modules do you load with this kernel? (show the list via 
|> kldstat)
|
|___
|freebsd-questi...@freebsd.org mailing list
|https://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
|
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help with crash dump

2019-09-24 Thread Christos Chatzaras
Id Refs AddressSize Name
 1   12 0x8020  2446480 kernel
 21 0x82648000281e0 geom_mirror.ko
 31 0x82a21000 88e8 tmpfs.ko
 41 0x82a2a000258f8 ipfw.ko
 51 0x82a5  acf mac_ntpd.ko
 61 0x82a51000 2940 nullfs.ko




> On 24 Sep 2019, at 11:15, Igor V. Ruzanov  wrote:
> 
> What kernel modules do you load with this kernel? (show the list via 
> kldstat)

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: help with crash dump

2019-09-24 Thread Igor V. Ruzanov
What kernel modules do you load with this kernel? (show the list via 
kldstat)


|Randomly every few weeks / months one of the servers I manage gets a panic. It 
doesn't happen on the same server every time.
|
|I run FreeBSD stable compiled on 2 September 2019 but it did happen with 
previous versions too and if I remember correctly it did happen with FreeBSD 11 
too.
|
|I don't have /usr/lib/debug/kernel files (I delete them to save some space) 
but I can recompile a new kernel / userland if it's needed.
|
|Any idea what the issue is?
|
|kgdb /boot/kernel/kernel ./vmcore.0
|GNU gdb (GDB) 8.3 [GDB v8.3 for FreeBSD]
|Copyright (C) 2019 Free Software Foundation, Inc.
|License GPLv3+: GNU GPL version 3 or later 
|This is free software: you are free to change and redistribute it.
|There is NO WARRANTY, to the extent permitted by law.
|Type "show copying" and "show warranty" for details.
|This GDB was configured as "x86_64-portbld-freebsd12.0".
|Type "show configuration" for configuration details.
|For bug reporting instructions, please see:
|.
|Find the GDB manual and other documentation resources online at:
|.
|
|For help, type "help".
|Type "apropos word" to search for commands related to "word"...
|Reading symbols from /boot/kernel/kernel...
|(No debugging symbols found in /boot/kernel/kernel)
|0x80bff56a in sched_switch ()
|(kgdb) bt
|#0  0x80bff56a in sched_switch ()
|#1  0x80bd9be2 in mi_switch ()
|#2  0x80c29175 in sleepq_catch_signals ()
|#3  0x80c28caf in sleepq_wait_sig ()
|#4  0x80bd960a in _sleep ()
|#5  0x80c64e02 in solisten_dequeue ()
|#6  0x80c6c763 in kern_accept4 ()
|#7  0x80c6ca40 in accept1 ()
|#8  0x810a48b4 in amd64_syscall ()
|#9  
|#10 0x000800ad68ca in ?? ()
|Backtrace stopped: Cannot access memory at address 0x7ffee648
|___
|freebsd-questi...@freebsd.org mailing list
|https://lists.freebsd.org/mailman/listinfo/freebsd-questions
|To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
|
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


help with crash dump

2019-09-23 Thread Christos Chatzaras
Randomly every few weeks / months one of the servers I manage gets a panic. It 
doesn't happen on the same server every time.

I run FreeBSD stable compiled on 2 September 2019 but it did happen with 
previous versions too and if I remember correctly it did happen with FreeBSD 11 
too.

I don't have /usr/lib/debug/kernel files (I delete them to save some space) but 
I can recompile a new kernel / userland if it's needed.

Any idea what the issue is?

kgdb /boot/kernel/kernel ./vmcore.0
GNU gdb (GDB) 8.3 [GDB v8.3 for FreeBSD]
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-portbld-freebsd12.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /boot/kernel/kernel...
(No debugging symbols found in /boot/kernel/kernel)
0x80bff56a in sched_switch ()
(kgdb) bt
#0  0x80bff56a in sched_switch ()
#1  0x80bd9be2 in mi_switch ()
#2  0x80c29175 in sleepq_catch_signals ()
#3  0x80c28caf in sleepq_wait_sig ()
#4  0x80bd960a in _sleep ()
#5  0x80c64e02 in solisten_dequeue ()
#6  0x80c6c763 in kern_accept4 ()
#7  0x80c6ca40 in accept1 ()
#8  0x810a48b4 in amd64_syscall ()
#9  
#10 0x000800ad68ca in ?? ()
Backtrace stopped: Cannot access memory at address 0x7ffee648
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"