From owner-freebsd-alpha Sun May 12 7: 4:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by hub.freebsd.org (Postfix) with ESMTP id 4747C37B405 for ; Sun, 12 May 2002 07:04:47 -0700 (PDT) Received: from roshomon (pcp01167952pcs.roylok01.mi.comcast.net [68.62.17.63]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.1 HotFix 0.6 (built Apr 26 2002)) with ESMTP id <0GW000KU94FYMF@mtaout03.icomcast.net> for freebsd-alpha@freebsd.org; Sun, 12 May 2002 10:04:46 -0400 (EDT) Date: Sun, 12 May 2002 10:04:35 -0400 From: "Coffin, Dexter" Subject: Re: [Fwd: Re: Java 2 !] In-reply-to: <15579.48426.546071.483019@grasshopper.cs.duke.edu> To: alpha Message-id: <1021212276.386.29.camel@roshomon.idnopheq.net> MIME-version: 1.0 X-Mailer: Ximian Evolution 1.0.4 Content-type: text/plain Content-transfer-encoding: 7BIT References: <1020973305.90466.9.camel@roshomon.idnopheq.net> <15579.48426.546071.483019@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Happy Mom's Day to all and your's! With many thanks to Andrew Gallatin and Roberto de Iriarte, I got the Compaq Java 2 running and wrapped it up with javavmwrapper while watching the Red Wings take their series against the Blues. Now I'll ask another question. With the ability to run Linux Java, what steps are required to get the native JDK (say 1.3) to compile? IIRC, the i386 port requires linux-java to build the native java, so that hurdle ~might~ be leaped. Take out the i386 requirement from the Makefile. Grab the jdk source from Sun and get the patches. Anything else? Anyone else try this? Advice? If this REALLY should be directed to the freebsd-java list, let me know. From monitoring that list, they seem more focused on i386 right now. p.s. - deepest apologies for the previous post in triplicate. Comcast's SMTP server opted to sit on my email for a few days, hence my second post attempt and Paul's forward. I'll give it a week next time! On Fri, 2002-05-10 at 08:29, Andrew Gallatin wrote: > > Coffin, Dexter writes: > > I think I blew step D below with linux-devel. Any thoughts? > > Yes, you probably did. > > I think the command lines to create them are something like this, but > its been over a year since I messed with it, so these probably are not > exactly correct: > > /compat/linux/.../ld -shared -o libots.so -soname libots.so > -whole-archive libots_ev5.a -no-whole-archive > > cp libots.so /compat/linux/lib > > /compat/linux/.../ld -shared -o libcpml_ev5.so -soname libcpml.so > -whole-archive libcpml_ev5.a -no-whole-archive -lots > > cp libcpml_ev5.so /compat/linux/lib/libcpml.so > > > And to ask the question in advance, how then does one tie it into > > Netscape 4.78 installed (the OSF/1 port)? > > You don't. Its a different executable format. > > Drew > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon May 13 2:14:33 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by hub.freebsd.org (Postfix) with ESMTP id 00B2437B40A; Mon, 13 May 2002 02:14:04 -0700 (PDT) Received: from mailgate.nlsystems.com ([62.49.251.130] helo=herring.nlsystems.com) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 177Bu2-0004R0-0U; Mon, 13 May 2002 10:13:58 +0100 Received: from herring.nlsystems.com (localhost [127.0.0.1]) by herring.nlsystems.com (8.12.3/8.11.2) with ESMTP id g4D9CevN050767; Mon, 13 May 2002 10:12:40 +0100 (BST) (envelope-from dfr@herring.nlsystems.com) Received: (from dfr@localhost) by herring.nlsystems.com (8.12.3/8.12.3/Submit) id g4D9CcQg050766; Mon, 13 May 2002 10:12:38 +0100 (BST) Content-Type: text/plain; charset="iso-8859-1" From: Doug Rabson To: John Baldwin , Alan Cox Subject: Re: gcc3 & alpha kernels Date: Mon, 13 May 2002 10:12:38 +0100 User-Agent: KMail/1.4.1 Cc: Jeff Roberson , alpha@FreeBSD.org, obrien@FreeBSD.org, Andrew Gallatin References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205131012.38702.dfr@nlsystems.com> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Saturday 11 May 2002 4:50 am, John Baldwin wrote: > On 11-May-2002 Alan Cox wrote: > > On Fri, May 10, 2002 at 08:48:37PM -0400, John Baldwin wrote: > >> ... I suggest that all the atomic > >> ops buried in the vm code be checked very carefully for these types = of > >> short/int mismatches as well as any int/long mismatches and the like= =2E > > > > In the MI parts of the vm, outside of _vm_object_allocate(), > > there is only one other use of atomic ops and that simply > > adds 1 to an u_int. The rest were removed when Giant was > > introduced. > > Hmm. Ok, after talking with jeff@ it is getting weirder. I was wrong > at first as we are hanging on the second atomic_cmpset, not hte first > (printf's help). It seems that gcc has a bug (*sigh*) in that instead = of > usign 'zapnot' to zero extned the unsigned int it passes in, it is now > using addl s0,zero,s0, but addl does sign extension on its result, so n= ow > we get a sign extended version to compare against. Thus, one way of fi= xing > this is to revert Jeff's earlier fix. However, it is arguably wrong fo= r > gcc to be sign-extending the unsigned int it is passing in. I've seen similar behaviour with gcc3 on ia64. --=20 Doug Rabson=09=09=09=09Mail: dfr@nlsystems.com =09=09=09=09=09Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon May 13 6:20:15 2002 Delivered-To: freebsd-alpha@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 05DDC37B407 for ; Mon, 13 May 2002 06:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4DDK1o19751; Mon, 13 May 2002 06:20:01 -0700 (PDT) (envelope-from gnats) Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196]) by hub.freebsd.org (Postfix) with ESMTP id B3FBE37B404 for ; Mon, 13 May 2002 06:18:01 -0700 (PDT) Received: (qmail-ldap/ctrl 83123 invoked from network); 13 May 2002 13:17:55 -0000 Received: from unknown (HELO satanii.enemy.org) ([62.116.11.3]) (envelope-sender ) by mx-00.sil.at (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 May 2002 13:17:55 -0000 Received: (from cjm@localhost) by satanii.enemy.org (8.11.6/8.11.6) id g4DDHxS36569; Mon, 13 May 2002 15:17:59 +0200 (CEST) (envelope-from cjm) Message-Id: <200205131317.g4DDHxS36569@satanii.enemy.org> Date: Mon, 13 May 2002 15:17:59 +0200 (CEST) From: "Chris J. Mutter" Reply-To: "Chris J. Mutter" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: alpha/38031: osf1.ko not loaded during boot-time of linux-emu enabled Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 38031 >Category: alpha >Synopsis: osf1.ko not loaded during boot-time of linux-emu enabled >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-alpha >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 13 06:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Chris J. Mutter >Release: FreeBSD 4.5-RELEASE-p4 alpha >Organization: Enemy.ORG Productions >Environment: System: FreeBSD satanii.enemy.org 4.5-RELEASE-p4 FreeBSD 4.5-RELEASE-p4 #3: Wed May 1 01:47:09 CEST 2002 root@satanii.enemy.org:/usr/obj/usr/src/sys/S2 alpha >Description: under freebsd-alpha if you enable linux-emulation the system doesnt load the osf1.ko kernel module before it tries to load the linux.ko. therefore linux-emulation does not work and i.e. things like the compaq-cc are not available after boot. >How-To-Repeat: boot the machine. >Fix: add kldload osf1.ko in /etc/rc in the section that starts with: case ${linux_enable} ... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon May 13 6:30:10 2002 Delivered-To: freebsd-alpha@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9E22837B403 for ; Mon, 13 May 2002 06:30:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4DDU3F20644; Mon, 13 May 2002 06:30:03 -0700 (PDT) (envelope-from gnats) Date: Mon, 13 May 2002 06:30:03 -0700 (PDT) Message-Id: <200205131330.g4DDU3F20644@freefall.freebsd.org> To: freebsd-alpha@FreeBSD.org Cc: From: Andrew Gallatin Subject: Re: alpha/38031: osf1.ko not loaded during boot-time of linux-emu enabled Reply-To: Andrew Gallatin Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR alpha/38031; it has been noted by GNATS. From: Andrew Gallatin To: "Chris J. Mutter" Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: alpha/38031: osf1.ko not loaded during boot-time of linux-emu enabled Date: Mon, 13 May 2002 09:26:23 -0400 (EDT) > >Fix: > > add kldload osf1.ko in /etc/rc in the section that starts with: > case ${linux_enable} ... That's more of a hacky workaround. The real fix would be to figure out why MODULE_DEPEND(linux, osf1, 1, 1, 1); does not work as it should. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon May 13 11:10:15 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id 62DAF37B403; Mon, 13 May 2002 11:10:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cs.rice.edu (Postfix) with ESMTP id 793944AA23; Mon, 13 May 2002 13:10:01 -0500 (CDT) Received: by cs.rice.edu (Postfix, from userid 19572) id E31064A9C4; Mon, 13 May 2002 13:10:00 -0500 (CDT) Date: Mon, 13 May 2002 13:10:00 -0500 From: Alan Cox To: Doug Rabson Cc: John Baldwin , Jeff Roberson , alpha@FreeBSD.org, obrien@FreeBSD.org, Andrew Gallatin Subject: Re: gcc3 & alpha kernels Message-ID: <20020513181000.GA15621@cs.rice.edu> References: <200205131012.38702.dfr@nlsystems.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="C7zPtVaVf+AK4Oqc" Content-Disposition: inline In-Reply-To: <200205131012.38702.dfr@nlsystems.com> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by AMaViS snapshot-20010714 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, May 13, 2002 at 10:12:38AM +0100, Doug Rabson wrote: > On Saturday 11 May 2002 4:50 am, John Baldwin wrote: > > On 11-May-2002 Alan Cox wrote: > > > On Fri, May 10, 2002 at 08:48:37PM -0400, John Baldwin wrote: > > >> ... I suggest that all the atomic > > >> ops buried in the vm code be checked very carefully for these types of > > >> short/int mismatches as well as any int/long mismatches and the like. > > > > > > In the MI parts of the vm, outside of _vm_object_allocate(), > > > there is only one other use of atomic ops and that simply > > > adds 1 to an u_int. The rest were removed when Giant was > > > introduced. > > > > Hmm. Ok, after talking with jeff@ it is getting weirder. I was wrong > > at first as we are hanging on the second atomic_cmpset, not hte first > > (printf's help). It seems that gcc has a bug (*sigh*) in that instead of > > usign 'zapnot' to zero extned the unsigned int it passes in, it is now > > using addl s0,zero,s0, but addl does sign extension on its result, so now > > we get a sign extended version to compare against. Thus, one way of fixing > > this is to revert Jeff's earlier fix. However, it is arguably wrong for > > gcc to be sign-extending the unsigned int it is passing in. > > I've seen similar behaviour with gcc3 on ia64. > Could you please test the following patch and let me know if it helps? (It converts the types of various fields and variables to unsigned. It also reorders two fields to reduce alignment induced padding per Andrew's suggestion.) Regards, Alan --C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="vm_object.patch" Index: vm/vm_object.c =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_object.c,v retrieving revision 1.211 diff -c -r1.211 vm_object.c *** vm/vm_object.c 6 May 2002 05:45:57 -0000 1.211 --- vm/vm_object.c 11 May 2002 17:35:15 -0000 *************** *** 146,152 **** static long object_collapses; static long object_bypasses; ! static int next_index; static uma_zone_t obj_zone; #define VM_OBJECTS_INIT 256 --- 146,152 ---- static long object_collapses; static long object_bypasses; ! static u_int next_index; static uma_zone_t obj_zone; #define VM_OBJECTS_INIT 256 *************** *** 189,196 **** void _vm_object_allocate(objtype_t type, vm_size_t size, vm_object_t object) { ! static int object_hash_rand; ! int exp, incr; TAILQ_INIT(&object->memq); TAILQ_INIT(&object->shadow_head); --- 189,196 ---- void _vm_object_allocate(objtype_t type, vm_size_t size, vm_object_t object) { ! static u_int object_hash_rand; ! u_int exp, incr; TAILQ_INIT(&object->memq); TAILQ_INIT(&object->shadow_head); Index: vm/vm_object.h =================================================================== RCS file: /home/ncvs/src/sys/vm/vm_object.h,v retrieving revision 1.78 diff -c -r1.78 vm_object.h *** vm/vm_object.h 6 May 2002 00:12:47 -0000 1.78 --- vm/vm_object.h 11 May 2002 17:35:15 -0000 *************** *** 92,102 **** TAILQ_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */ TAILQ_ENTRY(vm_object) shadow_list; /* chain of shadow objects */ TAILQ_HEAD(, vm_page) memq; /* list of resident pages */ - int generation; /* generation ID */ vm_size_t size; /* Object size */ int ref_count; /* How many refs?? */ int shadow_count; /* how many objects that this is a shadow for */ ! int hash_rand; /* (c) hash table randomizer */ objtype_t type; /* type of pager */ u_short flags; /* see below */ u_short pg_color; /* (c) color of first page in obj */ --- 92,102 ---- TAILQ_HEAD(, vm_object) shadow_head; /* objects that this is a shadow for */ TAILQ_ENTRY(vm_object) shadow_list; /* chain of shadow objects */ TAILQ_HEAD(, vm_page) memq; /* list of resident pages */ vm_size_t size; /* Object size */ + int generation; /* generation ID */ int ref_count; /* How many refs?? */ int shadow_count; /* how many objects that this is a shadow for */ ! u_int hash_rand; /* (c) hash table randomizer */ objtype_t type; /* type of pager */ u_short flags; /* see below */ u_short pg_color; /* (c) color of first page in obj */ --C7zPtVaVf+AK4Oqc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon May 13 13: 7:29 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from aromo.spock.cl (aromo.spock.cl [200.27.125.98]) by hub.freebsd.org (Postfix) with ESMTP id D472537B404 for ; Mon, 13 May 2002 13:07:22 -0700 (PDT) Received: from there (multia.spock.cl [200.27.125.107]) by aromo.spock.cl (8.11.1/8.9.3) with SMTP id g4DK7WA90058; Mon, 13 May 2002 16:07:32 -0400 (CLT) Message-Id: <200205132007.g4DK7WA90058@aromo.spock.cl> Content-Type: text/plain; charset="iso-8859-1" From: Roberto de Iriarte Organization: Spock S.A. To: "Coffin, Dexter" Subject: Re: [Fwd: Re: Java 2 !] Date: Mon, 13 May 2002 16:06:36 -0400 X-Mailer: KMail [version 1.3.2] References: <1020973305.90466.9.camel@roshomon.idnopheq.net> <15579.48426.546071.483019@grasshopper.cs.duke.edu> <1021212276.386.29.camel@roshomon.idnopheq.net> In-Reply-To: <1021212276.386.29.camel@roshomon.idnopheq.net> Cc: freebsd-alpha@FreeBSD.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sunday 12 May 2002 10:04, you wrote: > Happy Mom's Day to all and your's! > > With many thanks to Andrew Gallatin and Roberto de Iriarte, I got the > Compaq Java 2 running and wrapped it up with javavmwrapper while > watching the Red Wings take their series against the Blues. > > Now I'll ask another question. With the ability to run Linux Java, what > steps are required to get the native JDK (say 1.3) to compile? IIRC, > the i386 port requires linux-java to build the native java, so that > hurdle ~might~ be leaped. > > Take out the i386 requirement from the Makefile. > > Grab the jdk source from Sun and get the patches. > > Anything else? Anyone else try this? Advice? > Ouch, this is ambitious. I had not thought about it, but it sounds interesting, and very challenging, to say the least. On a sidenote, there used to be a JVM for the alpha by the name of CACAO, that promised very high performance, but, according to http://www.complang.tuwien.ac.at/java/cacao/index.html one would thought that development had been abandoned. However, i fount this email from the autor posted to iecc, http://compilers.iecc.com/comparch/article/99-11-062, maybe we should contact him ? Regards. Roberto BTW, i will check out that sources for the jdk too. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 12:44:54 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id A4F4937B400 for ; Tue, 14 May 2002 12:44:39 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id C55A5535F; Tue, 14 May 2002 21:44:37 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: alpha@freebsd.org Subject: SRM docs From: Dag-Erling Smorgrav Date: 14 May 2002 21:44:37 +0200 Message-ID: Lines: 5 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Does anyone know if there are any SRM docs online somewhere? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 12:49:22 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 7EC5637B401 for ; Tue, 14 May 2002 12:49:19 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id PAA08821; Tue, 14 May 2002 15:49:17 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4EJmlH18474; Tue, 14 May 2002 15:48:47 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15585.27167.839721.361088@grasshopper.cs.duke.edu> Date: Tue, 14 May 2002 15:48:47 -0400 (EDT) To: Dag-Erling Smorgrav Cc: alpha@FreeBSD.ORG Subject: Re: SRM docs In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dag-Erling Smorgrav writes: > Does anyone know if there are any SRM docs online somewhere? http://ftp.digital.com/pub/Digital/info/semiconductor/literature/srmcons.pdf What do you need to know? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 12:50:22 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id B355D37B400 for ; Tue, 14 May 2002 12:50:18 -0700 (PDT) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.3/8.12.2) with ESMTP id g4EJoFRH002683; Tue, 14 May 2002 21:50:15 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.3/8.12.3/Submit) id g4EJoF3Q002682; Tue, 14 May 2002 21:50:15 +0200 (CEST) Date: Tue, 14 May 2002 21:50:15 +0200 From: Wilko Bulte To: Andrew Gallatin Cc: Dag-Erling Smorgrav , alpha@FreeBSD.ORG Subject: Re: SRM docs Message-ID: <20020514215015.A2661@freebie.xs4all.nl> References: <15585.27167.839721.361088@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15585.27167.839721.361088@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Tue, May 14, 2002 at 03:48:47PM -0400 X-OS: FreeBSD 4.6-PRERELEASE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, May 14, 2002 at 03:48:47PM -0400, Andrew Gallatin wrote: > > > Dag-Erling Smorgrav writes: > > Does anyone know if there are any SRM docs online somewhere? > > http://ftp.digital.com/pub/Digital/info/semiconductor/literature/srmcons.pdf > > What do you need to know? DES is playing with his new Miata ;) -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 12:54:12 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from malkavian.org (malkavian.org [206.136.132.23]) by hub.freebsd.org (Postfix) with ESMTP id D0C9937B403 for ; Tue, 14 May 2002 12:54:09 -0700 (PDT) Received: (from rbw@localhost) by malkavian.org (8.11.6/8.11.1) id g4EJrvA78010; Tue, 14 May 2002 15:53:57 -0400 (EDT) (envelope-from rbw@myplace.org) Date: Tue, 14 May 2002 12:53:57 -0700 From: "brian j. peterson" To: Dag-Erling Smorgrav Cc: alpha@FreeBSD.ORG Subject: Re: SRM docs Message-ID: <20020514125356.G43712@malkavian.org> Mail-Followup-To: Dag-Erling Smorgrav , alpha@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from des@ofug.org on Tue, May 14, 2002 at 09:44:37PM +0200 X-URL: http://rbw.myplace.org/ Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, May 14, 2002 at 09:44:37PM +0200, Dag-Erling Smorgrav wrote: > Does anyone know if there are any SRM docs online somewhere? > > DES this may help: http://www.support.compaq.com/alpha-tools/documentation/archive/sdk/ec-qk8df-te_srm_cons_mb_users_gde.pdf -- --===-----=======-----------=============-----------------=================== bjp aka rbw | and did you exchange a walk on part in the war rbw@myplace.org | for a lead role in a cage? ===================-----------------=============-----------=======-----===-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 13:19:28 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from C-Tower.Area51.DK (c-tower.area51.dk [212.242.89.130]) by hub.freebsd.org (Postfix) with SMTP id CE3B137B404 for ; Tue, 14 May 2002 13:19:24 -0700 (PDT) Received: (qmail 92591 invoked by uid 1000); 14 May 2002 20:19:23 -0000 Date: Tue, 14 May 2002 22:19:23 +0200 From: Gorm Jorgensen To: alpha@FreeBSD.ORG Subject: Alpha CPU Performance vs i386 Message-ID: <20020514201923.GK37326@Area51.DK> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I can't seem to find any specs on how an Alpha 500 MHz is performing vs an Intel 500MHz. Is Alpha faster, slower or generally the same ? This is difficult I know, cause Intel has Pentium II, III and other sorts - but just some generally hint might help me. I'm just curious to find out if my Miata 500au is better than my Dual PPro 200 MHz. -- Gorm Jorgensen - Area51.DK GE d+ s: a- C+++ UB++++ P++ L+++ E--- W+++ N++ w--- O- M-- V-- P++ tv- G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 13:23:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id 0626937B406 for ; Tue, 14 May 2002 13:23:47 -0700 (PDT) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.3/8.12.2) with ESMTP id g4EKNiRH002930; Tue, 14 May 2002 22:23:45 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.3/8.12.3/Submit) id g4EKNi8w002929; Tue, 14 May 2002 22:23:44 +0200 (CEST) Date: Tue, 14 May 2002 22:23:44 +0200 From: Wilko Bulte To: Gorm Jorgensen Cc: alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 Message-ID: <20020514222344.A2915@freebie.xs4all.nl> References: <20020514201923.GK37326@Area51.DK> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020514201923.GK37326@Area51.DK>; from Gorm@Area51.DK on Tue, May 14, 2002 at 10:19:23PM +0200 X-OS: FreeBSD 4.6-PRERELEASE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, May 14, 2002 at 10:19:23PM +0200, Gorm Jorgensen wrote: > > I can't seem to find any specs on how an Alpha 500 MHz is performing vs an > Intel 500MHz. > > Is Alpha faster, slower or generally the same ? FP faster, integer is ?? Alpha is really sensitive to compiler optimizer quality. Compaq ccc (for Linux but usable under FreeBSD is reported to create much faster code then gcc. I have not tried this myself. In general: lots of YMMV here. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 13:25:38 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by hub.freebsd.org (Postfix) with ESMTP id 7C91737B407 for ; Tue, 14 May 2002 13:25:15 -0700 (PDT) Received: from fwd05.sul.t-online.de by mailout01.sul.t-online.com with smtp id 177irB-0008IF-0E; Tue, 14 May 2002 22:25:13 +0200 Received: from dill.salatschuessel.net (520085340291-0001@[217.226.24.173]) by fmrl05.sul.t-online.com with smtp id 177iqx-2HCt72C; Tue, 14 May 2002 22:24:59 +0200 Received: (qmail 17498 invoked from network); 14 May 2002 20:24:59 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (10.0.0.51) by dill.salatschuessel.net with SMTP; 14 May 2002 20:24:59 -0000 Date: Tue, 14 May 2002 22:24:58 +0200 From: Oliver Lehmann To: Dag-Erling Smorgrav Cc: alpha@freebsd.org Subject: Re: SRM docs Message-Id: <20020514222458.326f5f3d.lehmann@ans-netz.de> In-Reply-To: References: X-Mailer: Sylpheed version 0.7.5cvs8 (GTK+ 1.2.10; i386-unknown-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sender: 520085340291-0001@t-dialin.net Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On 14 May 2002 21:44:37 +0200 Dag-Erling Smorgrav wrote: > Does anyone know if there are any SRM docs online somewhere? for e.g. take: http://www.support.compaq.com/alpha-tools/documentation/archive/sdk/ec-qk8df-te_srm_cons_mb_users_gde.pdf But Only an End-User documentation. No internal things described there. Hope it helps. Greetings, Oliver -- :======> Oliver Lehmann <======: clear perl code is better than :====> lehmann@ans-netz.de <====: unclear awk code; but NOTHING :===> http://www.pofo.de/ <===: comes close to unclear perl code :=> http://wishlist.pofo.de/ <=: (taken from comp.lang.awk FAQ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 13:27: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id 4B7C937B404 for ; Tue, 14 May 2002 13:27:02 -0700 (PDT) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.3/8.12.2) with ESMTP id g4EKQwRH002988; Tue, 14 May 2002 22:26:58 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.3/8.12.3/Submit) id g4EKQw7S002987; Tue, 14 May 2002 22:26:58 +0200 (CEST) Date: Tue, 14 May 2002 22:26:58 +0200 From: Wilko Bulte To: Oliver Lehmann Cc: Dag-Erling Smorgrav , alpha@FreeBSD.ORG Subject: Re: SRM docs Message-ID: <20020514222658.B2952@freebie.xs4all.nl> References: <20020514222458.326f5f3d.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020514222458.326f5f3d.lehmann@ans-netz.de>; from lehmann@ans-netz.de on Tue, May 14, 2002 at 10:24:58PM +0200 X-OS: FreeBSD 4.6-PRERELEASE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, May 14, 2002 at 10:24:58PM +0200, Oliver Lehmann wrote: > Hi, > > On 14 May 2002 21:44:37 +0200 > Dag-Erling Smorgrav wrote: > > > Does anyone know if there are any SRM docs online somewhere? > > for e.g. take: > http://www.support.compaq.com/alpha-tools/documentation/archive/sdk/ec-qk8df-te_srm_cons_mb_users_gde.pdf > > But Only an End-User documentation. No internal things described there. There are no internal docs that I have seen. Just SRM source code. USTSL it seems ;) for those who have source (CPQ/HP only I think). -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 13:30: 7 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 2894B37B400 for ; Tue, 14 May 2002 13:29:54 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id QAA10183; Tue, 14 May 2002 16:29:54 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4EKTOo18567; Tue, 14 May 2002 16:29:24 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15585.29604.107299.259275@grasshopper.cs.duke.edu> Date: Tue, 14 May 2002 16:29:24 -0400 (EDT) To: Gorm Jorgensen Cc: alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 In-Reply-To: <20020514201923.GK37326@Area51.DK> References: <20020514201923.GK37326@Area51.DK> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Gorm Jorgensen writes: > > I can't seem to find any specs on how an Alpha 500 MHz is performing vs an > Intel 500MHz. > > Is Alpha faster, slower or generally the same ? Yes. Its generally slower for integer & faster for floating point than x86 hardware of a similar vintage. However, if you want good floating point, you need to use the compaq ccc compiler. > This is difficult I know, cause Intel has Pentium II, III and other sorts - > but just some generally hint might help me. > > I'm just curious to find out if my Miata 500au is better than my Dual PPro > 200 MHz. Since you own the machines, this is easy. Whichever machine is faster for what apps you care about is better. You don't need any benchmarks. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 13:35:36 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from poptart.bithose.com (poptart.bithose.com [208.171.236.145]) by hub.freebsd.org (Postfix) with ESMTP id 709D437B404 for ; Tue, 14 May 2002 13:35:26 -0700 (PDT) Received: from poptart.bithose.com (localhost [127.0.0.1]) by poptart.bithose.com (8.12.2/8.12.2) with ESMTP id g4EKYgjR087191; Tue, 14 May 2002 16:34:42 -0400 (EDT) Received: from localhost (jakari@localhost) by poptart.bithose.com (8.12.2/8.12.2/Submit) with ESMTP id g4EKYfdL087179; Tue, 14 May 2002 16:34:42 -0400 (EDT) X-Authentication-Warning: poptart.bithose.com: jakari owned process doing -bs Date: Tue, 14 May 2002 16:34:41 -0400 (EDT) From: Jameel Akari To: Wilko Bulte Cc: Gorm Jorgensen , Subject: Re: Alpha CPU Performance vs i386 In-Reply-To: <20020514222344.A2915@freebie.xs4all.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 14 May 2002, Wilko Bulte wrote: > On Tue, May 14, 2002 at 10:19:23PM +0200, Gorm Jorgensen wrote: > > > > I can't seem to find any specs on how an Alpha 500 MHz is performing vs an > > Intel 500MHz. > > > > Is Alpha faster, slower or generally the same ? > > FP faster, integer is ?? > > Alpha is really sensitive to compiler optimizer quality. Compaq ccc (for > Linux but usable under FreeBSD is reported to create much faster code > then gcc. I have not tried this myself. I can attest to this, though not under FreeBSD. When compiling the simple "flops.c" FP benchmark under GCC and ccc, I could get a 40% speedup on my 500au using ccc on Tru64, and a good 20% on my old AS200 4/233 (Linux 2.2.something and the Linux-native ccc) I also noticed a small but definite improvemnet in the speed and memory utiliaztion of Apache built with ccc vs. a gcc-built one. > In general: lots of YMMV here. Indeed. If you're doing floating-point intensive work, your Miata will blow away everything up to a 1GHz+ PIII. Integer... well, depends on your data and code, how much cache you have, etc. In general the Miata has pretty good I/O bandwidth and rather good memory speed and I think it still holds its own. (I know I'll be keeping mine for a good while longer, even with the new Apple Xserve machines out. ;) ) #!/jameel/akari for zig in $(find / -name zig); do rm -f "$zig"; done; export GREAT_JUSTICE=1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 14:12:29 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from postino.fi.infn.it (postino.fi.infn.it [192.84.145.9]) by hub.freebsd.org (Postfix) with ESMTP id 0B5D837B409 for ; Tue, 14 May 2002 14:12:23 -0700 (PDT) Received: from dijkstra.fi.infn.it (dijkstra.fi.infn.it [192.84.145.13]) by postino.fi.infn.it (8.12.1/8.12.1) with ESMTP id g4ELBO68082405; Tue, 14 May 2002 23:11:25 +0200 (CEST) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: postino.fi.infn.it From: Riccardo.Veraldi@fi.infn.it Received: by dijkstra.fi.infn.it (Postfix, from userid 1000) id 54E0836D81; Tue, 14 May 2002 23:11:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by dijkstra.fi.infn.it (Postfix) with ESMTP id 2FAF030C01; Tue, 14 May 2002 23:11:31 +0200 (CEST) Date: Tue, 14 May 2002 23:11:30 +0200 (CEST) X-X-Sender: fddi@dijkstra.fi.infn.it To: Gorm Jorgensen Cc: alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 In-Reply-To: <20020514201923.GK37326@Area51.DK> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org my guess is your miata 500au is better than your dual Pentium pro 200, but it depends on what you are doing... if you run a single CPU intensive process it will be much muhc much faster on a Pentium III 1GHz than on your miata. If you run 10 very intensive CPU processes on your Miata and on Pentium III 1GHz they will perform the same speed, in this case your miata = Pentium III 1GHz It depends also if hte progam you use is specint or specfp related program. I did this 10 concurrent processes test with the TSCP progam, and I got the result I told above. Rick On Tue, 14 May 2002, Gorm Jorgensen wrote: > > I can't seem to find any specs on how an Alpha 500 MHz is performing vs an > Intel 500MHz. > > Is Alpha faster, slower or generally the same ? > > This is difficult I know, cause Intel has Pentium II, III and other sorts - > but just some generally hint might help me. > > I'm just curious to find out if my Miata 500au is better than my Dual PPro > 200 MHz. > > -- > Gorm Jorgensen - Area51.DK > GE d+ s: a- C+++ UB++++ P++ L+++ E--- W+++ N++ w--- O- M-- V-- P++ tv- G-- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 14:18:17 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from aromo.spock.cl (aromo.spock.cl [200.27.125.98]) by hub.freebsd.org (Postfix) with ESMTP id 761CE37B40F for ; Tue, 14 May 2002 14:17:56 -0700 (PDT) Received: from aromo.spock.cl (aromo.spock.cl [200.27.125.98]) by aromo.spock.cl (8.11.1/8.9.3) with ESMTP id g4ELIIA05752 for ; Tue, 14 May 2002 17:18:18 -0400 (CLT) Date: Tue, 14 May 2002 17:18:18 -0400 (CLT) From: Roberto de Iriarte To: freebsd-alpha@FreeBSD.org Subject: Re: Alpha CPU Performance vs i386 In-Reply-To: <20020514201923.GK37326@Area51.DK> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 14 May 2002, Gorm Jorgensen wrote: > > I can't seem to find any specs on how an Alpha 500 MHz is performing vs an > Intel 500MHz. > > Is Alpha faster, slower or generally the same ? > It depends. alphas are much faster on fp, and perhaps slower on int code, BUT alphas tend to have higher bandwith than PC's, and this might outweight int code performance disadvantages. > This is difficult I know, cause Intel has Pentium II, III and other sorts - > but just some generally hint might help me. > > I'm just curious to find out if my Miata 500au is better than my Dual PPro > 200 MHz. > I used to run an AS2100A 5/375 side to side to an old SMP PPro 200/512K by Dec. I found the PC to be, as a whole, slower than the Alpha, especcialy on FP intensive code, but also on completely int code like postgreSQL, the respose times where twice as fast on the alpha, (Same amount of RAM, same database, same load = nil, same query). If you have both, use them! Just waiting for a good deal on a DS20 Good luck Regards Roberto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 16:51:53 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id B866D37B401 for ; Tue, 14 May 2002 16:51:51 -0700 (PDT) Received: from pool0398.cvx22-bradley.dialup.earthlink.net ([209.179.199.143] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 177m52-0000bw-00; Tue, 14 May 2002 16:51:44 -0700 Message-ID: <3CE1A2F1.53FAB803@mindspring.com> Date: Tue, 14 May 2002 16:51:13 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: alpha@freebsd.org Subject: Re: SRM docs References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dag-Erling Smorgrav wrote: > Does anyone know if there are any SRM docs online somewhere? Here is almost all the Alpha documentation on the planet: ftp://ftp.netbsd.org/pub/NetBSD/misc/dec-docs/index.html Whatever happened to Chris Demetriou? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 23:17:19 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from alcanet.com.au (mail2.alcanet.com.au [203.62.196.17]) by hub.freebsd.org (Postfix) with ESMTP id B830037B405 for ; Tue, 14 May 2002 23:17:13 -0700 (PDT) Received: from mfg1.cim.alcatel.com.au (localhost.localdomain [127.0.0.1]) by alcanet.com.au (8.12.1/8.12.1/Alcanet1.2) with ESMTP id g4F6GX6u003793; Wed, 15 May 2002 16:16:34 +1000 Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37640) with ESMTP id <01KHRH2GQTBK8X307U@cim.alcatel.com.au>; Wed, 15 May 2002 16:16:29 +1000 Received: from gsmx07.alcatel.com.au (localhost [127.0.0.1]) by gsmx07.alcatel.com.au (8.12.3/8.12.3) with ESMTP id g4F6GR01067385; Wed, 15 May 2002 16:16:27 +1000 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.12.3/8.12.3/Submit) id g4F6GR58067384; Wed, 15 May 2002 16:16:27 +1000 (EST) Content-return: prohibited Date: Wed, 15 May 2002 16:16:27 +1000 From: Peter Jeremy Subject: Re: Alpha CPU Performance vs i386 In-reply-to: <20020514222344.A2915@freebie.xs4all.nl>; from wkb@freebie.xs4all.nl on Tue, May 14, 2002 at 10:23:44PM +0200 To: Wilko Bulte , Gorm Jorgensen Cc: alpha@FreeBSD.ORG Mail-Followup-To: Wilko Bulte , Gorm Jorgensen , alpha@FreeBSD.ORG Message-id: <20020515161627.O18023@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5.1i References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> X-Authentication-warning: gsmx07.alcatel.com.au: jeremyp set sender to peter.jeremy@alcatel.com.au using -f Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2002-May-14 22:23:44 +0200, Wilko Bulte wrote: >On Tue, May 14, 2002 at 10:19:23PM +0200, Gorm Jorgensen wrote: >> >> I can't seem to find any specs on how an Alpha 500 MHz is performing vs an >> Intel 500MHz. BTW, you can't just say "Alpha 500 MHz". An EV6/500 in an ES40 is roughly twice as fast as an EV5/466 in an AS4100. >> Is Alpha faster, slower or generally the same ? > >FP faster, integer is ?? Note that correctly supporting IEEE FP will significantly hit Alpha performance - maybe 20-30% slower, _much_ worse if you have lots of non-finite numbers (denormals, infinities and NaNs). The hit should be slightly less on the latest AXP chips which support precise FP exceptions. My gut feeling is that an AS4100 EV5/466 is roughly on a par with a PII-266 integer-wise. At the low end, a Multia (LCA/166) is slightly better than a 486DX2-50 on worldstones. Since I'm currently waiting for it to finish - ssh between an ES40 EV6/500 and a PIII-600 suggests that the PIII-600 is around 50% faster at running blowfish. [In the last case, ssh and ssl were compiled using Compaq ccc with '-tune host -arch host' on the Alpha]. As someone else noted, memory and I/O bandwidth on most Alphas is far better than PCs. (The Multia and other LCA machines are probably the only exceptions). Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 23:20:59 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 631D137B401 for ; Tue, 14 May 2002 23:20:57 -0700 (PDT) Received: from pool0038.cvx22-bradley.dialup.earthlink.net ([209.179.198.38] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 177s9R-00063T-00; Tue, 14 May 2002 23:20:42 -0700 Message-ID: <3CE1FE1B.957C1AA3@mindspring.com> Date: Tue, 14 May 2002 23:20:11 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Peter Jeremy Cc: Wilko Bulte , Gorm Jorgensen , alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> <20020515161627.O18023@gsmx07.alcatel.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Peter Jeremy wrote: > As someone else noted, memory and I/O bandwidth on most Alphas is far > better than PCs. (The Multia and other LCA machines are probably the > only exceptions). The IBM RS/6000 hardware, with a 166MHz CPU, but with a crossbar bus, really kicks butt on a 1GHz PC, when it comes to anything I/O bound. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue May 14 23:56:29 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id D8BB537B40E for ; Tue, 14 May 2002 23:56:09 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2E14066DC8; Tue, 14 May 2002 23:56:09 -0700 (PDT) Date: Tue, 14 May 2002 23:56:08 -0700 From: Kris Kennaway To: alpha@FreeBSD.org Subject: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020514235608.A69014@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm seeing the following on the alpha package cluster when trying to netboot a 4.6-PRERELEASE kernel: ---- Sending DHCP Discover packet from interface dc1 (00:00:f8:06:8c:3c) Sending DHCP Discover packet from interface faith0 (00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00) DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 Received DHCP Offer packet on dc1 from 216.136.204.64 (accepted) (no root path) dc0: watchdog timeout Sending DHCP Request packet from interface dc1 (00:00:f8:06:8c:3c) DHCP/BOOTP timeout for server 255.255.255.255 Received DHCP Ack packet on dc1 from 216.136.204.64 (accepted) (got root path) fatal kernel trap: trap entry = 0x2 (memory management fault) a0 = 0x0 a1 = 0x1 a2 = 0xffffffffffffffff pc = 0x0 ra = 0xfffffc000056bcc0 curproc = 0 panic: trap syncing disks... done Uptime: 41s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... halted CPU 0 halt code = 5 HALT instruction executed PC = fffffc000056e2f0 CPU 0 booting Inconsistent boot driver state. System will be reset prior to boot. ---- Eventually the system will boot, but it takes several attempts. Has anyone else seen this? Kris --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84gaIWry0BWjoQKURAnAoAJ0UH6A6n2CBA8MNyX+eKlncZ5xxiQCg32FB RxNUf+eHtZkSWJHePBzdk1I= =GyAD -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 0:33: 9 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from gnah.bolet.org (gnah.bolet.org [80.65.226.87]) by hub.freebsd.org (Postfix) with ESMTP id 87E4C37B404 for ; Wed, 15 May 2002 00:33:04 -0700 (PDT) Received: (from pornin@localhost) by gnah.bolet.org (8.11.6/8.11.6) id g4F7X1V50396 for alpha@FreeBSD.org; Wed, 15 May 2002 09:33:02 +0200 (CEST) (envelope-from pornin) Date: Wed, 15 May 2002 09:33:00 +0200 From: Thomas Pornin To: alpha@FreeBSD.org Subject: Re: Alpha CPU Performance vs i386 Message-ID: <20020515093259.A50064@gnah.bolet.org> References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> <20020515161627.O18023@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20020515161627.O18023@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Wed, May 15, 2002 at 04:16:27PM +1000 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 04:16:27PM +1000, Peter Jeremy wrote: > ssh between an ES40 EV6/500 and a PIII-600 suggests that the PIII-600 > is around 50% faster at running blowfish. Cryptographic code is usually not a very good benchmark for comparing a PC with a non-PC, unless what you are interesting in is actually performing that very same cryptographic operation. There are multiple reasons to that: -- Software which includes some cryptographic operation often uses a hand-made specially optimized assembly implementation for the PC, and a generic portable C implementation for everything else. Call it market pressure if you like. The bottom-line is that the generic portable implementation will not use more than 32 of the 64 bits of the Alpha. -- Some cryptographic algorithms are specially designed to fit well an architecture, and this architecture is often the PC. Blowfish was designed to be acceptable on all architectures, but this was in 1993, and in 1993 there was no problem in using byte-indexed arrays, which are more efficient on the PC than the Alpha. As extreme examples, one might speak of RC5 (completely PC-bound with data-dependant rotations of 32-bit values, which are very slow to perform on most non-PC architectures), and DFC (candidate to the AES normalization process, blazingly faster on the Alpha than on anything else because it uses a 64x64->128 bits multiplication). I have used as my main working machine a Miata for three years (under Linux first, then FreeBSD) and I came to the following conclusions: -- The PC will performe better than the equally-clocked Alpha on byte-intensive stuff, such as string handling, pattern matching and so. -- The Alpha will utterly crush the PC at floating point operations, especially when using the Compaq compiler. Actually, the Compaq compiler comes with an optimized math library (libcpml), slightly less precise but much faster. I compiled the "lame" MP3 encoder with gcc, and simply linking the binary with libcpml rather than the GNU libm yielded an executable thrice faster. -- The two preceeding conclusions are only mostly true. On any specific task, your mileage may vary greatly. --Thomas Pornin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 0:51:47 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 4AFBF37B400 for ; Wed, 15 May 2002 00:51:44 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 4047B5307; Wed, 15 May 2002 09:51:42 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: alpha@FreeBSD.org Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE References: <20020514235608.A69014@xor.obsecurity.org> From: Dag-Erling Smorgrav Date: 15 May 2002 09:51:41 +0200 In-Reply-To: <20020514235608.A69014@xor.obsecurity.org> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Speaking of DHCP, can anyone explain the following: # /sbin/dhclient dc0 pid 43 (dhclient): unaligned access: va=0x11fff02c pc=0x1200271d4 ra=0x1200270fc pid 43 (dhclient): unaligned access: va=0x11fff034 pc=0x1200271d8 ra=0x1200270fc This is on a PWS500au running a freshly installed 5.0-DP1 (not for long though, building world as we speak) DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 0:53:36 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 29D3537B405 for ; Wed, 15 May 2002 00:53:34 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id A446C5307; Wed, 15 May 2002 09:53:32 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: alpha@FreeBSD.org Subject: Unaligned access from dhclient References: <20020514235608.A69014@xor.obsecurity.org> From: Dag-Erling Smorgrav Date: 15 May 2002 09:53:31 +0200 In-Reply-To: Message-ID: Lines: 16 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dag-Erling Smorgrav writes: > Speaking of DHCP, can anyone explain the following: > > # /sbin/dhclient dc0 > pid 43 (dhclient): unaligned access: va=0x11fff02c pc=0x1200271d4 ra=0x1200270fc > pid 43 (dhclient): unaligned access: va=0x11fff034 pc=0x1200271d8 ra=0x1200270fc > > This is on a PWS500au running a freshly installed 5.0-DP1 (not for > long though, building world as we speak) 600au, even (not that it matters), and I meant to change the subject but forgot. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 0:55:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from gnah.bolet.org (gnah.bolet.org [80.65.226.87]) by hub.freebsd.org (Postfix) with ESMTP id 88E7B37B405 for ; Wed, 15 May 2002 00:55:48 -0700 (PDT) Received: (from pornin@localhost) by gnah.bolet.org (8.11.6/8.11.6) id g4F7tk250706 for alpha@FreeBSD.org; Wed, 15 May 2002 09:55:46 +0200 (CEST) (envelope-from pornin) Date: Wed, 15 May 2002 09:55:44 +0200 From: Thomas Pornin To: alpha@FreeBSD.org Subject: Re: Alpha CPU Performance vs i386 Message-ID: <20020515095544.A50576@gnah.bolet.org> References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> <20020515161627.O18023@gsmx07.alcatel.com.au> <20020515093259.A50064@gnah.bolet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20020515093259.A50064@gnah.bolet.org>; from pornin@bolet.org on Wed, May 15, 2002 at 09:33:00AM +0200 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 09:33:00AM +0200, Thomas Pornin wrote: > I have used as my main working machine a Miata for three years (under > Linux first, then FreeBSD) and I came to the following conclusions: I forgot one point which seems to me to be of some importance: Alpha are slow at compiling C code. It is not specific to the Alpha architecture, it is just that gcc is slow. I have been told that the register allocator in gcc uses an algorithm which is exponential in the number of available registers. A PC has 6 or 7 generic-purpose registers, an Alpha has 31... The Compaq compiler is slow also, but I think it is general sloppiness that is often seen in big software from big companies. It produces really good code, though (I often observed a 30% improvement in speed over gcc on generic integer code). I have been looking for a decent, fast C compiler on the Alpha, and I found none. Lcc is completely buggy on the Alpha/OSF, and is anyway not up-to-date with regards to C99. TenDRA was not fast, and seemed to be quite peckish about its own interpretation of what is portable. Maybe I overlooked something ? --Thomas Pornin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 1:55:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 7968837B41A for ; Wed, 15 May 2002 01:55:35 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4F8tIfg099454; Wed, 15 May 2002 01:55:18 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4F8tI8V099453; Wed, 15 May 2002 01:55:18 -0700 (PDT) Date: Wed, 15 May 2002 01:55:18 -0700 From: "David O'Brien" To: Peter Jeremy Cc: alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 Message-ID: <20020515015518.A95909@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG Mail-Followup-To: David O'Brien , Peter Jeremy , alpha@FreeBSD.ORG References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> <20020515161627.O18023@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020515161627.O18023@gsmx07.alcatel.com.au>; from peter.jeremy@alcatel.com.au on Wed, May 15, 2002 at 04:16:27PM +1000 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-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 04:16:27PM +1000, Peter Jeremy wrote: > On 2002-May-14 22:23:44 +0200, Wilko Bulte wrote: > >On Tue, May 14, 2002 at 10:19:23PM +0200, Gorm Jorgensen wrote: > >> > >> I can't seem to find any specs on how an Alpha 500 MHz is performing vs an > >> Intel 500MHz. > > BTW, you can't just say "Alpha 500 MHz". An EV6/500 in an ES40 is > roughly twice as fast as an EV5/466 in an AS4100. It should probably also be mentioned that ev56 is "faster" than ev5 on much integer code because it has the BWX (byte) instructions which really help much common code written on 32-bit platforms. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 2:14:23 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by hub.freebsd.org (Postfix) with ESMTP id B39DF37B400 for ; Wed, 15 May 2002 02:14:19 -0700 (PDT) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.3/8.12.2) with ESMTP id g4F9EGRH006094; Wed, 15 May 2002 11:14:16 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.3/8.12.3/Submit) id g4F9EGDi006089; Wed, 15 May 2002 11:14:16 +0200 (CEST) Date: Wed, 15 May 2002 11:14:15 +0200 From: Wilko Bulte To: Thomas Pornin Cc: alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 Message-ID: <20020515111415.B5904@freebie.xs4all.nl> References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> <20020515161627.O18023@gsmx07.alcatel.com.au> <20020515093259.A50064@gnah.bolet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020515093259.A50064@gnah.bolet.org>; from pornin@bolet.org on Wed, May 15, 2002 at 09:33:00AM +0200 X-OS: FreeBSD 4.6-PRERELEASE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 09:33:00AM +0200, Thomas Pornin wrote: > On Wed, May 15, 2002 at 04:16:27PM +1000, Peter Jeremy wrote: ... > I have used as my main working machine a Miata for three years (under > Linux first, then FreeBSD) and I came to the following conclusions: > > -- The PC will performe better than the equally-clocked Alpha on > byte-intensive stuff, such as string handling, pattern matching and so. Have you tried Alpha's with and without BWX (byte manip. instructions)? I'm not sure if GCC uses them, I would expect yes for EV56 and higher. -- | / o / /_ _ wilko@FreeBSD.org |/|/ / / /( (_) Bulte Arnhem, the Netherlands To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 2:26: 6 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 23DAC37B401 for ; Wed, 15 May 2002 02:26:04 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4F9Pkfg015072; Wed, 15 May 2002 02:25:47 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4F9Pif5015065; Wed, 15 May 2002 02:25:44 -0700 (PDT) Date: Wed, 15 May 2002 02:25:44 -0700 From: "David O'Brien" To: Wilko Bulte Cc: Thomas Pornin , alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 Message-ID: <20020515022544.A14671@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG Mail-Followup-To: David O'Brien , Wilko Bulte , Thomas Pornin , alpha@FreeBSD.ORG References: <20020514201923.GK37326@Area51.DK> <20020514222344.A2915@freebie.xs4all.nl> <20020515161627.O18023@gsmx07.alcatel.com.au> <20020515093259.A50064@gnah.bolet.org> <20020515111415.B5904@freebie.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020515111415.B5904@freebie.xs4all.nl>; from wkb@freebie.xs4all.nl on Wed, May 15, 2002 at 11:14:15AM +0200 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-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 11:14:15AM +0200, Wilko Bulte wrote: > I'm not sure if GCC uses them, I would expect yes for EV56 and higher. GCC definately does. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 5:22:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id ECBE837B40B; Wed, 15 May 2002 05:22:06 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id EE4995307; Wed, 15 May 2002 14:22:04 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: alpha@freebsd.org Cc: current@freebsd.org Subject: loader failure From: Dag-Erling Smorgrav Date: 15 May 2002 14:22:04 +0200 Message-ID: Lines: 50 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Trying to boot with a newly-built loader (make world earlier today from fresh sources) results in: FreeBSD/alpha SRM disk boot, Revision 1.2 (des@dsa.thinksec.com, Wed May 15 08:01:43 CEST 2002) Memory: 262144 k Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x283780+0x63670 / Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Entering /boot/kernel/kernel at 0xfffffc000032e740... halted CPU 0 halt code = 2 kernel stack not valid halt PC = 200000000 boot failure no matter which kernel I try to boot. Booting my new kernel with the old loader (from the DP1 dist) works fine until it tries to start init(8): spec_getpages: preposterous offset 0xfff80000f4460000 exec /sbin/init: error 5 spec_getpages: preposterous offset 0xfff800001426c000 exec /sbin/init.bak: error 5 spec_getpages: preposterous offset 0xfff80000c86c0000 exec /stand/sysinstall: error 5 init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall panic: no init panic Stopped at Debugger+0x34: zapnot v0,#0xf,v0 Booting DP1's GENERIC with the old loader and the new userland works fine. Clean tree, no funny stuff in make.conf (unless 'CPUTYPE?=ev56' counts as funny stuff) The loader problem is possibly a compiler issue (since DP1 was built with gcc 2.95 while my world was built with 3.1). The init problem is probably a UFS2 f*up; the code has obviously not been tested on a 64-bit architecture (the UFS2 stuff broke the kernel build). DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 5:37:56 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 41D1937B405 for ; Wed, 15 May 2002 05:37:42 -0700 (PDT) Received: (qmail 11934 invoked from network); 15 May 2002 12:37:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 May 2002 12:37:41 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4FCbdF65249; Wed, 15 May 2002 08:37:39 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 15 May 2002 08:37:31 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: RE: loader failure Cc: current@freebsd.org, alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 15-May-2002 Dag-Erling Smorgrav wrote: > Trying to boot with a newly-built loader (make world earlier today > from fresh sources) results in: > > FreeBSD/alpha SRM disk boot, Revision 1.2 > (des@dsa.thinksec.com, Wed May 15 08:01:43 CEST 2002) > Memory: 262144 k > Loading /boot/defaults/loader.conf > /boot/kernel/kernel data=0x283780+0x63670 / > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Entering /boot/kernel/kernel at 0xfffffc000032e740... > > halted CPU 0 > > halt code = 2 > kernel stack not valid halt > PC = 200000000 > boot failure > > no matter which kernel I try to boot. Booting my new kernel with the > old loader (from the DP1 dist) works fine until it tries to start > init(8): > > spec_getpages: preposterous offset 0xfff80000f4460000 > exec /sbin/init: error 5 > spec_getpages: preposterous offset 0xfff800001426c000 > exec /sbin/init.bak: error 5 > spec_getpages: preposterous offset 0xfff80000c86c0000 > exec /stand/sysinstall: error 5 > init: not found in path > /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall > panic: no init > panic > Stopped at Debugger+0x34: zapnot v0,#0xf,v0 > > Booting DP1's GENERIC with the old loader and the new userland works > fine. > > Clean tree, no funny stuff in make.conf (unless 'CPUTYPE?=ev56' counts > as funny stuff) > > The loader problem is possibly a compiler issue > (since DP1 was built with gcc 2.95 while my world was built with 3.1). > The init problem is probably a UFS2 f*up; the code has obviously not > been tested on a 64-bit architecture (the UFS2 stuff broke the kernel > build). The kernel overflowed it's stack. In SRM, you can try to debug this by using 'e sp' to get the stack pointer then get a stack dump and save a copy of it in a log or something, reboot the machine, then use gdb's list command on the kernel.debug to figure out the source:line for all the kernel-text addresses in the stack dump to figure out the backtrace. From that you can figure out where the recursion is happening and fix it. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 6:33:23 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 3F6CD37B403 for ; Wed, 15 May 2002 06:33:12 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA01944; Wed, 15 May 2002 09:33:11 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FDWfu26750; Wed, 15 May 2002 09:32:41 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.25465.541559.66681@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 09:32:41 -0400 (EDT) To: Kris Kennaway Cc: alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE In-Reply-To: <20020514235608.A69014@xor.obsecurity.org> References: <20020514235608.A69014@xor.obsecurity.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kris Kennaway writes: > I'm seeing the following on the alpha package cluster when trying to > netboot a 4.6-PRERELEASE kernel: <...> > pc = 0x0 > ra = 0xfffffc000056bcc0 Something followed a null function pointer. Can you run gdb on the corresponding kernel.debug & see what 'list *0xfffffc000056bcc0' shows for the caller? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 6:40: 1 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 3C14C37B403 for ; Wed, 15 May 2002 06:39:57 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA02112; Wed, 15 May 2002 09:39:56 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FDdQC26760; Wed, 15 May 2002 09:39:26 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.25870.79809.901266@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 09:39:26 -0400 (EDT) To: Dag-Erling Smorgrav Cc: alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE In-Reply-To: References: <20020514235608.A69014@xor.obsecurity.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dag-Erling Smorgrav writes: > Speaking of DHCP, can anyone explain the following: > > # /sbin/dhclient dc0 > pid 43 (dhclient): unaligned access: va=0x11fff02c pc=0x1200271d4 ra=0x1200270fc > pid 43 (dhclient): unaligned access: va=0x11fff034 pc=0x1200271d8 ra=0x1200270fc > > This is on a PWS500au running a freshly installed 5.0-DP1 (not for > long though, building world as we speak) An alpha needs to access memory in naturally aligned chunks. If a load or store is done to a misaligned address (a 32-bit load from an address starting on a 16 bit boundary, for example). These unaligned operations generate traps, and the kernel fixes up the load. This is very expensive, so the default is to print a warning when it happens. In a shell, you can use uac -s to cause programs to dump core when they generate an unaligned access, so that you can debug them. (assuming gdb worked on alpha in -current, which it doesn't; use the gdb52 port). You can also shut things up by using uac -p (or sysctl machdep.unaligned_print=0 to disable printing system wide). Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 6:44:25 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 0564437B408; Wed, 15 May 2002 06:44:21 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA02288; Wed, 15 May 2002 09:44:20 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FDhoH26770; Wed, 15 May 2002 09:43:50 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.26134.343204.649876@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 09:43:50 -0400 (EDT) To: Dag-Erling Smorgrav Cc: alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: loader failure In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dag-Erling Smorgrav writes: > Trying to boot with a newly-built loader (make world earlier today > from fresh sources) results in: <..> > boot failure > > no matter which kernel I try to boot. Booting my new kernel with the > old loader (from the DP1 dist) works fine until it tries to start > init(8): <..> > The loader problem is possibly a compiler issue > (since DP1 was built with gcc 2.95 while my world was built with 3.1). > The init problem is probably a UFS2 f*up; the code has obviously not > been tested on a 64-bit architecture (the UFS2 stuff broke the kernel > build). My 2 cents - the kernel & world (including loader) were fine as of Friday (both built with gcc3, modulo the atomic fixes for vm_object.c that jhb / alc / jeff came up with on Saturday). Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 7:27:17 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 1DA1D37B405 for ; Wed, 15 May 2002 07:27:08 -0700 (PDT) Received: (qmail 10423 invoked from network); 15 May 2002 14:27:06 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 May 2002 14:27:06 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4FER4F65625; Wed, 15 May 2002 10:27:04 -0400 (EDT) (envelope-from john@baldwin.cx) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 15 May 2002 10:26:50 -0400 (EDT) From: John Baldwin To: alpha@freebsd.org Subject: RE: loader failure Cc: Dag-Erling Smorgrav Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [ -current removed from cc ] On 15-May-2002 John Baldwin wrote: > On 15-May-2002 Dag-Erling Smorgrav wrote: >> The loader problem is possibly a compiler issue >> (since DP1 was built with gcc 2.95 while my world was built with 3.1). >> The init problem is probably a UFS2 f*up; the code has obviously not >> been tested on a 64-bit architecture (the UFS2 stuff broke the kernel >> build). > > The kernel overflowed it's stack. In SRM, you can try to debug this > by using 'e sp' to get the stack pointer then get a stack dump and save > a copy of it in a log or something, reboot the machine, then use gdb's > list command on the kernel.debug to figure out the source:line for all > the kernel-text addresses in the stack dump to figure out the backtrace. > From that you can figure out where the recursion is happening and fix it. Hmm, I just updated my world and built a new one and now my kernel also blows its stack: Booting [/boot/kernel/kernel]... Entering /boot/kernel/kernel at 0xfffffc000032e8e0... halted CPU 0 halt code = 5 HALT instruction executed PC = fffffc00004e68c4 P00>>> I'm going to dedicate this box to 4.6 work for the time being but I'll try to figure this out when I have some time. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 7:38:26 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id AD13D37B400; Wed, 15 May 2002 07:38:13 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4FEc7YW087819 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 15 May 2002 16:38:09 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4FEc595009997 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 15 May 2002 16:38:06 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4FEc56J009996; Wed, 15 May 2002 16:38:05 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 15 May 2002 16:38:04 +0200 From: Bernd Walter To: Dag-Erling Smorgrav Cc: alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: loader failure Message-ID: <20020515143803.GF4401@cicely5.cicely.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 02:22:04PM +0200, Dag-Erling Smorgrav wrote: > Trying to boot with a newly-built loader (make world earlier today > from fresh sources) results in: > > FreeBSD/alpha SRM disk boot, Revision 1.2 > (des@dsa.thinksec.com, Wed May 15 08:01:43 CEST 2002) > Memory: 262144 k > Loading /boot/defaults/loader.conf > /boot/kernel/kernel data=0x283780+0x63670 / > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > Entering /boot/kernel/kernel at 0xfffffc000032e740... > > halted CPU 0 > > halt code = 2 > kernel stack not valid halt > PC = 200000000 > boot failure > > no matter which kernel I try to boot. Booting my new kernel with the > old loader (from the DP1 dist) works fine until it tries to start > init(8): > > spec_getpages: preposterous offset 0xfff80000f4460000 > exec /sbin/init: error 5 > spec_getpages: preposterous offset 0xfff800001426c000 > exec /sbin/init.bak: error 5 > spec_getpages: preposterous offset 0xfff80000c86c0000 > exec /stand/sysinstall: error 5 > init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall > panic: no init > panic > Stopped at Debugger+0x34: zapnot v0,#0xf,v0 > > Booting DP1's GENERIC with the old loader and the new userland works > fine. > > Clean tree, no funny stuff in make.conf (unless 'CPUTYPE?=ev56' counts > as funny stuff) I'm running 11th May -current with ev4 on NoName and since yesterday with ev56 on PC164. No problems with /boot/loader. On the PC164 I had an dup alloc ufs panic yesterday :( The filesystem was checked with fsck -y directly after updating. Debugging options in kernel were disabled. > The loader problem is possibly a compiler issue > (since DP1 was built with gcc 2.95 while my world was built with 3.1). > The init problem is probably a UFS2 f*up; the code has obviously not > been tested on a 64-bit architecture (the UFS2 stuff broke the kernel > build). Some UFS2 preparation parts were commited after I checked out my source, IIRC also a part influencing loader. -- 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-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 10:16:38 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 3771637B407 for ; Wed, 15 May 2002 10:16:36 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 146575307; Wed, 15 May 2002 19:16:34 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Andrew Gallatin Cc: alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE References: <20020514235608.A69014@xor.obsecurity.org> <15586.25870.79809.901266@grasshopper.cs.duke.edu> From: Dag-Erling Smorgrav Date: 15 May 2002 19:16:33 +0200 In-Reply-To: <15586.25870.79809.901266@grasshopper.cs.duke.edu> Message-ID: Lines: 11 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew Gallatin writes: > An alpha needs to access memory in naturally aligned chunks. If a > load or store is done to a misaligned address (a 32-bit load from an > address starting on a 16 bit boundary, for example). I know about that, I was just surprised to see unaligned accesses in the base system. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 10:36:10 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 5CE5437B409 for ; Wed, 15 May 2002 10:36:07 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4FHZxHc090128 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 15 May 2002 19:36:03 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4FHZs95011266 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 15 May 2002 19:35:54 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4FHZsBS011265; Wed, 15 May 2002 19:35:54 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 15 May 2002 19:35:54 +0200 From: Bernd Walter To: Dag-Erling Smorgrav Cc: Andrew Gallatin , alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515173553.GK4401@cicely5.cicely.de> References: <20020514235608.A69014@xor.obsecurity.org> <15586.25870.79809.901266@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 07:16:33PM +0200, Dag-Erling Smorgrav wrote: > Andrew Gallatin writes: > > An alpha needs to access memory in naturally aligned chunks. If a > > load or store is done to a misaligned address (a 32-bit load from an > > address starting on a 16 bit boundary, for example). > > I know about that, I was just surprised to see unaligned accesses in > the base system. There are many potential of them waiting for a small change elsewhere. One PR (alpha/34232) is open containing a fix for one of them, which might be the same you are seeing. I just did not found the time yet to check if the fix might leak some kernel internal data in the padding. Maybe we should just fill the padding with zeros. Can you please check if that's the same reason for your misaligned access? -- 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-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 11:19:58 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 0AF5137B404 for ; Wed, 15 May 2002 11:19:55 -0700 (PDT) Received: from pool0412.cvx21-bradley.dialup.earthlink.net ([209.179.193.157] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #2) id 1783NL-0007Ex-00; Wed, 15 May 2002 11:19:47 -0700 Message-ID: <3CE2A6A4.4F7C72A6@mindspring.com> Date: Wed, 15 May 2002 11:19:16 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Gallatin Cc: Dag-Erling Smorgrav , alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE References: <20020514235608.A69014@xor.obsecurity.org> <15586.25870.79809.901266@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew Gallatin wrote: > > Dag-Erling Smorgrav writes: > > pid 43 (dhclient): unaligned access: va=0x11fff02c pc=0x1200271d4 ra=0x1200270fc > > An alpha needs to access memory in naturally aligned chunks. If a > load or store is done to a misaligned address (a 32-bit load from an > address starting on a 16 bit boundary, for example). These unaligned > operations generate traps, and the kernel fixes up the load. This is > very expensive, so the default is to print a warning when it happens. > > In a shell, you can use uac -s to cause programs to dump core when > they generate an unaligned access, so that you can debug them. > (assuming gdb worked on alpha in -current, which it doesn't; use the > gdb52 port). You can also shut things up by using uac -p (or sysctl > machdep.unaligned_print=0 to disable printing system wide). FWIW, there's a bit you can set in CR3 from the 486 on up that will cause the same faults for unaligned access on x86 hardware. It's worth noting that there's a performance penalty for unaligned accesses there, too, though not as expensive as the trap+fixup on the Alpha, it does halve the data rate through the bus by doubling the number of bus cycles. For a 2.5GHz processor witha 433MHz front side bus, you are still talking ~ a factor of 6 on the CPU slowdown when doing I/O because of the relative clock rates, so doubling it moves it closer to a factor of 12. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 13:12:42 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id BECB437B40F; Wed, 15 May 2002 13:12:25 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id CF3D95307; Wed, 15 May 2002 22:12:23 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Baldwin Cc: current@freebsd.org, alpha@freebsd.org Subject: Re: loader failure References: From: Dag-Erling Smorgrav Date: 15 May 2002 22:12:23 +0200 In-Reply-To: Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin writes: > The kernel overflowed it's stack. In SRM, you can try to debug this > by using 'e sp' to get the stack pointer then get a stack dump and save > a copy of it in a log or something, reboot the machine, then use gdb's > list command on the kernel.debug to figure out the source:line for all > the kernel-text addresses in the stack dump to figure out the backtrace. How do I get a stack trace? I can't get the 'examine' command to actually print anything... DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 13:27: 7 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 4BFEC37B408; Wed, 15 May 2002 13:26:54 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4FKQmr0001751; Wed, 15 May 2002 21:26:48 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4FKQa20036157; Wed, 15 May 2002 21:26:36 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200205152026.g4FKQa20036157@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Bernd Walter Cc: Dag-Erling Smorgrav , alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: loader failure In-Reply-To: Message from Bernd Walter of "Wed, 15 May 2002 16:38:04 +0200." <20020515143803.GF4401@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 May 2002 21:26:36 +0100 From: Brian Somers Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > no matter which kernel I try to boot. Booting my new kernel with the > > old loader (from the DP1 dist) works fine until it tries to start > > init(8): > > > > spec_getpages: preposterous offset 0xfff80000f4460000 > > exec /sbin/init: error 5 > > spec_getpages: preposterous offset 0xfff800001426c000 > > exec /sbin/init.bak: error 5 > > spec_getpages: preposterous offset 0xfff80000c86c0000 > > exec /stand/sysinstall: error 5 > > init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall > > panic: no init > > panic > > Stopped at Debugger+0x34: zapnot v0,#0xf,v0 > > > > Booting DP1's GENERIC with the old loader and the new userland works > > fine. > > > > Clean tree, no funny stuff in make.conf (unless 'CPUTYPE?=ev56' counts > > as funny stuff) This was fixed an hour or so ago. Phk backed out the daddr_t size change pending investigation. -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 13:35: 1 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 2A79237B406; Wed, 15 May 2002 13:34:55 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 09F705307; Wed, 15 May 2002 22:34:53 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Brian Somers Cc: Bernd Walter , alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: loader failure References: <200205152026.g4FKQa20036157@hak.lan.Awfulhak.org> From: Dag-Erling Smorgrav Date: 15 May 2002 22:34:52 +0200 In-Reply-To: <200205152026.g4FKQa20036157@hak.lan.Awfulhak.org> Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Brian Somers writes: > This was fixed an hour or so ago. Phk backed out the daddr_t size > change pending investigation. Does that fix the loader too, or just the kernel? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 13:39:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id EFF8D37B406; Wed, 15 May 2002 13:39:43 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4FKder0001803; Wed, 15 May 2002 21:39:40 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4FKdS20036407; Wed, 15 May 2002 21:39:28 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200205152039.g4FKdS20036407@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: Brian Somers , Bernd Walter , alpha@FreeBSD.ORG, current@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: loader failure In-Reply-To: Message from Dag-Erling Smorgrav of "15 May 2002 22:34:52 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 May 2002 21:39:28 +0100 From: Brian Somers Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Brian Somers writes: > > This was fixed an hour or so ago. Phk backed out the daddr_t size > > change pending investigation. > > Does that fix the loader too, or just the kernel? I'm not sure, I'm just rebuilding now. Remember, /boot/loader.old is left around... handy in this situation (I'd forgotten 'till jhb pointed it out). > DES > -- > Dag-Erling Smorgrav - des@ofug.org -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 14:17:37 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 452FE37B405 for ; Wed, 15 May 2002 14:17:32 -0700 (PDT) Received: (qmail 28009 invoked from network); 15 May 2002 21:17:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 May 2002 21:17:30 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4FLHTF67716; Wed, 15 May 2002 17:17:29 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 15 May 2002 17:17:14 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: loader failure Cc: alpha@freebsd.org, current@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 15-May-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> The kernel overflowed it's stack. In SRM, you can try to debug this >> by using 'e sp' to get the stack pointer then get a stack dump and save >> a copy of it in a log or something, reboot the machine, then use gdb's >> list command on the kernel.debug to figure out the source:line for all >> the kernel-text addresses in the stack dump to figure out the backtrace. > > How do I get a stack trace? I can't get the 'examine' command to > actually print anything... It depends on which machine actually. :-/ First do 'e sp' to get the stack pointer. Then you want to do something like this: e -n 100 if that doesn't work then try: e -n 100 vmem: This should basically do a raw memory dump. However, see if phk's daddr_t reversal fixes it first. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 14:24:37 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from nemesis.fortean.com (nemesis.fortean.com [209.42.194.41]) by hub.freebsd.org (Postfix) with ESMTP id 3880E37B403 for ; Wed, 15 May 2002 14:24:31 -0700 (PDT) Received: from nemesis.fortean.com. (nemesis.fortean.com. [209.42.194.41]) by nemesis.fortean.com (8.12.3/8.12.2) with ESMTP id g4FLOPvR028710 for ; Wed, 15 May 2002 17:24:25 -0400 (EDT) (envelope-from rbud@fortean.com) Date: Wed, 15 May 2002 17:24:25 -0400 (EDT) From: Rich Bud Reply-To: Rich Bud To: freebsd-alpha@freebsd.org Subject: natd sig 10 under stable Message-ID: <20020515160407.T28044-100000@nemesis.fortean.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm running stable on a 500au, using natd to redirect to a local network. Recently i've run into a problem where booting a windoze 98 box on the local net crashes natd at the point someone logs into the desktop. This happens up through a buildworld on 5/13. I can restart natd after it crashes and all is well until the 98 box is rebooted. The message is: chorizo /kernel: pid 403 (natd), uid 0: exited on signal 10 (core dumped) I logged the traffic from that box through my firewall, and i know what packet is causing this: it's a udp packet from netbios (137) to my isp's dns server. chorizo /kernel: ipfw: 53 Accept UDP 10.0.0.33:137 NN.NN.NN.NN:53 in via dc0 If i put the accept rule before natd's divert rule, i get the expected 'out via xl0' line right after as the packet goes out the external card. If i put it after, natd crashes. I ran natd under gdb, and i've appended a small chunk of output below in case it suggests something obvious, but i don't know what to look for. Has anyone else run into this, or can anyone give me a hint where to look next in debugging the problem? BTW, Craig Burgess posted about a sig 10 in natd back in february under different conditions. I didn't see any replies, so i'm guessing this is the same problem... Many thanks for any ideas, Rich Bud GDB Output ========== Program received signal SIGBUS, Bus error. 0x120008614 in AliasHandleQuestion (count=1, q=0x11feb911, pmax=0x11feb926 "", nbtarg=0x11feb838) at /usr/src/lib/libalias/alias_nbt.c:290 290 switch ( ntohs(q->type) ) { (gdb) ptype q type = struct { u_short type; u_short class; } * q = (NBTNsQuestion *) 0x11feb911, q->class = 1, q->type = 0 (gdb) bt #0 0x120008994 in AliasHandleQuestion (count=1, q=0x11feb911, pmax=0x11feb926 "9qÍK\234BÀ\2159qÍUEú", nbtarg=0x11feb838) at /usr/src/lib/libalias/alias_nbt.c:290 #1 0x120009408 in AliasHandleUdpNbtNS (pip=0x11feb910, link=0x11feb926, alias_address=0x11feb926, alias_port=0x11feb838, original_address=0x12007a088, original_port=0x0) at /usr/src/lib/libalias/alias_nbt.c:661 #2 0x1200046a8 in UdpAliasOut (pip=0x11feb8e8) at /usr/src/lib/libalias/alias.c:839 #3 0x120005858 in PacketAliasOut (ptr=0x11feb8e8 "E", maxpacketsize=65535) at /usr/src/lib/libalias/alias.c:1429 #4 0x12000102c in DoAliasing (fd=6, direction=2) at /usr/src/sbin/natd/natd.c:519 #5 0x120000b3c in main (argc=301971880, argv=0x6) at /usr/src/sbin/natd/natd.c:372 Here are the parameters going into AliasHandleQuestion(): p = (u_char *) 0x11feb910 "" nsh->qdcount = 256 pmax = 0x11feb926 "9qÍK\234BÀ\2159qÍUEú" nbtarg = {oldaddr = {s_addr = 553648138}, oldport = 35072, newaddr = {s_addr = 1699289666}, newport = 35072, uh_sum = 0x11feb902} Moving out, here's the buffer being processed: (gdb) frame 4 #4 0x12000102c in DoAliasing (fd=6, direction=2) at /usr/src/sbin/natd/natd.c:519 519 PacketAliasOut (buf, IP_MAXPACKET); (gdb) print buf $6 = "E\000\000>5\000\000\000\177\021\237ñ\n\000\000!\030]C@\000\211\0005\000*\227ÿ\000\034\001\000\000\001\000\000\000\000\000\000\000\000\000\001\000\001", '\000' , "9qÍK\234BÀ\2159qÍUEú", '\000' , "isrrdisabled.bin", '\000' , "c\202Sc5\001\0056\004\n\002\001à3\004\000'\215\000\001\004ÿÿà\000\002\004ÿÿ¹°\003\004\n(`\001\004\004\030]CO\a\004\030]COC\020isrrdisabled.binB\01324.93.67.79", '\000' , "ÿ", '\000' ... Now what? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 14:26:28 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id 9A7DF37B403; Wed, 15 May 2002 14:26:11 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0191F66DC8; Wed, 15 May 2002 14:26:10 -0700 (PDT) Date: Wed, 15 May 2002 14:26:10 -0700 From: Kris Kennaway To: ports@FreeBSD.org, alpha@FreeBSD.org Subject: Python failure on alpha Message-ID: <20020515142610.B82943@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --+g7M9IMkV8truYOl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The python ports have been broken on alpha for a very long time: this knocks out over 530 dependent packages from building on alpha. Is anyone able to look into fixing this (hopefully in time for 4.6-RELEASE)? http://beta.freebsd.org/errorlogs/4-latest/python-2.1.3.log http://beta.freebsd.org/errorlogs/4-latest/python-2.2.1.log Kris --+g7M9IMkV8truYOl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84tJyWry0BWjoQKURAv4xAJ9WdKZqi0wDwu1Fm9oEPaZ2LCQW1gCeNMOt +CzH6F49Ouc7PjyX4BYqPuA= =S+Ik -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 14:46:55 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 3123837B407 for ; Wed, 15 May 2002 14:46:49 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA18140; Wed, 15 May 2002 17:46:48 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FLkIl35153; Wed, 15 May 2002 17:46:18 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.55082.170680.378288@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 17:46:18 -0400 (EDT) To: Rich Bud Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: natd sig 10 under stable In-Reply-To: <20020515160407.T28044-100000@nemesis.fortean.com> References: <20020515160407.T28044-100000@nemesis.fortean.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Rich Bud writes: > BTW, Craig Burgess posted about a sig 10 in natd back in february under > different conditions. I didn't see any replies, so i'm guessing this is > the same problem... Probably, but this is much more useful information that Craig was ever able to supply. With your information, it may be possible to diagnose & fix the problem. > Program received signal SIGBUS, Bus error. > 0x120008614 in AliasHandleQuestion (count=1, q=0x11feb911, pmax=0x11feb926 "", nbtarg=0x11feb838) at /usr/src/lib/libalias/alias_nbt.c:290 > 290 switch ( ntohs(q->type) ) { > (gdb) ptype q > type = struct { > u_short type; > u_short class; > } * > q = (NBTNsQuestion *) 0x11feb911, q->class = 1, q->type = 0 > This address is unaligned. Is one of machdep.unaligned_sigbus == 1, machdep.unaligned_fix == 0 true? (or the uac equivalent) If not, perhaps the unaligned fixup handler needs to be enhanced to handle a new sort of instruction. Can you disassemble the code at the faulting PC & see what instruction generated the access, please? (or enable unaligned printing via uac -p in the shell which starts natd). Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 14:55:49 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 51FF437B407; Wed, 15 May 2002 14:55:43 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [IPv6:fec0::1:12]) by Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4FLtdr0025246; Wed, 15 May 2002 22:55:39 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.12.3/8.12.3) with ESMTP id g4FLtcFl001270; Wed, 15 May 2002 22:55:38 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200205152155.g4FLtcFl001270@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Brian Somers Cc: Dag-Erling Smorgrav , Bernd Walter , alpha@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: loader failure In-Reply-To: Message from Brian Somers of "Wed, 15 May 2002 21:39:28 BST." <200205152039.g4FKdS20036407@hak.lan.Awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 May 2002 22:55:38 +0100 From: Brian Somers Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Brian Somers writes: > > > This was fixed an hour or so ago. Phk backed out the daddr_t size > > > change pending investigation. > > > > Does that fix the loader too, or just the kernel? > > I'm not sure, I'm just rebuilding now. > > Remember, /boot/loader.old is left around... handy in this situation > (I'd forgotten 'till jhb pointed it out). Yes, the daddr_t backout has fixed the loader and the filesystem problems. > > DES > > -- > > Dag-Erling Smorgrav - des@ofug.org -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 14:58:39 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 9011737B401; Wed, 15 May 2002 14:58:26 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA18496; Wed, 15 May 2002 17:58:25 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FLvtk35380; Wed, 15 May 2002 17:57:55 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.55779.866459.970046@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 17:57:55 -0400 (EDT) To: Kris Kennaway Cc: ports@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Re: Python failure on alpha In-Reply-To: <20020515142610.B82943@xor.obsecurity.org> References: <20020515142610.B82943@xor.obsecurity.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kris Kennaway writes: > The python ports have been broken on alpha for a very long time: this > knocks out over 530 dependent packages from building on alpha. Is > anyone able to look into fixing this (hopefully in time for > 4.6-RELEASE)? > > http://beta.freebsd.org/errorlogs/4-latest/python-2.1.3.log > http://beta.freebsd.org/errorlogs/4-latest/python-2.2.1.log > > Kris > Ack.. Here's a patch for python-2.2.1 I'm not a ports comitter & I ignore ports commit mail, so I don't know if there is a ports freeze, or what & I'd rather not commit to the ports tree. Please commit this for me. Drew Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/python/Makefile,v retrieving revision 1.87 diff -u -r1.87 Makefile --- Makefile 12 Apr 2002 10:34:54 -0000 1.87 +++ Makefile 15 May 2002 21:51:02 -0000 @@ -95,4 +95,10 @@ (cd ${DEMODIR}; tar xf -) .endif +.if ${ARCH} == i386 +PLIST_SUB+= X86_ONLY="" +.else +PLIST_SUB+= X86_ONLY="@comment " +.endif + .include Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/lang/python/pkg-plist,v retrieving revision 1.37 diff -u -r1.37 pkg-plist --- pkg-plist 12 Apr 2002 10:34:54 -0000 1.37 +++ pkg-plist 15 May 2002 21:37:40 -0000 @@ -986,7 +986,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/_testcapi.so lib/%%PYTHON_VERSION%%/lib-dynload/_weakref.so lib/%%PYTHON_VERSION%%/lib-dynload/array.so -lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so lib/%%PYTHON_VERSION%%/lib-dynload/binascii.so lib/%%PYTHON_VERSION%%/lib-dynload/bsddb.so lib/%%PYTHON_VERSION%%/lib-dynload/cPickle.so @@ -996,9 +996,9 @@ lib/%%PYTHON_VERSION%%/lib-dynload/dbm.so lib/%%PYTHON_VERSION%%/lib-dynload/errno.so lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so -lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so lib/%%PYTHON_VERSION%%/lib-dynload/grp.so -lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so lib/%%PYTHON_VERSION%%/lib-dynload/math.so lib/%%PYTHON_VERSION%%/lib-dynload/md5.so lib/%%PYTHON_VERSION%%/lib-dynload/mmap.so @@ -1010,7 +1010,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/readline.so lib/%%PYTHON_VERSION%%/lib-dynload/regex.so lib/%%PYTHON_VERSION%%/lib-dynload/resource.so -lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so lib/%%PYTHON_VERSION%%/lib-dynload/rotor.so lib/%%PYTHON_VERSION%%/lib-dynload/select.so lib/%%PYTHON_VERSION%%/lib-dynload/sha.so To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 15: 4:53 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 1CE7A37B400; Wed, 15 May 2002 15:04:42 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id SAA18659; Wed, 15 May 2002 18:04:41 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FM4B835400; Wed, 15 May 2002 18:04:11 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.56155.610967.735451@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 18:04:11 -0400 (EDT) To: Kris Kennaway Cc: ports@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Re: Python failure on alpha In-Reply-To: <15586.55779.866459.970046@grasshopper.cs.duke.edu> References: <20020515142610.B82943@xor.obsecurity.org> <15586.55779.866459.970046@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew Gallatin writes: > > Kris Kennaway writes: > > The python ports have been broken on alpha for a very long time: this > > knocks out over 530 dependent packages from building on alpha. Is > > anyone able to look into fixing this (hopefully in time for > > 4.6-RELEASE)? > > > > http://beta.freebsd.org/errorlogs/4-latest/python-2.1.3.log > > http://beta.freebsd.org/errorlogs/4-latest/python-2.2.1.log > > > > Kris > > > > Ack.. Here's a patch for python-2.2.1 I'm not a ports comitter & I > ignore ports commit mail, so I don't know if there is a ports freeze, > or what & I'd rather not commit to the ports tree. Please commit this > for me. And here's an untested patch for python-2.1.3 Drew Index: Makefile =================================================================== RCS file: /home/ncvs/ports/lang/python21/Makefile,v retrieving revision 1.87 diff -u -r1.87 Makefile --- Makefile 16 Apr 2002 11:44:39 -0000 1.87 +++ Makefile 15 May 2002 21:58:33 -0000 @@ -90,4 +90,10 @@ (cd ${DEMODIR}; tar xf -) .endif +.if ${ARCH} == i386 +PLIST_SUB+= X86_ONLY="" +.else +PLIST_SUB+= X86_ONLY="@comment " +.endif + .include Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/lang/python21/pkg-plist,v retrieving revision 1.38 diff -u -r1.38 pkg-plist --- pkg-plist 11 Apr 2002 11:29:52 -0000 1.38 +++ pkg-plist 15 May 2002 22:00:19 -0000 @@ -862,7 +862,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/_testcapi.so lib/%%PYTHON_VERSION%%/lib-dynload/_weakref.so lib/%%PYTHON_VERSION%%/lib-dynload/array.so -lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so lib/%%PYTHON_VERSION%%/lib-dynload/binascii.so lib/%%PYTHON_VERSION%%/lib-dynload/bsddb.so lib/%%PYTHON_VERSION%%/lib-dynload/cPickle.so @@ -874,7 +874,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so lib/%%PYTHON_VERSION%%/lib-dynload/grp.so -lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so lib/%%PYTHON_VERSION%%/lib-dynload/math.so lib/%%PYTHON_VERSION%%/lib-dynload/md5.so lib/%%PYTHON_VERSION%%/lib-dynload/mmap.so @@ -887,7 +887,7 @@ lib/%%PYTHON_VERSION%%/lib-dynload/readline.so lib/%%PYTHON_VERSION%%/lib-dynload/regex.so lib/%%PYTHON_VERSION%%/lib-dynload/resource.so -lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so +%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so lib/%%PYTHON_VERSION%%/lib-dynload/rotor.so lib/%%PYTHON_VERSION%%/lib-dynload/select.so lib/%%PYTHON_VERSION%%/lib-dynload/sha.so To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 15:28:27 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id E6BCE37B406 for ; Wed, 15 May 2002 15:28:23 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id SAA19257; Wed, 15 May 2002 18:28:23 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4FMRr035436; Wed, 15 May 2002 18:27:53 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.57577.244739.503154@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 18:27:53 -0400 (EDT) To: Rich Bud Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: natd sig 10 under stable In-Reply-To: <20020515160407.T28044-100000@nemesis.fortean.com> References: <20020515160407.T28044-100000@nemesis.fortean.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Do you have CPUTYPE=ev56 in /etc/make.conf? If so, that could explain it, as we don't handle unaligned bwx instructions right now. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 15:55:23 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from web13408.mail.yahoo.com (web13408.mail.yahoo.com [216.136.175.66]) by hub.freebsd.org (Postfix) with SMTP id 7708837B403 for ; Wed, 15 May 2002 15:55:20 -0700 (PDT) Message-ID: <20020515225520.79881.qmail@web13408.mail.yahoo.com> Received: from [208.246.62.54] by web13408.mail.yahoo.com via HTTP; Wed, 15 May 2002 15:55:20 PDT Date: Wed, 15 May 2002 15:55:20 -0700 (PDT) From: Diego Montalvo Subject: Re: Alpha CPU Performance vs i386 To: alpha@FreeBSD.ORG In-Reply-To: <20020515022544.A14671@dragon.nuxi.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2004089274-1021503320=:78989" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0-2004089274-1021503320=:78989 Content-Type: text/plain; charset=us-ascii Howdy, If I am running a database intensive program such as mysql, on a 500MHZ Alpha, and a 1GHZ PIII, which would preform faster? Diego --------------------------------- Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience --0-2004089274-1021503320=:78989 Content-Type: text/html; charset=us-ascii

 Howdy,

If I am running a database intensive program such as mysql, on a 500MHZ Alpha, and a 1GHZ PIII, which would preform faster? 

Diego

 

 



Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience --0-2004089274-1021503320=:78989-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 16:37:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id 902A537B405; Wed, 15 May 2002 16:37:46 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 3C9F366DC8; Wed, 15 May 2002 16:37:43 -0700 (PDT) Date: Wed, 15 May 2002 16:37:42 -0700 From: Kris Kennaway To: Andrew Gallatin Cc: Kris Kennaway , ports@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Re: Python failure on alpha Message-ID: <20020515163742.A94101@xor.obsecurity.org> References: <20020515142610.B82943@xor.obsecurity.org> <15586.55779.866459.970046@grasshopper.cs.duke.edu> <15586.56155.610967.735451@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15586.56155.610967.735451@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Wed, May 15, 2002 at 06:04:11PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 15, 2002 at 06:04:11PM -0400, Andrew Gallatin wrote: > And here's an untested patch for python-2.1.3 Thanks, it seems to work, and I've committed it. Kris --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84vFGWry0BWjoQKURAreiAKCy9eq1uWxehqvcFNhqWjPGyhQldgCgl3q/ 1zsgiR8loEAZRp41aEf11P8= =GLTd -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 16:54:30 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 5127B37B405 for ; Wed, 15 May 2002 16:54:25 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4FNrrHc094628 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 16 May 2002 01:53:58 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4FNrq95013664 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 16 May 2002 01:53:52 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4FNrqrX013663; Thu, 16 May 2002 01:53:52 +0200 (CEST)?g (envelope-from ticso) Date: Thu, 16 May 2002 01:53:51 +0200 From: Bernd Walter To: Andrew Gallatin Cc: Rich Bud , freebsd-alpha@FreeBSD.org Subject: Re: natd sig 10 under stable Message-ID: <20020515235351.GO4401@cicely5.cicely.de> References: <20020515160407.T28044-100000@nemesis.fortean.com> <15586.55082.170680.378288@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15586.55082.170680.378288@grasshopper.cs.duke.edu> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 05:46:18PM -0400, Andrew Gallatin wrote: > > Rich Bud writes: > > BTW, Craig Burgess posted about a sig 10 in natd back in february under > > different conditions. I didn't see any replies, so i'm guessing this is > > the same problem... > > Probably, but this is much more useful information that Craig was ever > able to supply. With your information, it may be possible to diagnose > & fix the problem. > > > > Program received signal SIGBUS, Bus error. > > 0x120008614 in AliasHandleQuestion (count=1, q=0x11feb911, pmax=0x11feb926 "", nbtarg=0x11feb838) at /usr/src/lib/libalias/alias_nbt.c:290 > > 290 switch ( ntohs(q->type) ) { > > (gdb) ptype q > > type = struct { > > u_short type; > > u_short class; > > } * > > q = (NBTNsQuestion *) 0x11feb911, q->class = 1, q->type = 0 > > > > This address is unaligned. Is one of machdep.unaligned_sigbus > == 1, machdep.unaligned_fix == 0 true? (or the uac equivalent) Can you please print pip, *pip, uh, p and nsh in AliasHandleUdpNbtNS()? I will need to know which part of the packets can be missaligned. It's much fast if we can realign the whole data part instead of just each segment. > If not, perhaps the unaligned fixup handler needs to be enhanced to > handle a new sort of instruction. Can you disassemble the code at the > faulting PC & see what instruction generated the access, please? > (or enable unaligned printing via uac -p in the shell which starts natd). Sounds like the most likely reason - especially considering BWX. I will check out how much work it is to expand our trap.c -- 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-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 16:57:34 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id C410F37B40C for ; Wed, 15 May 2002 16:57:23 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6A6C566DC8; Wed, 15 May 2002 16:57:20 -0700 (PDT) Date: Wed, 15 May 2002 16:57:19 -0700 From: Kris Kennaway To: Andrew Gallatin Cc: Kris Kennaway , alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515165719.A94539@xor.obsecurity.org> References: <20020514235608.A69014@xor.obsecurity.org> <15586.25465.541559.66681@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15586.25465.541559.66681@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Wed, May 15, 2002 at 09:32:41AM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 09:32:41AM -0400, Andrew Gallatin wrote: >=20 > Kris Kennaway writes: > > I'm seeing the following on the alpha package cluster when trying to > > netboot a 4.6-PRERELEASE kernel: >=20 > <...> >=20 > > pc =3D 0x0 > > ra =3D 0xfffffc000056bcc0 >=20 > Something followed a null function pointer. >=20 > Can you run gdb on the corresponding kernel.debug & see what > 'list *0xfffffc000056bcc0' shows for the caller? Unfortunately I'm not getting a crashdump because it's happening during the boot process. Kris --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84vXfWry0BWjoQKURAg2LAJsGNBQRJtjOuMm0QxSf0avtUiHQqACg5BkD OD42+7RRVPaX3Ohy6ASuPHc= =sWV3 -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 17: 5:53 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 9E46E37B406 for ; Wed, 15 May 2002 17:05:36 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA21299; Wed, 15 May 2002 20:05:35 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4G055435536; Wed, 15 May 2002 20:05:05 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.63409.158555.954798@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 20:05:05 -0400 (EDT) To: Bernd Walter Cc: Rich Bud , freebsd-alpha@FreeBSD.ORG Subject: Re: natd sig 10 under stable In-Reply-To: <20020515235351.GO4401@cicely5.cicely.de> References: <20020515160407.T28044-100000@nemesis.fortean.com> <15586.55082.170680.378288@grasshopper.cs.duke.edu> <20020515235351.GO4401@cicely5.cicely.de> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bernd Walter writes: > Sounds like the most likely reason - especially considering BWX. > I will check out how much work it is to expand our trap.c NetBSD already does it. Lucky they do, otherwise I would have messed up the sign extension avoidance. Anyway, I just comitted it to -current. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 17: 9:46 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id C9D6E37B400 for ; Wed, 15 May 2002 17:09:42 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA21438; Wed, 15 May 2002 20:09:42 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4G09C435539; Wed, 15 May 2002 20:09:12 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.63656.192672.240973@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 20:09:12 -0400 (EDT) To: Kris Kennaway Cc: alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE In-Reply-To: <20020515165719.A94539@xor.obsecurity.org> References: <20020514235608.A69014@xor.obsecurity.org> <15586.25465.541559.66681@grasshopper.cs.duke.edu> <20020515165719.A94539@xor.obsecurity.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kris Kennaway writes: > On Wed, May 15, 2002 at 09:32:41AM -0400, Andrew Gallatin wrote: > > > > Kris Kennaway writes: > > > I'm seeing the following on the alpha package cluster when trying to > > > netboot a 4.6-PRERELEASE kernel: > > > > <...> > > > > > pc = 0x0 > > > ra = 0xfffffc000056bcc0 > > > > Something followed a null function pointer. > > > > Can you run gdb on the corresponding kernel.debug & see what > > 'list *0xfffffc000056bcc0' shows for the caller? > > Unfortunately I'm not getting a crashdump because it's happening > during the boot process. We're just using gdb to translate that address to a line number, so you don't need a crashdump; just do what I asked. Here's an example: % cd /sys/compile/WHEREEVER/ % gdb kernel.debug GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. <...> This GDB was configured as "alpha-unknown-freebsd"... (gdb) l *0xfffffc000056bcc0 0xfffffc000056bcc0 is in es_pci_detach (../../dev/sound/pci/es137x.c:940). 935 es = pcm_getdevinfo(dev); 936 bus_release_resource(dev, es->regtype, es->regid, es->reg); 937 bus_teardown_intr(dev, es->irq, es->ih); 938 bus_release_resource(dev, SYS_RES_IRQ, es->irqid, es->irq); 939 bus_dma_tag_destroy(es->parent_dmat); 940 free(es, M_DEVBUF); 941 942 return 0; 943 } 944 0xfffffc000056bcc0 will probably be a different location in your kernel. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 17:21:15 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 93F7D37B403 for ; Wed, 15 May 2002 17:21:09 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA21700; Wed, 15 May 2002 20:21:08 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4G0KcP36038; Wed, 15 May 2002 20:20:38 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15586.64342.316609.71281@grasshopper.cs.duke.edu> Date: Wed, 15 May 2002 20:20:38 -0400 (EDT) To: Craig Cc: Rich Bud , freebsd-alpha@freebsd.org Subject: Re: natd sig 10 under stable In-Reply-To: <3CE2E558.9030707@cheetahusa.net> References: <20020515160407.T28044-100000@nemesis.fortean.com> <15586.55082.170680.378288@grasshopper.cs.duke.edu> <3CE2E558.9030707@cheetahusa.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Here's an MFC candidate of the unaligned fixup additions to support the bwx instructions (ldwu & stw). Please apply this to your system (cd /usr/src/sys; patch < thepatch), rebuild your kernel & reboot to see if your natd problem is fixed. Thanks, Drew Index: alpha/alpha/trap.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/trap.c,v retrieving revision 1.26.2.4 diff -u -r1.26.2.4 trap.c --- alpha/alpha/trap.c 5 Mar 2001 21:24:15 -0000 1.26.2.4 +++ alpha/alpha/trap.c 16 May 2002 00:16:30 -0000 @@ -921,6 +921,11 @@ extern int alpha_unaligned_print, alpha_unaligned_fix; extern int alpha_unaligned_sigbus; +struct unaligned_fixup_data { + const char *type; /* opcode name */ + int size; /* size, 0 if fixup not supported */ +}; + int unaligned_fixup(va, opcode, reg, p) unsigned long va, opcode, reg; @@ -931,10 +936,11 @@ const char *type; unsigned long *regptr, longdata, uac; int intdata; /* signed to get extension when storing */ - struct { - const char *type; /* opcode name */ - int size; /* size, 0 if fixup not supported */ - } tab[0x10] = { + u_int16_t worddata; /* unsigned to _avoid_ extension */ + const struct unaligned_fixup_data tab_0c[0x2] = { + { "ldwu", 2 }, { "stw", 2 }, + }; + const struct unaligned_fixup_data tab_20[0x10] = { #ifdef FIX_UNALIGNED_VAX_FP { "ldf", 4 }, { "ldg", 8 }, #else @@ -971,9 +977,12 @@ * Find out which opcode it is. Arrange to have the opcode * printed if it's an unknown opcode. */ - if (opcode >= 0x20 && opcode <= 0x2f) { - type = tab[opcode - 0x20].type; - size = tab[opcode - 0x20].size; + if (opcode >= 0x0c && opcode <= 0x0d) { + type = tab_0c[opcode - 0x0c].type; + size = tab_0c[opcode - 0x0c].size; + } else if (opcode >= 0x20 && opcode <= 0x2f) { + type = tab_20[opcode - 0x20].type; + size = tab_20[opcode - 0x20].size; } else { type = "0x%lx"; size = 0; @@ -1016,6 +1025,15 @@ signal = SIGBUS; if (dofix && size != 0) { switch (opcode) { + case 0x0c: /* ldwu */ + /* XXX ONLY WORKS ON LITTLE-ENDIAN ALPHA */ + unaligned_load_integer(worddata); + break; + + case 0x0d: /* stw */ + /* XXX ONLY WORKS ON LITTLE-ENDIAN ALPHA */ + unaligned_store_integer(worddata); + break; #ifdef FIX_UNALIGNED_VAX_FP case 0x20: /* ldf */ unaligned_load_floating(intdata, Ffloat_to_reg); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 18:45:20 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from aromo.spock.cl (aromo.spock.cl [200.27.125.98]) by hub.freebsd.org (Postfix) with ESMTP id 6300F37B407 for ; Wed, 15 May 2002 18:45:12 -0700 (PDT) Received: from aromo.spock.cl (aromo.spock.cl [200.27.125.98]) by aromo.spock.cl (8.11.1/8.9.3) with ESMTP id g4G1jLA29147; Wed, 15 May 2002 21:45:21 -0400 (CLT) Date: Wed, 15 May 2002 21:45:21 -0400 (CLT) From: Roberto de Iriarte To: Diego Montalvo Cc: alpha@FreeBSD.ORG Subject: Re: Alpha CPU Performance vs i386 In-Reply-To: <20020515225520.79881.qmail@web13408.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 15 May 2002, Diego Montalvo wrote: > > Howdy, > If I am running a database intensive program such as mysql, on a 500MHZ Alpha, and a 1GHZ PIII, which would preform faster? > Diego > It depends, of course. Quickly browsing the Spec CINT2000 Benckmark suite, i'd say, for most mysql usage, 197.parser and 255.vortex, might give you an idea of relative performance. Note that the system configurations used for this benchmarks are highly optimized, but, just for the comparison, let's think that the vendors's optimizations even out each other. (I will use CINT200-BASE numbers) An Intel PIII 1.0 Ghz Intel VC820 (Rambus Chipset) 133 Mhz FSB 197.parser 340 255.vortex 706 Alphas at 500 Mhz An oldie (AlphaStation 500/500) 21164A 8 Mb cache 197.parser 130 255.vortex 207 Also an oldie (DEC Personal Workstation 500 AU) 21164A 2 Mb cache 197.parser 124 255.vortex 203 Not that old (Dec-98) (AlphaServer DS20 Model 6/500) 21264 4 Mb cache 197.parser 206 255.vortex 400 So, i'd say an Intel PIII would be faster than an Alpha if your database application performance would be CPU bound. That is usually not the case (IBM Mainframes would have been given up a long time ago if it were!), so it would depend on the particular configuration of your systems. A big reason why old Alphas, Sun's, RS/6000's, etc have a long useful life lies in the good design of the IO subsystem and peripherals (Not multia of course :)) For that, you must think, in PC terms, about higher end server class machines that are not that cheap. Regards Roberto BTW, Reading the detailed results of the various SPEC benchmarks is much more usefull than reading the baseline number. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 19:29:17 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from nemesis.fortean.com (nemesis.fortean.com [209.42.194.41]) by hub.freebsd.org (Postfix) with ESMTP id 1BB9A37B400 for ; Wed, 15 May 2002 19:29:14 -0700 (PDT) Received: from nemesis.fortean.com. (nemesis.fortean.com. [209.42.194.41]) by nemesis.fortean.com (8.12.3/8.12.2) with ESMTP id g4G2SbvR030088; Wed, 15 May 2002 22:28:37 -0400 (EDT) (envelope-from rbud@fortean.com) Date: Wed, 15 May 2002 22:28:37 -0400 (EDT) From: Rich Bud Reply-To: Rich Bud To: Andrew Gallatin Cc: freebsd-alpha@freebsd.org Subject: Re: natd sig 10 under stable In-Reply-To: <15586.64342.316609.71281@grasshopper.cs.duke.edu> Message-ID: <20020515221034.S30036-100000@nemesis.fortean.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Please apply this to your system (cd /usr/src/sys; patch < thepatch), > rebuild your kernel & reboot to see if your natd problem is fixed. That seems to fix the crash, thanks. To answer your earlier 2 emails... yes, i have CPUTYPE=ev56 set in /etc/make.conf, and ldwu seems to be the winner, if i'm interpreting this correctly: Prepatch: pid 2704 (natd): unaligned access: va=0x11feb911 pc=0x120008994 ra=0x120008a04 op=0xc Postpatch: pid 384 (natd): unaligned access: va=0x11feb921 pc=0x120008994 ra=0x120008a04 op=ldwu Rich PS: as a side note, do you know why 'x/i' in gdb does not match the op= in the unaligned access line? I get this, pre and post patch: (gdb) x/i 0x120008994 0x120008994 : ldq t12,-30184(gp) If this isn't a simple answer, don't concern yourself; i was just curious. ;) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 19:33: 6 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from nemesis.fortean.com (nemesis.fortean.com [209.42.194.41]) by hub.freebsd.org (Postfix) with ESMTP id 90D7837B406 for ; Wed, 15 May 2002 19:33:03 -0700 (PDT) Received: from nemesis.fortean.com. (nemesis.fortean.com. [209.42.194.41]) by nemesis.fortean.com (8.12.3/8.12.2) with ESMTP id g4G2WNvR030111; Wed, 15 May 2002 22:32:23 -0400 (EDT) (envelope-from rbud@fortean.com) Date: Wed, 15 May 2002 22:32:23 -0400 (EDT) From: Rich Bud Reply-To: Rich Bud To: Bernd Walter Cc: Andrew Gallatin , Subject: Re: natd sig 10 under stable In-Reply-To: <20020515235351.GO4401@cicely5.cicely.de> Message-ID: <20020515222924.I30036-100000@nemesis.fortean.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Can you please print pip, *pip, uh, p and nsh in AliasHandleUdpNbtNS()? (gdb) print pip $1 = (struct ip *) 0x11feb910 (gdb) print *pip $2 = {ip_hl = 0, ip_v = 0, ip_tos = 0 '\000', ip_len = 256, ip_id = 256, ip_off = 0, ip_ttl = 0 '\000', ip_p = 0 '\000', ip_sum = 0, ip_src = {s_addr = 0}, ip_dst = {s_addr = 0}} (gdb) print uh $3 = (struct udphdr *) 0x0 (gdb) print p $4 = (u_char *) 0x11feb910 "" (gdb) print nsh $5 = (NbtNSHeader *) 0x11feb904 (gdb) print *nsh $6 = {nametrid = 7168, dir = 1, opcode = 0, nmflags = 0, rcode = 0, qdcount = 256, ancount = 0, nscount = 0, arcount = 0} After putting in the trap patch i did 'uac -f' and crashed it again. The only change was a shift, pip -> 0x11feb920 and nsh -> 0x11feb914. Hope this helps, Rich To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 19:48:22 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id D794537B40A for ; Wed, 15 May 2002 19:48:15 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2B89666DC8; Wed, 15 May 2002 19:48:15 -0700 (PDT) Date: Wed, 15 May 2002 19:48:14 -0700 From: Kris Kennaway To: Andrew Gallatin Cc: Kris Kennaway , alpha@FreeBSD.ORG Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515194814.A98844@xor.obsecurity.org> References: <20020514235608.A69014@xor.obsecurity.org> <15586.25465.541559.66681@grasshopper.cs.duke.edu> <20020515165719.A94539@xor.obsecurity.org> <15586.63656.192672.240973@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <15586.63656.192672.240973@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Wed, May 15, 2002 at 08:09:12PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 08:09:12PM -0400, Andrew Gallatin wrote: >=20 > Kris Kennaway writes: > > On Wed, May 15, 2002 at 09:32:41AM -0400, Andrew Gallatin wrote: > > >=20 > > > Kris Kennaway writes: > > > > I'm seeing the following on the alpha package cluster when trying= to > > > > netboot a 4.6-PRERELEASE kernel: > > >=20 > > > <...> > > >=20 > > > > pc =3D 0x0 > > > > ra =3D 0xfffffc000056bcc0 > > >=20 > > > Something followed a null function pointer. > > >=20 > > > Can you run gdb on the corresponding kernel.debug & see what > > > 'list *0xfffffc000056bcc0' shows for the caller? > >=20 > > Unfortunately I'm not getting a crashdump because it's happening > > during the boot process. >=20 > We're just using gdb to translate that address to a line number, so > you don't need a crashdump; just do what I asked. Here's an example: The reason I thought I needed a crashdump is because when I do that command I get this: axp0# gdb kernel.debug GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain condition= s. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "alpha-unknown-freebsd"... (gdb) l *0xfffffc000056bcc0 No source file for address 0xfffffc000056bcc0. Kris --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84x3uWry0BWjoQKURArVLAJ9LDjvX4iWZf9x24M79W/R3m2y22QCeORM/ +1zEwjFra3onl5RiL4/6Ad8= =oRId -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 20:41:27 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id ACB4437B401 for ; Wed, 15 May 2002 20:40:59 -0700 (PDT) Received: (qmail 13070 invoked from network); 16 May 2002 03:40:59 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 16 May 2002 03:40:59 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4G3ewF68889; Wed, 15 May 2002 23:40:58 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020515194814.A98844@xor.obsecurity.org> Date: Wed, 15 May 2002 23:40:48 -0400 (EDT) From: John Baldwin To: Kris Kennaway Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Cc: alpha@FreeBSD.ORG, Andrew Gallatin Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-May-2002 Kris Kennaway wrote: > On Wed, May 15, 2002 at 08:09:12PM -0400, Andrew Gallatin wrote: >> >> Kris Kennaway writes: >> > On Wed, May 15, 2002 at 09:32:41AM -0400, Andrew Gallatin wrote: >> > > >> > > Kris Kennaway writes: >> > > > I'm seeing the following on the alpha package cluster when trying to >> > > > netboot a 4.6-PRERELEASE kernel: >> > > >> > > <...> >> > > >> > > > pc = 0x0 >> > > > ra = 0xfffffc000056bcc0 >> > > >> > > Something followed a null function pointer. >> > > >> > > Can you run gdb on the corresponding kernel.debug & see what >> > > 'list *0xfffffc000056bcc0' shows for the caller? >> > >> > Unfortunately I'm not getting a crashdump because it's happening >> > during the boot process. >> >> We're just using gdb to translate that address to a line number, so >> you don't need a crashdump; just do what I asked. Here's an example: > > The reason I thought I needed a crashdump is because when I do that > command I get this: > > axp0# gdb kernel.debug > GNU gdb 4.18 > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "alpha-unknown-freebsd"... > (gdb) l *0xfffffc000056bcc0 > No source file for address 0xfffffc000056bcc0. Ok, can you do a nm kernel.debug | sort | less and find the two symbols that that address falls between? > Kris -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 20:48:21 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id C8A6C37B404; Wed, 15 May 2002 20:48:17 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 304D666DC8; Wed, 15 May 2002 20:48:17 -0700 (PDT) Date: Wed, 15 May 2002 20:48:17 -0700 From: Kris Kennaway To: John Baldwin Cc: Kris Kennaway , alpha@FreeBSD.org, Andrew Gallatin Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515204816.B302@xor.obsecurity.org> References: <20020515194814.A98844@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vGgW1X5XWziG23Ko" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Wed, May 15, 2002 at 11:40:48PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --vGgW1X5XWziG23Ko Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 11:40:48PM -0400, John Baldwin wrote: > > (gdb) l *0xfffffc000056bcc0 > > No source file for address 0xfffffc000056bcc0. >=20 > Ok, can you do a nm kernel.debug | sort | less and find the two > symbols that that address falls between? fffffc000056bca0 t swi_net fffffc000056bd20 T do_sir Kris --vGgW1X5XWziG23Ko Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84ywAWry0BWjoQKURAnxVAJwIs02q/VAxSAtgrwSQxvLL1d6LAQCfYD37 fAwz5afg80TvGiQgjAPu4WY= =Hwpu -----END PGP SIGNATURE----- --vGgW1X5XWziG23Ko-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 20:55:51 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail17.speakeasy.net [216.254.0.217]) by hub.freebsd.org (Postfix) with ESMTP id BD4E137B40B for ; Wed, 15 May 2002 20:55:47 -0700 (PDT) Received: (qmail 18003 invoked from network); 16 May 2002 03:55:46 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail17.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 16 May 2002 03:55:46 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4G3tjF68957; Wed, 15 May 2002 23:55:45 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020515204816.B302@xor.obsecurity.org> Date: Wed, 15 May 2002 23:55:35 -0400 (EDT) From: John Baldwin To: Kris Kennaway Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Cc: Andrew Gallatin , alpha@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-May-2002 Kris Kennaway wrote: > On Wed, May 15, 2002 at 11:40:48PM -0400, John Baldwin wrote: > >> > (gdb) l *0xfffffc000056bcc0 >> > No source file for address 0xfffffc000056bcc0. >> >> Ok, can you do a nm kernel.debug | sort | less and find the two >> symbols that that address falls between? > > fffffc000056bca0 t swi_net > fffffc000056bd20 T do_sir Ok, swi_net() looks like so (alpha/alpha/iplfuncs.c) static void swi_net() { u_int32_t bits = atomic_readandclear(&netisr); int i; for (i = 0; i < 32; i++) { if (bits & 1) netisrs[i](); bits >>= 1; } } My guess then is that we tried to execute a netisr() that was NULL. Is this reproducible? If so, you could try adding a a hack to not execute the isr if it's null, i.e.: if ((bits & 1) != 0 && netisrs[i] != NULL) netisrs[i](); > Kris -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 21: 0: 8 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id 0DFB437B407; Wed, 15 May 2002 21:00:03 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 41F2866DC8; Wed, 15 May 2002 21:00:02 -0700 (PDT) Date: Wed, 15 May 2002 21:00:01 -0700 From: Kris Kennaway To: John Baldwin Cc: Kris Kennaway , Andrew Gallatin , alpha@FreeBSD.org Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515210001.A742@xor.obsecurity.org> References: <20020515204816.B302@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Wed, May 15, 2002 at 11:55:35PM -0400 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 15, 2002 at 11:55:35PM -0400, John Baldwin wrote: >=20 > On 16-May-2002 Kris Kennaway wrote: > > On Wed, May 15, 2002 at 11:40:48PM -0400, John Baldwin wrote: > >=20 > >> > (gdb) l *0xfffffc000056bcc0 > >> > No source file for address 0xfffffc000056bcc0. > >>=20 > >> Ok, can you do a nm kernel.debug | sort | less and find the two > >> symbols that that address falls between? > >=20 > > fffffc000056bca0 t swi_net > > fffffc000056bd20 T do_sir >=20 > Ok, swi_net() looks like so (alpha/alpha/iplfuncs.c) >=20 > static void > swi_net() > { > u_int32_t bits =3D atomic_readandclear(&netisr); > int i; >=20 > for (i =3D 0; i < 32; i++) { > if (bits & 1) > netisrs[i](); > bits >>=3D 1; > } > } >=20 > My guess then is that we tried to execute a netisr() that was > NULL. Is this reproducible? Yes, it seems to be. > If so, you could try adding a > a hack to not execute the isr if it's null, i.e.: >=20 > if ((bits & 1) !=3D 0 && netisrs[i] !=3D NULL) > netisrs[i](); Will try once the current alpha package build is finished. Are there any other diagnostics I can add while I'm in there? Kris --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84y7BWry0BWjoQKURArraAKDudZzoFUh9ULGYvbi33SV6dQaYzwCfb8cb 43Ge6PAQMvEe/JxuaFhKLm4= =TpvJ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 21: 5: 3 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 37BE937B407 for ; Wed, 15 May 2002 21:04:57 -0700 (PDT) Received: (qmail 27723 invoked from network); 16 May 2002 04:04:56 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 16 May 2002 04:04:56 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4G44tF68988; Thu, 16 May 2002 00:04:55 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020515210001.A742@xor.obsecurity.org> Date: Thu, 16 May 2002 00:04:45 -0400 (EDT) From: John Baldwin To: Kris Kennaway Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Cc: alpha@FreeBSD.org, Andrew Gallatin Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-May-2002 Kris Kennaway wrote: > On Wed, May 15, 2002 at 11:55:35PM -0400, John Baldwin wrote: >> >> On 16-May-2002 Kris Kennaway wrote: >> > On Wed, May 15, 2002 at 11:40:48PM -0400, John Baldwin wrote: >> > >> >> > (gdb) l *0xfffffc000056bcc0 >> >> > No source file for address 0xfffffc000056bcc0. >> >> >> >> Ok, can you do a nm kernel.debug | sort | less and find the two >> >> symbols that that address falls between? >> > >> > fffffc000056bca0 t swi_net >> > fffffc000056bd20 T do_sir >> >> Ok, swi_net() looks like so (alpha/alpha/iplfuncs.c) >> >> static void >> swi_net() >> { >> u_int32_t bits = atomic_readandclear(&netisr); >> int i; >> >> for (i = 0; i < 32; i++) { >> if (bits & 1) >> netisrs[i](); >> bits >>= 1; >> } >> } >> >> My guess then is that we tried to execute a netisr() that was >> NULL. Is this reproducible? > > Yes, it seems to be. > >> If so, you could try adding a >> a hack to not execute the isr if it's null, i.e.: >> >> if ((bits & 1) != 0 && netisrs[i] != NULL) >> netisrs[i](); > > Will try once the current alpha package build is finished. Are there > any other diagnostics I can add while I'm in there? Well, ideally we would like to know which ISR is (mis)firing. Maybe a printf that squawks when this happens. I think we already do this for current and get the swi_net: 18 unregistered isr stuff as a result (relating to ARP requests when you dhcp). Also, it might be nice to somehow track when ISR handlers are registered and deregistered using a backport of KTR or something similar so you can try to figure out what that ISR is supposed to be and see if that helps figure out the bug. However, that is a pretty good chunk of work, and just printing out the ISR if it's NULL might be a simpler first step. > Kris -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 21: 9:45 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-165-226-162.dsl.lsan03.pacbell.net [64.165.226.162]) by hub.freebsd.org (Postfix) with ESMTP id 900B437B404; Wed, 15 May 2002 21:09:42 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E703866DC8; Wed, 15 May 2002 21:09:41 -0700 (PDT) Date: Wed, 15 May 2002 21:09:41 -0700 From: Kris Kennaway To: John Baldwin Cc: Kris Kennaway , alpha@FreeBSD.org, Andrew Gallatin Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020515210941.A1042@xor.obsecurity.org> References: <20020515210001.A742@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="82I3+IH0IqGh5yIs" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jhb@FreeBSD.org on Thu, May 16, 2002 at 12:04:45AM -0400 Sender: owner-freebsd-alpha@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 On Thu, May 16, 2002 at 12:04:45AM -0400, John Baldwin wrote: > Well, ideally we would like to know which ISR is (mis)firing. Maybe a printf > that squawks when this happens. I think we already do this for current > and get the swi_net: 18 unregistered isr stuff as a result (relating to ARP > requests when you dhcp). I'm trying to netboot the system; the panic occurs while trying to bootp. Could it be the same problem? Kris --82I3+IH0IqGh5yIs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84zEEWry0BWjoQKURAuC1AJ9CYXndsBIfzwGAssp0rQVYGQpD6wCdH/th 0BYQVL7JawjjtnqopkZ7PgA= =X3VP -----END PGP SIGNATURE----- --82I3+IH0IqGh5yIs-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed May 15 21:14:35 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 7A2D437B406 for ; Wed, 15 May 2002 21:14:32 -0700 (PDT) Received: (qmail 5164 invoked from network); 16 May 2002 04:14:31 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 16 May 2002 04:14:31 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4G4EUF69029; Thu, 16 May 2002 00:14:30 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020515210941.A1042@xor.obsecurity.org> Date: Thu, 16 May 2002 00:14:20 -0400 (EDT) From: John Baldwin To: Kris Kennaway Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Cc: Andrew Gallatin , alpha@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-May-2002 Kris Kennaway wrote: > On Thu, May 16, 2002 at 12:04:45AM -0400, John Baldwin wrote: > >> Well, ideally we would like to know which ISR is (mis)firing. Maybe a >> printf >> that squawks when this happens. I think we already do this for current >> and get the swi_net: 18 unregistered isr stuff as a result (relating to ARP >> requests when you dhcp). > > I'm trying to netboot the system; the panic occurs while trying to > bootp. Could it be the same problem? Hmm, yes, that would be the same type of thing. Peter would know more about this than I would. If you stick in a printf and it turns out the troublesome ISR is 18 then I'm fairly sure it is arp and Peter might have some suggestions about a solution. > Kris -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 0:23:47 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 7DE0C37B403; Thu, 16 May 2002 00:23:44 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id F09DB5307; Thu, 16 May 2002 09:23:41 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: John Baldwin Cc: alpha@freebsd.org, current@freebsd.org Subject: Re: loader failure References: From: Dag-Erling Smorgrav Date: 16 May 2002 09:23:41 +0200 In-Reply-To: Message-ID: Lines: 13 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin writes: > e -n 100 Yep, this (well, e -w -n 100 blah, and a number of variations) is what I tried. > e -n 100 vmem: I guess the address space specifier is what was missing. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 0:41: 1 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id ED06737B405; Thu, 16 May 2002 00:40:56 -0700 (PDT) Received: by flood.ping.uio.no (Postfix, from userid 2602) id E65A5535E; Thu, 16 May 2002 09:40:54 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Kris Kennaway Cc: John Baldwin , alpha@FreeBSD.org, Andrew Gallatin Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE References: <20020515210001.A742@xor.obsecurity.org> <20020515210941.A1042@xor.obsecurity.org> From: Dag-Erling Smorgrav Date: 16 May 2002 09:40:54 +0200 In-Reply-To: <20020515210941.A1042@xor.obsecurity.org> Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Kris Kennaway writes: > On Thu, May 16, 2002 at 12:04:45AM -0400, John Baldwin wrote: > > Well, ideally we would like to know which ISR is (mis)firing. Maybe a printf > > that squawks when this happens. I think we already do this for current > > and get the swi_net: 18 unregistered isr stuff as a result (relating to ARP > > requests when you dhcp). B> I'm trying to netboot the system; the panic occurs while trying to > bootp. Could it be the same problem? bootp is a subset of dhcp. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 1:18:47 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 4300137B40E; Thu, 16 May 2002 01:18:42 -0700 (PDT) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA24575; Thu, 16 May 2002 18:18:34 +1000 Date: Thu, 16 May 2002 18:20:57 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: John Baldwin Cc: Dag-Erling Smorgrav , , Subject: Re: loader failure In-Reply-To: Message-ID: <20020516175948.B1999-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 15 May 2002, John Baldwin wrote: > On 15-May-2002 Dag-Erling Smorgrav wrote: > > John Baldwin writes: > >> The kernel overflowed it's stack. In SRM, you can try to debug this > >> by using 'e sp' to get the stack pointer then get a stack dump and save > >> a copy of it in a log or something, reboot the machine, then use gdb's > >> list command on the kernel.debug to figure out the source:line for all > >> the kernel-text addresses in the stack dump to figure out the backtrace. > > > > How do I get a stack trace? I can't get the 'examine' command to > > actually print anything... > > It depends on which machine actually. :-/ First do 'e sp' to get the > stack pointer. Then you want to do something like this: > > e -n 100 At least for i386's, it can be useful to set $esp and $eip to non-preposterous values if they are hosed (record the old values first). Bugs in the pagefault handler make the behaviour for invalid pointers very bad. The main one trap_pfault() doesn't give up immediately if the pagefault is from within ddb. In old versions of FreeBSD, this is probably only fatal if trap_pfault() blocks, but in -current is is fatal in the usual case where trap_fault() acquires a sleep lock. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 1:59:49 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 0AA0637B406 for ; Thu, 16 May 2002 01:59:43 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4G8xSHc001739 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 16 May 2002 10:59:33 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4G8xR95016819 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 16 May 2002 10:59:27 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4G8xRDe016818; Thu, 16 May 2002 10:59:27 +0200 (CEST)?g (envelope-from ticso) Date: Thu, 16 May 2002 10:59:27 +0200 From: Bernd Walter To: Rich Bud Cc: Andrew Gallatin , freebsd-alpha@FreeBSD.ORG Subject: Re: natd sig 10 under stable Message-ID: <20020516085926.GP4401@cicely5.cicely.de> References: <15586.64342.316609.71281@grasshopper.cs.duke.edu> <20020515221034.S30036-100000@nemesis.fortean.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020515221034.S30036-100000@nemesis.fortean.com> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 10:28:37PM -0400, Rich Bud wrote: > > Please apply this to your system (cd /usr/src/sys; patch < thepatch), > > rebuild your kernel & reboot to see if your natd problem is fixed. > > That seems to fix the crash, thanks. To answer your earlier 2 emails... > yes, i have CPUTYPE=ev56 set in /etc/make.conf, and ldwu seems to be the > winner, if i'm interpreting this correctly: > > Prepatch: > > pid 2704 (natd): unaligned access: va=0x11feb911 pc=0x120008994 ra=0x120008a04 op=0xc > > Postpatch: > > pid 384 (natd): unaligned access: va=0x11feb921 pc=0x120008994 ra=0x120008a04 op=ldwu > > Rich > > PS: as a side note, do you know why 'x/i' in gdb does not match the op= in > the unaligned access line? I get this, pre and post patch: > > (gdb) x/i 0x120008994 > 0x120008994 : ldq t12,-30184(gp) > > If this isn't a simple answer, don't concern yourself; i was just curious. ;) The instruction was already fetched, so pc is pointing to the next one. In many cases pc might be further modified because the cpu has already following instructions in the pipeline. -- 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-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 2: 0:27 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id C591A37B401 for ; Thu, 16 May 2002 02:00:08 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4G903Hc001767 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Thu, 16 May 2002 11:00:05 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4G90295016852 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 16 May 2002 11:00:03 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4G902CY016851; Thu, 16 May 2002 11:00:02 +0200 (CEST)?g (envelope-from ticso) Date: Thu, 16 May 2002 11:00:02 +0200 From: Bernd Walter To: Rich Bud Cc: Andrew Gallatin , freebsd-alpha@FreeBSD.ORG Subject: Re: natd sig 10 under stable Message-ID: <20020516090001.GQ4401@cicely5.cicely.de> References: <20020515235351.GO4401@cicely5.cicely.de> <20020515222924.I30036-100000@nemesis.fortean.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020515222924.I30036-100000@nemesis.fortean.com> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 15, 2002 at 10:32:23PM -0400, Rich Bud wrote: > > Can you please print pip, *pip, uh, p and nsh in AliasHandleUdpNbtNS()? > > (gdb) print pip > $1 = (struct ip *) 0x11feb910 > (gdb) print *pip > $2 = {ip_hl = 0, ip_v = 0, ip_tos = 0 '\000', ip_len = 256, ip_id = 256, ip_off = 0, ip_ttl = 0 '\000', ip_p = 0 '\000', ip_sum = 0, ip_src = {s_addr = 0}, ip_dst = {s_addr = 0}} > (gdb) print uh > $3 = (struct udphdr *) 0x0 > (gdb) print p > $4 = (u_char *) 0x11feb910 "" > (gdb) print nsh > $5 = (NbtNSHeader *) 0x11feb904 > (gdb) print *nsh > $6 = {nametrid = 7168, dir = 1, opcode = 0, nmflags = 0, rcode = 0, qdcount = 256, ancount = 0, nscount = 0, arcount = 0} > > After putting in the trap patch i did 'uac -f' and crashed it again. > The only change was a shift, pip -> 0x11feb920 and nsh -> 0x11feb914. Fixing is disabled with uac -f. -- 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-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 5:30:51 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 120B237B407 for ; Thu, 16 May 2002 05:30:48 -0700 (PDT) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 178KP5-0003yQ-01; Thu, 16 May 2002 14:30:43 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.3/8.12.2) with ESMTP id g4GCJovM000621 for ; Thu, 16 May 2002 14:19:50 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.3/8.12.3/Submit) id g4GCJo0c000620 for freebsd-alpha@freebsd.org; Thu, 16 May 2002 14:19:50 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: -CURRENT: panic: no init Date: Thu, 16 May 2002 12:19:50 +0000 (UTC) Message-ID: Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -CURRENT from yesterday: spec_getpages: preposterous offset 0xfff8000002ae4000 exec /sbin/init: error 5 spec_getpages: preposterous offset 0xfff80000038a0000 exec /sbin/init.bak: error 5 spec_getpages: preposterous offset 0xfff80000024ac000 exec /stand/sysinstall: error 5 init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall panic: no init -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 6:25: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id F09BC37B403 for ; Thu, 16 May 2002 06:24:56 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA08278; Thu, 16 May 2002 09:24:56 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4GDOQg40133; Thu, 16 May 2002 09:24:26 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15587.45834.286409.85202@grasshopper.cs.duke.edu> Date: Thu, 16 May 2002 09:24:26 -0400 (EDT) To: naddy@mips.inka.de (Christian Weisgerber) Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: -CURRENT: panic: no init In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Christian Weisgerber writes: > -CURRENT from yesterday: > > spec_getpages: preposterous offset 0xfff8000002ae4000 > exec /sbin/init: error 5 > spec_getpages: preposterous offset 0xfff80000038a0000 > exec /sbin/init.bak: error 5 > spec_getpages: preposterous offset 0xfff80000024ac000 > exec /stand/sysinstall: error 5 > init: not found in path /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall > panic: no init > Was this before or after the daddr_t backout? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 7: 4:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 9209F37B43F for ; Thu, 16 May 2002 06:36:38 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA08559; Thu, 16 May 2002 09:36:38 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4GDa8P40152; Thu, 16 May 2002 09:36:08 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15587.46536.100925.188044@grasshopper.cs.duke.edu> Date: Thu, 16 May 2002 09:36:08 -0400 (EDT) To: Rich Bud Cc: freebsd-alpha@freebsd.org Subject: Re: natd sig 10 under stable In-Reply-To: <20020515221034.S30036-100000@nemesis.fortean.com> References: <15586.64342.316609.71281@grasshopper.cs.duke.edu> <20020515221034.S30036-100000@nemesis.fortean.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Rich Bud writes: > > Please apply this to your system (cd /usr/src/sys; patch < thepatch), > > rebuild your kernel & reboot to see if your natd problem is fixed. > > That seems to fix the crash, thanks. To answer your earlier 2 emails... > yes, i have CPUTYPE=ev56 set in /etc/make.conf, and ldwu seems to be the > winner, if i'm interpreting this correctly: Glad to hear it! Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 7: 5:22 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 77BD937B693 for ; Thu, 16 May 2002 06:53:04 -0700 (PDT) Received: (qmail 15184 invoked from network); 16 May 2002 13:53:03 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 16 May 2002 13:53:03 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4GDr2F70850; Thu, 16 May 2002 09:53:02 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 16 May 2002 09:52:46 -0400 (EDT) From: John Baldwin To: Dag-Erling Smorgrav Subject: Re: loader failure Cc: current@freebsd.org, alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-May-2002 Dag-Erling Smorgrav wrote: > John Baldwin writes: >> e -n 100 > > Yep, this (well, e -w -n 100 blah, and a number of variations) is what > I tried. This works on my PWS 500au but not on the DS20. >> e -n 100 vmem: > > I guess the address space specifier is what was missing. This works on the DS20 but not on the PWS 500au. Yay for consistency. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 8:32:13 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id 77C7B37B40B for ; Thu, 16 May 2002 08:30:36 -0700 (PDT) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 178ND9-00044t-00; Thu, 16 May 2002 17:30:35 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.3/8.12.2) with ESMTP id g4GEdcvM018657 for ; Thu, 16 May 2002 16:39:38 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.3/8.12.3/Submit) id g4GEdb9C018650 for freebsd-alpha@freebsd.org; Thu, 16 May 2002 16:39:37 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: -CURRENT: panic: no init Date: Thu, 16 May 2002 14:39:37 +0000 (UTC) Message-ID: References: <15587.45834.286409.85202@grasshopper.cs.duke.edu> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew Gallatin wrote: > > spec_getpages: preposterous offset 0xfff8000002ae4000 > > exec /sbin/init: error 5 > > Was this before or after the daddr_t backout? Let's see... before. Oh, now that I re-read the loader thread, I guess that might explain it. It hadn't installed the new userland yet, so I was still using the old loader. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 8:35:48 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 964F937B404 for ; Thu, 16 May 2002 08:35:35 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id LAA11860; Thu, 16 May 2002 11:35:35 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4GFZ5G40311; Thu, 16 May 2002 11:35:05 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15587.53673.32658.509356@grasshopper.cs.duke.edu> Date: Thu, 16 May 2002 11:35:05 -0400 (EDT) To: naddy@mips.inka.de (Christian Weisgerber) Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: -CURRENT: panic: no init In-Reply-To: References: <15587.45834.286409.85202@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Christian Weisgerber writes: > Andrew Gallatin wrote: > > > > spec_getpages: preposterous offset 0xfff8000002ae4000 > > > exec /sbin/init: error 5 > > > > Was this before or after the daddr_t backout? > > Let's see... before. > Oh, now that I re-read the loader thread, I guess that might explain > it. It hadn't installed the new userland yet, so I was still using > the old loader. The problem would more likly be in the kernel for what you describe. In any case, the daddr_t backout might fix it. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 9:13:50 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 5EFE037B403; Thu, 16 May 2002 09:13:47 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id MAA13368; Thu, 16 May 2002 12:13:23 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4GGCr940346; Thu, 16 May 2002 12:12:53 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15587.55941.487432.408302@grasshopper.cs.duke.edu> Date: Thu, 16 May 2002 12:12:53 -0400 (EDT) To: Alan Cox Cc: Doug Rabson , John Baldwin , Jeff Roberson , alpha@FreeBSD.org, obrien@FreeBSD.org Subject: Re: gcc3 & alpha kernels In-Reply-To: <20020513181000.GA15621@cs.rice.edu> References: <200205131012.38702.dfr@nlsystems.com> <20020513181000.GA15621@cs.rice.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alan Cox writes: > > > > Could you please test the following patch and let me know if it helps? (It > converts the types of various fields and variables to unsigned. It also > reorders two fields to reduce alignment induced padding per Andrew's > suggestion.) > The patch works fine. My (UP) xp1000 survived a buildworld with it. (well, at least until a stray perl file caused it to die of natural causes) Sorry for the delay. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 16:39: 5 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from felix.cheetahusa.net (felix.cheetahusa.net [216.133.11.108]) by hub.freebsd.org (Postfix) with ESMTP id 1357E37B40A for ; Thu, 16 May 2002 16:39:01 -0700 (PDT) Received: from falcon (falcon.cheetahusa.net [192.168.10.139]) by felix.cheetahusa.net (8.11.6/8.11.6) with SMTP id g4GNco002988; Thu, 16 May 2002 16:38:52 -0700 (PDT) (envelope-from craig@boysite.org) From: "Craig Burgess" To: "Andrew Gallatin" , "Rich Bud" Cc: Subject: RE: natd sig 10 under stable Date: Thu, 16 May 2002 16:43:31 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal In-Reply-To: <15587.46536.100925.188044@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > -----Original Message----- > From: owner-freebsd-alpha@FreeBSD.ORG > [mailto:owner-freebsd-alpha@FreeBSD.ORG]On Behalf Of > Andrew Gallatin > Sent: Thursday, May 16, 2002 6:36 AM > To: Rich Bud > Cc: freebsd-alpha@FreeBSD.ORG > Subject: Re: natd sig 10 under stable > > > > Rich Bud writes: > > > Please apply this to your system (cd /usr/src/sys; > patch < thepatch), > > > rebuild your kernel & reboot to see if your natd > problem is fixed. > > > > That seems to fix the crash, thanks. To answer your > earlier 2 emails... > > yes, i have CPUTYPE=ev56 set in /etc/make.conf, and > ldwu seems to be the > > winner, if i'm interpreting this correctly: > > Glad to hear it! > > Drew Confirming (as much as I can) after trying the application/actions which previously caused natd to fail. The same steps, post-patch, cause no apparent problems. Thank you, Rich, for your accurate reporting and Drew for the patch. craig To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 19:30:49 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.inka.de (quechua.inka.de [212.227.14.2]) by hub.freebsd.org (Postfix) with ESMTP id D7A0437B404 for ; Thu, 16 May 2002 19:30:45 -0700 (PDT) Received: from kemoauc.mips.inka.de (uucp@) by mail.inka.de with local-bsmtp id 178XVw-0000sf-00; Fri, 17 May 2002 04:30:40 +0200 Received: from kemoauc.mips.inka.de (localhost [127.0.0.1]) by kemoauc.mips.inka.de (8.12.3/8.12.2) with ESMTP id g4H24EOF048362 for ; Fri, 17 May 2002 04:04:14 +0200 (CEST) (envelope-from mailnull@localhost.mips.inka.de) Received: (from mailnull@localhost) by kemoauc.mips.inka.de (8.12.3/8.12.3/Submit) id g4H24EMB048361 for freebsd-alpha@freebsd.org; Fri, 17 May 2002 04:04:14 +0200 (CEST) From: naddy@mips.inka.de (Christian Weisgerber) Subject: Re: -CURRENT: panic: no init Date: Fri, 17 May 2002 02:04:13 +0000 (UTC) Message-ID: References: <15587.45834.286409.85202@grasshopper.cs.duke.edu> <15587.53673.32658.509356@grasshopper.cs.duke.edu> Originator: naddy@mips.inka.de (Christian Weisgerber) To: freebsd-alpha@freebsd.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Andrew Gallatin wrote: > > > > spec_getpages: preposterous offset 0xfff8000002ae4000 > > > > exec /sbin/init: error 5 > > In any case, the daddr_t backout might fix it. Indeed it does. -- Christian "naddy" Weisgerber naddy@mips.inka.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu May 16 20: 7: 4 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by hub.freebsd.org (Postfix) with ESMTP id 62BAD37B408 for ; Thu, 16 May 2002 20:06:57 -0700 (PDT) Received: (qmail 32453 invoked from network); 17 May 2002 03:06:56 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 May 2002 03:06:56 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4H36uF73427; Thu, 16 May 2002 23:06:56 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15587.55941.487432.408302@grasshopper.cs.duke.edu> Date: Thu, 16 May 2002 23:06:44 -0400 (EDT) From: John Baldwin To: Andrew Gallatin Subject: Re: gcc3 & alpha kernels Cc: obrien@FreeBSD.org, alpha@FreeBSD.org, Jeff Roberson , Doug Rabson , Alan Cox Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 16-May-2002 Andrew Gallatin wrote: > > Alan Cox writes: > > > > > > > Could you please test the following patch and let me know if it helps? > (It > > converts the types of various fields and variables to unsigned. It also > > reorders two fields to reduce alignment induced padding per Andrew's > > suggestion.) > > > > > The patch works fine. My (UP) xp1000 survived a buildworld with it. > (well, at least until a stray perl file caused it to die of natural > causes) > > Sorry for the delay. Does it work fine if you back out my hack to alpha/include/atomic.h where I commented out the zapnot in atomic_cmpset_32()? > Drew -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri May 17 5: 4:51 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id 2D04537B40D for ; Fri, 17 May 2002 05:04:47 -0700 (PDT) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id g4HC4j200310; Fri, 17 May 2002 14:04:45 +0200 (MEST) Received: from hyperion.informatik.rwth-aachen.de (hyperion.Informatik.RWTH-Aachen.DE [137.226.194.33]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/7) with ESMTP id g4HC4id00290; Fri, 17 May 2002 14:04:44 +0200 (MEST) Received: from margaux.informatik.rwth-aachen.de (margaux.Informatik.RWTH-Aachen.DE [137.226.194.72]) by hyperion.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1) with ESMTP id OAA20571; Fri, 17 May 2002 14:04:37 +0200 (MET DST) Received: (from stolz@localhost) by margaux.informatik.rwth-aachen.de (8.9.1b+Sun/8.9.1-gb-2) id OAA00354; Fri, 17 May 2002 14:04:36 +0200 (MET DST) Date: Fri, 17 May 2002 14:04:36 +0200 From: Volker Stolz To: Bernd Walter Cc: alpha@freebsd.org Subject: Re: memory management fault during netbooting on 4.6-PRERELEASE Message-ID: <20020517140436.A347@i2.informatik.rwth-aachen.de> References: <20020514235608.A69014@xor.obsecurity.org> <15586.25870.79809.901266@grasshopper.cs.duke.edu> <20020515173553.GK4401@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <20020515173553.GK4401@cicely5.cicely.de> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In local.freebsd-alpha, you wrote: > There are many potential of them waiting for a small change elsewhere. > One PR (alpha/34232) is open containing a fix for one of them, which > might be the same you are seeing. > I just did not found the time yet to check if the fix might leak > some kernel internal data in the padding. After I discovered the reason, I toyed some more with the fixes and I think the cure is worse than the cause. The problem is that some kernel functions/ioctls which export data to userland are not 64bit friendly because of missing padding -- not in the structures, but how they are used. You will find some comments by itojun(?) in the NetBSD sources where he states the same. What happened for my case is that the interfaces got reported by an ioctl and I had IPv6 addresses on the interfaces. Unluckily, IPv6 address are not x*8 in size, but rather x*8+n. Now the kernel allocates one chunk of contigous memory for all interface addresses and starts to fill them in. This means that the next sa_address following an IPv6 entry will start at an unaligned address. I was using 'dhclient', too, and did observe the same behaviour and tracked it to the same place with gdb in -STABLE (the first IP6 address is one of the fec80, so the first "real" IPv6 address will trigger this). So, to fix this, you'd have to change the layout of the addresses in the chunk *and* fix all applications to behave accrodingly, otherwise they'd read from the wrong offset. That's where SA_ALIGN came into play, which does exactly that. Maybe you could just add trailing padding to the IP6-struct in the header and rebuild world ;) However, YMMV, and the bug DES reported might already be something else. Some patches are still lying around on my disks, but remember, you have to fix the kernel and the userland :-/ Volker To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri May 17 8:21:42 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id B2DBF37B414; Fri, 17 May 2002 08:21:11 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id LAA16158; Fri, 17 May 2002 11:21:11 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4HFKfI47274; Fri, 17 May 2002 11:20:41 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15589.8136.958487.689590@grasshopper.cs.duke.edu> Date: Fri, 17 May 2002 11:20:40 -0400 (EDT) To: John Baldwin Cc: obrien@FreeBSD.org, alpha@FreeBSD.org, Jeff Roberson , Doug Rabson , Alan Cox Subject: Re: gcc3 & alpha kernels In-Reply-To: References: <15587.55941.487432.408302@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin writes: > > Does it work fine if you back out my hack to alpha/include/atomic.h where > I commented out the zapnot in atomic_cmpset_32()? Nope. It still hangs on boot with the zapnot in place. Am I confused, or is it just plain wrong to blindly zap the high bits? Won't that always make the comparison fail for large unsigned values that GCC didn't mess up on? (eg, *p = 0xffffffff). Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri May 17 8:44:33 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by hub.freebsd.org (Postfix) with ESMTP id 3FDDB37B409 for ; Fri, 17 May 2002 08:44:29 -0700 (PDT) Received: (qmail 12720 invoked from network); 17 May 2002 15:44:26 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 17 May 2002 15:44:26 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g4HFiNF76119; Fri, 17 May 2002 11:44:24 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15589.8136.958487.689590@grasshopper.cs.duke.edu> Date: Fri, 17 May 2002 11:44:08 -0400 (EDT) From: John Baldwin To: Andrew Gallatin Subject: Re: gcc3 & alpha kernels Cc: Alan Cox , Doug Rabson , Jeff Roberson , alpha@FreeBSD.org, obrien@FreeBSD.org Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 17-May-2002 Andrew Gallatin wrote: > > John Baldwin writes: > > > > Does it work fine if you back out my hack to alpha/include/atomic.h where > > I commented out the zapnot in atomic_cmpset_32()? > > Nope. It still hangs on boot with the zapnot in place. > > Am I confused, or is it just plain wrong to blindly zap the high bits? > Won't that always make the comparison fail for large unsigned values > that GCC didn't mess up on? (eg, *p = 0xffffffff). No. ldl_l sign extends the 32-bit we load into a 64-bit register. The zapnot was clearing the upper 32-bits of the register to get back to a zero-extended unsigned 32-bit value. However, according to one of the GCC developer (see my latest commit) the Alpha ABI requires integer arguments to be sign-extended when passed regardless of signed/unsigned for the destination type b/c it maeks it easier sinec all the 'l' instructions (addl, ldl, etc.) do sign-extension. Thus, with 3.1 the zapnot isn't needed now. The fact that 2.95 needed it was possibly a bug. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri May 17 9: 7:49 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id AEBCB37B411; Fri, 17 May 2002 09:07:42 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id MAA17488; Fri, 17 May 2002 12:07:41 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g4HG7Ba47335; Fri, 17 May 2002 12:07:11 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15589.10927.852559.251962@grasshopper.cs.duke.edu> Date: Fri, 17 May 2002 12:07:11 -0400 (EDT) To: John Baldwin Cc: alpha@FreeBSD.ORG Subject: Re: gcc3 & alpha kernels In-Reply-To: References: <15589.8136.958487.689590@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Baldwin writes: > > On 17-May-2002 Andrew Gallatin wrote: > > > > John Baldwin writes: > > > > > > Does it work fine if you back out my hack to alpha/include/atomic.h where > > > I commented out the zapnot in atomic_cmpset_32()? > > > > Nope. It still hangs on boot with the zapnot in place. > > > > Am I confused, or is it just plain wrong to blindly zap the high bits? > > Won't that always make the comparison fail for large unsigned values > > that GCC didn't mess up on? (eg, *p = 0xffffffff). > > No. ldl_l sign extends the 32-bit we load into a 64-bit register. The > zapnot was clearing the upper 32-bits of the register to get back to > a zero-extended unsigned 32-bit value. However, according to one of the > GCC developer (see my latest commit) the Alpha ABI requires integer > arguments to be sign-extended when passed regardless of signed/unsigned for > the destination type b/c it maeks it easier sinec all the 'l' instructions > (addl, ldl, etc.) do sign-extension. Thus, with 3.1 the zapnot isn't > needed now. The fact that 2.95 needed it was possibly a bug. Ah, thanks. I think I unserstand now. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat May 18 9:57:26 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from localhost.com (syd-tgn-vce-vty15.as.wcom.net [63.12.28.15]) by hub.freebsd.org (Postfix) with SMTP id EA9EF37B437 for ; Sat, 18 May 2002 09:55:02 -0700 (PDT) From: freebsd-alpha@FreeBSD.org Reply-To: assistant2002@hotmail.com To: freebsd-alpha@FreeBSD.org Date: Sat, 18 May 2002 23:58:15 +0700 Subject: "ËÒ¡¤Ø³ÅéÁàËÅÇ·Õè¨ÐÇҧἹ ÂèÍÁá»ÅÇèҤسÇҧἹ·Õè¨ÐÅéÁàËÅÇ" 18/5/02 23:58:15 X-Mailer: QuickSender 1.05 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-Id: <20020518165502.EA9EF37B437@hub.freebsd.org> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear freebsd-alpha =2C =22=CB=D2=A1=A4=D8=B3=C5=E9=C1=E0=CB=C5=C7=B7=D5=E8=A8=D0=C7=D2=A7=E1=BC=B9 =C2=E8=CD=C1=E1=BB=C5=C7=E8=D2=A4=D8=B3=C7=D2=A7=E1=BC=B9=B7=D5=E8=A8=D0=C5=E9=C1=E0=CB=C5=C7=22 =CB=D2=A1=A4=D8=B3 =A4=D7=CD=A4=B9=CB=B9=D6=E8=A7=B7=D5=E8=E0=A4=C2=C7=D2=A7=E1=BC=B9=CD=B9=D2=A4=B5=A2=CD=A7=A4=D8=B3 =B5=E9=CD=A7=A1=D2=C3=B7=D5=E8=A8=D0=BB=C3=D0=CA=BA=A4=C7=D2=C1=CA=D3=E0=C3=E7=A8=E3=B9=AA=D5=C7=D4=B5 =B5=E9=CD=A7=A1=D2=C3=B7=D5=E8=A8=D0=BB=C3=D0=CA=BA=A4=C7=D2=C1=CA=D3=E0=C3=E7=A8=E3=B9=E3=B9=CB=B9=E9=D2=B7=D5=E8=A1=D2=C3=A7=D2=B9 =B5=E9=CD=A7=A1=D2=C3=B7=D5=E8=A8=D0=C1=D5=A4=C3=CD=BA=A4=C3=D1=C7=B7=D5=E8=CD=BA=CD=D8=E8=B9 =B5=E9=CD=A7=A1=D2=C3=C1=D5=CD=D4=CA=C3=D0=C0=D2=BE=B7=D2=A7=B4=E9=D2=B9=A1=D2=C3=E0=A7=D4=B9 =2E=2E=2E =BB=C3=D6=A1=C9=D2=E0=C3=D2=B7=D5=E8 http=3A=2F=2Fthaiworkathome=2Ecom=2Finformation =E0=BE=D7=E8=CD=C1=CD=A7=CB=D2=CA=D4=E8=A7=E3=CB=C1=E8=E6 =B7=D5=E8=A8=D0=E0=BB=C5=D5=E8=C2=B9=AA=D5=C7=D4=B5=A4=D8=B3 =22=A2=CD=CD=C0=D1=C2=CB=D2=A1=A2=E9=CD=A4=C7=D2=C1=B9=D5=E9=B6=D9=A1=CA=E8=A7=E4=BB=C2=D1=A7=A4=D8=B3=E2=B4=C2=BA=D1=A7=E0=CD=D4=AD =CB=D2=A1=A4=D8=B3=B5=E9=CD=A7=A1=D2=C3=E3=CB=E9=C3=D2=C2=AA=D7=E8=CD=B6=D9=A1=C5=BA=CD=CD=A1 =A1=C3=D8=B3=D2 click =B7=D5=E8=B9=D5=E8 www=2Ethaiworkathome=2Ecom=2Finformation=2Fmail=2Ehtml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat May 18 11:33: 6 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 6481C37B408; Sat, 18 May 2002 11:33:03 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4IIWwHc041528 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 18 May 2002 20:33:01 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4IIWR95057572 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 18 May 2002 20:32:27 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4IIWRUw057571; Sat, 18 May 2002 20:32:27 +0200 (CEST)?g (envelope-from ticso) Date: Sat, 18 May 2002 20:32:26 +0200 From: Bernd Walter To: freebsd-alpha@freebsd.org Cc: obrien@freebsd.org Subject: pthreads broken on -current Message-ID: <20020518183226.GE44753@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [75]cicely9# gcc -o foo foo.c [76]cicely9# gcc -pthread -o foo foo.c /usr/lib/libc_r.so: undefined reference to `__gxx_personality_v0' Exit 1 [77]cicely9# gcc -lc_r -o foo foo.c /usr/lib/libc_r.so: undefined reference to `__gxx_personality_v0' Exit 1 [78]cicely9# uname -a FreeBSD cicely9.cicely.de 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Fri May 17 16:14:51 CEST 2002 root@:/var/d7/builder/FreeBSD-2002-05-11/src/sys/alpha/compile/CICELY9 alpha [79]cicely9# cat foo.c int main(int argc, char *argv[]) { return 0; } This -current is a week old, can someone with a recent one please check if this is still true. I also can't check on i386 as I don't have a post gcc3.x i386. -- 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-alpha" in the body of the message From owner-freebsd-alpha Sat May 18 11:37:14 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id ADF5F37B409 for ; Sat, 18 May 2002 11:37:12 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4IIb2Jn032890; Sat, 18 May 2002 11:37:02 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4IIb1jG032889; Sat, 18 May 2002 11:37:01 -0700 (PDT) Date: Sat, 18 May 2002 11:37:01 -0700 From: "David O'Brien" To: Bernd Walter Cc: freebsd-alpha@freebsd.org Subject: Re: pthreads broken on -current Message-ID: <20020518113701.A32854@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020518183226.GE44753@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020518183226.GE44753@cicely5.cicely.de>; from ticso@cicely5.cicely.de on Sat, May 18, 2002 at 08:32:26PM +0200 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-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, May 18, 2002 at 08:32:26PM +0200, Bernd Walter wrote: > This -current is a week old, can someone with a recent one please > check if this is still true. > I also can't check on i386 as I don't have a post gcc3.x i386. You (no one) has the C++ support libraries on -current. Use the gcc31 or gcc32 port for what ever you are doing that with threads. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat May 18 11:53:46 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id A11B337B401; Sat, 18 May 2002 11:53:42 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated bits=0) by srv1.cosmo-project.de (8.12.3/8.12.3) with ESMTP id g4IIrdHc041682 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sat, 18 May 2002 20:53:41 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g4IIr795057670 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 18 May 2002 20:53:07 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g4IIr78x057669; Sat, 18 May 2002 20:53:07 +0200 (CEST)?g (envelope-from ticso) Date: Sat, 18 May 2002 20:53:06 +0200 From: Bernd Walter To: "David O'Brien" Cc: freebsd-alpha@freebsd.org Subject: Re: pthreads broken on -current Message-ID: <20020518185306.GF44753@cicely5.cicely.de> References: <20020518183226.GE44753@cicely5.cicely.de> <20020518113701.A32854@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020518113701.A32854@dragon.nuxi.com> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, May 18, 2002 at 11:37:01AM -0700, David O'Brien wrote: > On Sat, May 18, 2002 at 08:32:26PM +0200, Bernd Walter wrote: > > This -current is a week old, can someone with a recent one please > > check if this is still true. > > I also can't check on i386 as I don't have a post gcc3.x i386. > > You (no one) has the C++ support libraries on -current. > Use the gcc31 or gcc32 port for what ever you are doing that with > threads. Now that you say it - it's a gxx symbol. So C++ support libs are needed to link a plain C programm against libc_r... -- 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-alpha" in the body of the message From owner-freebsd-alpha Sat May 18 11:57:43 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 1E4E637B400 for ; Sat, 18 May 2002 11:57:41 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.3/8.12.2) with ESMTP id g4IIvcJn033639; Sat, 18 May 2002 11:57:38 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.3/8.12.3/Submit) id g4IIvYn0033632; Sat, 18 May 2002 11:57:34 -0700 (PDT) Date: Sat, 18 May 2002 11:57:34 -0700 From: "David O'Brien" To: Bernd Walter Cc: freebsd-alpha@freebsd.org Subject: Re: pthreads broken on -current Message-ID: <20020518115734.A33569@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20020518183226.GE44753@cicely5.cicely.de> <20020518113701.A32854@dragon.nuxi.com> <20020518185306.GF44753@cicely5.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020518185306.GF44753@cicely5.cicely.de>; from ticso@cicely5.cicely.de on Sat, May 18, 2002 at 08:53:06PM +0200 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-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, May 18, 2002 at 08:53:06PM +0200, Bernd Walter wrote: > > You (no one) has the C++ support libraries on -current. > > Use the gcc31 or gcc32 port for what ever you are doing that with > > threads. > > Now that you say it - it's a gxx symbol. > So C++ support libs are needed to link a plain C programm against > libc_r... Just as libgcc is needed to link plain C programs against libc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message