[Bug 234576] hastd exits ungracefully

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234576

kristoferu...@gmail.com changed:

   What|Removed |Added

 CC||kristoferu...@gmail.com

--- Comment #10 from kristoferu...@gmail.com ---
Hi !

The bug exist also in  12.1-RELEASE-p2 !

But after I change this parameter in sysctl.conf it does't crash and it work
but i see errors in var/log/messages

vfs.zfs.vdev.aggregation_limit=131072


Should i now ignore this messages because hastd work now or should i wait unitl
it is really patched and solved ?  


tail -f /var/log/messages
Feb 20 09:10:37 corenms05 ZFS[3763]: vdev state changed,
pool_guid=$4360509226546282020 vdev_guid=$2569110880091377904
Feb 20 09:10:37 corenms05 ZFS[3764]: vdev state changed,
pool_guid=$4360509226546282020 vdev_guid=$2569110880091377904
Feb 20 09:12:25 corenms05 ZFS[3782]: vdev state changed,
pool_guid=$15391729478973725868 vdev_guid=$9988338874194028097
Feb 20 09:12:33 corenms05 ZFS[3784]: vdev state changed,
pool_guid=$10796502155625076131 vdev_guid=$11635147478626981087
Feb 20 09:16:14 corenms05 hastd[3464]: [mirror1] (secondary) Worker process
exited ungracefully (pid=3790, exitcode=75).
Feb 20 09:16:19 corenms05 hastd[3464]: [mirror2] (secondary) Worker process
exited ungracefully (pid=3791, exitcode=75).
Feb 20 09:16:38 corenms05 ZFS[3818]: vdev state changed,
pool_guid=$15391729478973725868 vdev_guid=$9988338874194028097
Feb 20 09:16:38 corenms05 ZFS[3819]: vdev state changed,
pool_guid=$15391729478973725868 vdev_guid=$9988338874194028097
Feb 20 09:16:45 corenms05 ZFS[3821]: vdev state changed,
pool_guid=$10796502155625076131 vdev_guid=$11635147478626981087
Feb 20 09:16:45 corenms05 ZFS[3822]: vdev state changed,
pool_guid=$10796502155625076131 vdev_guid=$11635147478626981087

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244241

Bug ID: 244241
   Summary: ng_eiface: panic: epoch_wait_preempt() called in the
middle of an epoch section of the same epoch
   Product: Base System
   Version: CURRENT
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: aleksandr.fedo...@itglobal.com

After creating 10-20 ngethN interfaces (ngctl mkpeer . eiface test ether), I
observe the following panic:

Unread portion of the kernel message buffer:
panic: epoch_wait_preempt() called in the middle of an epoch section of the
same epoch  
cpuid = 2   
time = 1582189253   
KDB: stack backtrace:   
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe027869a520  
vpanic() at vpanic+0x185/frame 0xfe027869a580   
panic() at panic+0x43/frame 0xfe027869a5e0  
epoch_wait_preempt() at epoch_wait_preempt+0x293/frame 0xfe027869a640   
if_alloc_domain() at if_alloc_domain+0x1d0/frame 0xfe027869a680 
ng_eiface_constructor() at ng_eiface_constructor+0x74/frame 0xfe027869a6c0  
ng_make_node() at ng_make_node+0xba/frame 0xfe027869a6f0
ng_mkpeer() at ng_mkpeer+0x24/frame 0xfe027869a740
ng_apply_item() at ng_apply_item+0x49d/frame 0xfe027869a7c0
ng_snd_item() at ng_snd_item+0x2b0/frame 0xfe027869a800
ngc_send() at ngc_send+0x1b7/frame 0xfe027869a8b0
sosend_generic() at sosend_generic+0x44c/frame 0xfe027869a960
sosend() at sosend+0x66/frame 0xfe027869a990 
kern_sendit() at kern_sendit+0x21d/frame 0xfe027869aa20
sendit() at sendit+0x1d5/frame 0xfe027869aa70
sys_sendto() at sys_sendto+0x4d/frame 0xfe027869aac0
amd64_syscall() at amd64_syscall+0x168/frame 0xfe027869abf0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfe027869abf0
--- syscall (133, FreeBSD ELF64, sys_sendto), rip = 0x800475c3a, rsp =
0x7fffce08, rbp = 0x7fffce50 ---
Uptime: 18h46m4s
Dumping 8823 out of 130910 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

__curthread () at /afedorov/freebsd-develop/sys/amd64/include/pcpu_aux.h:55
55  /afedorov/freebsd-develop/sys/amd64/include/pcpu_aux.h: No such file or
directory.
(kgdb) bt
#0  __curthread () at /afedorov/freebsd-develop/sys/amd64/include/pcpu_aux.h:55
#1  doadump (textdump=1) at
/afedorov/freebsd-develop/sys/kern/kern_shutdown.c:393
#2  0x80bc7c50 in kern_reboot (howto=260) at
/afedorov/freebsd-develop/sys/kern/kern_shutdown.c:480
#3  0x80bc80ad in vpanic (fmt=, ap=) at
/afedorov/freebsd-develop/sys/kern/kern_shutdown.c:910
#4  0x80bc7e03 in panic (fmt=) at
/afedorov/freebsd-develop/sys/kern/kern_shutdown.c:836
#5  0x80c0c9e3 in epoch_wait_preempt (epoch=0xf8010691ef00) at
/afedorov/freebsd-develop/sys/kern/subr_epoch.c:610
#6  0x80cd1fe0 in if_alloc_domain (type=6 '\006', numa_domain=255) at
/afedorov/freebsd-develop/sys/net/if.c:541
#7  0x82e6a094 in ng_eiface_constructor (node=0xf801fa8df900) at
/afedorov/freebsd-develop/sys/netgraph/ng_eiface.c:393
#8  0x82e6d0ba in ng_make_node (typename=0xf801f5238538 "eiface",
nodepp=0xfe027869a708) at
/afedorov/freebsd-develop/sys/netgraph/ng_base.c:618
#9  0x82e71d74 in ng_mkpeer (node=0xf801fa8df800,
name=0xf801f5238558 "test", name2=0xf801f5238578 "ether",
type=)
at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:1547
#10 0x82e6fbbd in ng_generic_msg (here=0xf801fa8df800,
item=0xf812b7f86080, lasthook=) at
/afedorov/freebsd-develop/sys/netgraph/ng_base.c:2538
#11 ng_apply_item (node=0xf801fa8df800, item=0xf812b7f86080,
rw=) at /afedorov/freebsd-develop/sys/netgraph/ng_base.c:2438
#12 0x82e6f520 in ng_snd_item (item=0xf812b7f86080, flags=0) at
/afedorov/freebsd-develop/sys/netgraph/ng_base.c:2321
#13 0x82e79db7 in ngc_send (so=, flags=,
m=0xf802c6a2b000, addr=, control=,
td=)
at /afedorov/freebsd-develop/sys/netgraph/ng_socket.c:342
#14 0x80c678fc in sosend_generic (so=0xfe01e5d28710,
addr=0xf801071785f0, uio=0xfe027869a9a8, top=0xf802c6a2b000,
control=, flags=0, 
td=0xfe0277d02300) at
/afedorov/freebsd-develop/sys/kern/uipc_socket.c:1650
#15 0x80c67b36 in sosend (so=, addr=,
uio=, top=, control=0x0, flags=,
td=0xfe0277d02300)
at /afedorov/freebsd-develop/sys/kern/uipc_socket.c:1705
#16 0x80c6e98d in kern_sendit (td=, s=3,
mp=0xfe027869aa80, flags=0, control=, segflg

[Bug 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244241

--- Comment #1 from Hans Petter Selasky  ---
The netgraph code might need to be refactored. Allocating a network interface
inside the send path seems risky.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244241] ng_eiface: panic: epoch_wait_preempt() called in the middle of an epoch section of the same epoch

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244241

Mark Linimon  changed:

   What|Removed |Added

 CC|n...@freebsd.org |
   Assignee|b...@freebsd.org|n...@freebsd.org
   Keywords||panic

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244193] quota not working for jails in release 12.0 & 12.1

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244193

Mark Linimon  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|j...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 243324] Module with 'mii' can panic during kldunload

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243324

Mark Linimon  changed:

   What|Removed |Added

   Keywords||panic

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 243646] panic: bad pte va 966000 pte 0

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243646

Mark Linimon  changed:

   What|Removed |Added

   Keywords||panic

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244226] [patch] syslogd converts all 8-bit chars to M-x sequences

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244226

Mark Linimon  changed:

   What|Removed |Added

   Keywords||patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244247] Kernel panic when removing 700 vlans via netgraph

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244247

Bug ID: 244247
   Summary: Kernel panic when removing 700 vlans via netgraph
   Product: Base System
   Version: 12.1-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: ad...@support.od.ua

Created attachment 211776
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211776&action=edit
ifconfig output

Kernel panic when removing 700 vlans via netgraph

I have a virtual machine on Virtualbox with 2 core CPU and 2 GP RAM.
I have non-GENERIC kernel.
Problem Source - PR 187835.

# uname -a
FreeBSD core.domain.com 12.1-STABLE FreeBSD 12.1-STABLE r358094 SUPPORT-12-1-0 
amd64

# kldstat
Id Refs AddressSize Name
 1   10 0x8020  25a7a78 kernel
 21 0x827a8000   3ad5b8 zfs.ko
 32 0x82b56000 a3f0 opensolaris.ko


How to play kernel panic:

1) Add tuning sysctl

#sysctl net.graph.recvspace=2048000
#sysctl net.graph.maxdgram=2048000
#sysctl kern.ipc.nmbclusters=400
#sysctl kern.ipc.maxsockbuf=83886080

2) adding 564 vlan
#cat << EOF >> test_creating_vlan.sh
#!/bin/sh

# man ng_vlan

ETHER_IF=em2

ngctl -f- <> test_creating_vlan.2.sh
#!/bin/sh

# man ng_vlan

ETHER_IF=em2

ngctl -f- 

[Bug 244247] Kernel panic when removing 700 vlans via netgraph

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244247

--- Comment #1 from Vladislav V. Prodan  ---
Created attachment 211777
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211777&action=edit
kgdb output

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244247] Kernel panic when removing 700 vlans via netgraph

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244247

Vladislav V. Prodan  changed:

   What|Removed |Added

   Keywords||crash

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244247] Kernel panic when removing 700 vlans via netgraph

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244247

--- Comment #2 from Vladislav V. Prodan  ---
Created attachment 211778
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211778&action=edit
File /etc/rc.conf output

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 243738] unzip cannot handle LZMA-compressed ZIP-entries

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243738

Mikhail Teterin  changed:

   What|Removed |Added

 Status|New |In Progress

--- Comment #4 from Mikhail Teterin  ---
I noticed an upgrade to src/contrib/libarchive, rebuilt my 11.x world and
voila, both unzip(1) and tar(1) can now extract files put together with my
sample Python-script. Thank you.

The libarchive commit didn't mention this ticket, can it be closed or must
something else happen (like 10.x update)?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 243738] unzip cannot handle LZMA-compressed ZIP-entries

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243738

Conrad Meyer  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|In Progress |Closed

--- Comment #5 from Conrad Meyer  ---
10.x is an EOL branch.  Given the fix in 11, I think this can be resolved.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244258] usr.bin/addr2line: build fail without capsicum

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244258

Bug ID: 244258
   Summary: usr.bin/addr2line: build fail without capsicum
   Product: Base System
   Version: 12.1-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: rozhuk...@gmail.com

Mine /etc/src.conf contains:
WITHOUT_CAPSICUM=
WITHOUT_CASPER=

On world build I got:

In file included from /usr/src/contrib/elftoolchain/addr2line/addr2line.c:30:
/usr/include/capsicum_helpers.h:42:10: fatal error: 'libcasper.h' file not
found
#include 
 ^
1 error generated.
--- addr2line.o ---
*** [addr2line.o] Error code 1

make[3]: stopped in /usr/src/usr.bin/addr2line
1 error

make[3]: stopped in /usr/src/usr.bin/addr2line
--- cross-tools ---
*** [cross-tools] Error code 2

make[2]: stopped in /usr/src
1 error

make[2]: stopped in /usr/src

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 244258] usr.bin/addr2line: build fail without capsicum

2020-02-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244258

rozhuk...@gmail.com changed:

   What|Removed |Added

URL||https://reviews.freebsd.org
   ||/D21104
 CC||rozhuk...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"