From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 05:26:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01A5616A4E0 for ; Thu, 1 Jan 2004 05:26:16 -0800 (PST) Received: from coruscant.rfc1149.org (rfc2549.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9884443D62 for ; Thu, 1 Jan 2004 05:24:46 -0800 (PST) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id 177A43D13; Thu, 1 Jan 2004 14:24:45 +0100 (CET) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id 6A6CD3CC6 for ; Thu, 1 Jan 2004 14:24:40 +0100 (CET) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 72C82623D; Thu, 1 Jan 2004 14:24:38 +0100 (CET) Sender: arne@kamino.rfc1149.org To: FreeBSD Current From: Arne Schwabe Date: 01 Jan 2004 14:24:38 +0100 Message-ID: <86n097dco9.fsf@kamino.rfc1149.org> Lines: 106 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: Subject: Synaptics Touchpad xfree driver hack :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 13:26:16 -0000 Hi, I changed from debian gnu/linux to freebsd 3 weeks ago. Almost everything with my Notebook worked fine but the Touchpad was not as good as in linux or windows. Since I really wanted to have my middle button of the trackpoint and the scrolling of the touchpad working I decided to try to port the XFree86 synaptics Driver for Linux. (A nice thing is that Synaptics has a full spec to the protocol used available online) Since I am a real C Newbie. (This is more or less my first time writing C), not everything is really clean, to be honest it is more a collection of hack I am afraid and this approch somewhat against the idea of sysmouse. :/ But it still works for me [tm] ;) The synaptics XFree86 driver *should* detect all features and use them like on linux. But for now initialisation of an attached second mouse is not done (I was too lazy to do it, and for me it works without it) I hope someone with more C skills then I can clean this mess a little up/advise me how to clean it up and I hope I have picked the right mailing list :) But I you want to try it: download my patches from plaisthos.de/synaptics: wget http://www.plaisthos.de/synaptics/synaptics-driver.diff wget http://www.plaisthos.de/synaptics/synaptics.kern.diff Apply the 2. Patch to your kernel source (My sources should be -current :)) (cd /usr/src/sys/; patch -p1 < /location/of/the/patch/synaptics.kern.diff) Rebuild your kernel and reboot. Check if my code recognized your Touchpad: Jan 1 12:41:29 kamino kernel: psm0: model Synaptics Touchpad, device ID 0-00, 2 buttons Copy /usr/src/sys/sys/mouse.h to /usr/include/sys, or do a make world (cp /usr/src/sys/sys/mouse.h /usr/include/sys) Download the Xfree Synaptics Driver Sources from http://w1.894.telia.com/~u89404340/touchpad/ wget http://w1.894.telia.com/~u89404340/touchpad/files/synaptics-0.12.2.tar.bz2 Unpack it and apply the patch: tar xfvj synaptics synaptics-0.12.2.tar.bz2 cd synaptics patch -p1 < synaptics-driver.diff To build it use gmake: gmake synaptics_drv.o (a plain gmake won't work, since the tools don't build at the Moment but they not so important) copy the driver to your XFree Installation: cp synaptics_drv.o /usr/X11R6/lib/modules/input Disable moused, in case it is running: killall moused Edit your XF86Config: In ServerLayout you should change your Corepointer line to: InputDevice "synaptics" "CorePointer" And now add this: Section "InputDevice" Driver "synaptics" Identifier "synaptics" Option "Device" "/dev/bpsm0" Option "Protocol" "psaux" Option "LeftEdge" "1900" Option "RightEdge" "5400" Option "TopEdge" "1900" Option "BottomEdge" "4000" Option "FingerLow" "25" Option "FingerHigh" "30" Option "MaxTapTime" "180" Option "MaxTapMove" "220" Option "VertScrollDelta" "100" Option "MinSpeed" "0.02" Option "MaxSpeed" "0.18" Option "AccelFactor" "0.0010" Option "SHMConfig" "on" # Option "Repeater" "/dev/ps2mouse" EndSection Pray and start X :) If something goes wrong, let me now. I hope someone else besides me has some use of my hacking. Arne From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 07:27:06 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66F7116A4CE; Thu, 1 Jan 2004 07:27:06 -0800 (PST) Received: from cheer.mahoroba.org (flets20-024.kamome.or.jp [218.45.20.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id B49EA43D54; Thu, 1 Jan 2004 07:27:02 -0800 (PST) (envelope-from ume@FreeBSD.org) Received: from lyrics.mahoroba.org (IDENT:2Iu8C+Nv2NrJVl1bVRCsUpMneiMKB5e5@lyrics-g54.mahoroba.org [192.168.100.53]) (user=ume mech=CRAM-MD5 bits=0)i01FQpaH066131 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2004 00:26:56 +0900 (JST) (envelope-from ume@FreeBSD.org) Date: Fri, 02 Jan 2004 00:26:49 +0900 Message-ID: From: Hajimu UMEMOTO To: Ryan Sommers In-Reply-To: <1072324229.662.18.camel@localhost> References: <1072324229.662.18.camel@localhost> User-Agent: xcite1.38> Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.2-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cheer.mahoroba.org cc: freebsd-current@freebsd.org Subject: Re: EAI_NODATA redefined Patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 15:27:06 -0000 Hi, >>>>> On Wed, 24 Dec 2003 21:50:29 -0600 >>>>> Ryan Sommers said: ryans> Attached is a patch to get rid of the "EAI_NODATA redefined" errors in ryans> buildworld. The Makefile lists no MAINTAINER but I know this is contrib ryans> software. Should I submit this as a PR or who is the MAINTAINER? It is known issue and it was fixed in heimdal already: http://people.su.se/~lha/patches/heimdal/rfc3493 nectar will do import this. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 07:51:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D5516A4CE for ; Thu, 1 Jan 2004 07:51:40 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1F5C43D1D for ; Thu, 1 Jan 2004 07:51:22 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i01FpAN1011871 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 1 Jan 2004 16:51:12 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i01Fp3MO045658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jan 2004 16:51:04 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id i01Fp2BE015414; Thu, 1 Jan 2004 16:51:02 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id i01Fp1UT015413; Thu, 1 Jan 2004 16:51:01 +0100 (CET) (envelope-from ticso) Date: Thu, 1 Jan 2004 16:51:01 +0100 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20040101155100.GF11668@cicely12.cicely.de> References: <20040101013224.GC11668@cicely12.cicely.de> <20031231.222230.01438468.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031231.222230.01438468.imp@bsdimp.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: ticso@cicely12.cicely.de cc: ticso@cicely.de cc: current@freebsd.org Subject: Re: Still IRQ routing problems with bridged devices. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 15:51:40 -0000 On Wed, Dec 31, 2003 at 10:22:30PM -0700, M. Warner Losh wrote: > In message: <20040101013224.GC11668@cicely12.cicely.de> > Bernd Walter writes: > : The board is an old Asus T2P4 with 3 bridged cards and $PIR table. > : All IRQs behind bridges get bogusly IRQ4 instead of the right ones. > : Is this only a problem on some boards or do we have a general irq > : routing problem with bridges? > > It is a problem with some bridges and PCI BIOS interrupt routing. The intline registers are correct - that's what used to run since years. What has the kind of bridge to do with it? > : At least I know that bridge irq routing works fine on alpha. > : $PIR table claims to only have 7 entries - does this make sense for > : a 4 slot board? > > Maybe you could post it. It makes sense if you have on-board PCI > devices. Is it shown with a boot -v or how can I get it? The board has 4 slots and the usual bunch of southbridge devices. > : If this is a board specific problem - can we at least add a loader > : variable to disable routing, so I don't have to patch the source on > : every update and can run a standart boot disk again? > > Did it used to work when we were re-routing all the time? It would be > easy to add this as an option, but maybe understanding your setup > might help a little to make our routing code a little smarter. It never worked if FreeBSD decides which int to use. I have to disable routing in pci.c to get back to intline entries. What do you mean with "when we were re-routing all the time"? If I don't get it wrong we are re-routing all the time and take the result if it's a valid int. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 08:35:09 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EA4616A4CE for ; Thu, 1 Jan 2004 08:35:09 -0800 (PST) Received: from briefzentrum.encephalon.de (encephalon.de [213.146.112.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFDDE43D3F for ; Thu, 1 Jan 2004 08:35:07 -0800 (PST) (envelope-from agruner@encephalon.de) Received: from [192.168.1.1] (unknown [192.168.1.1]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by briefzentrum.encephalon.de (Postfix) with ESMTP id EF0261DFF1 for ; Thu, 1 Jan 2004 17:37:17 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v609) Content-Transfer-Encoding: 7bit Message-Id: <6EE6877D-3C78-11D8-9D10-000A95AB00F4@encephalon.de> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1-178415711" To: freebsd-current@freebsd.org From: Axel S.Gruner Date: Thu, 1 Jan 2004 17:34:56 +0100 X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3) X-Mailer: Apple Mail (2.609) Subject: raidctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 16:35:09 -0000 --Apple-Mail-1-178415711 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hi. Is raidctl running under FreeBSD 5.2, or is it still broken (i thought it was...). --Apple-Mail-1-178415711 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: Signierter Teil der Nachricht content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/9Ew9T2mOWMFNI1MRAk6QAJ9vGgwbzvZcZFkkVSv1mKDt/l9vWwCgrV+u WK6i6WhlyZd3akU7EGl6nVY= =j3od -----END PGP SIGNATURE----- --Apple-Mail-1-178415711-- From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 09:13:01 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4424716A4CE for ; Thu, 1 Jan 2004 09:13:01 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64FD743D53 for ; Thu, 1 Jan 2004 09:12:59 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i01HCqAI021380; Thu, 1 Jan 2004 10:12:52 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 01 Jan 2004 10:12:23 -0700 (MST) Message-Id: <20040101.101223.31318319.imp@bsdimp.com> To: ticso@cicely.de, ticso@cicely12.cicely.de From: "M. Warner Losh" In-Reply-To: <20040101155100.GF11668@cicely12.cicely.de> References: <20040101013224.GC11668@cicely12.cicely.de> <20031231.222230.01438468.imp@bsdimp.com> <20040101155100.GF11668@cicely12.cicely.de> 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: current@freebsd.org Subject: Re: Still IRQ routing problems with bridged devices. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 17:13:01 -0000 In message: <20040101155100.GF11668@cicely12.cicely.de> Bernd Walter writes: : On Wed, Dec 31, 2003 at 10:22:30PM -0700, M. Warner Losh wrote: : > In message: <20040101013224.GC11668@cicely12.cicely.de> : > Bernd Walter writes: : > : The board is an old Asus T2P4 with 3 bridged cards and $PIR table. : > : All IRQs behind bridges get bogusly IRQ4 instead of the right ones. : > : Is this only a problem on some boards or do we have a general irq : > : routing problem with bridges? : > : > It is a problem with some bridges and PCI BIOS interrupt routing. : : The intline registers are correct - that's what used to run since years. : What has the kind of bridge to do with it? just what the code does :-) : > : At least I know that bridge irq routing works fine on alpha. : > : $PIR table claims to only have 7 entries - does this make sense for : > : a 4 slot board? : > : > Maybe you could post it. It makes sense if you have on-board PCI : > devices. : : Is it shown with a boot -v or how can I get it? : The board has 4 slots and the usual bunch of southbridge devices. boot -v with and without your patch. : > : If this is a board specific problem - can we at least add a loader : > : variable to disable routing, so I don't have to patch the source on : > : every update and can run a standart boot disk again? : > : > Did it used to work when we were re-routing all the time? It would be : > easy to add this as an option, but maybe understanding your setup : > might help a little to make our routing code a little smarter. : : It never worked if FreeBSD decides which int to use. : I have to disable routing in pci.c to get back to intline entries. OK. : What do you mean with "when we were re-routing all the time"? : If I don't get it wrong we are re-routing all the time and : take the result if it's a valid int. s/were/weren't/ and it will make sense. We used to not route all the time, and now we do. Warner From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 09:28:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 140E516A4CE for ; Thu, 1 Jan 2004 09:28:25 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id C209F43D55 for ; Thu, 1 Jan 2004 09:28:22 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i01HSBN1012639 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 1 Jan 2004 18:28:13 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i01HS5MO046175 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 1 Jan 2004 18:28:05 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id i01HS4BE015705; Thu, 1 Jan 2004 18:28:04 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id i01HS4Mp015704; Thu, 1 Jan 2004 18:28:04 +0100 (CET) (envelope-from ticso) Date: Thu, 1 Jan 2004 18:28:04 +0100 From: Bernd Walter To: "M. Warner Losh" Message-ID: <20040101172803.GJ11668@cicely12.cicely.de> References: <20040101013224.GC11668@cicely12.cicely.de> <20031231.222230.01438468.imp@bsdimp.com> <20040101155100.GF11668@cicely12.cicely.de> <20040101.101223.31318319.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040101.101223.31318319.imp@bsdimp.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de cc: ticso@cicely12.cicely.de cc: ticso@cicely.de cc: current@freebsd.org Subject: Re: Still IRQ routing problems with bridged devices. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 17:28:25 -0000 On Thu, Jan 01, 2004 at 10:12:23AM -0700, M. Warner Losh wrote: > In message: <20040101155100.GF11668@cicely12.cicely.de> > Bernd Walter writes: > : On Wed, Dec 31, 2003 at 10:22:30PM -0700, M. Warner Losh wrote: > : > In message: <20040101013224.GC11668@cicely12.cicely.de> > : > Bernd Walter writes: > : > : The board is an old Asus T2P4 with 3 bridged cards and $PIR table. > : > : All IRQs behind bridges get bogusly IRQ4 instead of the right ones. > : > : Is this only a problem on some boards or do we have a general irq > : > : routing problem with bridges? > : > > : > It is a problem with some bridges and PCI BIOS interrupt routing. > : > : The intline registers are correct - that's what used to run since years. > : What has the kind of bridge to do with it? > > just what the code does :-) But bridges are handled generic so why would only some bridges show this problem? The bridges are 21050 types btw. > : > : At least I know that bridge irq routing works fine on alpha. > : > : $PIR table claims to only have 7 entries - does this make sense for > : > : a 4 slot board? > : > > : > Maybe you could post it. It makes sense if you have on-board PCI > : > devices. > : > : Is it shown with a boot -v or how can I get it? > : The board has 4 slots and the usual bunch of southbridge devices. > > boot -v with and without your patch. Easier said then done. irq4 is sio0 - I remember there were problems with serial console from the last time. And it doesn't boot into multi user without the devices behind the bridges - all scsi controllers :) Will see what happens. > : What do you mean with "when we were re-routing all the time"? > : If I don't get it wrong we are re-routing all the time and > : take the result if it's a valid int. > > s/were/weren't/ and it will make sense. We used to not route all the > time, and now we do. Yes it did work - BIOS initilised intlines values are valid so the system stayed with them. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 09:30:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 449C816A4CE for ; Thu, 1 Jan 2004 09:30:17 -0800 (PST) Received: from mailhub2.midco.net (mailhub2.midco.net [24.220.0.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B84243D3F for ; Thu, 1 Jan 2004 09:30:15 -0800 (PST) (envelope-from pmes@bis.midco.net) Received: (qmail 28739 invoked by uid 0); 1 Jan 2004 17:30:14 -0000 Received: from host-195-219-220-24.midco.net (HELO bis.midco.net) ([24.220.219.195]) (envelope-sender ) by lvs-pop.midco.net (qmail-ldap-1.03) with SMTP for ; 1 Jan 2004 17:30:14 -0000 Message-ID: <3FF45925.80303@bis.midco.net> Date: Thu, 01 Jan 2004 11:30:13 -0600 From: Peter Schultz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20031215 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Hulme References: <20031229131959.Q14501@root.org> <3FF2A5F7.9070606@diefree.com> <3FF2D94D.90903@bis.midco.net> <3FF32260.2030206@diefree.com> In-Reply-To: <3FF32260.2030206@diefree.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: ACPI causes page fault/panic upon reboot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 17:30:17 -0000 Dan Hulme wrote: > Ok, I did as you said, and replaced "Microsoft Windows" with "FreeBSD" > in the following. I also set the two variables in loader.conf. The > result was that it loaded on boot, but for some reason it couldn't mount > my root partition. I disabled acpi and was able to boot. I looked more > carefully at the result of compiling, and this is what I saw: > Can you provide a verbose dmesg, `boot -Dhv'? How many instances of Windows did you change? If there's more than one, you might want to try changing one at a time. > acpi.asl 123: If (S3EN) > Error 1037 - ^ syntax error > > Here are the surrounding lines. To be honest, I really don't see what > could be causing a syntax error. > > 118 Name (_S0, Package (0x02) > 119 { > 120 0x00, > 121 0x00 > 122 }) ^ It looks like you've got an extra closing paren at the end of line 122. > 123 If (S3EN) > 124 { > 125 Name (_S3, Package (0x02) > 126 { > 127 0x05, > 128 0x05 > 129 }) > 130 } > 131 Else > 132 { > 133 Name (_S1, Package (0x02) > 134 { > 135 0x01, > 136 0x01 > 137 }) > 138 } > > -Dan > Pete... > Name (OSFL, 0x03) > Method (_INI, 0, NotSerialized) > { > If (MCTH (\_OS, "Microsoft Windows")) > { > Store (0x01, OSFL) > } > Else > { > > Peter Schultz wrote: > > >>Dan Hulme wrote: >> >> >>>Disabling ACPI fixes the problem. The problem appears to be in dc0, >>>however. See my other reply for details. >>> >> >>You might be able to use ACPI, run this command: >> >>`acpidump -t -d > your.asl' >> >>In your.asl, change if statements that compare the value of _OS from >>"Windows" to "FreeBSD". For example*: >> >>If (MCTH (\_OS, "Microsoft Windows NT")) >>{ >> Return (PIC1) >>} >>Else >>{ >> Return (PIC0) >>} >> >>Overridden for use with FreeBSD: >>If (MCTH (\_OS, "FreeBSD")) >>{ >> Return (PIC1) >>} >>Else >>{ >> Return (PIC0) >>} >> >>After you customize your.asl, you'll want to compile** it, run: >> >>`iasl -f your.asl' >> >>DSDT.aml is the default output filename for the above command. It's >>machine code you can offer to ACPI instead of using the DSDT provided >>with your motherboard. You do this by editing /boot/loader.conf, add: >> >>acpi_dsdt_load="YES" >>acpi_dsdt_name="/boot/DSDT.aml" >> >>Remember to move DSDT.aml to the /boot directory. That's what I've >>done to get ACPI working back to how it was in the past. >> >>HTH, >>Pete... >> >>* From my OEM ASL, a partnership with Microsoft? >> >>** We're forcing compilation because it seems most OEM ASLs are buggy. >> >> > From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 11:01:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71D3516A4CF for ; Thu, 1 Jan 2004 11:01:39 -0800 (PST) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 714D843D53 for ; Thu, 1 Jan 2004 11:01:33 -0800 (PST) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.10/8.12.10/NinthNine) with ESMTP id i01J1VFR026958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2004 04:01:31 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 2 Jan 2004 04:01:30 +0900 From: Norikatsu Shigemura To: Arne Schwabe Message-Id: <20040102040130.22999353.nork@FreeBSD.org> In-Reply-To: <86n097dco9.fsf@kamino.rfc1149.org> References: <86n097dco9.fsf@kamino.rfc1149.org> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@FreeBSD.org Subject: Re: Synaptics Touchpad xfree driver hack :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 19:01:39 -0000 On 01 Jan 2004 14:24:38 +0100 Arne Schwabe wrote: > The synaptics XFree86 driver *should* detect all features and use them > like on linux. But for now initialisation of an attached second mouse > is not done (I was too lazy to do it, and for me it works without it) WoW! This is CooooL!!! In my environment (SHARP Mebius MURAMASA PC-MT2-F1), it looks good works. I was impressed. So I made a port for synaptics driver. # I don't like sample setting:-). I'll adjust these parameter. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # synaptics/Makefile # synaptics/distinfo # synaptics/pkg-descr # synaptics/pkg-plist # echo x - synaptics/Makefile sed 's/^X//' >synaptics/Makefile << 'END-of-synaptics/Makefile' X# New ports collection makefile for: synaptics X# Date created: 2004/01/02 X# Whom: nork@FreeBSD.org X# X# $FreeBSD$ X# X XPORTNAME= synaptics XPORTVERSION= 0.12.2 XCATEGORIES= x11-servers XMASTER_SITES= http://w1.894.telia.com/~u89404340/touchpad/files/ X XPATCH_SITES= http://www.plaisthos.de/synaptics/ XPATCHFILES= synaptics-driver.diff XPATCH_DIST_STRIP= -p1 X XMAINTAINER= nork@FreeBSD.org XCOMMENT= Synaptics Touchpad driver for XFree86 4.X X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes X XBUILD_DEPENDS= ${X11BASE}/bin/xf86cfg:${PORTSDIR}/x11-servers/XFree86-4-Server XRUN_DEPENDS= ${BUILD_DEPENDS} X XWRKSRC= ${WRKDIR}/${PORTNAME} X XALL_TARGET= synaptics_drv.o X Xpre-everything:: X @if ! grep MOUSE_SYNAPTICS_CMD /usr/include/sys/mouse.h > /dev/null 2>&1; then \ X ${ECHO_MSG} "Please get&apply a following patch for kernel:"; \ X ${ECHO_MSG} " http://www.plaisthos.de/synaptics/synaptics.kern.diff"; \ X ${FALSE}; \ X fi X Xdo-install: X @${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}/${ALL_TARGET} ${PREFIX}/lib/modules/input/ X X.include END-of-synaptics/Makefile echo x - synaptics/distinfo sed 's/^X//' >synaptics/distinfo << 'END-of-synaptics/distinfo' XMD5 (synaptics-0.12.2.tar.bz2) = 5f4f5bf8a7756194f358d82bdb63dde4 XMD5 (synaptics-driver.diff) = cb13952a19d780d2860049a09dd30df4 END-of-synaptics/distinfo echo x - synaptics/pkg-descr sed 's/^X//' >synaptics/pkg-descr << 'END-of-synaptics/pkg-descr' XThe Synaptics TouchPad driver for for XFree86 4.x. A Synaptics touchpad Xby default operates in compatibility mode by emulating a standard mouse. XHowever, by using a dedicated driver, more advanced features of the Xtouchpad becomes available. X XWWW: http://w1.894.telia.com/~u89404340/touchpad/ END-of-synaptics/pkg-descr echo x - synaptics/pkg-plist sed 's/^X//' >synaptics/pkg-plist << 'END-of-synaptics/pkg-plist' Xlib/modules/input/synaptics_drv.o END-of-synaptics/pkg-plist exit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:02:46 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5777916A4CE for ; Thu, 1 Jan 2004 12:02:46 -0800 (PST) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D94D43D3F for ; Thu, 1 Jan 2004 12:02:23 -0800 (PST) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.10/8.12.10/NinthNine) with ESMTP id i01K2MFR028405 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2004 05:02:22 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 2 Jan 2004 05:02:22 +0900 From: Norikatsu Shigemura To: freebsd-current@FreeBSD.org Message-Id: <20040102050222.72d09737.nork@FreeBSD.org> In-Reply-To: <20040102040130.22999353.nork@FreeBSD.org> References: <86n097dco9.fsf@kamino.rfc1149.org> <20040102040130.22999353.nork@FreeBSD.org> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: arne@rfc2549.org Subject: Re: Synaptics Touchpad xfree driver hack :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:02:46 -0000 On Fri, 2 Jan 2004 04:01:30 +0900 Norikatsu Shigemura wrote: > PC-MT2-F1), it looks good works. I was impressed. So I made a > port for synaptics driver. Oops, this has a bug. s/INSTALL_PROGRAM/INSTALL_DATA/ like following shar. Humm.. I like MinSpeed = MaxSpeed = 0.06 (noaccel). I think that 0.02 is too late, and 0.10 is too fast. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # synaptics/Makefile # synaptics/distinfo # synaptics/pkg-descr # synaptics/pkg-plist # echo x - synaptics/Makefile sed 's/^X//' >synaptics/Makefile << 'END-of-synaptics/Makefile' X# New ports collection makefile for: synaptics X# Date created: 2004/01/02 X# Whom: nork@FreeBSD.org X# X# $FreeBSD$ X# X XPORTNAME= synaptics XPORTVERSION= 0.12.2 XCATEGORIES= x11-servers XMASTER_SITES= http://w1.894.telia.com/~u89404340/touchpad/files/ X XPATCH_SITES= http://www.plaisthos.de/synaptics/ XPATCHFILES= synaptics-driver.diff XPATCH_DIST_STRIP= -p1 X XMAINTAINER= nork@FreeBSD.org XCOMMENT= Synaptics Touchpad driver for XFree86 4.X X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_X_PREFIX= yes X XBUILD_DEPENDS= ${X11BASE}/bin/xf86cfg:${PORTSDIR}/x11-servers/XFree86-4-Server XRUN_DEPENDS= ${BUILD_DEPENDS} X XWRKSRC= ${WRKDIR}/${PORTNAME} X XALL_TARGET= synaptics_drv.o X Xpre-everything:: X @if ! grep MOUSE_SYNAPTICS_CMD /usr/include/sys/mouse.h > /dev/null 2>&1; then \ X ${ECHO_MSG} "Please get&apply a following patch for kernel:"; \ X ${ECHO_MSG} " http://www.plaisthos.de/synaptics/synaptics.kern.diff"; \ X ${FALSE}; \ X fi X Xdo-install: X @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/${ALL_TARGET} ${PREFIX}/lib/modules/input/ X X.include END-of-synaptics/Makefile echo x - synaptics/distinfo sed 's/^X//' >synaptics/distinfo << 'END-of-synaptics/distinfo' XMD5 (synaptics-0.12.2.tar.bz2) = 5f4f5bf8a7756194f358d82bdb63dde4 XMD5 (synaptics-driver.diff) = cb13952a19d780d2860049a09dd30df4 END-of-synaptics/distinfo echo x - synaptics/pkg-descr sed 's/^X//' >synaptics/pkg-descr << 'END-of-synaptics/pkg-descr' XThe Synaptics TouchPad driver for for XFree86 4.x. A Synaptics touchpad Xby default operates in compatibility mode by emulating a standard mouse. XHowever, by using a dedicated driver, more advanced features of the Xtouchpad becomes available. X XWWW: http://w1.894.telia.com/~u89404340/touchpad/ END-of-synaptics/pkg-descr echo x - synaptics/pkg-plist sed 's/^X//' >synaptics/pkg-plist << 'END-of-synaptics/pkg-plist' Xlib/modules/input/synaptics_drv.o END-of-synaptics/pkg-plist exit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:17:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF6DA16A4CE for ; Thu, 1 Jan 2004 12:17:21 -0800 (PST) Received: from ganymede.hub.org (u46n208.hfx.eastlink.ca [24.222.46.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9619343D48 for ; Thu, 1 Jan 2004 12:17:20 -0800 (PST) (envelope-from scrappy@hub.org) Received: by ganymede.hub.org (Postfix, from userid 1000) id 316B435239; Thu, 1 Jan 2004 16:13:28 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2E47635200; Thu, 1 Jan 2004 16:13:28 -0400 (AST) Date: Thu, 1 Jan 2004 16:13:28 -0400 (AST) From: "Marc G. Fournier" To: Jeff Roberson In-Reply-To: <20031219181608.R36463-100000@mail.chesapeake.net> Message-ID: <20040101161309.P913@ganymede.hub.org> References: <20031219181608.R36463-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Switching to SCHED_ULE leads to panic ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:17:21 -0000 On Fri, 19 Dec 2003, Jeff Roberson wrote: > > On Fri, 19 Dec 2003, Marc G. Fournier wrote: > > > > > Just figured I'd switch over to using SCHED_ULE, vs _4BSD ... rebooted > > with new kernel, got to command line prompt, type 'make installworld' and > > "boom" ... DDB/trace shows: > > Thanks, looks like ULE is broken on UP systems with the SMP kernel option > enabled. Can you disable SMP for now, and I'll fix ULE? Just got a chance to do so ... disabled SMP works fine ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:17:42 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25E0D16A4CE for ; Thu, 1 Jan 2004 12:17:42 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F61C43D2D for ; Thu, 1 Jan 2004 12:17:41 -0800 (PST) (envelope-from clint@0lsen.net) Received: from 0lsen.net ([12.203.21.192]) by comcast.net (rwcrmhc11) with ESMTP id <2004010120174001300rd0mte>; Thu, 1 Jan 2004 20:17:40 +0000 Received: by 0lsen.net (Postfix, from userid 1001) id 6CF0D1468; Thu, 1 Jan 2004 12:17:40 -0800 (PST) Date: Thu, 1 Jan 2004 12:17:40 -0800 From: Clint Olsen To: freebsd-current@freebsd.org Message-ID: <20040101201740.GL42542@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Subject: Installed 5.2RC from CDROM, fails to boot in manager X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:17:42 -0000 I think I have a successful install, but now when I attempt to boot the system, it just hangs at 'F1: FreeBSD'. If I attempt to hit F1, I just get a tone from the system (or any other key for that matter). I've already performed an install of a 4.7 machine, so I'd like to think I sort of know what I'm doing, but I'm a bit perplexed as to why this is happening. Thanks, -Clint From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:43:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F2DF16A4CE for ; Thu, 1 Jan 2004 12:43:29 -0800 (PST) Received: from mhub-m6.tc.umn.edu (mhub-m6.tc.umn.edu [160.94.23.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2096A43D2D for ; Thu, 1 Jan 2004 12:43:28 -0800 (PST) (envelope-from ryans@gamersimpact.com) Received: from [24.107.70.120] by mhub-m6.tc.umn.edu with ESMTP; Thu, 1 Jan 2004 14:43:27 -0600 From: Ryan Sommers To: Clint Olsen In-Reply-To: <20040101201740.GL42542@0lsen.net> References: <20040101201740.GL42542@0lsen.net> Content-Type: text/plain Message-Id: <1072989805.671.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 01 Jan 2004 14:43:25 -0600 Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Installed 5.2RC from CDROM, fails to boot in manager X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:43:29 -0000 On Thu, 2004-01-01 at 14:17, Clint Olsen wrote: > I think I have a successful install, but now when I attempt to boot the > system, it just hangs at 'F1: FreeBSD'. If I attempt to hit F1, I just get > a tone from the system (or any other key for that matter). I've already > performed an install of a 4.7 machine, so I'd like to think I sort of know > what I'm doing, but I'm a bit perplexed as to why this is happening. > > Thanks, > > -Clint When you hit a key does anything show up on the next line after the bootmanagers prompt, like a - / \ | character? If not then your MBR might have been corrupted. Is it a constant tone or is it just an error beep when you hit a key? I don't remember if boot0 makes a beep on a bad key or not. Is FreeBSD the only operating system you have on the system? You might try chosing not to use a boot manager if it is the only OS. -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =- From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:55:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEE8E16A4CE for ; Thu, 1 Jan 2004 12:55:13 -0800 (PST) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B59843D39 for ; Thu, 1 Jan 2004 12:55:12 -0800 (PST) (envelope-from clint@0lsen.net) Received: from 0lsen.net ([12.203.21.192]) by comcast.net (rwcrmhc11) with ESMTP id <2004010120551101300n33qne>; Thu, 1 Jan 2004 20:55:12 +0000 Received: by 0lsen.net (Postfix, from userid 1001) id 99EF91468; Thu, 1 Jan 2004 12:55:11 -0800 (PST) Date: Thu, 1 Jan 2004 12:55:11 -0800 From: Clint Olsen To: freebsd-current@freebsd.org Message-ID: <20040101205511.GM42542@0lsen.net> References: <20040101201740.GL42542@0lsen.net> <1072989805.671.3.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1072989805.671.3.camel@localhost> User-Agent: Mutt/1.4.1i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Subject: Re: Installed 5.2RC from CDROM, fails to boot in manager X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:55:13 -0000 On Jan 01, Ryan Sommers wrote: > > When you hit a key does anything show up on the next line after the > bootmanagers prompt, like a - / \ | character? If not then your MBR might > have been corrupted. Is it a constant tone or is it just an error beep > when you hit a key? I don't remember if boot0 makes a beep on a bad key > or not. No, it doesn't show any sort of booting character. It beeps no matter what key I hit. It just hangs there. This is a 40G Maxtor drive I swiped out of my Dell machine. I had some fun running fdisk on this thing. Fdisk could never get the geometry right for this disk - but it did appear to be able to detect the size correctly. It kept trying to create 3 partitions, instead of the usual 2 (the 0-63 partition 'hole' + the freebsd partition). At any rate, I got the screen to appear largely like it does on the fdisk menu in the FreeBSD Handbook (incorrectly guessing the disk size but at least getting the number of partitions right). > Is FreeBSD the only operating system you have on the system? You might > try chosing not to use a boot manager if it is the only OS. Yes, it's the only system. I have the boot manager on my 4.7 machine, so I didn't see any harm in using it again. I actually want to install a second disk with Windows on it so I can refer to it for emergency purposes. Thanks, -Clint From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 12:28:47 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E80CD16A4CE for ; Thu, 1 Jan 2004 12:28:47 -0800 (PST) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 282FC43D41 for ; Thu, 1 Jan 2004 12:28:30 -0800 (PST) (envelope-from d@diefree.com) Received: from diefree.com ([24.6.31.57]) by comcast.net (rwcrmhc13) with ESMTP id <2004010120282901500qkgfbe>; Thu, 1 Jan 2004 20:28:29 +0000 Message-ID: <3FF4836B.9040302@diefree.com> Date: Thu, 01 Jan 2004 12:30:35 -0800 From: Dan Hulme User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031206 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Schultz , freebsd-current@freebsd.org References: <20031229131959.Q14501@root.org> <3FF2A5F7.9070606@diefree.com> <3FF2D94D.90903@bis.midco.net> <3FF32260.2030206@diefree.com> <3FF45925.80303@bis.midco.net> In-Reply-To: <3FF45925.80303@bis.midco.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 01 Jan 2004 13:00:23 -0800 Subject: Re: ACPI causes page fault/panic upon reboot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 20:28:48 -0000 Pete, I'm sending this again with a little more info. > Can you provide a verbose dmesg, `boot -Dhv'? How many instances of > Windows did you change? If there's more than one, you might want to > try changing one at a time. > When I get the chance, I will. There were only two instances of windows, and both were in the same block. The second one was a test for windows ME, and was nested inside the else of the previous test. In other words, if the first test succeeded, the second test never would occur. I suppose I could make it try to match the "Windows ME" block instead, but somehow I doubt that will work, either. I can't exactly capture the dmesg, because it doesn't boot far enough for it to get recorded. I will type in the last bit for you: Timecoutner "ACPI-fast" frequency 3579545 Hz quality 1000 acpi-timer0: <24-bit timer at 3.5795454Mhz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 Device configuration finished procfs registered Timecounter "TSC" frequency 664649328 Hz quality 800 Timecounters tick every 10.000 msec lo0: bpf attached Mounting root from ufs:/dev/ad0s1a setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 Then it asks for me to manually specify the root. Of course, that is the right root slice, so there's nothing I can do. -Dan >> acpi.asl 123: If (S3EN) >> Error 1037 - ^ syntax error >> >> Here are the surrounding lines. To be honest, I really don't see what >> could be causing a syntax error. >> >> 118 Name (_S0, Package (0x02) >> 119 { >> 120 0x00, >> 121 0x00 >> 122 }) > > ^ > It looks like you've got an extra closing paren at the end of line 122. > That's what I thought initially, until I looked at the rest of the file, and saw that *all* the Name clauses end like that, including two others that I quoted already: >> 123 If (S3EN) >> 124 { >> 125 Name (_S3, Package (0x02) >> 126 { >> 127 0x05, >> 128 0x05 >> 129 }) >> 130 } >> 131 Else >> 132 { >> 133 Name (_S1, Package (0x02) >> 134 { >> 135 0x01, >> 136 0x01 >> 137 }) >> 138 } >> -Dan From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 13:02:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B12116A4CE; Thu, 1 Jan 2004 13:02:35 -0800 (PST) Received: from coruscant.rfc1149.org (rfc2549.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id D19AA43D39; Thu, 1 Jan 2004 13:02:33 -0800 (PST) (envelope-from schwabe@upb.de) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id E54C43D13; Thu, 1 Jan 2004 22:02:32 +0100 (CET) Received: from kamino.rfc1149.org (dsl-213-023-211-186.arcor-ip.net [213.23.211.186]) by coruscant.rfc1149.org (Postfix) with ESMTP id F3E633CC6; Thu, 1 Jan 2004 22:02:30 +0100 (CET) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id D5C5C623D; Thu, 1 Jan 2004 22:01:58 +0100 (CET) Sender: arne@kamino.rfc1149.org To: Norikatsu Shigemura References: <86n097dco9.fsf@kamino.rfc1149.org> <20040102040130.22999353.nork@FreeBSD.org> <20040102050222.72d09737.nork@FreeBSD.org> From: Arne Schwabe In-Reply-To: <20040102050222.72d09737.nork@FreeBSD.org> Date: 01 Jan 2004 22:01:58 +0100 Message-ID: <86k74be62h.fsf@kamino.rfc1149.org> Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.1 required=5.0 tests=BAYES_00,RCVD_IN_DSBL, RCVD_IN_SORBS autolearn=no version=2.60 X-Spam-Level: X-Mailman-Approved-At: Thu, 01 Jan 2004 13:03:43 -0800 cc: freebsd-current@FreeBSD.org Subject: Re: Synaptics Touchpad xfree driver hack :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 21:02:35 -0000 Norikatsu Shigemura writes: > On Fri, 2 Jan 2004 04:01:30 +0900 > Norikatsu Shigemura wrote: > > PC-MT2-F1), it looks good works. I was impressed. So I made a > > port for synaptics driver. > > Oops, this has a bug. s/INSTALL_PROGRAM/INSTALL_DATA/ like > following shar. > > Humm.. I like MinSpeed = MaxSpeed = 0.06 (noaccel). I think > that 0.02 is too late, and 0.10 is too fast. Hm okay, I am quite lost now :) I don't almost nothing about ports and such (beside installing then). Do I have do something with the stuff you posted? Sorry for the newbish questions. Arne From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 13:30:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B81416A4CE for ; Thu, 1 Jan 2004 13:30:29 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F42843D45 for ; Thu, 1 Jan 2004 13:30:28 -0800 (PST) (envelope-from clint@0lsen.net) Received: from 0lsen.net ([12.203.21.192]) by comcast.net (sccrmhc13) with ESMTP id <20040101213027016008sfb9e>; Thu, 1 Jan 2004 21:30:27 +0000 Received: by 0lsen.net (Postfix, from userid 1001) id 0F0D81468; Thu, 1 Jan 2004 13:30:27 -0800 (PST) Date: Thu, 1 Jan 2004 13:30:26 -0800 From: Clint Olsen To: freebsd-current@freebsd.org Message-ID: <20040101213026.GA47719@0lsen.net> References: <20040101201740.GL42542@0lsen.net> <1072989805.671.3.camel@localhost> <20040101205511.GM42542@0lsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040101205511.GM42542@0lsen.net> User-Agent: Mutt/1.4.1i Organization: NULlsen Network X-Disclaimer: Mutt Bites! Subject: Re: Installed 5.2RC from CDROM, fails to boot in manager X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 21:30:29 -0000 On Jan 01, Clint Olsen wrote: > > I had some fun running fdisk on this thing. Fdisk could never get the > geometry right for this disk - but it did appear to be able to detect the > size correctly. It kept trying to create 3 partitions, instead of the > usual 2 (the 0-63 partition 'hole' + the freebsd partition). Fdisk by default wants to create two 'unused' partitions with the freebsd partition in the middle. What's up with that? The more I fight with this, the more I think it has something to do with a bad fdisk session. When I attempt to type in the BIOS geometry, fdisk refuses to accept them. This is sort of ironic since the install program says to use what the BIOS thinks it sees! I tried reading the various mailing lists for hints on this but without success. -Clint From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 13:35:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD0BC16A4CE for ; Thu, 1 Jan 2004 13:35:16 -0800 (PST) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BD4C43D46 for ; Thu, 1 Jan 2004 13:35:15 -0800 (PST) (envelope-from nork@FreeBSD.org) Received: from pelsia.ninth-nine.com (pelsia.ninth-nine.com [219.127.74.123]) (authenticated bits=0) by sakura.ninth-nine.com (8.12.10/8.12.10/NinthNine) with ESMTP id i01LZDFR030656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2004 06:35:14 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Fri, 2 Jan 2004 06:35:13 +0900 From: Norikatsu Shigemura To: Arne Schwabe Message-Id: <20040102063513.1353b8f4.nork@FreeBSD.org> In-Reply-To: <86k74be62h.fsf@kamino.rfc1149.org> References: <86n097dco9.fsf@kamino.rfc1149.org> <20040102040130.22999353.nork@FreeBSD.org> <20040102050222.72d09737.nork@FreeBSD.org> <86k74be62h.fsf@kamino.rfc1149.org> X-Mailer: Sylpheed version 0.9.8a (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@FreeBSD.org Subject: Re: Synaptics Touchpad xfree driver hack :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 21:35:16 -0000 On 01 Jan 2004 22:01:58 +0100 Arne Schwabe wrote: > > > PC-MT2-F1), it looks good works. I was impressed. So I made a > > > port for synaptics driver. > > Oops, this has a bug. s/INSTALL_PROGRAM/INSTALL_DATA/ like > > following shar. > > Humm.. I like MinSpeed = MaxSpeed = 0.06 (noaccel). I think > > that 0.02 is too late, and 0.10 is too fast. > Hm okay, I am quite lost now :) I don't almost nothing about ports and such > (beside installing then). Do I have do something with the stuff you > posted? No. Maybe, you may do nothing. I hope to hear this results, problem or no problem from many many people:-). > Sorry for the newbish questions. No problem. Ports system is a package management system for FreeBSD. SEE ALSO: following URL. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 13:35:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 285EE16A4CE for ; Thu, 1 Jan 2004 13:35:57 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A693A43D46 for ; Thu, 1 Jan 2004 13:35:50 -0800 (PST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) i01LZkN1014618 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Thu, 1 Jan 2004 22:35:48 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id i01LZfMO047504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 1 Jan 2004 22:35:41 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.10/8.12.10) with ESMTP id i01LZeBE016612 for ; Thu, 1 Jan 2004 22:35:40 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.10/8.12.10/Submit) id i01LZeIS016611 for current@freebsd.org; Thu, 1 Jan 2004 22:35:40 +0100 (CET) (envelope-from ticso) Date: Thu, 1 Jan 2004 22:35:40 +0100 From: Bernd Walter To: current@freebsd.org Message-ID: <20040101213539.GQ11668@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.61 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on cicely5.cicely.de Subject: rpc.lockd problems and alpha client X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 21:35:57 -0000 Client is a FreeBSD-current alpha Server is a FreeBSD-current i386 The application that requests the lock keeps waiting in state lockd. With an i386 client everything works fine. This is what I have loged on the client: Jan 1 22:23:16 cicely12 rpc.lockd: Starting, debug level 100 Jan 1 22:23:16 cicely12 rpc.statd: msync() failed: Invalid argument Jan 1 22:23:41 cicely12 rpc.lockd: process ID: 11668 Jan 1 22:23:41 cicely12 rpc.lockd: fh_len 28, fh \59\37\61\3c\58\37\0a\1a\0c\00\00\00\06\31\01\00\8f\05\3c\65\00\00\00\00\00\00\00\00 Jan 1 22:23:41 cicely12 rpc.lockd: start 0; len 0; pid 4612184; type 3; whence 0 Jan 1 22:23:41 cicely12 rpc.lockd: wait was not set Jan 1 22:23:41 cicely12 rpc.lockd: lock request: V4: write to 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:23:41 cicely12 rpc.lockd: CLIENT* not found in cache, creating Jan 1 22:23:41 cicely12 rpc.lockd: Created CLIENT* for 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:24:01 cicely12 rpc.lockd: process ID: 11668 Jan 1 22:24:01 cicely12 rpc.lockd: fh_len 28, fh \59\37\61\3c\58\37\0a\1a\0c\00\00\00\06\31\01\00\8f\05\3c\65\00\00\00\00\00\00\00\00 Jan 1 22:24:01 cicely12 rpc.lockd: start 0; len 0; pid 4612184; type 3; whence 0 Jan 1 22:24:01 cicely12 rpc.lockd: wait was not set Jan 1 22:24:01 cicely12 rpc.lockd: lock request: V4: write to 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:24:01 cicely12 rpc.lockd: Found CLIENT* in cache Jan 1 22:24:21 cicely12 rpc.lockd: process ID: 11668 Jan 1 22:24:21 cicely12 rpc.lockd: fh_len 28, fh \59\37\61\3c\58\37\0a\1a\0c\00\00\00\06\31\01\00\8f\05\3c\65\00\00\00\00\00\00\00\00 Jan 1 22:24:21 cicely12 rpc.lockd: start 0; len 0; pid 4612184; type 3; whence 0 Jan 1 22:24:21 cicely12 rpc.lockd: wait was not set Jan 1 22:24:21 cicely12 rpc.lockd: lock request: V4: write to 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:24:21 cicely12 rpc.lockd: Found CLIENT* in cache Jan 1 22:24:41 cicely12 rpc.lockd: process ID: 11668 Jan 1 22:24:41 cicely12 rpc.lockd: fh_len 28, fh \59\37\61\3c\58\37\0a\1a\0c\00\00\00\06\31\01\00\8f\05\3c\65\00\00\00\00\00\00\00\00 Jan 1 22:24:41 cicely12 rpc.lockd: start 0; len 0; pid 4612184; type 3; whence 0 Jan 1 22:24:41 cicely12 rpc.lockd: wait was not set Jan 1 22:24:41 cicely12 rpc.lockd: lock request: V4: write to 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:24:41 cicely12 rpc.lockd: Found CLIENT* in cache Jan 1 22:24:55 cicely12 rpc.lockd: process ID: 16516 Jan 1 22:24:55 cicely12 rpc.lockd: fh_len 28, fh \59\37\61\3c\58\37\0a\1a\0c\00\00\00\00\31\01\00\2d\d1\9b\21\00\00\00\00\00\00\00\00 Jan 1 22:24:55 cicely12 rpc.lockd: start 0; len 0; pid 4612184; type 3; whence 0 Jan 1 22:24:55 cicely12 rpc.lockd: wait was not set Jan 1 22:24:55 cicely12 rpc.lockd: lock request: V4: write to 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:24:55 cicely12 rpc.lockd: Found CLIENT* in cache Jan 1 22:24:58 cicely12 kernel: Jan 1 22:23:16 cicely12 rpc.statd: msync() failed: Invalid argument Jan 1 22:25:00 cicely12 /usr/sbin/cron[16518]: (root) CMD (/usr/libexec/atrun) Jan 1 22:25:01 cicely12 rpc.lockd: process ID: 11668 Jan 1 22:25:01 cicely12 rpc.lockd: fh_len 28, fh \59\37\61\3c\58\37\0a\1a\0c\00\00\00\06\31\01\00\8f\05\3c\65\00\00\00\00\00\00\00\00 Jan 1 22:25:01 cicely12 rpc.lockd: start 0; len 0; pid 4612184; type 3; whence 0 Jan 1 22:25:01 cicely12 rpc.lockd: wait was not set Jan 1 22:25:01 cicely12 rpc.lockd: lock request: V4: write to 3ffe:400:8d0:301:200:92ff:fe9b:20e7 Jan 1 22:25:01 cicely12 rpc.lockd: Found CLIENT* in cache -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-current@FreeBSD.ORG Thu Jan 1 13:44:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAB3216A4CE; Thu, 1 Jan 2004 13:44:17 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1FF743D58; Thu, 1 Jan 2004 13:44:04 -0800 (PST) (envelope-from fabrizio@nldesign.com) Received: from 1cust158.tnt2.harrisonburg.va.da.uu.net ([67.201.40.158] helo=192.168.0.46) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1AcAbl-0002zK-00; Thu, 01 Jan 2004 13:43:59 -0800 From: Fabrizio Parrella Organization: NLDesign To: mobile@freebsd.org, current@freebsd.org Date: Thu, 1 Jan 2004 16:43:42 +0000 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401011643.43172.fabrizio@nldesign.com> Subject: ACPI - APM .. weird things X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 21:44:17 -0000 HI! I sent an email few days ago about ACPI and APM problems on my compaq presario 1800. I update the system,from 5.1-RELEASE to 5.2-RC2, downalod the sys with cvsup, recompile ONLY the kernel to : >uname -a FreeBSD 127.0.0.1 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed Dec 31 15:04:17 GMT 2003 root@127.0.0.1:/usr/obj/usr/src/sys/MYKERNEL i386 (MYKERNEL is the GENERIC with device pcm, because adding snd_ess_load="YES" on loader.conf wasn't actually creating /dev/dsp.. but this is a different story :p) with 5.1-RELEASE, 5.2 RC2 and now 5.2 CURRENT, the problem is still the same, the ACPI doesn't show the life time of the battery. with the 5.2 CURRENT I have tried to enable the apm: >loader.conf: add apm_load="YES" #added >device.hints : hint.acpi.0.disabled=1 #added hint.apm.0.disabled=0 #modified >rc.conf apm_enabled="YES" #added apmd_enabled="YES" #added after the reboot, nothing didn't change, the apm was only saying that I had a battery and the total charge of it, but still nothing about the time, so I decide to put back the acpi, so I remmed out in device.hints the lines that I added, and delete the line on loader.conf, forgottin to delete the lines in the rc.conf after the reboot I saw the line in the dmesg that said that apm wasn't compiled with the kernel, I remmed out that lines, but before reboot I checked the battery status writing APM >apm APM version: 1.2 APM Management: Disabled AC Line status: off-line Battery status: high Remaining battery life: 83% Remaining battery time: 2:56:00 Number of batteries: 1 Battery 0: Battery status: high Remaining battery life: 83% Remaining battery time: 2:56:00 Resume timer: unknown [...] I can see the battery time... I start KDE and also KDE was working fine with it, reading the life and the time of the battery.... I rebooted with the lines in the rc.conf remmed out, I still get error on the boot from the ACPI (I'll copy the dmesg), but I still can see the life and time of the battery, except for KDE, that says that apm is not running... AND.. when I "put to sleep" the computer, the monitor doesn't go off, except if I close the lid. when I try to "wake up" the computer, sometime I get some errors after: ata0: resetting devices .. but everything works fine. I don't get the errors if I am in X (KDE) last thing: when I was running 5.1-RELEASE the acpi was putting down the use of the CPU in battery mode from 8 to 4, with 5.2 the cpu works always at 8: >sysctl -a hw.acpi (with acline =1) hw.acpi.supported_sleep_state: S1 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 hw.acpi.cpu.cx_supported: C1/0 C2/10 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 767689/0 0/0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3252 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3632 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3732 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 88 hw.acpi.battery.time: -1 hw.acpi.battery.state: 2 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 >sysctl -a ha.acpi (with the battery only) hw.acpi.supported_sleep_state: S1 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 hw.acpi.lid_switch_state: S1 hw.acpi.standby_state: S1 hw.acpi.suspend_state: S3 hw.acpi.sleep_delay: 5 hw.acpi.s4bios: 1 hw.acpi.verbose: 0 hw.acpi.disable_on_poweroff: 1 hw.acpi.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 hw.acpi.cpu.cx_supported: C1/0 C2/10 hw.acpi.cpu.cx_lowest: 0 hw.acpi.cpu.cx_history: 772436/0 0/0 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 30 hw.acpi.thermal.tz0.temperature: 3252 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3632 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3732 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 88 hw.acpi.battery.time: 576 hw.acpi.battery.state: 1 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 0 >dmesg Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-CURRENT #0: Wed Dec 31 15:04:17 GMT 2003 root@127.0.0.1:/usr/obj/usr/src/sys/MYKERNEL Preloaded elf kernel "/boot/kernel/kernel" at 0xc0af4000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0af41f4. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (796.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387f9ff real memory = 134152192 (127 MB) avail memory = 121618432 (115 MB) Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 9 entries at 0xc00fdf30 ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 acpi_cpu0: port 0x530-0x537 on acpi0 acpi_tz0: port 0x530-0x537 on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib0: slot 7 INTD is routed to irq 11 pcib0: slot 9 INTA is routed to irq 3 pcib0: slot 17 INTA is routed to irq 5 pcib0: slot 18 INTA is routed to irq 11 agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib1: slot 0 INTA is routed to irq 5 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x14a0-0x14af at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] uhci0: port 0x1480-0x149f irq 11 at device 7.2 on pci0 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 pci0: at device 7.3 (no driver attached) pci0: at device 9.0 (no driver attached) cbb0: at device 10.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 pcib0: slot 10 INTA is routed to irq 11 cbb0: [MPSAFE] pcm0: port 0x14d8-0x14db,0x14dc-0x14df,0x14b0-0x14bf,0x14c0-0x14cf,0x1400-0x143f irq 5 at device 17.0 on pci0 fxp0: port 0x1440-0x147f mem 0xf0000000-0xf00fffff,0xf0100000-0xf0100fff irq 11 at device 18.0 on pci0 fxp0: Ethernet address 00:02:a5:14:aa:7a miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-1287: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST ACPI-0175: *** Error: Method execution failed [\\_SB_.BATT._STA] (Node 0xc1f52d00), AE_NOT_EXIST acpi_cmbat0: on acpi0 acpi_acad0: on acpi0 acpi_lid0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 acpi_ec0: port 0x66,0x62 on acpi0 fdc0: cannot reserve control I/O port range (control port) fdc0: cannot reserve control I/O port range (control port) orm0: