From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 10:58:55 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 584EC16A4CE for ; Mon, 2 Aug 2004 10:58:55 +0000 (GMT) Received: from hellhound.ceribus.net (c-24-21-90-79.client.comcast.net [24.21.90.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDD2E43D5F for ; Mon, 2 Aug 2004 10:58:54 +0000 (GMT) (envelope-from grover@ceribus.net) Received: (qmail 19115 invoked by uid 1002); 2 Aug 2004 10:59:08 -0000 Received: from grover@ceribus.net by hellhound.ceribus.net by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.63. Clear:RC:1(192.168.200.200):. Processed in 1.834686 secs); 02 Aug 2004 10:59:08 -0000 Received: from unknown (HELO ?192.168.200.219?) (grover@ceribus.net@192.168.200.200) by 192.168.200.225 with SMTP; 2 Aug 2004 10:59:06 -0000 Message-ID: <410E1E68.7000900@ceribus.net> Date: Mon, 02 Aug 2004 03:58:48 -0700 From: Grover Lines User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.1) Gecko/20040801 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel preemption is disabled - random crashes using xmms over NFS. Related possibly? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 10:58:55 -0000 I was reading up about a message i saw in my dmesg output WARNING: Kernel preemption is disabled, expect reduced performance. and came accross a message in current a while back saying. You'll see the following warning on boot: WARNING: Kernel preemption is disabled, expect reduced performance. An example of this reduced performance is sound issues (slowdowns, pops, etc.) when the system is under load (most notably with disk load). This is exactly what I am seeing also. Using xmms in xorg playing mp3's over NFS, I can reproduce random hard lockups on my machine doing this. purgatory# vmstat -i interrupt total rate irq0: clk 567052 99 irq8: rtc 725836 127 irq11: nvidia0 450361 79 irq12: rl0 uhci0++ 129058 22 irq13: npx0 1 0 irq14: ata0 142578 25 irq15: ata1 54 0 Total 2014940 355 also is my nic card supposed to be sharingand irq qith my usb? This has just happened within the last day or so. Built world kernel, xorg only using p4 as a cpu type no -O optomizations. also im seeing kernel: Warning: pid 524 used static ldt allocation. kernel: See the i386_set_ldt man page for more info kernel: pid 524 (glxgears), uid 0: exited on signal 11 (core dumped) or any x program kernel: pid 36698 (glxinfo), uid 0: exited on signal 11 (core dumped) -- Grover Lines dmesg output Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-CURRENT #0: Sun Aug 1 13:33:20 PDT 2004 root@xxx###.net:/usr/obj/usr/src/sys/PSYCHO WARNING: Kernel preemption is disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1514.92-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf12 Stepping = 2 Features=0x3febf9ff real memory = 536805376 (511 MB) avail memory = 515624960 (491 MB) npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: [GIANT-LOCKED] acpi0: Power Button (fixed) unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0x5000-0x500f,0x4080-0x40ff,0x4000-0x407f,0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xc0000000-0xcfffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xd4000000-0xd407ffff,0xd0000000-0xd3ffffff,0xd8000000-0xd8ffffff irq 11 at device 0.0 on pci1 nvidia0: [GIANT-LOCKED] rl0: port 0xa000-0xa0ff mem 0xda000000-0xda0000ff irq 12 at device 7.0 on pci0 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:ba:42:d9:4d rl0: [GIANT-LOCKED] isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xa400-0xa40f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xa800-0xa81f irq 12 at device 17.2 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ums0: Microsoft Microsoft IntelliMouse\M-. Optical, rev 1.10/1.21, addr 2, iclass 3/1 ums0: 5 buttons and Z dir. ukbd0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 3, iclass 3/1 kbd0 at ukbd0 uhid0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 3, iclass 3/0 uhci1: port 0xac00-0xac1f irq 12 at device 17.3 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xb000-0xb01f irq 12 at device 17.4 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered pcm0: port 0xb400-0xb4ff irq 5 at device 17.5 on pci0 pcm0: [GIANT-LOCKED] pcm0: pmtimer0 on isa0sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1514924252 Hz quality 800 Timecounters tick every 10.000 msec acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0% ad0: 38166MB [77545/16/63] at ata0-master UDMA100 ATAPI_RESET time = 10us acd0: DVDR at ata1-master UDMA33 Mounting root from ufs:/dev/ad0s3a Warning: pid 521 used static ldt allocation. See the i386_set_ldt man page for more info