From owner-freebsd-sparc Sun Jan 5 0:59:14 2003 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 54D0437B401 for ; Sun, 5 Jan 2003 00:59:13 -0800 (PST) Received: from citusc.usc.edu (citusc.usc.edu [128.125.38.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id D43B443EA9 for ; Sun, 5 Jan 2003 00:59:12 -0800 (PST) (envelope-from kris@citusc.usc.edu) Received: (from kris@localhost) by citusc.usc.edu (8.11.6/8.11.2) id h058xAt07875; Sun, 5 Jan 2003 00:59:10 -0800 Date: Sun, 5 Jan 2003 00:59:09 -0800 From: Kris Kennaway To: Bri Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Kdump fails to build from lastest sources Message-ID: <20030105005909.A7870@citusc.usc.edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from brian@ukip.com on Sat, Jan 04, 2003 at 11:23:26AM -0000 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 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This is the usual error when you try to be clever and rebuild sources by some other way than doing a 'buildworld', and a header interface has changed. Kris --KsGdsel6WgEHnImy 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+F/PdWry0BWjoQKURAhtkAKClazYGHYv4P0pAWHNh9YKiX8JqVACg6hi7 KCgItjOL+xxT8nvPKmoJDow= =ioZE -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 1: 0:17 2003 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 69F7437B407; Sun, 5 Jan 2003 01:00:16 -0800 (PST) Received: from citusc.usc.edu (citusc.usc.edu [128.125.38.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07A0843EC2; Sun, 5 Jan 2003 01:00:16 -0800 (PST) (envelope-from kris@citusc.usc.edu) Received: (from kris@localhost) by citusc.usc.edu (8.11.6/8.11.2) id h0590FT07893; Sun, 5 Jan 2003 01:00:15 -0800 Date: Sun, 5 Jan 2003 01:00:15 -0800 From: Kris Kennaway To: Thomas Moestl Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: (hopefully) working libc_r for sparc64 Message-ID: <20030105010015.B7870@citusc.usc.edu> References: <20030105023336.GD279@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030105023336.GD279@crow.dom2ip.de>; from tmm@FreeBSD.ORG on Sun, Jan 05, 2003 at 03:33:36AM +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 --ftEhullJWpWg/VHq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 05, 2003 at 03:33:36AM +0100, Thomas Moestl wrote: > Hi, >=20 > I think I got libc_r working, after rewriting longjmp() and friends so Awesome - I'll be happy to test this with package builds :-) Kris --ftEhullJWpWg/VHq 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+F/QeWry0BWjoQKURAkVTAJwI3G+wAvjQOGRIZbW3IF1lhrKX+ACeJIRR rxyOesbViCvNynLchyexWqw= =0Zsd -----END PGP SIGNATURE----- --ftEhullJWpWg/VHq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 6:19:13 2003 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 52F8C37B401 for ; Sun, 5 Jan 2003 06:19:12 -0800 (PST) Received: from libra.cs.put.poznan.pl (libra.cs.put.poznan.pl [150.254.30.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 845CB43EC2 for ; Sun, 5 Jan 2003 06:19:11 -0800 (PST) (envelope-from piotr.wozniak@cs.put.poznan.pl) Received: from libra.cs.put.poznan.pl (localhost [127.0.0.1]) by libra (Postfix on VMS) with SMTP id E9EBF547 for ; Sun, 5 Jan 2003 15:19:05 +0100 (CET) Received: from dcs-pw (dcs-pw.cs.put.poznan.pl [150.254.31.188]) by libra.cs.put.poznan.pl (Postfix on VMS) with ESMTP id 9E26868 for ; Sun, 5 Jan 2003 15:19:05 +0100 (CET) MIME-Version: 1.0 To: freebsd-sparc@freebsd.org Subject: Re: terminal types - 5.0-RC2 install References: <20030104172418.GD49923@dragon.nuxi.com> Message-ID: Content-Type: text/plain; charset=iso-8859-2; format=flowed From: =?iso-8859-2?B?UGlvdHIgV2+8bmlhaw==?= Organization: PUT Date: Sun, 05 Jan 2003 15:22:11 +0100 User-Agent: Opera M2 7.0 build 2349 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 Sat, 4 Jan 2003 09:24:18 -0800, David O'Brien wrote: > On Fri, Jan 03, 2003 at 01:59:56PM +0100, Piotr Wo?niak wrote: >> Hi, >> >> I'm installing FreeBSD on Ultra5.. >> What type of terminal (in the beginning of installation) should I choise not >> to get rubbish on the screen? > > I use the conserver port for my terminal emulator and a terminal type of > "vt100". > Hmm, how can I do it? In this stage of system installation getty processes do not work yet and I can't connect to the system Piotr -- Piotr Wo¼niak Instytut Informatyki PP ul.Piotrowo 3A, 60-965 Poznan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 7:54:41 2003 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 D61BC37B401 for ; Sun, 5 Jan 2003 07:54:40 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id B26D643EC5 for ; Sun, 5 Jan 2003 07:54:39 -0800 (PST) (envelope-from A.Wacknitz@gmx.de) Received: (qmail 24276 invoked by uid 0); 5 Jan 2003 15:54:37 -0000 Received: from pd9e7c627.dip0.t-ipconnect.de (HELO venus.wacknitzhome.de) (217.231.198.39) by mail.gmx.net (mp010-rz3) with SMTP; 5 Jan 2003 15:54:37 -0000 Content-Type: text/plain; charset="us-ascii" From: Andreas Wacknitz To: freebsd-sparc@FreeBSD.ORG Subject: 5.0 RC2 installation Date: Sun, 5 Jan 2003 16:54:21 +0100 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301051654.21740.A.Wacknitz@gmx.de> 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 problems with the installation on a Blade 100. None of the available terminal settings (ANSI, VT100, console color, console bw, and xterm) are useful. While ANSI gives the fewest garbage on screen, only a few keys work as expected (TAB and enter do their jobs, but none of the arrow keys and most of the shortcut keys (especially 's' for standard installation). Any help is appreciated. Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 10: 7:18 2003 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 4B1C237B41A; Sun, 5 Jan 2003 10:07:16 -0800 (PST) Received: from snickers.greenwood.net (snickers.greenwood.net [205.247.45.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F76843EE6; Sun, 5 Jan 2003 10:07:15 -0800 (PST) (envelope-from jamieclarcksong@yahoo.com) Received: from yahoo.co.uk (skor.greenwood.net [205.247.45.7]) by snickers.greenwood.net (8.12.5/8.12.5) with SMTP id h05GEJFk007335; Sun, 5 Jan 2003 13:11:14 -0500 Date: Sun, 5 Jan 2003 13:11:14 -0500 Message-Id: <200301051811.h05GEJFk007335@snickers.greenwood.net> From: jamieclarcksong@yahoo.com Reply-To: jamieclarcksong@yahoo.com To: jamieclarcksong@yahoo.com Subject: Examples of School Web Sites X-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (score=4, required 5, FORGED_YAHOO_RCVD, FROM_AND_TO_SAME_1, NO_REAL_NAME, SPAM_PHRASE_00_01) X-MailScanner-SpamScore: ssss 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 Found some other school web sites that we may want to compare ours too! http://bearcat.ubly.k12.mi.us/links/links.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 13:15:51 2003 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 C9F0D37B401; Sun, 5 Jan 2003 13:15:49 -0800 (PST) Received: from madlen.mts.ru (madlen.mts.ru [212.44.140.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6988143EA9; Sun, 5 Jan 2003 13:15:47 -0800 (PST) (envelope-from tiamat@komi.mts.ru) Received: from cache.inside.mts.ru ([192.168.10.3]) by madlen.mts.ru (8.10.2+Sun/8.11.6) with SMTP id h05LFdf19300; Mon, 6 Jan 2003 00:15:39 +0300 (MSK) Received: from stella.komi.mts.ru ([10.50.1.1]) by cache.inside.mts.ru (NAVGW 2.5.2.12) with SMTP id M2003010600153517964 ; Mon, 06 Jan 2003 00:15:37 +0300 Received: from ad ([10.50.1.29]) (user=tiamat mech=LOGIN bits=0) by stella.komi.mts.ru (MTS Komi/Smtp) with ESMTP id h05LFVeM048135; Mon, 6 Jan 2003 00:15:33 +0300 (MSK) (envelope-from tiamat@komi.mts.ru) Message-ID: <006e01c2b4ff$92da5ec0$1d01320a@ad> From: "Alex Deiter" To: "Thomas Moestl" Cc: References: <20030105023336.GD279@crow.dom2ip.de> Subject: Re: (hopefully) working libc_r for sparc64 Date: Mon, 6 Jan 2003 00:15:26 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 think I got libc_r working, after rewriting longjmp() and friends so > that they do not require the corresponding setjmp() to be done in an > ancestor function in the call graph any more, i.e. it can be used to > switch stacks now. This might also get other threading packages to > work, e.g. ruby's integrated thread manager. Thank you! I build ports/www/oops (caching proxy server, each request is served by a separate thread): # ldd /usr/local/sbin/oops /usr/local/sbin/oops: libgigabase_r.so.2 => /usr/local/lib/libgigabase_r.so.2 (0x40378000) libstdc++.so.4 => /usr/lib/libstdc++.so.4 (0x404e2000) libc_r.so.5 => /usr/lib/libc_r.so.5 (0x40682000) libpam.so.2 => /usr/lib/libpam.so.2 (0x407ae000) libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x408b8000) libc.so.5 => /usr/lib/libc.so.5 (0x409d4000) libm.so.2 => /usr/lib/libm.so.2 (0x40bd4000) It works wonderfull! I tested oops with Polygraph: # oopsctl stat Version : 1.5.22f1 Uptime : 1528sec, (0day(s), 0hour(s), 25min(s)) Clients : 17 (max: 53) HTTP requests: 143955 Total hits : 64725 Thread pool : 982 ready to serve (out of 1024 max) Curr.req.rate: 186.38 req/sec (max: 186.38) Tot.req.rate : 164.05 req/sec Curr.hit.rate: 44.96 % Tot.hit.rate : 46.81 % -- Alex Deiter, Mobile TeleSystems, Komi Republic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 13:18: 4 2003 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 66BF837B47D for ; Sun, 5 Jan 2003 13:18:00 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED85D43E4A for ; Sun, 5 Jan 2003 13:17:59 -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 h05LHx65020922; Sun, 5 Jan 2003 13:17:59 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id h05LGikU020904; Sun, 5 Jan 2003 13:16:44 -0800 (PST) Date: Sun, 5 Jan 2003 13:16:44 -0800 From: "David O'Brien" To: Andreas Wacknitz Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: 5.0 RC2 installation Message-ID: <20030105211644.GB8003@dragon.nuxi.com> Reply-To: freebsd-sparc@FreeBSD.ORG References: <200301051654.21740.A.Wacknitz@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301051654.21740.A.Wacknitz@gmx.de> 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 Sun, Jan 05, 2003 at 04:54:21PM +0100, Andreas Wacknitz wrote: > I have problems with the installation on a Blade 100. > None of the available terminal settings (ANSI, VT100, console color, console > bw, and xterm) are useful. You'll have to tell us more -- as the problems most likely don't exist with FreeBSD/sparc64, nor FreeBSD in general. But rather the terminal emulator you are running to provide a serial console to your blade100. So what terminal emulator are you running, and what are you running it under? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 13:42:57 2003 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 97A1837B401 for ; Sun, 5 Jan 2003 13:42:56 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BC5F43ED4 for ; Sun, 5 Jan 2003 13:42:55 -0800 (PST) (envelope-from A.Wacknitz@gmx.de) Received: (qmail 13371 invoked by uid 0); 5 Jan 2003 21:42:53 -0000 Received: from pd9e7c627.dip0.t-ipconnect.de (HELO venus.wacknitzhome.de) (217.231.198.39) by mail.gmx.net (mp008-rz3) with SMTP; 5 Jan 2003 21:42:53 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Andreas Wacknitz To: freebsd-sparc@FreeBSD.ORG, "David O'Brien" Subject: Re: 5.0 RC2 installation Date: Sun, 5 Jan 2003 22:42:35 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-sparc@FreeBSD.ORG References: <200301051654.21740.A.Wacknitz@gmx.de> <20030105211644.GB8003@dragon.nuxi.com> In-Reply-To: <20030105211644.GB8003@dragon.nuxi.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301052242.35727.A.Wacknitz@gmx.de> 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 Am Sonntag, 5. Januar 2003 22:16 schrieb David O'Brien: > On Sun, Jan 05, 2003 at 04:54:21PM +0100, Andreas Wacknitz wrote: > > I have problems with the installation on a Blade 100. > > None of the available terminal settings (ANSI, VT100, console color, > > console bw, and xterm) are useful. > > You'll have to tell us more -- as the problems most likely don't exist > with FreeBSD/sparc64, nor FreeBSD in general. But rather the terminal > emulator you are running to provide a serial console to your blade100. Sorry, that I was not clear enough. I have tried to install FreeBSD/sparc64 on a sole Blade 100 with no terminal connected. Just the onboard graphics card and its USB keyboard and mouse. For the moment I do not have a serial line on my Intel PC (a serial/USB converter is ordered but not yet available). > > So what terminal emulator are you running, and what are you running it > under? None, just the "onboard" console... Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 5 13:42:59 2003 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 9B86837B405 for ; Sun, 5 Jan 2003 13:42:56 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 0BAF643ED1 for ; Sun, 5 Jan 2003 13:42:55 -0800 (PST) (envelope-from A.Wacknitz@gmx.de) Received: (qmail 13371 invoked by uid 0); 5 Jan 2003 21:42:53 -0000 Received: from pd9e7c627.dip0.t-ipconnect.de (HELO venus.wacknitzhome.de) (217.231.198.39) by mail.gmx.net (mp008-rz3) with SMTP; 5 Jan 2003 21:42:53 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Andreas Wacknitz To: freebsd-sparc@FreeBSD.ORG, "David O'Brien" Subject: Re: 5.0 RC2 installation Date: Sun, 5 Jan 2003 22:42:35 +0100 User-Agent: KMail/1.4.3 Cc: freebsd-sparc@FreeBSD.ORG References: <200301051654.21740.A.Wacknitz@gmx.de> <20030105211644.GB8003@dragon.nuxi.com> In-Reply-To: <20030105211644.GB8003@dragon.nuxi.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301052242.35727.A.Wacknitz@gmx.de> 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 Am Sonntag, 5. Januar 2003 22:16 schrieb David O'Brien: > On Sun, Jan 05, 2003 at 04:54:21PM +0100, Andreas Wacknitz wrote: > > I have problems with the installation on a Blade 100. > > None of the available terminal settings (ANSI, VT100, console color, > > console bw, and xterm) are useful. > > You'll have to tell us more -- as the problems most likely don't exist > with FreeBSD/sparc64, nor FreeBSD in general. But rather the terminal > emulator you are running to provide a serial console to your blade100. Sorry, that I was not clear enough. I have tried to install FreeBSD/sparc64 on a sole Blade 100 with no terminal connected. Just the onboard graphics card and its USB keyboard and mouse. For the moment I do not have a serial line on my Intel PC (a serial/USB converter is ordered but not yet available). > > So what terminal emulator are you running, and what are you running it > under? None, just the "onboard" console... Andreas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 6 16:13:43 2003 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 E035837B401; Mon, 6 Jan 2003 16:13:42 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C63243EDC; Mon, 6 Jan 2003 16:13:41 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h070DaXL052446; Mon, 6 Jan 2003 16:13:36 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h070DaEw022604; Mon, 6 Jan 2003 16:13:36 -0800 (PST) (envelope-from jdp) Date: Mon, 6 Jan 2003 16:13:36 -0800 (PST) Message-Id: <200301070013.h070DaEw022604@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: tmm@freebsd.org Subject: Re: (hopefully) working libc_r for sparc64 In-Reply-To: <20030105023336.GD279@crow.dom2ip.de> References: <20030105023336.GD279@crow.dom2ip.de> Organization: Polstra & Co., Seattle, WA 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 In article <20030105023336.GD279@crow.dom2ip.de>, Thomas Moestl wrote: > > I think I got libc_r working, after rewriting longjmp() and friends so > that they do not require the corresponding setjmp() to be done in an > ancestor function in the call graph any more, i.e. it can be used to > switch stacks now. This might also get other threading packages to > work, e.g. ruby's integrated thread manager. How hard would it be to take this work and use it as a basis for implementing setcontext() and getcontext()? Those are the functions that the Modula-3 runtime wants to use for thread switching on the Sparc architecture. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 6 16:38:54 2003 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 AB61237B401 for ; Mon, 6 Jan 2003 16:38:53 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 7B7D543EC5 for ; Mon, 6 Jan 2003 16:38:52 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 1298 invoked by uid 0); 7 Jan 2003 00:38:51 -0000 Received: from p508e4c47.dip.t-dialin.net (HELO galatea.local) (80.142.76.71) by mail.gmx.net (mp006-rz3) with SMTP; 7 Jan 2003 00:38:51 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.10 #1) id 18Vhmo-0004dk-00; Tue, 07 Jan 2003 01:40:06 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h070e2uI017839; Tue, 7 Jan 2003 01:40:02 +0100 (CET) Date: Tue, 7 Jan 2003 01:40:02 +0100 From: Thomas Moestl To: John Polstra Cc: sparc@freebsd.org Subject: Re: (hopefully) working libc_r for sparc64 Message-ID: <20030107004002.GC286@crow.dom2ip.de> Mail-Followup-To: John Polstra , sparc@freebsd.org References: <20030105023336.GD279@crow.dom2ip.de> <200301070013.h070DaEw022604@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301070013.h070DaEw022604@vashon.polstra.com> 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 Mon, 2003/01/06 at 16:13:36 -0800, John Polstra wrote: > In article <20030105023336.GD279@crow.dom2ip.de>, > Thomas Moestl wrote: > > > > I think I got libc_r working, after rewriting longjmp() and friends so > > that they do not require the corresponding setjmp() to be done in an > > ancestor function in the call graph any more, i.e. it can be used to > > switch stacks now. This might also get other threading packages to > > work, e.g. ruby's integrated thread manager. > > How hard would it be to take this work and use it as a basis for > implementing setcontext() and getcontext()? Those are the functions > that the Modula-3 runtime wants to use for thread switching on the > Sparc architecture. I'm going to look into getting these functions done. Looks like they will also be required for libc_r soon. - 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 Mon Jan 6 21:25: 6 2003 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 E08E637B401; Mon, 6 Jan 2003 21:25:04 -0800 (PST) Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C4343EE1; Mon, 6 Jan 2003 21:24:58 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts7-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030107052458.VOSO8378.tomts7-srv.bellnexxia.net@bowie.private>; Tue, 7 Jan 2003 00:24:58 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h075PAvJ083396; Tue, 7 Jan 2003 05:25:10 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h075P90G083363; Tue, 7 Jan 2003 05:25:09 GMT Date: Tue, 7 Jan 2003 05:25:09 GMT From: Mike Barcroft Message-Id: <200301070525.h075P90G083363@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Tue Jan 7 04:15:50 GMT 2003 -------------------------------------------------------------- ===> ipfilter touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/ipfilter/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/ipfilter. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Tue Jan 7 5:44:56 2003 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 D63A537B401 for ; Tue, 7 Jan 2003 05:44:55 -0800 (PST) Received: from netlx010.civ.utwente.nl (netlx010.civ.utwente.nl [130.89.1.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E75943E4A for ; Tue, 7 Jan 2003 05:44:54 -0800 (PST) (envelope-from r.s.a.vandomburg@student.utwente.nl) Received: from wit377002 (wit377002.student.utwente.nl [130.89.165.107]) by netlx010.civ.utwente.nl (8.11.4/HKD) with SMTP id h07Diib12360 for ; Tue, 7 Jan 2003 14:44:44 +0100 From: "Roderick van Domburg" To: "FreeBSD-sparc@FreeBSD. ORG" Subject: vinum Date: Tue, 7 Jan 2003 14:44:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 Importance: Normal X-UTwente-MailScanner: Found to be clean 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 Hello, Why can't vinum be built (or used for that matter) on sparc64? I noticed that there wasn't any vinum module built during buildkernel, and it fails to build when included in the kernel itself. Is there any other way I can concatenate disk drives using software? Roderick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Jan 7 6:49: 3 2003 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 2078F37B401 for ; Tue, 7 Jan 2003 06:49:02 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D3D43EA9 for ; Tue, 7 Jan 2003 06:48:58 -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 h07EmqM04217; Tue, 7 Jan 2003 15:48:52 +0100 (MET) Date: Tue, 7 Jan 2003 15:48:52 +0100 (CET) From: Harti Brandt To: Roderick van Domburg Cc: "FreeBSD-sparc@FreeBSD. ORG" Subject: Re: vinum In-Reply-To: Message-ID: <20030107154721.E7730@beagle.fokus.gmd.de> References: 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 Tue, 7 Jan 2003, Roderick van Domburg wrote: RvD>Hello, RvD> RvD>Why can't vinum be built (or used for that matter) on sparc64? I noticed RvD>that there wasn't any vinum module built during buildkernel, and it fails to RvD>build when included in the kernel itself. RvD> RvD>Is there any other way I can concatenate disk drives using software? Add vinum to the correct place in modules/Makefile and build your kernel. It apears, that vinum works just fine (at least raid-0 and -1, I did not test others). You need to newfs each of the disks before trying them to use in vinum however. 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 Tue Jan 7 7: 4:42 2003 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 D18D237B401 for ; Tue, 7 Jan 2003 07:04:41 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id B114743E4A for ; Tue, 7 Jan 2003 07:04:40 -0800 (PST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id h07F4YQU074363 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 7 Jan 2003 16:04:38 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id h07F4XfQ048089 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 7 Jan 2003 16:04:34 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id h07F4W5W034211; Tue, 7 Jan 2003 16:04:32 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id h07F4W6I034210; Tue, 7 Jan 2003 16:04:32 +0100 (CET) Date: Tue, 7 Jan 2003 16:04:31 +0100 From: Bernd Walter To: Roderick van Domburg Cc: "FreeBSD-sparc@FreeBSD. ORG" Subject: Re: vinum Message-ID: <20030107150430.GC28476@cicely8.cicely.de> Reply-To: ticso@cicely.de References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 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 Tue, Jan 07, 2003 at 02:44:32PM +0100, Roderick van Domburg wrote: > Hello, > > Why can't vinum be built (or used for that matter) on sparc64? I noticed > that there wasn't any vinum module built during buildkernel, and it fails to > build when included in the kernel itself. cd /usr/src/sys/modules/vinum && make obj depend all install Vinum should - in theory - work out of the box on sparc64. Let us know if it works for you so it can be added in the build list for sparc64 too. Maybe it's time for moving vinum to the list for all platforms. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Jan 7 9:24:44 2003 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 E047B37B401; Tue, 7 Jan 2003 09:24:42 -0800 (PST) Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2C4743EB2; Tue, 7 Jan 2003 09:24:36 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030107172436.ICUK10918.tomts9-srv.bellnexxia.net@bowie.private>; Tue, 7 Jan 2003 12:24:36 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h07HPFvJ001643; Tue, 7 Jan 2003 17:25:16 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h07HPFxG001634; Tue, 7 Jan 2003 17:25:15 GMT Date: Tue, 7 Jan 2003 17:25:15 GMT From: Mike Barcroft Message-Id: <200301071725.h07HPFxG001634@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Tue Jan 7 16:18:02 GMT 2003 -------------------------------------------------------------- ===> unionfs touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/unionfs/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/unionfs. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Tue Jan 7 18:13:30 2003 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 E394F37B401; Tue, 7 Jan 2003 18:13:28 -0800 (PST) Received: from tomts23-srv.bellnexxia.net (tomts23.bellnexxia.net [209.226.175.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3D3943EB2; Tue, 7 Jan 2003 18:13:22 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts23-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030107232413.WQBU19158.tomts23-srv.bellnexxia.net@bowie.private>; Tue, 7 Jan 2003 18:24:13 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h07NP9vJ010572; Tue, 7 Jan 2003 23:25:09 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h07NP5xU010554; Tue, 7 Jan 2003 23:25:05 GMT Date: Tue, 7 Jan 2003 23:25:05 GMT From: Mike Barcroft Message-Id: <200301072325.h07NP5xU010554@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Tue Jan 7 22:18:05 GMT 2003 -------------------------------------------------------------- ===> ums touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/ums/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/ums. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Wed Jan 8 2:41:22 2003 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 2F54E37B401 for ; Wed, 8 Jan 2003 02:41:21 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF3DB43EA9 for ; Wed, 8 Jan 2003 02:41:20 -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 h08AfKPT031439; Wed, 8 Jan 2003 02:41: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 h08Ae1Ip031438; Wed, 8 Jan 2003 02:40:01 -0800 (PST) Date: Wed, 8 Jan 2003 02:40:01 -0800 From: "David O'Brien" To: Roderick van Domburg Cc: "FreeBSD-sparc@FreeBSD. ORG" Subject: Re: vinum Message-ID: <20030108104001.GA31326@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Jan 07, 2003 at 02:44:32PM +0100, Roderick van Domburg wrote: > Is there any other way I can concatenate disk drives using software? FreeBSD 5.0-RC2 #1: Sat Jan 4 16:11:04 PST 2003 cpu0: Sun Microsystems UltraSparc-II Processor (400.00 MHz CPU) Model: SUNW,Ultra-250 cpu1: Sun Microsystems UltraSparc-II Processor (400.00 MHz CPU) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs ... Filesystem Size Used Avail Capacity Mounted on /dev/ccd0d 33G 636M 29G 2% /files This is a 4-disk ccd(4): ccd0 128 none /dev/da1d /dev/da2d /dev/da3d /dev/da4d Use sysinstall to lable the disks, ccdconfig them, use disklable on the ccd, then newfs. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 3:26: 5 2003 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 0ED7737B401; Wed, 8 Jan 2003 03:26:04 -0800 (PST) Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04F2243E4A; Wed, 8 Jan 2003 03:25:58 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts14-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030108112557.RHLE16010.tomts14-srv.bellnexxia.net@bowie.private>; Wed, 8 Jan 2003 06:25:57 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h08BQNvJ029296; Wed, 8 Jan 2003 11:26:23 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h08BQMEi029294; Wed, 8 Jan 2003 11:26:22 GMT Date: Wed, 8 Jan 2003 11:26:22 GMT From: Mike Barcroft Message-Id: <200301081126.h08BQMEi029294@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Wed Jan 8 10:16:18 GMT 2003 -------------------------------------------------------------- ===> ipfilter touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/ipfilter/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/ipfilter. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Wed Jan 8 5:57:38 2003 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 ECA5237B401 for ; Wed, 8 Jan 2003 05:57:37 -0800 (PST) Received: from libra.cs.put.poznan.pl (libra.cs.put.poznan.pl [150.254.30.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7984E43EB2 for ; Wed, 8 Jan 2003 05:57:33 -0800 (PST) (envelope-from piotr.wozniak@cs.put.poznan.pl) Received: from libra.cs.put.poznan.pl (localhost [127.0.0.1]) by libra (Postfix on VMS) with SMTP id 5FE7F52 for ; Wed, 8 Jan 2003 14:57:10 +0100 (CET) Received: from dcs-pw (dcs-pw.cs.put.poznan.pl [150.254.31.188]) by libra.cs.put.poznan.pl (Postfix on VMS) with ESMTP id 2F7024A for ; Wed, 8 Jan 2003 14:57:10 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed To: FreeBSD-sparc@FreeBSD.ORG Subject: make failed / FreeBSD 5.0-RC2 sparc64 From: =?iso-8859-2?B?UGlvdHIgV2+8bmlhaw==?= Organization: PUT Date: Wed, 08 Jan 2003 14:57:14 +0100 Message-ID: User-Agent: Opera M2 7.0 build 2349 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, When I try to run make in a port (/usr/ports/net/cvsup) I receive following message "Cannot determine M3 target for this architecture". What can I do? Thanks. Piotr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 6:25:28 2003 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 8623837B401; Wed, 8 Jan 2003 06:25:26 -0800 (PST) Received: from tomts7-srv.bellnexxia.net (tomts7.bellnexxia.net [209.226.175.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 685E643EE1; Wed, 8 Jan 2003 06:25:20 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts23-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030107232413.WQBU19158.tomts23-srv.bellnexxia.net@bowie.private>; Tue, 7 Jan 2003 18:24:13 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h07NP9vJ010572; Tue, 7 Jan 2003 23:25:09 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h07NP5xU010554; Tue, 7 Jan 2003 23:25:05 GMT Date: Tue, 7 Jan 2003 23:25:05 GMT From: Mike Barcroft Message-Id: <200301072325.h07NP5xU010554@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Tue Jan 7 22:18:05 GMT 2003 -------------------------------------------------------------- ===> ums touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/ums/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/ums. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Wed Jan 8 8: 0: 8 2003 Delivered-To: freebsd-sparc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE28D37B401 for ; Wed, 8 Jan 2003 08:00:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF34A43EA9 for ; Wed, 8 Jan 2003 08:00:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h08G01NS052533 for ; Wed, 8 Jan 2003 08:00:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h08G01c5052532; Wed, 8 Jan 2003 08:00:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E3EA37B401 for ; Wed, 8 Jan 2003 07:56:39 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9BC43EB2 for ; Wed, 8 Jan 2003 07:56:38 -0800 (PST) (envelope-from hbb@catssrv.fokus.gmd.de) Received: from catssrv.fokus.gmd.de (catssrv [192.168.229.23]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h08FuVM12956 for ; Wed, 8 Jan 2003 16:56:31 +0100 (MET) Received: from catssrv.fokus.gmd.de (localhost [127.0.0.1]) by catssrv.fokus.gmd.de (8.12.6/8.12.6) with ESMTP id h08FuVus000696 for ; Wed, 8 Jan 2003 16:56:31 +0100 (CET) (envelope-from hbb@catssrv.fokus.gmd.de) Received: (from hbb@localhost) by catssrv.fokus.gmd.de (8.12.6/8.12.6/Submit) id h08FuUGE000695; Wed, 8 Jan 2003 16:56:30 +0100 (CET) (envelope-from hbb) Message-Id: <200301081556.h08FuUGE000695@catssrv.fokus.gmd.de> Date: Wed, 8 Jan 2003 16:56:30 +0100 (CET) From: Hartmut Brandt Reply-To: Hartmut Brandt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: sparc64/46870: loader does not resolve module dependencies 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 >Number: 46870 >Category: sparc64 >Synopsis: loader does not resolve module dependencies >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-sparc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 08:00:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Hartmut Brandt >Release: FreeBSD 5.0-CURRENT sparc64 >Organization: FhI Fokus >Environment: System: FreeBSD catssrv.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Tue Jan 7 18:15:41 CET 2003 root@catssrv.fokus.gmd.de:/opt/obj/usr/src/sys/CATSSRV sparc64 >Description: The boot loader does not resolve module dependencies and does not load modules upon which a given module depends. >How-To-Repeat: Build if_hme.ko and insert the following line into /boot/loader.conf: if_hme_load="YES" Reboot and observe the loader to load if_hme.ko but not miibus.ko. Observe further that the kernel later on reports a missing dependency of hme on miibus. >Fix: The problem is the same as with kldxref and the kernel linker: the loader fails to process relocation correctly by assuming that only REL records exist. The correct fix is to have machine dependent relocation routines call from load_elf.c. This is somewhat complicated by the fact, that load_elf itself is called via a machine dependent function pointer. The attached patch is a hack rather than a fix. Based on the precedent of an #ifdef __i386__ in load_elf.c, MD processing is done for __sparc__ in load_elf.c to do just enough relocation processing to correctly access dependency information. Note, that this does not really relocate the loaded image - this is done later in the kernel linker. Instead local copies of the pointers are relocated. Index: load_elf.c =================================================================== RCS file: /usr/ncvs/src/sys/boot/common/load_elf.c,v retrieving revision 1.24 diff -c -r1.24 load_elf.c *** load_elf.c 10 May 2002 01:20:37 -0000 1.24 --- load_elf.c 8 Jan 2003 15:47:10 -0000 *************** *** 52,57 **** --- 52,61 ---- Elf_Hashelt nchains; Elf_Hashelt *buckets; Elf_Hashelt *chains; + #ifdef __sparc__ + Elf_Rela *rela; + size_t relasz; + #endif char *strtab; size_t strsz; int fd; *************** *** 63,68 **** --- 67,76 ---- static int elf_loadimage(struct preloaded_file *mp, elf_file_t ef, vm_offset_t loadaddr); static int elf_lookup_symbol(struct preloaded_file *mp, elf_file_t ef, const char* name, Elf_Sym* sym); + #ifdef __sparc__ + static void elf_reloc_ptr(struct preloaded_file *mp, elf_file_t ef, + void *p, void *val, size_t len); + #endif static int elf_parse_modmetadata(struct preloaded_file *mp, elf_file_t ef); static char *fake_modname(const char *name); *************** *** 491,496 **** --- 499,512 ---- case DT_SYMTAB: ef->symtab = (Elf_Sym*)(dp[i].d_un.d_ptr + off); break; + #ifdef __sparc__ + case DT_RELA: + ef->rela = (Elf_Rela *)(dp[i].d_un.d_ptr + off); + break; + case DT_RELASZ: + ef->relasz = dp[i].d_un.d_val; + break; + #endif default: break; } *************** *** 566,591 **** --- 582,628 ---- modcnt = 0; while (p < p_stop) { + #ifdef __sparc__ + COPYOUT(p, &v, sizeof(v)); + elf_reloc_ptr(fp, ef, p, &v, sizeof(v)); + COPYOUT(v, &md, sizeof(md)); + elf_reloc_ptr(fp, ef, v, &md, sizeof(md)); + p++; + #else COPYOUT(p++, &v, sizeof(v)); COPYOUT(v + ef->off, &md, sizeof(md)); + #endif switch(md.md_type) { case MDT_DEPEND: if (ef->kernel) /* kernel must not depend on anything */ break; + #ifdef __sparc__ + s = strdupout((vm_offset_t)md.md_cval); + #else s = strdupout((vm_offset_t)(md.md_cval + ef->off)); + #endif minfolen = sizeof(*mdepend) + strlen(s) + 1; mdepend = malloc(minfolen); if (mdepend == NULL) return ENOMEM; + #ifdef __sparc__ + COPYOUT((vm_offset_t)md.md_data, mdepend, sizeof(*mdepend)); + #else COPYOUT((vm_offset_t)(md.md_data + ef->off), mdepend, sizeof(*mdepend)); + #endif strcpy((char*)(mdepend + 1), s); free(s); file_addmetadata(fp, MODINFOMD_DEPLIST, minfolen, mdepend); free(mdepend); break; case MDT_VERSION: + #ifdef __sparc__ + s = strdupout((vm_offset_t)md.md_cval); + COPYOUT((vm_offset_t)md.md_data, &mver, sizeof(mver)); + #else s = strdupout((vm_offset_t)(md.md_cval + ef->off)); COPYOUT((vm_offset_t)(md.md_data + ef->off), &mver, sizeof(mver)); + #endif file_addmodule(fp, s, mver.mv_version, NULL); free(s); modcnt++; *************** *** 657,659 **** --- 694,723 ---- } return ENOENT; } + + #ifdef __sparc__ + /* + * Apply any intra-module relocations to the value. *p is the load address + * of the value and val/len is the value to be modified. This does NOT modify + * the image in-place, because this is done by kern_linker later on. + */ + static void + elf_reloc_ptr(struct preloaded_file *mp, elf_file_t ef, + void *p, void *val, size_t len) + { + Elf_Addr off = (Elf_Addr)p - ef->off, word; + size_t n; + Elf_Rela r; + + for (n = 0; n < ef->relasz / sizeof(r); n++) { + COPYOUT(ef->rela + n, &r, sizeof(r)); + + if (r.r_offset >= off && r.r_offset < off + len && + ELF_R_TYPE(r.r_info) == R_SPARC_RELATIVE) { + word = ef->off + r.r_addend; + bcopy(&word, (char *)val + (r.r_offset - off), + sizeof(word)); + } + } + } + #endif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 8:10:10 2003 Delivered-To: freebsd-sparc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41D9337B405 for ; Wed, 8 Jan 2003 08:10:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4523643ED8 for ; Wed, 8 Jan 2003 08:10:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h08GA4NS059696 for ; Wed, 8 Jan 2003 08:10:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h08GA4lY059695; Wed, 8 Jan 2003 08:10:04 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 596E337B405 for ; Wed, 8 Jan 2003 08:05:08 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id F107743EDC for ; Wed, 8 Jan 2003 08:05:06 -0800 (PST) (envelope-from hbb@catssrv.fokus.gmd.de) Received: from catssrv.fokus.gmd.de (catssrv [192.168.229.23]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h08G55M14226 for ; Wed, 8 Jan 2003 17:05:05 +0100 (MET) Received: from catssrv.fokus.gmd.de (localhost [127.0.0.1]) by catssrv.fokus.gmd.de (8.12.6/8.12.6) with ESMTP id h08G55us000826 for ; Wed, 8 Jan 2003 17:05:05 +0100 (CET) (envelope-from hbb@catssrv.fokus.gmd.de) Received: (from hbb@localhost) by catssrv.fokus.gmd.de (8.12.6/8.12.6/Submit) id h08G55VA000825; Wed, 8 Jan 2003 17:05:05 +0100 (CET) (envelope-from hbb) Message-Id: <200301081605.h08G55VA000825@catssrv.fokus.gmd.de> Date: Wed, 8 Jan 2003 17:05:05 +0100 (CET) From: Hartmut Brandt Reply-To: Hartmut Brandt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: sparc64/46871: HME driver not built as module and miibus dependency broken 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 >Number: 46871 >Category: sparc64 >Synopsis: HME driver not built as module and miibus dependency broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-sparc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 08:10:03 PST 2003 >Closed-Date: >Last-Modified: >Originator: Hartmut Brandt >Release: FreeBSD 5.0-CURRENT sparc64 >Organization: FhI Fokus >Environment: System: FreeBSD catssrv.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Tue Jan 7 18:15:41 CET 2003 root@catssrv.fokus.gmd.de:/opt/obj/usr/src/sys/CATSSRV sparc64 >Description: The driver for the HME ethernet card is not built as a module. There is a typo in the dependency on miibus in the HME driver. >How-To-Repeat: Do ls -l /boot/kernel/if_hme.ko and observe that the file is not found. Create the module by applying part of the patches below and try to load the module. Observe that it cannot be loaded. >Fix: Create sys/modules/hme and place the following Makefile into this directory. # $FreeBSD: src/sys/modules/xl/Makefile,v 1.13 2001/01/06 14:00:42 obrien Exp $ .PATH: ${.CURDIR}/../../dev/hme KMOD= if_hme SRCS= if_hme.c if_hme_pci.c opt_bdg.h device_if.h bus_if.h pci_if.h SRCS+= miibus_if.h .include Then apply the following patch and rebuild your kernel. Index: modules/Makefile =================================================================== RCS file: /usr/ncvs/src/sys/modules/Makefile,v retrieving revision 1.294 diff -c -r1.294 Makefile *** modules/Makefile 13 Dec 2002 00:32:29 -0000 1.294 --- modules/Makefile 8 Jan 2003 16:02:05 -0000 *************** *** 150,155 **** --- 150,159 ---- SUBDIR+=syscons .endif + .if ${MACHINE_ARCH} == "sparc64" + SUBDIR+=hme + .endif + # XXX some of these can move to the general case when de-i386'ed # XXX some of these can move now, but are untested on other architectures. .if ${MACHINE_ARCH} == "i386" Index: dev/hme/if_hme.c =================================================================== RCS file: /usr/ncvs/src/sys/dev/hme/if_hme.c,v retrieving revision 1.8 diff -c -r1.8 if_hme.c *** dev/hme/if_hme.c 6 Jan 2003 22:12:57 -0000 1.8 --- dev/hme/if_hme.c 8 Jan 2003 16:02:05 -0000 *************** *** 122,128 **** static int hme_nerr; DRIVER_MODULE(miibus, hme, miibus_driver, miibus_devclass, 0, 0); ! MODULE_DEPEND(hem, miibus, 1, 1, 1); #define HME_SPC_READ_4(spc, sc, offs) \ bus_space_read_4((sc)->sc_ ## spc ## t, (sc)->sc_ ## spc ## h, \ --- 122,128 ---- static int hme_nerr; DRIVER_MODULE(miibus, hme, miibus_driver, miibus_devclass, 0, 0); ! MODULE_DEPEND(hme, miibus, 1, 1, 1); #define HME_SPC_READ_4(spc, sc, offs) \ bus_space_read_4((sc)->sc_ ## spc ## t, (sc)->sc_ ## spc ## h, \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 9:25:19 2003 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 58B6937B401; Wed, 8 Jan 2003 09:25:18 -0800 (PST) Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D6C943ED4; Wed, 8 Jan 2003 09:25:12 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030108172510.CHTL29922.tomts15-srv.bellnexxia.net@bowie.private>; Wed, 8 Jan 2003 12:25:10 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h08HPkvJ038472; Wed, 8 Jan 2003 17:25:46 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h08HPje9038467; Wed, 8 Jan 2003 17:25:45 GMT Date: Wed, 8 Jan 2003 17:25:45 GMT From: Mike Barcroft Message-Id: <200301081725.h08HPje9038467@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Wed Jan 8 16:16:05 GMT 2003 -------------------------------------------------------------- ===> ipfilter touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/ipfilter/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/ipfilter. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Wed Jan 8 10:37: 6 2003 Delivered-To: freebsd-sparc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C66EC37B401; Wed, 8 Jan 2003 10:37:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7142443EA9; Wed, 8 Jan 2003 10:37:05 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from freefall.freebsd.org (tmm@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h08Ib5NS005131; Wed, 8 Jan 2003 10:37:05 -0800 (PST) (envelope-from tmm@freefall.freebsd.org) Received: (from tmm@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h08Ib5nb005127; Wed, 8 Jan 2003 10:37:05 -0800 (PST) Date: Wed, 8 Jan 2003 10:37:05 -0800 (PST) From: Thomas Moestl Message-Id: <200301081837.h08Ib5nb005127@freefall.freebsd.org> To: tmm@FreeBSD.org, freebsd-sparc@FreeBSD.org, tmm@FreeBSD.org Subject: Re: sparc64/46871: HME driver not built as module and miibus dependency broken 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 Synopsis: HME driver not built as module and miibus dependency broken Responsible-Changed-From-To: freebsd-sparc->tmm Responsible-Changed-By: tmm Responsible-Changed-When: Wed Jan 8 10:36:26 PST 2003 Responsible-Changed-Why: I'll take care of this. http://www.freebsd.org/cgi/query-pr.cgi?pr=46871 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 10:58: 8 2003 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 10F8037B401 for ; Wed, 8 Jan 2003 10:58:08 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D59A43ED8 for ; Wed, 8 Jan 2003 10:58:07 -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 h08IvxPT070623; Wed, 8 Jan 2003 10:57:59 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id h08Iud2n070584; Wed, 8 Jan 2003 10:56:39 -0800 (PST) Date: Wed, 8 Jan 2003 10:56:39 -0800 From: "David O'Brien" To: Piotr Wo?niak Cc: FreeBSD-sparc@FreeBSD.ORG Subject: Re: make failed / FreeBSD 5.0-RC2 sparc64 Message-ID: <20030108185639.GA69777@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Jan 08, 2003 at 02:57:14PM +0100, Piotr Wo?niak wrote: > Hi, > When I try to run make in a port (/usr/ports/net/cvsup) I receive following > message > "Cannot determine M3 target for this architecture". > What can I do? Wait. :-) The M3 compiler is still being ported. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 15:24:27 2003 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 3D71237B405; Wed, 8 Jan 2003 15:24:26 -0800 (PST) Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25E6143E4A; Wed, 8 Jan 2003 15:24:20 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030108232419.OFRD10918.tomts9-srv.bellnexxia.net@bowie.private>; Wed, 8 Jan 2003 18:24:19 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h08NPCvJ047531; Wed, 8 Jan 2003 23:25:13 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h08NPCKY047528; Wed, 8 Jan 2003 23:25:12 GMT Date: Wed, 8 Jan 2003 23:25:12 GMT From: Mike Barcroft Message-Id: <200301082325.h08NPCKY047528@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Wed Jan 8 22:16:49 GMT 2003 -------------------------------------------------------------- ===> vx touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/vx/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/vx. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Wed Jan 8 17:49:19 2003 Delivered-To: freebsd-sparc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1D2537B401; Wed, 8 Jan 2003 17:49:18 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8CBDC43E4A; Wed, 8 Jan 2003 17:49:18 -0800 (PST) (envelope-from jake@FreeBSD.org) Received: from freefall.freebsd.org (jake@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h091nINS054737; Wed, 8 Jan 2003 17:49:18 -0800 (PST) (envelope-from jake@freefall.freebsd.org) Received: (from jake@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h091nIPP054733; Wed, 8 Jan 2003 17:49:18 -0800 (PST) Date: Wed, 8 Jan 2003 17:49:18 -0800 (PST) From: Jake Burkholder Message-Id: <200301090149.h091nIPP054733@freefall.freebsd.org> To: jake@FreeBSD.org, freebsd-sparc@FreeBSD.org, jake@FreeBSD.org Subject: Re: sparc64/46870: loader does not resolve module dependencies 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 Synopsis: loader does not resolve module dependencies Responsible-Changed-From-To: freebsd-sparc->jake Responsible-Changed-By: jake Responsible-Changed-When: Wed Jan 8 17:48:47 PST 2003 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=46870 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 18:45:51 2003 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 6814037B401; Wed, 8 Jan 2003 18:45:50 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA68243EE1; Wed, 8 Jan 2003 18:45:49 -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 h092jxGb004368; Wed, 8 Jan 2003 21:45:59 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id h092jwPS004367; Wed, 8 Jan 2003 21:45:58 -0500 (EST) Date: Wed, 8 Jan 2003 21:45:58 -0500 From: Jake Burkholder To: Mike Barcroft Cc: current@FreeBSD.ORG, sparc64@FreeBSD.ORG Subject: Re: sparc64 tinderbox failure Message-ID: <20030108214558.B4032@locore.ca> References: <200301082325.h08NPCKY047528@bowie.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200301082325.h08NPCKY047528@bowie.private>; from mike@sparc64.style9.org on Wed, Jan 08, 2003 at 11:25:12PM +0000 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, Jan 08, 2003 at 11:25:12PM +0000, Mike Barcroft said words to the effect of; > Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html > > -------------------------------------------------------------- > >>> 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 Wed Jan 8 22:16:49 GMT 2003 > -------------------------------------------------------------- > ===> vx > touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/vx/export_syms: No such file or directory > *** Error code 1 FWIW, I can't reproduce this locally, it must be a problem with the tinderbox. I haven't seen Mike around lately, hopefully he can see what's going on soon. Sorry for the spam. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Jan 8 18:55:29 2003 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 DE6A237B401; Wed, 8 Jan 2003 18:55:28 -0800 (PST) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB5143ED4; Wed, 8 Jan 2003 18:55:28 -0800 (PST) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id 88D129BC3; Wed, 8 Jan 2003 21:44:25 -0500 (EST) Date: Wed, 8 Jan 2003 21:44:25 -0500 From: Mike Barcroft To: Jake Burkholder Cc: current@FreeBSD.ORG, sparc64@FreeBSD.ORG Subject: Re: sparc64 tinderbox failure Message-ID: <20030108214425.F45957@espresso.q9media.com> References: <200301082325.h08NPCKY047528@bowie.private> <20030108214558.B4032@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030108214558.B4032@locore.ca>; from jake@locore.ca on Wed, Jan 08, 2003 at 09:45:58PM -0500 Organization: The FreeBSD Project 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 Jake Burkholder writes: > Apparently, On Wed, Jan 08, 2003 at 11:25:12PM +0000, > Mike Barcroft said words to the effect of; > > -------------------------------------------------------------- > > >>> Kernel build for GENERIC started on Wed Jan 8 22:16:49 GMT 2003 > > -------------------------------------------------------------- > > ===> vx > > touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/vx/export_syms: No such file or directory > > *** Error code 1 > > FWIW, I can't reproduce this locally, it must be a problem with the > tinderbox. I haven't seen Mike around lately, hopefully he can see > what's going on soon. > > Sorry for the spam. Hmm, I'll try clearing the obj directory and see if that helps. I did have some trouble with the filesystem the tinderbox runs on. fsck may have deleted some files that left things in an unexpected state. Best regards, Mike Barcroft To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 9 17:40:28 2003 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 5639537B401; Thu, 9 Jan 2003 17:40:24 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-177.dsl.lsan03.pacbell.net [64.165.226.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 516E043F18; Thu, 9 Jan 2003 17:40:23 -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 0837366BE3; Thu, 9 Jan 2003 17:40:23 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id AEF817C4; Thu, 9 Jan 2003 17:40:22 -0800 (PST) Date: Thu, 9 Jan 2003 17:40:22 -0800 From: Kris Kennaway To: Kris Kennaway Cc: sparc64@FreeBSD.org, current@FreeBSD.org Subject: Re: Panic with sparc nfs client and 4.x i386 server Message-ID: <20030110014021.GA78574@rot13.obsecurity.org> References: <20021212000101.GA86602@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline In-Reply-To: <20021212000101.GA86602@rot13.obsecurity.org> 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 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 11, 2002 at 04:01:01PM -0800, Kris Kennaway wrote: > It looks like there is an interop problem with a FreeBSD sparc nfs > client running from a 4.x i386 nfs server. I got panics about once a > day on my nfs server at home when I tried to do sparc package builds > from it (this is with RELENG_4 going back at least 6 months), and in > the past two days (since I started using it to build sparc packages > too) bento.freebsd.org has panicked twice with: >=20 > Fatal double fault: > eip =3D 0xc0279bf6 > esp =3D 0xe1771fec > ebp =3D 0xe1772018 > mp_lock =3D 00000100; cpuid =3D 0; lapic.id =3D 01000000 > panic: double fault > mp_lock =3D 00000100; cpuid =3D 0; lapic.id =3D 01000000 > boot() called on cpu#0 >=20 > Since I switched to a 5.0 nfs server at home I have not seen this > problem, so it appears to be RELENG_4 only. >=20 > Has anyone else experienced this? I'm still getting this periodically on bento. The latest one is: Fatal double fault: eip =3D 0xc0276b13 esp =3D 0xdfd14000 ebp =3D 0xdfd1408c mp_lock =3D 01000079; cpuid =3D 1; lapic.id =3D 00000000 panic: double fault mp_lock =3D 01000079; cpuid =3D 1; lapic.id =3D 00000000 Debugger("panic") and the machine hangs there (it always does when I have DDB in the kernel). I'm going to have to upgrade bento to 5.0 unless anyone can offer any advice. Kris --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD4DBQE+HiSFWry0BWjoQKURAg2TAKCIkl9LN0tgYQZy4kWXbKNyQqcZNgCXY3Dx yt4zupGMh3JAkueCQzNM7w== =3t/X -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 9 21:25: 5 2003 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 BE6F937B401; Thu, 9 Jan 2003 21:25:03 -0800 (PST) Received: from tomts19-srv.bellnexxia.net (tomts19.bellnexxia.net [209.226.175.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 881DC43F43; Thu, 9 Jan 2003 21:24:57 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts19-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030110052456.OPGW782.tomts19-srv.bellnexxia.net@bowie.private>; Fri, 10 Jan 2003 00:24:56 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h0A5P8Yo038613; Fri, 10 Jan 2003 05:25:08 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h0A5P8Z9038611; Fri, 10 Jan 2003 05:25:08 GMT Date: Fri, 10 Jan 2003 05:25:08 GMT From: Mike Barcroft Message-Id: <200301100525.h0A5P8Z9038611@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Jan 10 04:16:49 GMT 2003 -------------------------------------------------------------- ===> vx touch: /tinderbox/sparc64/obj/tinderbox/sparc64/src/sys/GENERIC/modules/tinderbox/sparc64/src/sys/modules/vx/export_syms: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/vx. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Jan 10 3: 9: 2 2003 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 4138B37B401; Fri, 10 Jan 2003 03:09:01 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-177.dsl.lsan03.pacbell.net [64.165.226.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3759D43ED8; Fri, 10 Jan 2003 03:08:55 -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 1DE4F66E58; Fri, 10 Jan 2003 03:08:54 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id E716389C; Fri, 10 Jan 2003 03:08:52 -0800 (PST) Date: Fri, 10 Jan 2003 03:08:51 -0800 From: Kris Kennaway To: sparc@FreeBSD.org, current@FreeBSD.org Subject: EINVAL when mounting root Message-ID: <20030110110850.GA1310@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline 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 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Since upgrading to -current I get the following on my sparc at boot time: Mounting root from ufs:/dev/da0 Root mount failed: 22 (errno 22 is EINVAL). Someone told me this was already fixed (by which commit?), but cvsupping again did not fix the problem. Any ideas? Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+HqnBWry0BWjoQKURAovOAJ9aDVp+BR3Ge/S8ZIzCMdJkqSDTuACcDhIi 0cbSVa5PjRTvrhWx+4cuWdw= =FOFZ -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 10 3:22:32 2003 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 985C737B401; Fri, 10 Jan 2003 03:22:31 -0800 (PST) Received: from haha.debank.tv (c92069.upc-c.chello.nl [212.187.92.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CF5143EB2; Fri, 10 Jan 2003 03:22:30 -0800 (PST) (envelope-from rob@debank.tv) Received: from debank.tv (X-server.debank.tv [192.168.1.69]) by haha.debank.tv (8.12.6/8.12.6) with ESMTP id h0ABMRYr008929; Fri, 10 Jan 2003 12:22:28 +0100 (CET) (envelope-from rob@debank.tv) Message-ID: <3E1EACF3.2050607@debank.tv> Date: Fri, 10 Jan 2003 12:22:27 +0100 From: Rob Evers User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021201 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway Cc: sparc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: EINVAL when mounting root References: <20030110110850.GA1310@rot13.obsecurity.org> 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 Kris Kennaway wrote: >Since upgrading to -current I get the following on my sparc at boot time: > >Mounting root from ufs:/dev/da0 >Root mount failed: 22 > >(errno 22 is EINVAL). Someone told me this was already fixed (by >which commit?), but cvsupping again did not fix the problem. Any ideas? > >Kris > > > This should fix it (snip from cvs'upping) Edit src/sys/ufs/ffs/fs.h Add delta 1.37 2003.01.09.23.53.30 gordon Add delta 1.38 2003.01.10.06.59.34 marcel Compiling new world now so I don't know if it works For more inf look at the thread in freebsd-current mailing list named : HEADS UP: VFS changes breaks GPT Rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 10 3:26:28 2003 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 037FE37B401; Fri, 10 Jan 2003 03:26:27 -0800 (PST) Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id D63A943F5F; Fri, 10 Jan 2003 03:26:20 -0800 (PST) (envelope-from mike@sparc64.style9.org) Received: from bowie.private ([65.93.76.189]) by tomts11-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030110112620.OGNY8221.tomts11-srv.bellnexxia.net@bowie.private>; Fri, 10 Jan 2003 06:26:20 -0500 Received: from bowie.private (localhost [127.0.0.1]) by bowie.private (8.12.6/8.12.5) with ESMTP id h0ABQkYo047800; Fri, 10 Jan 2003 11:26:46 GMT (envelope-from mike@bowie.private) Received: (from mike@localhost) by bowie.private (8.12.6/8.12.6/Submit) id h0ABQjXL047790; Fri, 10 Jan 2003 11:26:45 GMT Date: Fri, 10 Jan 2003 11:26:45 GMT From: Mike Barcroft Message-Id: <200301101126.h0ABQjXL047790@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 Tinderbox FAQ: http://people.FreeBSD.org/~mike/tinderbox.html -------------------------------------------------------------- >>> 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 Jan 10 10:17:39 GMT 2003 -------------------------------------------------------------- ===> usb ld: cannot open output file usb.kld: No such file or directory *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules/usb. *** Error code 1 Stop in /tinderbox/sparc64/src/sys/modules. *** 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 Jan 10 4:12:48 2003 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 B703A37B401 for ; Fri, 10 Jan 2003 04:12:47 -0800 (PST) Received: from libra.cs.put.poznan.pl (libra.cs.put.poznan.pl [150.254.30.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id D303D43F3F for ; Fri, 10 Jan 2003 04:12:42 -0800 (PST) (envelope-from piotr.wozniak@cs.put.poznan.pl) Received: from libra.cs.put.poznan.pl (localhost [127.0.0.1]) by libra (Postfix on VMS) with SMTP id DCBE241 for ; Fri, 10 Jan 2003 13:12:36 +0100 (CET) Received: from dcs-pw (dcs-pw.cs.put.poznan.pl [150.254.31.188]) by libra.cs.put.poznan.pl (Postfix on VMS) with ESMTP id BD4273F for ; Fri, 10 Jan 2003 13:12:36 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2; format=flowed To: FreeBSD-sparc@FreeBSD.ORG Subject: substitute for cvsup From: =?iso-8859-2?B?UGlvdHIgV2+8bmlhaw==?= Organization: PUT Date: Fri, 10 Jan 2003 13:12:42 +0100 Message-ID: User-Agent: Opera M2 7.0 build 2349 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 What program can I use instead of cvsup to update port collection? (FreeBSD 5.0-RC2 sparc64) I can't find cvsup for that release. Piotr -- Piotr Wo¼niak Instytut Informatyki PP ul.Piotrowo 3A, 60-965 Poznan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 10 4:18:40 2003 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 E38A437B401 for ; Fri, 10 Jan 2003 04:18:38 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-177.dsl.lsan03.pacbell.net [64.165.226.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F39C43F43 for ; Fri, 10 Jan 2003 04:18:38 -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 E5DD466BE3; Fri, 10 Jan 2003 04:18:37 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id D46858E1; Fri, 10 Jan 2003 04:18:37 -0800 (PST) Date: Fri, 10 Jan 2003 04:18:37 -0800 From: Kris Kennaway To: Piotr Wo?niak Cc: FreeBSD-sparc@FreeBSD.ORG Subject: Re: substitute for cvsup Message-ID: <20030110121837.GA8439@rot13.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: 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 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 10, 2003 at 01:12:42PM +0100, Piotr Wo?niak wrote: >=20 > What program can I use instead of cvsup to update port collection? (FreeB= SD=20 > 5.0-RC2 sparc64) FAQ. cvs update from another machine is the best way. Kris --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+HrodWry0BWjoQKURApxuAJ9GLNoSUOUCZkisVUdaUh1JJ4KXEgCfb7Zl ZXm/C8oU2Edh0iRDeblVE1E= =x/x5 -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 10 4:48:11 2003 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 E8C7037B401; Fri, 10 Jan 2003 04:48:09 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-165-226-177.dsl.lsan03.pacbell.net [64.165.226.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F82243F18; Fri, 10 Jan 2003 04:48:09 -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 0429266BE3; Fri, 10 Jan 2003 04:48:05 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 9384E8D0; Fri, 10 Jan 2003 04:48:05 -0800 (PST) Date: Fri, 10 Jan 2003 04:48:05 -0800 From: Kris Kennaway To: Rob Evers Cc: Kris Kennaway , sparc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: EINVAL when mounting root Message-ID: <20030110124805.GA8651@rot13.obsecurity.org> References: <20030110110850.GA1310@rot13.obsecurity.org> <3E1EACF3.2050607@debank.tv> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <3E1EACF3.2050607@debank.tv> 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 On Fri, Jan 10, 2003 at 12:22:27PM +0100, Rob Evers wrote: > Edit src/sys/ufs/ffs/fs.h > Add delta 1.37 2003.01.09.23.53.30 gordon > Add delta 1.38 2003.01.10.06.59.34 marcel Thanks, for some reason I didnt have this version when I cvsupped. It boots now. Kris --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+HsEFWry0BWjoQKURAs+AAJ0X6sJn8Gfx5nj58hOx4C4le3gBjgCg/OVj glMRmx6dS0Ip7CiuMdd8gSM= =efGK -----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 Fri Jan 10 12:35: 5 2003 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 6EABF37B401 for ; Fri, 10 Jan 2003 12:35:04 -0800 (PST) Received: from web41310.mail.yahoo.com (web41310.mail.yahoo.com [66.218.93.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 3E88543E4A for ; Fri, 10 Jan 2003 12:35:04 -0800 (PST) (envelope-from baby_p_nut@yahoo.com) Message-ID: <20030110203504.9954.qmail@web41310.mail.yahoo.com> Received: from [198.80.171.28] by web41310.mail.yahoo.com via HTTP; Fri, 10 Jan 2003 12:35:04 PST Date: Fri, 10 Jan 2003 12:35:04 -0800 (PST) From: Baby Peanut Subject: zs drivers? To: freebsd-sparc@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 got an sbus isp qlogic card and put it in "my" u2 (this is at work.) Now I have SMP FreeBSD/sparc64 but no working serial ports (except the openfirmware console) two questions: can OFW drivers be used for non-console serial ports? is anyone working on a zs driver? Thanks, BP __________________________________________________ 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 Fri Jan 10 16:45:29 2003 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 C729337B407 for ; Fri, 10 Jan 2003 16:45:28 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id A129943F1E for ; Fri, 10 Jan 2003 16:45:27 -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 h0B0jpGb014111; Fri, 10 Jan 2003 19:45:51 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id h0B0jpUt014110; Fri, 10 Jan 2003 19:45:51 -0500 (EST) Date: Fri, 10 Jan 2003 19:45:51 -0500 From: Jake Burkholder To: Baby Peanut Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: zs drivers? Message-ID: <20030110194551.A12799@locore.ca> References: <20030110203504.9954.qmail@web41310.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030110203504.9954.qmail@web41310.mail.yahoo.com>; from baby_p_nut@yahoo.com on Fri, Jan 10, 2003 at 12:35:04PM -0800 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, Jan 10, 2003 at 12:35:04PM -0800, Baby Peanut said words to the effect of; > I got an sbus isp qlogic card and put it in "my" u2 (this is at work.) > Now I have SMP FreeBSD/sparc64 but no working serial ports (except the > openfirmware console) > > two questions: > > can OFW drivers be used for non-console serial ports? > > is anyone working on a zs driver? The zs driver has been ported, but I doubt it will work for much other than using it as a console. What exactly do you want 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 Sat Jan 11 12:53:11 2003 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 51BE137B401 for ; Sat, 11 Jan 2003 12:53:08 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id BABFB43F3F for ; Sat, 11 Jan 2003 12:53:07 -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 h0BKr7R6013540 for ; Sat, 11 Jan 2003 12:53:07 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id h0BKpqFf013532 for sparc64@freebsd.org; Sat, 11 Jan 2003 12:51:52 -0800 (PST) Date: Sat, 11 Jan 2003 12:51:52 -0800 From: "David O'Brien" To: sparc64@freebsd.org Subject: Do we want this added to the docs Message-ID: <20030111205152.GA13513@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 I'm not sure where I got this from. --- proc-sparc64.sgml Sat Jan 11 12:46:55 2003 +++ proc-sparc64.sgml.new Sat Jan 11 12:47:35 2003 @@ -116,6 +116,88 @@ sufficient onboard devices to make &os; generally useful. + 1 or 2 UltraSPARC II CPUs + Built-in Ethernet + (hme compatible) + interface + 4 SBus slots + 1 UPA Slot + Serial and Parallel ports + 16-bit audio + + + + + Ultra 5/10 + + UltraSPARC Ultra5/10-family systems include the following + hardware: + + + UltraSPARC IIi CPU + Three PCI busses + Built-in Ethernet + (hme compatible) + interface + Built-in PCI-IDE controller + Two PC-AT style `com' ports for the mouse and keyboard + Floppy driver controller + Siemens SAB82532 dual-channel serial ports for ttya and ttyb + One CS4231 audio device + One PC-AT style parallel port + Sun `ffb' frame buffer (Ultra10 only) + EBus (Sun proprietary bus for slow + devices) + + + + + Ultra 60 + + Sun Ultra 60 workstations include the following hardware: + + + 1 or 2 UltraSPARC II CPUs + 4 PCI slots + 2 UPA slots + &man.sym.4;-based UltraSCSI + controller + Built-in Ethernet + (hme compatible) + interface + Serial and Parallel ports + 16-bit audio + EBus (Sun proprietary bus for slow + devices) + + + + + Blade 100 + + Sun Blade 100 workstations include the following hardware: + + + UltraSPARC IIe CPU + Three PCI busses + Built-in Ethernet + (gem compatible) + interface + Two USB ports &unsupported; + Two Firewire ports &unsupported; + Built-in PCI-IDE controller + Two PC-AT style `com' ports for the mouse and keyboard + Floppy driver controller + &man.sio.4; supported serial ports for ttya + and ttyb + One CS4231 audio device + One PC-AT style parallel port + Built-in PGX64 (ATI) + graphics + EBus (Sun proprietary bus for slow + devices) + ISA bus + All systems containing UltraSPARC III processor(s). To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 13:13:40 2003 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 91E6B37B401; Sat, 11 Jan 2003 13:13:36 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCC5143F1E; Sat, 11 Jan 2003 13:13:35 -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 h0BLDljb000550; Sat, 11 Jan 2003 16:13:47 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id h0BLDlaf000549; Sat, 11 Jan 2003 16:13:47 -0500 (EST) Date: Sat, 11 Jan 2003 16:13:47 -0500 From: Jake Burkholder To: "David O'Brien" Cc: sparc64@FreeBSD.ORG Subject: Re: Do we want this added to the docs Message-ID: <20030111161347.B212@locore.ca> References: <20030111205152.GA13513@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030111205152.GA13513@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Sat, Jan 11, 2003 at 12:51:52PM -0800 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 Sat, Jan 11, 2003 at 12:51:52PM -0800, David O'Brien said words to the effect of; > I'm not sure where I got this from. There was a description of all the machines in the proc-sparc64.sgml before. I'd rather just have a list of systems and point people to sunsolve for specifics, there's not much point in duplicating it and there may be a lot of systems. So no, I'd rather not do this. Jake > > --- proc-sparc64.sgml Sat Jan 11 12:46:55 2003 > +++ proc-sparc64.sgml.new Sat Jan 11 12:47:35 2003 > @@ -116,6 +116,88 @@ > sufficient onboard devices to make &os; generally useful. > > > + 1 or 2 UltraSPARC II CPUs > + Built-in Ethernet > + (hme compatible) > + interface > + 4 SBus slots > + 1 UPA Slot > + Serial and Parallel ports > + 16-bit audio > + > + > + > + > + Ultra 5/10 > + > + UltraSPARC Ultra5/10-family systems include the following > + hardware: > + > + > + UltraSPARC IIi CPU > + Three PCI busses > + Built-in Ethernet > + (hme compatible) > + interface > + Built-in PCI-IDE controller > + Two PC-AT style `com' ports for the mouse and keyboard > + Floppy driver controller > + Siemens SAB82532 dual-channel serial ports for ttya and ttyb > + One CS4231 audio device > + One PC-AT style parallel port > + Sun `ffb' frame buffer (Ultra10 only) > + EBus (Sun proprietary bus for slow > + devices) > + > + > + > + > + Ultra 60 > + > + Sun Ultra 60 workstations include the following hardware: > + > + > + 1 or 2 UltraSPARC II CPUs > + 4 PCI slots > + 2 UPA slots > + &man.sym.4;-based UltraSCSI > + controller > + Built-in Ethernet > + (hme compatible) > + interface > + Serial and Parallel ports > + 16-bit audio > + EBus (Sun proprietary bus for slow > + devices) > + > + > + > + > + Blade 100 > + > + Sun Blade 100 workstations include the following hardware: > + > + > + UltraSPARC IIe CPU > + Three PCI busses > + Built-in Ethernet > + (gem compatible) > + interface > + Two USB ports &unsupported; > + Two Firewire ports &unsupported; > + Built-in PCI-IDE controller > + Two PC-AT style `com' ports for the mouse and keyboard > + Floppy driver controller > + &man.sio.4; supported serial ports for ttya > + and ttyb > + One CS4231 audio device > + One PC-AT style parallel port > + Built-in PGX64 (ATI) > + graphics > + EBus (Sun proprietary bus for slow > + devices) > + ISA bus > + > > All systems containing UltraSPARC III processor(s). > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 15:41:15 2003 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 EAA2E37B401; Sat, 11 Jan 2003 15:41:13 -0800 (PST) Received: from netlx010.civ.utwente.nl (netlx010.civ.utwente.nl [130.89.1.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A61043ED8; Sat, 11 Jan 2003 15:41:12 -0800 (PST) (envelope-from r.s.a.vandomburg@student.utwente.nl) Received: from wit377002 (wit377002.student.utwente.nl [130.89.165.107]) by netlx010.civ.utwente.nl (8.11.4/HKD) with SMTP id h0BNf2b30840; Sun, 12 Jan 2003 00:41:02 +0100 From: "Roderick van Domburg" To: Cc: Subject: panic: trap: fast data access mmu miss Date: Sun, 12 Jan 2003 00:41:44 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 X-UTwente-MailScanner: Found to be clean 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 Running on a Sun Enterprise 250 with a single UltraSparc-II CPU, 512 MB RAM and three Fujitsu SCSI-II hard disks. I've had this same problem with sources over the past few (three?) days. I had to copy this dmesg by hand, so please bear with any possible typos. --8<------ picb1: at device 2.0 on pci0 pci1: on pcib1 isp0: port 0x1000-0x10ff mem 0x4008000-0x4008fff irq 16 at device 4.0 on pci1 isp0: invalid NVRAM header sym0: <875> port 0x2000-0x20ff mem 0x410a000-0x410afff,0x4108000-0x41080ff irq 32 at device 3.0 on pci0 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym1: <875> port 0x2400-0x24ff mem 0x410e000-0x410efff,0x410c000-0x410c0ff irq 38 at device 3.1 on pci0 panic: trap: fast data access mmu miss cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> trace panic() at panic+0x134 trap() at trap+0x414 -- fast data access mmu miss tar=0 %o7=0xc0248c00 -- getbaddrcb() at getbaddrcb psycho_dmamap_load() at psycho_dmamap_load+0x30 ___dma_getp() at ___dma_getp+0xb8 ___sym_malloc() at ___sym_malloc+0x70 __sym_calloc2() at __sym_calloc2+0xc __sym_calloc_dma() at __sym_calloc_dma+0x64 sym_pci_attach() at sym_pci_attach+0x38 device_probe_and_attach at device_probe_and_attach+0xb8 bus_generic_attach() at bus_generic_attach+0x10 pci_attach() at pci_attach+0x9c device_probe_and_attach at device_probe_and_attach+0xb8 bus_generic_attach() at bus_generic_attach+0x10 psycho_attach() at psycho_attach+0x9d8 device_probe_and_attach at device_probe_and_attach+0xb8 bus_generic_attach() at bus_generic_attach+0x10 device_probe_and_attach at device_probe_and_attach+0xb8 root_bus_configure() at root_bus_configure+0x18 configure() at configure+0x20 mi_startup() at mi_startup+0x12c btext() at btext+0x30 db> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 17: 8:34 2003 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 8436B37B401 for ; Sat, 11 Jan 2003 17:08:30 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 29ED443E4A for ; Sat, 11 Jan 2003 17:08:29 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 24817 invoked by uid 0); 12 Jan 2003 01:08:27 -0000 Received: from p508e54b2.dip.t-dialin.net (HELO galatea.local) (80.142.84.178) by mail.gmx.net (mp012-rz3) with SMTP; 12 Jan 2003 01:08:27 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.10 #1) id 18XWdO-000FK0-00; Sun, 12 Jan 2003 02:09:54 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0C19o7k058899; Sun, 12 Jan 2003 02:09:50 +0100 (CET) Date: Sun, 12 Jan 2003 02:09:50 +0100 From: Thomas Moestl To: Roderick van Domburg Cc: freebsd-sparc64@freebsd.org Subject: Re: panic: trap: fast data access mmu miss Message-ID: <20030112010950.GA56998@crow.dom2ip.de> Mail-Followup-To: Roderick van Domburg , freebsd-sparc64@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: 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 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, 2003/01/12 at 00:41:44 +0100, Roderick van Domburg wrote: > Running on a Sun Enterprise 250 with a single UltraSparc-II CPU, 512 MB RAM > and three Fujitsu SCSI-II hard disks. I've had this same problem with > sources over the past few (three?) days. I had to copy this dmesg by hand, > so please bear with any possible typos. Please try the attached diff. The crash was due to what I consider a driver bug (not checking the error in the bus_dmamap_load() callback), however due to the FreeBSD busdma API being largely undocumented it is a bit difficult to tell what should be considered legal. Much more problematic is to assume that the first segment's bus address will be 0 in the error case. This is not currently guaranteed by any implementation. The attached patch fixes that, and also passes a valid pointer to the callback for maximum compatability. It also fixes some other bugs I came across. This does however still not address the reason for the bus_dmamap_load() failure; I'm not really sure why this does happen. Please look for messages like: __sym_calloc2: failed to allocate ... and tell me if you see any of them. - 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 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="iommu-errbd.diff" Index: dev/sym/sym_hipd.c =================================================================== RCS file: /ncvs/src/sys/dev/sym/sym_hipd.c,v retrieving revision 1.38 diff -u -r1.38 sym_hipd.c --- dev/sym/sym_hipd.c 1 Jan 2003 18:48:52 -0000 1.38 +++ dev/sym/sym_hipd.c 12 Jan 2003 01:05:21 -0000 @@ -712,7 +712,10 @@ { bus_addr_t *baddr; baddr = (bus_addr_t *)arg; - *baddr = segs->ds_addr; + if (error != 0) + *baddr = 0; + else + *baddr = segs->ds_addr; } static m_addr_t ___dma_getp(m_pool_s *mp) @@ -728,8 +731,9 @@ if (bus_dmamem_alloc(mp->dmat, &vaddr, BUS_DMA_NOWAIT, &vbp->dmamap)) goto out_err; - bus_dmamap_load(mp->dmat, vbp->dmamap, vaddr, - MEMO_CLUSTER_SIZE, getbaddrcb, &baddr, 0); + if (bus_dmamap_load(mp->dmat, vbp->dmamap, vaddr, + MEMO_CLUSTER_SIZE, getbaddrcb, &baddr, 0)) + goto out_err; if (baddr) { int hc = VTOB_HASH_CODE(vaddr); vbp->vaddr = (m_addr_t) vaddr; @@ -744,8 +748,6 @@ bus_dmamap_unload(mp->dmat, vbp->dmamap); if (vaddr) bus_dmamem_free(mp->dmat, vaddr, vbp->dmamap); - if (vbp->dmamap) - bus_dmamap_destroy(mp->dmat, vbp->dmamap); if (vbp) __sym_mfree(&mp0, vbp, sizeof(*vbp), "VTOB"); return 0; Index: sparc64/sparc64/iommu.c =================================================================== RCS file: /ncvs/src/sys/sparc64/sparc64/iommu.c,v retrieving revision 1.14 diff -u -r1.14 iommu.c --- sparc64/sparc64/iommu.c 6 Jan 2003 21:59:54 -0000 1.14 +++ sparc64/sparc64/iommu.c 12 Jan 2003 00:58:39 -0000 @@ -517,7 +517,7 @@ { struct resource *res; struct bus_dmamap_res *bdr; - bus_size_t align, bound, sgsize; + bus_size_t align, sgsize; if ((bdr = malloc(sizeof(*bdr), M_IOMMU, M_NOWAIT)) == NULL) return (EAGAIN); @@ -531,9 +531,8 @@ sgsize = round_io_page(size) >> IO_PAGE_SHIFT; if (t->dt_boundary > 0 && t->dt_boundary < IO_PAGE_SIZE) panic("iommu_dvmamap_load: illegal boundary specified"); - bound = ulmax(t->dt_boundary >> IO_PAGE_SHIFT, 1); res = rman_reserve_resource_bound(&iommu_dvma_rman, 0L, - t->dt_lowaddr, sgsize, bound >> IO_PAGE_SHIFT, + t->dt_lowaddr, sgsize, t->dt_boundary >> IO_PAGE_SHIFT, RF_ACTIVE | rman_make_alignment_flags(align), NULL); if (res == NULL) return (ENOMEM); @@ -860,7 +859,7 @@ if (error != 0) { iommu_dvmamap_vunload(is, map); - (*cb)(cba, NULL, 0, error); + (*cb)(cba, sgs, 0, error); } else { /* Move the map to the end of the LRU queue. */ iommu_map_insq(map); Index: kern/subr_rman.c =================================================================== RCS file: /ncvs/src/sys/kern/subr_rman.c,v retrieving revision 1.27 diff -u -r1.27 subr_rman.c --- kern/subr_rman.c 27 Nov 2002 03:55:22 -0000 1.27 +++ kern/subr_rman.c 12 Jan 2003 00:43:52 -0000 @@ -229,7 +229,7 @@ */ do { rstart = (rstart + amask) & ~amask; - if (((rstart ^ (rstart + count)) & bmask) != 0) + if (((rstart ^ (rstart + count - 1)) & bmask) != 0) rstart += bound - (rstart & ~bmask); } while ((rstart & amask) != 0 && rstart < end && rstart < s->r_end); --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 19:16:31 2003 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 0D48F37B405; Sat, 11 Jan 2003 19:16:30 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-106-179.dsl.lsan03.pacbell.net [64.169.106.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91D1F43F79; Sat, 11 Jan 2003 19:16:27 -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 2A00066B3A; Sat, 11 Jan 2003 19:16:27 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 087AC8F9; Sat, 11 Jan 2003 19:16:27 -0800 (PST) Date: Sat, 11 Jan 2003 19:16:26 -0800 From: Kris Kennaway To: sparc@FreeBSD.org Cc: current@FreeBSD.org Subject: fpsetmask on sparc64 Message-ID: <20030112031626.GA15783@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline 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 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable fpsetmask is not defined in or on sparc64 (it is on i386): /usr/include/machine/floatingpoint.h:#define fpsetmask(m) ((fp_except= _t) \ /usr/include/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t); /usr/include/floatingpoint.h:#define fpsetmask(m) ((fp_except_t) = =20 This appears to cause the following port failures/warnings: amphetamine-0.8.10.log:src/Main.cpp:79: `fpsetmask' undeclared (first use t= his function) glasteroids-1.0.log:Glasteroids.cxx:82: `fpsetmask' undeclared (first use t= his function) lame-devel-3.89b.log:util.c:883: warning: implicit declaration of function = `fpsetmask' smalltalk-2.0.8.log:lex.c:814: warning: implicit declaration of function `f= psetmask' xmrm-2.0_2.log:morphvec.cc:439: `fpsetmask' undeclared (first use this func= tion) Is this an omission, or are the ports wrong? Kris --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+IN4KWry0BWjoQKURAnuDAJwMi0LF+NqdNYHZgrAYK+2xAqLPQACfeKhK LL8XICSiJnCJBaQRYz4m9aA= =PfOU -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 20:47:24 2003 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 4300237B401; Sat, 11 Jan 2003 20:47:22 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-106-179.dsl.lsan03.pacbell.net [64.169.106.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 315CB43F3F; Sat, 11 Jan 2003 20:47:21 -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 BC5B666B3A; Sat, 11 Jan 2003 20:47:20 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 9272181A; Sat, 11 Jan 2003 20:47:20 -0800 (PST) Date: Sat, 11 Jan 2003 20:47:20 -0800 From: Kris Kennaway To: Kris Kennaway Cc: sparc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: fpsetmask on sparc64 Message-ID: <20030112044720.GA16393@rot13.obsecurity.org> References: <20030112031626.GA15783@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <20030112031626.GA15783@rot13.obsecurity.org> 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 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 11, 2003 at 07:16:26PM -0800, Kris Kennaway wrote: > fpsetmask is not defined in or > on sparc64 (it is on i386): >=20 > /usr/include/machine/floatingpoint.h:#define fpsetmask(m) ((fp_exce= pt_t) \ > /usr/include/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t); > /usr/include/floatingpoint.h:#define fpsetmask(m) ((fp_except_t) = =20 >=20 > This appears to cause the following port failures/warnings: >=20 > amphetamine-0.8.10.log:src/Main.cpp:79: `fpsetmask' undeclared (first use= this function) > glasteroids-1.0.log:Glasteroids.cxx:82: `fpsetmask' undeclared (first use= this function) > lame-devel-3.89b.log:util.c:883: warning: implicit declaration of functio= n `fpsetmask' > smalltalk-2.0.8.log:lex.c:814: warning: implicit declaration of function = `fpsetmask' > xmrm-2.0_2.log:morphvec.cc:439: `fpsetmask' undeclared (first use this fu= nction) >=20 > Is this an omission, or are the ports wrong? Here's another FP-related failure: http://bento.freebsd.org/errorlogs/sparc64-5-latest/xaos-3.0.log FP_X_DNML is defined on i386 in /usr/include/machine/ieeefp.h, but not on sparc64. Kris --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+IPNYWry0BWjoQKURAkSbAKDYFIJRcSo2f0X0bJMsVyBLozYrdQCgp5sc EGtX2Yx7Zcg6xeKki4wKyT4= =19Aa -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 21: 4:25 2003 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 8178037B401; Sat, 11 Jan 2003 21:04:24 -0800 (PST) Received: from soulshock.mail.pas.earthlink.net (soulshock.mail.pas.earthlink.net [207.217.120.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B004443F3F; Sat, 11 Jan 2003 21:04:23 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from stork (stork.mail.pas.earthlink.net [207.217.120.188]) by soulshock.mail.pas.earthlink.net (8.11.6+Sun/8.11.6) with ESMTP id h0C4gmH11327; Sat, 11 Jan 2003 20:42:48 -0800 (PST) Received: from pool0059.cvx22-bradley.dialup.earthlink.net ([209.179.198.59] helo=mindspring.com) by stork with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18XZx0-0000J4-00; Sat, 11 Jan 2003 20:42:23 -0800 Message-ID: <3E20F1CC.DD77F760@mindspring.com> Date: Sat, 11 Jan 2003 20:40:44 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kris Kennaway Cc: sparc@FreeBSD.org, current@FreeBSD.org Subject: Re: fpsetmask on sparc64 References: <20030112031626.GA15783@rot13.obsecurity.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a40873e2a9908a277f03e4b22bcbf388f3350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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 Kris Kennaway wrote: > fpsetmask is not defined in or > on sparc64 (it is on i386): [ ... ] > Is this an omission, or are the ports wrong? An OS abstracts the differences in underlying hardware, for the benefit of the software it hosts. If there is code that compiles on FreeBSD for one platform, and does not compile on FreeBSD for another, either the code is hardware-specific, or the OS is not doing its job. In this case, I believe the OS is not doing its job, according to POSIX. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 22:28:55 2003 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 BF13637B401; Sat, 11 Jan 2003 22:28:53 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C20143F18; Sat, 11 Jan 2003 22:28:52 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id RAA12586; Sun, 12 Jan 2003 17:28:34 +1100 Date: Sun, 12 Jan 2003 17:29:04 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway Cc: sparc@FreeBSD.ORG, Subject: Re: fpsetmask on sparc64 In-Reply-To: <20030112031626.GA15783@rot13.obsecurity.org> Message-ID: <20030112165423.K5527-100000@gamplex.bde.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 Sat, 11 Jan 2003, Kris Kennaway wrote: > fpsetmask is not defined in or > on sparc64 (it is on i386): > > /usr/include/machine/floatingpoint.h:#define fpsetmask(m) ((fp_except_t) \ > /usr/include/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t); > /usr/include/floatingpoint.h:#define fpsetmask(m) ((fp_except_t) > > This appears to cause the following port failures/warnings: > > amphetamine-0.8.10.log:src/Main.cpp:79: `fpsetmask' undeclared (first use this function) > ... > Is this an omission, or are the ports wrong? First answer: This is a bug in the ports. The non-i386 arches are apparently including instead of the documented interface . I think the ports are only meddling the FP mask to hide their FP errors when running under FreeBSD-3.x and earlier anyway. They would have to use to suppport FreeBSD-2.x since didn't exist until FreeBSD-3.1. FreeBSD-4.0 and later hide FP errors by default. Second answer: Ports should use the C99 interfaces fe{get,set}*() from , and then only if C99 is supported. There might be problems with this too: - C99 isn't supported yet. - C99 doesn't have fesetmask(). This is partly because it would be very unportable. It is not an IEEE FP feature. C99 only has fesetenv(FE_DFL_ENV) to recover from any meddling with the FP environment. - Non-default FP environments should only be used in small sections of code, since large parts of libraries, etc. are entitled to assume that the environment is the default. So changing the FP mask to a non-default value at program startup time would give undefined behaviour if it were possible. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 22:36:54 2003 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 C7E8637B401; Sat, 11 Jan 2003 22:36:53 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5B7043EB2; Sat, 11 Jan 2003 22:36:52 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id RAA13047; Sun, 12 Jan 2003 17:36:47 +1100 Date: Sun, 12 Jan 2003 17:37:17 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Kris Kennaway Cc: sparc@FreeBSD.ORG, Subject: Re: fpsetmask on sparc64 In-Reply-To: <20030112044720.GA16393@rot13.obsecurity.org> Message-ID: <20030112172919.E5527-100000@gamplex.bde.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 Sat, 11 Jan 2003, Kris Kennaway wrote: > Here's another FP-related failure: > > http://bento.freebsd.org/errorlogs/sparc64-5-latest/xaos-3.0.log > > FP_X_DNML is defined on i386 in /usr/include/machine/ieeefp.h, but not > on sparc64. This is a bug in the port. Denormals are not in IEEE FP. i386 is the only supported arch that has them. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 11 22:52: 7 2003 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 3500D37B401; Sat, 11 Jan 2003 22:52:06 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 876D943F3F; Sat, 11 Jan 2003 22:52:05 -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 h0C6qLjb002906; Sun, 12 Jan 2003 01:52:21 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id h0C6qLaU002905; Sun, 12 Jan 2003 01:52:21 -0500 (EST) Date: Sun, 12 Jan 2003 01:52:21 -0500 From: Jake Burkholder To: Kris Kennaway Cc: sparc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: fpsetmask on sparc64 Message-ID: <20030112015221.G212@locore.ca> References: <20030112031626.GA15783@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030112031626.GA15783@rot13.obsecurity.org>; from kris@obsecurity.org on Sat, Jan 11, 2003 at 07:16:26PM -0800 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 Sat, Jan 11, 2003 at 07:16:26PM -0800, Kris Kennaway said words to the effect of; > fpsetmask is not defined in or > on sparc64 (it is on i386): > > /usr/include/machine/floatingpoint.h:#define fpsetmask(m) ((fp_except_t) \ > /usr/include/ieeefp.h:extern fp_except_t fpsetmask(fp_except_t); > /usr/include/floatingpoint.h:#define fpsetmask(m) ((fp_except_t) > > This appears to cause the following port failures/warnings: > > amphetamine-0.8.10.log:src/Main.cpp:79: `fpsetmask' undeclared (first use this function) > glasteroids-1.0.log:Glasteroids.cxx:82: `fpsetmask' undeclared (first use this function) > lame-devel-3.89b.log:util.c:883: warning: implicit declaration of function `fpsetmask' > smalltalk-2.0.8.log:lex.c:814: warning: implicit declaration of function `fpsetmask' > xmrm-2.0_2.log:morphvec.cc:439: `fpsetmask' undeclared (first use this function) > > Is this an omission, or are the ports wrong? FWIW, the alpha headers are basically identical to the sparc64 ones. There may be missing ifdefs in the ports or the makefiles. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message