Re: vt(4)-related hang of 11.2

2018-12-06 Thread Eugene Grosbein
In most cases it's just wrong info passed from UEFI firmware about FB. try to hardcode FrameBuffer params into vt_efb driver, to know exatly. >>> >>> Forgot to add importand detail: it boots and works with vt(4) using FreeBSD >>> 11.1. >>> >> >> r322258 is known working stable/11 revison

Re: USB disks dropping off-line

2019-01-12 Thread Eugene Grosbein
13.01.2019 0:12, Barney Wolff wrote: > On Fri, Jan 11, 2019 at 11:31:55PM -0800, Kevin Oberman wrote: >> Que Twilight Zone theme. For your consideration: This started in December >> when I was running 11.2-STABLE. Starting in December, when I try to backup >> my laptop to a USB drive, it periodica

Status of libarchive/bsdtar maintainership

2019-01-31 Thread Eugene Grosbein
Hi! I wonder what is status of our contrib/libarchive and bsdtar/bsdcpio etc. in modern versions of FreeBSD in a sense of serious bug fixing. Long story short: I faced a bug in the libarchive bundled with 11.2 that makes it impossible to create reliable backups of live file system or its subtre

Re: Status of libarchive/bsdtar maintainership

2019-01-31 Thread Eugene Grosbein
On 01.02.2019 11:10, Warner Losh wrote: > On Thu, Jan 31, 2019, 8:22 PM Eugene Grosbein <mailto:eu...@grosbein.net> wrote: > > Hi! > > I wonder what is status of our contrib/libarchive and bsdtar/bsdcpio etc. > in modern versions of FreeBSD > in a sense

Re: Status of libarchive/bsdtar maintainership

2019-02-02 Thread Eugene Grosbein
02.02.2019 6:35, Warner Losh wrote: > They didn't fix it in 3 months, sure. But it wasn't clear from the issue > that you had an actual fix (I certainly missed that the first time through > when I only looked at the github and not at our bug database). > I'd try submitting a pull request and see w

Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-19:05.kqueue

2019-02-05 Thread Eugene Grosbein
06.02.2019 3:18, Ian Lepore wrote: >> 2019, of course. re@ does NOT make mistakes. What you fail to >> realize is that NIST was using kqueue to check their atomic clock, and >> they lost the race. Enjoy the rest of 2020. >> -Alan >> > > I think you meant that as a joke, but the reality is that

Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-19:05.kqueue

2019-02-05 Thread Eugene Grosbein
06.02.2019 3:55, Ian Lepore wrote: > So your problem was most likely the gps receiver making a bad choice > before it had enough info to make a good choice. It's one of many > reasons why an ntp server should have at least 3 (really, at least 5) > peers, so it can reject obviously-insane data from

amd64, run-time linker and 32bit

2019-02-10 Thread Eugene Grosbein
Hi! Why our 32-bit run-time linker looks for shared libraries in the /usr/local/lib despite of its absence in /var/run/ld-elf32.so.hints while 32-bit binary is started under FreeBSD 11.2-STABLE/amd64 ? If it finds 64-bit version of library in /usr/local/lib, it fails immediately and does not eve

11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
Hi! Long story short: 11.2-STABLE/amd64 r335757 leaked over 4600MB kernel wired memory over 81 days uptime out of 8GB total RAM. Details follow. I have a workstation running Xorg, Firefox, Thunderbird, LibreOffice and occasionally VirtualBox for single VM. It has two identical 320GB HDDs comb

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
12.02.2019 23:34, Mark Johnston wrote: > I suspect that the "leaked" memory is simply being used to cache UMA > items. Note that the values in the FREE column of vmstat -z output are > quite large. The cached items are reclaimed only when the page daemon > wakes up to reclaim memory; if there ar

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
12.02.2019 23:49, Eugene Grosbein wrote: > 12.02.2019 23:34, Mark Johnston wrote: > >> I suspect that the "leaked" memory is simply being used to cache UMA >> items. Note that the values in the FREE column of vmstat -z output are >> quite large. The cached item

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
12.02.2019 23:34, Mark Johnston wrote: > I suspect that the "leaked" memory is simply being used to cache UMA > items. Note that the values in the FREE column of vmstat -z output are > quite large. The cached items are reclaimed only when the page daemon > wakes up to reclaim memory; if there ar

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 0:57, Garrett Wollman wrote: > In article > eu...@grosbein.net writes: > >> Long story short: 11.2-STABLE/amd64 r335757 leaked over 4600MB kernel >> wired memory over 81 days uptime >> out of 8GB total RAM. > > Not a whole lot of evidence yet, but anecdotally I'm seeing the same > th

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 1:14, Eugene Grosbein wrote: > Use following command to see how much memory is wasted in your case: > > vmstat -z | awk -F, '{printf "%10s %s\n", $2*$5/1024/1024, $1}' | sort -k1,1 > -rn | head Oops, small correction: vmstat -z | sed 's/:/,/&#

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 1:29, Kurt Jaeger wrote: > On a 8 GB 11.2p8 box doing mostly routing: > > 42.3047 abd_chunk > 40 zio_buf_131072 > 31.75 zio_data_buf_131072 >19.8901 swblk >12.9224 RADIX NODE >11.7344 zio_buf_16384 >10.0664 zio_data_buf_12288 >9.84375 zio_data_buf_409

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 1:18, Mark Johnston wrote: > On Wed, Feb 13, 2019 at 01:03:37AM +0700, Eugene Grosbein wrote: >> 12.02.2019 23:34, Mark Johnston wrote: >> >>> I suspect that the "leaked" memory is simply being used to cache UMA >>> items. Note that the va

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 1:42, Mark Johnston wrote: >> Yes, I have debugger compiled into running kernel and have console access. >> What commands should I use? > > I meant kgdb(1). If you can run that, try: > > (kgdb) p time_uptime > (kgdb) p lowmem_uptime > > If you are willing to drop the system into DDB

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 1:18, Mark Johnston wrote: > Depending on the system's workload, it is possible for the caches to > grow quite quickly after a reclaim. If you are able to run kgdb on the > kernel, you can find the time of the last reclaim by comparing the > values of lowmem_uptime and time_uptime. (k

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 1:50, Lev Serebryakov wrote: > I'm have same problem. > > According to top(1) I have 29G Wired, but only 17G Total ARC (12G > difference! System has 32G of RAM), and this statistic shows: > > 5487.5 zio_data_buf_524288 >920.125 zio_data_buf_131072 >626 zio_buf_131072

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Eugene Grosbein
13.02.2019 2:18, Mike Tancsa wrote: > On an nfs server, serving a few large files, my 32G box is showing > > vmstat -z | sed 's/:/,/' | awk -F, '{printf "%10s %s\n", > $2*$5/1024/1024, $1}' | sort -k1,1 -rn | head >11014.3 abd_chunk > 2090.5 zio_data_buf_131072 >1142.67 mbuf_jumbo_pag

Re: 11.2-STABLE kernel wired memory leak

2019-02-13 Thread Eugene Grosbein
12.02.2019 23:34, Mark Johnston wrote: > On Tue, Feb 12, 2019 at 11:14:31PM +0700, Eugene Grosbein wrote: >> Hi! >> >> Long story short: 11.2-STABLE/amd64 r335757 leaked over 4600MB kernel wired >> memory over 81 days uptime >> out of 8GB total RAM. >

Re: 11.2-STABLE kernel wired memory leak

2019-02-13 Thread Eugene Grosbein
On 13.02.2019 19:04, Eugene Grosbein wrote: > 12.02.2019 23:34, Mark Johnston wrote: > >> On Tue, Feb 12, 2019 at 11:14:31PM +0700, Eugene Grosbein wrote: >>> Hi! >>> >>> Long story short: 11.2-STABLE/amd64 r335757 leaked over 4600MB kernel wired >&g

Re: 11.2-STABLE kernel wired memory leak

2019-02-20 Thread Eugene Grosbein
20.02.2019 3:49, Mike Tancsa wrote: > On 2/19/2019 2:35 PM, Mike Tancsa wrote: >> dd if=/dev/zero of=/tanker/test bs=1m count=10 > > The box has 32G of RAM. If I do a > > # sysctl -w vfs.zfs.arc_max=12224866304 > vfs.zfs.arc_max: 32224866304 -> 12224866304 > # > > after WIRED memory is at 2

Re: libcrypto.so.111 linked binaries SIGSEGV (in bhyve guest)

2019-02-21 Thread Eugene Grosbein
21.02.2019 22:27, Harry Schmalzbauer wrote: >> The object is clearly corrupted. > > Thanks to your hint to readelf, I found out that it gets corrupted during > dump(8) (or resotore, not yet analyzed). > The obj tree contains the good version, the dump archive not. > The dump archive is used as s

Re: source upgrade FBSD10 -> 11 (then 12)

2019-02-28 Thread Eugene Grosbein
28.02.2019 23:18, Lee Damon wrote: > I have three old FBSD 10 boxes that I need to upgrade. Ordinarily I do this > by building a new box with the latest OS then migrating services and data. > Unfortunately I don't have that option this time, the upgrade has to happen > in-place. My plan is to g

hw.vga.acpi_ignore_no_vga=1 for installation media

2019-03-16 Thread Eugene Grosbein
Hi! Since 11.2-RELESE, default console driver vt(4) checks ACPI table for presence of VGA in the system. It does not initialize console (no input, no output) if ACPI states there is no VGA adapter. There are PRs describing many cases when VGA is present but ACPI lies and we have a regression co

Re: Observations from a ZFS reorganization on 12-STABLE

2019-03-17 Thread Eugene Grosbein
17.03.2019 21:58, Karl Denninger wrote: > Huh? A simple *filesystem copy* managed to force a 16Gb system into > requiring page file backing store? > > I was able to complete the copy by temporarily adding the swap space > back on (where it would be when the move was complete) but that > requirem

Re: hw.vga.acpi_ignore_no_vga=1 for installation media

2019-03-17 Thread Eugene Grosbein
18.03.2019 0:34, Konstantin Belousov wrote: > Can anybody provide an example of machine where the flag is set but VGA > works ? For me, it is set on headless NUC when there is no monitor > attached, and then BIOS does not configure framebuffer at all. http://freebsd.1045724.x6.nabble.com/vt-4-re

Re: hw.vga.acpi_ignore_no_vga=1 for installation media

2019-03-18 Thread Eugene Grosbein
18.03.2019 17:22, Konstantin Belousov wrote: > That said, did anybody considered ignoring NO_VGA FACP flag on Silvermonts > only ? Or even better, gather SMBIOS identifications for affected BIOSes > and ignore the flag for them ? Is SMBIOS-bases blacklisting reliable considering future BIOS upda

Re: ipsec/gif(4) tunnel not working: traffic not appearing on the gif(4) interface after deciphering

2019-03-26 Thread Eugene Grosbein
26.03.2019 14:26, Eugene M. Zheganin wrote: > I have a FreeBSD 11.1 box with 2 public IPs that has two tunnels to another > FreeBSD box with 1 public IP. One of these tunnels is working, the other > isn't. Long story short: I have some experience in ipsec tunnels setup. and I > supposed that ha

Re: about zfs and ashift and changing ashift on existing zpool

2019-04-08 Thread Eugene Grosbein
09.04.2019 7:00, Kevin P. Neal wrote: >> My guess (given that only ada1 is reporting a blocksize mismatch) is that >> your disks reported a 512B native blocksize. In the absence of any override, >> ZFS will then build an ashift=9 pool. [skip] > smartctl 7.0 2018-12-30 r4883 [FreeBSD 11.2-RELEAS

Re: route based ipsec

2019-05-07 Thread Eugene Grosbein
08.05.2019 3:23, KOT MATPOCKuH wrote: > I'm misunderstand what in my configuration can result core dumps a running > daemon... > I'm attached a sample racoon.conf. Can You check for possible problems? > Also on one host I got a crash in another function: > (gdb) bt > #0 0x0024717f in priv

Re: trying to expand a zvol-backed bhyve guest which is UFS

2019-05-20 Thread Eugene Grosbein
20.05.2019 9:14, Freddie Cash wrote: > On Sun, May 19, 2019, 6:59 PM Paul Mather, wrote: > >> On May 19, 2019, at 9:46 PM, tech-lists wrote: >> >>> Hi, >>> >>> context is 12-stable, zfs, bhyve >>> >>> I have a zvol-backed bhyve guest. Its zvol size was initially 512GB >>> It needed to be expand

Re: Gmirror and bigger disks (growfs)

2019-06-01 Thread Eugene Grosbein
01.06.2019 19:04, Nenhum_de_Nos wrotr: > Hi, > > I replaced a faulty disk from a gmirror some time ago. The array had two > 1TB disks and I got one 2TB disk there. Now I replaced the second one and > tried to growfs it. No good for me. First you need to resize the mirror itself with "gmirror resi

Re: Gmirror and bigger disks (growfs)

2019-06-01 Thread Eugene Grosbein
01.06.2019 19:57, Eugene Grosbein wrote: > 01.06.2019 19:04, Nenhum_de_Nos wrotr: >> Hi, >> >> I replaced a faulty disk from a gmirror some time ago. The array had two >> 1TB disks and I got one 2TB disk there. Now I replaced the second one and >> tried to grow

Re: fsck vs zvol

2019-06-11 Thread Eugene Grosbein
12.06.2019 8:04, O'Connor, Daniel wrote: > Hi, > I have a small UFS partition that is the sysvol for Samba 4 (otherwise it > doesn't work due to ACL issues). > > I found that I usually have to manually fsck it on a bad reboot, even if I > have fsck_y_enable so I added a hack to /etc/rc.d/fsck t

Re: fsck vs zvol

2019-06-11 Thread Eugene Grosbein
12.06.2019 12:17, O'Connor, Daniel wrote: >> Please show your /etc/fstab line for this UFS-inside-ZVOL and your changes >> to rc.d/fsck. >> Your logs do not show that fsck is started so I presume some mistake in the >> /etc/fstab. >> Maybe you forgot that it needs non-zero sixth field. > > The

Re: fsck vs zvol

2019-06-12 Thread Eugene Grosbein
12.06.2019 12:17, O'Connor, Daniel wrote: >>> The Samba 4 ZFS is from https://wiki.freebsd.org/Samba4ZFS (which I wrote..) You should correct this page and change the line for /etc/fstab and use non-zero value for fsck pass number. ___ freebsd-stable@f

Re: Kernel panic in zfs code; 12-STABLE

2019-07-18 Thread Eugene Grosbein
19.07.2019 3:13, Karl Denninger wrote: > FreeBSD 12.0-STABLE #2 r349024M: Thu Jun 13 18:01:16 CDT 2019 > k...@newfs.denninger.net:/usr/obj/usr/src/amd64.amd64/sys/KSD-SMP > > Note -- no patches of any sort in the ZFS code; I am NOT running any of > my former patch set. > > NewFS.denninger.ne

Re: ZFS root mount regression

2019-07-20 Thread Eugene Grosbein
CC'ing Alexander Motin who comitted the change. 20.07.2019 1:21, Garrett Wollman wrote: > I recently upgraded several file servers from 11.2 to 11.3. All of > them boot from a ZFS pool called "tank" (the data is in a different > pool). In a couple of instances (which caused me to have to take a

Re: extremely slow boot of RELENG_10

2019-07-31 Thread Eugene Grosbein
31.07.2019 22:30, mike tancsa wrote: > While moving a pair of ZFS disks from an *very* old motherboard to a new > one, I ran into an odd problem I had not seen before. The box was > running just fine RELENG_10 from FreeBSD 10.1-STABLE #18 r279918 on 10yr > old MB. Boots normally and expected spee

Re: Running iperf3 as a server drops all connections to a machine

2019-09-29 Thread Eugene Grosbein
30.09.2019 3:11, Pete French wrote: > Its a bit worrying to me that this can happen, especially in userland. > > Any opinions or things people would ike me to check ? netstat -p tcp -ss tcpdump -i $interface -npvs0 icmp or 'tcp[tcpflags] & (tcp-rst) != 0' ___

Re: pkg thinks kernel is old

2019-10-11 Thread Eugene Grosbein
11.10.2019 18:57, Bengt Ahlgren wrote: >> Can you show the output of file /usr/bin/uname ? > > $ uname -aKU > FreeBSD P142.sics.se 11.3-STABLE FreeBSD 11.3-STABLE #9 r353280: Mon Oct 7 > 22:16:02 CEST 2019 r...@p142.sics.se:/storage/obj/usr/src/sys/X250 amd64 > 1103500 1103500 > > no sig

Re: 12.1 weirdness

2019-10-17 Thread Eugene Grosbein
17.10.2019 12:37, Daniel Braniss wrote: > just trying out 12,1 on a DELL PowerEdge R710, and I see: > ... > Oct 16 22:52:12 store-08 kernel: bce3: bce_pulse(): Warning: bootcode thinks > driver is absent! (bc_state = 0x0023600E) > Oct 16 22:52:13 store-08 kernel: Limiting icmp unreach response fr

Re: kernel bug in 11.3-STABLE causes frequent crashes

2019-11-09 Thread Eugene Grosbein
09.11.2019 19:45, Scott Bennett пишет: > The rest of this message was posted a little while ago to the > freebsd-questions list by mistake. It was intended for freebsd-stable, > so I am posting it here now after posting a brief apology on the other > list. > I have had to waste a great d

Re: kernel bug in 11.3-STABLE causes frequent crashes

2019-11-09 Thread Eugene Grosbein
09.11.2019 19:45, Scott Bennett wrote: > The rest of this message was posted a little while ago to the > freebsd-questions list by mistake. It was intended for freebsd-stable, > so I am posting it here now after posting a brief apology on the other > list. > I have had to waste a great

bhyve memory leak in stable/11

2019-11-14 Thread Eugene Grosbein
Hi! After 1 day and 11 hours of host's uptime I observe significant leak of bhyve instances RSS: PID USERNAMETHR PRI NICE SIZERES STATE C TIMEWCPU COMMAND 8 root 34 200 60320M 58866M kqread 21 62.0H 692.35% bhyve: sappdev (bhyve) 5546 root 26 20

panic: I/O to pool appears to be hung on vdev

2019-11-14 Thread Eugene Grosbein
Hi! Recently I did routine source upgrade from 11.2-STABLE/amd64 to 11.3-STABLE r354667 that went without any problem. After less than 2 days of uptime it paniced and failed to reboot (hung), screenshot is here: http://www.grosbein.net/freebsd/zpanic.png It did not panic with 11.2-STABLE but ha

Re: panic: I/O to pool appears to be hung on vdev

2019-11-14 Thread Eugene Grosbein
15.11.2019 13:08, Eugene Grosbein wrote: > Hi! > > Recently I did routine source upgrade from 11.2-STABLE/amd64 to 11.3-STABLE > r354667 > that went without any problem. After less than 2 days of uptime it paniced > and failed to reboot (hung), > screenshot is here: ht

Re: panic: I/O to pool appears to be hung on vdev

2019-11-14 Thread Eugene Grosbein
15.11.2019 13:08, Eugene Grosbein wrote: > Hi! > > Recently I did routine source upgrade from 11.2-STABLE/amd64 to 11.3-STABLE > r354667 > that went without any problem. After less than 2 days of uptime it paniced > and failed to reboot (hung), > screenshot is here: ht

Re: bhyve memory leak in stable/11

2019-11-16 Thread Eugene Grosbein
16.11.2019 6:24, Xin LI wrote: > There are several leaks fixed recently, but not all of them were merged back > to stable/11 (e.g. r341705 which may or may not be related to your issue). > > Personally, I'd recommend updating to 12.x for new features as they are being > actively developed and wo

Re: bhyve memory leak in stable/11

2019-11-16 Thread Eugene Grosbein
16.11.2019 6:24, Xin LI wrote: > There are several leaks fixed recently, but not all of them were merged back > to stable/11 (e.g. r341705 which may or may not be related to your issue). It seems that fix deals with virtio-scsi but all guest systems use virtio-net and ahci-hd here.

Re: bhyve memory leak in stable/11

2019-11-18 Thread Eugene Grosbein
After 2 days of uptime there is a guest that should have only 2GB of RAM but uses nearly 22G "extra": # ps -o vsz,rss,command | grep sfile01 29234040 24851428 bhyve: sfile01 (bhyve) # bhyvectl --vm=sfile01 --get-all | grep -B1 -A1 mem ID Length Name 0 2048MB sysmem 1 2048KB b

Re: bhyve memory leak in stable/11

2019-11-18 Thread Eugene Grosbein
18.11.2019 19:03, Eugene Grosbein wrote: > Please point me to right direction for debugging this. Is it normal that over 1/3rd of 360G total physical RAM is in "Laundry" category in addition to 173G Wired? last pid: 20372; load averages: 8.04, 7.73, 7.84

Re: jexec as user?

2019-11-20 Thread Eugene Grosbein
20.11.2019 16:47, Ronald Klop wrote: > Thanks for all the advice. I am indeed looking for using jail from the > non-root user in the host. Jailme sounds like a good solution. > > My use case is providing a relatively save way of giving a user the > possibility to experiment with root rights (li

Logging boot messages from the loader

2019-11-21 Thread Eugene Grosbein
Hi! How do I get boot messages generated by loader itself written to some log after successfull boot? This is generic BIOS-based 11.3-STABLE/amd64 system with syscons console driver. /var/run/dmesg.boot starts with kernel messages without previous lines from the loader. Specifically, I need mes

Re: Logging boot messages from the loader

2019-11-21 Thread Eugene Grosbein
21.11.2019 17:22, Bjoern A. Zeeb wrote: > On 21 Nov 2019, at 9:51, Eugene Grosbein wrote: > >> Hi! >> >> How do I get boot messages generated by loader itself written to some log >> after successfull boot? >> This is generic BIOS-based 11.3-STABLE/amd64 sy

Re: Logging boot messages from the loader

2019-11-21 Thread Eugene Grosbein
21.11.2019 18:35, David Wolfskill wrote: >> How do I get boot messages generated by loader itself written to some log >> after successfull boot? >> This is generic BIOS-based 11.3-STABLE/amd64 system with syscons console >> driver. >> >> /var/run/dmesg.boot starts with kernel messages without pr

Slow zfs destroy

2019-11-27 Thread Eugene Grosbein
Hi! Is it normal that "zfs destroy" for one ZVOL with attribute "used" equal to 2112939808 bytes (~2GB) takes over two minutes waiting on "tx_sync_done_cv"? The pool is RAID1 over five SSDs encrypted with GELI having ZIL and Cache on distinct unencrypted SSD. 11.3-STABLE/amd64 r354667. System h

Re: Slow zfs destroy

2019-11-27 Thread Eugene Grosbein
28.11.2019 13:46, Eugene Grosbein wrote: > Hi! > > Is it normal that "zfs destroy" for one ZVOL with attribute "used" equal to > 2112939808 bytes (~2GB) > takes over two minutes waiting on "tx_sync_done_cv"? The pool is RAID1 over > five SSDs enc

Re: Slow zfs destroy

2019-11-28 Thread Eugene Grosbein
28.11.2019 16:38, Pete French wrote: > On 28/Nov/2019 07:03, Eugene Grosbein wrote: >> 28.11.2019 13:46, Eugene Grosbein wrote: >> >>> Hi! >>> >>> Is it normal that "zfs destroy" for one ZVOL with attribute "used" equal to >

Re: Slow zfs destroy

2019-11-28 Thread Eugene Grosbein
28.11.2019 14:26, Steven Hartland wrote: > As you mentioned it’s on SSD you could be suffering from poor TRIM > performance from your devices > if you run gstat -pd you’ll be able to get an indication if this is the case. Yes, this box does have problems with poor TRIM performance. But isn't "zf

Re: Slow zfs destroy

2019-11-28 Thread Eugene Grosbein
28.11.2019 20:34, Steven Hartland wrote: > It may well depend on the extent of the deletes occurring. > > Have you tried disabling TRIM to see if it eliminates the delay? This system used mfi(4) first and mfi(4) does not support TRIM at all. Performance was abysmal. Now it uses mrsas(4) and aft

ZFS deadlock

2019-11-30 Thread Eugene Grosbein
Hi! I have RAIDZ1 with five GELI-encrypted SSDs da[2-6].eli (non-boot pool). I've exported the pool, destroyed da2.eli then successfully imported pool back in degraded state. Then I've mounted some file systems successfully but zfs mount for next one hung on [tx->tx_sync_done_cv] for 4400 secon

Re: ZFS deadlock

2019-11-30 Thread Eugene Grosbein
30.11.2019 15:48, Eugene Grosbein wrote: > Hi! > > I have RAIDZ1 with five GELI-encrypted SSDs da[2-6].eli (non-boot pool). > > I've exported the pool, destroyed da2.eli then successfully imported pool > back in degraded state. > Then I've mounted some file sys

Re: Slow zfs destroy

2019-12-01 Thread Eugene Grosbein
30.11.2019 0:57, Scott Bennett wrote: > On Thu, 28 Nov 2019 23:18:37 +0700 Eugene Grosbein > wrote: > >> 28.11.2019 20:34, Steven Hartland wrote: >> >>> It may well depend on the extent of the deletes occurring. >>> >>> Have you tried

Re: Slow zfs destroy

2019-12-02 Thread Eugene Grosbein
02.12.2019 20:35, Andriy Gapon wrote: > On 02/12/2019 11:27, Scott Bennett wrote: >> The vast majority of my "destroy" operations are for snapshots, but what >> I have seen is that, without the "-d", the command does not return until the >> disk activity of the "destroy" finishes, but with th

Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Grosbein
07.12.2019 0:49, Eugene Kazarinov wrote: > pkg install ng_ipacct install ng_ipacct.ko in /boot/modules/ and it > doesnt start > > if I copy ng_ipacct.ko to /boot/kernel/ it didnt start with error: > link_elf_obj: symbol tcbinfo undefined > linker_load_file: /boot/kernel/ng_ipacct.ko - unsupported

Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Grosbein
07.12.2019 6:03, Eugene Kazarinov wrote: > Yes. It works. Thank you very much. > > I delete manual copied file. > I install ports via portsnap. > I fetch srcs from ftp. > And install ng_ipacct from ports. > And option VIMAGE in port ng_ipacct was disabled. I dont know why. > option VIMAGE in kern

Re: ng_ipacct on FreeBSD 12.1 doesnt work

2019-12-06 Thread Eugene Grosbein
07.12.2019 7:22, Eugene Grosbein wrote: Adding port maintainer to CC: >> Yes. It works. Thank you very much. >> >> I delete manual copied file. >> I install ports via portsnap. >> I fetch srcs from ftp. >> And install ng_ipacct from ports. >> And optio

Re: Boot loader stuck after first stage upgrading 11.2 to 12.0-RC2

2019-12-10 Thread Eugene Grosbein
10.12.2019 23:08, Mark Martinec пишет: > 2019-12-10 16:35, Marc Branchaud wrote: > >> On 2019-12-10 9:18 a.m., Mark Martinec wrote: >>> Commenting on a thread from 2018-12 and from 2019-09-20, with my solution >>> to the boot problem at the end, in case anyone is still interested. >> >> Thank you

Re: 12.1, Dell 740 and the M2 SSD as boot media doesn't work

2019-12-18 Thread Eugene Grosbein
19.12.2019 11:21, George Michaelson wrote: > I tried an install on a new Dell 740, which has dual M2 256GB internal > SSD on a "Boss" controller. It exposes as AHCI. > > It wouldn't recognize these as installable drives as raw devices. If > you use the Boss to define a virtual drive in RAID-1 it

Re: base svn(lite) LTS not updated

2020-02-23 Thread Eugene Grosbein
23.02.2020 3:01, Nuno Teixeira wrote: > Hello, > > I noticed that STABLE and CURRENT have base subversion at version 1.10.0. > > Why is base svn not updated to last LTS 1.10.6? You are supposed to install /usr/ports/devel/subversion (1.13.0 at the moment) for any usage other than updating FreeB

Re: Can't input '\', '|', '_' symbol in Japanese keyboard

2020-02-24 Thread Eugene Grosbein
25.02.2020 4:37, Minoru TANABE wrote: CC'ing to author of mentioned revision. > Hi, all. > I'm 12-stable user. > My system upgrade from 12.1-stable_r357351(2020-02-01) to > r358294(2020-02-24). > After upgrading, I can't input '\', '|', '_' symbol. > > I use vt console driver and jp.capsctrl.kbd

Re: users of xorg, in particular on FreeBSD 11.3

2020-03-20 Thread Eugene Grosbein
21.03.2020 6:41, Niclas Zeising wrote: > [ This is cross-posted across several mailing lists for maximum visibility. > Please respect reply-to and keep replies to x...@freebsd.org . Thank you! ] > > In order to improve support when using evdev to manage input devices, in > particular keyboards

Re: BSNMPD crashing

2020-03-28 Thread Eugene Grosbein
29.03.2020 1:53, Andrea Brancatelli via freebsd-stable wrote: > If anyone is interested please feel free to contact me otherwise I'll > just delete it :-) What is most recent version of FreeBSD that has this problem with bsnmpd crashing? Please rebuild bsnmpd with debugging enabled, if you have

Re: ZFS server has gone crazy slow

2020-04-11 Thread Eugene Grosbein
12.04.2020 0:36, Chris Ross wrote: > I have a FreeBSD 11.3-STABLE server that is my router, using a ZFS mirror (of > two GPT disks) as it’s disk. It’s many years old, and has only been > misbehaving like this for a day or so. I’m trying to figure out what’s wrong. > > I confirmed that interne

Re: ZFS server has gone crazy slow

2020-04-11 Thread Eugene Grosbein
12.04.2020 2:25, Chris Ross пишет: > >> On Apr 11, 2020, at 14:33, Eugene Grosbein wrote: >> >> 12.04.2020 0:36, Chris Ross wrote: >> >>> I have a FreeBSD 11.3-STABLE server that is my router, using a ZFS mirror >>> (of two GPT disks) as it’s

Re: Why is the console a graphic/bitmapped console, and not text/character by default

2020-04-11 Thread Eugene Grosbein
12.04.2020 11:41, Chris wrote: > Sorry for the ling title. But wasn't sure how make my > question more concise. > Why did we begin making an initial console "graphics mode" > by default. My understanding has always been that (Free)BSD > has been a "Server by default", and a Desktop after an initia

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Eugene Grosbein
12.04.2020 21:37, Stefan Bethke wrote: > I have a server I don't have physical access to right now, which has a broken > SATA disk that produces mostly errors (but not entirely). > > The disk has two partitions that are part of a zpool each. I can't bring the > system up with this disk being on

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Eugene Grosbein
12.04.2020 21:57, Stefan Bethke wrote: >>> Is there a way, ideally in the loader, to tell the kernel to ignore ada1 >>> and/or ahcich5? Or can I force ZFS some other way to ignore the disk? I do >>> have a spare disk I can use to replace the failed one, but I can't get the >>> machine into a st

Re: make kernel ignore broken SATA disk

2020-04-12 Thread Eugene Grosbein
12.04.2020 23:30, Stefan Bethke пишет: > Am 12.04.2020 um 18:29 schrieb Eugene Grosbein <mailto:eu...@grosbein.net>>: >> >> 12.04.2020 21:57, Stefan Bethke wrote: >> >>>>> Is there a way, ideally in the loader, to tell the kernel to ignore ada1 >&g

Re: What was the intention about "jail -e" in the first place ?

2020-04-16 Thread Eugene Grosbein
16.04.2020 16:31, David Marec wrote: > The manpage and usage output doesn't match. > > The manpage tells us that this option should be used alone on the command > line, as any other command will be discarded. > > The usage ouput does not mention the "-r" flag but "cmr" (with a typo). > > Both

Re: Loader hangs on the latest -STABLE

2020-04-24 Thread Eugene Grosbein
24.04.2020 11:26, Igor Pokrovsky пишет: > Hello all, > > I haven’t been using FreeBSD since 8-STABLE times. Recently I tried to > install latest 12-STABLE on my old computer. > But even during initial boot up loader hangs. Eventually I was able to > proceed with installation after replacing loa

stable/11 source upgrade broken for i386

2020-05-07 Thread Eugene Grosbein
Hi! It seems that clang-6 supplied with 11.2 cannot build clang-9 in stable/11 for i386, so buildworld is broken. Details are here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246274 ___ freebsd-stable@freebsd.org mailing list https://lists.freeb

stable/11 source upgrade broken for i386

2020-05-07 Thread Eugene Grosbein
Hi! It seems that clang-6 supplied with 11.2 cannot build clang-9 in stable/9 for i386, so buildworld is broken. Details are here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246274 ___ freebsd-stable@freebsd.org mailing list https://lists.freebs

Re: State of encrypted-almost-everything on ZFS in 2020

2020-05-18 Thread Eugene Grosbein
16.05.2020 16:51, Thomas Zander via freebsd-stable wrote: > Hi, > > can the following be done these days? > - Encrypted ZFS root pool on RAID-Z > - Supply the key for the encrypted root pool during boot via USB thumb drive > - No keyboard is attached to the machine > - No /boot on the thumb d

Re: zfs receive -s: transfer got interrupted, but no token on the receiving side.

2020-05-27 Thread Eugene Grosbein
27.05.2020 22:11, Eugene M. Zheganin wrote: > Hello, > > > I have a ZFS dataset about 10T of actual size (may be more) that I need to > send over a very laggy connection. So I'm sending it from the shell-script > that reattempts to send it after a short timeout, retrieving the send token > fi

Re: incorrect installation

2020-05-30 Thread Eugene Grosbein
21.05.2020 8:23, Donald Wilde wrote: > The installation -- whole disk, AUTO, GPT, all options selected -- > downloads everything and appears to match all checksums and complete > successfully but when I reboot, it goes immediately into the PXE boot, > failing with no DHCP success. I've tried both

Re: Virtual consoles stopped working

2020-06-13 Thread Eugene Grosbein
14.06.2020 12:21, Donald Wilde wrote: > Since I am using this mule as a dev system for a server-based > application, I have no WM or GUI activated. I really would like to > have the virtual consoles back, and I will gladly learn from what I > did to mess it up. :D Can you boot it with distributio

Re: stucked on reading bad cd-rom

2020-06-15 Thread Eugene Grosbein
15.06.2020 18:10, Miroslav Lachman wrote: > I am running FreeBSD 11.3. Whenever I inserted some 20 year old CD (backups > on CD-R) which is currently unreadable the system is trying to read the CD > even after I want to eject it by button in the CD drive or "eject" command. > > These messages a

Re: Buildworld and buildkernel with very slow compilation, recently

2020-06-22 Thread Eugene Grosbein
22.06.2020 3:56, Dimitry Andric wrote: > One of the upstream problems is that there is not really any > authoritative performance regression log being built up, so it is hard > to see where such regressions were introduced. Somebody then has to > spend a lot of time tracking down each and every re

Re: Problem with Sendmail Mailertable

2020-06-22 Thread Eugene Grosbein
22.06.2020 21:56, Andrea Brancatelli via freebsd-stable wrote: > I have an old 10.3 machine with sendmail 8.15.2 that's been working ok > for a long time. > > We have a simple mailterable rule that looks like: > > schema31.itdbmail-lmtpd[10.33.whatever] > > That we use to forward mail in

Re: swap space issues

2020-06-25 Thread Eugene Grosbein
25.06.2020 18:42, Donald Wilde wrote: > Thanks, Kevin! My laptop's BIOS is old enough that it balked when I > tried to boot from a GPT setup of 12.1R. One Of These Days I'll fix > that but the MBR works and I needed to move on. > > We'll get there! :D gpart is not for GPT, it is for "GEOM Partit

Re: swap space issues

2020-06-25 Thread Eugene Grosbein
26.06.2020 1:30, Donald Wilde wrote: > Here's 'pstat -s' on the i3 (which registers as cpu HAMMER): > > Device 1K-blocks UsedAvail Capacity > /dev/ada0s1b 335544320 33554432 0% > /dev/ada0s1d 335544320 33554432 0% > Total67108864

Re: zfs meta data slowness

2020-07-20 Thread Eugene Grosbein
19.07.2020 21:17, mike tancsa wrote: > Are there any tweaks that can be done to speed up or improve zfs > metadata performance ? I have a backup server with a lot of snapshots > (40,000) and just doing a listing can take a great deal of time. Best > case scenario is about 24 seconds, worst case,

Re: zfs meta data slowness

2020-07-21 Thread Eugene Grosbein
22.07.2020 2:37, mike tancsa wrote: >> Something else special about the setup. >> output of "top -b" >> > > ports are right now being built in a VM, but the problem (zrepl hanging) > and zfs list -t snapshots taking forever happens regardless > > PID USERNAMETHR PRI NICE SIZERES STAT

Re: zfs meta data slowness

2020-07-22 Thread Eugene Grosbein
22.07.2020 20:02, mike tancsa wrote: > > On 7/22/2020 1:29 AM, Eugene Grosbein wrote: >> 22.07.2020 2:37, mike tancsa wrote: >> >>>> Something else special about the setup. >>>> output of "top -b" >>>> >>> ports are right

Re: Traffic "corruption" in 12-stable

2020-07-26 Thread Eugene Grosbein
27.07.2020 5:16, Joe Clarke wrote: > About two weeks ago, I upgraded from the latest 11-stable to the latest > 12-stable. After that, I periodically see the network throughput come to a > near standstill. This FreeBSD machine is an ESXi VM with two interfaces. It > acts as a router. It uses

Re: 11.4 sendmail with SASL and ports openssl?

2020-08-11 Thread Eugene Grosbein
11.08.2020 20:49, Bengt Ahlgren wrote: > I have since long compiled sendmail in base with SASL using a src.conf > like this: > > # sendmail with SASL required for outgoing SMTP AUTH, see: > # https://www.freebsd.org/doc/en/books/handbook/SMTP-Auth.html > # depends on port security/cyrus-sasl2 > S

<    1   2   3   4   5   6   >