From owner-freebsd-sparc Sun Dec 22 6:40: 0 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C89A37B401 for ; Sun, 22 Dec 2002 06:39:59 -0800 (PST) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1969143EDE for ; Sun, 22 Dec 2002 06:39:58 -0800 (PST) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id gBMEdpv13483 for ; Sun, 22 Dec 2002 14:39:51 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.6/8.12.6) with ESMTP id gBMEdpTI070361 for ; Sun, 22 Dec 2002 14:39:51 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.6/8.12.6/Submit) with ESMTP id gBMEdpgw070358 for ; Sun, 22 Dec 2002 14:39:51 GMT X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Sun, 22 Dec 2002 14:39:51 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: sparc@freebsd.org Subject: High 'system' load Message-ID: <20021222142731.U61142-100000@ury.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have an Ultra 5, with a 270MHz processor. Does this look right (during a buildworld)? last pid: 14178; load averages: 1.96, 1.82, 1.82 up 0+01:37:27 14:28:22 35 processes: 2 running, 33 sleeping CPU states: 22.0% user, 0.0% nice, 55.1% system, 0.9% interrupt, 22.0% idle Mem: 10M Active, 20M Wired, 1856K Cache, 9120K Buf, 1728K Free Swap: 146M Total, 16M Used, 130M Free, 11% Inuse, 280K In PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 419 root 108 0 6848K 720K RUN 29:28 27.34% 27.34% top 14177 root 113 0 7824K 5952K RUN 0:01 49.20% 4.69% cc1 14178 root -8 0 1424K 768K piperd 0:00 1.03% 0.10% as Note the massively high 'system' load, and the fact top uses around 25-30% of the CPU power. I am running a GENERIC kerenl built 12th Dec, but have always seen high 'system' percentages. Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 6:44:30 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A005037B401 for ; Sun, 22 Dec 2002 06:44:29 -0800 (PST) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EF7043EE8 for ; Sun, 22 Dec 2002 06:44:28 -0800 (PST) (envelope-from gavin@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id gBMEiKv13721; Sun, 22 Dec 2002 14:44:21 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.6/8.12.6) with ESMTP id gBMEiKTI070584; Sun, 22 Dec 2002 14:44:20 GMT (envelope-from gavin@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.6/8.12.6/Submit) with ESMTP id gBMEiJla070581; Sun, 22 Dec 2002 14:44:20 GMT Date: Sun, 22 Dec 2002 14:44:19 +0000 (GMT) From: Gavin Atkinson To: Jake Burkholder Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Hangs under load In-Reply-To: <20021219030745.A4242@locore.ca> Message-ID: <20021222144007.N61142-100000@ury.york.ac.uk> References: <20021210184226.W66997-100000@ury.york.ac.uk> <20021210141635.A84047@locore.ca> <20021216190450.N33658-100000@ury.york.ac.uk> <20021219030745.A4242@locore.ca> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 19 Dec 2002, Jake Burkholder wrote: > Apparently, On Mon, Dec 16, 2002 at 07:11:14PM +0000, > Gavin Atkinson said words to the effect of; > > > OK, well I've managed to get world/kerenl updated and still have the > > hangs. I can do nothing with the serial console, and nothing gets > > printed there or in the event log when it happens. It is reproducable, > > running buildworld with /usr/src NFS mounted from a CURRENT i386 > > machine is sufficient (i'm about to try with local /usr/src to see if > > that makes any difference). What else can I try? > > Does this still happen if you cut NFS out of the picture completely? > Someone reported problems building world over nfs on an i386 box, which > may be related. The symptoms sound the same, complete hard lock. > > My ultra 10 does a make release almost everyday and I haven't had any > problems with it locking up, but its all local disk. Sorry for not replying sooner, with the buildworld running on local disks, I still experience these lockups. I'm wondering if somehow the disk controller is getting wedged? Is there a way to get it to break to ddb on a serial break? Mine does not respond to a break at all once the kerenl has started to boot. Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 8:26:44 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE63137B401 for ; Sun, 22 Dec 2002 08:26:42 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-228.dsl.lsan03.pacbell.net [64.169.104.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01E5443EDA for ; Sun, 22 Dec 2002 08:26:37 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id A209D66BE3; Sun, 22 Dec 2002 08:26:36 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 9B3D71341; Sun, 22 Dec 2002 08:26:35 -0800 (PST) Date: Sun, 22 Dec 2002 08:26:35 -0800 From: Kris Kennaway To: Gavin Atkinson Cc: sparc@FreeBSD.ORG Subject: Re: High 'system' load Message-ID: <20021222162635.GA19974@rot13.obsecurity.org> References: <20021222142731.U61142-100000@ury.york.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <20021222142731.U61142-100000@ury.york.ac.uk> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 22, 2002 at 02:39:51PM +0000, Gavin Atkinson wrote: >=20 > I have an Ultra 5, with a 270MHz processor. Does this look right (during a > buildworld)? Yes. > last pid: 14178; load averages: 1.96, 1.82, 1.82 up 0+01:37:27 14= :28:22 > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND > 419 root 108 0 6848K 720K RUN 29:28 27.34% 27.34% top > 14177 root 113 0 7824K 5952K RUN 0:01 49.20% 4.69% cc1 > 14178 root -8 0 1424K 768K piperd 0:00 1.03% 0.10% as >=20 > Note the massively high 'system' load, and the fact top uses around 25-30% > of the CPU power. I am running a GENERIC kerenl built 12th Dec, but have > always seen high 'system' percentages. >=20 > Gavin 1.96 is not "massively high", it indicates that two processes are waiting to run (as expected in this situation). As for top, you'd expect it to measure its own CPU usage during the period in which it is sampling, since it is actually running during that time. It doesn't mean that it's using a constant 27% of your CPU. Kris --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+Bee5Wry0BWjoQKURAoBqAKCAvSLQYePWpdkN+m+h8SFRnppSeQCg/Yei CFb6mYqIWu8E3KvXlNCdV/8= =ZffK -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 8:35:47 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 628E437B401 for ; Sun, 22 Dec 2002 08:35:46 -0800 (PST) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41EBF43ED8 for ; Sun, 22 Dec 2002 08:35:45 -0800 (PST) (envelope-from gavin@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id gBMGZBv20490; Sun, 22 Dec 2002 16:35:11 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.6/8.12.6) with ESMTP id gBMGZBTI076314; Sun, 22 Dec 2002 16:35:11 GMT (envelope-from gavin@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.6/8.12.6/Submit) with ESMTP id gBMGZBpC076311; Sun, 22 Dec 2002 16:35:11 GMT Date: Sun, 22 Dec 2002 16:35:11 +0000 (GMT) From: Gavin Atkinson To: Kris Kennaway Cc: sparc@FreeBSD.ORG Subject: Re: High 'system' load In-Reply-To: <20021222162635.GA19974@rot13.obsecurity.org> Message-ID: <20021222163055.S61142-100000@ury.york.ac.uk> References: <20021222142731.U61142-100000@ury.york.ac.uk> <20021222162635.GA19974@rot13.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 22 Dec 2002, Kris Kennaway wrote: > 1.96 is not "massively high", it indicates that two processes are > waiting to run (as expected in this situation). You actually snipped the line I was querying. I was not talking about the load averages, but the actual percentage of load which is credited to 'system': CPU states: 22.0% user, 0.0% nice, 55.1% system, 0.9% interrupt, 22.0% idle This does seem excessively high to me. > As for top, you'd expect it to measure its own CPU usage during the > period in which it is sampling, since it is actually running during that > time. It doesn't mean that it's using a constant 27% of your CPU. I understand that, but even on my P75 -current pentium system, top only accounts for 5% cpu load while running the same test. Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 8:42:31 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59DD937B401 for ; Sun, 22 Dec 2002 08:42:30 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-228.dsl.lsan03.pacbell.net [64.169.104.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id A499643ED8 for ; Sun, 22 Dec 2002 08:42:29 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id CEE0566BE3; Sun, 22 Dec 2002 08:42:28 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 9EA9E1341; Sun, 22 Dec 2002 08:42:28 -0800 (PST) Date: Sun, 22 Dec 2002 08:42:28 -0800 From: Kris Kennaway To: Gavin Atkinson Cc: Kris Kennaway , sparc@FreeBSD.ORG Subject: Re: High 'system' load Message-ID: <20021222164228.GA20101@rot13.obsecurity.org> References: <20021222142731.U61142-100000@ury.york.ac.uk> <20021222162635.GA19974@rot13.obsecurity.org> <20021222163055.S61142-100000@ury.york.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <20021222163055.S61142-100000@ury.york.ac.uk> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 22, 2002 at 04:35:11PM +0000, Gavin Atkinson wrote: > On Sun, 22 Dec 2002, Kris Kennaway wrote: >=20 > > 1.96 is not "massively high", it indicates that two processes are > > waiting to run (as expected in this situation). >=20 > You actually snipped the line I was querying. I was not talking about the > load averages, but the actual percentage of load which is credited to > 'system': Sorry, it wasn't clear to me to which you were referring. > CPU states: 22.0% user, 0.0% nice, 55.1% system, 0.9% interrupt, 22.0% = idle >=20 > This does seem excessively high to me. Again, it's only one sampling period (probably 1 second), but if you have debugging options like WITNESS enabled you will see higher system CPU usage. Kris --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+BetwWry0BWjoQKURAnLTAJ9MGBK3hi6Na/MAp/4lTBP9dLV/ugCgl2oo EYegWpu1tag5nxoVCiJx02k= =AA5n -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 23: 5:24 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EEB537B405 for ; Sun, 22 Dec 2002 23:05:23 -0800 (PST) Received: from marvin.bsdng.org (24-159-239-62.jvl.wi.charter.com [24.159.239.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9B3B43EDA for ; Sun, 22 Dec 2002 23:05:21 -0800 (PST) (envelope-from mkm@ieee.org) Received: from marvin.bsdng.org (localhost [127.0.0.1]) by marvin.bsdng.org (8.12.6/8.12.6) with ESMTP id gBN11LGI007007; Mon, 23 Dec 2002 01:01:22 GMT (envelope-from mkm@ieee.org) Date: Fri, 13 Dec 2002 20:07:12 +0000 From: Kyle Martin To: Steve Ames Cc: freebsd-sparc@freebsd.org Subject: Re: Updating src/ ? Message-ID: <20021213200712.GA22645@marvin.bsdng.org> References: <200212132032.gBDKWlCl026699@energistic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212132032.gBDKWlCl026699@energistic.com> User-Agent: Mutt/1.4i Lines: 12 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 13, 2002 at 03:32:47PM -0500, Steve Ames wrote: > > What's the preferred method for keeping my source tree current > for sparc64? AnonCVS? If so could someone give me an example of > using it? > You might want to read the handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html -- Kyle Martin , http://www.bsdng.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 23: 5:44 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EF3937B416 for ; Sun, 22 Dec 2002 23:05:42 -0800 (PST) Received: from marvin.bsdng.org (24-159-239-62.jvl.wi.charter.com [24.159.239.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8335843EE8 for ; Sun, 22 Dec 2002 23:05:41 -0800 (PST) (envelope-from mkm@ieee.org) Received: from marvin.bsdng.org (localhost [127.0.0.1]) by marvin.bsdng.org (8.12.6/8.12.6) with ESMTP id gBN11LGu007007; Mon, 23 Dec 2002 01:01:45 GMT (envelope-from mkm@ieee.org) Date: Wed, 6 Nov 2002 17:25:08 -0600 From: Kyle Martin To: Derek Marshall Cc: freebsd-sparc@freebsd.org Subject: Re: updated iso image? Message-ID: <20021106232508.GA85144@marvin.bsdng.org> References: <20021106180637.D492-100000@hub.cbc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021106180637.D492-100000@hub.cbc.ca> User-Agent: Mutt/1.4i Lines: 22 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, Nov 06, 2002 at 06:10:30PM -0500, Derek Marshall wrote: > Date: Wed, 6 Nov 2002 18:10:30 -0500 (EST) > From: Derek Marshall > To: freebsd-sparc@FreeBSD.ORG > Subject: updated iso image? > > Will you announce the availability of an updated snapshot image on this > list? > > Reading back on the list I found out too late that the iso I downloaded > was broken. > > It was fun enough just watching the installation work at all though! > > waiting-to-install-on-a-blade-ly yours, check again, the new one is up there, with a checksum file as well, it should be propogated to the mirrors as well, have fun! -- Kyle Martin mkm@ieee.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 23: 5:48 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 460F237B49B for ; Sun, 22 Dec 2002 23:05:44 -0800 (PST) Received: from marvin.bsdng.org (24-159-239-62.jvl.wi.charter.com [24.159.239.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8030443EE6 for ; Sun, 22 Dec 2002 23:05:42 -0800 (PST) (envelope-from mkm@ieee.org) Received: from marvin.bsdng.org (localhost [127.0.0.1]) by marvin.bsdng.org (8.12.6/8.12.6) with ESMTP id gBN11LGx007007; Mon, 23 Dec 2002 01:01:45 GMT (envelope-from mkm@ieee.org) Date: Tue, 5 Nov 2002 04:18:38 -0600 From: Kyle Martin To: Jake Burkholder Cc: freebsd-sparc@freebsd.org Subject: Re: 5.0-20021031-SNAP Message-ID: <20021105101838.GC6719@marvin.bsdng.org> References: <20021104232502.Q22677@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021104232502.Q22677@locore.ca> User-Agent: Mutt/1.4i Lines: 17 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Nov 04, 2002 at 11:25:02PM -0500, Jake Burkholder wrote: > > I got the miniinst.iso from a SNAP made with make release uploaded > to the ftp site. This is a full release as you would expect on other > platforms, including sysinstall etc etc. There are a few bugs in it > but it is good enough to install. > im probably screwing something up, but i get: Boot device: /pci@1f,0/pci@1,1/ide@3/cdrom@2,0:f File and args: The file just loaded does not appear to be executable. ok -- Kyle Martin mkm@ieee.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Dec 22 23:50:55 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01A4A37B401 for ; Sun, 22 Dec 2002 23:50:55 -0800 (PST) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AA7A43EE6 for ; Sun, 22 Dec 2002 23:50:53 -0800 (PST) (envelope-from bel@orel.ru) Received: from orel.ru (lg.orel.ru [195.90.189.89]) by tts.orel.ru (8.12.6/8.12.6/bel) with ESMTP id gBN7oo9N003833 for ; Mon, 23 Dec 2002 10:50:50 +0300 Message-ID: <3E06C05B.7060208@orel.ru> Date: Mon, 23 Dec 2002 10:50:51 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-sparc@freebsd.org Subject: Re: High 'system' load References: <20021222142731.U61142-100000@ury.york.ac.uk> <20021222162635.GA19974@rot13.obsecurity.org> <20021222163055.S61142-100000@ury.york.ac.uk> In-Reply-To: <20021222142731.U61142-100000@ury.york.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gavin Atkinson wrote: > You actually snipped the line I was querying. I was not talking about the > load averages, but the actual percentage of load which is credited to > 'system': > > CPU states: 22.0% user, 0.0% nice, 55.1% system, 0.9% interrupt, > 22.0% idle > > This does seem excessively high to me. You running top on ofwconsole? ofwconsole loading system very high on output. -- Andrew Belashov. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 0:57:28 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 493DF37B401 for ; Mon, 23 Dec 2002 00:57:28 -0800 (PST) Received: from mail.g.bonet.se (mail.gbg.bonet.se [212.181.52.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C972F43EDE for ; Mon, 23 Dec 2002 00:57:26 -0800 (PST) (envelope-from anders@bonet.se) Received: from as1-3-8.ml.g.bonet.se (as1-3-8.ml.g.bonet.se [217.215.159.112]) by mail.g.bonet.se (8.12.6/8.12.6) with ESMTP id gBN8rrmr076319 for ; Mon, 23 Dec 2002 09:53:53 +0100 (CET) (envelope-from anders@bonet.se) Received: by as1-3-8.ml.g.bonet.se (Postfix, from userid 1000) id 108832B; Mon, 23 Dec 2002 09:57:10 +0100 (CET) Date: Mon, 23 Dec 2002 09:57:09 +0100 From: Anders Andersson To: freebsd-sparc@freebsd.org Subject: xl NIC on sparc64? Message-ID: <20021223085709.GA52833@hellraiser.andersa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is xl or some other PCI NIC supported on sparc yet? I get some panics when I try to bring online a xl card on my Ultra10. Anders -- Anders Andersson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 2:49:18 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08EEF37B405 for ; Mon, 23 Dec 2002 02:49:17 -0800 (PST) Received: from mail.g.bonet.se (mail.gbg.bonet.se [212.181.52.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEFA543EDA for ; Mon, 23 Dec 2002 02:49:15 -0800 (PST) (envelope-from anders@bonet.se) Received: from as1-3-8.ml.g.bonet.se (as1-3-8.ml.g.bonet.se [217.215.159.112]) by mail.g.bonet.se (8.12.6/8.12.6) with ESMTP id gBNAjkmr080733; Mon, 23 Dec 2002 11:45:48 +0100 (CET) (envelope-from anders@bonet.se) Received: by as1-3-8.ml.g.bonet.se (Postfix, from userid 1000) id 2C0FF144; Mon, 23 Dec 2002 11:49:04 +0100 (CET) Date: Mon, 23 Dec 2002 11:49:03 +0100 From: Anders Andersson To: Anders Andersson Cc: freebsd-sparc@freebsd.org Subject: Re: xl NIC on sparc64? Message-ID: <20021223104903.GA53255@hellraiser.andersa.net> References: <20021223085709.GA52833@hellraiser.andersa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021223085709.GA52833@hellraiser.andersa.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Dec 23, 2002 at 09:57:09AM +0100, Anders Andersson wrote: > Is xl or some other PCI NIC supported on sparc yet? I get some panics > when I try to bring online a xl card on my Ultra10. I suspect that xl is not supported yet, although this is the panic: ultra10# ifconfig xl0 inet 192.168.1.5 panic: trap: fast instruction access mmu miss Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> trace panic() at panic+0xcc trap() at trap+0x3a8 -- fast instruction access mmu miss tar=0 %o7=0xc01667c0 -- -- Anders Andersson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 4:27: 7 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 629CB37B401 for ; Mon, 23 Dec 2002 04:27:06 -0800 (PST) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B66E43EDA for ; Mon, 23 Dec 2002 04:27:05 -0800 (PST) (envelope-from gavin@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id gBNCQov07656; Mon, 23 Dec 2002 12:26:50 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.6/8.12.6) with ESMTP id gBNCQoTI034593; Mon, 23 Dec 2002 12:26:50 GMT (envelope-from gavin@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.6/8.12.6/Submit) with ESMTP id gBNCQnT0034590; Mon, 23 Dec 2002 12:26:49 GMT Date: Mon, 23 Dec 2002 12:26:49 +0000 (GMT) From: Gavin Atkinson To: Andrew Belashov Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: High 'system' load In-Reply-To: <3E06C05B.7060208@orel.ru> Message-ID: <20021223122531.C34530-100000@ury.york.ac.uk> References: <20021222142731.U61142-100000@ury.york.ac.uk> <20021222162635.GA19974@rot13.obsecurity.org> <20021222163055.S61142-100000@ury.york.ac.uk> <3E06C05B.7060208@orel.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 23 Dec 2002, Andrew Belashov wrote: > Gavin Atkinson wrote: > > CPU states: 22.0% user, 0.0% nice, 55.1% system, 0.9% interrupt, > > 22.0% idle > > You running top on ofwconsole? > ofwconsole loading system very high on output. Yes I was - i'm trying to diagnose a hanging issue I am experiencing. Thanks for that! Maybe this should be mentioned somewhere? Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 4:44:22 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E516637B401 for ; Mon, 23 Dec 2002 04:44:20 -0800 (PST) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id E233143ED8 for ; Mon, 23 Dec 2002 04:44:19 -0800 (PST) (envelope-from gavin@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id gBNCiCv10661; Mon, 23 Dec 2002 12:44:12 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.6/8.12.6) with ESMTP id gBNCiCTI035882; Mon, 23 Dec 2002 12:44:12 GMT (envelope-from gavin@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.12.6/8.12.6/Submit) with ESMTP id gBNCiBtL035879; Mon, 23 Dec 2002 12:44:12 GMT Date: Mon, 23 Dec 2002 12:44:11 +0000 (GMT) From: Gavin Atkinson To: Jake Burkholder Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Hangs under load In-Reply-To: <20021222144007.N61142-100000@ury.york.ac.uk> Message-ID: <20021223122654.Q34530-100000@ury.york.ac.uk> References: <20021210184226.W66997-100000@ury.york.ac.uk> <20021210141635.A84047@locore.ca> <20021216190450.N33658-100000@ury.york.ac.uk> <20021219030745.A4242@locore.ca> <20021222144007.N61142-100000@ury.york.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 22 Dec 2002, Gavin Atkinson wrote: > Sorry for not replying sooner, with the buildworld running on local disks, > I still experience these lockups. I'm wondering if somehow the disk > controller is getting wedged? Indeed, this is what happens. I left my machine running "make world" overnight, with top running over the serial port, and came to find the machine had hung. The last message on the serial console was: ad0: READ command timeout tag=0 serv=0 - resetting ata2: resetting devices... And then it hung. Even processes that presumably do not access the disks once loaded (eg top) had hung hard. The box does still respond to pings, and prints "Power Failure Detected: Shutting down NOW." when the front power button is pressed. Could it be that it never recovers from the ata issue and then never returns to userland from the kernel? Extract from dmesg: atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 irq 32 at device 3.0 on pci2 ata2: at 0xc00000 on atapci0 ata3: at 0xc00010 on atapci0 ad0: 4103MB [8894/15/63] at ata2-master WDMA2 Where do I go from here? Gavin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 5:56:50 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6166F37B401 for ; Mon, 23 Dec 2002 05:56:49 -0800 (PST) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id A146543EE5 for ; Mon, 23 Dec 2002 05:56:47 -0800 (PST) (envelope-from bel@orel.ru) Received: from orel.ru (lg.orel.ru [195.90.189.89]) by tts.orel.ru (8.12.6/8.12.6/bel) with ESMTP id gBNDug9N003522 for ; Mon, 23 Dec 2002 16:56:43 +0300 Message-ID: <3E07161C.4050704@orel.ru> Date: Mon, 23 Dec 2002 16:56:44 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: freebsd-sparc@freebsd.org Subject: High 'system' load References: <20021222142731.U61142-100000@ury.york.ac.uk> <20021222162635.GA19974@rot13.obsecurity.org> <20021222163055.S61142-100000@ury.york.ac.uk> <3E06C05B.7060208@orel.ru> <20021223122531.C34530-100000@ury.york.ac.uk> In-Reply-To: <20021222142731.U61142-100000@ury.york.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gavin Atkinson wrote: > On Mon, 23 Dec 2002, Andrew Belashov wrote: > > >Gavin Atkinson wrote: > > > >>CPU states: 22.0% user, 0.0% nice, 55.1% system, 0.9% interrupt, > >>22.0% idle > > > >You running top on ofwconsole? > >ofwconsole loading system very high on output. > > > Yes I was - i'm trying to diagnose a hanging issue I am experiencing. > Thanks for that! Maybe this should be mentioned somewhere? OFW input/output functions implemented outside FreeBSD (in OpenBoot PROM). As result, a slow performance. -- Andrew Belashov. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 10:52:49 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D1F237B401 for ; Mon, 23 Dec 2002 10:52:49 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8433A43EDC for ; Mon, 23 Dec 2002 10:52:48 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gBNIqmdD012898; Mon, 23 Dec 2002 10:52:48 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gBNIpVYq012883; Mon, 23 Dec 2002 10:51:31 -0800 (PST) Date: Mon, 23 Dec 2002 10:51:31 -0800 From: "David O'Brien" To: Anders Andersson Cc: freebsd-sparc@freebsd.org Subject: Re: xl NIC on sparc64? Message-ID: <20021223185131.GC2417@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20021223085709.GA52833@hellraiser.andersa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021223085709.GA52833@hellraiser.andersa.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Dec 23, 2002 at 09:57:09AM +0100, Anders Andersson wrote: > Is xl or some other PCI NIC supported on sparc yet? There are patches to use rl(4). There are patches being worked on for xl(4) also. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Dec 23 12:27:51 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B17F437B401 for ; Mon, 23 Dec 2002 12:27:48 -0800 (PST) Received: from one.2531.org (w005.z064003115.lax-ca.dsl.cnc.net [64.3.115.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A4B143EF2 for ; Mon, 23 Dec 2002 12:27:43 -0800 (PST) (envelope-from mmca@2531.org) Received: from 2531.org (localhost.2531.org [127.0.0.1]) by one.2531.org (8.12.6/8.12.6) with ESMTP id gBNKTFJ8083008 for ; Mon, 23 Dec 2002 12:29:19 -0800 (PST) (envelope-from mmca@2531.org) Message-Id: <200212232029.gBNKTFJ8083008@one.2531.org> Date: Mon, 23 Dec 2002 12:29:15 -0800 (PST) From: mmca@2531.org Subject: libncurses/ GCC 3.2.1 To: sparc64@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have not been able to buildworld since the 20021222 gcc correction. -M ===> lib/libncurses sh /usr/src/lib/libncurses/../../contrib/ncurses/include/MKhashsize.sh /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps > hashsize.h AWK=awk sh /usr/src/lib/libncurses/../../contrib/ncurses/include/MKncurses_def.sh /usr/src/lib/libncurses/../../contrib/ncurses/include/ncurses_defs > ncurses_def.h sed curses.head -e "/@BROKEN_LINKER@/s%%0%" -e "/@HAVE_VSSCANF@/s%%1%" -e "/@NCURSES_CONST@/s%%const%" -e "/@NCURSES_MAJOR@/s%%5%" -e "/@NCURSES_MINOR@/s%%2%" -e "/@NCURSES_PATCH@/s%%20020615%" -e "/@NCURSES_CH_T@/s%%chtype%" -e "/@NCURSES_EXT_FUNCS@/s%%1%" -e "/@NCURSES_LIBUTF8@/s%%0%" -e "/@NCURSES_MBSTATE_T@/s%%0%" -e "s%@cf_cv_1UL@%1UL%g" -e "s%@cf_cv_builtin_bool@%1%g" -e "s%@cf_cv_cc_bool_type@%0%g" -e "s%@cf_cv_shift_limit@%32%g" -e "s%@cf_cv_header_stdbool_h@%1%g" -e "s%@cf_cv_type_of_bool@%unsigned char%g" -e "s%@cf_cv_typeof_chtype@%long%g" -e "s%@cf_cv_widec_shift@%8%g" -e "s/ _WCHAR_T/ __wchar_t/g" -e "s/ _WINT_T/ __wint_t/g" cat curses.head > curses.h.new AWK=awk _POSIX2_VERSION=199209 sh /usr/src/lib/libncurses/../../contrib/ncurses/include/MKkey_defs.sh /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps >> curses.h.new awk: division by zero source line number 36 awk: syntax error at source line 28 context is >>> maxkey=; <<< awk: illegal statement at source line 29 awk: syntax error at source line 28 context is >>> maxkey=; <<< awk: illegal statement at source line 29 awk: syntax error at source line 28 context is >>> maxkey=; <<< awk: illegal statement at source line 29 cat /usr/src/lib/libncurses/../../contrib/ncurses/include/curses.tail >> curses.h.new mv -f curses.h.new curses.h sed MKterm.h.awk -e "/@NCURSES_MAJOR@/s%%5%" -e "/@NCURSES_MINOR@/s%%2%" -e "/@NCURSES_CONST@/s%%const%" -e "/@NCURSES_XNAMES@/s%%1%" awk -f MKterm.h.awk /usr/src/lib/libncurses/../../contrib/ncurses/include/Caps > term.h.new sh /usr/src/lib/libncurses/../../contrib/ncurses/include/edit_cfg.sh /usr/src/lib/libncurses/ncurses_cfg.h term.h.new ** edit: HAVE_TCGETATTR 1 ** edit: HAVE_TERMIOS_H 1 ** edit: HAVE_TERMIO_H 0 ** edit: BROKEN_LINKER 0 mv -f term.h.new term.h sed termcap.h -e "/@NCURSES_MAJOR@/s%%5%" -e "/@NCURSES_MINOR@/s%%2%" -e "/@NCURSES_CONST@/s%%const%" -e "/@NCURSES_OSPEED@/s%%short%" sed unctrl.h -e "/@NCURSES_MAJOR@/s%%5%" -e "/@NCURSES_MINOR@/s%%2%" cc -o make_hash -O -pipe -I. -I/usr/src/lib/libncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses -I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS -DMAIN_PROGRAM /usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/comp_hash.c In file included from /usr/src/lib/libncurses/ncurses_cfg.h:142, from /usr/src/contrib/ncurses/ncurses/curses.priv.h:55, from /usr/src/contrib/ncurses/ncurses/tinfo/comp_hash.c:40: ncurses_def.h:8:9: no macro name given in #ifndef directive ncurses_def.h:36:33: warning: extra tokens at end of #ifndef directive ncurses_def.h:40:33: warning: extra tokens at end of #ifndef directive ncurses_def.h:400:25: warning: extra tokens at end of #ifndef directive ncurses_def.h:436:25: warning: extra tokens at end of #ifndef directive ncurses_def.h:440:25: warning: extra tokens at end of #ifndef directive ncurses_def.h:444:25: warning: extra tokens at end of #ifndef directive In file included from /usr/src/contrib/ncurses/ncurses/tinfo/comp_hash.c:40: /usr/src/contrib/ncurses/ncurses/curses.priv.h:182:1: warning: "USE_SCROLL_HINTS" redefined In file included from /usr/src/lib/libncurses/ncurses_cfg.h:142, from /usr/src/contrib/ncurses/ncurses/curses.priv.h:55, from /usr/src/contrib/ncurses/ncurses/tinfo/comp_hash.c:40: ncurses_def.h:501:1: warning: this is the location of the previous definition In file included from /usr/src/contrib/ncurses/ncurses/curses.priv.h:253, from /usr/src/contrib/ncurses/ncurses/tinfo/comp_hash.c:40: term.h:274:2: #endif without #if *** Error code 1 Stop in /usr/src/lib/libncurses. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 sol# uname -a FreeBSD sol.2531.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Sun Dec 22 12:09:24 PST 2002 mmca@sol.2531.org:/usr/obj/usr/src/sys/SOL sparc64 sol# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Dec 24 1:37: 1 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1ECF37B401 for ; Tue, 24 Dec 2002 01:36:59 -0800 (PST) Received: from citusc.usc.edu (citusc.usc.edu [128.125.38.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7211C43EDE for ; Tue, 24 Dec 2002 01:36:59 -0800 (PST) (envelope-from kris@citusc.usc.edu) Received: (from kris@localhost) by citusc.usc.edu (8.11.6/8.11.2) id gBO9axF12622 for sparc@FreeBSD.org; Tue, 24 Dec 2002 01:36:59 -0800 Date: Tue, 24 Dec 2002 01:36:59 -0800 From: Kris Kennaway To: sparc@FreeBSD.org Subject: New packages uploaded Message-ID: <20021224013659.A12600@citusc.usc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The sparc64 package build has finally finished, with 4362 packages built. I have uploaded the new packages to ftp-master, and they should propagate out to the mirror sites shortly. As I stated earlier, the lack of libc_r is causing most of the failures. This package build took over 3 weeks (most of the packages were built on my ultra 30 - actually I started the build on November 11, but there were some interruptions and it did not run continuously), although since I now have 3 machines in the freebsd.org package cluster future builds should be substantially faster :-) Kris --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+CCq6Wry0BWjoQKURAofcAJ9PU4cOnQ8IgLYejujn25zN3oMO+wCeOvCj gvZN4WDBBp1e6H7YJwl6YL8= =jM9F -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Dec 24 5:19:10 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30D4B37B401; Tue, 24 Dec 2002 05:19:10 -0800 (PST) Received: from mail.g.bonet.se (mail.gbg.bonet.se [212.181.52.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB5A943EEC; Tue, 24 Dec 2002 05:19:08 -0800 (PST) (envelope-from anders@bonet.se) Received: from as1-3-8.ml.g.bonet.se (as1-3-8.ml.g.bonet.se [217.215.159.112]) by mail.g.bonet.se (8.12.6/8.12.6) with ESMTP id gBODFQmr012284; Tue, 24 Dec 2002 14:15:27 +0100 (CET) (envelope-from anders@bonet.se) Received: by as1-3-8.ml.g.bonet.se (Postfix, from userid 1000) id 39591CD; Tue, 24 Dec 2002 14:18:50 +0100 (CET) Date: Tue, 24 Dec 2002 14:18:50 +0100 From: Anders Andersson To: "David O'Brien" Cc: freebsd-sparc@freebsd.org Subject: Re: xl NIC on sparc64? Message-ID: <20021224131850.GA501@hellraiser.andersa.net> References: <20021223085709.GA52833@hellraiser.andersa.net> <20021223185131.GC2417@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021223185131.GC2417@dragon.nuxi.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Dec 23, 2002 at 10:51:31AM -0800, David O'Brien wrote: > There are patches to use rl(4). There are patches being worked on for > xl(4) also. URL for the rl(4) patches, or are they in some p4 space? -- Anders Andersson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Dec 24 19:58:59 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30D7737B401 for ; Tue, 24 Dec 2002 19:58:59 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0B4F43EC5 for ; Tue, 24 Dec 2002 19:58:58 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gBP3wvdD059259; Tue, 24 Dec 2002 19:58:57 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gBP3veeM059255; Tue, 24 Dec 2002 19:57:40 -0800 (PST) Date: Tue, 24 Dec 2002 19:57:40 -0800 From: "David O'Brien" To: Anders Andersson Cc: freebsd-sparc@freebsd.org Subject: Re: xl NIC on sparc64? Message-ID: <20021225035740.GC17618@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20021223085709.GA52833@hellraiser.andersa.net> <20021223185131.GC2417@dragon.nuxi.com> <20021224131850.GA501@hellraiser.andersa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021224131850.GA501@hellraiser.andersa.net> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Dec 24, 2002 at 02:18:50PM +0100, Anders Andersson wrote: > On Mon, Dec 23, 2002 at 10:51:31AM -0800, David O'Brien wrote: > > There are patches to use rl(4). There are patches being worked on for > > xl(4) also. > > URL for the rl(4) patches, or are they in some p4 space? Jake posted them to the sparc64 mailing list about 3 weeks ago. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Dec 25 20: 9:36 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6E5337B401 for ; Wed, 25 Dec 2002 20:09:35 -0800 (PST) Received: from brainlink.com (mail.brainlink.com [66.228.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F59243EA9 for ; Wed, 25 Dec 2002 20:09:35 -0800 (PST) (envelope-from anthonyv@brainlink.com) Received: from [24.189.7.159] (account anthonyv HELO brainlink.com) by brainlink.com (CommuniGate Pro SMTP 3.5.3) with ESMTP id 17618378 for sparc@freebsd.org; Wed, 25 Dec 2002 23:09:24 -0500 Message-ID: <3E0A80F4.3010608@brainlink.com> Date: Wed, 25 Dec 2002 23:09:24 -0500 From: Anthony Volodkin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021224 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sparc@freebsd.org Subject: fas driver Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, If anyone is interested in porting the OpenBSD driver or writing the fas driver for FreeBSD, I have a netbooted ultra2 available for this task. The machine's was built around Thanksgiving, but I can make world again if necessary. Cheers, Anthony Volodkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Dec 26 8: 3:37 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEF3237B401 for ; Thu, 26 Dec 2002 08:03:35 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 594AE43EC2 for ; Thu, 26 Dec 2002 08:03:35 -0800 (PST) (envelope-from bzeeb+freebsdports@zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 482FD1FFF3A for ; Thu, 26 Dec 2002 17:03:34 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 740FB1FFF3C; Thu, 26 Dec 2002 17:03:33 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 38DE21533F; Thu, 26 Dec 2002 16:01:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 2F26515338 for ; Thu, 26 Dec 2002 16:01:23 +0000 (UTC) Date: Thu, 26 Dec 2002 16:01:23 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: sparc@FreeBSD.org Subject: port fix test request Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I maintain the port textproc/xerces-c2 that currently does not build on sparc64 and I would like to ask if anybody can test the attached fix before I will submit it. It creates two new files. Source is about 6.8MB and it need gnake and libiconv as dependencies. It would be enough to run make; no need for make install or make package. I assume that `uname -m` returns sparc64 ? Else please rename Makefile.sparc64 to Makefile.`uanme -m` . Thanks in advance -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/ --- 8< 8< 8< --- diff -urN xerces-c2.orig/Makefile.sparc64 xerces-c2/Makefile.sparc64 --- xerces-c2.orig/Makefile.sparc64 Thu Jan 1 00:00:00 1970 +++ xerces-c2/Makefile.sparc64 Thu Dec 26 15:28:31 2002 @@ -0,0 +1,11 @@ +# Date created: 26 December 2002 +# Whom: "Bjoern A. Zeeb" (bzeeb+freebsdports@zabbadoz.net) +# +# $FreeBSD$ +# +# When there are no probs with libc_r / pthreads on sparc64-freebsd we +# should remove this files or make it conditional on OSVERSION +# + +NO_THREADS= yes + diff -urN xerces-c2.orig/files/patch-aa xerces-c2/files/patch-aa --- xerces-c2.orig/files/patch-aa Thu Jan 1 00:00:00 1970 +++ xerces-c2/files/patch-aa Wed Dec 25 20:06:21 2002 @@ -0,0 +1,11 @@ +--- ./src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp.orig Wed Dec 25 19:52:38 2002 ++++ ./src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp Wed Dec 25 19:52:45 2002 +@@ -1091,7 +1091,7 @@ + // perform conversion + wLent *= uChSize(); + char *ptr = retVal; +- size_t rc = iconvTo(wideCharBuf, &wLent, &ptr, neededLen); ++ size_t rc = iconvTo(wideCharBuf, (size_t *)&wLent, &ptr, neededLen); + if (rc == (size_t)-1) { + if (wBufPtr) + delete [] wBufPtr; --- 8< 8< 8< --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Dec 26 10:43:26 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8095037B401 for ; Thu, 26 Dec 2002 10:43:24 -0800 (PST) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E0D843EE6 for ; Thu, 26 Dec 2002 10:43:23 -0800 (PST) (envelope-from mbsd@pacbell.net) Received: from atlas ([64.166.23.138]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 HotFix 1.6 (built Oct 18 2002)) with ESMTP id <0H7Q0081SPCAH3@mta6.snfc21.pbi.net> for sparc@FreeBSD.org; Thu, 26 Dec 2002 10:43:22 -0800 (PST) Date: Thu, 26 Dec 2002 10:43:22 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= Subject: Re: port fix test request In-reply-to: X-X-Sender: mikko@atlas.home To: "Bjoern A. Zeeb" Cc: sparc@FreeBSD.org Message-id: <20021226103324.E2299-100000@atlas.home> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 26 Dec 2002, Bjoern A. Zeeb wrote: > Hi, > > I maintain the port textproc/xerces-c2 that currently does not build on > sparc64 and I would like to ask if anybody can test the attached fix > before I will submit it. It creates two new files. > > Source is about 6.8MB and it need gnake and libiconv as dependencies. > > It would be enough to run make; no need for make install or make package. > > I assume that `uname -m` returns sparc64 ? Else please rename > Makefile.sparc64 to Makefile.`uanme -m` . Yes, it does. > Thanks in advance > > -- > Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT > 56 69 73 69 74 http://www.zabbadoz.net/ > > --- 8< 8< 8< --- > diff -urN xerces-c2.orig/Makefile.sparc64 xerces-c2/Makefile.sparc64 > --- xerces-c2.orig/Makefile.sparc64 Thu Jan 1 00:00:00 1970 > +++ xerces-c2/Makefile.sparc64 Thu Dec 26 15:28:31 2002 > @@ -0,0 +1,11 @@ > +# Date created: 26 December 2002 > +# Whom: "Bjoern A. Zeeb" (bzeeb+freebsdports@zabbadoz.net) > +# > +# $FreeBSD$ > +# > +# When there are no probs with libc_r / pthreads on sparc64-freebsd we > +# should remove this files or make it conditional on OSVERSION > +# > + > +NO_THREADS= yes > + > diff -urN xerces-c2.orig/files/patch-aa xerces-c2/files/patch-aa > --- xerces-c2.orig/files/patch-aa Thu Jan 1 00:00:00 1970 > +++ xerces-c2/files/patch-aa Wed Dec 25 20:06:21 2002 > @@ -0,0 +1,11 @@ > +--- ./src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp.orig Wed Dec 25 19:52:38 2002 > ++++ ./src/xercesc/util/Transcoders/IconvFBSD/IconvFBSDTransService.cpp Wed Dec 25 19:52:45 2002 > +@@ -1091,7 +1091,7 @@ > + // perform conversion > + wLent *= uChSize(); > + char *ptr = retVal; > +- size_t rc = iconvTo(wideCharBuf, &wLent, &ptr, neededLen); > ++ size_t rc = iconvTo(wideCharBuf, (size_t *)&wLent, &ptr, neededLen); This isn't right (if I'm reading the source correctly, where "wLent" is an unsigned int, not a size_t; 32-bits vs 64-bits on sparc64, which is big-endian, so it won't even work by mistake ;-). You need to give iconvTo() the address of a genuine size_t, if that is what it wants; i.e. either make wLent a size_t or use a temporary variable. Or something. > + if (rc == (size_t)-1) { > + if (wBufPtr) > + delete [] wBufPtr; > --- 8< 8< 8< --- > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > $.02, /Mikko To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Dec 26 11:42:51 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E25BA37B401 for ; Thu, 26 Dec 2002 11:42:49 -0800 (PST) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84D6643ED8 for ; Thu, 26 Dec 2002 11:42:45 -0800 (PST) (envelope-from bzeeb+freebsdports@zabbadoz.net) Received: from localhost (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 932701FFF4A; Thu, 26 Dec 2002 20:42:21 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id B748D1FFF3F; Thu, 26 Dec 2002 20:42:20 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 216D41532D; Thu, 26 Dec 2002 19:40:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1851F15298; Thu, 26 Dec 2002 19:40:06 +0000 (UTC) Date: Thu, 26 Dec 2002 19:40:06 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= Cc: sparc@FreeBSD.org Subject: Re: port fix test request In-Reply-To: <20021226103324.E2299-100000@atlas.home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Virus-Scanned: by AMaViS snapshot-20020300 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 26 Dec 2002, Mikko Ty=F6l=E4j=E4rvi wrote: > > Makefile.sparc64 to Makefile.`uanme -m` . > > Yes, it does. good. > > +-=09size_t=09rc =3D iconvTo(wideCharBuf, &wLent, &ptr, neededLen); > > ++=09size_t=09rc =3D iconvTo(wideCharBuf, (size_t *)&wLent, &ptr, neede= dLen); > > This isn't right (if I'm reading the source correctly, where "wLent" > is an unsigned int, not a size_t; 32-bits vs 64-bits on sparc64, which > is big-endian, so it won't even work by mistake ;-). > > You need to give iconvTo() the address of a genuine size_t, if that is > what it wants; i.e. either make wLent a size_t or use a temporary > variable. Or something. thanks. I will recheck this and make a correct patch as it also will not work on alpha then. size_t is an unsigned long on sparc ? nonetheless does it compile or does it still error out at make configure ? --=20 Bjoern A. Zeeb=09=09=09=09bzeeb at Zabbadoz dot NeT 56 69 73 69 74=09=09=09=09http://www.zabbadoz.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Dec 26 16:43:17 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3FE4F37B405 for ; Thu, 26 Dec 2002 16:43:16 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 778AC43EB2 for ; Thu, 26 Dec 2002 16:43:15 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id gBR0xAuP043282; Thu, 26 Dec 2002 19:59:10 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id gBR0x9SL043281; Thu, 26 Dec 2002 19:59:09 -0500 (EST) Date: Thu, 26 Dec 2002 19:59:09 -0500 From: Jake Burkholder To: Anthony Volodkin Cc: sparc@FreeBSD.ORG Subject: Re: fas driver Message-ID: <20021226195909.B35295@locore.ca> References: <3E0A80F4.3010608@brainlink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3E0A80F4.3010608@brainlink.com>; from anthonyv@brainlink.com on Wed, Dec 25, 2002 at 11:09:24PM -0500 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Wed, Dec 25, 2002 at 11:09:24PM -0500, Anthony Volodkin said words to the effect of; > Hi, > > If anyone is interested in porting the OpenBSD driver or writing the fas > driver for FreeBSD, I have a netbooted ultra2 available for this task. > The machine's was built around Thanksgiving, but I can make world again > if necessary. The ultra 2 has a zilog serial chip which uses the zs driver under openbsd. I recently got an ultra 2 and intended to start working on a driver for it in the next few days. The fas driver has already been ported, it works ok but there's still a few problems with it that I want to work out before turning it on by default. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Dec 26 16:50:48 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6A9637B401 for ; Thu, 26 Dec 2002 16:50:47 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B4DB43EC2 for ; Thu, 26 Dec 2002 16:50:47 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id gBR173uP043330; Thu, 26 Dec 2002 20:07:03 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id gBR17326043329; Thu, 26 Dec 2002 20:07:03 -0500 (EST) Date: Thu, 26 Dec 2002 20:07:02 -0500 From: Jake Burkholder To: Anthony Volodkin Cc: sparc@FreeBSD.ORG Subject: Re: fas driver Message-ID: <20021226200702.C35295@locore.ca> References: <3E0A80F4.3010608@brainlink.com> <20021226195909.B35295@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021226195909.B35295@locore.ca>; from jake@locore.ca on Thu, Dec 26, 2002 at 07:59:09PM -0500 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Thu, Dec 26, 2002 at 07:59:09PM -0500, Jake Burkholder said words to the effect of; > Apparently, On Wed, Dec 25, 2002 at 11:09:24PM -0500, > Anthony Volodkin said words to the effect of; > > > Hi, > > > > If anyone is interested in porting the OpenBSD driver or writing the fas > > driver for FreeBSD, I have a netbooted ultra2 available for this task. > > The machine's was built around Thanksgiving, but I can make world again > > if necessary. > > The ultra 2 has a zilog serial chip which uses the zs driver under openbsd. > I recently got an ultra 2 and intended to start working on a driver for it > in the next few days. > > The fas driver has already been ported, it works ok but there's still a few > problems with it that I want to work out before turning it on by default. Sorry, I'm smoking crack, just got back from christmas festivities. I was thinking of the sab serial driver, not fas. Scott Long is working on making the existing amd(4) driver work with the scsi controller in Ultra 1s and Ultra 2s, which avoids having to convert the fas driver to cam. Last I heard he's making progress, but not finished yet. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 2:20:20 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEAD437B401 for ; Fri, 27 Dec 2002 02:20:19 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A39843EE5 for ; Fri, 27 Dec 2002 02:20:18 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gBRAHvJ09043; Fri, 27 Dec 2002 11:17:57 +0100 (MET) Date: Fri, 27 Dec 2002 11:17:57 +0100 (CET) From: Harti Brandt To: Kris Kennaway Cc: sparc64@FreeBSD.ORG Subject: Re: ntp problems on sparc In-Reply-To: <20021220055954.GA7555@rot13.obsecurity.org> Message-ID: <20021227111703.L56345-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 19 Dec 2002, Kris Kennaway wrote: It seems, that ntpd and friends have problems using hostnames. When I use IP numbers they seem to work. harti KK>Has anyone else run into the following when trying to run ntpd on sparc? KK> KK>Dec 20 05:51:37 panther2 ntpd[416]: bind() fd 5, family 2, port 123, addr 216.136.204.96, in_classd=0 flags=1 fails: Can't assign requested address KK>Dec 20 05:51:41 panther2 ntpd[416]: sendto(216.136.204.18): Bad file descriptor KK>Dec 20 05:51:42 panther2 ntpd[416]: sendto(216.136.204.118): Bad file descriptor KK>Dec 20 05:51:44 panther2 ntpd[416]: sendto(216.136.204.21): Bad file descriptor KK>Dec 20 05:51:53 panther2 ntpd[416]: sendto(216.136.204.27): Bad file descriptor KK> KK>Kris KK> -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 3:53:26 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84DB237B401 for ; Fri, 27 Dec 2002 03:53:25 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 685C043EB2 for ; Fri, 27 Dec 2002 03:53:24 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gBRBrNJ16563 for ; Fri, 27 Dec 2002 12:53:23 +0100 (MET) Date: Fri, 27 Dec 2002 12:53:23 +0100 (CET) From: Harti Brandt To: sparc@freebsd.org Subject: busdma on sparc Message-ID: <20021227121312.I56345-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I have a problem with porting my driver for the Marconi HE ATM card to sparc: The driver may (dependend on its cofiguration) need to give a lot of mbufs and mbuf clusters to the card for its different receive queues. In the biggest configuration I tried on i386 I have around 2000 clusters and 4000 mbufs. In iommu.c each dmamap eats up 32k of virtual address space (16k because of the page size and 16k for alignment). This means, that each mbuf of lesser than 200 bytes eats 32k of virtual DMA address space. This makes it impossible to allocate enough buffers to the card for high performance applications. I was under the impression, that mbufs are already aligned to every possible alignment requirements, so wouldn't it be possible to reduce the 32k to 16k on request from the driver (perhaps via one of the BUS_DMA_BUS[1-4] flags? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 4:44:18 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 10CDA37B401 for ; Fri, 27 Dec 2002 04:44:18 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9F9F43EB2 for ; Fri, 27 Dec 2002 04:44:16 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gBRCi4J20036 for ; Fri, 27 Dec 2002 13:44:05 +0100 (MET) Date: Fri, 27 Dec 2002 13:44:04 +0100 (CET) From: Harti Brandt To: sparc@freebsd.org Subject: kldxref Message-ID: <20021227134156.I56345-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, is there any chance of fixing the kldxref problem? It seems to prevent loading of modules via dependencies which is needed to resolve inter-module symbol dependencies. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 8:41:52 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EEB837B401; Fri, 27 Dec 2002 08:41:51 -0800 (PST) Received: from tomts10-srv.bellnexxia.net (tomts10.bellnexxia.net [209.226.175.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id C951843EDC; Fri, 27 Dec 2002 08:41:44 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.73.32]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021227164144.PAOH8252.tomts10-srv.bellnexxia.net@bowie.private>; Fri, 27 Dec 2002 11:41:44 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id gBRGgIQa027750; Fri, 27 Dec 2002 16:42:18 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id gBRGgBB9027748; Fri, 27 Dec 2002 16:42:11 GMT Date: Fri, 27 Dec 2002 16:42:11 GMT From: Mike Barcroft Message-Id: <200212271642.gBRGgBB9027748@bowie.private> To: current@FreeBSD.org, sparc64@FreeBSD.org Subject: sparc64 tinderbox failure Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- >>> stage 4: populating /tinderbox/sparc64/obj/tinderbox/sparc64/src/sparc64/usr/include -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- >>> Kernel build for GENERIC started on Fri Dec 27 16:12:52 GMT 2002 -------------------------------------------------------------- ===> ipfilter /tinderbox/sparc64/src/sys/ufs/ffs/ffs_subr.c: In function `ffs_load_inode': /tinderbox/sparc64/src/sys/ufs/ffs/ffs_subr.c:114: argument `mtype' doesn't match prototype /tinderbox/sparc64/src/sys/ufs/ffs/ffs_extern.h:73: prototype declaration /tinderbox/sparc64/src/sys/ufs/ffs/ffs_subr.c:114: argument `fs' doesn't match prototype /tinderbox/sparc64/src/sys/ufs/ffs/ffs_extern.h:73: prototype declaration /tinderbox/sparc64/src/sys/ufs/ffs/ffs_subr.c:114: number of arguments doesn't match prototype /tinderbox/sparc64/src/sys/ufs/ffs/ffs_extern.h:73: prototype declaration *** Error code 1 Stop in /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC. *** Error code 1 Stop in /tinderbox/sparc64/src. *** Error code 1 Stop in /tinderbox/sparc64/src. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 10:19: 8 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 810DB37B401 for ; Fri, 27 Dec 2002 10:19:06 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 38A2743ED4 for ; Fri, 27 Dec 2002 10:19:05 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 26459 invoked by uid 0); 27 Dec 2002 18:18:58 -0000 Received: from p508e6d49.dip.t-dialin.net (HELO galatea.local) (80.142.109.73) by mail.gmx.net (mp009-rz3) with SMTP; 27 Dec 2002 18:18:58 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.10 #1) id 18Rz5B-0000hU-00; Fri, 27 Dec 2002 19:19:41 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id gBRIJZTl002691; Fri, 27 Dec 2002 19:19:35 +0100 (CET) Date: Fri, 27 Dec 2002 19:19:35 +0100 From: Thomas Moestl To: Harti Brandt Cc: sparc@freebsd.org Subject: Re: busdma on sparc Message-ID: <20021227181934.GA290@crow.dom2ip.de> Mail-Followup-To: Harti Brandt , sparc@freebsd.org References: <20021227121312.I56345-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021227121312.I56345-100000@beagle.fokus.gmd.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 2002/12/27 at 12:53:23 +0100, Harti Brandt wrote: > I have a problem with porting my driver for the Marconi HE ATM card to > sparc: > > The driver may (dependend on its cofiguration) need to give a lot of > mbufs and mbuf clusters to the card for its different receive queues. In > the biggest configuration I tried on i386 I have around 2000 clusters and > 4000 mbufs. Hmmm, so the application is to handle a lot of small packets arriving (or being sent) at high frequencies, right? What do you need the clusters for in this case? Such a high number of maps will also use up quite some kernel memory, both for the maps themselves and for resource management. I would suggest to hack up the mbuf allocator to make it possible to allocate contiguous arrays of mbufs (e.g. one page at a time, which would amount to 16 to 32 mbufs). This would cut the number of 4000 mbuf maps to 125 on sparc64. Of course, this would also require some more management on the driver's part, since mbufs that were handed up cannot be replaced immediately (which should however not be a problem from the latency point of view). There might also be a fragmentation problem, which could be partly worked around with another mh_flag to tell the allocator to put it back into a contiguous pool if possible. > In iommu.c each dmamap eats up 32k of virtual address space (16k > because of the page size and 16k for alignment). The page size is just 8kB. The alignment depends on your driver, the IOMMU code just enforces alignment on a page boundary (i.e. no additional alignment, since allocations are always on page boundaries). This means that just 16kB are reserved for small DMA maps. The additional 8kB are needed to handle cases where a buffer spans a page boundary. This may not happen with mbufs, but can of course occur in other situations. > This means, that each mbuf of lesser than 200 bytes eats 32k of > virtual DMA address space. This makes it impossible to allocate > enough buffers to the card for high performance applications. I was > under the impression, that mbufs are already aligned to every > possible alignment requirements, so wouldn't it be possible to > reduce the 32k to 16k on request from the driver (perhaps via one of > the BUS_DMA_BUS[1-4] flags? I do not think that using one of the flags would be a good idea, since it requires drivers to do MD things to an MI API. In any event the maximum number of pages with the current IOMMU TSB size is 4096, so this would not help you for the largest configuration. Increasing the TSB size to 64kB or 128kB might be another option for you. I am working on a revision of the IOMMU code right now, I'll look into a better way to get around this. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 10:36:41 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73EDA37B401 for ; Fri, 27 Dec 2002 10:36:40 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368C343EA9 for ; Fri, 27 Dec 2002 10:36:39 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id gBRIaKVU088119; Fri, 27 Dec 2002 10:36:20 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id gBRIZ3mh088100; Fri, 27 Dec 2002 10:35:03 -0800 (PST) Date: Fri, 27 Dec 2002 10:35:03 -0800 From: "David O'Brien" To: Harti Brandt Cc: Kris Kennaway , sparc64@FreeBSD.ORG Subject: Re: ntp problems on sparc Message-ID: <20021227183502.GA87950@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20021220055954.GA7555@rot13.obsecurity.org> <20021227111703.L56345-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021227111703.L56345-100000@beagle.fokus.gmd.de> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-RC Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Dec 27, 2002 at 11:17:57AM +0100, Harti Brandt wrote: > On Thu, 19 Dec 2002, Kris Kennaway wrote: > > It seems, that ntpd and friends have problems using hostnames. When I use > IP numbers they seem to work. I'm having no problems using ntpd on my blade100 using host names: # cat /etc/ntpd.conf server foo.nuxi.com # ntpdc -c sysinfo system peer: foo.nuxi.com system peer mode: client leap indicator: 00 stratum: 3 precision: -18 root distance: 0.04384 s root dispersion: 0.02451 s reference ID: [192.168.1.1] reference time: c1b71b97.5619fea6 Fri, Dec 27 2002 10:33:59.336 system flags: auth monitor ntp kernel stats jitter: 0.002502 s stability: 0.006 ppm broadcastdelay: 0.003998 s authdelay: 0.000000 s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 11:12:48 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB35537B401 for ; Fri, 27 Dec 2002 11:12:47 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CED443E4A for ; Fri, 27 Dec 2002 11:12:46 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id gBRJT6uP046657; Fri, 27 Dec 2002 14:29:06 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id gBRJT6SR046656; Fri, 27 Dec 2002 14:29:06 -0500 (EST) Date: Fri, 27 Dec 2002 14:29:06 -0500 From: Jake Burkholder To: Harti Brandt Cc: sparc@FreeBSD.ORG Subject: Re: kldxref Message-ID: <20021227142906.D43538@locore.ca> References: <20021227134156.I56345-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021227134156.I56345-100000@beagle.fokus.gmd.de>; from brandt@fokus.gmd.de on Fri, Dec 27, 2002 at 01:44:04PM +0100 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Fri, Dec 27, 2002 at 01:44:04PM +0100, Harti Brandt said words to the effect of; > > Hi, > > is there any chance of fixing the kldxref problem? It seems to prevent > loading of modules via dependencies which is needed to resolve > inter-module symbol dependencies. > What's breaking kldxref is that it reads in kld object files and tries to read initialized variables from the data section before the files have been relocated. This only happens to work on other platforms, its not part of the elf spec and not guaranteed to work at all. The way to fix it is that everywhere that reads in a kld and accesses the module metadata data structures has to process the relocations first, so that the variables get their values poked in. This is not especially hard to fix, its just not high on my list of fun things to do. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Dec 27 16:16:41 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5FC137B401 for ; Fri, 27 Dec 2002 16:16:40 -0800 (PST) Received: from web41304.mail.yahoo.com (web41304.mail.yahoo.com [66.218.93.53]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B1A843E4A for ; Fri, 27 Dec 2002 16:16:40 -0800 (PST) (envelope-from baby_p_nut@yahoo.com) Message-ID: <20021228001640.51434.qmail@web41304.mail.yahoo.com> Received: from [198.80.171.28] by web41304.mail.yahoo.com via HTTP; Fri, 27 Dec 2002 16:16:40 PST Date: Fri, 27 Dec 2002 16:16:40 -0800 (PST) From: Baby Peanut Subject: Re: ntp problems on sparc To: sparc64@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Is you nsswitch.conf set up correctly? # cat /etc/nsswitch.conf hosts: files dns >Has anyone else run into the following when trying to run ntpd on sparc? > >Dec 20 05:51:37 panther2 ntpd[416]: bind() fd 5, family 2, port 123, addr 216.136.204.96, in_classd=0 flags=1 fails: Can't assign requested address >Dec 20 05:51:41 panther2 ntpd[416]: sendto(216.136.204.18): Bad file descriptor >Dec 20 05:51:42 panther2 ntpd[416]: sendto(216.136.204.118): Bad file descriptor >Dec 20 05:51:44 panther2 ntpd[416]: sendto(216.136.204.21): Bad file descriptor >Dec 20 05:51:53 panther2 ntpd[416]: sendto(216.136.204.27): Bad file descriptor > >Kris > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Dec 28 8:51:50 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A06737B401; Sat, 28 Dec 2002 08:51:49 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E4D343EB2; Sat, 28 Dec 2002 08:51:47 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gBSGpcJ27557; Sat, 28 Dec 2002 17:51:38 +0100 (MET) Date: Sat, 28 Dec 2002 17:51:38 +0100 (CET) From: Harti Brandt To: "David O'Brien" Cc: Harti Brandt , Kris Kennaway , Subject: Re: ntp problems on sparc In-Reply-To: <20021227183502.GA87950@dragon.nuxi.com> Message-ID: <20021228175025.B63772-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 27 Dec 2002, David O'Brien wrote: DO>On Fri, Dec 27, 2002 at 11:17:57AM +0100, Harti Brandt wrote: DO>> On Thu, 19 Dec 2002, Kris Kennaway wrote: DO>> DO>> It seems, that ntpd and friends have problems using hostnames. When I use DO>> IP numbers they seem to work. DO> DO>I'm having no problems using ntpd on my blade100 using host names: DO> DO># cat /etc/ntpd.conf DO>server foo.nuxi.com DO> DO># ntpdc -c sysinfo DO>system peer: foo.nuxi.com DO>system peer mode: client DO>leap indicator: 00 DO>stratum: 3 DO>precision: -18 DO>root distance: 0.04384 s DO>root dispersion: 0.02451 s DO>reference ID: [192.168.1.1] DO>reference time: c1b71b97.5619fea6 Fri, Dec 27 2002 10:33:59.336 DO>system flags: auth monitor ntp kernel stats DO>jitter: 0.002502 s DO>stability: 0.006 ppm DO>broadcastdelay: 0.003998 s DO>authdelay: 0.000000 s Well than something has changed. All IP addresses were 0.0.0.0 with hostnames around a month ago and I got exactly the error in the previous mail. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Dec 28 8:54:43 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC5D737B401 for ; Sat, 28 Dec 2002 08:54:41 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E41B643E4A for ; Sat, 28 Dec 2002 08:54:40 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id gBSGsRJ27638; Sat, 28 Dec 2002 17:54:28 +0100 (MET) Date: Sat, 28 Dec 2002 17:54:27 +0100 (CET) From: Harti Brandt To: Jake Burkholder Cc: sparc@FreeBSD.ORG Subject: Re: kldxref In-Reply-To: <20021227142906.D43538@locore.ca> Message-ID: <20021228175150.F63772-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 27 Dec 2002, Jake Burkholder wrote: JB>Apparently, On Fri, Dec 27, 2002 at 01:44:04PM +0100, JB> Harti Brandt said words to the effect of; JB> JB>> JB>> Hi, JB>> JB>> is there any chance of fixing the kldxref problem? It seems to prevent JB>> loading of modules via dependencies which is needed to resolve JB>> inter-module symbol dependencies. JB>> JB> JB>What's breaking kldxref is that it reads in kld object files and tries JB>to read initialized variables from the data section before the files JB>have been relocated. This only happens to work on other platforms, its JB>not part of the elf spec and not guaranteed to work at all. The way to JB>fix it is that everywhere that reads in a kld and accesses the module JB>metadata data structures has to process the relocations first, so that JB>the variables get their values poked in. This is not especially hard JB>to fix, its just not high on my list of fun things to do. If you give me a hint what to do and where to look, I try to fix it, because at the moment kldload does not work for the more interesting cases (ethernet drivers that need mii and netgraph) and I need this because I'm trying to get NgATM running on sparc. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Dec 28 9:12: 5 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8831337B401 for ; Sat, 28 Dec 2002 09:12:04 -0800 (PST) Received: from citusc.usc.edu (citusc.usc.edu [128.125.38.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25CBF43ED1 for ; Sat, 28 Dec 2002 09:12:04 -0800 (PST) (envelope-from kris@citusc.usc.edu) Received: (from kris@localhost) by citusc.usc.edu (8.11.6/8.11.2) id gBSHBvJ09605; Sat, 28 Dec 2002 09:11:57 -0800 Date: Sat, 28 Dec 2002 09:11:57 -0800 From: Kris Kennaway To: Harti Brandt Cc: Jake Burkholder , sparc@FreeBSD.ORG Subject: Re: kldxref Message-ID: <20021228091157.A9594@citusc.usc.edu> References: <20021227142906.D43538@locore.ca> <20021228175150.F63772-100000@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021228175150.F63772-100000@beagle.fokus.gmd.de>; from brandt@fokus.gmd.de on Sat, Dec 28, 2002 at 05:54:27PM +0100 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Dec 28, 2002 at 05:54:27PM +0100, Harti Brandt wrote: > If you give me a hint what to do and where to look, I try to fix it, > because at the moment kldload does not work for the more interesting cases > (ethernet drivers that need mii and netgraph) and I need this because I'm > trying to get NgATM running on sparc. Not that I want to dissuade you from fixing kldxref, but you can just kldload the modules by hand, or compile them statically into your kernel. Kris --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+DdtcWry0BWjoQKURAsETAJwK/DyxHGoMuzsq3ieVFzo7ZyeAvACfZRC9 1/fJztnvoEr8JpoMmj7Va+4= =ZH9p -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Dec 28 16:32: 2 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C897B37B401 for ; Sat, 28 Dec 2002 16:32:01 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43FA343ED4 for ; Sat, 28 Dec 2002 16:32:01 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id gBT0mtuP053389 for ; Sat, 28 Dec 2002 19:48:55 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id gBT0mtGr053388 for freebsd-sparc@freebsd.org; Sat, 28 Dec 2002 19:48:55 -0500 (EST) Date: Sat, 28 Dec 2002 19:48:55 -0500 From: Jake Burkholder To: freebsd-sparc@freebsd.org Subject: HEADS UP [jake@FreeBSD.org: cvs commit: src/sys/sparc64/sparc64 exception.S interrupt.S mp_exception.S] Message-ID: <20021228194855.G43538@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org If you are updating from -current before Nov. 6th please be sure to use make buildkernel after buildworld so that the new assembler is used to build the kernel. These mnemonics are not recognized by gcc from before that date. Jake ----- Forwarded message from Jake Burkholder ----- jake 2002/12/28 16:23:48 PST Modified files: sys/sparc64/sparc64 exception.S interrupt.S mp_exception.S Log: Use the meaningful mnemonics for ancillary state registers now that gas is invoked properly to understand them. %asr19 -> %gsr %asr20 -> %set_softint %asr21 -> %clear_softint Revision Changes Path 1.57 +5 -6 src/sys/sparc64/sparc64/exception.S 1.3 +1 -1 src/sys/sparc64/sparc64/interrupt.S 1.8 +1 -1 src/sys/sparc64/sparc64/mp_exception.S ----- End forwarded message ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message