[Bug 242592] bectl - cannot destroy a boot environment

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242592

Bug ID: 242592
   Summary: bectl -  cannot destroy a boot environment
   Product: Base System
   Version: 12.0-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: verma...@interia.pl

Hi,

I actually did not had any problems with bectl but there is a thread on FreeBSD
Forums that describes quite serious problem with bectl.

The beadm works well here.

This is the summary of the problem:
https://forums.freebsd.org/threads/cannot-destroy-a-boot-environment.73296/#post-447351

Here is the entire thread about the problem:
https://forums.freebsd.org/threads/cannot-destroy-a-boot-environment.73296

Regards.

-- 
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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

Gary Jennejohn  changed:

   What|Removed |Added

 Attachment #209887||maintainer-approval?
  Flags||

--- Comment #28 from Gary Jennejohn  ---
Created attachment 209887
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209887&action=edit
Patch to add SD card insertion/removal

A minor patch to Henri's code to add SD card insertion/removal handling. 
Doesn't fix the DMA problems, but I felt like doing something else.

Shamelessly stolen from dwmmc.c

-- 
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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #29 from Alexey Dokuchaev  ---
(In reply to Gary Jennejohn from comment #28)
> A minor patch to Henri's code to add SD card insertion/removal handling.
Thanks, I confirm it does fix card detection problem for me.

-- 
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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #30 from Greg V  ---
(In reply to Gary Jennejohn from comment #27)

> I never install a new kernel over the top of the old kernel.  Instead I do 
> this

installkernel does this for you! the old kernel is always moved to
/boot/kernel.old and you can select that in the bootloader.

-- 
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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #31 from h...@restart.be ---
(In reply to Gary Jennejohn from comment #28)

I update the git repository with the patch

Thanks a lot
Henri

-- 
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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

--- Comment #32 from Gary Jennejohn  ---
(In reply to Greg V from comment #30)
I'm well aware of what installkernel does.  But my way saves me the trouble of
telling the bootloader to boot from kernel.old if the new kernel fails.  I can
simply reboot and the known-working kernel under /boot/kernel will be loaded.

-- 
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 204521] [new driver] [request] Port rtsx from OpenBSD to FreeBSD

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204521

Mark Linimon  changed:

   What|Removed |Added

   Keywords|needs-patch |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 242606] Low capacity of Variable "IPSEC_MANUAL_REQID_MAX" crashes StrongSwan IPSec/IKEV2 VPN Server

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242606

Bug ID: 242606
   Summary: Low capacity of Variable "IPSEC_MANUAL_REQID_MAX"
crashes StrongSwan IPSec/IKEV2 VPN Server
   Product: Base System
   Version: 11.2-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: b...@freebsd.org
  Reporter: geova...@mprs.mp.br

Hi,

We have a IPSec/IKEV2 Server running in PFSense 2.4.4-RELEASE-p3 (amd64).
The VPN server serves an average of 40 concurrent mobile clients.
Each phase 1 tunnel created has three phase 2 tunnels.
When the "reqid" variable reaches the value "16384", the "trap not found" error
logged in the logs below occurs and users can connect but cannot traffic over
the VPN.
In my environment this value is reached approximately every 30 days.
To resolve the issue, I need to stop the VPN service and start it again for the
variable to be reset.

Logs samples:

Aug 18 20:12:10 vpn2 charon: 02[KNL] creating acquire job for policy
serverIP/32|/0 === clientIP/32|/0 with reqid {16384}
Aug 18 20:12:10 vpn2 charon: 13[CFG] trap not found, unable to acquire reqid
16384

Dec 11 11:34:34 vpn2 charon: 14[KNL] creating acquire job for policy
serverIP/32|/0 === clientIP/32|/0 with reqid {16384}
Dec 11 11:34:34 vpn2 charon: 01[CFG] trap not found, unable to acquire reqid
16384

Strongswan developer response:

That because of IPSEC_MANUAL_REQID_MAX (0x3fff == 16383), file
"include/uapi/linux/ipsec.h". Which is a strangely low limit (at least for
keying daemons like strongSwan that manage reqids themselves) since reqids are
32-bit numbers.

reqids are currently allocated sequentially using a sttic counter
(source:src/libcharon/kernel/kernel_interface.c#L328). The code that allocates
them does not know anything about the limit above (it doesn't even know or care
that it runs on a FreeBSD kernel).

My report:
https://forum.netgate.com/topic/148857/ipsec-ikev2-error-trap-not-found-unable-to-acquire-reqid

Others reports:

https://wiki.strongswan.org/issues/2315
https://lists.strongswan.org/pipermail/dev/2018-August/001929.html

-- 
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 242606] Low capacity of Variable "IPSEC_MANUAL_REQID_MAX" crashes StrongSwan IPSec/IKEV2 VPN Server

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242606

cr...@rlwinm.de changed:

   What|Removed |Added

 CC||cr...@rlwinm.de

--- Comment #1 from cr...@rlwinm.de ---
(In reply to Geovane from comment #0)

FreeBSD already contains a suitable allocator in "sys/kern/subr_unit.c".

-- 
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 242423] netstat -rs is broken

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242423

--- Comment #5 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bapt
Date: Thu Dec 12 19:17:26 UTC 2019
New revision: 355663
URL: https://svnweb.freebsd.org/changeset/base/355663

Log:
  MFC: r34

  Fix: netstat -rs

  Routing statistics requires somes symbols that are only loaded when not
running
  live. Load them only in that specific case

  PR:   242423
  Submitted by: olivier

Changes:
_U  stable/12/
  stable/12/usr.bin/netstat/main.c

-- 
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 242423] netstat -rs is broken

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242423

--- Comment #6 from commit-h...@freebsd.org ---
A commit references this bug:

Author: bapt
Date: Thu Dec 12 19:17:30 UTC 2019
New revision: 355664
URL: https://svnweb.freebsd.org/changeset/base/355664

Log:
  MFC: r34

  Fix: netstat -rs

  Routing statistics requires somes symbols that are only loaded when not
running
  live. Load them only in that specific case

  PR:   242423
  Submitted by: olivier

Changes:
_U  stable/11/
  stable/11/usr.bin/netstat/main.c

-- 
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 208417] Infinite attempts to write to (broken?) flash drive, panic on detach

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208417

Dmitry Marakasov  changed:

   What|Removed |Added

 Resolution|--- |Overcome By Events
 Status|New |Closed

-- 
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 208420] /usr/bin/less incorrectly displays long lines

2019-12-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208420

Dmitry Marakasov  changed:

   What|Removed |Added

 Resolution|--- |Overcome By Events
 Status|New |Closed

-- 
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"