RE: Freebsd 4.7.2 DHCP Spamming

2003-01-16 Thread Mark Johnston
[EMAIL PROTECTED] wrote: Has anyone heard of an issue where a freebsd box can rack up multiple ips over the course of ~2 days? There should only be 1 ip address allocated to my box. For some reason on Dec 2nd, Dec 30th, and Jan 14th my box decided to keep requesting IPs, thus racking up

Re: Unexpected reboot/crash on 8.2-RELEASE.

2013-05-18 Thread Mark Johnston
On Sat, May 18, 2013 at 09:45:21PM -0400, kpn...@pobox.com wrote: I had an unexpected reboot of my Dell R610 today around 2:05-06pm today. I do not know if it crashed or if it was power cycled. This machine is running: FreeBSD gunsight1.neutralgood.org 8.2-RELEASE FreeBSD 8.2-RELEASE #1: Thu

Re: AHCI Patsburg SATA controller and slow transfer speed

2013-06-27 Thread Mark Johnston
On Thu, Jun 27, 2013 at 5:21 PM, Dave Hayes d...@jetcafe.org wrote: Greetings all. I'm on FreeBSD 9.1-STABLE #0 r251391M. I'm noticing two of my SATA disks are at half speed. Is this normal or is there some configuration I'm forgetting? In my experience it's fairly common to have a mix of

syncer causing latency spikes

2013-07-17 Thread Mark Johnston
Hello, I'm trying to investigate and solve some postgres latency spikes that I'm seeing as a result of some behaviour in the syncer. This is with FreeBSD 8.2 (with some local modifications and backports, r231160 in particular). The system has an LSI 9261-8i RAID controller (backed by mfi(4)) and

Re: syncer causing latency spikes

2013-07-17 Thread Mark Johnston
On Wed, Jul 17, 2013 at 10:18:52PM +0300, Konstantin Belousov wrote: On Wed, Jul 17, 2013 at 02:07:55PM -0400, Mark Johnston wrote: Hello, I'm trying to investigate and solve some postgres latency spikes that I'm seeing as a result of some behaviour in the syncer. This is with FreeBSD

Re: syncer causing latency spikes

2013-07-17 Thread Mark Johnston
On Wed, Jul 17, 2013 at 04:15:35PM -0400, John Baldwin wrote: On Wednesday, July 17, 2013 3:18:52 pm Konstantin Belousov wrote: On Wed, Jul 17, 2013 at 02:07:55PM -0400, Mark Johnston wrote: During such an fsync, DTrace shows me that syncer sleeps of 50-200ms are happening up to 8 or 10

Re: dtrace on RELENG9 possible ?

2015-03-19 Thread Mark Johnston
On Thu, Mar 19, 2015 at 03:35:36PM -0400, Mike Tancsa wrote: Anyone know how to get dtrace working on RELENG9 ? When I go to load the klds, I get the error # kldload dtraceall kldload: an error occurred while loading the module. Please check dmesg(8) for more details. # dmesg | tail -5

Re: Suspected libkvm infinite loop

2015-03-12 Thread Mark Johnston
On Wed, Mar 11, 2015 at 9:05 PM, Nick Frampton nick.framp...@akips.com wrote: On 12/03/15 00:38, John Baldwin wrote: It sounds like this issue might be the one fixed in r272566: if the KERN_PROC_ALL sysctl is read with an insufficiently large buffer, an sbuf error return value could bubble

Re: Suspected libkvm infinite loop

2015-03-10 Thread Mark Johnston
On Tue, Mar 10, 2015 at 02:10:09PM -0400, John Baldwin wrote: On Tuesday, March 10, 2015 10:17:07 AM Nick Frampton wrote: Hi, For the past several months, we have had an intermittent problem where a process calling kvm_openfiles(3) or kvm_getprocs(3) (not sure which) gets stuck in an

Re: Suspected libkvm infinite loop

2015-03-11 Thread Mark Johnston
On Thu, Mar 12, 2015 at 02:05:32PM +1000, Nick Frampton wrote: On 12/03/15 00:38, John Baldwin wrote: It sounds like this issue might be the one fixed in r272566: if the KERN_PROC_ALL sysctl is read with an insufficiently large buffer, an sbuf error return value could bubble up and be

Re: Nasty state after running out of swap

2016-06-08 Thread Mark Johnston
On Wed, Jun 08, 2016 at 05:02:09PM -0400, Mikhail T. wrote: > In my absence my desktop managed to run out of memory and had to kill a > number of processes: > > pid 47493 (firefox), uid 105, was killed: out of swap space > pid 1665 (thunderbird), uid 105, was killed: out of swap space >

Re: sparc64 on stable/10 panics with r299673

2016-05-13 Thread Mark Johnston
On Fri, May 13, 2016 at 04:14:34PM -0400, Kurt Lidl wrote: > I updated one of my sparc64 machines (a V240, dual processor, 8GB > of memory) and now it panics. > > Before (working without issue): > FreeBSD spork.pix.net 10.3-STABLE FreeBSD 10.3-STABLE #18 r299561: Thu > May 12 16:28:16 EDT 2016

Re: unionfs bugs, a partial patch and some comments [Was: Re: 1-BETA3 Panic: __lockmgr_args: downgrade a recursed lockmgr nfs @ /usr/local/share/deploy-tools/RELENG_11/src/sys/fs/unionfs/union_vnops.c

2016-08-09 Thread Mark Johnston
On Mon, Aug 08, 2016 at 10:02:00AM +0200, Harry Schmalzbauer wrote: > Bezüglich Rick Macklem's Nachricht vom 07.08.2016 23:34 (localtime): > > Harry Schmalzbauer wrote: > >> Hello, > >> > >> I had another crash which I'm quite sure was triggered by mount_unionfs: > > Just in case you are not

Re: stable/11 debugging kernel unable to produce crashdump

2017-01-13 Thread Mark Johnston
On Sat, Jan 14, 2017 at 02:21:23AM +0700, Eugene Grosbein wrote: > Hi! > > I'm struggling to debug a panic in 11.0-STABLE/i386 that successfully > produces crashdump > but I want more information. So I've rebuilt my custom kernel to include > options INVARIANTS, WITNESS and DEADLKRES. Now any

Re: Strange dtrace warning on running svn, perl and other programs on stable/10 r310494

2016-12-29 Thread Mark Johnston
On Thu, Dec 29, 2016 at 12:04:56PM +0100, Trond Endrestøl wrote: > I keep getting these warnings whenever I run svn, perl, and other > programs. > > WARNING: number of probes fixed does not match the number of defined probes > (16 != 18, respectively) > WARNING: some probes might not fire or

Re: stable/11 debugging kernel unable to produce crashdump

2017-01-14 Thread Mark Johnston
On Sat, Jan 14, 2017 at 06:40:02PM +0700, Eugene Grosbein wrote: > > > I suspect that this is because we only stop the scheduler upon a panic > > if SMP is configured. Can you retest with the patch below applied? > > > > Index: sys/kern/kern_shutdown.c > >

Re: [SOLVED] Re: Panic with FreeBSD 11.0-RC2 VM-IMAGE when starting vboxservice

2017-07-13 Thread Mark Johnston
On Thu, Jul 13, 2017 at 01:06:30PM +, Glen Barber wrote: > On Wed, Jul 12, 2017 at 11:29:05PM -0700, jungle boogie wrote: > > On 07/10/2017 10:48 PM, Konstantin Belousov wrote: > > > On Mon, Jul 10, 2017 at 01:00:05PM -0700, Mark Johnston wrote: > > > > I

Re: [SOLVED] Re: Panic with FreeBSD 11.0-RC2 VM-IMAGE when starting vboxservice

2017-07-10 Thread Mark Johnston
On Mon, Jul 10, 2017 at 09:47:50PM +0200, José G. Juanino wrote: > El Monday 10 de July a las 21:24:41 CEST, José G. Juanino escribió: > >El Sunday 09 de July a las 23:48:29 CEST, David Boyd escribió: > >>With latest VM-IMAGE (vmdk) for 11.1-RC2 system panics. I haven't > >>been able to process

Re: The 11.1-RC3 can only boot and attach disks in "Safe mode", otherwise gets stuck attaching

2017-07-17 Thread Mark Johnston
On Tue, Jul 18, 2017 at 01:01:16AM +0200, Mark Martinec wrote: > Upgrading 11.0-RELEASE-p11 to 11.1-RC3 using the usual freebsd-update > upgrade > method I ended up with a system which gets stuck while trying to attach > the second set of disks. This happened already after the first phase of >

Re: The 11.1-RC3 can only boot and attach disks in "Safe mode", otherwise gets stuck attaching

2017-07-23 Thread Mark Johnston
On Thu, Jul 20, 2017 at 03:45:39PM +0200, Mark Martinec wrote: > 2017-07-20 02:03, Mark Johnston wrote: > > One thing to try at this point would be to disable EARLY_AP_STARTUP in > > the kernel config. That is, take a configuration with which you're able > > to reproduce

Re: stable/11 debugging kernel unable to produce crashdump again

2017-07-23 Thread Mark Johnston
On Sun, Jul 23, 2017 at 04:26:45PM +0700, Eugene Grosbein wrote: > On 14.01.2017 18:40, Eugene Grosbein wrote: > > > >> I suspect that this is because we only stop the scheduler upon a panic > >> if SMP is configured. Can you retest with the patch below applied? > >> > >> Index:

Re: stable/11 debugging kernel unable to produce crashdump again

2017-07-24 Thread Mark Johnston
On Tue, Jul 25, 2017 at 12:03:05AM +0700, Eugene Grosbein wrote: > Thanks, this helped: > > $ addr2line -f -e kernel.debug 0x80919c00 > g_raid_shutdown_post_sync > /home/src/sys/geom/raid/g_raid.c:2458 > > That is GEOM_RAID's g_raid_shutdown_post_sync() that hangs if called just >

Re: The 11.1-RC3 can only boot and attach disks in "Safe mode", otherwise gets stuck attaching

2017-07-19 Thread Mark Johnston
On Thu, Jul 20, 2017 at 01:46:33AM +0200, Mark Martinec wrote: > More news on the matter. As reported yesterday the locally built > kernel with options INVARIANTS and DDB works fine and somehow avoids > the trouble at attaching the da (mps) disks on an LSI controller, so > today I wanted to get

Re: All the memory eaten away by ZFS 'solaris' malloc - on 11.1-R amd64

2018-07-31 Thread Mark Johnston
On Tue, Jul 31, 2018 at 11:54:29PM +0200, Mark Martinec wrote: > I have now upgraded this host from 11.1-RELEASE-p11 to 11.2-RELEASE > and the situation has not improved. Also turned off all services. > ZFS is still leaking memory about 30 MB per hour, until the host > runs out of memory and swap

Re: All the memory eaten away by ZFS 'solaris' malloc - on 11.1-R amd64

2018-08-04 Thread Mark Johnston
On Sat, Aug 04, 2018 at 08:38:04PM +0200, Mark Martinec wrote: > 2018-08-04 19:01, Mark Johnston wrote: > > I think running "zpool list" is adding a lot of noise to the output. > > Could you retry without doing that? > > No, like I said previously, the "zpoo

Re: All the memory eaten away by ZFS 'solaris' malloc - on 11.1-R amd64

2018-08-04 Thread Mark Johnston
On Fri, Aug 03, 2018 at 09:11:42PM +0200, Mark Martinec wrote: > More attempts at tracking this down. The suggested dtrace command does > usually abort with: > >Assertion failed: (buf->dtbd_timestamp >= first_timestamp), > file >

Re: Cannot setup dumpdev on glabel disk

2018-08-31 Thread Mark Johnston
On Sat, Sep 01, 2018 at 02:09:12AM +0700, Eugene Grosbein wrote: > 31.08.2018 23:08, Samuel Chow wrote: > > > I am running 11-STABLE, and I am experiencing kernel panics when I am > > destroying a VIMAGE-based jail. Naturally, I flipped to the chapter about > > 'Kernel Debugging' to learn about

Re: Cannot setup dumpdev on glabel disk

2018-08-31 Thread Mark Johnston
On Fri, Aug 31, 2018 at 10:08:20AM -0600, Samuel Chow wrote: > I am running 11-STABLE, and I am experiencing kernel panics when I am > destroying a VIMAGE-based jail. Naturally, I flipped to the chapter > about 'Kernel Debugging' to learn about 'Obtaining a Kernel Crash Dump'. > > However, I am

Re: FreeBSD 11.2 kernel crash when dd

2018-10-19 Thread Mark Johnston
On Fri, Oct 19, 2018 at 01:10:15PM +0200, Sebastian Wojtczak wrote: > Hi, > > I would like to report a kernel crash while dd on ssd drive. > > Just found that my PC crashed several times during below command: > dd if=/dev/ada2 of=file_name bs=10m. > > I was trying to make an image from my ssd

Re: Where is my memory on 'fresh' 11-STABLE? It should be used by ARC, but it is not used for it anymore.

2018-11-20 Thread Mark Johnston
On Tue, Nov 20, 2018 at 03:42:24PM +0300, Lev Serebryakov wrote: > > I have server which is mostly torrent box. It uses ZFS and equipped > with 16GiB of physical memory. It is running 11-STABLE (r339914 now). > > I've updated it to r339914 from some 11.1-STABLE revision 3 weeks ago. > > I

Re: Trap 12 in vm_page_alloc_after()

2018-11-28 Thread Mark Johnston
On Sun, Nov 25, 2018 at 11:35:30PM -0500, Garrett Wollman wrote: > < said: > > > On Sun, Nov 18, 2018 at 08:24:38PM -0500, Garrett Wollman wrote: > >> Has anyone seen this before? It's on a busy NFS server, but hasn't > >> been observed on any of our other NFS servers. > >> > >>

Re: ICMP timestamps

2019-03-26 Thread Mark Johnston
On Tue, Mar 26, 2019 at 05:31:58PM -0400, Hans Fiedler wrote: > I did a freebsd-update from 11.2 to 12.0. I had set the sysctl variable > net.inet.icmp.tstamprepl to 0 in 11.2 to block the ICMP timestamp > responses, but doesn't seem to work on 12.0. I wanted to ask in I was > missing something

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Mark Johnston
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. > > Details follow. > > I have a workstation running Xorg, Firefox, Thunderbird,

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Mark Johnston
On Wed, Feb 13, 2019 at 01:40:06AM +0700, Eugene Grosbein wrote: > 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 &qu

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Mark Johnston
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 values in the FREE column of vmstat -z output are > &

Re: 11.2-STABLE kernel wired memory leak

2019-02-12 Thread Mark Johnston
On Wed, Feb 13, 2019 at 01:48:21AM +0700, Eugene Grosbein wrote: > 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

Re: Memory management changes after kernel update on 6-Aug

2019-08-09 Thread Mark Johnston
On Fri, Aug 09, 2019 at 11:09:24AM -0700, Kevin Oberman wrote: > Since I updated my 12.0-STABLE system on 6-Aug I have been seeing issues > resuming my Win7 VM on VirtualBox. My prior kernel was built on 24-Jul. If > there is not sufficient memory available to reload the system (4 Meg.), the

Re: Memory management changes after kernel update on 6-Aug

2019-08-09 Thread Mark Johnston
On Fri, Aug 09, 2019 at 01:05:50PM -0700, Kevin Oberman wrote: > On Fri, Aug 9, 2019 at 11:35 AM Mark Johnston wrote: > > > On Fri, Aug 09, 2019 at 11:09:24AM -0700, Kevin Oberman wrote: > > > Since I updated my 12.0-STABLE system on 6-Aug I have been seeing issues >

Re: wrong value from DTRACE (uint32 for int64)

2019-12-02 Thread Mark Johnston
On Mon, Dec 02, 2019 at 08:44:59PM +0100, Peter wrote: > Hi @all, > > I felt the need to look into my ZFS ARC, but DTRACE provided misleading > (i.e., wrong) output (on i386, 11.3-RELEASE): > > # dtrace -Sn 'arc-available_memory { printf("%x %x", arg0, arg1); }' > DIFO 0x286450a0 returns D

Re: kldunload geom_journal hangs with jfini

2020-04-03 Thread Mark Johnston
On Thu, Mar 05, 2020 at 01:53:42AM +, Johannes Totz wrote: > Hi everyone, > > a recent 12-stable rev 358557 amd64 build hangs on kldunload of > geom_journal. > To reproduce: > kldload geom_journal > kldunload geom_journal > > kldunload just hangs indefinitely. top says the state is

Re: How to free used Swap-Space?

2020-09-22 Thread Mark Johnston
On Tue, Sep 22, 2020 at 07:31:07PM +0200, Peter wrote: > On Tue, Sep 22, 2020 at 12:33:19PM -0400, Mark Johnston wrote: > > ! On Tue, Sep 22, 2020 at 06:08:01PM +0200, Peter wrote: > > ! > my machine should use about 3-4, maybe 5 GB swapspace. Today I found > ! > it s

Re: How to free used Swap-Space?

2020-09-22 Thread Mark Johnston
On Tue, Sep 22, 2020 at 06:08:01PM +0200, Peter wrote: > Hi all, > > my machine should use about 3-4, maybe 5 GB swapspace. Today I found > it suddenly uses 8 GB (which is worryingly near the configured 10G). > > I stopped all the big suckers - nothing found. > I stopped all the jails - no

Re: Traffic "corruption" in 12-stable

2020-08-04 Thread Mark Johnston
On Mon, Aug 03, 2020 at 05:22:37PM -0400, Joe Clarke wrote: > > On Jul 27, 2020, at 15:41, Joe Clarke wrote: > >> On Jul 27, 2020, at 15:01, Mark Johnston wrote: > >> There are some fixes for vmx not present in stable/12 (yet). I did a > >> merge of a number of

Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-20:14.linuxkpi

2020-07-09 Thread Mark Johnston
On Thu, Jul 09, 2020 at 11:13:01AM +0200, Andrea Venturoli wrote: > On 2020-07-09 10:31, Niclas Zeising wrote: > > > I am unsure, but it seems mostly related to using X forwarding, when > > looking at the errata notice. > > Which I'm using heavily... > > > > > What issues are you seeing, on

Re: Traffic "corruption" in 12-stable

2020-07-27 Thread Mark Johnston
On Sun, Jul 26, 2020 at 06:16:07PM -0400, 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 >

Re: zfs panic RELENG_12

2020-12-22 Thread Mark Johnston
On Tue, Dec 22, 2020 at 09:05:01AM -0500, mike tancsa wrote: > Hmmm, another one. Not sure if this is hardware as it seems different ? > > > > Fatal trap 12: page fault while in kernel mode > cpuid = 11; apic id = 0b > fault virtual address   = 0x0 > fault code  = supervisor write

Re: Page fault in _mca_init during startup

2021-02-08 Thread Mark Johnston
On Mon, Feb 08, 2021 at 12:18:12AM +0200, Konstantin Belousov wrote: > On Sun, Feb 07, 2021 at 02:33:11PM -0700, Alan Somers wrote: > > Upgrading the BIOS fixed the problem, by clearing the MCG_CMCI_P bit on all > > processors. I don't have strong opinions about whether we should commit > > kib's

Re: Page fault in _mca_init during startup

2021-02-08 Thread Mark Johnston
On Mon, Feb 08, 2021 at 05:33:22PM +0200, Konstantin Belousov wrote: > On Mon, Feb 08, 2021 at 10:03:59AM -0500, Mark Johnston wrote: > > On Mon, Feb 08, 2021 at 12:18:12AM +0200, Konstantin Belousov wrote: > > > On Sun, Feb 07, 2021 at 02:33:11PM -0700, Alan Somers wrote:

Re: Page fault in _mca_init during startup

2021-02-04 Thread Mark Johnston
On Fri, Feb 05, 2021 at 12:58:34AM +0200, Konstantin Belousov wrote: > On Thu, Feb 04, 2021 at 01:34:13PM -0800, Matthew Macy wrote: > > On Thu, Feb 4, 2021 at 1:31 PM Alan Somers wrote: > > > > > > After upgrading a machine to FreeBSD, 12.2, it hit the following panic on > > > its first reboot.

Re: FreeBSD 13.0-RC4 and Nginx process "stuck" during restart

2021-03-30 Thread Mark Johnston
On Mon, Mar 29, 2021 at 10:57:09PM +0300, Christos Chatzaras wrote: > Hello, > > > I upgrade from 12.2 to 13.0-RC4 and I notice a strange issue with Nginx. > > When I run "service nginx restart" in some (random) servers it doesn't > complete the restart and it "stucks" at "Waiting for PIDS:

Re: current make world brakes if HESIOD enabled

2021-04-05 Thread Mark Johnston
On Sat, Apr 03, 2021 at 09:18:29AM +0300, Daniel Braniss wrote: > I must be the last person on earth to use Hesiod :-) > this are the diffs: Thanks, this was committed earlier today. > diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c > index afb89cab3..5832cb8c6 100644 > ---

Re: dtrace issue on releng/13.0

2021-02-23 Thread Mark Johnston
On Tue, Feb 23, 2021 at 02:36:04PM -0600, Dean E. Weimer via freebsd-stable wrote: > I just built and installed FreeBSD 13.0 Beta 3 from source checked out > with last commit of 4b737a9c58cac69008f189cc44e7d1a81a0b601c after the > install I was installing a few ports, and perl5.32 failed to

Re: stable/13, vm page counts do not add up

2021-04-07 Thread Mark Johnston
On Wed, Apr 07, 2021 at 10:42:57PM +0300, Andriy Gapon wrote: > > I regularly see that the top's memory line does not add up (and by a lot). > That can be seen with vm.stats as well. > > For example: > $ sysctl vm.stats | fgrep count > vm.stats.vm.v_cache_count: 0 >

Re: stable/13, vm page counts do not add up

2021-04-07 Thread Mark Johnston
On Wed, Apr 07, 2021 at 11:22:41PM +0300, Andriy Gapon wrote: > On 07/04/2021 22:54, Mark Johnston wrote: > > On Wed, Apr 07, 2021 at 10:42:57PM +0300, Andriy Gapon wrote: > >> > >> I regularly see that the top's memory line does not add up (and by a lot). > >

Re: stable/13, vm page counts do not add up

2021-04-14 Thread Mark Johnston
On Wed, Apr 14, 2021 at 02:21:44PM +0300, Andriy Gapon wrote: > On 14/04/2021 00:18, Mark Johnston wrote: > > fbt::vm_page_unwire:entry > > /args[0]->oflags & 0x4/ > > { > > @unwire[stack()] = count(); > > } > > Unrelated report, dtrace com

Re: stable/13, vm page counts do not add up

2021-04-13 Thread Mark Johnston
On Tue, Apr 13, 2021 at 05:01:49PM +0300, Andriy Gapon wrote: > On 07/04/2021 23:56, Mark Johnston wrote: > > I don't know what might be causing it then. It could be a page leak. > > The kernel allocates wired pages without adjusting the v_wire_count > > counter in some cases

Re: Microcode update prevents boot

2021-02-14 Thread Mark Johnston
On Sun, Feb 14, 2021 at 02:01:14PM +0100, Leon Dietrich wrote: > Hi there, > > I already worked around the issue myself. I'm just writing this here in > case someone else may have the same issue and is seeking an answer. > > > I recently upgraded the intel cpu microcode update package. Since