From owner-freebsd-hackers@FreeBSD.ORG Sun May 7 02:59:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DAF816A401; Sun, 7 May 2006 02:59:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98F9643D45; Sun, 7 May 2006 02:59:26 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k472wve0055185; Sat, 6 May 2006 20:58:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 06 May 2006 20:58:58 -0600 (MDT) Message-Id: <20060506.205858.02299117.imp@bsdimp.com> To: avalonwallace@gmail.com From: "M. Warner Losh" In-Reply-To: <3a60de0b0605060046l134240det7a900d556a74527f@mail.gmail.com> References: <3a60de0b0605060046l134240det7a900d556a74527f@mail.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: misc questions about the device&driver arch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 02:59:27 -0000 In message: <3a60de0b0605060046l134240det7a900d556a74527f@mail.gmail.com> "Wallace William" writes: : I have seen this in the freebsd 5 road map,have the hotplug of pci already : merged into the RELENG_5 branch? Not as such, no. CardBus cards can be hot plugged, but no other hot plug bridge technology has been implemented. : PCI resource allocation: PC2003 compliance requires that x86 systems no : longer configure PCI devices from the system BIOS, leaving this task solely : to the OS. FreeBSD must gain the ability to manage and allocate PCI memory : resources on its own. Implementing this should take into account cardbus, : PCI-HotPlug, and laptop dock station requirements. This feature will become : increasingly critical through the lifetime of RELENG_5, and therefore is a : requirement for the RELENG_5 branch. FreeBSD already has the ability to assign resources for those BARs not assigned by the BIOS. RELENG_5 has this ability as well as RELENG_6 and current. In RELENG_5, and to a lessor extent RELENG_6, the resource allocation code is a little weak in picking the resource to assign sometimes, but manual knobs exist to cope. What FreeBSD doesn't do is dynamically reassign resources between bridges and busses while the system is up. In practice, this has proven to not be a problem. We also do not try to 'estimate' the downstream resource requirements for devices connected to a bridge and force open the windows on the bridges. On of the big problem areas here is that there's no standardized host bridge interface, so finding what the top of the tree decodes can be hard. Heuristics that work well on 1 PCI bus (tree) systems fail badly at multiple pci bus systems. : On Thursday 10 November 2005 05:48 am, kylin wrote: : > Sir ,i am still puzzled by the windows and freebsd arch similar. : > 1 : > the window TPS say that windwo allocate the resource window in default : > size of 1M or 2M,so there may be hole ,does that happen in freebsd 5 : > or 6? : : : No. We automatically allocate the entire resource for all the BARs that probe as 'alive' in the configuration phase. We don't have the fixed allocation size for bridges, however. : > 2 : > in my view i believe that freebsd us the "just enough "tactics,so : > the nexus level of resource view is ===continuous====with NO hole in : > a boot up system, IF hot remove do not happen .am i right? : : Sorta. We actually will use whatever the BIOS uses by default. We only try : to alloc resources if the BIOS doesn't, and I'm not sure how we handle a : bridge running out of resources. I think we might just fail the allocation. We do fail the allocation, since we never grow the resources that a bridge can decode. I've not had reports of this happening in the field yet, but there's always a first. Warner From owner-freebsd-hackers@FreeBSD.ORG Sun May 7 14:11:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1725F16A410 for ; Sun, 7 May 2006 14:11:24 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C0AC43D46 for ; Sun, 7 May 2006 14:11:23 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nz-out-0102.google.com with SMTP id l1so991311nzf for ; Sun, 07 May 2006 07:11:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=laCbMvB97Qld4vXcxf50sQROhGscZOAEMh8F1bZjxmueA15+dZQZUpvJhfgvxrnn+3cnoDrwJeRFuZKQXzxHauyypjzOhmBL0tGcG6hv8Xt5Mi7bb5z1XzMiZKpZKd0Q8Jxh/C3hzm+qOzRA7fqoc5M2V4eGkvu4PheOWdEhwpo= Received: by 10.65.121.9 with SMTP id y9mr612839qbm; Sun, 07 May 2006 07:11:22 -0700 (PDT) Received: by 10.65.240.12 with HTTP; Sun, 7 May 2006 07:11:22 -0700 (PDT) Message-ID: Date: Sun, 7 May 2006 18:11:22 +0400 From: "Andrew Pantyukhin" To: "marcel245@mweb.co.za" In-Reply-To: <926f294bee3f4d3caf20a4257ccded9b@mweb.co.za> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <926f294bee3f4d3caf20a4257ccded9b@mweb.co.za> X-Mailman-Approved-At: Sun, 07 May 2006 14:24:42 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: NATD & IPFW X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 14:11:24 -0000 On 5/6/06, marcel245@mweb.co.za wrote: > > I cant seem to get something working and would really appreciate some > h elp. > I use IPFW and have used NAT in the past through the ipfw "divert" > rules. > But what i need to get right is simply nat for a particular host > internally to a external mail server. > Now i ca n nat all traffic or nothing not control a particular > host. > Also i have tried all resources and methods including trying the > "rediect por t" function of natd seperatlly of ipfw. this to didnt > seem to work. Examples i copied didnt. > Im using freebsd6 Just don't divert outgoing traffic that you don't want to NAT. As for the incoming - just be sure not to use deny_incoming (if the alias IP is not dedicated to the host you wanna NAT). From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 17:50:08 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03AB816A420 for ; Mon, 8 May 2006 17:50:07 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from av-tac-rtp.cisco.com (bantam.cisco.com [64.102.19.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F55B43D4C for ; Mon, 8 May 2006 17:50:04 +0000 (GMT) (envelope-from marcus@FreeBSD.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p1+Sun/8.11.7) with ESMTP id k48Ho3a05100 for ; Mon, 8 May 2006 13:50:04 -0400 (EDT) Received: from [64.102.192.234] (dhcp-64-102-192-234.cisco.com [64.102.192.234]) by rooster.cisco.com (8.11.7p1+Sun/8.11.7) with ESMTP id k48Ho2m19876 for ; Mon, 8 May 2006 13:50:02 -0400 (EDT) Message-ID: <445F84D2.9040207@FreeBSD.org> Date: Mon, 08 May 2006 13:50:10 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: freebsd-hackers@FreeBSD.org X-Enigmail-Version: 0.93.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Adding hier/mtree support for HAL X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 17:50:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm not sure if this is the best list for this, so if there is a better one, please let me know. jylefort and I have been working on porting HAL (http://www.freedesktop.org/wiki/Software_2fhal) to FreeBSD. The port is working quite well. One of the things it wants to do is mount removable media such as CDs, USB sticks, etc. to mount points under /media. Some of us had discussed alternatives to /media (e.g. /mnt/media and ${PREFIX}/media), but these were ruled out. /mnt/media is bad since /mnt is reserved for temporary mounts. ${PREFIX}/media (i.e. /usr/local/media) just doesn't seem like an appropriate place for file system mount points. In fact, any other location other than /media will require a lot of additional work in HAL-dependent ports to get those ports to recognize HAL-controlled mounts on FreeBSD. To that end, I would like to add a /media to FreeBSD. I would like to add this to hier(7) as well as BSD.root.mtree. Would this be permissible? Thanks. Joe - -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEX4TSb2iPiv4Uz4cRAvy4AJ9Qh3udoFm5RYiHvoGH9cRth2tYngCgsCSY Z18nafBoUsekupRYFY3EyEc= =goIL -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 18:35:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72D5E16A409 for ; Mon, 8 May 2006 18:35:41 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 7051E43D45 for ; Mon, 8 May 2006 18:35:40 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 54530 invoked by uid 2001); 8 May 2006 18:35:38 -0000 Date: Mon, 8 May 2006 13:35:38 -0500 From: "Rick C. Petty" To: freebsd-hackers@freebsd.org Message-ID: <20060508183538.GC54101@megan.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: ordering of ports on Promise PDC40718 SATA300 controller X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 18:35:41 -0000 What determines the probing order of the ports/channels on the PDC40718 (Promise TX4 SATA300 controller)? The SATA ports are labeled "Port 1" through "Port 4". I have a total of four of these cards, and all of them repeatably probe out of order: label reported in FreeBSD ------ ------------------- Port 1 Port 2 Port 3 Port 4 Has anyone else noticed this with these cards? What can I do to fix it? I'm running both 6.0-RELEASE and RELENG_6_1 as of 2006-May-07. -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 18:55:20 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14F0D16A421; Mon, 8 May 2006 18:55:20 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81E4143D53; Mon, 8 May 2006 18:55:16 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k48ItGcN019706; Mon, 8 May 2006 11:55:16 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k48ItFIk019705; Mon, 8 May 2006 11:55:15 -0700 Date: Mon, 8 May 2006 11:55:15 -0700 From: Brooks Davis To: Joe Marcus Clarke Message-ID: <20060508185515.GB21933@odin.ac.hmc.edu> References: <445F84D2.9040207@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z6Eq5LdranGa6ru8" Content-Disposition: inline In-Reply-To: <445F84D2.9040207@FreeBSD.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-hackers@freebsd.org Subject: Re: Adding hier/mtree support for HAL X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 18:55:24 -0000 --z6Eq5LdranGa6ru8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 08, 2006 at 01:50:10PM -0400, Joe Marcus Clarke wrote: > I'm not sure if this is the best list for this, so if there is a better > one, please let me know. arch@ would probably be slightly closer. > jylefort and I have been working on porting HAL > (http://www.freedesktop.org/wiki/Software_2fhal) to FreeBSD. The port > is working quite well. One of the things it wants to do is mount > removable media such as CDs, USB sticks, etc. to mount points under > /media. Some of us had discussed alternatives to /media (e.g. > /mnt/media and ${PREFIX}/media), but these were ruled out. /mnt/media > is bad since /mnt is reserved for temporary mounts. ${PREFIX}/media > (i.e. /usr/local/media) just doesn't seem like an appropriate place for > file system mount points. In fact, any other location other than /media > will require a lot of additional work in HAL-dependent ports to get > those ports to recognize HAL-controlled mounts on FreeBSD. >=20 > To that end, I would like to add a /media to FreeBSD. I would like to > add this to hier(7) as well as BSD.root.mtree. Would this be > permissible? Thanks. It's a logical name for such a set of mounts and IMO we need this feature. I say go for it. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --z6Eq5LdranGa6ru8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEX5QTXY6L6fI4GtQRAqsSAJ9giBw33JQOut/NegroQsExAo41JwCgh2Pb wvHsjkP946HNzbbEiUgN4Jo= =1B8W -----END PGP SIGNATURE----- --z6Eq5LdranGa6ru8-- From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 20:42:20 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5299116A404 for ; Mon, 8 May 2006 20:42:20 +0000 (UTC) (envelope-from andy@triera.net) Received: from deliver-1.mx.triera.net (deliver-1.mx.triera.net [213.161.0.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id D666E43D46 for ; Mon, 8 May 2006 20:42:19 +0000 (GMT) (envelope-from andy@triera.net) Received: from localhost (in-2.mx.triera.net [213.161.0.26]) by deliver-1.mx.triera.net (Postfix) with ESMTP id 8C343BFE0 for ; Mon, 8 May 2006 22:42:07 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-2.mx.triera.net (Postfix) with SMTP id 51E8D1BC087 for ; Mon, 8 May 2006 22:42:12 +0200 (CEST) Received: from seaquest.triera.net (cpe1-5-51.cable.triera.net [213.161.5.51]) by smtp.triera.net (Postfix) with ESMTP id 8DBB71A18AB for ; Mon, 8 May 2006 22:42:13 +0200 (CEST) Message-Id: <6.0.0.22.2.20060508223802.05114230@pop3.triera.net> X-Sender: arozman@pop3.triera.net X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 08 May 2006 22:41:39 +0200 To: freebsd-hackers@freebsd.org From: Aleksander Rozman - Andy Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: Triera AV Service Subject: packages problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 20:42:20 -0000 Hi ! I have just installed 6.1-RC1 on my second computer, and I noticed that I can't get any packages. I have installed the saqme version on one other computer about week prior, and I had no problem... So back to problem. when I select packages install and FTP server (I usually use local, but today I also tried primaries and none of them has 6.1-RC1 on it. Then I tried options -> any (instead of 6.1-RC1) and none of servers had any (they tried to load INDEX but it failed. Is there some problem there? If there is problem on primary server, then it copied to all the mirrpors since none of them work... Please help me, maybae I am just doing something wrong... Andy ************************************************************************** * Aleksander Rozman - Andy * Fandoms: E2:EA, SAABer, Trekkie, Earthie * * andy@kksonline.com * Sentinel, BH 90210, True's Trooper, * * andy@atechnet.dhs.org * Heller's Angel, Questie, Legacy, PO5, * * Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender * * ICQ-UIC: 4911125 ********************************************* * PGP key available * http://www.atechnet.dhs.org/~andy/ * ************************************************************************** From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 20:57:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C58016A401 for ; Mon, 8 May 2006 20:57:16 +0000 (UTC) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C969143D48 for ; Mon, 8 May 2006 20:57:15 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr5.xs4all.nl (8.13.6/8.13.6) with ESMTP id k48KvEk9007724; Mon, 8 May 2006 22:57:14 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.4/8.13.3) with ESMTP id k48KvDvR032639; Mon, 8 May 2006 22:57:13 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.4/8.13.1/Submit) id k48KvDA9032638; Mon, 8 May 2006 22:57:13 +0200 (CEST) (envelope-from wb) Date: Mon, 8 May 2006 22:57:13 +0200 From: Wilko Bulte To: Aleksander Rozman - Andy Message-ID: <20060508205713.GA32488@freebie.xs4all.nl> References: <6.0.0.22.2.20060508223802.05114230@pop3.triera.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20060508223802.05114230@pop3.triera.net> User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-hackers@freebsd.org Subject: Re: packages problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 20:57:16 -0000 On Mon, May 08, 2006 at 10:41:39PM +0200, Aleksander Rozman - Andy wrote.. > > Hi ! > > I have just installed 6.1-RC1 on my second computer, and I noticed that I > can't get any packages. I have installed the saqme version on one other > computer about week prior, and I had no problem... > > So back to problem. when I select packages install and FTP server (I > usually use local, but today I also tried primaries and none of them has > 6.1-RC1 on it. Then I tried options -> any (instead of 6.1-RC1) and none of > servers had any (they tried to load INDEX but it failed. Is there some > problem there? If there is problem on primary server, then it copied to all > the mirrpors since none of them work... > > Please help me, maybae I am just doing something wrong... RCs don't have packages normally. Given that 6.1-RELEASE has been built in the meantime and is due out anytime soon now I suggest you wait for that. Should be a matter of hours, maybe a day.. -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 22:41:01 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0857916A400; Mon, 8 May 2006 22:41:01 +0000 (UTC) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67D5843D45; Mon, 8 May 2006 22:41:00 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id E38B011672; Tue, 9 May 2006 00:40:58 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 55623-05; Tue, 9 May 2006 00:40:48 +0200 (CEST) Received: from cream.stl.xbsd.org (unknown [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id B1D7611498; Tue, 9 May 2006 00:40:47 +0200 (CEST) From: Florent Thoumie To: Brooks Davis In-Reply-To: <20060508185515.GB21933@odin.ac.hmc.edu> References: <445F84D2.9040207@FreeBSD.org> <20060508185515.GB21933@odin.ac.hmc.edu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-6UoG7z+I25Ot7fOgDIyP" Date: Mon, 08 May 2006 23:40:24 +0200 Message-Id: <1147124424.2570.44.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-hackers@freebsd.org, Joe Marcus Clarke Subject: Re: Adding hier/mtree support for HAL X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 22:41:01 -0000 --=-6UoG7z+I25Ot7fOgDIyP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2006-05-08 at 11:55 -0700, Brooks Davis wrote: > On Mon, May 08, 2006 at 01:50:10PM -0400, Joe Marcus Clarke wrote: > > I'm not sure if this is the best list for this, so if there is a better > > one, please let me know. >=20 > arch@ would probably be slightly closer. >=20 > > jylefort and I have been working on porting HAL > > (http://www.freedesktop.org/wiki/Software_2fhal) to FreeBSD. The port > > is working quite well. One of the things it wants to do is mount > > removable media such as CDs, USB sticks, etc. to mount points under > > /media. Some of us had discussed alternatives to /media (e.g. > > /mnt/media and ${PREFIX}/media), but these were ruled out. /mnt/media > > is bad since /mnt is reserved for temporary mounts. ${PREFIX}/media > > (i.e. /usr/local/media) just doesn't seem like an appropriate place for > > file system mount points. In fact, any other location other than /medi= a > > will require a lot of additional work in HAL-dependent ports to get > > those ports to recognize HAL-controlled mounts on FreeBSD. > >=20 > > To that end, I would like to add a /media to FreeBSD. I would like to > > add this to hier(7) as well as BSD.root.mtree. Would this be > > permissible? Thanks. >=20 > It's a logical name for such a set of mounts and IMO we need this > feature. I say go for it. I'd second this, this is short enough and that's what I'm currently using :-) Kudos to the porting team \o/ --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-6UoG7z+I25Ot7fOgDIyP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEX7rIMxEkbVFH3PQRAsu1AJ9ofJXfvxzwb1RZYiMwpTyZlw/udgCfRhaD NzulAUZJRIh55aB2C8GeTMA= =I0DS -----END PGP SIGNATURE----- --=-6UoG7z+I25Ot7fOgDIyP-- From owner-freebsd-hackers@FreeBSD.ORG Mon May 8 22:59:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8F6616A4F0 for ; Mon, 8 May 2006 22:59:53 +0000 (UTC) (envelope-from bharmaji@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B86543D45 for ; Mon, 8 May 2006 22:59:53 +0000 (GMT) (envelope-from bharmaji@gmail.com) Received: by nz-out-0102.google.com with SMTP id l1so1317275nzf for ; Mon, 08 May 2006 15:59:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KVq4lIzsYr1tw9yn/gITAi946BuooqvfNW5Qvm4tpNsYDLES9mhtUESJTE4UsTl7UTtWnC1wIHialuCKaiJEhHZn0QsFqBhW4MGIe6p1PQXmPa9Wl3FbBsUq2PbDxd41Hfqyfkz2YkjHtBsqyDusWFGH30r92rfTFKBu1gZkPXA= Received: by 10.65.252.6 with SMTP id e6mr1363546qbs; Mon, 08 May 2006 15:59:52 -0700 (PDT) Received: by 10.65.133.13 with HTTP; Mon, 8 May 2006 15:59:52 -0700 (PDT) Message-ID: <67beabb0605081559j3904ada3vb5a952cc3195ae44@mail.gmail.com> Date: Mon, 8 May 2006 15:59:52 -0700 From: "Bharma Ji" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: differences between M_CACHE, M_DEVBUF, M_TEMP X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 22:59:53 -0000 Hi I am trying to understand the difference in these three different memories. Code comments in kern_malloc.c says that M_DEVBUF should be used for device driver. I didn't however see any major difference between the three memories. Can a device theoretically take up memory from M_TEMP (or M_CACHE) segment? Similary can device drivers using M_DEVBUF also allocate from M_CACHE / M_TEMP if needed. From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 00:51:59 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FB4B16A401 for ; Tue, 9 May 2006 00:51:59 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC5743D45 for ; Tue, 9 May 2006 00:51:57 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp129-193.lns2.adl2.internode.on.net [59.167.129.193]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k490pKXM055842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 May 2006 10:21:45 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Tue, 9 May 2006 10:20:14 +0930 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1280728.qoK7QLCL1t"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605091020.38460.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Driver for the SI Labs CP2101/2 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 00:51:59 -0000 --nextPart1280728.qoK7QLCL1t Content-Type: multipart/mixed; boundary="Boundary-01=_Hd+XEPrMKhK0uG9" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_Hd+XEPrMKhK0uG9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am porting the Linux driver for the SI Labs CP2101/2 USB UART chip.=20 Unfortunately my test bed is a programmer/debugger for Atmel AVR micros so = I=20 can't look at the signals directly. I am getting some odd timeouts and I'm not sure flow control is working.=20 However I would appreciate it if someone could have look at it and maybe ev= en=20 test it :) The attached diff is against -current but I don't see why it wouldn't work= =20 in -stable.=20 One thing the Linux driver does is reset the port on attach, I tried to=20 duplicate that but usbd_reset_port returned USBD_STALLED. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Boundary-01=_Hd+XEPrMKhK0uG9-- --nextPart1280728.qoK7QLCL1t Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEX+de5ZPcIHs/zowRAsJWAJ9O6z9zBcSmcixoFaCdenfR1nu03QCdFYhk rCCpLHqv0xwHtT+x/5TpM60= =HWzg -----END PGP SIGNATURE----- --nextPart1280728.qoK7QLCL1t-- From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 03:19:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E014B16A462; Tue, 9 May 2006 03:19:31 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4827143D49; Tue, 9 May 2006 03:19:30 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k493JSvZ088457; Mon, 8 May 2006 21:19:28 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44600A42.7030600@samsco.org> Date: Mon, 08 May 2006 21:19:30 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20060122 X-Accept-Language: en-us, en MIME-Version: 1.0 To: stable@freebsd.org, FreeBSD Hackers X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Content-Type: text/plain; name="6.1-RELEASE.txt.asc" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="6.1-RELEASE.txt.asc" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 03:19:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 It is my great pleasure and privilege to announce the availability of FreeBSD 6.1-RELEASE. This release is the next step in the development of the 6.X branch, delivering several performance improvements, many bugfixes, and a few new features. These include: ~ Addition of a keyboard multiplexer. This allows USB and PS/2 keyboards to coexist without any special options at boot. ~ Many fixes for filesystem stability. High load stress tests are now run successfully on a regular basis as part of the normal FreeBSD QA process. ~ Automatic configuration for man Bluetooth devices, as well as automatic support for running WiFi access points. ~ Addition of drivers for new ethernet and SAS and SATA RAID controllers. ~ BIND updated to 9.3.2 ~ sendmail updated to 8.13.6 NOTE: It was discovered at the last minute that the errata notes that were packaged with the release are out of date. For a complete list of known problems, please see the online errata list, available at: http://www.FreeBSD.org/releases/6.1R/errata.html For more information about FreeBSD release engineering activities, please see: http://www.FreeBSD.org/releng Availability ------------- FreeBSD 6.1-RELEASE supports the i386, pc98, alpha, sparc64, amd64, powerpc, and ia64 architectures and can be installed directly over the net using bootable media or copied to a local NFS/FTP server. Distributions for all architectures are available now. Please continue to support the FreeBSD Project by purchasing media from one of our supporting vendors. The following companies will be offering FreeBSD 6.1 based products: ~ FreeBSD Mall, Inc. http://www.freebsdmall.com/ ~ Daemonnews, Inc. http://www.bsdmall.com/freebsd1.html If you can't afford FreeBSD on media, are impatient, or just want to use it for evangelism purposes, then by all means download the ISO images. We can't promise that all the mirror sites will carry the larger ISO images, but they will at least be available from the following sites. MD5 and SHA256 checksums for the release images are included at the bottom of this message. Bittorrent ---------- The FreeBSD project encourages the use of BitTorrent for distributing the release ISO images. A collection of torrent files to download the images is available at http://torrents.freebsd.org:8080/ FTP --- At the time of this announcement the following FTP sites have FreeBSD 6.1-RELEASE available. ftp://ftp.FreeBSD.org/pub/FreeBSD/ ftp://ftp2.FreeBSD.org/pub/FreeBSD/ ftp://ftp3.FreeBSD.org/pub/FreeBSD/ ftp://ftp5.FreeBSD.org/pub/FreeBSD/ ftp://ftp.at.FreeBSD.org/pub/FreeBSD/ ftp://ftp2.ch.FreeBSD.org/pub/FreeBSD/ ftp://ftp.cz.FreeBSD.org/pub/FreeBSD/ ftp://ftp.ee.FreeBSD.org/pub/FreeBSD/ ftp://ftp.fi.FreeBSD.org/pub/FreeBSD/ ftp://ftp.fr.FreeBSD.org/pub/FreeBSD/ ftp://ftp2.ie.FreeBSD.org/pub/FreeBSD/ ftp://ftp.is.FreeBSD.org/pub/FreeBSD/ ftp://ftp1.ru.FreeBSD.org/pub/FreeBSD/ ftp://ftp.se.FreeBSD.org/pub/FreeBSD/ ftp://ftp.si.FreeBSD.org/pub/FreeBSD/ ftp://ftp2.tw.FreeBSD.org/pub/FreeBSD/ ftp://ftp2.uk.FreeBSD.org/pub/FreeBSD/ ftp://ftp2.us.FreeBSD.org/pub/FreeBSD/ ftp://ftp5.us.FreeBSD.org/pub/FreeBSD/ FreeBSD is also available via anonymous FTP from mirror sites in the following countries: Argentina, Australia, Brazil, Bulgaria, Canada, China, Czech Republic, Denmark, Estonia, Finland, France, Germany, Hong Kong, Hungary, Iceland, Ireland, Israel, Japan, Korea, Lithuania, Amylonia, the Netherlands, New Zealand, Poland, Portugal, Romania, Russia, Saudi Arabia, South Africa, Slovak Republic, Slovenia, Spain, Sweden, Taiwan, Thailand, Ukraine, and the United Kingdom. Before trying the central FTP site, please check your regional mirror(s) first by going to: ftp://ftp..FreeBSD.org/pub/FreeBSD Any additional mirror sites will be labeled ftp2, ftp3 and so on. More information about FreeBSD mirror sites can be found at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html For instructions on installing FreeBSD, please see Chapter 2 of The FreeBSD Handbook. It provides a complete installation walk-through for users new to FreeBSD, and can be found online at: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/install.html Acknowledgments ---------------- Many companies donated equipment, network access, or man-hours to finance the release engineering activities for FreeBSD 6.1 including The FreeBSD Foundation, FreeBSD Systems, Hewlett-Packard, Yahoo!, Sentex Communications, and Copan Systems. The release engineering team for 6.1-RELEASE includes: Scott Long Release Engineering, Ken Smith I386, AMD64, Sparc64 Release Building, Mirror Site Coordination Robert Watson Release Engineering, Security Doug White Release Engineering Maxime Henrion Release Engineering Hiroki Sato Release Engineering, Documentation Murray Stokely Release Engineering Marcel Moolenaar IA64 Release Building Takahashi Yoshihiro PC98 Release Building Wilko Bulte Alpha Release Building Kris Kennaway Package Building Joe Marcus Clark Package Building Kiril Ponomarew Package Building Colin Percival Security Officer CD Image Checksums ------------------ MD5 (6.1-RELEASE-amd64-bootonly.iso) = b73e8dc202f64aa56606f6e3399bc83f MD5 (6.1-RELEASE-amd64-disc1.iso) = 2d6fc98a4cd11468f62ea0c7332affff MD5 (6.1-RELEASE-amd64-disc2.iso) = 6b48c41b5dc774ae727f3f0a8a91c96f MD5 (6.1-RELEASE-i386-bootonly.iso) = 11bb7fb4d2a781238008945f6bf65a4e MD5 (6.1-RELEASE-i386-disc1.iso) = cf1ce4ba48d664ce3977108a18ced6b8 MD5 (6.1-RELEASE-i386-disc2.iso) = bc0f4a32a64e00c7cbfb839e6d5772f3 MD5 (6.1-RELEASE-ia64-bootonly.iso) = 94e83e6ba0281b58bd5af4a1004f8079 MD5 (6.1-RELEASE-ia64-disc1.iso) = b3f957ef581f4267fdd2b0400ff492dd MD5 (6.1-RELEASE-ia64-disc2.iso) = e46c08dd1e46c825048ce5105497f900 MD5 (6.1-RELEASE-ia64-livefs.iso) = 75f70e7c1f5bc295bc00841b19c00b63 MD5 (6.1-RELEASE-pc98-disc1.iso) = 923e86a2307d1dce7dfb3379a67885f4 MD5 (6.1-RELEASE-sparc64-bootonly.iso) = f8e11c6a952f4be8435dc8d56c5bfc8e MD5 (6.1-RELEASE-sparc64-disc1.iso) = c206054f9cecf629211f6fc2b068e9ff MD5 (6.1-RELEASE-sparc64-disc2.iso) = b7b4db45c998f682ba57fef62f2b8fdc SHA256 (6.1-RELEASE-amd64-bootonly.iso) = da885951bfa1b322bad9780766338e9b22f8b1e71c59316c0f182e27522409a9 SHA256 (6.1-RELEASE-amd64-disc1.iso) = 99f596f65f7860f2f7d1be7b926faab7c3a3561d8659527127ca39760afb0e00 SHA256 (6.1-RELEASE-amd64-disc2.iso) = 4359419420b459a256b2d45ee8d5ba4e13373f9a986ceeadfe6778448d72b01d SHA256 (6.1-RELEASE-i386-bootonly.iso) = cb7ad11198358e2123dc139d7fbab26727524e973c6c02906cc6aca944b064c9 SHA256 (6.1-RELEASE-i386-disc1.iso) = cbc6f9389c85f3130baff5270316ece18d5e324e82f8aa167c61ab49174dd4d1 SHA256 (6.1-RELEASE-i386-disc2.iso) = 7c3a056d18be9e2dccf1f4e7dba22a4760d6288165eb87fe9894abc8c7741ffb SHA256 (6.1-RELEASE-ia64-bootonly.iso) = 2d1f921f9195f5f1525b437f3bee67e0c02bbfa195a8f9950fba4d471434e837 SHA256 (6.1-RELEASE-ia64-disc1.iso) = 584870eed63617f27a0fc5dc908195504e69f35125d7cf6ef9e6752d14f85c59 SHA256 (6.1-RELEASE-ia64-disc2.iso) = 6076b7c988625cc044c75e3e580542b23ec0acdac3472d61944736731bc263fe SHA256 (6.1-RELEASE-ia64-livefs.iso) = 6fbdd5f0dc63743e05ff11a688aa6a5de2dcb34a469874c85dd3797de99e97ce SHA256 (6.1-RELEASE-pc98-disc1.iso) = 859d6978f06d9354713fe76b8ea05268650da943fb9a03e05de3c69426ebbee7 SHA256 (6.1-RELEASE-sparc64-bootonly.iso) = a700069cdcc2d0df71e7023afdbba2b4e2e2b66c23348ac6386c46f5b2ce798e SHA256 (6.1-RELEASE-sparc64-disc1.iso) = a8e8cf6d82cb8bebe3fa85fe8b2f0c5b6eff866e9314611d36194c01c489474d SHA256 (6.1-RELEASE-sparc64-disc2.iso) = 062f5e1d0ec254dbd924ed43f44de6f068646edf459ed0e36b98e2ca3f257774 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEYAD2HTr20QF8Xr8RAk3UAKCDmowYU6nU12xTRAYAFMXN9WBo4ACgkgT3 v6mvp0jJ4BkKCd7bslbJu+Q= =17hx -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 04:49:18 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10CB016A401; Tue, 9 May 2006 04:49:18 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD23143D48; Tue, 9 May 2006 04:49:15 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.19.131]) ([10.251.19.131]) by a50.ironport.com with ESMTP; 08 May 2006 21:49:15 -0700 Message-ID: <44601F4A.9070802@elischer.org> Date: Mon, 08 May 2006 21:49:14 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Scott Long References: <44600A42.7030600@samsco.org> In-Reply-To: <44600A42.7030600@samsco.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers , stable@FreeBSD.org Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 04:49:18 -0000 Scott Long wrote: >------------------------------------------------------------------------ > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >It is my great pleasure and privilege to announce the availability of >FreeBSD 6.1-RELEASE. This release is the next step in the development >of the 6.X branch, delivering several performance improvements, many >bugfixes, and a few new features. These include: > >~ Addition of a keyboard multiplexer. This allows USB and PS/2 keyboards > to coexist without any special options at boot. >~ Many fixes for filesystem stability. High load stress tests are now run > successfully on a regular basis as part of the normal FreeBSD QA process. >~ Automatic configuration for man Bluetooth devices, as well as automatic > > > s/man/many > support for running WiFi access points. >~ Addition of drivers for new ethernet and SAS and SATA RAID controllers. >~ BIND updated to 9.3.2 >~ sendmail updated to 8.13.6 > >NOTE: It was discovered at the last minute that the errata notes that were >packaged with the release are out of date. For a complete list of known >problems, please see the online errata list, available at: > > http://www.FreeBSD.org/releases/6.1R/errata.html > > the above points to a filel that says "6.0 errata" From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 07:43:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6692B16A404 for ; Tue, 9 May 2006 07:43:51 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F54043D49 for ; Tue, 9 May 2006 07:43:50 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 204CE50F9A; Tue, 9 May 2006 09:43:48 +0200 (CEST) Received: from localhost (dlv163.neoplus.adsl.tpnet.pl [83.24.51.163]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 04A1050F93; Tue, 9 May 2006 09:43:41 +0200 (CEST) Date: Tue, 9 May 2006 09:42:03 +0200 From: Pawel Jakub Dawidek To: Fredrik Lindberg Message-ID: <20060509074203.GA91101@garage.freebsd.pl> References: <00fb01c66fb2$a8e157c0$0501010a@ironman> <445A5F48.60303@spintech.ro> <200605051009.49344.doconnor@gsoft.com.au> <445AF8AB.9080008@shapeshifter.se> <445B35EA.5080009@spintech.ro> <445B48E6.3070000@shapeshifter.se> <445B544D.5070107@spintech.ro> <445B59EE.6040701@shapeshifter.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <445B59EE.6040701@shapeshifter.se> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: freebsd-hackers@freebsd.org, aanton@spintech.ro, Cesar Subject: Re: Fingerprint Authentication X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 07:43:51 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 05, 2006 at 03:58:06PM +0200, Fredrik Lindberg wrote: +> Alin-Adrian Anton wrote: +> >Fredrik Lindberg wrote: +> >> +> >>But that would sort of defeat the whole purpose of biometric authentic= ation and you could really just use public keys instead +> >>which would be a lot faster and easier than scanning your finger +> >>at each login. :) +> >> +> >Unless you locally encrypt your private key with information gathered b= y the fingerprint reader, as a "password". +>=20 +> That's exactly the problem with, at least, UPEKs driver. If you scan +> one of your fingers twice you'll get two "different" BioAPI records. +> That's "different" as in two binary data blobs which aren't equal. +> To match these records with each other, you hand them over to the +> driver which, as far as I know, hand them over to the hardware +> which in turn performs some black magic and then tell you if +> the records match or not. That's right, but the idea with asymmetric crypto is very accurate. Such fingerprint reader should have a "secure chip" with your private key and on authentication, you should provide data from your finger scan and data to sign - on match, it should return signed data, which you can use to continue authentication process. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEYEfLForvXbEpPzQRAk4NAKDTXlKZcct23JgQBWjNAVc+qeAROQCfWsfX mUvq/zltBP2x192JoHONGDM= =V5no -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 09:43:42 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6D5016A400; Tue, 9 May 2006 09:43:42 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ACAD43D49; Tue, 9 May 2006 09:43:42 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 14F722085; Tue, 9 May 2006 11:43:37 +0200 (CEST) X-Spam-Tests: AWL,BAYES_00,FORGED_RCVD_HELO X-Spam-Learn: ham X-Spam-Score: -2.4/3.0 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on tim.des.no Received: from xps.des.no (des.no [80.203.243.180]) by tim.des.no (Postfix) with ESMTP id 91A012083; Tue, 9 May 2006 11:43:36 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 71DF733C8D; Tue, 9 May 2006 11:43:36 +0200 (CEST) From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Joe Marcus Clarke References: <445F84D2.9040207@FreeBSD.org> Date: Tue, 09 May 2006 11:43:35 +0200 In-Reply-To: <445F84D2.9040207@FreeBSD.org> (Joe Marcus Clarke's message of "Mon, 08 May 2006 13:50:10 -0400") Message-ID: <86zmhrpm7s.fsf@xps.des.no> User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@FreeBSD.org Subject: Re: Adding hier/mtree support for HAL X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 09:43:42 -0000 Joe Marcus Clarke writes: > To that end, I would like to add a /media to FreeBSD. I would like to > add this to hier(7) as well as BSD.root.mtree. Would this be > permissible? Thanks. It's a logical choice, and consistent with what is used in major Linux distros. I'd say go for it. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 05:00:39 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 061A416A407 for ; Tue, 9 May 2006 05:00:39 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp108.rog.mail.re2.yahoo.com (smtp108.rog.mail.re2.yahoo.com [68.142.225.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 1DDD143D46 for ; Tue, 9 May 2006 04:59:56 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 18181 invoked from network); 9 May 2006 04:59:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=4u+eH2pb1LsKRauUprSgtiT92BR26ft/adWVQUJ0ltluVHuHatTmo4eA+iBAEecN6tNSl1mctKKDDGWTY/joAmImeTzLom1eut1tMqS7jxKNa7lgZJvmxmOviV5iE8ldYjibcNNkXJRvSCB4mB7ufZDRc++fgr/GscEHVKAz5cM= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp108.rog.mail.re2.yahoo.com with SMTP; 9 May 2006 04:59:56 -0000 Message-ID: <446021DE.6040507@rogers.com> Date: Tue, 09 May 2006 01:00:14 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Julian Elischer References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> In-Reply-To: <44601F4A.9070802@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 09 May 2006 11:31:45 +0000 Cc: FreeBSD Hackers , Scott Long , stable@FreeBSD.org Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 05:00:39 -0000 Julian Elischer wrote: > Scott Long wrote: > >> ------------------------------------------------------------------------ >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> It is my great pleasure and privilege to announce the availability of >> FreeBSD 6.1-RELEASE. This release is the next step in the development >> of the 6.X branch, delivering several performance improvements, many >> bugfixes, and a few new features. These include: >> >> ~ Addition of a keyboard multiplexer. This allows USB and PS/2 >> keyboards >> to coexist without any special options at boot. >> ~ Many fixes for filesystem stability. High load stress tests are >> now run >> successfully on a regular basis as part of the normal FreeBSD QA >> process. >> ~ Automatic configuration for man Bluetooth devices, as well as >> automatic >> >> >> > > s/man/many > >> support for running WiFi access points. >> ~ Addition of drivers for new ethernet and SAS and SATA RAID >> controllers. >> ~ BIND updated to 9.3.2 >> ~ sendmail updated to 8.13.6 >> >> NOTE: It was discovered at the last minute that the errata notes that >> were >> packaged with the release are out of date. For a complete list of known >> problems, please see the online errata list, available at: >> >> http://www.FreeBSD.org/releases/6.1R/errata.html >> >> > > the above points to a filel that says "6.0 errata" Indeed. Where is the mention of current quota/bge/em/ufs problems? Don't tell me these will be shoved under the rug. From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 13:08:07 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 699EB16A401 for ; Tue, 9 May 2006 13:08:07 +0000 (UTC) (envelope-from mime@traveller.cz) Received: from ss.eunet.cz (ss.eunet.cz [193.85.228.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDDB843D45 for ; Tue, 9 May 2006 13:08:06 +0000 (GMT) (envelope-from mime@traveller.cz) Received: from localhost.i.cz (ss.eunet.cz [193.85.228.13]) by ss.eunet.cz (8.13.3/8.13.1) with ESMTP id k49D81Yi052829 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 9 May 2006 15:08:02 +0200 (CEST) (envelope-from mime@traveller.cz) From: Michal Mertl To: "Rick C. Petty" In-Reply-To: <20060508183538.GC54101@megan.kiwi-computer.com> References: <20060508183538.GC54101@megan.kiwi-computer.com> Content-Type: text/plain Date: Tue, 09 May 2006 15:07:57 +0200 Message-Id: <1147180077.1953.1.camel@genius.i.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: ordering of ports on Promise PDC40718 SATA300 controller X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 13:08:07 -0000 Rick C. Petty wrote: > What determines the probing order of the ports/channels on the PDC40718 > (Promise TX4 SATA300 controller)? The SATA ports are labeled "Port 1" > through "Port 4". I have a total of four of these cards, and all of > them repeatably probe out of order: > > label reported in FreeBSD > ------ ------------------- > Port 1 > Port 2 > Port 3 > Port 4 > > Has anyone else noticed this with these cards? What can I do to fix it? > I'm running both 6.0-RELEASE and RELENG_6_1 as of 2006-May-07. I see that too but I don't care as long as it works :-). Michal From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 13:46:37 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35BB016A404; Tue, 9 May 2006 13:46:37 +0000 (UTC) (envelope-from fli+freebsd-hackers@shapeshifter.se) Received: from mx1.h3q.net (manticore.shapeshifter.se [212.37.5.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3DEE43D45; Tue, 9 May 2006 13:46:36 +0000 (GMT) (envelope-from fli+freebsd-hackers@shapeshifter.se) Received: from localhost (localhost [127.0.0.1]) by mx1.h3q.net (Postfix) with ESMTP id 297941A770; Tue, 9 May 2006 15:46:34 +0200 (CEST) Received: from mx1.h3q.net ([127.0.0.1]) by localhost (mx1.h3q.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75987-10; Tue, 9 May 2006 15:46:33 +0200 (CEST) Received: from [10.0.0.50] (sto-nat.se.tangram-group.net [212.37.5.19]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.h3q.net (Postfix) with ESMTP id 247581A723; Tue, 9 May 2006 15:46:33 +0200 (CEST) Message-ID: <44609D44.3090502@shapeshifter.se> Date: Tue, 09 May 2006 15:46:44 +0200 From: Fredrik Lindberg User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <00fb01c66fb2$a8e157c0$0501010a@ironman> <445A5F48.60303@spintech.ro> <200605051009.49344.doconnor@gsoft.com.au> <445AF8AB.9080008@shapeshifter.se> <445B35EA.5080009@spintech.ro> <445B48E6.3070000@shapeshifter.se> <445B544D.5070107@spintech.ro> <445B59EE.6040701@shapeshifter.se> <20060509074203.GA91101@garage.freebsd.pl> In-Reply-To: <20060509074203.GA91101@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at h3q.net Cc: freebsd-hackers@freebsd.org, aanton@spintech.ro, Cesar Subject: Re: Fingerprint Authentication X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 13:46:37 -0000 Pawel Jakub Dawidek wrote: > On Fri, May 05, 2006 at 03:58:06PM +0200, Fredrik Lindberg wrote: > +> Alin-Adrian Anton wrote: > +> >Fredrik Lindberg wrote: > +> >> > +> >>But that would sort of defeat the whole purpose of biometric authentication and you could really just use public keys instead > +> >>which would be a lot faster and easier than scanning your finger > +> >>at each login. :) > +> >> > +> >Unless you locally encrypt your private key with information gathered by the fingerprint reader, as a "password". > +> > +> That's exactly the problem with, at least, UPEKs driver. If you scan > +> one of your fingers twice you'll get two "different" BioAPI records. > > That's right, but the idea with asymmetric crypto is very accurate. > Such fingerprint reader should have a "secure chip" with your private > key and on authentication, you should provide data from your finger scan > and data to sign - on match, it should return signed data, which you can > use to continue authentication process. > Ah, yes with support from the hardware that would certainly be possible. But I was more or less referring to the current state of UPEKs hardware and (binary only/closed source) drivers. Fredrik Lindberg From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 14:12:15 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E87316A4F6 for ; Tue, 9 May 2006 14:12:15 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F86C43D69 for ; Tue, 9 May 2006 14:12:14 +0000 (GMT) (envelope-from killing@multiplay.co.uk) Received: from vader ([212.135.219.179]) by multiplay.co.uk (multiplay.co.uk [85.236.96.23]) (MDaemon.PRO.v8.1.3.R) with ESMTP id md50002544085.msg for ; Tue, 09 May 2006 15:11:42 +0100 Message-ID: <023101c67372$7ce49920$b3db87d4@multiplay.co.uk> From: "Steven Hartland" To: Date: Tue, 9 May 2006 15:11:30 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_022E_01C6737A.DA00FCE0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-Spam-Processed: multiplay.co.uk, Tue, 09 May 2006 15:11:42 +0100 (not processed: message from valid local sender) X-MDRemoteIP: 212.135.219.179 X-Return-Path: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-hackers@freebsd.org X-MDAV-Processed: multiplay.co.uk, Tue, 09 May 2006 15:11:43 +0100 Subject: htpmv driver update v1.14 + patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 14:12:17 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_022E_01C6737A.DA00FCE0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Seems the current FreeBSD source tree is behind the released driver version v1.12 vs v1.14. This can be obtained here: http://www.highpoint-tech.com/BIOS%20+%20Driver/rr1820a/FreeBSD/rr182x-opensource-bsd-1.14-0321.tgz In addition to that I've attached a patch which fixes a multi card flush issue which would cause FS corruption for machines with more than one 1820a card installed. Hope someone can commit these updates. Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137 or return the E.mail to postmaster@multiplay.co.uk. ------=_NextPart_000_022E_01C6737A.DA00FCE0 Content-Type: application/octet-stream; name="entry.c.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="entry.c.patch" --- entry.c.orig Sun Apr 2 04:21:53 2006=0A= +++ entry.c Sun Apr 2 05:07:08 2006=0A= @@ -1905,5 +1905,5 @@=0A= {=0A= IAL_ADAPTER_T * pAdapter =3D device_get_softc(dev);=0A= - int rid;=0A= + int rid, dev_unit;=0A= union ccb *ccb;=0A= struct cam_devq *devq;=0A= @@ -1999,12 +1999,18 @@=0A= free(ccb, M_DEVBUF);=0A= =0A= - /* Register shutdown handler, and start the work thread. */=0A= - if (device_get_unit(dev) =3D=3D 0) {=0A= - pAdapter->eh =3D EVENTHANDLER_REGISTER(shutdown_final, =0A= - hpt_shutdown, dev, SHUTDOWN_PRI_DEFAULT);=0A= - if (pAdapter->eh)=0A= - launch_worker_thread();=0A= + /* Register shutdown handler */=0A= + dev_unit =3D device_get_unit(dev);=0A= + pAdapter->eh =3D EVENTHANDLER_REGISTER(shutdown_final, hpt_shutdown, = dev, SHUTDOWN_PRI_DEFAULT);=0A= + if ( ! pAdapter->eh) {=0A= + if ( 0 =3D=3D dev_unit )=0A= + hpt_printk(("shutdown event registration failed dev %d ( no work = thread started )\n", dev_unit ));=0A= else=0A= - hpt_printk(("shutdown event registration failed\n"));=0A= + hpt_printk(("shutdown event registration failed dev %d\n", dev_unit = ));=0A= + }=0A= + else if ( 0 =3D=3D dev_unit ) {=0A= + // Note: No worker thread will be started if subsiquent shutdown=0A= + // registrations succeed after unit 0 failure this may be a bug=0A= + // but at least the user will have some indication of the failure=0A= + launch_worker_thread();=0A= }=0A= =0A= @@ -2076,5 +2082,5 @@=0A= int i;=0A= =0A= - hpt_printk(("flush all devices\n"));=0A= + hpt_printk(("flushing unit %d devices\n", = device_get_unit(pAdapter->hpt_dev) ));=0A= =0A= /* flush all devices */=0A= @@ -2088,16 +2094,16 @@=0A= hpt_shutdown(device_t dev)=0A= {=0A= - IAL_ADAPTER_T *pAdapter;=0A= + IAL_ADAPTER_T *pAdapter;=0A= =0A= - pAdapter =3D device_get_softc(dev);=0A= - if (pAdapter =3D=3D NULL)=0A= - return (EINVAL);=0A= -=0A= - EVENTHANDLER_DEREGISTER(shutdown_final, pAdapter->eh);=0A= - FlushAdapter(pAdapter);=0A= - /* give the flush some time to happen, =0A= - *otherwise "shutdown -p now" will make file system corrupted */=0A= - DELAY(1000 * 1000 * 5);=0A= - return 0;=0A= + pAdapter =3D device_get_softc(dev);=0A= + if (pAdapter =3D=3D NULL)=0A= + return (EINVAL);=0A= +=0A= + EVENTHANDLER_DEREGISTER(shutdown_final, pAdapter->eh);=0A= + FlushAdapter(pAdapter);=0A= + /* give the flush some time to happen, =0A= + * otherwise "shutdown -p now" will make file system corrupted */=0A= + DELAY(1000 * 1000 * 5);=0A= + return 0;=0A= }=0A= =0A= ------=_NextPart_000_022E_01C6737A.DA00FCE0-- From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 17:27:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBA2F16A66E for ; Tue, 9 May 2006 17:27:49 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 88AEB43D49 for ; Tue, 9 May 2006 17:27:48 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 61943 invoked by uid 2001); 9 May 2006 17:27:47 -0000 Date: Tue, 9 May 2006 12:27:47 -0500 From: "Rick C. Petty" To: Michal Mertl Message-ID: <20060509172747.GA61904@megan.kiwi-computer.com> References: <20060508183538.GC54101@megan.kiwi-computer.com> <1147180077.1953.1.camel@genius.i.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147180077.1953.1.camel@genius.i.cz> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: ordering of ports on Promise PDC40718 SATA300 controller X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 17:27:50 -0000 On Tue, May 09, 2006 at 03:07:57PM +0200, Michal Mertl wrote: > Rick C. Petty wrote: > > What determines the probing order of the ports/channels on the PDC40718 > > (Promise TX4 SATA300 controller)? The SATA ports are labeled "Port 1" > > through "Port 4". I have a total of four of these cards, and all of > > them repeatably probe out of order: > > > > label reported in FreeBSD > > ------ ------------------- > > Port 1 > > Port 2 > > Port 3 > > Port 4 > > > > Has anyone else noticed this with these cards? What can I do to fix it? > > I'm running both 6.0-RELEASE and RELENG_6_1 as of 2006-May-07. > > I see that too but I don't care as long as it works :-). Well that's a problem too. I'm not having good luck with this controller on either 6.0 or 6.1 unless I turn both ACPI and PREEMPTION off, and even then sometimes gvinum's raid5 makes the problem even worse... -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 20:34:52 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A863F16A403 for ; Tue, 9 May 2006 20:34:52 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62DE243D4C for ; Tue, 9 May 2006 20:34:47 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k49KYk7E052251 for ; Tue, 9 May 2006 15:34:46 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4460FCE8.9020703@centtech.com> Date: Tue, 09 May 2006 15:34:48 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1452/Tue May 9 04:14:00 2006 on mh1.centtech.com X-Virus-Status: Clean Subject: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 20:34:54 -0000 I have a Core Duo system (2 2GHz CPUs), that continually locks up (I believe it panics) when exiting xorg with both CPU's enabled. If I have: hint.apic.0.disabled="1" in device.hints, I only use one CPU, however it exits from xorg just fine. When the system locks, I still have some keyboard control (num lock lights, etc), but I can't seem to do anything else. I can't see the screen, it goes black during that time. All my system configs/dmesg/etc are here: Booted with apic not disabled: http://www.googlebit.com/freebsd/200605090613/ Booted with apic disabled: http://www.googlebit.com/freebsd/200605091117/ How can I debug (or help debug) this? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 18:44:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10D3216A470 for ; Tue, 9 May 2006 18:44:12 +0000 (UTC) (envelope-from pm940@yahoo.com) Received: from web54008.mail.yahoo.com (web54008.mail.yahoo.com [206.190.36.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 78D3743D45 for ; Tue, 9 May 2006 18:44:11 +0000 (GMT) (envelope-from pm940@yahoo.com) Received: (qmail 1517 invoked by uid 60001); 9 May 2006 18:44:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=omJcmItMWfj/2sJT8JPOMauiwH1CMB9QqWZ/MDZC0w9DIcn+xSVwSgKGkyPHV4Fm6BkLEO9X7+vg6dXqO0PVIO628MvDR0cB7GQ0sMvxq3jihECUBc9nfYgPSwlwtNRuo99h7QdeRVCwoMdqbk7zuZveVVf8Mx7Uog1ZUIhJzV8= ; Message-ID: <20060509184410.1515.qmail@web54008.mail.yahoo.com> Received: from [71.140.186.33] by web54008.mail.yahoo.com via HTTP; Tue, 09 May 2006 11:44:10 PDT Date: Tue, 9 May 2006 11:44:10 -0700 (PDT) From: Paul Marciano To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 09 May 2006 21:24:37 +0000 Subject: Question regarding bus_dma_tag_create(). X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 18:44:17 -0000 I posted this onto freebsd-questions a couple of days ago but received no reply. Hopefully this is a more appropriate audience. The man page for bus_dma_map_create() says this about the "nsegments" parameter: Number of discontinuities (scatter/gather seg- ments) allowed in a DMA mapped region. If there is no restriction, BUS_SPACE_UNRESTRICTED may be specified. BUS_SPACE_UNRESTRICTED is #defined as (~0). Then, in busdma_map_create() and busdma_mem_alloc(): if (dmat->segments == NULL) { dmat->segments = (bus_dma_segment_t *)malloc( sizeof(bus_dma_segment_t) * dmat->nsegments, M_DEVBUF, M_NOWAIT); ... } I don't understand how this works when BUS_SPACE_UNRESTRICTED is specified. The malloc will be fed a -8 (or -12 with PAE) on i386. I'm reviewing a driver at work that specifies nsegments = 0, which I think is invalid, but in reading the man page I came across this ~0 option, which I've also seen in other FreeBSD drivers and I just don't get it. I hope someone can clue me in. Thanks, Paul. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 21:32:38 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E5CF16A560 for ; Tue, 9 May 2006 21:32:38 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9298843D5C for ; Tue, 9 May 2006 21:32:36 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so1527882nzi for ; Tue, 09 May 2006 14:32:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=nzZoj9aH9Kzc8S1K82MfRHpJIdLEOo5CeP6hdOX24auCc2lCzXhIsDxmIGcWGymAZMTgcm8LbfDi1cSClZPUxI+8+nYidfI43F2DsbfaJLspGAK3YSEcL8UkFM2PWoOaCUSKst1FuLlHZioCZqPtRm8IUdcc6wXqTgZwHxw1E5E= Received: by 10.36.250.10 with SMTP id x10mr5922565nzh; Tue, 09 May 2006 14:32:35 -0700 (PDT) Received: by 10.36.80.9 with HTTP; Tue, 9 May 2006 14:32:35 -0700 (PDT) Message-ID: <47d0403c0605091432x4b19ad0drc90d96b123c07d6a@mail.gmail.com> Date: Tue, 9 May 2006 21:32:35 +0000 From: "Ben Kaduk" To: "Eric Anderson" In-Reply-To: <4460FCE8.9020703@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4460FCE8.9020703@centtech.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 21:32:38 -0000 On 5/9/06, Eric Anderson wrote: > I have a Core Duo system (2 2GHz CPUs), that continually locks up (I > believe it panics) when exiting xorg with both CPU's enabled. If I have: > > hint.apic.0.disabled=3D"1" > > in device.hints, I only use one CPU, however it exits from xorg just > fine. When the system locks, I still have some keyboard control (num > lock lights, etc), but I can't seem to do anything else. I can't see > the screen, it goes black during that time. All my system > configs/dmesg/etc are here: > > Booted with apic not disabled: > http://www.googlebit.com/freebsd/200605090613/ > > Booted with apic disabled: > http://www.googlebit.com/freebsd/200605091117/ > > How can I debug (or help debug) this? > > Eric > > > -- > ------------------------------------------------------------------------ > Eric Anderson Sr. Systems Administrator Centaur Technology > Anything that works is better than anything that doesn't. > ------------------------------------------------------------------------ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > Eric, Does your laptop by any chance have a serial or firewire port with which to set up a remote console? -Ben Kaduk From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 21:33:54 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9253F16A5C3 for ; Tue, 9 May 2006 21:33:54 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED3543D79 for ; Tue, 9 May 2006 21:33:47 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [213.87.86.60] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1FdZoq-0003A2-OR for freebsd-hackers@freebsd.org; Wed, 10 May 2006 01:32:38 +0400 Date: Wed, 10 May 2006 01:33:32 +0400 From: Stanislav Sedov To: freebsd-hackers@freebsd.org Message-ID: <20060509213332.GA19415@fonon.realnet> References: <6.0.0.22.2.20060508223802.05114230@pop3.triera.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20060508223802.05114230@pop3.triera.net> User-Agent: mutt-ng/devel-r581 (FreeBSD) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.5.2 X-Mailman-Approved-At: Tue, 09 May 2006 23:40:16 +0000 Subject: Re: packages problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 21:33:54 -0000 > On Mon, May 08, 2006 at 10:41:39PM +0200, Aleksander Rozman - Andy wrote: > Hi ! > > I have just installed 6.1-RC1 on my second computer, and I noticed that I can't > get any packages. I have installed the saqme version on one other computer > about week prior, and I had no problem... > > So back to problem. when I select packages install and FTP server (I usually > use local, but today I also tried primaries and none of them has 6.1-RC1 on it. > Then I tried options -> any (instead of 6.1-RC1) and none of servers had any > (they tried to load INDEX but it failed. Is there some problem there? If there > is problem on primary server, then it copied to all the mirrpors since none of > them work... > > Please help me, maybae I am just doing something wrong... > > Andy You can install packages by setting up the 6.0-RELEASE instead of 6.1-RC1 in options menu of the sysinstall app. Best regards, Stanislav Sedov. From owner-freebsd-hackers@FreeBSD.ORG Tue May 9 21:42:42 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E901C16A45B for ; Tue, 9 May 2006 21:42:42 +0000 (UTC) (envelope-from ssedov@mbsd.msk.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A18AD43D68 for ; Tue, 9 May 2006 21:42:41 +0000 (GMT) (envelope-from ssedov@mbsd.msk.ru) Received: from [213.87.86.60] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1FdZxT-0006oz-4y for freebsd-hackers@freebsd.org; Wed, 10 May 2006 01:41:32 +0400 Date: Wed, 10 May 2006 01:42:25 +0400 From: Stanislav Sedov To: freebsd-hackers@freebsd.org Message-ID: <20060509214225.GA19739@fonon.realnet> References: <4460FCE8.9020703@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4460FCE8.9020703@centtech.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.5.2 X-Mailman-Approved-At: Tue, 09 May 2006 23:40:24 +0000 Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 21:42:43 -0000 On Tue, May 09, 2006 at 03:34:48PM -0500, Eric Anderson wrote: > I have a Core Duo system (2 2GHz CPUs), that continually locks up (I believe it > panics) when exiting xorg with both CPU's enabled. If I have: > > hint.apic.0.disabled="1" > > in device.hints, I only use one CPU, however it exits from xorg just fine. > When the system locks, I still have some keyboard control (num lock lights, > etc), but I can't seem to do anything else. I can't see the screen, it goes > black during that time. All my system configs/dmesg/etc are here: > > Booted with apic not disabled: > http://www.googlebit.com/freebsd/200605090613/ > > Booted with apic disabled: > http://www.googlebit.com/freebsd/200605091117/ > > How can I debug (or help debug) this? > > Eric What graphic adapter you are using? Do you use DRI? What version of Xorg? Best regards, Stanislav Sedov. From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 00:01:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3C0E16A41B for ; Wed, 10 May 2006 00:01:48 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id A08CC43D62 for ; Wed, 10 May 2006 00:01:39 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (ppp223-61.lns2.adl4.internode.on.net [203.122.223.61]) (authenticated bits=0) by cain.gsoft.com.au (8.13.5/8.13.4) with ESMTP id k4A0163a001466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 May 2006 09:31:26 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Wed, 10 May 2006 09:30:27 +0930 User-Agent: KMail/1.9.1 References: <67beabb0605081559j3904ada3vb5a952cc3195ae44@mail.gmail.com> In-Reply-To: <67beabb0605081559j3904ada3vb5a952cc3195ae44@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1261166.GfGITZO878"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200605100930.28030.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.56 on 203.31.81.10 Cc: Bharma Ji Subject: Re: differences between M_CACHE, M_DEVBUF, M_TEMP X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 00:01:50 -0000 --nextPart1261166.GfGITZO878 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 09 May 2006 08:29, Bharma Ji wrote: > I am trying to understand the difference in these three different memorie= s. > Code comments in kern_malloc.c says that M_DEVBUF should be used for devi= ce > driver. I didn't however see any major difference between the three > memories. Can a device theoretically take up memory from M_TEMP (or > M_CACHE) segment? Similary can device drivers using M_DEVBUF also allocate > from M_CACHE / M_TEMP if needed. The M_* stuff is just a categorisation for memory allocations. Run vmstat -= m=20 to see what I mean. AFAIK the actual take has no bearing on the performance of the allocation=20 itself. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1261166.GfGITZO878 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEYS0c5ZPcIHs/zowRAgqvAKCScKFU0oVNRhKz4vXyjYmwTMoq1ACggD+6 Ce75GuHX/jjxAsvdoB09OXI= =xlfU -----END PGP SIGNATURE----- --nextPart1261166.GfGITZO878-- From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 01:59:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D521216A404 for ; Wed, 10 May 2006 01:59:03 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AA9243D48 for ; Wed, 10 May 2006 01:59:03 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k4A1x1dt055499; Tue, 9 May 2006 20:59:01 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <446148E7.3090205@centtech.com> Date: Tue, 09 May 2006 20:59:03 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: Ben Kaduk References: <4460FCE8.9020703@centtech.com> <47d0403c0605091432x4b19ad0drc90d96b123c07d6a@mail.gmail.com> In-Reply-To: <47d0403c0605091432x4b19ad0drc90d96b123c07d6a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1452/Tue May 9 04:14:00 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 01:59:03 -0000 Ben Kaduk wrote: > On 5/9/06, Eric Anderson wrote: >> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I >> believe it panics) when exiting xorg with both CPU's enabled. If I have: >> >> hint.apic.0.disabled="1" >> >> in device.hints, I only use one CPU, however it exits from xorg just >> fine. When the system locks, I still have some keyboard control (num >> lock lights, etc), but I can't seem to do anything else. I can't see >> the screen, it goes black during that time. All my system >> configs/dmesg/etc are here: >> >> Booted with apic not disabled: >> http://www.googlebit.com/freebsd/200605090613/ >> >> Booted with apic disabled: >> http://www.googlebit.com/freebsd/200605091117/ >> >> How can I debug (or help debug) this? >> >> Eric >> >> >> -- >> ------------------------------------------------------------------------ >> Eric Anderson Sr. Systems Administrator Centaur Technology >> Anything that works is better than anything that doesn't. >> ------------------------------------------------------------------------ >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> > > Eric, > > Does your laptop by any chance have a serial or firewire port with > which to set up a remote console? It has both. I can set up a serial console on it - what's the best way to do this? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 02:01:02 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D70A16A529 for ; Wed, 10 May 2006 02:01:02 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FC9243D45 for ; Wed, 10 May 2006 02:01:01 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4A20xiQ065980; Tue, 9 May 2006 21:01:00 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4461495E.1000100@centtech.com> Date: Tue, 09 May 2006 21:01:02 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: Stanislav Sedov References: <4460FCE8.9020703@centtech.com> <20060509214225.GA19739@fonon.realnet> In-Reply-To: <20060509214225.GA19739@fonon.realnet> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1452/Tue May 9 04:14:00 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 02:01:02 -0000 Stanislav Sedov wrote: > On Tue, May 09, 2006 at 03:34:48PM -0500, Eric Anderson wrote: >> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I believe it >> panics) when exiting xorg with both CPU's enabled. If I have: >> >> hint.apic.0.disabled="1" >> >> in device.hints, I only use one CPU, however it exits from xorg just fine. >> When the system locks, I still have some keyboard control (num lock lights, >> etc), but I can't seem to do anything else. I can't see the screen, it goes >> black during that time. All my system configs/dmesg/etc are here: >> >> Booted with apic not disabled: >> http://www.googlebit.com/freebsd/200605090613/ >> >> Booted with apic disabled: >> http://www.googlebit.com/freebsd/200605091117/ >> >> How can I debug (or help debug) this? >> >> Eric > > What graphic adapter you are using? Do you use DRI? > What version of Xorg? It's an nvidia, and I'm using the nvidia driver from ports. No DRI, xorg 6.9.0. Anything else I can provide? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 02:06:32 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A82516A409 for ; Wed, 10 May 2006 02:06:32 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D235E43D48 for ; Wed, 10 May 2006 02:06:31 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so1574346nzo for ; Tue, 09 May 2006 19:06:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=G0KHSMuscvkBF9TLYjbbWmmJkS1B0J6uBuEqi5I+eLT2Qc/juXxKdl1Tjyqrnd3seNLs8F/+Iz1v+8ZAnnOI77BO4L4l1EL6qiWzkkFJtcymdM721Uzgk7ctOLGP8rN1CoCl+pPNvFo3XpEnWqFPBfC2YAfC7HJ/H538rEPsdno= Received: by 10.36.220.18 with SMTP id s18mr5918116nzg; Tue, 09 May 2006 19:06:31 -0700 (PDT) Received: by 10.36.80.9 with HTTP; Tue, 9 May 2006 19:06:31 -0700 (PDT) Message-ID: <47d0403c0605091906ldac37c1pe601c280865beabe@mail.gmail.com> Date: Wed, 10 May 2006 02:06:31 +0000 From: "Ben Kaduk" To: "Eric Anderson" In-Reply-To: <446148E7.3090205@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4460FCE8.9020703@centtech.com> <47d0403c0605091432x4b19ad0drc90d96b123c07d6a@mail.gmail.com> <446148E7.3090205@centtech.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 02:06:32 -0000 On 5/10/06, Eric Anderson wrote: > Ben Kaduk wrote: > > On 5/9/06, Eric Anderson wrote: > >> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I > >> believe it panics) when exiting xorg with both CPU's enabled. If I ha= ve: > >> > >> hint.apic.0.disabled=3D"1" > >> > >> in device.hints, I only use one CPU, however it exits from xorg just > >> fine. When the system locks, I still have some keyboard control (num > >> lock lights, etc), but I can't seem to do anything else. I can't see > >> the screen, it goes black during that time. All my system > >> configs/dmesg/etc are here: > >> > >> Booted with apic not disabled: > >> http://www.googlebit.com/freebsd/200605090613/ > >> > >> Booted with apic disabled: > >> http://www.googlebit.com/freebsd/200605091117/ > >> > >> How can I debug (or help debug) this? > >> > >> Eric > >> > >> > >> -- > >> ----------------------------------------------------------------------= -- > >> Eric Anderson Sr. Systems Administrator Centaur Technolo= gy > >> Anything that works is better than anything that doesn't. > >> ----------------------------------------------------------------------= -- > >> _______________________________________________ > >> freebsd-hackers@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > >> To unsubscribe, send any mail to > >> "freebsd-hackers-unsubscribe@freebsd.org" > >> > > > > Eric, > > > > Does your laptop by any chance have a serial or firewire port with > > which to set up a remote console? > > It has both. I can set up a serial console on it - what's the best way > to do this? > > > Eric > > > > -- > ------------------------------------------------------------------------ > Eric Anderson Sr. Systems Administrator Centaur Technology > Anything that works is better than anything that doesn't. > ------------------------------------------------------------------------ > I am told that there are instructions in the handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-set= up.html but I personally have not gotten it to work (though I only tried when my laptop was panic-ing on boot. . .) If your freeze truly is a panic, the trace should show up on the serial console and illuminate what is going wrong. -Ben Kaduk From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 12:28:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8588816A404 for ; Wed, 10 May 2006 12:28:13 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24C3343D46 for ; Wed, 10 May 2006 12:28:12 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FdnnW-000Pl1-3h for freebsd-hackers@freebsd.org; Wed, 10 May 2006 15:28:10 +0300 From: Iasen Kostov To: FreeBSD Hackers Content-Type: text/plain Date: Wed, 10 May 2006 15:28:09 +0300 Message-Id: <1147264089.51661.10.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 12:28:13 -0000 Hello I (probably) have some problem with a hosting server machine halting about once a 30 to minute (probably when the free memory falls under some threshold). At that moment the machine totaly halts for about 5 sec then resumes normal work with load average around 9-15 (depends on system load) from about 2-3. The system is: From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 12:33:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9661A16A400 for ; Wed, 10 May 2006 12:33:03 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3604543D4C for ; Wed, 10 May 2006 12:33:03 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FdnsD-000Psn-Qo for freebsd-hackers@freebsd.org; Wed, 10 May 2006 15:33:02 +0300 From: Iasen Kostov To: FreeBSD Hackers In-Reply-To: <1147264089.51661.10.camel@DraGoN.OTEL.net> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> Content-Type: text/plain Date: Wed, 10 May 2006 15:32:59 +0300 Message-Id: <1147264379.51661.14.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 12:33:03 -0000 On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > Hello > I (probably) have some problem with a hosting server machine halting > about once a 30 to minute (probably when the free memory falls under > some threshold). At that moment the machine totaly halts for about 5 sec > then resumes normal work with load average around 9-15 (depends on > system load) from about 2-3. The system is: > (nice try :() FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 Features=0x178bfbff Features2=0x1 AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 8724152320 (8320 MB) avail memory = 8315379712 (7930 MB) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 12:44:01 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C90E16A408 for ; Wed, 10 May 2006 12:44:01 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDDBA43D46 for ; Wed, 10 May 2006 12:44:00 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fdo2o-0000Gx-TG for freebsd-hackers@freebsd.org; Wed, 10 May 2006 15:43:59 +0300 From: Iasen Kostov To: FreeBSD Hackers In-Reply-To: <1147264379.51661.14.camel@DraGoN.OTEL.net> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> Content-Type: text/plain Date: Wed, 10 May 2006 15:43:58 +0300 Message-Id: <1147265038.51661.19.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 12:44:01 -0000 On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > Hello > > I (probably) have some problem with a hosting server machine halting > > about once a 30 to minute (probably when the free memory falls under > > some threshold). At that moment the machine totally halts for about 5 sec > > then resumes normal work with load average around 9-15 (depends on > > system load) from about 2-3. The system is: > > (nice try :() > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > Features=0x178bfbff > Features2=0x1 > AMD Features=0xe2500800,LM,3DNow+,3DNow> > real memory = 8724152320 (8320 MB) > avail memory = 8315379712 (7930 MB) > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > Hum, I was probably wrong about the free memory threshold - it currently has ~1600MB of free and it is doing it again. When the free memory falls under ~30MB it is just doing it more frequently. From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 13:15:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D9C816A456; Wed, 10 May 2006 13:15:51 +0000 (UTC) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA67D43D58; Wed, 10 May 2006 13:15:50 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from qlovarnika.bg.datamax (qlovarnika.bg.datamax [192.168.10.2]) by jengal.datamax.bg (Postfix) with SMTP id CDF88B859; Wed, 10 May 2006 16:15:49 +0300 (EEST) Received: (nullmailer pid 15891 invoked by uid 1002); Wed, 10 May 2006 13:15:49 -0000 Date: Wed, 10 May 2006 16:15:49 +0300 From: Vasil Dimov To: Iasen Kostov Message-ID: <20060510131549.GA15862@qlovarnika.bg.datamax> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <1147265038.51661.19.camel@DraGoN.OTEL.net> X-OS: FreeBSD 6.1-STABLE User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 13:15:52 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 10, 2006 at 03:43:58PM +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > Hello > > > I (probably) have some problem with a hosting server machine halting > > > about once a 30 to minute (probably when the free memory falls under > > > some threshold). At that moment the machine totally halts for about 5= sec > > > then resumes normal work with load average around 9-15 (depends on > > > system load) from about 2-3. The system is: > > > (nice try :() > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > >=20 > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > Origin =3D "AuthenticAMD" Id =3D 0x20f12 Stepping =3D 2 > >=20 > > Features=3D0x178bfbff > > Features2=3D0x1 > > AMD Features=3D0xe2500800,LM,3DNow+,3DNow> > > real memory =3D 8724152320 (8320 MB) > > avail memory =3D 8315379712 (7930 MB) > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > >=20 > Hum, I was probably wrong about the free memory threshold - it > currently has ~1600MB of free and it is doing it again. When the free > memory falls under ~30MB it is just doing it more frequently. >=20 If you are absolutely sure there is a problem with the OS the first thing you should (probably) do is to upgrade to 6.1-STABLE Good luck! --=20 Vasil Dimov gro.DSBeerF@dv Testing can show the presence of bugs, but not their absence. -- Edsger W. Dijkstra --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFEYeeFFw6SP/bBpCARAqS9AJ9fp0S00An2v10cENDfJIjHLocPvwCgh+Xf JYjp6Jhp0D7x0souHsvDxas= =28Ts -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 13:22:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 47C2316A58B; Wed, 10 May 2006 13:22:12 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id D419C43D58; Wed, 10 May 2006 13:22:11 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fdodm-0001Tq-HU; Wed, 10 May 2006 16:22:11 +0300 From: Iasen Kostov To: vd@FreeBSD.org In-Reply-To: <20060510131549.GA15862@qlovarnika.bg.datamax> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <20060510131549.GA15862@qlovarnika.bg.datamax> Content-Type: text/plain Date: Wed, 10 May 2006 16:22:10 +0300 Message-Id: <1147267330.51661.32.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 13:22:16 -0000 On Wed, 2006-05-10 at 16:15 +0300, Vasil Dimov wrote: > On Wed, May 10, 2006 at 03:43:58PM +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > > Hello > > > > I (probably) have some problem with a hosting server machine halting > > > > about once a 30 to minute (probably when the free memory falls under > > > > some threshold). At that moment the machine totally halts for about 5 sec > > > > then resumes normal work with load average around 9-15 (depends on > > > > system load) from about 2-3. The system is: > > > > (nice try :() > > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > > > ACPI APIC Table: > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > > > Features=0x178bfbff > > > Features2=0x1 > > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > > real memory = 8724152320 (8320 MB) > > > avail memory = 8315379712 (7930 MB) > > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > > > Hum, I was probably wrong about the free memory threshold - it > > currently has ~1600MB of free and it is doing it again. When the free > > memory falls under ~30MB it is just doing it more frequently. > > > If you are absolutely sure there is a problem with the OS the first > thing you should (probably) do is to upgrade to 6.1-STABLE > > Good luck! Yep but first I'm not sure ... and second - it's using CPanel and I'm not sure what will happen if I do a "make world" :). And someting else - it's a heavy loaded production machine and I can't just stop it for upgrade :). Regards. From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 13:29:54 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D0DC16A4E9 for ; Wed, 10 May 2006 13:29:54 +0000 (UTC) (envelope-from tyler@tamu.edu) Received: from smtp-relay.tamu.edu (smtp-relay.tamu.edu [165.91.22.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D90043D5A for ; Wed, 10 May 2006 13:29:53 +0000 (GMT) (envelope-from tyler@tamu.edu) Received: from [192.168.250.105] (cdm-208-180-234-40.bcst.static.cox-internet.com [208.180.234.40] (may be forged)) (authenticated bits=0) by smtp-relay.tamu.edu (8.13.4/8.13.3/oc) with ESMTP id k4ADTGk2074990 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO) for ; Wed, 10 May 2006 08:29:41 -0500 (CDT) (envelope-from tyler@tamu.edu) Mime-Version: 1.0 (Apple Message framework v749.3) To: FreeBSD Hackers Message-Id: <923FBA2F-24D6-4134-B349-A92666CC6F97@tamu.edu> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-6--690656098" From: "R. Tyler Ballance" Date: Wed, 10 May 2006 08:29:11 -0500 Content-Transfer-Encoding: 7bit X-Pgp-Agent: GPGMail 1.1.2 (Tiger) X-Mailer: Apple Mail (2.749.3) Received-SPF: pass (smtp-relay.tamu.edu: 208.180.234.40 is authenticated by a trusted mechanism) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Xnu, and 'L4BSD' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 13:29:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-6--690656098 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed All this recent microkernel talk has finally hit another mailing list i'm on (l4ka@ira.uka.de) regarding a possible "L4BSD" (https:// lists.ira.uni-karlsruhe.de/pipermail/l4ka/2006-May/001603.html) and this has brought up an interesting question for me. L4Linux exists, but it seems to be more of a means for testing out and developing the L4 microkernel, but would there be any practical reason to sandbox the FreeBSD kernel and force it to run as a user- land service on top of the L4::Pistachio kernel? (for example) Would this be an effective place to start in terms of pulling off an in-between kernel much like Darwin's Xnu kernel? I can forsee plausible long term goals that would make such a project worthwhile, such as eventually moving device drivers out of the kernel (FreeBSD's that is) along with other bits and pieces, and eventually morphing it into some middle-ground best-of-both worlds kernel, but if you remove the eventually move into a Xnu-like setup, is there a definite benefit that can be reaped from such a project? Does such a project contain any merit besides the obvious education aspect of it? (And the incessant need to kill time :)) Cheers, -R. Tyler Ballance p.s. I'm not a kernel hacker, but I do aspire to be one eventually, just so I can stop arguing about the color of the bikeshed :) --Apple-Mail-6--690656098 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (Darwin) iD8DBQFEYeqpqO6nEJfroRsRAvLmAKCAhrVg59w9OF8vDCKnCV6ymoL9GQCfbM6I c0AYeXR8tNz6PesAKfWuIJc= =IBS4 -----END PGP SIGNATURE----- --Apple-Mail-6--690656098-- From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 12:26:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A9DB16A433 for ; Wed, 10 May 2006 12:26:49 +0000 (UTC) (envelope-from marcel245@mweb.co.za) Received: from cuttlefish.mweb.co.za (cuttlefish.mweb.co.za [196.2.50.76]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8523043D49 for ; Wed, 10 May 2006 12:26:48 +0000 (GMT) (envelope-from marcel245@mweb.co.za) Received: from cuttlefish.mweb.co.za (localhost.localdomain [127.0.0.1]) by pwfilter01.mweb.co.za (Postfix) with ESMTP id 3BBC136DF9 for ; Wed, 10 May 2006 14:26:46 +0200 (SAST) Received: from mws37 (unknown [196.2.63.103]) by cuttlefish.mweb.co.za (Postfix) with ESMTP id 21A2536DE0 for ; Wed, 10 May 2006 14:26:46 +0200 (SAST) From: "marcel245@mweb.co.za" To: freebsd-hackers@freebsd.org Message-ID: <922141e3b0574a3aaf1eb5e364c4c463@mweb.co.za> Date: Wed, 10 May 2006 14:26:45 +0200 X-Priority: 3 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Wed, 10 May 2006 13:56:46 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: IPFW + NATD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 12:26:50 -0000 I am still having huge troubles with using natd with the "divert natd" = in ipfw=2E I can only nat all my traffic or none=2E What i would = like to do is simply nat accoring to box or service for a particular bo= x=2E This is a example of what works for natting all traffic=2E <= BR>ipfw add divert natd all from any to any via tun0 Now i = have tried the likes of "ipfw add divert natd all from 10=2E150=2E200=2E= 35 to 196=2E25=2E211=2E150 via tun0" And that does not work=2E= Ive tried many examples=2E And cannot come right=2E All = i need to do is nat for a novell srv trying to access a mail serve= r pop account=2E Currently im forced to use port forward utilities t= hat dont work=2E Help would really be appreciated=2E :> From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 13:59:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5C0A16A4A5 for ; Wed, 10 May 2006 13:59:57 +0000 (UTC) (envelope-from phoemix@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7523843D58 for ; Wed, 10 May 2006 13:59:54 +0000 (GMT) (envelope-from phoemix@harmless.hu) Received: from localhost (localhost [127.0.0.1]) by marvin (Postfix) with ESMTP id 8235A20001CA; Wed, 10 May 2006 15:59:52 +0200 (CEST) Received: from marvin.harmless.hu ([127.0.0.1]) by localhost (marvin [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09437-04; Wed, 10 May 2006 15:59:52 +0200 (CEST) Received: by marvin (Postfix, from userid 1000) id 03F1220001C9; Wed, 10 May 2006 15:59:52 +0200 (CEST) Date: Wed, 10 May 2006 15:59:52 +0200 To: "marcel245@mweb.co.za" Message-ID: <20060510135951.GB13081@marvin.harmless.hu> References: <922141e3b0574a3aaf1eb5e364c4c463@mweb.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hQiwHBbRI9kgIhsi" Content-Disposition: inline In-Reply-To: <922141e3b0574a3aaf1eb5e364c4c463@mweb.co.za> User-Agent: Mutt/1.5.9i From: phoemix@harmless.hu (Gergely CZUCZY) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at harmless.hu Cc: freebsd-hackers@freebsd.org Subject: Re: IPFW + NATD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 14:00:04 -0000 --hQiwHBbRI9kgIhsi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Wed, May 10, 2006 at 02:26:45PM +0200, marcel245@mweb.co.za wrote: > I am still having huge troubles with using natd with the "divert natd" > = in ipfw. > I can only nat all my traffic or none. > What i would = like to do is simply nat accoring to box or service for > a particular bo= x. > This is a example of what works for natting all traffic. > <= BR>ipfw add divert natd all from any to any via tun0 > Now i = have tried the likes of "ipfw add divert natd all from > 10.150.200.= 35 to 196.25.211.150 via tun0" > And that does not work. Ive tried many examples. And cannot come right. > All = i need to do is nat for a novell srv trying to access a mail > serve= r pop account. > Currently im forced to use port forward utilities t= hat dont work. > Help would really be appreciated. why don't you simply use pf? pf simply rocks, and the natting facility is built in(i don't see the point of userspace natting). i would give it a try if i were you Bye, Gergely Czuczy mailto: gergely.czuczy@harmless.hu PGP: http://phoemix.harmless.hu/phoemix.pgp Weenies test. Geniuses solve problems that arise. --hQiwHBbRI9kgIhsi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEYfHXbBsEN0U7BV0RAmv+AJ9mXkj1kOJuUNsBvUOjA+lxoZYZqwCgkxTY 7+/2Kd9PPQx2NEPgMpfA/5g= =8qdT -----END PGP SIGNATURE----- --hQiwHBbRI9kgIhsi-- From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 14:03:28 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B22A716A4D5 for ; Wed, 10 May 2006 14:03:28 +0000 (UTC) (envelope-from david@madole.net) Received: from b.omd3.com (b.omd3.com [69.90.174.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EAE543D68 for ; Wed, 10 May 2006 14:03:28 +0000 (GMT) (envelope-from david@madole.net) Received: from dhcp-66-212-201-164.myeastern.com ([66.212.201.164] helo=[192.168.231.195]) by b.omd3.com with esmtpa (Exim 4.54) id 1FdpHj-000KaD-MW; Wed, 10 May 2006 10:03:27 -0400 Message-ID: <4461F2AE.1010508@madole.net> Date: Wed, 10 May 2006 10:03:26 -0400 From: "David S. Madole" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "marcel245@mweb.co.za" References: <922141e3b0574a3aaf1eb5e364c4c463@mweb.co.za> In-Reply-To: <922141e3b0574a3aaf1eb5e364c4c463@mweb.co.za> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: IPFW + NATD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 14:03:29 -0000 marcel245@mweb.co.za wrote: > Now i =ave tried the likes of "ipfw add divert natd all from > 10.150.200.= 35 to 196.25.211.150 via tun0" > And that does not work. Ive tried many examples. And cannot come right That is fine, but you need to make sure the packets for both directions of the connections go through natd. Without seeing your entire set of ipfw rules and configuration, I can't suggest exactly what to do, but remember the outgoing packets will match addresses before NAT (on the inside of natd) and the incoming will match after NAT (on the outside of natd). Assuming that 1.2.3.4 is the address you are NATing to, something similar to this should work: 00001 divert natd ip from 10.150.200.5 to 196.25.211.150 xmit via tun0 00002 divert natd ip from any to 1.2.3.4 recv via tun0 Adjust to suit your own configuration. David From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 16:18:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C390C16A673 for ; Wed, 10 May 2006 16:18:34 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65ED743D72 for ; Wed, 10 May 2006 16:18:34 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k4AGIXpH042866; Wed, 10 May 2006 11:18:33 -0500 (CDT) (envelope-from dan) Date: Wed, 10 May 2006 11:18:33 -0500 From: Dan Nelson To: Iasen Kostov Message-ID: <20060510161833.GA76653@dan.emsphone.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147265038.51661.19.camel@DraGoN.OTEL.net> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 16:18:34 -0000 In the last episode (May 10), Iasen Kostov said: > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > I (probably) have some problem with a hosting server machine > > > halting about once a 30 to minute (probably when the free memory > > > falls under some threshold). At that moment the machine totally > > > halts for about 5 sec then resumes normal work with load average > > > around 9-15 (depends on system load) from about 2-3. The system > > > is: > > > (nice try :() > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > Features=0x178bfbff > > Features2=0x1 > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > real memory = 8724152320 (8320 MB) > > avail memory = 8315379712 (7930 MB) > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > Hum, I was probably wrong about the free memory threshold - it > currently has ~1600MB of free and it is doing it again. When the free > memory falls under ~30MB it is just doing it more frequently. Are you swapping? Paste in the output "top -o size". If you have processes that are in the 1gb range, then when one exits you will end up with a lot of "free" memory for a short period of time, and it may try paging in another process that was completely paged out (if you are low enough on RAM for that to have happened). That could cause pagedaemon activity. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 16:26:07 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95E3C16A579 for ; Wed, 10 May 2006 16:26:07 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 256C443D48 for ; Wed, 10 May 2006 16:26:07 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FdrVl-0006AM-DD; Wed, 10 May 2006 19:26:05 +0300 From: Iasen Kostov To: Dan Nelson In-Reply-To: <20060510161833.GA76653@dan.emsphone.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <20060510161833.GA76653@dan.emsphone.com> Content-Type: text/plain Date: Wed, 10 May 2006 19:26:05 +0300 Message-Id: <1147278365.27779.5.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 16:26:07 -0000 On Wed, 2006-05-10 at 11:18 -0500, Dan Nelson wrote: > In the last episode (May 10), Iasen Kostov said: > > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > > I (probably) have some problem with a hosting server machine > > > > halting about once a 30 to minute (probably when the free memory > > > > falls under some threshold). At that moment the machine totally > > > > halts for about 5 sec then resumes normal work with load average > > > > around 9-15 (depends on system load) from about 2-3. The system > > > > is: > > > > (nice try :() > > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > > > ACPI APIC Table: > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > > > Features=0x178bfbff > > > Features2=0x1 > > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > > real memory = 8724152320 (8320 MB) > > > avail memory = 8315379712 (7930 MB) > > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > > > Hum, I was probably wrong about the free memory threshold - it > > currently has ~1600MB of free and it is doing it again. When the free > > memory falls under ~30MB it is just doing it more frequently. > > Are you swapping? Paste in the output "top -o size". If you have > processes that are in the 1gb range, then when one exits you will end > up with a lot of "free" memory for a short period of time, and it may > try paging in another process that was completely paged out (if you are > low enough on RAM for that to have happened). That could cause > pagedaemon activity. > last pid: 81499; load averages: 4.55, 6.48, 7.06 up 39+02:03:35 19:20:24 361 processes: 6 running, 340 sleeping, 15 waiting CPU states: 7.8% user, 0.0% nice, 5.6% system, 0.6% interrupt, 86.0% idle Mem: 3435M Active, 3422M Inact, 462M Wired, 357M Cache, 214M Buf, 63M Free Swap: 4096M Total, 1884K Used, 4094M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 80053 mysql 8 20 0 467M 45904K kserel 0 2:01 0.00% mysqld 79134 nobody 1 4 0 243M 8332K sbwait 3 0:09 0.49% httpd 79402 nobody 1 4 0 243M 58332K sbwait 3 0:10 0.00% httpd 79341 nobody 1 4 0 242M 30156K sbwait 0 0:11 0.00% httpd 79283 nobody 1 4 0 242M 56796K accept 0 0:07 0.10% httpd 79281 nobody 1 -4 0 242M 63012K getblk 1 0:05 0.24% httpd 79917 nobody 1 4 0 242M 59636K sbwait 3 0:10 0.00% httpd ... httpds are eating 242MB because I'm using eaccelerator which allocates 100MB shared memory (or atleast that's what is in conf :) ) and I have ~400 users. From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 16:49:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 990A816A615 for ; Wed, 10 May 2006 16:49:31 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6BD243D6D for ; Wed, 10 May 2006 16:49:29 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k4AGnTiI002675; Wed, 10 May 2006 11:49:29 -0500 (CDT) (envelope-from dan) Date: Wed, 10 May 2006 11:49:29 -0500 From: Dan Nelson To: Iasen Kostov Message-ID: <20060510164929.GB76653@dan.emsphone.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <20060510161833.GA76653@dan.emsphone.com> <1147278365.27779.5.camel@DraGoN.OTEL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147278365.27779.5.camel@DraGoN.OTEL.net> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 16:49:35 -0000 In the last episode (May 10), Iasen Kostov said: > On Wed, 2006-05-10 at 11:18 -0500, Dan Nelson wrote: > > In the last episode (May 10), Iasen Kostov said: > > > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > > > I (probably) have some problem with a hosting server machine > > > > > halting about once a 30 to minute (probably when the free > > > > > memory falls under some threshold). At that moment the > > > > > machine totally halts for about 5 sec then resumes normal > > > > > work with load average around 9-15 (depends on system load) > > > > > from about 2-3. The system is: > > > > > (nice try :() > > > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > > > > > ACPI APIC Table: > > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > > > > > Features=0x178bfbff > > > > Features2=0x1 > > > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > > > real memory = 8724152320 (8320 MB) > > > > avail memory = 8315379712 (7930 MB) > > > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > > > > > Hum, I was probably wrong about the free memory threshold - it > > > currently has ~1600MB of free and it is doing it again. When the > > > free memory falls under ~30MB it is just doing it more > > > frequently. > > > > Are you swapping? Paste in the output "top -o size". If you have > > processes that are in the 1gb range, then when one exits you will > > end up with a lot of "free" memory for a short period of time, and > > it may try paging in another process that was completely paged out > > (if you are low enough on RAM for that to have happened). That > > could cause pagedaemon activity. > > > > last pid: 81499; load averages: 4.55, 6.48, 7.06 > up 39+02:03:35 19:20:24 > 361 processes: 6 running, 340 sleeping, 15 waiting > CPU states: 7.8% user, 0.0% nice, 5.6% system, 0.6% interrupt, 86.0% idle > Mem: 3435M Active, 3422M Inact, 462M Wired, 357M Cache, 214M Buf, 63M Free > Swap: 4096M Total, 1884K Used, 4094M Free Well, you're not swapping, which is good. > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 80053 mysql 8 20 0 467M 45904K kserel 0 2:01 0.00% mysqld > 79134 nobody 1 4 0 243M 8332K sbwait 3 0:09 0.49% httpd > 79402 nobody 1 4 0 243M 58332K sbwait 3 0:10 0.00% httpd > 79341 nobody 1 4 0 242M 30156K sbwait 0 0:11 0.00% httpd > 79283 nobody 1 4 0 242M 56796K accept 0 0:07 0.10% httpd > 79281 nobody 1 -4 0 242M 63012K getblk 1 0:05 0.24% httpd > 79917 nobody 1 4 0 242M 59636K sbwait 3 0:10 0.00% httpd > ... > > httpds are eating 242MB because I'm using eaccelerator which allocates > 100MB shared memory (or atleast that's what is in conf :) ) and I have > ~400 users. I would have expected RES to be at least 100MB to account for that shared memory, but I could be wrong. I don't have any suggestions on your paging problem, though. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 21:14:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DE5216A482 for ; Wed, 10 May 2006 21:14:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C81F243D48 for ; Wed, 10 May 2006 21:14:44 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4ALEXci037533; Wed, 10 May 2006 17:14:34 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Wed, 10 May 2006 17:14:33 -0400 User-Agent: KMail/1.9.1 References: <4460FCE8.9020703@centtech.com> In-Reply-To: <4460FCE8.9020703@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605101714.34683.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1455/Wed May 10 11:34:38 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 21:14:45 -0000 On Tuesday 09 May 2006 16:34, Eric Anderson wrote: > I have a Core Duo system (2 2GHz CPUs), that continually locks up (I > believe it panics) when exiting xorg with both CPU's enabled. If I have: > > hint.apic.0.disabled="1" > > in device.hints, I only use one CPU, however it exits from xorg just > fine. When the system locks, I still have some keyboard control (num > lock lights, etc), but I can't seem to do anything else. I can't see > the screen, it goes black during that time. All my system > configs/dmesg/etc are here: > > Booted with apic not disabled: > http://www.googlebit.com/freebsd/200605090613/ > > Booted with apic disabled: > http://www.googlebit.com/freebsd/200605091117/ > > How can I debug (or help debug) this? What if you disable just SMP but leave APIC enabled (kern.smp.disabled=1)? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Wed May 10 22:36:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33F3016A7F8 for ; Wed, 10 May 2006 22:36:49 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D5DF43D48 for ; Wed, 10 May 2006 22:36:44 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4AMaUGs003151; Wed, 10 May 2006 16:36:31 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44626AE8.8060102@samsco.org> Date: Wed, 10 May 2006 16:36:24 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Simonenko References: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> In-Reply-To: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-hackers@freebsd.org Subject: Re: Atomic updates of NFS export lists X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 22:36:49 -0000 Andrey Simonenko wrote: > Greetings, > > In my environment non-atomic updates of NFS export lists are not > acceptable. So, I decided to correct this problem. As the result > mountd, kern/vfs_export.c were completely rewritten, mount.h, > vfs_mount.c and nfs_srvsubs.c also got changes. > > For details see kern/9619. > I've been looking at this since my company is also running into these problems. I've integrated your patchset into my tree, and I'll let you know how it works after a few days of testing. One thing to note is that you've significantly re-written much of mountd, as well as changed the API/ABI a bit and removed some command line switches. That makes it less attractive for inclusion in RELENG_6, but is fine for 7-CURRENT. With that in mind, you should switch over to using nmount() instead of mount(), that way you can completely remove the per-filesystem handling code that you added. If there is any way that you can trim the changes to just implement the new export primitives and leave out the libsock stuff, it would be much easier to justify getting into RELENG_6. I don't have an opinion on the libsock design, but you should talk to people like Robert Watson about that before this goes into 7-CURRENT. But thank you very much for this. It was a pleasant surprise to see this after I had been talking to others about exactly these problems for a few weeks. Hopefully we can get this integrated into FreeBSD soon. Scott From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 03:12:37 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C640316A403 for ; Thu, 11 May 2006 03:12:37 +0000 (UTC) (envelope-from benno@FreeBSD.org) Received: from mail.jeamland.net (rafe.jeamland.net [202.45.126.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B06643D45 for ; Thu, 11 May 2006 03:12:35 +0000 (GMT) (envelope-from benno@FreeBSD.org) Received: from mail.jeamland.net (localhost [127.0.0.1]) by mail.jeamland.net (Postfix) with ESMTP id 46A901CCE4 for ; Thu, 11 May 2006 13:12:33 +1000 (EST) Received: from [10.2.3.17] (ppp67-100.lns1.mel4.internode.on.net [59.167.67.100]) by mail.jeamland.net (Postfix) with ESMTP id 77CEB1CC50 for ; Thu, 11 May 2006 13:12:32 +1000 (EST) Message-ID: <4462AB9D.4000107@FreeBSD.org> Date: Thu, 11 May 2006 13:12:29 +1000 From: Benno Rice User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: hackers@FreeBSD.org Content-Type: multipart/mixed; boundary="------------040608010607010107080407" X-Virus-Scanned: ClamAV using ClamSMTP at rafe.jeamland.net Cc: Subject: RFC: Minor changes to uart(4)'s ns8250/ns16550 support. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 03:12:37 -0000 This is a multi-part message in MIME format. --------------040608010607010107080407 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've made a couple of changes to uart(4)'s support for ns8250/ns16550-alikes to support some work I'm doing on porting FreeBSD to Intel's XScale PXA255. The changes are: - Stop using uart_{get,set}dreg to handle the DL register. The DL register is 16 bits wide, but when the register offset is anything other than 0, it's true nature as two individual 8-bit registers is revealed and bus_space_{read,write}_2 won't work anymore. Instead, treat it as two single 8-bit registers. - The PXA255 uses the upper four bits of the IER to handle some of it's own configuration for the UART, including the bit that turns the UART on and off. Therefore we can't assume that those bits will be 0, or that writing 0 to them is safe. Instead, always read the IER, make the changes and write it back out again. A patch is attached which contains these changes. I've already run these past marcel and he's ok with them. If anyone using uart(4) to drive one of these parts could test this and let me know if they run into any problems, that'd rock. Many thanks! -- Benno Rice benno@FreeBSD.org --------------040608010607010107080407 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="uart-pxa.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uart-pxa.diff" Index: sys/dev/ic/ns16550.h =================================================================== RCS file: /home/ncvs/src/sys/dev/ic/ns16550.h,v retrieving revision 1.16 diff -u -r1.16 ns16550.h --- sys/dev/ic/ns16550.h 20 Nov 2004 23:19:42 -0000 1.16 +++ sys/dev/ic/ns16550.h 11 May 2006 03:09:35 -0000 @@ -127,7 +127,8 @@ #define com_dlbl com_dll #define com_dlm 1 /* divisor latch high (R/W) */ #define com_dlbh com_dlm -#define REG_DL com_dll +#define REG_DLL com_dll +#define REG_DLH com_dlm /* 16450 register #7. Not multiplexed. */ #define com_scr 7 /* scratch register (R/W) */ Index: sys/dev/uart/uart_dev_ns8250.c =================================================================== RCS file: /home/ncvs/src/sys/dev/uart/uart_dev_ns8250.c,v retrieving revision 1.21 diff -u -r1.21 uart_dev_ns8250.c --- sys/dev/uart/uart_dev_ns8250.c 27 Apr 2006 05:43:10 -0000 1.21 +++ sys/dev/uart/uart_dev_ns8250.c 11 May 2006 03:09:49 -0000 @@ -75,7 +75,7 @@ lcr = uart_getreg(bas, REG_LCR); uart_setreg(bas, REG_LCR, lcr | LCR_DLAB); uart_barrier(bas); - divisor = uart_getdreg(bas, REG_DL); + divisor = uart_getreg(bas, REG_DLL) | (uart_getreg(bas, REG_DLH) << 8); uart_barrier(bas); uart_setreg(bas, REG_LCR, lcr); uart_barrier(bas); @@ -199,7 +199,8 @@ return (EINVAL); uart_setreg(bas, REG_LCR, lcr | LCR_DLAB); uart_barrier(bas); - uart_setdreg(bas, REG_DL, divisor); + uart_setreg(bas, REG_DLL, divisor & 0xff); + uart_setreg(bas, REG_DLH, (divisor >> 8) & 0xff); uart_barrier(bas); } @@ -245,32 +246,22 @@ uart_setreg(bas, REG_LCR, lcr & ~LCR_DLAB); uart_barrier(bas); - /* Check known 0 bits that depend on !DLAB. */ - val = uart_getreg(bas, REG_IER); - if (val & 0xf0) - goto fail; - - uart_setreg(bas, REG_LCR, lcr); - uart_barrier(bas); return (0); - - fail: - uart_setreg(bas, REG_LCR, lcr); - uart_barrier(bas); - return (ENXIO); } static void ns8250_init(struct uart_bas *bas, int baudrate, int databits, int stopbits, int parity) { + u_char ier; if (bas->rclk == 0) bas->rclk = DEFAULT_RCLK; ns8250_param(bas, baudrate, databits, stopbits, parity); /* Disable all interrupt sources. */ - uart_setreg(bas, REG_IER, 0); + ier = uart_getreg(bas, REG_IER) & 0xf0; + uart_setreg(bas, REG_IER, ier); uart_barrier(bas); /* Disable the FIFO (if present). */ @@ -416,7 +407,8 @@ ns8250_bus_getsig(sc); ns8250_clrint(bas); - ns8250->ier = IER_EMSC | IER_ERLS | IER_ERXRDY; + ns8250->ier = uart_getreg(bas, REG_IER) & 0xf0; + ns8250->ier |= IER_EMSC | IER_ERLS | IER_ERXRDY; uart_setreg(bas, REG_IER, ns8250->ier); uart_barrier(bas); return (0); @@ -426,9 +418,11 @@ ns8250_bus_detach(struct uart_softc *sc) { struct uart_bas *bas; + u_char ier; bas = &sc->sc_bas; - uart_setreg(bas, REG_IER, 0); + ier = uart_getreg(bas, REG_IER) & 0xf0; + uart_setreg(bas, REG_IER, ier); uart_barrier(bas); ns8250_clrint(bas); return (0); @@ -529,7 +523,8 @@ lcr = uart_getreg(bas, REG_LCR); uart_setreg(bas, REG_LCR, lcr | LCR_DLAB); uart_barrier(bas); - divisor = uart_getdreg(bas, REG_DL); + divisor = uart_getreg(bas, REG_DLL) | + (uart_getreg(bas, REG_DLH) << 8); uart_barrier(bas); uart_setreg(bas, REG_LCR, lcr); uart_barrier(bas); @@ -600,7 +595,7 @@ { struct uart_bas *bas; int count, delay, error, limit; - uint8_t lsr, mcr; + uint8_t lsr, mcr, ier; bas = &sc->sc_bas; @@ -684,7 +679,8 @@ --limit) DELAY(delay); if (limit == 0) { - uart_setreg(bas, REG_IER, 0); + ier = uart_getreg(bas, REG_IER) & 0xf0; + uart_setreg(bas, REG_IER, ier); uart_setreg(bas, REG_MCR, mcr); uart_setreg(bas, REG_FCR, 0); uart_barrier(bas); --------------040608010607010107080407-- From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 05:48:19 2006 Return-Path: X-Original-To: hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B61116A410 for ; Thu, 11 May 2006 05:48:19 +0000 (UTC) (envelope-from benno@FreeBSD.org) Received: from mail.jeamland.net (rafe.jeamland.net [202.45.126.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B23543D45 for ; Thu, 11 May 2006 05:48:16 +0000 (GMT) (envelope-from benno@FreeBSD.org) Received: from mail.jeamland.net (localhost [127.0.0.1]) by mail.jeamland.net (Postfix) with ESMTP id 10C271CCFC for ; Thu, 11 May 2006 15:48:15 +1000 (EST) Received: from [10.2.3.17] (ppp67-100.lns1.mel4.internode.on.net [59.167.67.100]) by mail.jeamland.net (Postfix) with ESMTP id 47DD51CC63 for ; Thu, 11 May 2006 15:48:14 +1000 (EST) Message-ID: <4462D01D.1000500@FreeBSD.org> Date: Thu, 11 May 2006 15:48:13 +1000 From: Benno Rice User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) MIME-Version: 1.0 To: hackers@FreeBSD.org Content-Type: multipart/mixed; boundary="------------010009070002000005040300" X-Virus-Scanned: ClamAV using ClamSMTP at rafe.jeamland.net Cc: Subject: RFC: Optionally verbose SYSINIT X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 05:48:19 -0000 This is a multi-part message in MIME format. --------------010009070002000005040300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit One of the things that I found useful both in starting the PowerPC port and in doing the XScale stuff I'm working on is making the SYSINIT stuff done by mi_startup() verbose. This generally requires hacking your own code into mi_startup() to print out which SYSINIT you're up to and the like. jhb recently pointed me at this version he wrote which uses DDB to look up the symbol corresponding to the SYSINIT in question which makes it even more useful. I would like to commit this version, which I've made optional based on a VERBOSE_SYSINIT option, so as to make it available to anyone else further down the line who's porting to a new architecture. Comments? Questions? -- Benno Rice benno@FreeBSD.org --------------010009070002000005040300 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="verbose-sysinit.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="verbose-sysinit.diff" Index: conf/options =================================================================== RCS file: /home/ncvs/src/sys/conf/options,v retrieving revision 1.540 diff -u -r1.540 options --- conf/options 7 May 2006 18:12:17 -0000 1.540 +++ conf/options 11 May 2006 05:34:26 -0000 @@ -158,6 +158,7 @@ TURNSTILE_PROFILING TTYHOG opt_tty.h VFS_AIO +VERBOSE_SYSINIT opt_global.h WLCACHE opt_wavelan.h WLDEBUG opt_wavelan.h Index: kern/init_main.c =================================================================== RCS file: /home/ncvs/src/sys/kern/init_main.c,v retrieving revision 1.262 diff -u -r1.262 init_main.c --- kern/init_main.c 7 Feb 2006 21:22:01 -0000 1.262 +++ kern/init_main.c 11 May 2006 05:35:21 -0000 @@ -84,6 +84,9 @@ #include #include +#include +#include + void mi_startup(void); /* Should be elsewhere */ /* Components of the first process -- never freed. */ @@ -169,6 +172,11 @@ register struct sysinit **xipp; /* interior loop of sort*/ register struct sysinit *save; /* bubble*/ +#if defined(VERBOSE_SYSINIT) + int last; + int verbose; +#endif + if (sysinit == NULL) { sysinit = SET_BEGIN(sysinit_set); sysinit_end = SET_LIMIT(sysinit_set); @@ -191,6 +199,14 @@ } } +#if defined(VERBOSE_SYSINIT) + last = SI_SUB_COPYRIGHT; + verbose = 0; +#if !defined(DDB) + printf("VERBOSE_SYSINIT: DDB not enabled, symbol lookups disabled.\n"); +#endif +#endif + /* * Traverse the (now) ordered list of system initialization tasks. * Perform each task, and continue on to the next task. @@ -206,9 +222,38 @@ if ((*sipp)->subsystem == SI_SUB_DONE) continue; +#if defined(VERBOSE_SYSINIT) + if ((*sipp)->subsystem > last) { + verbose = 1; + last = (*sipp)->subsystem; + printf("subsystem %x\n", last); + } + if (verbose) { +#if defined(DDB) + const char *name; + c_db_sym_t sym; + db_expr_t offset; + + sym = db_search_symbol((vm_offset_t)(*sipp)->func, + DB_STGY_PROC, &offset); + db_symbol_values(sym, &name, NULL); + if (name != NULL) + printf(" %s(%p)... ", name, (*sipp)->udata); + else +#endif + printf(" %p(%p)... ", (*sipp)->func, + (*sipp)->udata); + } +#endif + /* Call function */ (*((*sipp)->func))((*sipp)->udata); +#if defined(VERBOSE_SYSINIT) + if (verbose) + printf("done.\n"); +#endif + /* Check off the one we're just done */ (*sipp)->subsystem = SI_SUB_DONE; --------------010009070002000005040300-- From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 07:53:00 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAE0216A411; Thu, 11 May 2006 07:53:00 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id B044E43D45; Thu, 11 May 2006 07:52:55 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4B7qsVv005752; Thu, 11 May 2006 01:52:54 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4462ED55.10900@samsco.org> Date: Thu, 11 May 2006 01:52:53 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Benno Rice References: <4462D01D.1000500@FreeBSD.org> In-Reply-To: <4462D01D.1000500@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: hackers@freebsd.org Subject: Re: RFC: Optionally verbose SYSINIT X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 07:53:00 -0000 This would be awesome, please do it. Scott Benno Rice wrote: > One of the things that I found useful both in starting the PowerPC port > and in doing the XScale stuff I'm working on is making the SYSINIT stuff > done by mi_startup() verbose. This generally requires hacking your own > code into mi_startup() to print out which SYSINIT you're up to and the > like. jhb recently pointed me at this version he wrote which uses DDB > to look up the symbol corresponding to the SYSINIT in question which > makes it even more useful. > > I would like to commit this version, which I've made optional based on a > VERBOSE_SYSINIT option, so as to make it available to anyone else > further down the line who's porting to a new architecture. > > Comments? Questions? > > > ------------------------------------------------------------------------ > > Index: conf/options > =================================================================== > RCS file: /home/ncvs/src/sys/conf/options,v > retrieving revision 1.540 > diff -u -r1.540 options > --- conf/options 7 May 2006 18:12:17 -0000 1.540 > +++ conf/options 11 May 2006 05:34:26 -0000 > @@ -158,6 +158,7 @@ > TURNSTILE_PROFILING > TTYHOG opt_tty.h > VFS_AIO > +VERBOSE_SYSINIT opt_global.h > WLCACHE opt_wavelan.h > WLDEBUG opt_wavelan.h > > Index: kern/init_main.c > =================================================================== > RCS file: /home/ncvs/src/sys/kern/init_main.c,v > retrieving revision 1.262 > diff -u -r1.262 init_main.c > --- kern/init_main.c 7 Feb 2006 21:22:01 -0000 1.262 > +++ kern/init_main.c 11 May 2006 05:35:21 -0000 > @@ -84,6 +84,9 @@ > #include > #include > > +#include > +#include > + > void mi_startup(void); /* Should be elsewhere */ > > /* Components of the first process -- never freed. */ > @@ -169,6 +172,11 @@ > register struct sysinit **xipp; /* interior loop of sort*/ > register struct sysinit *save; /* bubble*/ > > +#if defined(VERBOSE_SYSINIT) > + int last; > + int verbose; > +#endif > + > if (sysinit == NULL) { > sysinit = SET_BEGIN(sysinit_set); > sysinit_end = SET_LIMIT(sysinit_set); > @@ -191,6 +199,14 @@ > } > } > > +#if defined(VERBOSE_SYSINIT) > + last = SI_SUB_COPYRIGHT; > + verbose = 0; > +#if !defined(DDB) > + printf("VERBOSE_SYSINIT: DDB not enabled, symbol lookups disabled.\n"); > +#endif > +#endif > + > /* > * Traverse the (now) ordered list of system initialization tasks. > * Perform each task, and continue on to the next task. > @@ -206,9 +222,38 @@ > if ((*sipp)->subsystem == SI_SUB_DONE) > continue; > > +#if defined(VERBOSE_SYSINIT) > + if ((*sipp)->subsystem > last) { > + verbose = 1; > + last = (*sipp)->subsystem; > + printf("subsystem %x\n", last); > + } > + if (verbose) { > +#if defined(DDB) > + const char *name; > + c_db_sym_t sym; > + db_expr_t offset; > + > + sym = db_search_symbol((vm_offset_t)(*sipp)->func, > + DB_STGY_PROC, &offset); > + db_symbol_values(sym, &name, NULL); > + if (name != NULL) > + printf(" %s(%p)... ", name, (*sipp)->udata); > + else > +#endif > + printf(" %p(%p)... ", (*sipp)->func, > + (*sipp)->udata); > + } > +#endif > + > /* Call function */ > (*((*sipp)->func))((*sipp)->udata); > > +#if defined(VERBOSE_SYSINIT) > + if (verbose) > + printf("done.\n"); > +#endif > + > /* Check off the one we're just done */ > (*sipp)->subsystem = SI_SUB_DONE; > > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 10:26:24 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F7C916A45F for ; Thu, 11 May 2006 10:26:24 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31ECD43D66 for ; Thu, 11 May 2006 10:26:15 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by wx-out-0102.google.com with SMTP id t13so101866wxc for ; Thu, 11 May 2006 03:26:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S9sk9VHaaNSJWOo3tZ5DFaTAzMO5qdM1XK+8to3CldtVvUi6+QMfRWtfbjoA3dtgaP+m/vIeAmpzSM+jdFE1J9OrJ73wXLo0cQzBzMO4sPEwf4N/386yZC4VPy0TqBLzMoGC7EtBtd6NQZ2EraLb4NpPVxxOD/Hhi9SN18NVLjw= Received: by 10.70.110.4 with SMTP id i4mr920103wxc; Thu, 11 May 2006 03:26:15 -0700 (PDT) Received: by 10.70.117.13 with HTTP; Thu, 11 May 2006 03:26:15 -0700 (PDT) Message-ID: <84dead720605110326t27ccc07ega07bbfae05fb2d3c@mail.gmail.com> Date: Thu, 11 May 2006 15:56:15 +0530 From: "Joseph Koshy" To: "R. Tyler Ballance" In-Reply-To: <923FBA2F-24D6-4134-B349-A92666CC6F97@tamu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <923FBA2F-24D6-4134-B349-A92666CC6F97@tamu.edu> Cc: FreeBSD Hackers Subject: Re: Xnu, and 'L4BSD' X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 10:26:24 -0000 > L4Linux exists, but it seems to be more of a means for testing out > and developing the L4 microkernel, but would there be any practical > reason to sandbox the FreeBSD kernel and force it to run as a user- > land service on top of the L4::Pistachio kernel? (for example) Well, you could do neat stuff like migrating VMs between machines 'on-the-fly', as described in the following paper: http://www.cl.cam.ac.uk/Research/SRG/netos/papers/2005-migration-nsdi-pre.= pdf Also, L4::Pistachio is BSD-licensed. --=20 FreeBSD Developer, http://people.freebsd.org/~jkoshy From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 10:36:51 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AE1216A404 for ; Thu, 11 May 2006 10:36:51 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 843EE43D48 for ; Thu, 11 May 2006 10:36:50 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1Fe8XI-0006rs-KA; Thu, 11 May 2006 13:36:49 +0300 From: Iasen Kostov To: Dan Nelson In-Reply-To: <20060510164929.GB76653@dan.emsphone.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <20060510161833.GA76653@dan.emsphone.com> <1147278365.27779.5.camel@DraGoN.OTEL.net> <20060510164929.GB76653@dan.emsphone.com> Content-Type: text/plain Date: Thu, 11 May 2006 13:36:48 +0300 Message-Id: <1147343808.33341.8.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 10:36:51 -0000 On Wed, 2006-05-10 at 11:49 -0500, Dan Nelson wrote: > In the last episode (May 10), Iasen Kostov said: > > On Wed, 2006-05-10 at 11:18 -0500, Dan Nelson wrote: > > > In the last episode (May 10), Iasen Kostov said: > > > > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > > > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > > > > I (probably) have some problem with a hosting server machine > > > > > > halting about once a 30 to minute (probably when the free > > > > > > memory falls under some threshold). At that moment the > > > > > > machine totally halts for about 5 sec then resumes normal > > > > > > work with load average around 9-15 (depends on system load) > > > > > > from about 2-3. The system is: > > > > > > (nice try :() > > > > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > > > > > > > ACPI APIC Table: > > > > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > > > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > > > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > > > > > > > Features=0x178bfbff > > > > > Features2=0x1 > > > > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > > > > real memory = 8724152320 (8320 MB) > > > > > avail memory = 8315379712 (7930 MB) > > > > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > > > > > > > Hum, I was probably wrong about the free memory threshold - it > > > > currently has ~1600MB of free and it is doing it again. When the > > > > free memory falls under ~30MB it is just doing it more > > > > frequently. > > > > > > Are you swapping? Paste in the output "top -o size". If you have > > > processes that are in the 1gb range, then when one exits you will > > > end up with a lot of "free" memory for a short period of time, and > > > it may try paging in another process that was completely paged out > > > (if you are low enough on RAM for that to have happened). That > > > could cause pagedaemon activity. > > > > > > > last pid: 81499; load averages: 4.55, 6.48, 7.06 > > up 39+02:03:35 19:20:24 > > 361 processes: 6 running, 340 sleeping, 15 waiting > > CPU states: 7.8% user, 0.0% nice, 5.6% system, 0.6% interrupt, 86.0% idle > > Mem: 3435M Active, 3422M Inact, 462M Wired, 357M Cache, 214M Buf, 63M Free > > Swap: 4096M Total, 1884K Used, 4094M Free > > Well, you're not swapping, which is good. > > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > > 80053 mysql 8 20 0 467M 45904K kserel 0 2:01 0.00% mysqld > > 79134 nobody 1 4 0 243M 8332K sbwait 3 0:09 0.49% httpd > > 79402 nobody 1 4 0 243M 58332K sbwait 3 0:10 0.00% httpd > > 79341 nobody 1 4 0 242M 30156K sbwait 0 0:11 0.00% httpd > > 79283 nobody 1 4 0 242M 56796K accept 0 0:07 0.10% httpd > > 79281 nobody 1 -4 0 242M 63012K getblk 1 0:05 0.24% httpd > > 79917 nobody 1 4 0 242M 59636K sbwait 3 0:10 0.00% httpd > > ... > > > > httpds are eating 242MB because I'm using eaccelerator which allocates > > 100MB shared memory (or atleast that's what is in conf :) ) and I have > > ~400 users. > > I would have expected RES to be at least 100MB to account for that > shared memory, but I could be wrong. I don't have any suggestions on > your paging problem, though. > OK, if somebody can tell me - if this is normal for pagedaemon to lock the machine under heavy fragmentation and ~8G RAM or it's just FreeBSD pagedaemon is Crappy (or the whole VM ?) and can't handle it and I should explore other options (Linux, Solaris, older FreeBSD, other BSDs ?) or it is just a bug (it's ~2 month before release but it should be stable right ?). From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 11:05:46 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8F2C16A402; Thu, 11 May 2006 11:05:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx0.rink.nu (morion.rink.nu [80.112.228.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F6743D45; Thu, 11 May 2006 11:05:46 +0000 (GMT) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx0.rink.nu (Postfix) with ESMTP id 6741E44; Thu, 11 May 2006 13:05:24 +0200 (CEST) Received: from mx0.rink.nu ([127.0.0.1]) by localhost (morion.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 62783-10; Thu, 11 May 2006 13:05:14 +0200 (CEST) Received: by mx0.rink.nu (Postfix, from userid 1678) id 2175F3D; Thu, 11 May 2006 13:05:14 +0200 (CEST) Date: Thu, 11 May 2006 13:05:13 +0200 From: Rink Springer To: Scott Long Message-ID: <20060511110513.GD56310@rink.nu> References: <4462D01D.1000500@FreeBSD.org> <4462ED55.10900@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4462ED55.10900@samsco.org> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at rink.nu Cc: hackers@freebsd.org, Benno Rice Subject: Re: RFC: Optionally verbose SYSINIT X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 11:05:47 -0000 > This would be awesome, please do it. I agree, I've done something like this in a much more hackishly-way for the XBox port as well, but your code is much cleaner than mine was :-) Go for it, may others benefit from it! --=20 Rink P.W. Springer - http://rink.nu "Richter: Tribute? You steal men's souls, and make them your slaves! Dracula: Perhaps the same could be said of all religions." - Castlevania: Symphony of the Night From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 11:41:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4704F16A439; Thu, 11 May 2006 11:41:08 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90E9443D7B; Thu, 11 May 2006 11:41:07 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k4BBf6Be038536; Thu, 11 May 2006 06:41:06 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <446322D4.7020708@centtech.com> Date: Thu, 11 May 2006 06:41:08 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: John Baldwin References: <4460FCE8.9020703@centtech.com> <200605101714.34683.jhb@freebsd.org> In-Reply-To: <200605101714.34683.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1456/Thu May 11 00:57:31 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 11:41:08 -0000 John Baldwin wrote: > On Tuesday 09 May 2006 16:34, Eric Anderson wrote: >> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I >> believe it panics) when exiting xorg with both CPU's enabled. If I have: >> >> hint.apic.0.disabled="1" >> >> in device.hints, I only use one CPU, however it exits from xorg just >> fine. When the system locks, I still have some keyboard control (num >> lock lights, etc), but I can't seem to do anything else. I can't see >> the screen, it goes black during that time. All my system >> configs/dmesg/etc are here: >> >> Booted with apic not disabled: >> http://www.googlebit.com/freebsd/200605090613/ >> >> Booted with apic disabled: >> http://www.googlebit.com/freebsd/200605091117/ >> >> How can I debug (or help debug) this? > > What if you disable just SMP but leave APIC enabled > (kern.smp.disabled=1)? > If I disable only SMP and leave APIC enabled, everything seems to work fine. What other info can I give you? Thanks! Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 09:45:03 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC61B16A410 for ; Thu, 11 May 2006 09:45:03 +0000 (UTC) (envelope-from hongz@promisechina.com) Received: from mxdxt7.hichina.com (mxdxt7.hichina.com [218.244.143.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E64C43D6E for ; Thu, 11 May 2006 09:44:59 +0000 (GMT) (envelope-from hongz@promisechina.com) Received: from 222.128.58.137 (HELO hongzhao) (envelope-from hongz@promisechina.com) by mxdxt7.hichina.com (quarkmail-1.2.1) with ESMTP id S5174738AbWEKJou for freebsd-hackers@freebsd.org; Thu, 11 May 2006 17:44:50 +0800 From: To: Date: Thu, 11 May 2006 17:45:00 +0800 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcZ035HVljCqpd8VQaWcxPYKaR/2rg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Message-ID: <1147340690$36076$55833599@hongz@promisechina.com> X-Mailman-Approved-At: Thu, 11 May 2006 11:58:24 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: help:How to map a physical address into a kernel address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 09:45:04 -0000 Hi guys: To access sg_table in kernel address, I need to map the starting physical address of a segment into a kernel address. As I know that, we can use phystovirt()/bustovirt(), or kmap()/kmap_atomic() to map a bus/physical address or a physical page into a kernel address in Linux, but I did not find such a function in FreeBSD. Please help me on this, it is very urgent! Thanks a lot! Hong From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 13:40:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1169316A47D for ; Thu, 11 May 2006 13:40:56 +0000 (UTC) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 169C5442DD for ; Thu, 11 May 2006 13:20:40 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm513-1.comsys.ntu-kpi.kiev.ua (pm513-1.comsys.ntu-kpi.kiev.ua [10.18.52.101]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.13.6/8.13.6) with ESMTP id k4BDZYLb096883 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 11 May 2006 16:35:34 +0300 (EEST) Received: by pm513-1.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1001) id 53BB25C024; Thu, 11 May 2006 16:21:08 +0300 (EEST) Date: Thu, 11 May 2006 16:21:08 +0300 From: Andrey Simonenko To: Scott Long Message-ID: <20060511132108.GA1366@pm513-1.comsys.ntu-kpi.kiev.ua> References: <20060421095610.GA1137@pm513-1.comsys.ntu-kpi.kiev.ua> <44626AE8.8060102@samsco.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44626AE8.8060102@samsco.org> User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on comsys.ntu-kpi.kiev.ua X-Virus-Scanned: ClamAV 0.82/1456/Thu May 11 08:57:31 2006 on comsys.ntu-kpi.kiev.ua X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Atomic updates of NFS export lists X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 13:41:24 -0000 On Wed, May 10, 2006 at 04:36:24PM -0600, Scott Long wrote: > >In my environment non-atomic updates of NFS export lists are not > >acceptable. So, I decided to correct this problem. As the result > >mountd, kern/vfs_export.c were completely rewritten, mount.h, > >vfs_mount.c and nfs_srvsubs.c also got changes. > > > >For details see kern/9619. > > > > I've been looking at this since my company is also running into these > problems. I've integrated your patchset into my tree, and I'll let you > know how it works after a few days of testing. One thing to note is > that you've significantly re-written much of mountd, as well as changed > the API/ABI a bit and removed some command line switches. I removed only the "-p " option from mountd. Initially I added several options for mountd to allow to specify UDP, TCP services, addresses and ports, but that gave many lines of code. One of examples of such code is located in nfsd.c. Sockconf library allows in a configuration file to specify all settings for sockets and an application can use getsockconf() function for getting all settings in a linked list (similar to the result of the getaddrinfo() function). One new important option is -t, which allows to check exports file and dump parsed configuration. I thought about changing format of exports file, but decided to not change anything (almost). > That makes it > less attractive for inclusion in RELENG_6, but is fine for 7-CURRENT. > With that in mind, you should switch over to using nmount() instead of > mount(), that way you can completely remove the per-filesystem handling > code that you added. What about using nfssvc(2) for this task? Yes it is possible to use nmount() and remove export_args from all filesystems, and remove mount_arg("export"...) from all vfs_cmount() implementation, but... New version of mountd is very strict about errors and does not ignore them. There is a race condition between parsing exports file, passing parsed configuration to the kernel and mounting/umounting filesystems. It is possible to make mount(8), umount(8) and mountd(8) to work synchronous, but this will require changing of mount(8) and umount(8). In current implementation there are several situations when mountd can exit with error, e.g. a filesystem was mounted and exported, then it was unmounted and mountd rereads exports file, since old filesystem does not exist any more, mountd will report about error (the kernel will refuse to clear export list for non-existent filesystem) and exit. This problem exist before. This question must be discussed. > If there is any way that you can trim the changes to just implement the > new export primitives and leave out the libsock stuff, it would be much > easier to justify getting into RELENG_6. This will make code a bit complex as it is now... The idea of sockconf library is to simplify some part of code in applications. > I don't have an opinion on the > libsock design, but you should talk to people like Robert Watson about > that before this goes into 7-CURRENT. Can you and others also discuss "open questions" from the first letter? From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 15:54:40 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CD4E16A69E for ; Thu, 11 May 2006 15:54:40 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58DB444201 for ; Thu, 11 May 2006 15:26:38 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (cpw424n0ars8ee8i@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k4BFQbS4010548; Thu, 11 May 2006 08:26:37 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k4BFQaUX010547; Thu, 11 May 2006 08:26:36 -0700 (PDT) (envelope-from jmg) Date: Thu, 11 May 2006 08:26:36 -0700 From: John-Mark Gurney To: hongz@promisechina.com Message-ID: <20060511152636.GN59504@funkthat.com> Mail-Followup-To: hongz@promisechina.com, freebsd-hackers@freebsd.org References: <1147340690$36076$55833599@hongz@promisechina.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147340690$36076$55833599@hongz@promisechina.com> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org Subject: Re: help:How to map a physical address into a kernel address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 15:54:53 -0000 hongz@promisechina.com wrote this message on Thu, May 11, 2006 at 17:45 +0800: > To access sg_table in kernel address, I need to map the starting physical > address of a segment into a kernel address. As I know that, we can use > phystovirt()/bustovirt(), or kmap()/kmap_atomic() to map a bus/physical > address or a physical page into a kernel address in Linux, but I did not > find such a function in FreeBSD. Please help me on this, it is very urgent! That's what bus_space is used for... You need to allocate the resource that contains the sg_table, and then you can use the bus_space macros to access the table.. you could use bus_space_write_region to copy the table from kernel memory to your device, or just write the updated values... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 15:54:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F1A316A7AB for ; Thu, 11 May 2006 15:54:50 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 307184413F for ; Thu, 11 May 2006 15:25:33 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeD2g-000GGJ-Qq for freebsd-hackers@freebsd.org; Thu, 11 May 2006 18:25:31 +0300 From: Iasen Kostov To: FreeBSD Hackers In-Reply-To: <1147265038.51661.19.camel@DraGoN.OTEL.net> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> Content-Type: text/plain Date: Thu, 11 May 2006 18:25:30 +0300 Message-Id: <1147361130.33341.10.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 15:55:05 -0000 On Wed, 2006-05-10 at 15:43 +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > Hello > > > I (probably) have some problem with a hosting server machine halting > > > about once a 30 to minute (probably when the free memory falls under > > > some threshold). At that moment the machine totally halts for about 5 sec > > > then resumes normal work with load average around 9-15 (depends on > > > system load) from about 2-3. The system is: > > > (nice try :() > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > Features=0x178bfbff > > Features2=0x1 > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > real memory = 8724152320 (8320 MB) > > avail memory = 8315379712 (7930 MB) > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > Hum, I was probably wrong about the free memory threshold - it > currently has ~1600MB of free and it is doing it again. When the free > memory falls under ~30MB it is just doing it more frequently. > And another odd thing (to me atleast): From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 15:55:26 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72A0016A62F for ; Thu, 11 May 2006 15:55:26 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E0E044410 for ; Thu, 11 May 2006 15:33:12 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeDA6-000GOc-QQ for freebsd-hackers@freebsd.org; Thu, 11 May 2006 18:33:11 +0300 From: Iasen Kostov To: FreeBSD Hackers In-Reply-To: <1147265038.51661.19.camel@DraGoN.OTEL.net> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> Content-Type: text/plain Date: Thu, 11 May 2006 18:33:10 +0300 Message-Id: <1147361590.33341.19.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 15:55:36 -0000 On Wed, 2006-05-10 at 15:43 +0300, Iasen Kostov wrote: > On Wed, 2006-05-10 at 15:32 +0300, Iasen Kostov wrote: > > On Wed, 2006-05-10 at 15:28 +0300, Iasen Kostov wrote: > > > Hello > > > I (probably) have some problem with a hosting server machine halting > > > about once a 30 to minute (probably when the free memory falls under > > > some threshold). At that moment the machine totally halts for about 5 sec > > > then resumes normal work with load average around 9-15 (depends on > > > system load) from about 2-3. The system is: > > > (nice try :() > > FreeBSD 6.1-PRERELEASE #7: Wed Mar 15 17:35:21 EET 2006 > > > > ACPI APIC Table: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Dual Core AMD Opteron(tm) Processor 270 (2004.56-MHz K8-class CPU) > > Origin = "AuthenticAMD" Id = 0x20f12 Stepping = 2 > > > > Features=0x178bfbff > > Features2=0x1 > > AMD Features=0xe2500800,LM,3DNow+,3DNow> > > real memory = 8724152320 (8320 MB) > > avail memory = 8315379712 (7930 MB) > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > > Hum, I was probably wrong about the free memory threshold - it > currently has ~1600MB of free and it is doing it again. When the free > memory falls under ~30MB it is just doing it more frequently. > And another odd thing (to me atleast): #:> vmstat -s | grep "daemon\|fault" 0 page daemon wakeups 0 pages examined by the page daemon 4992608 copy-on-write faults 29021 copy-on-write optimized faults 75167 intransit blocking page faults 66956262 total VM faults taken 0 pages freed by daemon Acording to vmstat pagedaemon has never been awake. But after every 5 sec. lock I can see it eating ~25% of cpu (100/4 cpus) and I can see processes in "*Giant" and "*vm ob" states. Worst thing it that the machine is freshly rebooted and it was doing it even with ~6G of free RAM and no swapping at all. Kamal R. Prasad suggested that "Belady's anomaly" might occur. If it's true or possible what could be done about this ? From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 16:01:15 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC38516A6F6; Thu, 11 May 2006 16:01:15 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC21E43EB2; Thu, 11 May 2006 16:00:07 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id E4846119CCF; Thu, 11 May 2006 17:59:13 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id x6XAKjKKgNag; Thu, 11 May 2006 17:59:13 +0200 (CEST) Received: from oxy (dsl217-197-176-208.pool.tvnet.hu [217.197.176.208]) by green.field.hu (Postfix) with ESMTP id 92708119CA2; Thu, 11 May 2006 17:59:13 +0200 (CEST) Message-ID: <000801c67513$f814f7f0$0201a8c0@oxy> From: "OxY" To: Date: Thu, 11 May 2006 18:00:05 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-performance@freebsd.org Subject: enabling hyper-threading on intel dual-core X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 16:01:18 -0000 hi! i just bought an Intel Pentium D-930 (3ghz dual-core) and wonder why i just only have CPU0 and CPU1, when i compile with = SMP... sysctl says: machdep.cpu_idle_hlt: 0 is it right or i should see CPU 2 and 3 starting during the boot? thanks for your help! ps: i even compiled this option in kernel, can't see any change options MPTABLE_FORCE_HTT # Enable HTT CPUs with the MP = Table From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 16:16:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A9B616A8A5; Thu, 11 May 2006 16:16:53 +0000 (UTC) (envelope-from luke@foolishgames.com) Received: from mail.foolishgames.com (mail.foolishgames.com [206.222.28.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E37C843D96; Thu, 11 May 2006 16:16:44 +0000 (GMT) (envelope-from luke@foolishgames.com) Received: from [192.168.0.150] (24-176-58-245.dhcp.klmz.mi.charter.com [24.176.58.245]) (authenticated bits=0) by mail.foolishgames.com (8.13.6/8.13.3) with ESMTP id k4BGGaL8008150 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Thu, 11 May 2006 12:16:36 -0400 (EDT) (envelope-from luke@foolishgames.com) X-Habeas-Swe-9: mark in spam to . X-Habeas-Swe-6: email in exchange for a license for this Habeas Content-Transfer-Encoding: 7bit X-Habeas-Swe-3: like Habeas SWE (tm) Date: Thu, 11 May 2006 12:16:35 -0400 X-Priority: 3 X-Habeas-Swe-8: Message (HCM) and not spam. Please report use of this X-Habeas-Swe-5: Sender Warranted Email (SWE) (tm). The sender of this From: Lucas Holt X-Habeas-Swe-2: brightly anticipated In-Reply-To: <000801c67513$f814f7f0$0201a8c0@oxy> References: <000801c67513$f814f7f0$0201a8c0@oxy> To: OxY X-Habeas-Swe-7: warrant mark warrants that this is a Habeas Compliant Mime-Version: 1.0 (Apple Message framework v749.3) X-Habeas-Swe-4: Copyright 2002 Habeas (tm) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed X-Habeas-Swe-1: winter into spring Message-Id: <1DD6C5CE-047E-4489-AF66-902B27020CD0@foolishgames.com> X-Mailer: Apple Mail (2.749.3) X-Virus-Scanned: ClamAV 0.88.2/1456/Thu May 11 01:57:31 2006 on mail.foolishgames.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, freebsd-performance@freebsd.org Subject: Re: enabling hyper-threading on intel dual-core X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 16:16:58 -0000 I think intel chips with dual core don't have hyperthreading. The operating system sees the second core like it would with hyperthreading only. On May 11, 2006, at 12:00 PM, OxY wrote: > hi! > > i just bought an Intel Pentium D-930 (3ghz dual-core) > and wonder why i just only have CPU0 and CPU1, when i compile with > SMP... > > sysctl says: > machdep.cpu_idle_hlt: 0 > > is it right or i should see CPU 2 and 3 starting during the boot? > > thanks for your help! > > ps: i even compiled this option in kernel, can't see any change > > options MPTABLE_FORCE_HTT # Enable HTT CPUs with the > MP Table > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance- > unsubscribe@freebsd.org" Lucas Holt Luke@FoolishGames.com ________________________________________________________ FoolishGames.com (Jewel Fan Site) JustJournal.com (Free blogging) FoolishGames.net (Enemy Territory site) From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 17:47:36 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9367616A456 for ; Thu, 11 May 2006 17:47:36 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1252843D5D for ; Thu, 11 May 2006 17:47:36 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id F3AB8119CCF; Thu, 11 May 2006 19:46:41 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 0xRzhHhamP4Q; Thu, 11 May 2006 19:46:41 +0200 (CEST) Received: from oxy (dsl217-197-176-208.pool.tvnet.hu [217.197.176.208]) by green.field.hu (Postfix) with ESMTP id A45D0119CA2; Thu, 11 May 2006 19:46:41 +0200 (CEST) Message-ID: <000e01c67522$fc168530$0201a8c0@oxy> From: "OxY" To: "Shane Ambler" References: Date: Thu, 11 May 2006 19:47:34 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-hackers@freebsd.org Subject: Re: enabling hyper-threading on intel dual-core X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 17:47:38 -0000 thanks a lot for your help! ----- Original Message ----- From: "Shane Ambler" To: "FreeBSD Mailing Lists" Sent: Thursday, May 11, 2006 7:34 PM Subject: Re: enabling hyper-threading on intel dual-core > On 12/5/2006 1:30, "OxY" wrote: > >> hi! >> >> i just bought an Intel Pentium D-930 (3ghz dual-core) >> and wonder why i just only have CPU0 and CPU1, when i compile with SMP... >> >> sysctl says: >> machdep.cpu_idle_hlt: 0 >> >> is it right or i should see CPU 2 and 3 starting during the boot? >> >> thanks for your help! >> >> ps: i even compiled this option in kernel, can't see any change >> >> options MPTABLE_FORCE_HTT # Enable HTT CPUs with the MP >> Table >> _______________________________________________ >> freebsd-performance@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-performance >> To unsubscribe, send any mail to >> "freebsd-performance-unsubscribe@freebsd.org" >> > > Sounds right to me - the 930 is a dual core and will show up as two cpu's > cpu0 and cpu1. > > The early dual core's don't support hyperthreading - the Pentium-D > extreme > edition does (Pentium D-955 at 3.46Ghz is one) and will show up as 4 > cpu's. > Currently at 3x the price. > > > -- > > Shane Ambler > Shane@007Marketing.com > > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to > "freebsd-performance-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 17:56:57 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.ORG Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E17B16A579 for ; Thu, 11 May 2006 17:56:57 +0000 (UTC) (envelope-from fetrovsky@yahoo.com) Received: from web53904.mail.yahoo.com (web53904.mail.yahoo.com [206.190.36.214]) by mx1.FreeBSD.org (Postfix) with SMTP id E3BAF43D53 for ; Thu, 11 May 2006 17:56:54 +0000 (GMT) (envelope-from fetrovsky@yahoo.com) Received: (qmail 31109 invoked by uid 60001); 11 May 2006 17:56:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d1YrcLtnix/3P3/6g6KxnSOCKAVww1teuVpa98WdngRK2bzwIDwgXaEejHLKXQCfyZmiaElzHOHXf/LtyUUytNdln4PuM8ownk8A2Ck60ZoN/aFYnF3a6AxclEYRQDSj7TflQnjZB7mmR1u9d0cyyiHi+gkmdUg4rsu9Q/kAxCY= ; Message-ID: <20060511175654.31107.qmail@web53904.mail.yahoo.com> Received: from [128.195.84.80] by web53904.mail.yahoo.com via HTTP; Thu, 11 May 2006 10:56:54 PDT Date: Thu, 11 May 2006 10:56:54 -0700 (PDT) From: Daniel Valencia To: freebsd-hackers@FreeBSD.ORG In-Reply-To: <20060313063551.99062.qmail@web53913.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: About amd64 dualcore problems with two SATA disks and nforce4 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 17:57:23 -0000 Hello, A few months ago I pointed out a problem with AMD64 dualcore, and I even tracked the problem down to a few commits at a particular date and time... Now that 6.1 is finally released, I tried it, and the problem is still there... the boot process will crash when detecting the second SATA disk in my system... If there is anything I can do to help fix that problem (like testing and such), please let me know... - Daniel --- Daniel Valencia wrote: > Hi, > > Well... Hopeful with your mailings, I updated the > kernel (cvsup) and rebuilt it... the problem's still > there... detects one SATA disk (ad4) and crashes > before acknowledging the second (ad6)... > > - Daniel > > > S�ren Schmidt wrote: Daniel > Valencia wrote: > > Hi, > > > > So, what's your last src/ cvsup date/time? is your > machine dualcore? if > > so, are you building using the SMP option? > > yep: > > CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ > (2412.37-MHz > K8-class CPU) > > and yep: > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > > > mine breaks when in SMP mode... in GENERIC it > works, just it doesn't > > detect the second SATA disk > > Well, no problems here with that, the nve interface > is something else > though :) > > -S�ren > > > > - Daniel > > > > > > */S�ren Schmidt /* wrote: > > > > Daniel Valencia wrote: > > > Hello, > > > > > > I started a short thread a few weeks ago, > pointing out a problem > > with my dualcore athlon64, when detecting the > second SATA disk > > (/dev/ad6)... my chipset is an nForce4... The > problem was narrowed > > down to a few commits performed at a > particular date and time. My > > questions are: is it safe to update my kernel > now? have those > > problems been fixed? is there something I can > do to help (like > > testing or so)? > > > > > For whatever its worth my NF4 board finds all > 4 SATA disks perfectly > > both in i386 and amd64 mode: > > > > atapci0: port > > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at > device 6.0 on pci0 > > ata0: on atapci0 > > ata1: on atapci0 > > atapci1: port > > > 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f > mem > > 0xfe02b000-0xfe02bfff irq 21 at device 7.0 on > pci0 > > ata2: on atapci1 > > ata3: on atapci1 > > atapci2: port > > > 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f > mem > > 0xfe02a000-0xfe02afff irq 22 at device 8.0 on > pci0 > > ata4: on atapci2 > > ata5: on atapci2 > > ad0: 38166MB at ata0-master UDMA100 > > ad1: 78533MB at ata2-master SATA300 > > ad2: 78533MB at ata3-master SATA300 > > ad3: 70911MB at ata4-master SATA150 > > ad4: 70911MB at ata5-master SATA150 > > atausb0: > > addr 2> on uhub1 > > atausb0: using SCSI over Bulk-Only > > ata6: on atausb0 > > acd0: CDRW at ata6-master USB2 > > Trying to mount root from ufs:/dev/ad0s1a > > > > -S�ren > > > > > > > ------------------------------------------------------------------------ > > Yahoo! Mail > > Bring photos to life! New PhotoMail > > > > makes sharing a breeze. > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > > > > --------------------------------- > Yahoo! Mail > Bring photos to life! New PhotoMail makes sharing a > breeze. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 18:37:40 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1CB216A46D; Thu, 11 May 2006 18:37:40 +0000 (UTC) (envelope-from oxy@field.hu) Received: from green.field.hu (green.field.hu [217.20.130.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1FC6448B4; Thu, 11 May 2006 18:37:39 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (green.field.hu [217.20.130.28]) by green.field.hu (Postfix) with ESMTP id B61F7119CCF; Thu, 11 May 2006 20:36:45 +0200 (CEST) X-Virus-Scanned: by Amavisd-new (Spamassassin+Razor2+Pyzor+DCC+Bayes db, Clamd Antivirus) at field.hu Received: from green.field.hu ([217.20.130.28]) by localhost (green.field.hu [217.20.130.28]) (amavisd-new, port 10024) with ESMTP id 4U+Xjr7ZFwOC; Thu, 11 May 2006 20:36:45 +0200 (CEST) Received: from oxy (dsl217-197-176-208.pool.tvnet.hu [217.197.176.208]) by green.field.hu (Postfix) with ESMTP id 35764119CA2; Thu, 11 May 2006 20:36:45 +0200 (CEST) Message-ID: <000801c67529$faaf9e00$0201a8c0@oxy> From: "OxY" To: "Achim Patzner" References: <000801c67513$f814f7f0$0201a8c0@oxy> <7BBD3DC5-8E81-459E-B3AA-C6B21B49A5FF@bnc.net> Date: Thu, 11 May 2006 20:37:38 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Cc: freebsd-hackers@freebsd.org, freebsd-performance@freebsd.org Subject: Re: enabling hyper-threading on intel dual-core X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 18:37:41 -0000 930 is perfect, fast enough, no need to spend more money, thanks :) ----- Original Message ----- From: "Achim Patzner" To: "OxY" Cc: ; Sent: Thursday, May 11, 2006 8:16 PM Subject: Re: enabling hyper-threading on intel dual-core >> i just bought an Intel Pentium D-930 (3ghz dual-core) >> and wonder why i just only have CPU0 and CPU1, when i compile with >> SMP... > > You would need a Pentium Extreme (840, 955 or 965) for this. And > quite a bit of cash. > > > Achim > From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 18:44:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14ED916A6B9; Thu, 11 May 2006 18:44:35 +0000 (UTC) (envelope-from ap@bnc.net) Received: from mailomat.net (mailomat.net [217.110.117.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC32F442EA; Thu, 11 May 2006 18:16:43 +0000 (GMT) (envelope-from ap@bnc.net) X-BNC-SpamCatcher-Score: 2 [X] Received: from [212.202.24.165] (account ap HELO [194.39.192.148]) by mailomat.net (CommuniGate Pro SMTP 4.3.6) with ESMTPSA id 8113952; Thu, 11 May 2006 20:16:38 +0200 In-Reply-To: <000801c67513$f814f7f0$0201a8c0@oxy> References: <000801c67513$f814f7f0$0201a8c0@oxy> Mime-Version: 1.0 (Apple Message framework v749.3) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7BBD3DC5-8E81-459E-B3AA-C6B21B49A5FF@bnc.net> Content-Transfer-Encoding: 7bit From: Achim Patzner Date: Thu, 11 May 2006 20:16:16 +0200 To: "OxY" X-Mailer: Apple Mail (2.749.3) X-Mailman-Approved-At: Thu, 11 May 2006 19:14:43 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-performance@freebsd.org Subject: Re: enabling hyper-threading on intel dual-core X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 18:44:49 -0000 > i just bought an Intel Pentium D-930 (3ghz dual-core) > and wonder why i just only have CPU0 and CPU1, when i compile with > SMP... You would need a Pentium Extreme (840, 955 or 965) for this. And quite a bit of cash. Achim From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 20:45:41 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF2316A40D; Thu, 11 May 2006 20:45:40 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 982A543D45; Thu, 11 May 2006 20:45:40 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k4BKjd1n062107; Thu, 11 May 2006 15:45:39 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4463A275.5030701@centtech.com> Date: Thu, 11 May 2006 15:45:41 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: John Baldwin References: <4460FCE8.9020703@centtech.com> <200605101714.34683.jhb@freebsd.org> <446322D4.7020708@centtech.com> In-Reply-To: <446322D4.7020708@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1456/Thu May 11 00:57:31 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 20:45:41 -0000 Eric Anderson wrote: > John Baldwin wrote: >> On Tuesday 09 May 2006 16:34, Eric Anderson wrote: >>> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I >>> believe it panics) when exiting xorg with both CPU's enabled. If I >>> have: >>> >>> hint.apic.0.disabled="1" >>> >>> in device.hints, I only use one CPU, however it exits from xorg just >>> fine. When the system locks, I still have some keyboard control (num >>> lock lights, etc), but I can't seem to do anything else. I can't see >>> the screen, it goes black during that time. All my system >>> configs/dmesg/etc are here: >>> >>> Booted with apic not disabled: >>> http://www.googlebit.com/freebsd/200605090613/ >>> >>> Booted with apic disabled: >>> http://www.googlebit.com/freebsd/200605091117/ >>> >>> How can I debug (or help debug) this? >> >> What if you disable just SMP but leave APIC enabled >> (kern.smp.disabled=1)? >> > > If I disable only SMP and leave APIC enabled, everything seems to work > fine. What other info can I give you? > I was able to get a backtrace, and a core from this. Here's some details: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xc6263000 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0d89e43 stack pointer = 0x28:0xe590d4a4 frame pointer = 0x28:0xe590d4bc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 3 current process = 790 (Xorg) [thread pid 790 tid 100057 ] Stopped at _nv002872rm+0x4b: movl 0(%edx,%eax,4),%ebx db> bt Tracing pid 790 tid 100057 td 0xc55b4a80 _nv002872rm(c5e2c000,c5b15d00,0,408000,c5e2c000) at _nv002872rm+0x4b _nv004617rm(c5e2c000,c52d2800,1f,e590d704,20) at _nv004617rm+0x617 _nv004359rm(c5e2c000,c52d2800,e590d704,0,3d0900) at _nv004359rm+0x123 _nv004373rm(c5e2c000,c52d2800,0,c53ac400,4) at _nv004373rm+0x38 _nv003961rm(c5e2c000,c0e8b250,18,c0d38b2a,c5e2c000) at _nv003961rm+0x58 _nv003962rm(c5e2c000,c5e35000,0,c0bfdd56,c53919c0) at _nv003962rm+0x5a _nv008284rm(c53d6700,4,e590d7dc,c0c04a7e,c53919c0) at _nv008284rm+0xe5 rm_disable_adapter(c53d6700,0,c576dc00,c53d6600,c53d6700) at rm_disable_adapter+0x55 nvidia_close_dev(c53d6600,c53d6800,c55b4a80,4,c53d6800) at nvidia_close_dev+0x63 nvidia_dev_close(c53d6800,3,2000,c55b4a80,c068d154) at nvidia_dev_close+0x4b giant_close(c53d6800,3,2000,c55b4a80,0) at giant_close+0x4c devfs_close(e590d890,e590d8bc,c073e868,c09d19e0,e590d890) at devfs_close+0x240 VOP_CLOSE_APV(c09d19e0,e590d890,c55b4a80,c5784400,c0a22140) at VOP_CLOSE_APV+0x36 vn_close(c5e10440,3,c5de6380,c55b4a80,e590d900) at vn_close+0x78 vn_closefile(c581c558,c55b4a80,0,c5e2c000,c64a5620) at vn_closefile+0x92 fdrop_locked(c581c558,c55b4a80,c5e2c000,2e,e590d980,0,0,c58b1800,e590d9a0,c0d380f4,c53ac400,c5e2c000,e590d5 closef(c581c558,c55b4a80,ff,c55b4bd4,c5d0e380) at closef+0x382 fdfree(c55b4a80,c09d68a0,2,0,c5de4168) at fdfree+0x28b exit1(c55b4a80,9,0,0,e590dae8) at exit1+0x40a sigexit(c55b4a80,9,100,0,0) at sigexit+0x72 ast(e590dd38) at ast+0x47c doreti_ast() at doreti_ast+0x17 What else can I do? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 21:24:08 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8026F16A406 for ; Thu, 11 May 2006 21:24:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB0EF44641 for ; Thu, 11 May 2006 21:24:07 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4BLO49M046127; Thu, 11 May 2006 17:24:05 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Eric Anderson Date: Thu, 11 May 2006 17:24:06 -0400 User-Agent: KMail/1.9.1 References: <4460FCE8.9020703@centtech.com> <446322D4.7020708@centtech.com> <4463A275.5030701@centtech.com> In-Reply-To: <4463A275.5030701@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605111724.07510.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1459/Thu May 11 16:46:49 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 21:24:08 -0000 On Thursday 11 May 2006 16:45, Eric Anderson wrote: > Eric Anderson wrote: > > John Baldwin wrote: > >> On Tuesday 09 May 2006 16:34, Eric Anderson wrote: > >>> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I > >>> believe it panics) when exiting xorg with both CPU's enabled. If I > >>> have: > >>> > >>> hint.apic.0.disabled="1" > >>> > >>> in device.hints, I only use one CPU, however it exits from xorg just > >>> fine. When the system locks, I still have some keyboard control (num > >>> lock lights, etc), but I can't seem to do anything else. I can't see > >>> the screen, it goes black during that time. All my system > >>> configs/dmesg/etc are here: > >>> > >>> Booted with apic not disabled: > >>> http://www.googlebit.com/freebsd/200605090613/ > >>> > >>> Booted with apic disabled: > >>> http://www.googlebit.com/freebsd/200605091117/ > >>> > >>> How can I debug (or help debug) this? > >> > >> What if you disable just SMP but leave APIC enabled > >> (kern.smp.disabled=1)? > > > > If I disable only SMP and leave APIC enabled, everything seems to work > > fine. What other info can I give you? > > I was able to get a backtrace, and a core from this. Here's some details: > > Fatal trap 12: page fault while in kernel mode > cpuid = 1; apic id = 01 > fault virtual address = 0xc6263000 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc0d89e43 > stack pointer = 0x28:0xe590d4a4 > frame pointer = 0x28:0xe590d4bc > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 3 > current process = 790 (Xorg) > [thread pid 790 tid 100057 ] > Stopped at _nv002872rm+0x4b: movl 0(%edx,%eax,4),%ebx > db> bt > Tracing pid 790 tid 100057 td 0xc55b4a80 > _nv002872rm(c5e2c000,c5b15d00,0,408000,c5e2c000) at _nv002872rm+0x4b > _nv004617rm(c5e2c000,c52d2800,1f,e590d704,20) at _nv004617rm+0x617 > _nv004359rm(c5e2c000,c52d2800,e590d704,0,3d0900) at _nv004359rm+0x123 > _nv004373rm(c5e2c000,c52d2800,0,c53ac400,4) at _nv004373rm+0x38 > _nv003961rm(c5e2c000,c0e8b250,18,c0d38b2a,c5e2c000) at _nv003961rm+0x58 > _nv003962rm(c5e2c000,c5e35000,0,c0bfdd56,c53919c0) at _nv003962rm+0x5a > _nv008284rm(c53d6700,4,e590d7dc,c0c04a7e,c53919c0) at _nv008284rm+0xe5 > rm_disable_adapter(c53d6700,0,c576dc00,c53d6600,c53d6700) at > rm_disable_adapter+0x55 > nvidia_close_dev(c53d6600,c53d6800,c55b4a80,4,c53d6800) at > nvidia_close_dev+0x63 > nvidia_dev_close(c53d6800,3,2000,c55b4a80,c068d154) at > nvidia_dev_close+0x4b giant_close(c53d6800,3,2000,c55b4a80,0) at > giant_close+0x4c > devfs_close(e590d890,e590d8bc,c073e868,c09d19e0,e590d890) at > devfs_close+0x240 > VOP_CLOSE_APV(c09d19e0,e590d890,c55b4a80,c5784400,c0a22140) at > VOP_CLOSE_APV+0x36 > vn_close(c5e10440,3,c5de6380,c55b4a80,e590d900) at vn_close+0x78 > vn_closefile(c581c558,c55b4a80,0,c5e2c000,c64a5620) at vn_closefile+0x92 > fdrop_locked(c581c558,c55b4a80,c5e2c000,2e,e590d980,0,0,c58b1800,e590d9a0,c >0d380f4,c53ac400,c5e2c000,e590d5 > closef(c581c558,c55b4a80,ff,c55b4bd4,c5d0e380) at closef+0x382 > fdfree(c55b4a80,c09d68a0,2,0,c5de4168) at fdfree+0x28b > exit1(c55b4a80,9,0,0,e590dae8) at exit1+0x40a > sigexit(c55b4a80,9,100,0,0) at sigexit+0x72 > ast(e590dd38) at ast+0x47c > doreti_ast() at doreti_ast+0x17 > > > What else can I do? Well, it's a problem with the nvidia-driver module. Are you sure that the nvidia-driver is up to date and in sync with your world + kernel? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 21:37:16 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9A7516A488; Thu, 11 May 2006 21:37:16 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 431904427A; Thu, 11 May 2006 21:09:19 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.18]) by mx.nitro.dk (Postfix) with ESMTP id F09572D48B9; Thu, 11 May 2006 21:09:17 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id DA29811420; Thu, 11 May 2006 17:09:13 -0400 (EDT) Date: Thu, 11 May 2006 17:09:13 -0400 From: "Simon L. Nielsen" To: Mike Jakubik Message-ID: <20060511210912.GA1344@zaphod.nitro.dk> References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <446021DE.6040507@rogers.com> User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers , Scott Long , Julian Elischer , stable@FreeBSD.org Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 21:37:30 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.05.09 01:00:14 -0400, Mike Jakubik wrote: > Julian Elischer wrote: [...] > >the above points to a filel that says "6.0 errata" >=20 > Indeed. Where is the mention of current quota/bge/em/ufs problems? Don't= =20 > tell me these will be shoved under the rug. Send patches. --=20 Simon L. Nielsen --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEY6f4h9pcDSc1mlERAmhCAJ9hNGmAUOdfPfAlUXsY+xesK8DXIwCfTseG L1eXjxYaj1iINI4ZeSOLEZk= =chsM -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-hackers@FreeBSD.ORG Thu May 11 21:37:31 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 945AD16A581 for ; Thu, 11 May 2006 21:37:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0D044594 for ; Thu, 11 May 2006 21:14:48 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k4BLEf10046069; Thu, 11 May 2006 17:14:44 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Eric Anderson Date: Thu, 11 May 2006 16:45:12 -0400 User-Agent: KMail/1.9.1 References: <4460FCE8.9020703@centtech.com> <200605101714.34683.jhb@freebsd.org> <446322D4.7020708@centtech.com> In-Reply-To: <446322D4.7020708@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605111645.13941.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1459/Thu May 11 16:46:49 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 May 2006 21:37:50 -0000 On Thursday 11 May 2006 07:41, Eric Anderson wrote: > John Baldwin wrote: > > On Tuesday 09 May 2006 16:34, Eric Anderson wrote: > >> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I > >> believe it panics) when exiting xorg with both CPU's enabled. If I > >> have: > >> > >> hint.apic.0.disabled="1" > >> > >> in device.hints, I only use one CPU, however it exits from xorg just > >> fine. When the system locks, I still have some keyboard control (num > >> lock lights, etc), but I can't seem to do anything else. I can't see > >> the screen, it goes black during that time. All my system > >> configs/dmesg/etc are here: > >> > >> Booted with apic not disabled: > >> http://www.googlebit.com/freebsd/200605090613/ > >> > >> Booted with apic disabled: > >> http://www.googlebit.com/freebsd/200605091117/ > >> > >> How can I debug (or help debug) this? > > > > What if you disable just SMP but leave APIC enabled > > (kern.smp.disabled=1)? > > If I disable only SMP and leave APIC enabled, everything seems to work > fine. What other info can I give you? Ok, that helps to narrow it down. Can you hook up a serial console and obtain the panic messages along with a stack trace as described in the handbook? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 01:52:35 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A9ADE16A40D; Fri, 12 May 2006 01:52:35 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A2F843D5F; Fri, 12 May 2006 01:52:30 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.18]) by mx.nitro.dk (Postfix) with ESMTP id 952872D48C4; Fri, 12 May 2006 01:52:32 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 073361142D; Thu, 11 May 2006 21:52:27 -0400 (EDT) Date: Thu, 11 May 2006 21:52:27 -0400 From: "Simon L. Nielsen" To: Mike Jakubik Message-ID: <20060512015226.GA1219@zaphod.nitro.dk> References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <4463DC96.70908@rogers.com> User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers , stable@FreeBSD.org, Julian Elischer Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 01:52:36 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.05.11 20:53:42 -0400, Mike Jakubik wrote: > Simon L. Nielsen wrote: > >On 2006.05.09 01:00:14 -0400, Mike Jakubik wrote: > > =20 > >>Julian Elischer wrote: > >> =20 > >[...] > > =20 > >>>the above points to a filel that says "6.0 errata" > >>> =20 > >>Indeed. Where is the mention of current quota/bge/em/ufs problems? Don'= t=20 > >>tell me these will be shoved under the rug. > >> =20 > > > >Send patches. > > =20 >=20 > Patches? For what? [...] For the errata page, which was what the above text mentioned. --=20 Simon L. Nielsen --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEY+pah9pcDSc1mlERAln3AKCCDiQEvhhJKVzYzWnyS5WohOSG+QCgsxhL 1oCggTbQqBC/M5wnfq81nHA= =nWq3 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 02:27:40 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C11B16A403; Fri, 12 May 2006 02:27:40 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E56DC44289; Fri, 12 May 2006 02:27:39 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4C2RcA7087144; Thu, 11 May 2006 21:27:39 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4463F29D.1080800@centtech.com> Date: Thu, 11 May 2006 21:27:41 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: John Baldwin References: <4460FCE8.9020703@centtech.com> <446322D4.7020708@centtech.com> <4463A275.5030701@centtech.com> <200605111724.07510.jhb@freebsd.org> In-Reply-To: <200605111724.07510.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1459/Thu May 11 15:46:49 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 02:27:40 -0000 John Baldwin wrote: > On Thursday 11 May 2006 16:45, Eric Anderson wrote: >> Eric Anderson wrote: >>> John Baldwin wrote: >>>> On Tuesday 09 May 2006 16:34, Eric Anderson wrote: >>>>> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I >>>>> believe it panics) when exiting xorg with both CPU's enabled. If I >>>>> have: >>>>> >>>>> hint.apic.0.disabled="1" >>>>> >>>>> in device.hints, I only use one CPU, however it exits from xorg just >>>>> fine. When the system locks, I still have some keyboard control (num >>>>> lock lights, etc), but I can't seem to do anything else. I can't see >>>>> the screen, it goes black during that time. All my system >>>>> configs/dmesg/etc are here: >>>>> >>>>> Booted with apic not disabled: >>>>> http://www.googlebit.com/freebsd/200605090613/ >>>>> >>>>> Booted with apic disabled: >>>>> http://www.googlebit.com/freebsd/200605091117/ >>>>> >>>>> How can I debug (or help debug) this? >>>> What if you disable just SMP but leave APIC enabled >>>> (kern.smp.disabled=1)? >>> If I disable only SMP and leave APIC enabled, everything seems to work >>> fine. What other info can I give you? >> I was able to get a backtrace, and a core from this. Here's some details: >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 1; apic id = 01 >> fault virtual address = 0xc6263000 >> fault code = supervisor read, page not present >> instruction pointer = 0x20:0xc0d89e43 >> stack pointer = 0x28:0xe590d4a4 >> frame pointer = 0x28:0xe590d4bc >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 3 >> current process = 790 (Xorg) >> [thread pid 790 tid 100057 ] >> Stopped at _nv002872rm+0x4b: movl 0(%edx,%eax,4),%ebx >> db> bt >> Tracing pid 790 tid 100057 td 0xc55b4a80 >> _nv002872rm(c5e2c000,c5b15d00,0,408000,c5e2c000) at _nv002872rm+0x4b >> _nv004617rm(c5e2c000,c52d2800,1f,e590d704,20) at _nv004617rm+0x617 >> _nv004359rm(c5e2c000,c52d2800,e590d704,0,3d0900) at _nv004359rm+0x123 >> _nv004373rm(c5e2c000,c52d2800,0,c53ac400,4) at _nv004373rm+0x38 >> _nv003961rm(c5e2c000,c0e8b250,18,c0d38b2a,c5e2c000) at _nv003961rm+0x58 >> _nv003962rm(c5e2c000,c5e35000,0,c0bfdd56,c53919c0) at _nv003962rm+0x5a >> _nv008284rm(c53d6700,4,e590d7dc,c0c04a7e,c53919c0) at _nv008284rm+0xe5 >> rm_disable_adapter(c53d6700,0,c576dc00,c53d6600,c53d6700) at >> rm_disable_adapter+0x55 >> nvidia_close_dev(c53d6600,c53d6800,c55b4a80,4,c53d6800) at >> nvidia_close_dev+0x63 >> nvidia_dev_close(c53d6800,3,2000,c55b4a80,c068d154) at >> nvidia_dev_close+0x4b giant_close(c53d6800,3,2000,c55b4a80,0) at >> giant_close+0x4c >> devfs_close(e590d890,e590d8bc,c073e868,c09d19e0,e590d890) at >> devfs_close+0x240 >> VOP_CLOSE_APV(c09d19e0,e590d890,c55b4a80,c5784400,c0a22140) at >> VOP_CLOSE_APV+0x36 >> vn_close(c5e10440,3,c5de6380,c55b4a80,e590d900) at vn_close+0x78 >> vn_closefile(c581c558,c55b4a80,0,c5e2c000,c64a5620) at vn_closefile+0x92 >> fdrop_locked(c581c558,c55b4a80,c5e2c000,2e,e590d980,0,0,c58b1800,e590d9a0,c >> 0d380f4,c53ac400,c5e2c000,e590d5 >> closef(c581c558,c55b4a80,ff,c55b4bd4,c5d0e380) at closef+0x382 >> fdfree(c55b4a80,c09d68a0,2,0,c5de4168) at fdfree+0x28b >> exit1(c55b4a80,9,0,0,e590dae8) at exit1+0x40a >> sigexit(c55b4a80,9,100,0,0) at sigexit+0x72 >> ast(e590dd38) at ast+0x47c >> doreti_ast() at doreti_ast+0x17 >> >> >> What else can I do? > > Well, it's a problem with the nvidia-driver module. Are you sure that the > nvidia-driver is up to date and in sync with your world + kernel? > I've just downloaded the latest driver from nvidia's website (not yet in ports), and installed it. It seems to work just fine! Thanks, now we just need to have somebody update the port.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 02:31:34 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE94916A42C; Fri, 12 May 2006 02:31:34 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from linda-5.paradise.net.nz (bm-5a.paradise.net.nz [203.96.152.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95D334428C; Fri, 12 May 2006 02:31:33 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-2.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-5.paradise.net.nz (Paradise.net.nz) with ESMTP id <0IZ4003V2SBWYL@linda-5.paradise.net.nz>; Fri, 12 May 2006 14:31:08 +1200 (NZST) Received: from [192.168.1.11] (218-101-28-132.dsl.clear.net.nz [218.101.28.132]) by smtp-2.paradise.net.nz (Postfix) with ESMTP id 79ED051CAE; Fri, 12 May 2006 14:31:07 +1200 (NZST) Date: Fri, 12 May 2006 14:30:51 +1200 From: Mark Kirkwood In-reply-to: <4463DC96.70908@rogers.com> To: Mike Jakubik Message-id: <4463F35B.5030404@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5 (X11/20060417) References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> Cc: FreeBSD Hackers , stable@FreeBSD.org, Julian Elischer , "Simon L. Nielsen" Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 02:31:37 -0000 Mike Jakubik wrote: > Patches? For what? It's too late now, 6.1 has been released. I sent > reminders to the RE team and i made it quite clear on the lists that the > quota issue should be described in the relnotes/errata before the > release. If the RE team chooses to ignore major bugs and pretend all is > fine and dandy, then there is not much patches will do. Heck, im still > waiting for Scott to personally fix the problems, as he so graciously > offered, but couldn't deliver. I offered to work with him and provide > help, he never replied to my emails. I'm almost afraid to enter into this discussion (puts on flame suit), but might it be better to gently encourage the re/development team to make some of these a priority for 6.2? (as that gives everyone more lead time, and in the end what we all want is FreeBSD to steadily improve). Cheers Mark From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 01:14:04 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0008F16A4AC for ; Fri, 12 May 2006 01:14:00 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 9A5824418B for ; Fri, 12 May 2006 00:53:19 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 52778 invoked from network); 12 May 2006 00:53:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Gi5n4hWvwvTAnF3go3oyPKvFDRFjN0c5rGHuieZOuZ+jzSnnAV4qRvdC9q3OfZjf0gxqYOxhe3xuUTpmNY7edNZ94CQ/dXWlCuDSkVccfofTAGiZtC+ADK1OI1Nowz8GG64HElbn3rVAuBgL/PJVIeiao4CcVxfjRTSiMSjdZZY= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 12 May 2006 00:53:18 -0000 Message-ID: <4463DC96.70908@rogers.com> Date: Thu, 11 May 2006 20:53:42 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "Simon L. Nielsen" References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> In-Reply-To: <20060511210912.GA1344@zaphod.nitro.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 12 May 2006 02:33:44 +0000 Cc: FreeBSD Hackers , stable@FreeBSD.org, Julian Elischer Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 01:14:20 -0000 Simon L. Nielsen wrote: > On 2006.05.09 01:00:14 -0400, Mike Jakubik wrote: > >> Julian Elischer wrote: >> > [...] > >>> the above points to a filel that says "6.0 errata" >>> >> Indeed. Where is the mention of current quota/bge/em/ufs problems? Don't >> tell me these will be shoved under the rug. >> > > Send patches. > Patches? For what? It's too late now, 6.1 has been released. I sent reminders to the RE team and i made it quite clear on the lists that the quota issue should be described in the relnotes/errata before the release. If the RE team chooses to ignore major bugs and pretend all is fine and dandy, then there is not much patches will do. Heck, im still waiting for Scott to personally fix the problems, as he so graciously offered, but couldn't deliver. I offered to work with him and provide help, he never replied to my emails. From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 02:37:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9840D16A529; Fri, 12 May 2006 02:37:16 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 484DA43F7F; Fri, 12 May 2006 02:07:01 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.21] (andersonbox1.centtech.com [192.168.42.21]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k4C270pd086357; Thu, 11 May 2006 21:07:00 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <4463EDC7.1050004@centtech.com> Date: Thu, 11 May 2006 21:07:03 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.2 (X11/20060506) MIME-Version: 1.0 To: John Baldwin References: <4460FCE8.9020703@centtech.com> <446322D4.7020708@centtech.com> <4463A275.5030701@centtech.com> <200605111724.07510.jhb@freebsd.org> In-Reply-To: <200605111724.07510.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1459/Thu May 11 15:46:49 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 02:37:33 -0000 John Baldwin wrote: > On Thursday 11 May 2006 16:45, Eric Anderson wrote: >> Eric Anderson wrote: >>> John Baldwin wrote: >>>> On Tuesday 09 May 2006 16:34, Eric Anderson wrote: >>>>> I have a Core Duo system (2 2GHz CPUs), that continually locks up (I >>>>> believe it panics) when exiting xorg with both CPU's enabled. If I >>>>> have: >>>>> >>>>> hint.apic.0.disabled="1" >>>>> >>>>> in device.hints, I only use one CPU, however it exits from xorg just >>>>> fine. When the system locks, I still have some keyboard control (num >>>>> lock lights, etc), but I can't seem to do anything else. I can't see >>>>> the screen, it goes black during that time. All my system >>>>> configs/dmesg/etc are here: >>>>> >>>>> Booted with apic not disabled: >>>>> http://www.googlebit.com/freebsd/200605090613/ >>>>> >>>>> Booted with apic disabled: >>>>> http://www.googlebit.com/freebsd/200605091117/ >>>>> >>>>> How can I debug (or help debug) this? >>>> What if you disable just SMP but leave APIC enabled >>>> (kern.smp.disabled=1)? >>> If I disable only SMP and leave APIC enabled, everything seems to work >>> fine. What other info can I give you? >> I was able to get a backtrace, and a core from this. Here's some details: >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 1; apic id = 01 >> fault virtual address = 0xc6263000 >> fault code = supervisor read, page not present >> instruction pointer = 0x20:0xc0d89e43 >> stack pointer = 0x28:0xe590d4a4 >> frame pointer = 0x28:0xe590d4bc >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >> processor eflags = interrupt enabled, resume, IOPL = 3 >> current process = 790 (Xorg) >> [thread pid 790 tid 100057 ] >> Stopped at _nv002872rm+0x4b: movl 0(%edx,%eax,4),%ebx >> db> bt >> Tracing pid 790 tid 100057 td 0xc55b4a80 >> _nv002872rm(c5e2c000,c5b15d00,0,408000,c5e2c000) at _nv002872rm+0x4b >> _nv004617rm(c5e2c000,c52d2800,1f,e590d704,20) at _nv004617rm+0x617 >> _nv004359rm(c5e2c000,c52d2800,e590d704,0,3d0900) at _nv004359rm+0x123 >> _nv004373rm(c5e2c000,c52d2800,0,c53ac400,4) at _nv004373rm+0x38 >> _nv003961rm(c5e2c000,c0e8b250,18,c0d38b2a,c5e2c000) at _nv003961rm+0x58 >> _nv003962rm(c5e2c000,c5e35000,0,c0bfdd56,c53919c0) at _nv003962rm+0x5a >> _nv008284rm(c53d6700,4,e590d7dc,c0c04a7e,c53919c0) at _nv008284rm+0xe5 >> rm_disable_adapter(c53d6700,0,c576dc00,c53d6600,c53d6700) at >> rm_disable_adapter+0x55 >> nvidia_close_dev(c53d6600,c53d6800,c55b4a80,4,c53d6800) at >> nvidia_close_dev+0x63 >> nvidia_dev_close(c53d6800,3,2000,c55b4a80,c068d154) at >> nvidia_dev_close+0x4b giant_close(c53d6800,3,2000,c55b4a80,0) at >> giant_close+0x4c >> devfs_close(e590d890,e590d8bc,c073e868,c09d19e0,e590d890) at >> devfs_close+0x240 >> VOP_CLOSE_APV(c09d19e0,e590d890,c55b4a80,c5784400,c0a22140) at >> VOP_CLOSE_APV+0x36 >> vn_close(c5e10440,3,c5de6380,c55b4a80,e590d900) at vn_close+0x78 >> vn_closefile(c581c558,c55b4a80,0,c5e2c000,c64a5620) at vn_closefile+0x92 >> fdrop_locked(c581c558,c55b4a80,c5e2c000,2e,e590d980,0,0,c58b1800,e590d9a0,c >> 0d380f4,c53ac400,c5e2c000,e590d5 >> closef(c581c558,c55b4a80,ff,c55b4bd4,c5d0e380) at closef+0x382 >> fdfree(c55b4a80,c09d68a0,2,0,c5de4168) at fdfree+0x28b >> exit1(c55b4a80,9,0,0,e590dae8) at exit1+0x40a >> sigexit(c55b4a80,9,100,0,0) at sigexit+0x72 >> ast(e590dd38) at ast+0x47c >> doreti_ast() at doreti_ast+0x17 >> >> >> What else can I do? > > Well, it's a problem with the nvidia-driver module. Are you sure that the > nvidia-driver is up to date and in sync with your world + kernel? > I compiled it right from the latest port (x11/nvidia-driver/). I just recompiled it, and comparing the newly compiled version to the one I'm using (md5 checksums) and they match up. I'd use the nv driver instead, however I'm not sure how to make it work with this screen (1920x1200). I guess I can't count on nvidia's help here much.. *sigh* Thanks John.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 03:31:54 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 949B216A439 for ; Fri, 12 May 2006 03:31:54 +0000 (UTC) (envelope-from pranav.sawargaonkar@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCAF743DA8 for ; Fri, 12 May 2006 03:31:48 +0000 (GMT) (envelope-from pranav.sawargaonkar@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so451336pya for ; Thu, 11 May 2006 20:31:48 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=K0KgLYrD6TcgbBeCFgOsn0Pgl8K/1YHDjd0gkV0g9s21ZwFiXqV7hRIYteMGK/FYicsXGTsO5te/7qK/gwfpYI2ndFTpx6ObmCsWq3pQrx5SzIyF+/sPFaSq/BQihbONGtgcioQugOvF6YdN6QUfG5INmbngwb9lbZ9Y5TXiZzg= Received: by 10.35.34.18 with SMTP id m18mr1357180pyj; Thu, 11 May 2006 20:31:48 -0700 (PDT) Received: by 10.35.61.1 with HTTP; Thu, 11 May 2006 20:31:48 -0700 (PDT) Message-ID: <5007e1a40605112031x60361796q65d992ae61c05fa9@mail.gmail.com> Date: Fri, 12 May 2006 06:31:48 +0300 From: "Pranav Sawargaonkar" To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Subject: What did you do for Earth Day? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 03:31:56 -0000 I hope you had a great Earth Day! I thought you'd want to try this: Adopt your earth and get a free screensaver! Click here to get started: http://friends.earthscreen.com/?r=3DkTFUNzQgFBdWBmINASkC&i=3Dgmail&ml=3Dhac= kers@freebsd.org&p=3D1&z=3D1&tc=3D11 From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 03:32:10 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 566B316A414 for ; Fri, 12 May 2006 03:32:10 +0000 (UTC) (envelope-from pranav.sawargaonkar@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id E040743DA6 for ; Fri, 12 May 2006 03:32:03 +0000 (GMT) (envelope-from pranav.sawargaonkar@gmail.com) Received: by py-out-1112.google.com with SMTP id e30so451361pya for ; Thu, 11 May 2006 20:31:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dLcPlfw2+exAnaM9PfJKg1Ou6BIyQ7oJ2Z1sT98x1sLbcNzQTOOLPjOZ9qlZ6To+WOskqWHVa8HJDHGl9CmvtEkWH+6TFOINA82+060Ef5JSAF7NbTVGI3CXTFSfk7DEBuFDkSYmyP0QGZ9iVKWXPWqgDyTCeZICmAAaTfz0N5Q= Received: by 10.35.99.14 with SMTP id b14mr187151pym; Thu, 11 May 2006 20:31:42 -0700 (PDT) Received: by 10.35.61.1 with HTTP; Thu, 11 May 2006 20:31:42 -0700 (PDT) Message-ID: <5007e1a40605112031w321d2f6dt1c5549c1161046d2@mail.gmail.com> Date: Fri, 12 May 2006 06:31:42 +0300 From: "Pranav Sawargaonkar" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Keep celebrating Earth Day X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 03:32:11 -0000 I hope you had a great Earth Day! I thought you'd want to try this: I'm getting a $25 gift card for Vivavi earth-friendly products. Get yours t= oo. Click here to get started: http://friends.earthscreen.com/?r=3DMTFUNzQgFBdWBmINASkC&i=3Dgmail&ml=3Dfre= ebsd-hackers@freebsd.org&p=3D8&z=3D1&tc=3D11 From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 03:36:46 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FF4216A406 for ; Fri, 12 May 2006 03:36:46 +0000 (UTC) (envelope-from noackjr@alumni.rice.edu) Received: from smtp101.biz.mail.re2.yahoo.com (smtp101.biz.mail.re2.yahoo.com [68.142.229.215]) by mx1.FreeBSD.org (Postfix) with SMTP id 127B843D49 for ; Fri, 12 May 2006 03:36:37 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 90831 invoked from network); 12 May 2006 03:36:37 -0000 Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@24.99.22.177 with login) by smtp101.biz.mail.re2.yahoo.com with SMTP; 12 May 2006 03:36:37 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id A5AF06182; Thu, 11 May 2006 23:36:36 -0400 (EDT) X-Virus-Scanned: amavisd-new at noacks.org Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id um6lr56GIMZE; Thu, 11 May 2006 23:36:35 -0400 (EDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 6AA0A6125; Thu, 11 May 2006 23:36:35 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.6/8.13.6) with ESMTP id k4C3aY0I049871; Thu, 11 May 2006 23:36:34 -0400 (EDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <446402BB.7050201@alumni.rice.edu> Date: Thu, 11 May 2006 23:36:27 -0400 From: Jonathan Noack User-Agent: Thunderbird 1.5.0.2 (X11/20060422) MIME-Version: 1.0 To: Mike Jakubik References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> In-Reply-To: <4463DC96.70908@rogers.com> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF23BB998577E8F8579DD6EB7" X-Mailman-Approved-At: Fri, 12 May 2006 03:49:11 +0000 Cc: FreeBSD Hackers , stable@FreeBSD.org, Julian Elischer , "Simon L. Nielsen" Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 03:36:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF23BB998577E8F8579DD6EB7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/11/06 20:53, Mike Jakubik wrote: > Simon L. Nielsen wrote: >> On 2006.05.09 01:00:14 -0400, Mike Jakubik wrote: >>> Julian Elischer wrote: >> >> [...] >> >>>> the above points to a filel that says "6.0 errata" >>>> >>> Indeed. Where is the mention of current quota/bge/em/ufs problems? >>> Don't tell me these will be shoved under the rug. >> >> Send patches. > > Patches? For what? It's too late now, 6.1 has been released. I sent > reminders to the RE team and i made it quite clear on the lists that th= e > quota issue should be described in the relnotes/errata before the > release. If the RE team chooses to ignore major bugs and pretend all is= > fine and dandy, then there is not much patches will do. Heck, im still > waiting for Scott to personally fix the problems, as he so graciously > offered, but couldn't deliver. I offered to work with him and provide > help, he never replied to my emails. The *entire* errata page was from 6.0; it was a mistake. This wasn't some "put on the rose-colored classes and gloss over major issues" thing. It was a long release cycle and something was forgotten. C'est la vie. It's always a good idea to check the most up-to-date version of the errata page on the web anyway, so it's *not* too late to update it. So, you're still waiting for Scott to personally fix the problems and he couldn't deliver? Huh? I quote you (http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025209.html):= "Scott, thanks for the very generous gesture, but i cant ask you something like this." -Jonathan --=20 Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enigF23BB998577E8F8579DD6EB7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZALCUFz01pkdgZURAoRHAJ9HV5r/GdlU60qOJ+vjqSuKpMqtoQCgoFZo 4Wi4kNuoAuyEJv9hMdrNWy4= =+Shc -----END PGP SIGNATURE----- --------------enigF23BB998577E8F8579DD6EB7-- From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 03:42:06 2006 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D78A416A4D0 for ; Fri, 12 May 2006 03:42:06 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp109.rog.mail.re2.yahoo.com (smtp109.rog.mail.re2.yahoo.com [68.142.225.207]) by mx1.FreeBSD.org (Postfix) with SMTP id BBBE543D49 for ; Fri, 12 May 2006 03:42:05 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 65929 invoked from network); 12 May 2006 03:42:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=nXPPamT4ulHmYaitNVZY5AIIexYgmpbeLFe+EiSEy3spbSW3GbEad6uzGL0SP9N+wdYZJ/XRNrKPuPiOo3fpfmM1OnNPg3uItmGcHX4Qx4CcVqhfdNW9EaaZw9/9P14cZbxzcCHJ6orRYsFeCF/24IdJc2HxTMeYQhjiCtbqsto= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp109.rog.mail.re2.yahoo.com with SMTP; 12 May 2006 03:42:01 -0000 Message-ID: <44640422.1000006@rogers.com> Date: Thu, 11 May 2006 23:42:26 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: noackjr@alumni.rice.edu References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> <446402BB.7050201@alumni.rice.edu> In-Reply-To: <446402BB.7050201@alumni.rice.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 12 May 2006 03:49:50 +0000 Cc: FreeBSD Hackers , stable@FreeBSD.org, Julian Elischer , "Simon L. Nielsen" Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 03:42:07 -0000 Jonathan Noack wrote: > The *entire* errata page was from 6.0; it was a mistake. This wasn't > some "put on the rose-colored classes and gloss over major issues" > thing. It was a long release cycle and something was forgotten. C'est > la vie. It's always a good idea to check the most up-to-date version of > the errata page on the web anyway, so it's *not* too late to update it. > > How convenient. These problems needed to be addressed in the release notes, not some on line version. > So, you're still waiting for Scott to personally fix the problems and he > couldn't deliver? Huh? I quote you > (http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025209.html): > "Scott, thanks for the very generous gesture, but i cant ask you > something like this." > He emailed me personally, i accepted his help offer, never heard from him since. From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 05:22:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E677216A403; Fri, 12 May 2006 05:22:16 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F70643D45; Fri, 12 May 2006 05:22:15 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.14] (imini.samsco.home [192.168.254.14]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k4C5M177013198; Thu, 11 May 2006 23:22:06 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <44641B79.9000300@samsco.org> Date: Thu, 11 May 2006 23:22:01 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.7) Gecko/20050416 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Jakubik References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> <446402BB.7050201@alumni.rice.edu> <44640422.1000006@rogers.com> In-Reply-To: <44640422.1000006@rogers.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: FreeBSD Hackers , stable@freebsd.org, "Simon L. Nielsen" , Julian Elischer , noackjr@alumni.rice.edu Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 05:22:17 -0000 Mike Jakubik wrote: > Jonathan Noack wrote: > >> The *entire* errata page was from 6.0; it was a mistake. This wasn't >> some "put on the rose-colored classes and gloss over major issues" >> thing. It was a long release cycle and something was forgotten. C'est >> la vie. It's always a good idea to check the most up-to-date version of >> the errata page on the web anyway, so it's *not* too late to update it. >> >> > > > How convenient. These problems needed to be addressed in the release > notes, not some on line version. > >> So, you're still waiting for Scott to personally fix the problems and he >> couldn't deliver? Huh? I quote you >> (http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025209.html): >> "Scott, thanks for the very generous gesture, but i cant ask you >> something like this." >> > > > He emailed me personally, i accepted his help offer, never heard from > him since. > Sorry, things got lost in the shuffle to get this released. For your specific snapshot deadlocks, please test the changes that have gone into 7-CURRENT and report back if they fix your problem. Only with active testing will we know if they are good to be backported in time for 6.2. Scott From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 06:59:10 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79C0916A402 for ; Fri, 12 May 2006 06:59:10 +0000 (UTC) (envelope-from lists-freebsd@silverwraith.com) Received: from pear.silverwraith.com (pear.silverwraith.com [69.12.167.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34C0743D49 for ; Fri, 12 May 2006 06:59:09 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from avleen by pear.silverwraith.com with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FeRcS-00016c-Sy for freebsd-hackers@freebsd.org; Thu, 11 May 2006 23:59:24 -0700 Date: Thu, 11 May 2006 23:59:24 -0700 From: Avleen Vig To: freebsd-hackers@freebsd.org Message-ID: <20060512065924.GB525@silverwraith.com> References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> <446402BB.7050201@alumni.rice.edu> <44640422.1000006@rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44640422.1000006@rogers.com> User-Agent: Mutt/1.5.11 Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 06:59:10 -0000 On Thu, May 11, 2006 at 11:42:26PM -0400, Mike Jakubik wrote: > >The *entire* errata page was from 6.0; it was a mistake. This wasn't > >some "put on the rose-colored classes and gloss over major issues" > >thing. It was a long release cycle and something was forgotten. C'est > >la vie. It's always a good idea to check the most up-to-date version of > >the errata page on the web anyway, so it's *not* too late to update it. > > How convenient. These problems needed to be addressed in the release > notes, not some on line version. If they're THAT big of a deal, learn some C, and fix the problems yourself, instead of sending e-mails that sound rude and ungrateful. And if you can't do that, how about helping scott put together release notes which you seemed to think were so awful? All I hear from you is complaining and a serious lack of anything constructive. From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 07:37:19 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2871216A4E5 for ; Fri, 12 May 2006 07:37:19 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail26.syd.optusnet.com.au (mail26.syd.optusnet.com.au [211.29.133.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B75343FF0 for ; Fri, 12 May 2006 07:17:23 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail26.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4C7HBeY024752 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 12 May 2006 17:17:21 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4C7HBpH000901; Fri, 12 May 2006 17:17:11 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4C7HBlb000900; Fri, 12 May 2006 17:17:11 +1000 (EST) (envelope-from peter) Date: Fri, 12 May 2006 17:17:11 +1000 From: Peter Jeremy To: Iasen Kostov Message-ID: <20060512071711.GA714@turion.vk2pj.dyndns.org> Mail-Followup-To: Peter Jeremy , Iasen Kostov , FreeBSD Hackers References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147361590.33341.19.camel@DraGoN.OTEL.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 07:37:27 -0000 On Thu, 2006-May-11 18:33:10 +0300, Iasen Kostov wrote: > And another odd thing (to me atleast): > >#:> vmstat -s | grep "daemon\|fault" > 0 page daemon wakeups > 0 pages examined by the page daemon > 4992608 copy-on-write faults > 29021 copy-on-write optimized faults > 75167 intransit blocking page faults > 66956262 total VM faults taken > 0 pages freed by daemon > >Acording to vmstat pagedaemon has never been awake. 'page daemon wakeups' counts the number of times that the pagedaemon is woken up due to a page shortage. It does not include the 5-sec wakeups. How about posting a complete 'vmstat -s'. A look at the code suggests that vm_pageout_page_stats() thinks there's a page shortage (since that's the only piece of code that will actually do anything if page daemon wakeups is zero). >Kamal R. Prasad suggested that "Belady's anomaly" might occur. If it's >true or possible what could be done about this ? "Belady's anomaly" can only occur if paging really happens. -- Peter Jeremy From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 10:40:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B64016A414 for ; Fri, 12 May 2006 10:40:34 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CC6E44343 for ; Fri, 12 May 2006 10:07:44 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeUYf-000AT6-Sg; Fri, 12 May 2006 13:07:42 +0300 From: Iasen Kostov To: Peter Jeremy In-Reply-To: <20060512071711.GA714@turion.vk2pj.dyndns.org> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> Content-Type: text/plain Date: Fri, 12 May 2006 13:07:41 +0300 Message-Id: <1147428461.98918.10.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 10:40:36 -0000 On Fri, 2006-05-12 at 17:17 +1000, Peter Jeremy wrote: > On Thu, 2006-May-11 18:33:10 +0300, Iasen Kostov wrote: > > And another odd thing (to me atleast): > > > >#:> vmstat -s | grep "daemon\|fault" > > 0 page daemon wakeups > > 0 pages examined by the page daemon > > 4992608 copy-on-write faults > > 29021 copy-on-write optimized faults > > 75167 intransit blocking page faults > > 66956262 total VM faults taken > > 0 pages freed by daemon > > > >Acording to vmstat pagedaemon has never been awake. > > 'page daemon wakeups' counts the number of times that the pagedaemon > is woken up due to a page shortage. It does not include the 5-sec > wakeups. > > How about posting a complete 'vmstat -s'. A look at the code suggests > that vm_pageout_page_stats() thinks there's a page shortage (since > that's the only piece of code that will actually do anything if page > daemon wakeups is zero). #:> vmstat -s 38479689 cpu context switches 8311921 device interrupts 2247328 software interrupts 77805675 traps 352344722 system calls 41 kernel threads created 16904 fork() calls 1827 vfork() calls 0 rfork() calls 0 swap pager pageins 0 swap pager pages paged in 0 swap pager pageouts 0 swap pager pages paged out 32095 vnode pager pageins 152280 vnode pager pages paged in 549 vnode pager pageouts 549 vnode pager pages paged out 0 page daemon wakeups 0 pages examined by the page daemon 51939 pages reactivated 5311477 copy-on-write faults 11437 copy-on-write optimized faults 25579287 zero fill pages zeroed 25490864 zero fill pages prezeroed 39320 intransit blocking page faults 74643308 total VM faults taken 0 pages affected by kernel thread creation 71254993 pages affected by fork() 8872256 pages affected by vfork() 0 pages affected by rfork() 48455025 pages freed 0 pages freed by daemon 12139663 pages freed by exiting processes 261655 pages active 346637 pages inactive 39970 pages in VM cache 108891 pages wired down 1236812 pages free 4096 bytes per page 236461588 total name lookups cache hits (97% pos + 2% neg) system 0% per-directory deletions 0%, falsehits 0%, toolong 0% But there is something else: "collecting pv entries -- suggest increasing PMAP_SHPGPERPROC" x 5 times (which is it maximum number of this warrnings). When I checked sysctl vm.zone I saw "PV ENTRY" going near to it's maximum right before the lock happen and then after the lock by pagedaemon it go down to ~1000 ... and I saw this after a crash which could explain alot of things. Most probably the lock occurs when this collecting of pv entrys happen and this could lead to a crash (which is inherited from 4.x series as I saw mails about that from 2003 and 4.7). From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 11:28:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D5FC16A401 for ; Fri, 12 May 2006 11:28:25 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail26.syd.optusnet.com.au (mail26.syd.optusnet.com.au [211.29.133.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4754643D6E for ; Fri, 12 May 2006 11:28:23 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail26.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k4CBSArA017345 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 12 May 2006 21:28:16 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k4CBSAnd001784; Fri, 12 May 2006 21:28:10 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k4CBSAfT001783; Fri, 12 May 2006 21:28:10 +1000 (EST) (envelope-from peter) Date: Fri, 12 May 2006 21:28:09 +1000 From: Peter Jeremy To: Iasen Kostov Message-ID: <20060512112809.GD714@turion.vk2pj.dyndns.org> Mail-Followup-To: Peter Jeremy , Iasen Kostov , FreeBSD Hackers References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> <1147428461.98918.10.camel@DraGoN.OTEL.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147428461.98918.10.camel@DraGoN.OTEL.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 11:28:25 -0000 On Fri, 2006-May-12 13:07:41 +0300, Iasen Kostov wrote: >On Fri, 2006-05-12 at 17:17 +1000, Peter Jeremy wrote: >> 'page daemon wakeups' counts the number of times that the pagedaemon >> is woken up due to a page shortage. I think I was not correct here. It looks like the pagedaemon can be woken up (via vm_pages_needed) even if vm_pages_needed is still zero. >> How about posting a complete 'vmstat -s'. I spoke too soon. The relevant counters are in vm.stats.vm.* and not reported by vmstat. >But there is something else: >"collecting pv entries -- suggest increasing PMAP_SHPGPERPROC" x 5 times >(which is it maximum number of this warrnings). The call tree for this is vm_pageout() with wakeup(&vm_pages_needed) && vm_pages_needed == 0 vm_pageout_scan() vm_pageout_pmap_collect() with pmap_pagedaemon_waken non-zero. vm_pageout_pmap_collect() runs with Giant held and, based on a very brief check, looks quite expensive. >When I checked sysctl vm.zone I saw "PV ENTRY" going near to it's >maximum right before the lock happen and then after the lock by >pagedaemon it go down to ~1000 You mentioned eaccelerator and having lots of users and httpd. I suspect the comment in NOTES is relevant for you and you need to increase PMAP_SHPGPERPROC as recommended: # Set the number of PV entries per process. Increasing this can # stop panics related to heavy use of shared memory. However, that can # (combined with large amounts of physical memory) cause panics at # boot time due the kernel running out of VM space. # # If you're tweaking this, you might also want to increase the sysctls # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". # # The value below is the one more than the default. # options PMAP_SHPGPERPROC=201 -- Peter Jeremy From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 12:31:04 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C56716A41F for ; Fri, 12 May 2006 12:31:04 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EF2843D58 for ; Fri, 12 May 2006 12:31:03 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeWnO-000EHq-6Z; Fri, 12 May 2006 15:31:02 +0300 From: Iasen Kostov To: Peter Jeremy In-Reply-To: <20060512112809.GD714@turion.vk2pj.dyndns.org> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> <1147428461.98918.10.camel@DraGoN.OTEL.net> <20060512112809.GD714@turion.vk2pj.dyndns.org> Content-Type: text/plain Date: Fri, 12 May 2006 15:31:01 +0300 Message-Id: <1147437061.98918.24.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 12:31:11 -0000 On Fri, 2006-05-12 at 21:28 +1000, Peter Jeremy wrote: > On Fri, 2006-May-12 13:07:41 +0300, Iasen Kostov wrote: > >On Fri, 2006-05-12 at 17:17 +1000, Peter Jeremy wrote: > >> 'page daemon wakeups' counts the number of times that the pagedaemon > >> is woken up due to a page shortage. > > I think I was not correct here. It looks like the pagedaemon can be > woken up (via vm_pages_needed) even if vm_pages_needed is still zero. > > >> How about posting a complete 'vmstat -s'. > > I spoke too soon. The relevant counters are in vm.stats.vm.* and not > reported by vmstat. > > >But there is something else: > >"collecting pv entries -- suggest increasing PMAP_SHPGPERPROC" x 5 times > >(which is it maximum number of this warrnings). > > The call tree for this is > vm_pageout() with wakeup(&vm_pages_needed) && vm_pages_needed == 0 > vm_pageout_scan() > vm_pageout_pmap_collect() with pmap_pagedaemon_waken non-zero. > > vm_pageout_pmap_collect() runs with Giant held and, based on a very > brief check, looks quite expensive. > > >When I checked sysctl vm.zone I saw "PV ENTRY" going near to it's > >maximum right before the lock happen and then after the lock by > >pagedaemon it go down to ~1000 > > You mentioned eaccelerator and having lots of users and httpd. I > suspect the comment in NOTES is relevant for you and you need to > increase PMAP_SHPGPERPROC as recommended: > > # Set the number of PV entries per process. Increasing this can > # stop panics related to heavy use of shared memory. However, that can > # (combined with large amounts of physical memory) cause panics at > # boot time due the kernel running out of VM space. > # > # If you're tweaking this, you might also want to increase the sysctls > # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target". > # > # The value below is the one more than the default. > # > options PMAP_SHPGPERPROC=201 Exactly what i did :). I set vm.pmap.shpgperproc=600 in loader.conf and about 5 min after boot the system paniced and I was not able even to see the message (either because I was pressing enter for the command or it just doesn't wait for a key). Then i set it to 500 in loader at boot time and currently it works but when it crashed used PV entries were ~4 300 000 now they go to ~5 000 000 and it doesn't panic. Which make me think that the panic is not related to setting vm.pmap.shpgperproc to 600 (which could probably lead to KVA exhastion) but to something else. I'll try to increase KVA_PAGES (why isn't there tunable ?) and then set vm.pmap.shpgperproc to some higher value, but this will be after a fresh make world (I cvsuped already :( ) some time soon. From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 05:28:58 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 635AB16A400; Fri, 12 May 2006 05:28:58 +0000 (UTC) (envelope-from jfarmer@goldsword.com) Received: from imf24aec.mail.bellsouth.net (imf24aec.mail.bellsouth.net [205.152.59.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B157443D45; Fri, 12 May 2006 05:28:57 +0000 (GMT) (envelope-from jfarmer@goldsword.com) Received: from ibm70aec.bellsouth.net ([65.13.105.239]) by imf24aec.mail.bellsouth.net with ESMTP id <20060512052856.BUOE9063.imf24aec.mail.bellsouth.net@ibm70aec.bellsouth.net>; Fri, 12 May 2006 01:28:56 -0400 Received: from [192.168.1.33] (really [65.13.105.239]) by ibm70aec.bellsouth.net with ESMTP id <20060512052856.ETX4378.ibm70aec.bellsouth.net@[192.168.1.33]>; Fri, 12 May 2006 01:28:56 -0400 Message-ID: <44641D1C.2070106@goldsword.com> Date: Fri, 12 May 2006 01:29:00 -0400 From: "J. T. farmer" User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: FreeBSD Hackers , stable@freebsd.org References: <44600A42.7030600@samsco.org> <44601F4A.9070802@elischer.org> <446021DE.6040507@rogers.com> <20060511210912.GA1344@zaphod.nitro.dk> <4463DC96.70908@rogers.com> <446402BB.7050201@alumni.rice.edu> <44640422.1000006@rogers.com> In-Reply-To: <44640422.1000006@rogers.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 12 May 2006 12:45:26 +0000 Cc: Subject: Re: FreeBSD 6.1 Released X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 05:28:58 -0000 Mike Jakubik wrote: > Jonathan Noack wrote: >> The *entire* errata page was from 6.0; it was a mistake. This wasn't >> some "put on the rose-colored classes and gloss over major issues" >> thing. It was a long release cycle and something was forgotten. C'est >> la vie. It's always a good idea to check the most up-to-date version of >> the errata page on the web anyway, so it's *not* too late to update >> it. > How convenient. These problems needed to be addressed in the release > notes, not some on line version. *Plonk* You've just entered into my "do not read" bucket. If you can't see that errors occur, then I pity _anyone_ who codes for you... Or perhaps you never make a mistake. That must be it. John ------------------------------------------------------------------ John T. Farmer Owner & CTO GoldSword Systems jfarmer@goldsword.com 865-691-6498 Knoxville TN Consulting, Design, & Development of Networks & Software From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 15:27:14 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A45516A752 for ; Fri, 12 May 2006 15:27:14 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.FreeBSD.org (Postfix) with SMTP id 88DC143D49 for ; Fri, 12 May 2006 15:27:13 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 14958 invoked from network); 12 May 2006 15:27:12 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 12 May 2006 15:27:12 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 12 May 2006 10:27:10 -0500 (CDT) From: Mike Silbersack To: Iasen Kostov In-Reply-To: <1147437061.98918.24.camel@DraGoN.OTEL.net> Message-ID: <20060512102305.T1879@odysseus.silby.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> <1147428461.98918.10.camel@DraGoN.OTEL.net> <20060512112809.GD714@turion.vk2pj.dyndns.org> <1147437061.98918.24.camel@DraGoN.OTEL.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 15:27:14 -0000 On Fri, 12 May 2006, Iasen Kostov wrote: > Exactly what i did :). I set vm.pmap.shpgperproc=600 in loader.conf and > about 5 min after boot the system paniced and I was not able even to see > the message (either because I was pressing enter for the command or it > just doesn't wait for a key). Then i set it to 500 in loader at boot > time and currently it works but when it crashed used PV entries were ~4 > 300 000 now they go to ~5 000 000 and it doesn't panic. Which make me > think that the panic is not related to setting vm.pmap.shpgperproc to > 600 (which could probably lead to KVA exhastion) but to something else. > I'll try to increase KVA_PAGES (why isn't there tunable ?) and then set > vm.pmap.shpgperproc to some higher value, but this will be after a fresh > make world (I cvsuped already :( ) some time soon. Can you provide instructions on how to create a testbench that exhibits these same problems? Can eAccelerator + PHP + Apache + some simple script + apachebench do the trick? If so, that would allow other people to work on the problem. Kris Kennaway seems to like benchmarking; maybe you could pry him temporarily away from MySQL benchmarking to take a look at this. Also note that Peter Wemm has been reducing the size of PV Entries in -current, as he was running out of KVA due to them too - maybe he could provide you with a patch for 6.x with the same feature. Here's part of his description of the change: --- This is important because of the following scenario. If you have a 1GB file (262144 pages) mmap()ed into 50 processes, that requires 13 million pv entries. At 24 bytes per pv entry, that is 314MB of ram and kvm, while at 12 bytes it is 157MB. A 157MB saving is significant. --- HTH, Mike "Silby" Silbersack From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 15:44:35 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6631516A60C for ; Fri, 12 May 2006 15:44:35 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFD8943D49 for ; Fri, 12 May 2006 15:44:34 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FeZoZ-000JQF-ON; Fri, 12 May 2006 18:44:28 +0300 From: Iasen Kostov To: Mike Silbersack In-Reply-To: <20060512102305.T1879@odysseus.silby.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> <1147428461.98918.10.camel@DraGoN.OTEL.net> <20060512112809.GD714@turion.vk2pj.dyndns.org> <1147437061.98918.24.camel@DraGoN.OTEL.net> <20060512102305.T1879@odysseus.silby.com> Content-Type: text/plain Date: Fri, 12 May 2006 18:44:27 +0300 Message-Id: <1147448667.99925.11.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 15:44:35 -0000 On Fri, 2006-05-12 at 10:27 -0500, Mike Silbersack wrote: > On Fri, 12 May 2006, Iasen Kostov wrote: > > > Exactly what i did :). I set vm.pmap.shpgperproc=600 in loader.conf and > > about 5 min after boot the system paniced and I was not able even to see > > the message (either because I was pressing enter for the command or it > > just doesn't wait for a key). Then i set it to 500 in loader at boot > > time and currently it works but when it crashed used PV entries were ~4 > > 300 000 now they go to ~5 000 000 and it doesn't panic. Which make me > > think that the panic is not related to setting vm.pmap.shpgperproc to > > 600 (which could probably lead to KVA exhastion) but to something else. > > I'll try to increase KVA_PAGES (why isn't there tunable ?) and then set > > vm.pmap.shpgperproc to some higher value, but this will be after a fresh > > make world (I cvsuped already :( ) some time soon. > > Can you provide instructions on how to create a testbench that exhibits > these same problems? Can eAccelerator + PHP + Apache + some simple script > + apachebench do the trick? > Nope, apache probaly needs to use many pages of shared memory to exhaust the PV Entries (as I understand it). eAccelerator uses shm when it has something to put there and most porbably apache does the same. So I think You'll need a lot of different scripts (and many apache processes) to make eAccelerator cache them and probaly some other media to make apache use shm on it own (I'm realy not sure how apache uses shared memory but it probably does because this problem apears when people are using forking apache). > If so, that would allow other people to work on the problem. Kris > Kennaway seems to like benchmarking; maybe you could pry him temporarily > away from MySQL benchmarking to take a look at this. > > Also note that Peter Wemm has been reducing the size of PV Entries in > -current, as he was running out of KVA due to them too - maybe he could > provide you with a patch for 6.x with the same feature. Here's part of > his description of the change: > > --- > This is important because of the following scenario. If you have a 1GB > file (262144 pages) mmap()ed into 50 processes, that requires 13 million > pv entries. At 24 bytes per pv entry, that is 314MB of ram and kvm, while > at 12 bytes it is 157MB. A 157MB saving is significant. > --- > That's realy nice to hear. Interesting thing is that: sysctl vm.zone | grep PV PV ENTRY: 48, 5114880, 4039498, 564470, 236393602 PV Entry's size is 48 here which is even worst than 28 case ... :) Regards. From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 16:28:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6DC216A69F for ; Fri, 12 May 2006 16:28:48 +0000 (UTC) (envelope-from silby@silby.com) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 00C4443D68 for ; Fri, 12 May 2006 16:28:47 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 52085 invoked from network); 12 May 2006 16:28:46 -0000 Received: from unknown (HELO localhost) (unknown) by unknown with SMTP; 12 May 2006 16:28:46 -0000 X-pair-Authenticated: 209.68.2.70 Date: Fri, 12 May 2006 11:28:45 -0500 (CDT) From: Mike Silbersack To: Iasen Kostov In-Reply-To: <1147448667.99925.11.camel@DraGoN.OTEL.net> Message-ID: <20060512112629.B1879@odysseus.silby.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> <1147428461.98918.10.camel@DraGoN.OTEL.net> <20060512112809.GD714@turion.vk2pj.dyndns.org> <1147437061.98918.24.camel@DraGoN.OTEL.net> <20060512102305.T1879@odysseus.silby.com> <1147448667.99925.11.camel@DraGoN.OTEL.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 16:28:49 -0000 On Fri, 12 May 2006, Iasen Kostov wrote: > On Fri, 2006-05-12 at 10:27 -0500, Mike Silbersack wrote: >> Can you provide instructions on how to create a testbench that exhibits >> these same problems? Can eAccelerator + PHP + Apache + some simple script >> + apachebench do the trick? >> > Nope, apache probaly needs to use many pages of shared memory to > exhaust the PV Entries (as I understand it). eAccelerator uses shm when > it has something to put there and most porbably apache does the same. So > I think You'll need a lot of different scripts (and many apache > processes) to make eAccelerator cache them and probaly some other media > to make apache use shm on it own (I'm realy not sure how apache uses > shared memory but it probably does because this problem apears when > people are using forking apache). Well, let me restate what I said above. If nobody else is running into this, nobody else will be motivated to fix it. On the other hand, if you put in the time to figure out how others can reproduce it, others then will be able to try to help fixing it. If you don't show a to reproduce it, there's no way it can be fixed. > That's realy nice to hear. Interesting thing is that: > > sysctl vm.zone | grep PV > PV ENTRY: 48, 5114880, 4039498, 564470, 236393602 > > PV Entry's size is 48 here which is even worst than 28 case ... :) > > Regards. Ah, I was quoting the i386 change. On amd64, he reduced it from 48 bytes to 24 bytes. :) Mike "Silby" Silbersack From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 17:13:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4638B16ADBF for ; Fri, 12 May 2006 17:13:57 +0000 (UTC) (envelope-from tbyte@otel.net) Received: from mail.otel.net (gw3.OTEL.net [212.36.8.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 781FA43D70 for ; Fri, 12 May 2006 17:13:54 +0000 (GMT) (envelope-from tbyte@otel.net) Received: from dragon.otel.net ([212.36.8.135]) by mail.otel.net with esmtp (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FebD6-000Ky6-RH; Fri, 12 May 2006 20:13:53 +0300 From: Iasen Kostov To: Mike Silbersack In-Reply-To: <20060512112629.B1879@odysseus.silby.com> References: <1147264089.51661.10.camel@DraGoN.OTEL.net> <1147264379.51661.14.camel@DraGoN.OTEL.net> <1147265038.51661.19.camel@DraGoN.OTEL.net> <1147361590.33341.19.camel@DraGoN.OTEL.net> <20060512071711.GA714@turion.vk2pj.dyndns.org> <1147428461.98918.10.camel@DraGoN.OTEL.net> <20060512112809.GD714@turion.vk2pj.dyndns.org> <1147437061.98918.24.camel@DraGoN.OTEL.net> <20060512102305.T1879@odysseus.silby.com> <1147448667.99925.11.camel@DraGoN.OTEL.net> <20060512112629.B1879@odysseus.silby.com> Content-Type: text/plain Date: Fri, 12 May 2006 20:13:52 +0300 Message-Id: <1147454032.827.18.camel@DraGoN.OTEL.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: Heavy system load by pagedaemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 17:13:59 -0000 On Fri, 2006-05-12 at 11:28 -0500, Mike Silbersack wrote: > On Fri, 12 May 2006, Iasen Kostov wrote: > > > On Fri, 2006-05-12 at 10:27 -0500, Mike Silbersack wrote: > >> Can you provide instructions on how to create a testbench that exhibits > >> these same problems? Can eAccelerator + PHP + Apache + some simple script > >> + apachebench do the trick? > >> > > Nope, apache probaly needs to use many pages of shared memory to > > exhaust the PV Entries (as I understand it). eAccelerator uses shm when > > it has something to put there and most porbably apache does the same. So > > I think You'll need a lot of different scripts (and many apache > > processes) to make eAccelerator cache them and probaly some other media > > to make apache use shm on it own (I'm realy not sure how apache uses > > shared memory but it probably does because this problem apears when > > people are using forking apache). > > Well, let me restate what I said above. If nobody else is running into > this, nobody else will be motivated to fix it. On the other hand, if you > put in the time to figure out how others can reproduce it, others then > will be able to try to help fixing it. If you don't show a to reproduce > it, there's no way it can be fixed. > The problem is not realy hum problem. I think the only way to "fix" this (probably) is to have vm zones to auto scale their sizes and KVA_PAGES should probaly tune itself on boot time according to available memory (that's ofcourse are just thoughts I'm don't know anything about pros and cons of this situation). But it's too fundamental may be as there is no even tunable for KVA_PAGES. And something else - on heavyly loaded machine the message about collecting pv entries is disapearing to fast from the dmesg buffer and there are only 5 of them. They probably should be limited to some number per min (may be as a part of some kernel logging system). And when You don't see the message you start wandering what is happening - plenty of RAM , no swapping and machine freezes on 30sec to 5min intervals for ~5 sec. Not fun realy :). Regards. From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 17:44:13 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 392CA16B018 for ; Fri, 12 May 2006 17:44:13 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (megan.kiwi-computer.com [63.224.10.3]) by mx1.FreeBSD.org (Postfix) with SMTP id 373A443D5E for ; Fri, 12 May 2006 17:44:03 +0000 (GMT) (envelope-from rick@kiwi-computer.com) Received: (qmail 85857 invoked by uid 2001); 12 May 2006 17:44:02 -0000 Date: Fri, 12 May 2006 12:44:02 -0500 From: "Rick C. Petty" To: Eric Anderson Message-ID: <20060512174402.GA85005@megan.kiwi-computer.com> References: <4460FCE8.9020703@centtech.com> <446322D4.7020708@centtech.com> <4463A275.5030701@centtech.com> <200605111724.07510.jhb@freebsd.org> <4463EDC7.1050004@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4463EDC7.1050004@centtech.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Exiting Xorg panics Core Duo laptop X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 17:44:19 -0000 On Thu, May 11, 2006 at 09:07:03PM -0500, Eric Anderson wrote: > > I'd use the nv driver instead, however I'm not sure how to make it work > with this screen (1920x1200). This is my entry for my Dell 2405FPW: Section "Monitor" Identifier "Monitor1" DisplaySize 520 330 # yes, I measured it HorizSync 30.0-81.0 VertRefresh 56.0-76.0 Mode "1920x1200" DotClock 154.0 HTimings 1920 1968 2000 2080 VTimings 1200 1203 1209 1235 EndMode Option "DPMS" EndSection I can't remember if I needed the frequencies-- I had some initial problems using the DVI input and nvidia not detecting things correctly, but then I added this to the Device section: Option "ConnectedMonitor" "DPF-1" YMMV, -- Rick C. Petty From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 20:59:48 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07BA516A6B8 for ; Fri, 12 May 2006 20:59:48 +0000 (UTC) (envelope-from flag@newluxor.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEEA443D5F for ; Fri, 12 May 2006 20:59:33 +0000 (GMT) (envelope-from flag@newluxor.wired.org) Received: from newluxor.wired.org (ip-89-202.sn2.eutelia.it [83.211.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id 60B8D11AE53 for ; Fri, 12 May 2006 22:59:33 +0200 (CEST) Received: from newluxor.wired.org (localhost [127.0.0.1]) by newluxor.wired.org (8.13.6/8.13.6) with ESMTP id k4CKxEAn003861 for ; Fri, 12 May 2006 22:59:14 +0200 (CEST) (envelope-from flag@newluxor.wired.org) Received: (from flag@localhost) by newluxor.wired.org (8.13.6/8.13.6/Submit) id k4CKxEtS003860 for freebsd-hackers@freebsd.org; Fri, 12 May 2006 22:59:14 +0200 (CEST) (envelope-from flag) Date: Fri, 12 May 2006 22:59:14 +0200 From: Paolo Pisati To: FreeBSD_Hackers Message-ID: <20060512205914.GA3739@tin.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Subject: qemu is unusable on my smp box X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 20:59:48 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline with latest qemu port (but i tried to downgrade it down to 7.2.something and it didn't change), on a 6.1 host (see NEWLUXOR kernel config file attached), running a 6.1 freesbie image (see IPFW kernel config attached) qemu showed the following problems: 1) when i launch qemu, many times it goes directly to monitor and sits there eating cpu (i've to manually kill it) 2) whenever it boots, i get a lot of 'calcru: going backwards...' (with or without kqemu loaded - no differences at all) 3) when i try to shutdown/reboot the freesbie image, it hangs after killing syslogd, and after around 15/20mins it starts syncing disks 4) generally, whenevr it boots, it feels _really_ slow i.e. if i type a character there's a visible delay before it shows up in qemu window - unusable all these problems occur on a dualcore pentiumd 920 (2.8Ghz), 2gb ram, intel 945g (X in vesa mode- agp doesn't attach) (see dmesg attached), while the exact same freesbie images runs fine on a 6.1 centrino@1.6ghz 512mb ram and intel 915g (X with i810 and dri). Am i the only one to experience these problems? Is anyone running qemu on a SMP host? -- Paolo --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=NEWLUXOR machine i386 cpu I686_CPU ident NEWLUXOR #options SCHED_ULE # ULE scheduler options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_DIRHASH # Improve performance on big directories options NFSCLIENT # Network Filesystem Client options MSDOSFS # MSDOS Filesystem options MSDOSFS_LARGE options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # Bus support. device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc device ppbus # Parallel port bus (required) device ppi # Parallel port interface device device miibus # MII bus support device re # RealTek 8139C+/8169/8169S/8110S # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=IPFW machine i386 cpu I586_CPU cpu I686_CPU ident IPFW # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options FFS # Berkeley Fast Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options SOFTUPDATES # Enable FFS soft updates support options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options WITNESS options WITNESS_SKIPSPIN options INVARIANTS options INVARIANT_SUPPORT #options MBUF_STRESS_TEST options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC device acpi # Bus support. Do not remove isa, even if you have no isa slots device isa device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Floating point support - do not disable. device npx # Add suspend/resume support for the i8254. device pmtimer device miibus # MII bus support device bfe # Broadcom BCM440x 10/100 Ethernet device ed device re # Pseudo devices. device loop # Network loopback device mem # Memory and kernel memory devices device io # I/O device device random # Entropy device device ether # Ethernet support device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) # libalias library, performing NAT options LIBALIAS options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPDIVERT #divert sockets options GEOM_LABEL # Providers labelization. --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="dmesg.txt" Copyright (c) 1992-2006 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 6.1-STABLE #10: Sat May 6 20:33:36 CEST 2006 root@newluxor.wired.org:/usr/obj/usr/src/sys/NEWLUXOR ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2793.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf62 Stepping = 2 Features=0xbfebfbff Features2=0xe43d,> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 2138898432 (2039 MB) avail memory = 2088054784 (1991 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 ACPI-1304: *** Error: Method execution failed [\\_PR_.CPU1._PDC] (Node 0xc638eba0), AE_BAD_HEADER acpi_throttle0: on cpu0 cpu1: on acpi0 ACPI-1304: *** Error: Method execution failed [\\_PR_.CPU2._PDC] (Node 0xc638eaa0), AE_BAD_HEADER acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 2.0 (no driver attached) uhci0: port 0xe000-0xe01f irq 23 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xdc00-0xdc1f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xd880-0xd89f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xd800-0xd81f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xffa3fc00-0xffa3ffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered uhub5: vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/0.09, addr 2 uhub5: multiple transaction translators uhub5: 4 ports with 4 removable, self powered umass0: Generic Mass Storage Device, rev 2.00/1.26, addr 3 ugen0: vendor 0x0731 product 0x0528, rev 1.10/0.01, addr 4 pcib1: at device 30.0 on pci0 pci1: on pcib1 re0: port 0xc800-0xc8ff mem 0xff8ffc00-0xff8ffcff irq 20 at device 4.0 on pci1 miibus0: on re0 rgephy0: on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:13:d3:ec:0d:0c pcm0: port 0xd400-0xd4ff,0xd080-0xd0bf mem 0xffa3f800-0xffa3f9ff,0xffa3f400-0xffa3f4ff irq 17 at device 30.2 on pci0 pcm0: isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xe880-0xe887,0xe800-0xe803,0xe480-0xe487,0xe400-0xe403,0xe080-0xe08f irq 19 at device 31.2 on pci0 atapci1: failed to enable memory mapping! ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. Timecounters tick every 1.000 msec ad0: 157066MB at ata0-master UDMA100 acd0: DVDR at ata0-slave UDMA33 ad4: 286188MB at ata2-master SATA150 SMP: AP CPU #1 Launched! da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da2 at umass-sim0 bus 0 target 0 lun 2 da2: Removable Direct Access SCSI-0 device da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da3 at umass-sim0 bus 0 target 0 lun 3 da3: Removable Direct Access SCSI-0 device da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (da0:umass-sim0:0:0:0): SCSI Status: Check Condition (da0:umass-sim0:0:0:0): NOT READY csi:0,aa,55,40 asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present (da0:umass-sim0:0:0:0): Unretryable error Opened disk da0 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY csi:0,aa,55,40 asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error (da2:umass-sim0:0:0:2): SCSI Status: Check Condition (da2:umass-sim0:0:0:2): NOT READY csi:0,aa,55,40 asc:3a,0 (da2:umass-sim0:0:0:2): Medium not present (da2:umass-sim0:0:0:2): Unretryable error Opened disk da2 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error (da3:umass-sim0:0:0:3): SCSI Status: Check Condition (da3:umass-sim0:0:0:3): NOT READY csi:0,aa,55,40 asc:3a,0 (da3:umass-sim0:0:0:3): Medium not present (da3:umass-sim0:0:0:3): Unretryable error Opened disk da3 -> 6 Trying to mount root from ufs:/dev/ad4s1a re0: link state changed to UP --dDRMvlgZJXvWKvBx-- From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 22:00:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 923AB16A424 for ; Fri, 12 May 2006 22:00:34 +0000 (UTC) (envelope-from lists-freebsd@silverwraith.com) Received: from pear.silverwraith.com (pear.silverwraith.com [69.12.167.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E6BC43D46 for ; Fri, 12 May 2006 22:00:03 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from avleen by pear.silverwraith.com with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FefgJ-0000g3-Bw for freebsd-hackers@freebsd.org; Fri, 12 May 2006 15:00:19 -0700 Date: Fri, 12 May 2006 15:00:19 -0700 From: Avleen Vig To: freebsd-hackers@freebsd.org Message-ID: <20060512220019.GA1911@silverwraith.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: no core file handler recognizes format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 22:00:36 -0000 My 6.0 box[1], and now my 6.1 box[1] have been crashing almost daily, due to page faults. Last night I was lucky enough to see it happen on screen, where it reported a "Page not present" error. When I try to look at the code file in GDB, I get this error: warning: "/usr/home/avleen/vmcore.0": no core file handler recognizes format, using default Can't fetch registers from this type of core file Can't fetch registers from this type of core file #0 0x00000000 in ?? () I did see a message from a few months ago which stated the userworld could be out of step with the kernel becaus the core file format changed at some point, but I've been building the kernel and world together for 6.0 and 6.1. Any suggestions befoer I downgrade to 5.4? -- Avleen Vig Systems Administrator Personal: www.silverwraith.com "Wickedness is a myth invented by good people to account for the curious attractiveness of others." - Oscar Wilde From owner-freebsd-hackers@FreeBSD.ORG Fri May 12 22:39:39 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35A3016A586 for ; Fri, 12 May 2006 22:39:39 +0000 (UTC) (envelope-from stas@310.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id B40CE43D4C for ; Fri, 12 May 2006 22:39:38 +0000 (GMT) (envelope-from stas@310.ru) Received: from [213.87.86.30] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1FegH8-0007Xu-4m for freebsd-hackers@freebsd.org; Sat, 13 May 2006 02:38:23 +0400 Date: Sat, 13 May 2006 02:39:19 +0400 From: Stanislav Sedov To: freebsd-hackers@freebsd.org Message-ID: <20060512223919.GA21382@fonon.realnet> References: <20060512220019.GA1911@silverwraith.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060512220019.GA1911@silverwraith.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.5.2 Subject: Re: no core file handler recognizes format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 22:39:39 -0000 On Fri, May 12, 2006 at 03:00:19PM -0700, Avleen Vig wrote: > My 6.0 box[1], and now my 6.1 box[1] have been crashing almost daily, > due to page faults. Last night I was lucky enough to see it happen on > screen, where it reported a "Page not present" error. > > When I try to look at the code file in GDB, I get this error: > > warning: "/usr/home/avleen/vmcore.0": no core file handler recognizes > format, using default > Can't fetch registers from this type of core file > Can't fetch registers from this type of core file > #0 0x00000000 in ?? () > > > I did see a message from a few months ago which stated the userworld > could be out of step with the kernel becaus the core file format changed > at some point, but I've been building the kernel and world together for > 6.0 and 6.1. > > Any suggestions befoer I downgrade to 5.4? > You should use kgdb rather the gdb. GDB doesn't recognizes kernel dumps format by default. -- --------------------------------------------------------------------- Stanislav Sedov MBSD labs, Inc. If the facts don't fit the theory, change the facts. -- A. Einstein --------------------------------------------------------------------- From owner-freebsd-hackers@FreeBSD.ORG Sat May 13 00:36:02 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C0F16A494 for ; Sat, 13 May 2006 00:36:02 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E3A443D46 for ; Sat, 13 May 2006 00:36:01 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k4D0WlQm073655; Fri, 12 May 2006 18:32:48 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 12 May 2006 20:32:54 -0400 (EDT) Message-Id: <20060512.203254.62667569.imp@bsdimp.com> To: hongz@promisechina.com From: "M. Warner Losh" In-Reply-To: <1147340690$36076$55833599@hongz@promisechina.com> References: <1147340690$36076$55833599@hongz@promisechina.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: help:How to map a physical address into a kernel address? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 00:36:02 -0000 In message: <1147340690$36076$55833599@hongz@promisechina.com> writes: : To access sg_table in kernel address, I need to map the starting physical : address of a segment into a kernel address. As I know that, we can use : phystovirt()/bustovirt(), or kmap()/kmap_atomic() to map a bus/physical : address or a physical page into a kernel address in Linux, but I did not : find such a function in FreeBSD. Please help me on this, it is very urgent! Use busdma. Warner From owner-freebsd-hackers@FreeBSD.ORG Sat May 13 01:40:04 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E69316A400 for ; Sat, 13 May 2006 01:40:04 +0000 (UTC) (envelope-from lists-freebsd@silverwraith.com) Received: from pear.silverwraith.com (pear.silverwraith.com [69.12.167.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40C8A43D45 for ; Sat, 13 May 2006 01:40:04 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from avleen by pear.silverwraith.com with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fej7E-0002B1-JY for freebsd-hackers@freebsd.org; Fri, 12 May 2006 18:40:20 -0700 Date: Fri, 12 May 2006 18:40:20 -0700 From: Avleen Vig To: freebsd-hackers@freebsd.org Message-ID: <20060513014020.GE1911@silverwraith.com> References: <20060512220019.GA1911@silverwraith.com> <20060512223919.GA21382@fonon.realnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060512223919.GA21382@fonon.realnet> User-Agent: Mutt/1.5.11 Subject: Re: no core file handler recognizes format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 01:40:04 -0000 On Sat, May 13, 2006 at 02:39:19AM +0400, Stanislav Sedov wrote: > You should use kgdb rather the gdb. GDB doesn't recognizes kernel > dumps format by default. Ah thank you! Here's the information I found. Any help that anyone can provide will go into a nice little "crash debugging for beginners" document which I've started working on :-) Ok kgdb tells me: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x58 fault code = supervisor write, page not present instruction pointer = 0x20:0xc06005aa stack pointer = 0x28:0xd6c13ad0 frame pointer = 0x28:0xd6c13b00 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 25911 (python) trap number = 12 panic: page fault Uptime: 14h49m8s Dumping 511 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h The few lines before trap() was called look like this: #5 0xc071a38d in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 0, tf_esi = 0, tf_ebp = -691979520, tf_isp = -691979588, tf_ebx = -691979136, tf_edx = -691978864, tf_ecx = 0, tf_eax = 8, tf_trapno = 12, tf_err = 2, tf_eip = -1067448918, tf_cs = 32, tf_eflags = 66183, tf_esp = -691979136, tf_ss = -691979544}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc070814a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc06005aa in ip_ctloutput (so=0x8, sopt=0xd6c13c80) at /usr/src/sys/netinet/ip_output.c:1210 From owner-freebsd-hackers@FreeBSD.ORG Sat May 13 07:40:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E7DB16A400 for ; Sat, 13 May 2006 07:40:57 +0000 (UTC) (envelope-from stas@310.ru) Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA9F843D45 for ; Sat, 13 May 2006 07:40:56 +0000 (GMT) (envelope-from stas@310.ru) Received: from [213.87.86.60] (helo=fonon.realnet) by com1.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1Feoiy-0002mf-AJ for freebsd-hackers@freebsd.org; Sat, 13 May 2006 11:39:41 +0400 Date: Sat, 13 May 2006 11:40:33 +0400 From: Stanislav Sedov To: freebsd-hackers@freebsd.org Message-ID: <20060513074033.GA1236@fonon.realnet> References: <20060512220019.GA1911@silverwraith.com> <20060512223919.GA21382@fonon.realnet> <20060513014020.GE1911@silverwraith.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060513014020.GE1911@silverwraith.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona 1.5.2 Subject: Re: no core file handler recognizes format X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 07:40:57 -0000 On Fri, May 12, 2006 at 06:40:20PM -0700, Avleen Vig wrote: > Here's the information I found. > Any help that anyone can provide will go into a nice little "crash > debugging for beginners" document which I've started working on :-) > Rebuild your kernel with INVARIANTS enabled and debug info. It will provide more information in case the crash happens again. It would be appreciatable if you provide the information received here. It could help to figure out where the problem resides. Kernel config and list of modules posted here may be useful to some extent too. -- --------------------------------------------------------------------- Stanislav Sedov MBSD labs, Inc. If the facts don't fit the theory, change the facts. -- A. Einstein --------------------------------------------------------------------- From owner-freebsd-hackers@FreeBSD.ORG Sat May 13 08:47:49 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2239716A402 for ; Sat, 13 May 2006 08:47:49 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D0A343D48 for ; Sat, 13 May 2006 08:47:48 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost [127.0.0.1]) by mp2.macomnet.net (8.13.4/8.13.3) with ESMTP id k4D8ljcI087118; Sat, 13 May 2006 12:47:46 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Sat, 13 May 2006 12:47:45 +0400 (MSD) From: Maxim Konovalov To: Avleen Vig In-Reply-To: <20060513014020.GE1911@silverwraith.com> Message-ID: <20060513124153.J33415@mp2.macomnet.net> References: <20060512220019.GA1911@silverwraith.com> <20060512223919.GA21382@fonon.realnet> <20060513014020.GE1911@silverwraith.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-hackers@freebsd.org Subject: RELENG_6 network stack locking problems? (Was: no core file handler recognizes format) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 08:47:49 -0000 On Fri, 12 May 2006, 18:40-0700, Avleen Vig wrote: > On Sat, May 13, 2006 at 02:39:19AM +0400, Stanislav Sedov wrote: > > You should use kgdb rather the gdb. GDB doesn't recognizes kernel > > dumps format by default. > > Ah thank you! > > Here's the information I found. > Any help that anyone can provide will go into a nice little "crash > debugging for beginners" document which I've started working on :-) > > > > Ok kgdb tells me: > > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x58 > fault code = supervisor write, page not present > instruction pointer = 0x20:0xc06005aa > stack pointer = 0x28:0xd6c13ad0 > frame pointer = 0x28:0xd6c13b00 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 25911 (python) > trap number = 12 > panic: page fault > Uptime: 14h49m8s > Dumping 511 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 > > #0 doadump () at pcpu.h:165 > 165 pcpu.h: No such file or directory. > in pcpu.h > > The few lines before trap() was called look like this: > > #5 0xc071a38d in trap (frame= > {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = 0, tf_esi = 0, tf_ebp = -691979520, tf_isp = -691979588, tf_ebx = -691979136, tf_edx = -691978864, tf_ecx = 0, tf_eax = 8, tf_trapno = 12, tf_err = 2, tf_eip = -1067448918, tf_cs = 32, tf_eflags = 66183, tf_esp = -691979136, tf_ss = -691979544}) > at /usr/src/sys/i386/i386/trap.c:434 > #6 0xc070814a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > #7 0xc06005aa in ip_ctloutput (so=0x8, sopt=0xd6c13c80) > at /usr/src/sys/netinet/ip_output.c:1210 Yes, it is known issue, see kern/97095. Perhaps kern/96413 is related too. I'm trying to get inpcb locking logic at the moment. We need Robert Watson attention :-) -- Maxim Konovalov From owner-freebsd-hackers@FreeBSD.ORG Sat May 13 12:06:08 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C6D716A582 for ; Sat, 13 May 2006 12:06:08 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 860AF43D5C for ; Sat, 13 May 2006 12:06:06 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k4DC5wnV094663 for ; Sat, 13 May 2006 14:05:58 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <4465CBA6.4010000@fer.hr> Date: Sat, 13 May 2006 14:05:58 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: hackers@freebsd.org References: <20060512205914.GA3739@tin.it> In-Reply-To: <20060512205914.GA3739@tin.it> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: qemu is unusable on my smp box X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 12:06:17 -0000 Paolo Pisati wrote: > all these problems occur on a dualcore pentiumd 920 (2.8Ghz), > 2gb ram, intel 945g (X in vesa mode- agp doesn't attach) > (see dmesg attached), while the exact same freesbie images runs > fine on a 6.1 centrino@1.6ghz 512mb ram and intel 915g (X with i810 > and dri). I don't know for sure, but for me something similar (i.e. extremely low performance) happens with every SDL application (and qemu uses SDL) when X.Org doesn't use DRI. No matter how fast the machine is, I can trace window redrawing line by line with my eyes. From owner-freebsd-hackers@FreeBSD.ORG Sat May 13 13:20:16 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BD3116A434 for ; Sat, 13 May 2006 13:20:16 +0000 (UTC) (envelope-from flag@newluxor.wired.org) Received: from mail.oltrelinux.com (krisma.oltrelinux.com [194.242.226.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A49F43D49 for ; Sat, 13 May 2006 13:20:15 +0000 (GMT) (envelope-from flag@newluxor.wired.org) Received: from newluxor.wired.org (ip-89-202.sn2.eutelia.it [83.211.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.oltrelinux.com (Postfix) with ESMTP id B01C311AE56; Sat, 13 May 2006 15:20:13 +0200 (CEST) Received: from newluxor.wired.org (localhost [127.0.0.1]) by newluxor.wired.org (8.13.6/8.13.6) with ESMTP id k4DDJsfb001236; Sat, 13 May 2006 15:19:54 +0200 (CEST) (envelope-from flag@newluxor.wired.org) Received: (from flag@localhost) by newluxor.wired.org (8.13.6/8.13.6/Submit) id k4DDJsah001235; Sat, 13 May 2006 15:19:54 +0200 (CEST) (envelope-from flag) Date: Sat, 13 May 2006 15:19:54 +0200 From: Paolo Pisati To: Ivan Voras Message-ID: <20060513131954.GA1208@tin.it> References: <20060512205914.GA3739@tin.it> <4465CBA6.4010000@fer.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4465CBA6.4010000@fer.hr> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at krisma.oltrelinux.com Cc: FreeBSD_Hackers Subject: Re: qemu is unusable on my smp box X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 13:20:16 -0000 On Sat, May 13, 2006 at 02:05:58PM +0200, Ivan Voras wrote: > Paolo Pisati wrote: > > >all these problems occur on a dualcore pentiumd 920 (2.8Ghz), > >2gb ram, intel 945g (X in vesa mode- agp doesn't attach) > >(see dmesg attached), while the exact same freesbie images runs > >fine on a 6.1 centrino@1.6ghz 512mb ram and intel 915g (X with i810 > >and dri). > > I don't know for sure, but for me something similar (i.e. extremely low > performance) happens with every SDL application (and qemu uses SDL) when > X.Org doesn't use DRI. No matter how fast the machine is, I can trace > window redrawing line by line with my eyes. vesa slows down any graphic operation, but still i don't understand why qemu it's so slow syncing the disks in the guest os, or why it goes directly to mintor and hangs there so many times when i start it... there's definitely something else wrong beside X... -- Paolo "le influenze esterne sono troppe, il mondo reale non e' mica quello fatato dei komunisti :-p" - Anonymous Lumbard