From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 06:52:41 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DBA116A4CE for ; Sun, 25 Jan 2004 06:52:41 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD96443D5A for ; Sun, 25 Jan 2004 06:52:36 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0PEqUL20865; Sun, 25 Jan 2004 15:52:31 +0100 (MET) Date: Sun, 25 Jan 2004 15:52:30 +0100 (CET) From: Harti Brandt To: David Cornejo In-Reply-To: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> Message-ID: <20040125155209.K18713@beagle.fokus.fraunhofer.de> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 14:52:41 -0000 On Sat, 24 Jan 2004, David Cornejo wrote: DC>I think this is the fix. __panic wants three arguments, not one. harti DC> DC>in directory /usr/src/sys/sparc64/include DC> DC>*** asmacros.h~ Tue Jul 15 14:08:43 2003 DC>--- asmacros.h Sat Jan 24 11:27:26 2004 DC>*************** DC>*** 102,108 **** DC> 9: .asciz msg ; \ DC> .previous ; \ DC> SET(9b, r1, %o0) ; \ DC>! call panic ; \ DC> nop DC> DC> #ifdef INVARIANTS DC>--- 102,108 ---- DC> 9: .asciz msg ; \ DC> .previous ; \ DC> SET(9b, r1, %o0) ; \ DC>! call __panic ; \ DC> nop DC> DC> #ifdef INVARIANTS DC> DC> DC>_______________________________________________ DC>freebsd-sparc64@freebsd.org mailing list DC>http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 DC>To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org" DC> -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 06:55:40 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A05CF16A4CE for ; Sun, 25 Jan 2004 06:55:40 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id F20DE43D1D for ; Sun, 25 Jan 2004 06:55:38 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0PEtWL21058; Sun, 25 Jan 2004 15:55:33 +0100 (MET) Date: Sun, 25 Jan 2004 15:55:32 +0100 (CET) From: Harti Brandt To: Ken Smith In-Reply-To: <20040125055947.GA12258@electra.cse.Buffalo.EDU> Message-ID: <20040125155351.X18713@beagle.fokus.fraunhofer.de> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125055947.GA12258@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Cornejo cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 14:55:40 -0000 On Sun, 25 Jan 2004, Ken Smith wrote: KS>On Sat, Jan 24, 2004 at 05:35:22PM -1000, David Cornejo wrote: KS>> I think this is the fix. KS>> KS>> in directory /usr/src/sys/sparc64/include KS>> KS>> *** asmacros.h~ Tue Jul 15 14:08:43 2003 KS>> --- asmacros.h Sat Jan 24 11:27:26 2004 KS>> *************** KS>> *** 102,108 **** KS>> 9: .asciz msg ; \ KS>> .previous ; \ KS>> SET(9b, r1, %o0) ; \ KS>> ! call panic ; \ KS>> nop KS>> KS>> #ifdef INVARIANTS KS>> --- 102,108 ---- KS>> 9: .asciz msg ; \ KS>> .previous ; \ KS>> SET(9b, r1, %o0) ; \ KS>> ! call __panic ; \ KS>> nop KS>> KS>> #ifdef INVARIANTS KS> KS>Looks like this is correct. Is there someone else "around" who KS>normally takes care of this sort of thing or should I take care KS>of it? The fix is wrong, I think, because __panic now takes three arguments. I wrote phk a couple of days ago, but nothing happend so far. We could do the equivalent of __panic(str, NULL, 0), or try to get the filename and linenumber correct. But this is where my sparc asm foo stops. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 08:30:27 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0EBA16A4DE for ; Sun, 25 Jan 2004 08:30:27 -0800 (PST) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B51EF43D45 for ; Sun, 25 Jan 2004 08:30:25 -0800 (PST) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i0PGUHTr021522; Sun, 25 Jan 2004 11:30:17 -0500 (EST) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i0PGUHQ6021521; Sun, 25 Jan 2004 11:30:17 -0500 (EST) Date: Sun, 25 Jan 2004 11:30:17 -0500 From: Ken Smith To: Harti Brandt Message-ID: <20040125163017.GA20676@electra.cse.Buffalo.EDU> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125055947.GA12258@electra.cse.Buffalo.EDU> <20040125155351.X18713@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040125155351.X18713@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.4.1i cc: David Cornejo cc: Ken Smith cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 16:30:27 -0000 On Sun, Jan 25, 2004 at 03:55:32PM +0100, Harti Brandt wrote: > The fix is wrong, I think, because __panic now takes three arguments. > I wrote phk a couple of days ago, but nothing happend so far. We could do > the equivalent of __panic(str, NULL, 0), or try to get the filename and > linenumber correct. But this is where my sparc asm foo stops. Thanks, I think you're right. My asm foo is rusty but I don't mind cleaning it up. I'll work on this if nobody else wants to or has time or whatever. Shouldn't be too hard to re-learn how to pass function parameters. But I don't want to take away anyone else's fun if I'm stepping on toes. I'm new to this area (sparc64 in general) in a variety of ways so I haven't noticed yet who tends to do what. -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 08:45:36 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9835416A4CE for ; Sun, 25 Jan 2004 08:45:36 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id C072843D45 for ; Sun, 25 Jan 2004 08:45:34 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0PGjTL02633; Sun, 25 Jan 2004 17:45:29 +0100 (MET) Date: Sun, 25 Jan 2004 17:45:29 +0100 (CET) From: Harti Brandt To: Ken Smith In-Reply-To: <20040125163017.GA20676@electra.cse.Buffalo.EDU> Message-ID: <20040125174359.C18713@beagle.fokus.fraunhofer.de> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125155351.X18713@beagle.fokus.fraunhofer.de> <20040125163017.GA20676@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Cornejo cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 16:45:36 -0000 On Sun, 25 Jan 2004, Ken Smith wrote: KS>On Sun, Jan 25, 2004 at 03:55:32PM +0100, Harti Brandt wrote: KS> KS>> The fix is wrong, I think, because __panic now takes three arguments. KS>> I wrote phk a couple of days ago, but nothing happend so far. We could do KS>> the equivalent of __panic(str, NULL, 0), or try to get the filename and KS>> linenumber correct. But this is where my sparc asm foo stops. KS> KS>Thanks, I think you're right. KS> KS>My asm foo is rusty but I don't mind cleaning it up. I'll work on this KS>if nobody else wants to or has time or whatever. Shouldn't be too KS>hard to re-learn how to pass function parameters. But I don't want to KS>take away anyone else's fun if I'm stepping on toes. I'm new to this KS>area (sparc64 in general) in a variety of ways so I haven't noticed yet who KS>tends to do what. Go ahead. I think the arguments are passed in %o0, %o1 and %o2. I don't know in what order, however. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 13:23:16 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AE6C16A4CE for ; Sun, 25 Jan 2004 13:23:16 -0800 (PST) Received: from sizone.org (mortar.sizone.org [65.126.154.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B4E843D1D for ; Sun, 25 Jan 2004 13:23:15 -0800 (PST) (envelope-from dgilbert@daveg.ca) Received: by sizone.org (Postfix, from userid 66) id E257C30966; Sun, 25 Jan 2004 16:23:14 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id CCBEB1D1F44; Sun, 25 Jan 2004 16:23:12 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16404.13248.715610.41597@canoe.dclg.ca> Date: Sun, 25 Jan 2004 16:23:12 -0500 To: freebsd-sparc64@freebsd.org X-Mailer: VM 7.17 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid Subject: Kernel build broken in -CURRENT. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 21:23:16 -0000 While building a kernel in current, it stopped saying: linking kernel.debug exception.o: In function `tl0_intr': /usr/src/sys/sparc64/sparc64/exception.S:753: undefined reference to `panic' exception.o: In function `tl1_intr': /usr/src/sys/sparc64/sparc64/exception.S:1887: undefined reference to `panic' support.o: In function `longjmp': /usr/src/sys/sparc64/sparc64/support.S:735: undefined reference to `panic' *** Error code 1 Stop in /usr/obj/usr/src/sys/HOME. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ... which seems rather fundamental. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================ From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 14:19:05 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E91716A4CE for ; Sun, 25 Jan 2004 14:19:05 -0800 (PST) Received: from netlx014.civ.utwente.nl (netlx014.civ.utwente.nl [130.89.1.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5752D43D5C for ; Sun, 25 Jan 2004 14:18:55 -0800 (PST) (envelope-from r.s.a.vandomburg@student.utwente.nl) Received: from gog (gog.student.utwente.nl [130.89.165.107]) by netlx014.civ.utwente.nl (8.11.7/HKD) with ESMTP id i0PMIrJ10425 for ; Sun, 25 Jan 2004 23:18:53 +0100 Message-Id: <200401252218.i0PMIrJ10425@netlx014.civ.utwente.nl> From: "Roderick van Domburg" To: Date: Sun, 25 Jan 2004 23:19:56 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 Thread-Index: AcPjkVyEKyj1cv+vSLOCcfNKV7mg2g== X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean Subject: Unable to link kernel: "support.o(.text+0xde4): undefined reference to `panic'" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 22:19:05 -0000 I've experienced this for about a week now: sh /usr/src/sys/conf/newvers.sh MAGOG cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror vers.c linking kernel support.o: In function `longjmp': support.o(.text+0xde4): undefined reference to `panic' *** Error code 1 Stop in /usr/obj/usr/src/sys/MAGOG. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Any idea? TIA, Roderick From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 14:25:25 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B74016A4CE for ; Sun, 25 Jan 2004 14:25:25 -0800 (PST) Received: from netlx014.civ.utwente.nl (netlx014.civ.utwente.nl [130.89.1.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1A1243D39 for ; Sun, 25 Jan 2004 14:25:23 -0800 (PST) (envelope-from r.s.a.vandomburg@student.utwente.nl) Received: from gog (gog.student.utwente.nl [130.89.165.107]) by netlx014.civ.utwente.nl (8.11.7/HKD) with ESMTP id i0PMPMJ12459 for ; Sun, 25 Jan 2004 23:25:22 +0100 Message-Id: <200401252225.i0PMPMJ12459@netlx014.civ.utwente.nl> From: "Roderick van Domburg" To: Date: Sun, 25 Jan 2004 23:26:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: Thread-Index: AcPjkVyEKyj1cv+vSLOCcfNKV7mg2gAANlcg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean Subject: RE: Unable to link kernel: "support.o(.text+0xde4): undefined reference to `panic'" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 22:25:25 -0000 Should've read before I posted, excuse me. Thumbs up for the hard work! Roderick From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 18:39:13 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32F0016A4CE; Sun, 25 Jan 2004 18:39:13 -0800 (PST) Received: from cueball.rtp.FreeBSD.org (cueball.rtp.FreeBSD.org [192.58.184.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 600EA43D31; Sun, 25 Jan 2004 18:39:07 -0800 (PST) (envelope-from des+tinderbox@freebsd.org) Received: from cueball.rtp.FreeBSD.org (localhost [127.0.0.1]) i0Q2d6v9055146; Sun, 25 Jan 2004 21:39:06 -0500 (EST) (envelope-from des+tinderbox@freebsd.org) Received: (from des@localhost) by cueball.rtp.FreeBSD.org (8.12.9/8.12.9/Submit) id i0Q2d6AX055145; Sun, 25 Jan 2004 21:39:06 -0500 (EST) (envelope-from des+tinderbox@freebsd.org) Date: Sun, 25 Jan 2004 21:39:06 -0500 (EST) Message-Id: <200401260239.i0Q2d6AX055145@cueball.rtp.FreeBSD.org> X-Authentication-Warning: cueball.rtp.FreeBSD.org: des set sender to Tinderbox using -f Sender: Tinderbox From: Tinderbox To: current@freebsd.org, sparc64@freebsd.org Precedence: bulk Subject: [current tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 02:39:13 -0000 TB --- 2004-01-26 01:37:07 - tinderbox 2.2 running on cueball.rtp.FreeBSD.org TB --- 2004-01-26 01:37:07 - starting CURRENT tinderbox run for sparc64/sparc64 TB --- 2004-01-26 01:37:07 - cvsupping the source tree TB --- /home/des/bin/cvsup -1 -g -L 2 /home/des/tinderbox/CURRENT/sparc64/sparc64/supfile TB --- 2004-01-26 01:37:54 - building world TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything.. TB --- 2004-01-26 02:33:56 - building generic kernel TB --- cd /home/des/tinderbox/CURRENT/sparc64/sparc64/src TB --- /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Mon Jan 26 02:33:56 GMT 2004 [...] cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror vers.c linking kernel.debug exception.o: In function `tl0_intr': /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/exception.S:753: undefined reference to `panic' exception.o: In function `tl1_intr': /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/exception.S:1887: undefined reference to `panic' support.o: In function `longjmp': /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/support.S:735: undefined reference to `panic' *** Error code 1 Stop in /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/obj/sparc64/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/GENERIC. *** Error code 1 Stop in /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src. *** Error code 1 Stop in /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src. TB --- 2004-01-26 02:39:06 - TB --- /usr/bin/make returned exit code 1 TB --- 2004-01-26 02:39:06 - TB --- ERROR: failed to build generic kernel TB --- 2004-01-26 02:39:06 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Sun Jan 25 21:09:26 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56C4816A4CE for ; Sun, 25 Jan 2004 21:09:26 -0800 (PST) Received: from electra.cse.Buffalo.EDU (electra.cse.Buffalo.EDU [128.205.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B637743D53 for ; Sun, 25 Jan 2004 21:09:22 -0800 (PST) (envelope-from kensmith@cse.Buffalo.EDU) Received: from electra.cse.Buffalo.EDU (kensmith@localhost [127.0.0.1]) i0Q59GTr004520; Mon, 26 Jan 2004 00:09:16 -0500 (EST) Received: (from kensmith@localhost) by electra.cse.Buffalo.EDU (8.12.10/8.12.9/Submit) id i0Q59EVa004518; Mon, 26 Jan 2004 00:09:14 -0500 (EST) Date: Mon, 26 Jan 2004 00:09:14 -0500 From: Ken Smith To: Harti Brandt Message-ID: <20040126050914.GB4242@electra.cse.Buffalo.EDU> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125055947.GA12258@electra.cse.Buffalo.EDU> <20040125155351.X18713@beagle.fokus.fraunhofer.de> <20040125163017.GA20676@electra.cse.Buffalo.EDU> <20040125174359.C18713@beagle.fokus.fraunhofer.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040125174359.C18713@beagle.fokus.fraunhofer.de> User-Agent: Mutt/1.4.1i cc: David Cornejo cc: Ken Smith cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 05:09:26 -0000 On Sun, Jan 25, 2004 at 05:45:29PM +0100, Harti Brandt wrote: > Go ahead. I think the arguments are passed in %o0, %o1 and %o2. I don't > know in what order, however. Thanks. I think this is it. With this in place the kernel compiles. I checked it by placing a bogus use of the macro into sys/sparc64/sparc64/swtch.S and the resulting panic message was: panic: Test call to panic at line 0 in file (null) cpuid = 0; Debugger("panic") Stopped at Debugger+0x1c: ta %xcc, 1 db> I don't hold much hope of getting the line number and filename right (and I think you get the same results from the places the i386 assembly code calls the new __panic, sys/i386/i386/swtch.s). I sent this in to my mentor for approval, but if anyone sees anything wrong with it let me know. Thanks. Index: asmacros.h =================================================================== RCS file: /home/ncvs/src/sys/sparc64/include/asmacros.h,v retrieving revision 1.17 diff -u -r1.17 asmacros.h --- asmacros.h 16 Jul 2003 00:08:43 -0000 1.17 +++ asmacros.h 26 Jan 2004 04:52:24 -0000 @@ -101,8 +101,10 @@ .sect .rodata ; \ 9: .asciz msg ; \ .previous ; \ - SET(9b, r1, %o0) ; \ - call panic ; \ + SET(9b, r1, %o2) ; \ + clr %o1 ; \ + clr %o0 ; \ + call __panic ; \ nop #ifdef INVARIANTS -- Ken Smith - From there to here, from here to | kensmith@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 01:23:21 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEA4816A4CE; Mon, 26 Jan 2004 01:23:21 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61DCB43D2D; Mon, 26 Jan 2004 01:23:14 -0800 (PST) (envelope-from ru@FreeBSD.org.ua) Received: from phantom.cris.net (ru@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i0Q9Nwem074379; Mon, 26 Jan 2004 11:23:59 +0200 (EET) (envelope-from ru@FreeBSD.org.ua) Received: (from ru@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i0Q9NwIU074374; Mon, 26 Jan 2004 11:23:58 +0200 (EET) (envelope-from ru) Date: Mon, 26 Jan 2004 11:23:58 +0200 From: Ruslan Ermilov To: Poul-Henning Kamp Message-ID: <20040126092358.GB73819@FreeBSD.org.ua> References: <200401260239.i0Q2d6AX055145@cueball.rtp.FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4SFOXa2GPu3tIq4H" Content-Disposition: inline In-Reply-To: <200401260239.i0Q2d6AX055145@cueball.rtp.FreeBSD.org> User-Agent: Mutt/1.5.5.1i cc: sparc64@FreeBSD.org Subject: Re: [current tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 09:23:22 -0000 --4SFOXa2GPu3tIq4H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Poul-Henning, On Sun, Jan 25, 2004 at 09:39:06PM -0500, Tinderbox wrote: > TB --- 2004-01-26 01:37:07 - starting CURRENT tinderbox run for sparc64/s= parc64 [...] > >>> Kernel build for GENERIC started on Mon Jan 26 02:33:56 GMT 2004 > [...] > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototy= pes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ex= tensions -std=3Dc99 -g -nostdinc -I- -I. -I/vol/vol1/users/des/tinderbox/C= URRENT/sparc64/sparc64/src/sys -I/vol/vol1/users/des/tinderbox/CURRENT/spar= c64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol1/users/des/tinderbox/CURR= ENT/sparc64/sparc64/src/sys/contrib/ipfilter -I/vol/vol1/users/des/tinderbo= x/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/vol/vol1/users/des/tin= derbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/vol/vol1/= users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL= -include opt_global.h -fno-common -finline-limit=3D15000 -mcmodel=3Dmedlo= w -msoft-float -ffreestanding -Werror vers.c > linking kernel.debug > exception.o: In function `tl0_intr': > /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/spa= rc64/exception.S:753: undefined reference to `panic' > exception.o: In function `tl1_intr': > /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/spa= rc64/exception.S:1887: undefined reference to `panic' > support.o: In function `longjmp': > /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/spa= rc64/support.S:735: undefined reference to `panic' > *** Error code 1 >=20 Could you please fix the PANIC() macro in sys/sparc64/include/asmacros.h? Cheers, --=20 Ruslan Ermilov FreeBSD committer ru@FreeBSD.org --4SFOXa2GPu3tIq4H Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAFNyuUkv4P6juNwoRAmrPAJoCZP1Ld4eG7fQJoMf/cB2WUJJI9ACeKSxg Wyoac7ZV6lU+N5Xz00NnAgk= =8t1E -----END PGP SIGNATURE----- --4SFOXa2GPu3tIq4H-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 02:17:26 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE48D16A4CE for ; Mon, 26 Jan 2004 02:17:26 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4EDA43D4C for ; Mon, 26 Jan 2004 02:17:19 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0QAHCL03807; Mon, 26 Jan 2004 11:17:12 +0100 (MET) Date: Mon, 26 Jan 2004 11:17:12 +0100 (CET) From: Harti Brandt To: Ken Smith In-Reply-To: <20040126050914.GB4242@electra.cse.Buffalo.EDU> Message-ID: <20040126111645.C21778@beagle.fokus.fraunhofer.de> References: <6.0.1.1.2.20040124173355.027d4508@mail.firetide.com> <20040125155351.X18713@beagle.fokus.fraunhofer.de> <20040125174359.C18713@beagle.fokus.fraunhofer.de> <20040126050914.GB4242@electra.cse.Buffalo.EDU> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: David Cornejo cc: freebsd-sparc64@freebsd.org Subject: Re: fix for undefined symbol 'panic' X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 10:17:26 -0000 Looks good to me. harti On Mon, 26 Jan 2004, Ken Smith wrote: KS>On Sun, Jan 25, 2004 at 05:45:29PM +0100, Harti Brandt wrote: KS> KS>> Go ahead. I think the arguments are passed in %o0, %o1 and %o2. I don't KS>> know in what order, however. KS> KS>Thanks. I think this is it. With this in place the kernel compiles. KS>I checked it by placing a bogus use of the macro into KS>sys/sparc64/sparc64/swtch.S and the resulting panic message was: KS> KS>panic: Test call to panic KS>at line 0 in file (null) KS>cpuid = 0; KS>Debugger("panic") KS>Stopped at Debugger+0x1c: ta %xcc, 1 KS>db> KS> KS>I don't hold much hope of getting the line number and filename right KS>(and I think you get the same results from the places the i386 assembly KS>code calls the new __panic, sys/i386/i386/swtch.s). KS> KS>I sent this in to my mentor for approval, but if anyone sees anything KS>wrong with it let me know. KS> KS>Thanks. KS> KS>Index: asmacros.h KS>=================================================================== KS>RCS file: /home/ncvs/src/sys/sparc64/include/asmacros.h,v KS>retrieving revision 1.17 KS>diff -u -r1.17 asmacros.h KS>--- asmacros.h 16 Jul 2003 00:08:43 -0000 1.17 KS>+++ asmacros.h 26 Jan 2004 04:52:24 -0000 KS>@@ -101,8 +101,10 @@ KS> .sect .rodata ; \ KS> 9: .asciz msg ; \ KS> .previous ; \ KS>- SET(9b, r1, %o0) ; \ KS>- call panic ; \ KS>+ SET(9b, r1, %o2) ; \ KS>+ clr %o1 ; \ KS>+ clr %o0 ; \ KS>+ call __panic ; \ KS> nop KS> KS> #ifdef INVARIANTS KS> KS> KS> -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 02:18:46 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20F7216A4CE; Mon, 26 Jan 2004 02:18:46 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2269F43D1D; Mon, 26 Jan 2004 02:18:39 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0QAIcL04258; Mon, 26 Jan 2004 11:18:38 +0100 (MET) Date: Mon, 26 Jan 2004 11:18:38 +0100 (CET) From: Harti Brandt To: Ruslan Ermilov In-Reply-To: <20040126092358.GB73819@FreeBSD.org.ua> Message-ID: <20040126111728.H21778@beagle.fokus.fraunhofer.de> References: <200401260239.i0Q2d6AX055145@cueball.rtp.FreeBSD.org> <20040126092358.GB73819@FreeBSD.org.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Poul-Henning Kamp cc: sparc64@freebsd.org Subject: Re: [current tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 10:18:46 -0000 Ken Smith has a patch waiting for approval of his mentor... harti On Mon, 26 Jan 2004, Ruslan Ermilov wrote: RE>Poul-Henning, RE> RE>On Sun, Jan 25, 2004 at 09:39:06PM -0500, Tinderbox wrote: RE>> TB --- 2004-01-26 01:37:07 - starting CURRENT tinderbox run for sparc64/sparc64 RE>[...] RE>> >>> Kernel build for GENERIC started on Mon Jan 26 02:33:56 GMT 2004 RE>> [...] RE>> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/acpica -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ipfilter -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/dev/ath/freebsd -I/vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -mcmodel=medlow -msoft-float -ffreestanding -Werror vers.c RE>> linking kernel.debug RE>> exception.o: In function `tl0_intr': RE>> /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/exception.S:753: undefined reference to `panic' RE>> exception.o: In function `tl1_intr': RE>> /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/exception.S:1887: undefined reference to `panic' RE>> support.o: In function `longjmp': RE>> /vol/vol1/users/des/tinderbox/CURRENT/sparc64/sparc64/src/sys/sparc64/sparc64/support.S:735: undefined reference to `panic' RE>> *** Error code 1 RE>> RE>Could you please fix the PANIC() macro in sys/sparc64/include/asmacros.h? RE> RE> RE>Cheers, RE> -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 02:40:42 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 832D416A4CE for ; Mon, 26 Jan 2004 02:40:42 -0800 (PST) Received: from mailhub.fokus.fraunhofer.de (mailhub.fokus.fraunhofer.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 222FC43D1D for ; Mon, 26 Jan 2004 02:40:40 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100])i0QAeZL11243; Mon, 26 Jan 2004 11:40:35 +0100 (MET) Date: Mon, 26 Jan 2004 11:40:35 +0100 (CET) From: Harti Brandt To: Garance A Drosihn In-Reply-To: Message-ID: <20040126113726.W21778@beagle.fokus.fraunhofer.de> References: <200312212239.38557.craig@xfoil.gank.org> <20040106095942.O66232@beagle.fokus.fraunhofer.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-sparc64@freebsd.org Subject: Re: Newer installworld_nk script (64-bit time_t) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 10:40:42 -0000 Hi, your script looks fine, although I could not test it - I just have no time at the moment to re-create a 32-bit time_t version on my sparc. I'd say its time now to through the switch. I recommend, however, to give re a hint that this is going to happen - they'll surely want to know this :-) Nice work, thanks, harti On Sat, 24 Jan 2004, Garance A Drosihn wrote: GAD>At 10:42 PM -0500 1/21/04, Garance A Drosihn wrote: GAD>>At 3:41 AM -0500 1/12/04, I (Garance) wrote: GAD>>> GAD>>>http://people.freebsd.org/~gad/time-64/installworld_nk GAD>>> GAD>>>Is the magic script. Probably a little more elaborate than it GAD>>>needs to be, but I had plenty of extra time while waiting for GAD>>>'make buildworld' to finish... GAD>> GAD>>Fwiw, I just made to minor changes to this script, to make it a GAD>>little more user-friendly. The option for "yes, go ahead and GAD>>do the installworld" actually works now... GAD> GAD>Well, thanks to a combination of events, I ended up having to a GAD>few extra hours to work on this, so I've gone through another GAD>few rounds of improvements to the script. GAD> GAD>http://people.freebsd.org/~gad/time-64/installworld_nk GAD> GAD>Is the newest version of the script. It has not been used GAD>on an "upgrade sparc64 from 32BTT to 64BTT" run, but it has GAD>been extensively tested with a few dozen installworlds on GAD>my dual-athlon system (which is just a *little* faster than GAD>my Ultra-10). GAD> GAD>By being more and more restrictive with my PATH settings, I GAD>tracked down a few more files that are prudent to copy, and I GAD>realized that some steps should be done in a different order. GAD>I also added a -S option, which causes the script to use GAD>symlinks to most executables it is pulling from /usr/obj, GAD>instead of copying them all. So, even though I'm bringing in GAD>more files, the /tmp/install-nk* directory is now only 200K to GAD>250K when -S is used. I also added more tests and improved GAD>some of the script-debugging features. There is also a -M GAD>option, which causes the installworld to be done with PATH GAD>set to *only* the /tmp/install-nk* directory. GAD> GAD>I also tested this version (on i386) by: GAD> boot into single user GAD> script /var/tmp/somefile GAD> make installworld <- standard make target GAD> EOF GAD> script /var/tmp/otherfile GAD> ./installworld_nk <- magic alternative GAD> EOF GAD>repeating that several times with different options to the script. GAD>I then did 'diff's on all the outputs, to make sure that they all GAD>seemed to do exactly the same thing. As far as those script GAD>outputs are concerned, the same commands were executed with the GAD>exact same outputs. GAD> GAD>Older versions of the script are still available in that same GAD>directory, but right now this is the most heavily-tested one GAD>(except that it hasn't actually been used for a 32->64 upgrade). GAD> GAD>I think it's an interesting exercise to try to make this script GAD>as bullet-proof as possible. I'm sure that it's adequate for GAD>immediate need, but I'd like to see how far it could go. GAD> GAD> -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 07:49:34 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35D8816A4CE for ; Mon, 26 Jan 2004 07:49:34 -0800 (PST) Received: from citadel.nobulus.com (citadel.nobulus.com [212.97.207.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3A2B43D60 for ; Mon, 26 Jan 2004 07:48:30 -0800 (PST) (envelope-from iva@citadel.nobulus.com) Received: from citadel.nobulus.com (localhost.nobulus.com [127.0.0.1]) by citadel.nobulus.com (8.12.10/8.12.9) with ESMTP id i0QGjXkb021829 for ; Mon, 26 Jan 2004 16:45:33 GMT (envelope-from iva@citadel.nobulus.com) Received: (from iva@localhost) by citadel.nobulus.com (8.12.10/8.12.9/Submit) id i0QGjXKv021828 for freebsd-sparc64@freebsd.org; Mon, 26 Jan 2004 16:45:33 GMT (envelope-from iva) Date: Mon, 26 Jan 2004 16:45:33 +0000 From: Ilya Varlashkin To: freebsd-sparc64@freebsd.org Message-ID: <20040126164533.GA21737@CITADEL.NOBULUS.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: bind() to interface ip addr fails X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 15:49:34 -0000 Hi I've noticed that some programs that try to bind() to specific ip address (as opposite to INADDR_ANY) fail to start. I've made simple test (http://citadel.nobulus.com/~ilya/daemon.c) and can observe that if I try to bind() to INADDR_ANY or to 127.0.0.1 then everything is fine. But if I specify ip address of my ethernet interface, then I get "can't bind() - Can't assign requested address (errno=49)". I thought that perhaps it's "big-endian" problem in inet_addr, but that proved wrong (I assigned IP address directly after htonl() conversion). This problem I have since 5.1-RELEASE and now with 5.2-RELEASE the problem is still there. I use Sun HME ethernet NIC on Ultra-10 and have no possibility to verify with other network cards at the moment. Could somebody please have a look into this whether it's problem with hme driver or with bind()? P.S.: If you need some more info or if you want me to test some code, just let me know. I'm not a programmer, but I'll try my best. Kind regards, Ilya Varlashkin From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 11:03:01 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4960E16A4CE for ; Mon, 26 Jan 2004 11:03:01 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9194F43D8C for ; Mon, 26 Jan 2004 11:02:03 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) i0QJ1jFR038113 for ; Mon, 26 Jan 2004 11:01:45 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0QJ1jkX038107 for freebsd-sparc64@freebsd.org; Mon, 26 Jan 2004 11:01:45 -0800 (PST) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 26 Jan 2004 11:01:45 -0800 (PST) Message-Id: <200401261901.i0QJ1jkX038107@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 19:03:01 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/12/16] sparc64/60300sparc64 Constant kernel messages: calcru: negativ 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/24] sparc64/53670sparc64 pthreads implementation on 5.1-Release sp 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/02/03] sparc64/47845sparc64 4 second daily clock drift a [2003/10/10] sparc64/57856sparc64 sparc64: IDE Raid controller no detect di 2 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 11:11:59 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECBC716A4CE for ; Mon, 26 Jan 2004 11:11:59 -0800 (PST) Received: from host7.apollohosting.com (host7.apollohosting.com [209.239.41.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65D3B43D68 for ; Mon, 26 Jan 2004 11:11:31 -0800 (PST) (envelope-from jlemay@njmc.com) Received: from njm2.njmc.com (ool-44c06b0f.dyn.optonline.net [68.192.107.15]) i0QJBb6J014455 for ; Mon, 26 Jan 2004 14:11:38 -0500 Received: from cyclops.njmc.com ([68.39.219.80]) by njm2.njmc.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 26 Jan 2004 14:12:01 -0500 Received: from njmc.com (gambit.njmc.com [192.168.2.101]) by cyclops.njmc.com (Postfix) with ESMTP id 4D0B312C018 for ; Mon, 26 Jan 2004 14:11:29 -0500 (EST) Message-ID: <40156661.4070708@njmc.com> Date: Mon, 26 Jan 2004 14:11:29 -0500 From: John LeMay User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 26 Jan 2004 19:12:01.0406 (UTC) FILETIME=[46D749E0:01C3E440] Subject: Problem with compiling ports X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 19:12:00 -0000 Hi, list newbie here (freebsd newbie as well, but one with several years experience with Linux, Solaris, and some AIX). Just wondering what the process is for reporting an issue when compiling something in the ports tree. I recently setup 5.2-release on an Ultra-5 (and I had that awful local terminal issue as well, but got through it). The other night I started compiling ntop from the ports tree. Since this is a gen-1 machine (270MHz), this took overnight. When I came back in the am there were a few errors and the result was no ntop. It seems compiling one of the dependencies failed. Should I report stuff like this here? If so, I'll rerun the make so I can capture the error and post it here. -- John LeMay kc2kth Senior Technical Manager NJMC | http://www.njmc.com | Phone 732-557-4848 From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 11:41:05 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C78916A4CE for ; Mon, 26 Jan 2004 11:41:05 -0800 (PST) Received: from smtp.volant.org (gate.volant.org [207.111.218.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A830E43D39 for ; Mon, 26 Jan 2004 11:41:02 -0800 (PST) (envelope-from patl+freebsd@volant.org) Received: from 64-144-229-193.client.dsl.net ([64.144.229.193] helo=[192.168.0.13]) by smtp.volant.org with asmtp (TLSv1:AES256-SHA:256) (Exim 4.22) id 1AlCay-0006Zt-4b; Mon, 26 Jan 2004 11:40:28 -0800 Date: Mon, 26 Jan 2004 11:40:26 -0800 From: Pat Lashley To: John LeMay , freebsd-sparc64@freebsd.org Message-ID: <4273990816.1075146026@mccaffrey.phoenix.volant.org> In-Reply-To: <40156661.4070708@njmc.com> References: <40156661.4070708@njmc.com> X-Mailer: Mulberry/3.1.0 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Scan-Signature: 0e97991d4d276b8697c19f6612959bfa973867fd X-Spam-Score: -4.5 (----) X-Spam-Score-Int: -45 X-Spam-Report: -4.5/5.0 This mail has matched the spam-filter tests listed below. See http://spamassassin.org/tag/ for details about the specific tests reported. In general, the higher the number of total points, the more likely that it actually is spam. (The 'required' number of points listed below is the arbitrary number above which the message is normally considered spam.) Content analysis details: (-4.50 points total, 5 required)header IN_REP_TO (-0.4 points) Has a In-Reply-To header probability is 1 to 10% [score: 0.0905]quoted email text REPLY_WITH_QUOTES (0.0 points) Reply with quoted text AWL (1.7 points) AWL: Auto-whitelist adjustment Subject: Re: Problem with compiling ports X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 19:41:05 -0000 --On Monday, January 26, 2004 14:11:29 -0500 John LeMay wrote: > Hi, list newbie here (freebsd newbie as well, but one with > several years experience with Linux, Solaris, and some AIX). > Just wondering what the process is for reporting an issue > when compiling something in the ports tree. Same as for anything else - send-pr(1). Sounds like you've got enough experience that the form should be self-explanitory. It's a good idea to check the FreeBSD.org website first to see if the problem has already been reported. And, depending on the problem, you may want to send a message to this group first, to help determine whether it is a real problem or pilot error. (Monitoring this group on an on-going basis is also a good idea for any FreeBSD sysadmin.) You didn't say whether you were using the ports tree from the release; or if you had CVSup'd it first. If you were using the release, check the Updating section of the Handbook on how to use CVSup to keep your ports tree up to date; then update the tree and try the build again. You may also want to install portupgrade and use that instead of direct makes. -Pat From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 11:55:08 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B62B16A4CE for ; Mon, 26 Jan 2004 11:55:08 -0800 (PST) Received: from slacknet.slacknet.com (slacknet.slacknet.com [204.228.135.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 602BD43D1D for ; Mon, 26 Jan 2004 11:55:07 -0800 (PST) (envelope-from rj45@slacknet.com) Received: from rj45 (helo=localhost) by slacknet.slacknet.com with local-esmtp (Exim 4.30 #1 (Debian)) id 1AlCp8-0005Dr-TD for ; Mon, 26 Jan 2004 12:55:06 -0700 Date: Mon, 26 Jan 2004 12:55:06 -0700 (MST) From: RJ45 To: freebsd-sparc64@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Subject: terminal emulation on sun console X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 19:55:08 -0000 Hello, starting to install FreeBSD on ultra 60, what is the best terminal emulation choice before running install program? noone of hte seems to work fine (Arrows won't work). Do I have to use a serial console? thanks Rick From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 26 14:27:37 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC26A16A4CE for ; Mon, 26 Jan 2004 14:27:37 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B29743D1F for ; Mon, 26 Jan 2004 14:27:24 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i0QMRFwD021587; Mon, 26 Jan 2004 17:27:15 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040126113726.W21778@beagle.fokus.fraunhofer.de> References: <200312212239.38557.craig@xfoil.gank.org> <20040106095942.O66232@beagle.fokus.fraunhofer.de> <20040106182824.GA42422@dragon.nuxi.com> <20040107174346.GA50142@dragon.nuxi.com> <20040111093043.GA11120@dragon.nuxi.com> <20040126113726.W21778@beagle.fokus.fraunhofer.de> Date: Mon, 26 Jan 2004 17:27:13 -0500 To: Harti Brandt From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-sparc64@freebsd.org Subject: Re: Newer installworld_nk script (64-bit time_t) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 22:27:38 -0000 At 11:40 AM +0100 1/26/04, Harti Brandt wrote: >Hi, > >your script looks fine, although I could not test it - I just >have no time at the moment to re-create a 32-bit time_t version >on my sparc. I'd say its time now to through the switch. I do not think we are quite ready yet. We need to have a larger test group than a dozen people (IMO). For instance, someone just sent me a message about their attempt to upgrade, and it appears that my instructions are not complete enough for people who are doing an upgrade via NFS-mounted directories. I was afraid we might see some problems in that situation, and it seems that we do. So, we have a little more work to do before making the switch... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu