Re: i386: vm.pmap kernel local race condition

2013-02-17 Thread Alan Cox
On 02/17/2013 08:17, Eugene Grosbein wrote: 17.02.2013 01:25, Alan Cox wrote: Regardless of what that web site says, this is not really a race condition. Instead, you're exhausting a resource in the kernel because of the characteristics of your workload. The kernel tries to handle

Re: i386: vm.pmap kernel local race condition

2013-02-16 Thread Alan Cox
On Thu, Feb 14, 2013 at 7:55 AM, Eugene Grosbein eu...@grosbein.pp.ruwrote: Hi! I've got FreeBSD 8.3-STABLE/i386 server that can be reliably panicked using just 'squid -k rotatelog' command. It seems the system suffers from the problem described here:

Re: superpages not solving PV entries limit warning

2012-05-10 Thread Alan Cox
On Thu, May 10, 2012 at 2:32 AM, Adam Vande More amvandem...@gmail.comwrote: On Wed, May 9, 2012 at 12:55 PM, Charles Owens cow...@greatbaysoftware.comwrote: Hi fellow BSD-types, I have a buy system that forks lots of processes and I see repeatedly the message: Approaching the limit

Re: superpages not solving PV entries limit warning

2012-05-10 Thread Alan Cox
On Thu, May 10, 2012 at 10:52 AM, Charles Owens cow...@greatbaysoftware.com wrote: That's very helpful! I had read about that and wondered if it applied to i386. Should I have expected superpages to completely cure the condition... or does it just help? Should I now be looking at tuning

Re: AMD Erratum 383 crashes FreeBSD 9-Stable

2012-03-17 Thread Alan Cox
On Sat, Mar 17, 2012 at 12:10 PM, Richard Yao r...@cs.stonybrook.eduwrote: On 03/17/12 13:08, Richard Yao wrote: Dear FreeBSD Developers: I used the ZFS Guru LiveCD to install FreeBSD 9 in KVM on a host system with an AMD Thuban processor (K10h). I then proceeded to compile perl and

Re: directory listing hangs in ufs state

2011-12-22 Thread Alan Cox
On 12/22/2011 03:48, Kostik Belousov wrote: On Wed, Dec 21, 2011 at 09:03:02PM +0400, Andrey Zonov wrote: On 15.12.2011 17:01, Kostik Belousov wrote: On Thu, Dec 15, 2011 at 03:51:02PM +0400, Andrey Zonov wrote: On Thu, Dec 15, 2011 at 12:42 AM, Jeremy Chadwick free...@jdc.parodius.comwrote:

Re: directory listing hangs in ufs state

2011-12-14 Thread Alan Cox
On Wed, Dec 14, 2011 at 12:22 PM, Jeremy Chadwick free...@jdc.parodius.comwrote: On Wed, Dec 14, 2011 at 10:11:47PM +0400, Andrey Zonov wrote: Hi Jeremy, This is not hardware problem, I've already checked that. I also ran fsck today and got no errors. After some more exploration of

Re: PAE broken on 7-STABLE

2011-12-05 Thread Alan Cox
On Mon, Dec 5, 2011 at 4:15 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi, A FreeBSD 7-STABLE miserably crashes on the following: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xbfef fault code= supervisor read, page not

Re: svn commit: r227420 - stable/9/sys/vm

2011-11-10 Thread Alan Cox
On Thu, Nov 10, 2011 at 11:27 AM, George Kontostanos gkontos.m...@gmail.com wrote: Just out of curiosity or confusion maybe.. Will those commits be included to FreeBSD 9.0-RELEASE ? Thanks Yes, I believe so. Alan ___ freebsd-stable@freebsd.org

Re: 32GB limit per swap device?

2011-08-23 Thread Alan Cox
On 08/22/2011 21:36, Matthew Dillon wrote: The limitation was ONLY due to a *minor* 32-bit integer overflow in one or two *intermediate* calculations in the radix tree code, which I long ago fixed in DragonFly. Just find the changes in the DFly codebase and determine if they

Re: 32GB limit per swap device?

2011-08-20 Thread Alan Cox
On Thu, Aug 18, 2011 at 3:16 AM, Alexander V. Chernikov melif...@ipfw.ruwrote: On 10.08.2011 19:16, per...@pluto.rain.com wrote: Chuck Swigercswi...@mac.com wrote: On Aug 9, 2011, at 7:26 AM, Daniel Kalchev wrote: I am trying to set up 64GB partitions for swap for a system that has 64GB

Re: 32GB limit per swap device?

2011-08-20 Thread Alan Cox
On 08/20/2011 12:41, Kostik Belousov wrote: On Sat, Aug 20, 2011 at 12:33:29PM -0500, Alan Cox wrote: On Thu, Aug 18, 2011 at 3:16 AM, Alexander V. Chernikovmelif...@ipfw.ruwrote: On 10.08.2011 19:16, per...@pluto.rain.com wrote: Chuck Swigercswi...@mac.com wrote: On Aug 9, 2011, at 7

Re: MCA: CPU 0 UNCOR PCC DTLB L1 error

2011-05-11 Thread Alan Cox
On Tue, May 10, 2011 at 7:52 AM, John Hay j...@meraka.org.za wrote: Hi, I have seen this panic a few times on a Gigabyte E350N-USB3 running 8-STABLE. I have only seen it while in X, but then the machine is always in X. At first, I just got these hangs, so bought a PCI-express RS232 card

Re: panic on vm_page_cache_transfer: object 0xfffffff0035508000's type is not compatible with cache pages

2011-03-18 Thread Alan Cox
On 03/08/2011 08:15, John Baldwin wrote: On Tuesday, March 08, 2011 5:54:36 am Willem Jan Withagen wrote: System: FreeBSD zfs.digiware.nl 8.2-STABLE FreeBSD 8.2-STABLE #1: Sat Feb 26 06:28:43 CET 2011 r...@zfs.digiware.nl:/usr/obj/usr/src/src8/src/sys/ZFS amd64 Don't have a serial console,

Re: MCA messages after upgrade to 8.2-BEAT1

2010-12-24 Thread Alan Cox
2010/12/23 Dan Langille d...@langille.org On 12/22/2010 9:57 AM, John Baldwin wrote: On Wednesday, December 22, 2010 7:41:25 am Miroslav Lachman wrote: Dec 21 12:42:26 kavkaz kernel: MCA: Bank 0, Status 0xd40e4833 Dec 21 12:42:26 kavkaz kernel: MCA: Global Cap 0x0105,

Re: MCA messages after upgrade to 8.2-BEAT1

2010-12-24 Thread Alan Cox
On Fri, Dec 24, 2010 at 5:08 PM, Carl Johnson ca...@peak.org wrote: Alan Cox alan.l@gmail.com writes: 2010/12/23 Dan Langille d...@langille.org On 12/22/2010 9:57 AM, John Baldwin wrote: On Wednesday, December 22, 2010 7:41:25 am Miroslav Lachman wrote: Dec 21 12:42:26 kavkaz

Re: Panic: attempted pmap_enter on 2MB page

2010-10-08 Thread Alan Cox
Kurt Alstrup wrote: Apologies for late response, wanted to check the code again. On 10/07/2010 10:03 AM, Alan Cox wrote: Alan Cox wrote: At a high-level, I agree with much of what you say. In particular, if pmap_enter() is applied to a virtual address that is already mapped by a large

Re: Panic: attempted pmap_enter on 2MB page

2010-10-07 Thread Alan Cox
Kurt Alstrup wrote: Up front disclaimer: I may very well be wrong on this.. At a high-level, I agree with much of what you say. In particular, if pmap_enter() is applied to a virtual address that is already mapped by a large page, the reported panic could result. However, barring bugs,

Re: Panic: attempted pmap_enter on 2MB page

2010-10-06 Thread Alan Cox
Dave Hayes wrote: Alan Cox a...@rice.edu writes: [snip] Is this problem reproducible? I don't recall if you mentioned that earlier. Sort of. It seems that everytime I generate a bootable FreeBSD ISO, a die is rolled. If it comes up a certain number then it crashes, otherwise

Re: Panic: attempted pmap_enter on 2MB page

2010-10-06 Thread Alan Cox
Dave Hayes wrote: Alan Cox a...@rice.edu writes: When you build your kernel for this ISO are you increasing the value of NKPT? No. I was under the impression that this value auto-tunes on amd64, is that correct? After initialization, yes. However, the kernel starts out with just

Re: Panic: attempted pmap_enter on 2MB page

2010-10-05 Thread Alan Cox
Dave Hayes wrote: Alan Cox alan.l@gmail.com writes: I'm afraid that I can't offer much insight without a stack trace. At initialization time, we map the kernel with 2MB pages. I suspect that something within the kernel is later trying to change one those mappings. If I had to guess

Re: Panic: attempted pmap_enter on 2MB page

2010-10-03 Thread Alan Cox
On Sat, Oct 2, 2010 at 9:11 PM, Dave Hayes d...@jetcafe.org wrote: What does the above mentioned panic mean? I'm booting from an mfsroot off of a DVD with a loader.conf like this: autoboot_delay=5 mfsroot_load=YES mfsroot_type=mfs_root mfsroot_name=/mfsboot vfs.root.mountfrom=ufs:md0

Re: today's 8.1/i386: panic: bad pte

2010-07-20 Thread Alan Cox
On Mon, Jul 19, 2010 at 11:40 PM, Mikhail T. mi+t...@aldan.algebra.commi%2bt...@aldan.algebra.com wrote: Some part of KDE4's kdm crashed at start-up and seems to have taken the entire machine with it: kgdb /boot/kernel/kernel /var/crash/vmcore.22 GNU gdb 6.1.1 [FreeBSD] Copyright

Re: today's 8.1/i386: panic: bad pte

2010-07-20 Thread Alan Cox
Mikhail T. wrote: 20.07.2010 12:47, Alan Cox написав(ла): Historically, this panic has indicated flakey memory. This panic occurs because a memory location within a page table has unexpectedly changed to zero. Ouch... Thanks for the hint (maybe, the panic should say something like

Re: 8.1-RC2 - PCI fatal error or MCE triggered by USB/ehci on Sun X4100M2?

2010-07-10 Thread Alan Cox
On Fri, Jul 9, 2010 at 6:53 PM, Markus Gebert markus.geb...@hostpoint.chwrote: [snip] Yes, this hardware comes from Sun directly, but getting Sun (/Oracle) support for this issue is gonna be tough. FreeBSD is unsupported, and in a short test we couldn't reproduce the problem with a Linux

Re: Locking a file backed mdconfig into memory

2010-06-04 Thread Alan Cox
Matthew D Fleming wrote: On Fri, Jun 04, 2010 at 08:20:49AM -0400, John Baldwin wrote: Hmmm, I would just try increasing NKPT then. You might have to poke around in sys/amd64 to see what the default size is and how to tune it. When Isilon did the stable/7 merge and amd64 default

Re: Locking a file backed mdconfig into memory

2010-06-04 Thread Alan Cox
On 6/4/2010 1:53 PM, John Baldwin wrote: On Friday 04 June 2010 1:58:13 pm Alan Cox wrote: Matthew D Fleming wrote: On Fri, Jun 04, 2010 at 08:20:49AM -0400, John Baldwin wrote: Hmmm, I would just try increasing NKPT then. You might have to poke around in sys/amd64 to see

Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920

2010-04-13 Thread Alan Cox
On Tue, Apr 13, 2010 at 12:35 AM, Andrew Snow a...@modulus.org wrote: The statements about the scheduler flipping between cores is also somewhat false, ULE does the right thing now for long-running computational threads. Furthermore, I can't see how a Gflops benchmark which fits in the CPU

Re: Only 70% of theoretical peak performance on FreeBSD 8/amd64, Corei7 920

2010-04-12 Thread Alan Cox
On Sun, Apr 11, 2010 at 11:12 PM, Maho NAKATA cha...@mac.com wrote: Hi FreeBSD developers, [the original article in Japanese can be found at http://blog.goo.ne.jp/nakatamaho/e/b5f6fbc3cc6e1ac4947463eb1ca4eb0a ] *Abstract* I compared the peak performance of FreeBSD 8.0/amd64 and Ubuntu 9.10

Re: Strange problem with 8-stable, VMWare vSphere 4 AMD CPUs (unexpected shutdowns)

2010-02-23 Thread Alan Cox
Alan Cox wrote: The next public revision guide from AMD will contain an errata (383) that documents the bug. However, it doesn't really tell us anything that we didn't already know. Could someone on this list please test the attached patch in an amd64 FreeBSD 8 guest running on vSphere 4

Re: Strange problem with 8-stable, VMWare vSphere 4 AMD CPUs (unexpected shutdowns)

2010-02-11 Thread Alan Cox
On Thu, Feb 11, 2010 at 7:13 AM, John Baldwin j...@freebsd.org wrote: On Wednesday 10 February 2010 1:38:37 pm Ivan Voras wrote: On 10 February 2010 19:35, Andriy Gapon a...@icyb.net.ua wrote: on 10/02/2010 20:26 Ivan Voras said the following: On 10 February 2010 19:10, Andriy Gapon

Re: Strange problem with 8-stable, VMWare vSphere 4 AMD CPUs (unexpected shutdowns)

2010-02-11 Thread Alan Cox
The next public revision guide from AMD will contain an errata (383) that documents the bug. However, it doesn't really tell us anything that we didn't already know. Alan ___ freebsd-stable@freebsd.org mailing list

Re: Strange problem with 8-stable, VMWare vSphere 4 AMD CPUs (unexpected shutdowns)

2010-02-10 Thread Alan Cox
On Wed, Feb 10, 2010 at 12:46 PM, Jeremy Chadwick free...@jdc.parodius.comwrote: [snip] I read what Andriy wrote to mean that the way FreeBSD utilises 4MB TLB on certain models of AMD processors is broken/quirky, and on those CPUs, users should stick to vm.pmap.pg_ps_enabled=0 (loader.conf).

Re: 8.0-RC1 panic attaching ppc

2009-09-28 Thread Alan Cox
Daniel O'Connor wrote: On Sun, 27 Sep 2009, Alan Cox wrote: Ok, now I can explain what is happening. The kernel is using 1GB pages to implement the direct map. Unfortunately, pmap_extract() doesn't know how to handle a 1GB page mapping. pmap_kextract() only works by an accident of its

Re: 8.0-RC1 panic attaching ppc

2009-09-26 Thread Alan Cox
Daniel O'Connor wrote: On Sat, 26 Sep 2009, Alan Cox wrote: John Baldwin wrote: On Friday 25 September 2009 3:20:05 am Daniel O'Connor wrote: On Thu, 24 Sep 2009, John Baldwin wrote: Can you try this patch perhaps: Index: sys/amd64/isa/isa_dma.c

Re: 8.0-RC1 panic attaching ppc

2009-09-25 Thread Alan Cox
John Baldwin wrote: On Friday 25 September 2009 3:20:05 am Daniel O'Connor wrote: On Thu, 24 Sep 2009, John Baldwin wrote: Can you try this patch perhaps: Index: sys/amd64/isa/isa_dma.c === --- isa_dma.c (revision

Re: 8.0-RC1 panic attaching ppc

2009-09-25 Thread Alan Cox
John Baldwin wrote: On Friday 25 September 2009 3:20:05 am Daniel O'Connor wrote: On Thu, 24 Sep 2009, John Baldwin wrote: Can you try this patch perhaps: Index: sys/amd64/isa/isa_dma.c === --- isa_dma.c (revision

Re: current zfs tuning in RELENG_7 (AMD64) suggestions ?

2009-05-02 Thread Alan Cox
On Fri, May 1, 2009 at 6:28 PM, Freddie Cash fjwc...@gmail.com wrote: On Fri, May 1, 2009 at 4:12 PM, Louis Kowolowski lou...@cryptomonkeys.org wrote: On May 1, 2009, at 1:53 PM, Pete French wrote: ... The tuning isn't there to improve performance, it's there to prevent the box going

Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Alan Cox
Please post your kernel configuration file. Regards, Alan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

Re: problems with 7.2, vm_page_insert: page already inserted

2009-04-11 Thread Alan Cox
Raul wrote: El sáb, 11-04-2009 a las 19:37 -0500, Alan Cox escribió: Please post your kernel configuration file. It's rather simple: [] include GENERIC ident TURING options IPSEC device enc device crypto [] That's all. Ok

Re: panic when detaching swap-backed md(4) disk which has gone into swap

2009-03-28 Thread Alan Cox
Please file a PR on this panic with the stack trace. Thanks, Alan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org

Re: GCC build causes panic: page already inserted

2009-03-16 Thread Alan Cox
On Mon, Mar 16, 2009 at 12:59 PM, Dan Allen danalle...@airwired.net wrote: I saw that someone else had this happen last week... It is not a hardware failure. I have not seen that. I have only seen an assertion failure that would have nothing to do with your reported panic. While

Re: 7.1 panic vm_page_startup: inconsistent page counts

2009-03-16 Thread Alan Cox
Peter Jeremy wrote: On 2009-Mar-12 08:46:50 -0400, John Baldwin j...@freebsd.org wrote: On Thursday 12 March 2009 12:36:46 am Peter Jeremy wrote: I'm trying to upgrade an 11 month old FreeBSD 7 image in a VMware 4.5.2 guest to an up-to-date -stable and it panics as above. I've added a

Re: 7.1-STABLE does not boot after recent superpage support MFC

2009-02-27 Thread Alan Cox
On Fri, Feb 27, 2009 at 11:11 AM, John Baldwin j...@freebsd.org wrote: On Friday 27 February 2009 11:26:25 am Igor Sysoev wrote: On Fri, Feb 27, 2009 at 10:26:15AM -0500, John Baldwin wrote: On Friday 27 February 2009 8:08:30 am Igor Sysoev wrote: Is anyone able to boot kernel with

Re: 7.1-STABLE does not boot after recent superpage support MFC

2009-02-27 Thread Alan Cox
On Fri, Feb 27, 2009 at 10:42 AM, John Baldwin j...@freebsd.org wrote: On Friday 27 February 2009 11:21:00 am Michael Butler wrote: John Baldwin wrote: On Friday 27 February 2009 8:08:30 am Igor Sysoev wrote: And the message is cycled. The kernel does not boot despite

Re: Panic: vm_page_free: freeing wired page with 6.2 RELEASE

2007-04-22 Thread Alan Cox
Martin Blapp wrote: Hi, Just got this panic on a loaded mailserver ... The server was rocking stable up to this panic, and after we loaded it a bit more recently, it paniced. Any ideas ? Can you post your kernel configuration file? Alan ___

Re: systat -vm output showing negative total virtual memory

2006-11-19 Thread Alan Cox
The change to vm_meter.c is ok. Could you please add a comment like that above the location of the patch. Alan ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to

Re: panic: vm_thread_swapin: cannot get kstack for proc: 643 under high memory load

2005-06-01 Thread Alan Cox
On Wed, Jun 01, 2005 at 01:57:59PM +0100, Robert Watson wrote: Had an interesting panic on RELENG_5 today. System was under high memory load due to a run-away pine process that was also generating a very high memory load on the kernel due to heavy network I/O, but the swap pager keels

Re: panic: mutex vm object not owned

2005-03-11 Thread Alan Cox
On Fri, Mar 11, 2005 at 06:59:02PM +, Gavin Atkinson wrote: Hi, I'm tracking RELENG_5 and since my last update I can no longer start X without getting the following panic: panic: mutex vm object not owned at /usr/src/sys/vm/vm_page.c:334 cpuid = 0 KDB: enter: panic [ thread pid

Re: panic: mutex vm object not owned

2005-03-11 Thread Alan Cox
I'm pretty sure that I understand the cause. Please apply and test the attached patch. Regards, Alan Index: pci/agp.c === RCS file: /home/ncvs/src/sys/pci/agp.c,v retrieving revision 1.45 diff -u -r1.45 agp.c --- pci/agp.c 16 Aug