From owner-freebsd-sparc Sun Mar 31 9:52: 2 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by hub.freebsd.org (Postfix) with ESMTP id DB7D337B41A for ; Sun, 31 Mar 2002 09:51:51 -0800 (PST) Received: from mailhost.feral.com (mjacob@mailhost.feral.com [192.67.166.1]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id g2VHpYf55778; Sun, 31 Mar 2002 09:51:35 -0800 (PST) (envelope-from mjacob@feral.com) Date: Sun, 31 Mar 2002 09:51:34 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: Jake Burkholder Cc: Thomas Moestl , freebsd-sparc@FreeBSD.ORG Subject: Re: much, much better..... thanks! In-Reply-To: <20020330231346.J40695@locore.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Wow, that's great. I'd like to get these in p4 so I can put update the kernel > for the DP1 release. You can submit them yourself if you want, or send me > a patch. The minor patches against my sparc64 cvsup tree are at http://people.freebsd.org/~mjacob/ISP_DIFFS.SPARC64.gz I've compiled and tested this against alpha, but not i386 or ia64 yet (can't test ia64- don't own one- but I sent a headsup to Peter && Doug Rabson that the old MEMORY_BARRIER define in isp was going away so bus_dma_sync better actually DTRT for ia64) I haven't checked this in yet into the main CVS because I want to test i386 first and I can't until I get back to the office and hook up a -current disk (I have none attached at the moment) and test. Oh, yeah, and have time for it- you would *not* believe how many balls are in the air right now, and, alas, nobody is making FreeBSD a priority for me right now :-(. I'm offering this patch set so you all can do some sparc64 testing in advance. Considering that the BLADE1000 has an onboard Qlogic 2200 chip, this should start to get *very* interesting as we find all the holes in isp for FreeBSD (of which there are still many) and, more important, in the CAM code about how it's *soooo* not ready for disks to go away (temporarily) and then come back (as SAN disks have a tendency to do). There is a client of mine who provides a NAS solution on NetBSD where they boot off of SAN disks. This is *sooooo* wrong, but they're the customer :-). If I ever get them to commit to real support, I'll be able to do some midlayer hardening for NetBSD to tolerate SAN disruption. If Sistina ever gets enough ahead to fund me to do the same for FreeBSD which they're busily porting GFS too, then this should get *really* interesting considering the massive FC investment that people with higher end Sun h/w have made. But I digress. > > David is anxious for the sbus support now to get his u1 booting :) Soon... With this, we'll have OpenBSD, FreeBSD and NetBSD all having both SBus and PCI instances, and all using a bus dma model that's very close. This makes for some good economies of scale for support for me. > > Sorry about the trouble booting :-/ > No problem! The port is starting to look pretty lively. Now, if we can get PPC in more serious shape, FreeBSD starts to have some multi-platform legs on h/w people might care about. And we can quite grieving over Alpha. And all agree to *loathe* Itanium :-). It'd *be* awfully peachy if we had one source repository, though :-;. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Mar 31 11:44:11 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from hex.databits.net (hex.csh.rit.edu [129.21.60.134]) by hub.freebsd.org (Postfix) with SMTP id 7ADCB37B405 for ; Sun, 31 Mar 2002 11:44:08 -0800 (PST) Received: (qmail 62234 invoked by uid 1001); 31 Mar 2002 19:34:37 -0000 Date: Sun, 31 Mar 2002 14:34:37 -0500 From: Pete Fritchman To: sparc@freebsd.org Subject: libtool port? Message-ID: <20020331143437.A62183@databits.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi All, I've finally gotten around to getting things up and running on my U10, went well. There seems to be a bug in sh, though. When buildling libtool, I get this: Making all in libltdl /bin/sh ./libtool --mode=compile /arch/sparc64/hosted/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -O -pipe -c ltdl.c -shared: not found ./libtool: 327: Syntax error: "(" unexpected *** Error code 2 I've got the latest /bin/sh (from p4, cvsup'd from cvsup10). I'm convinced it's a bug in /bin/sh because if I link /bin/sh to my ksh installation, things go well. I really don't know where to start.. I'm not much of a shell programmer and the libtool shell script is pretty insane :) Any ideas? Thanks! --pete -- Pete Fritchman [petef@(databits.net|freebsd.org|csh.rit.edu)] finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Mar 31 14:50:10 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id E9B4F37B400; Sun, 31 Mar 2002 14:49:53 -0800 (PST) Received: from athlon.pn.xcllnt.net (athlon.pn.xcllnt.net [192.168.4.3]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g2VMnrb21966; Sun, 31 Mar 2002 14:49:53 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from athlon.pn.xcllnt.net (localhost [127.0.0.1]) by athlon.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g2VMnrEF015584; Sun, 31 Mar 2002 14:49:53 -0800 (PST) (envelope-from marcel@athlon.pn.xcllnt.net) Received: (from marcel@localhost) by athlon.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g2VMnr3Q015583; Sun, 31 Mar 2002 14:49:53 -0800 (PST) Date: Sun, 31 Mar 2002 14:49:52 -0800 From: Marcel Moolenaar To: ia64@FreeBSD.org, sparc@FreeBSD.org Cc: ru@FreeBSD.org Subject: Buildworld with an external cross-compiler (long!) [PATCH] Message-ID: <20020331224952.GA8128@athlon.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [Ruslan: please consider this a re-request for review. Feel free to commit anything you think is correct (or ask me to do it), and give your comments and/or suggestions for the things you don't think are correct and/or want to see done differently] Gang, A patch to support building world for an architecture for which we don't have the compiler support in the source tree yet, can be found here: http://www.xcllnt.net/~marcel/xxtools.diff I did not try to make the patch such that we can build everything yet. That's something we can add later if desired (a reason for this would be to support a buildworld with a non-GNU compiler for various reasons such as correctness and/or performance). Anyway, what follows is a description of what the patch does and one way you can use it. The most important variable is the XX_TOOLS variable. When this variable is defined, certain behaviour is suppressed, such as: o building a cross-compiler with which world is built, o building the compiler as part of the world phase, o not building certain toolchain sensitive libraries and tools. When XX_TOOLS is set (it doesn't matter what value it has), the user is responsible to set the following variables as well: XX_AR, XX_AS, XX_CC, XX_CPP, XX_CXX, XX_LD, XX_NM, XX_OBJCOPY, XX_OBJDUMP, XX_RANDLIB, XX_SIZE The meaning of these variables should be clear. Furthermore, the patch depends on an enhancement in install(1) that has been discussed on -arch before. The enhancement is to have install(1) use a different strip(1) than "strip". This is part of the patch. The environment variable for this is STRIPBIN, since STRIP is already taken. The last environment variable, XX_RUNTIME, can be used to tell the build to link usr/include and usr/lib in the temporary world tree (ie /usr/obj/ia64/usr/src/i386 when crossbuilding ia64 on i386) to existing directories under the XX_RUNTIME tree. The effect is that when the temporary world tree is populated, the headers and libs will be written into XX_RUNTIME. A typical use is given in the sample wrapper script that follows: \begin{xmake.sh} #!/bin/sh export XX_TOOLS="/usr/local/bin/ia64-unknown-freebsd5.0" export XX_AR="${XX_TOOLS}-ar" export XX_AS="${XX_TOOLS}-as" export XX_CC="${XX_TOOLS}-gcc" export XX_CPP="${XX_TOOLS}-cpp" export XX_CXX="${XX_TOOLS}-g++" export XX_LD="${XX_TOOLS}-ld" export XX_NM="${XX_TOOLS}-nm" export XX_OBJCOPY="${XX_TOOLS}-objcopy" export XX_OBJDUMP="${XX_TOOLS}-objdump" export XX_RANLIB="${XX_TOOLS}-ranlib" export XX_SIZE="${XX_TOOLS}-size" export XX_RUNTIME=/usr/local/ia64-unknown-freebsd5.0 export STRIPBIN=${XX_TOOLS}-strip make -DNO_CXX -DNO_OBJC -DNO_WARNS TARGET_ARCH=ia64 $@ \end{xmake.sh} By setting XX_RUNTIME to /usr/local/, you automaticly cause the headers and libraries to be updated/installed in the place where the compiler will look for them, without any hackery. If you can achieve the same with options (like -isystem), you can keep XX_RUNTIME undefined and/or point it to a completely different location (like NFS mounted root filesystem of the machine you're building for). To make the above wrapper script work in it's presented form, you need to do some one-time setup first: you need to make sure that XX_RUNTIME has a valid layout: o create directories ${XX_RUNTIME}/usr/include and ${XX_RUNTIME}/usr/lib. o link ${XX_RUNTIME}/include to ${XX_RUNTIME}/usr/include (only needed for GNU compiler). o link ${XX_RUNTIME}/lib to ${XX_RUNTIME}/usr/lib after moving ldscripts to usr/include (only for GNU compiler). o make sure ${XX_RUNTIME}, ${XX_RUNTIME}/usr/include and ${XX_RUNTIME}/usr/lib are writable by whomever you do buildworlds with. o In the case of GNU, make sure that you don't have conflicting includes under /usr/local/lib/gcc-lib/... The includes there are created by fixincludes or something and are found before the ones in ${XX_RUNTIME}/usr/include. With the above, doing a buildworld is as easy as: xmake.sh buildworld Installation is as easy as: xmake.sh installworld DESTDIR= I think it should be sufficiently clear for everybody to try this themselves. Let me quickly go over the changes in the patch: o Most of the conditional assignments based on XX_TOOLS are to avoid doing things that we don't expect to work anyway. This mostly includes toolchain sensitive programs, libraries. In Makefile.inc1 we actually annotate CROSSENV based on it so that we cause the right compiler to be picked up, o We exclude sysinstall(8) for anything but alpha and i386, o The changes in contrib/amd resolve compilation failures, o Make gperf(1) and groff(1) conditional on NO_CXX. We cannot build those if we don't build libstdc++, o Of course we have perl(1) changes: the perl makefiles that are generated, redefine CC and friends. This works in a "normal" buildworld, because we pick up the right compiler by way of setting PATH. In this case, it's fatal. Hence, we explicitly set CC on the (sub-) make commandline. There's 1 case where this fails to work and that is SDBM_File. The reason for this is that SDBM_File has an additional level of recursion (ie a subdir) and we recurse into that directory from a generated makefile in which we cannot set CC and friends explicitly. Hence CC gets destroyed. o Exclude xlint(1) because it fails to build and the problem didn't look trivial enough to spend much time on it, o Allow install(1) to use a different "strip". Note that xinstall is already in the bootstrap-tools, so this will magically work. A final word (finally :-) I completed a successful buildworld last night, but have a build failure when applying the patches on a virgin machine. I also didn't try a "normal" buildworld with these patches applied. My main objective is to update my ia64 box and share this patch early enough that people can try it out themselves and give feedback. FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 1 7:56:36 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from uni-kl.de (mail.uni-kl.de [131.246.137.52]) by hub.freebsd.org (Postfix) with ESMTP id 265F237B419 for ; Mon, 1 Apr 2002 07:56:30 -0800 (PST) Received: from postamt.eit.uni-kl.de (postamt.eit.uni-kl.de [131.246.73.100]) by uni-kl.de (8.11.6+Sun/8.11.5) with ESMTP id g31FuRb18156 for ; Mon, 1 Apr 2002 17:56:27 +0200 (MET DST) Received: from ernie.eit.uni-kl.de (fs.eit.uni-kl.de [131.246.12.176]) by postamt.eit.uni-kl.de (8.9.3/8.9.3) with ESMTP id RAA23739 for ; Mon, 1 Apr 2002 17:56:28 +0200 Received: from ernie.eit.uni-kl.de ([131.246.12.176]) by ernie.eit.uni-kl.de (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g31FuI200953 for ; Mon, 1 Apr 2002 17:56:23 +0200 X-Authentication-Warning: ernie.eit.uni-kl.de: Host [131.246.12.176] claimed to be ernie.eit.uni-kl.de Date: Mon, 1 Apr 2002 17:56:18 +0200 (CEST) From: Holger Lamm To: sparc@FreeBSD.ORG Subject: Re: libtool port? In-Reply-To: <20020331143437.A62183@databits.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, 31 Mar 2002, Pete Fritchman wrote: > I've finally gotten around to getting things up and running on my U10, > went well. There seems to be a bug in sh, though. When buildling > libtool, I get this: [...] > ./libtool: 327: Syntax error: "(" unexpected > *** Error code 2 Got this with a U5 as well. I got a bit further by changing TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)" to TIMESTAMP=' (1.385.2.196 1999/12/07 21:47:57)' (you can add it to patch-ac and patch-ad). A bit later it breaks while parsing a line: old_postuninstall_cmds=" in work/libtool-1.3.4/libltdl/libtool (crated by 'ltconfig'). (lookup the 'libtool:' target in Makefile) Yes, there should be two quotes. It it definitely the parsing of "s by /bin/sh. Holger -- Some people are alive only because it is illegal to kill them. - hotliner's saying (d.a.s.r.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 1 20: 4:23 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by hub.freebsd.org (Postfix) with ESMTP id AC52437B419 for ; Mon, 1 Apr 2002 20:04:19 -0800 (PST) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g3245pH08468; Mon, 1 Apr 2002 23:05:51 -0500 (EST) (envelope-from jake) Date: Mon, 1 Apr 2002 23:05:51 -0500 From: Jake Burkholder To: Holger Lamm Cc: sparc@FreeBSD.ORG Subject: Re: libtool port? Message-ID: <20020401230551.O207@locore.ca> References: <20020331143437.A62183@databits.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from holger@eit.uni-kl.de on Mon, Apr 01, 2002 at 05:56:18PM +0200 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Mon, Apr 01, 2002 at 05:56:18PM +0200, Holger Lamm said words to the effect of; > On Sun, 31 Mar 2002, Pete Fritchman wrote: > > > I've finally gotten around to getting things up and running on my U10, > > went well. There seems to be a bug in sh, though. When buildling > > libtool, I get this: > > [...] > > ./libtool: 327: Syntax error: "(" unexpected > > *** Error code 2 > > Got this with a U5 as well. > I got a bit further by changing > TIMESTAMP=" (1.385.2.196 1999/12/07 21:47:57)" > to > TIMESTAMP=' (1.385.2.196 1999/12/07 21:47:57)' > (you can add it to patch-ac and patch-ad). > A bit later it breaks while parsing a line: > old_postuninstall_cmds=" > in work/libtool-1.3.4/libltdl/libtool (crated by 'ltconfig'). > (lookup the 'libtool:' target in Makefile) > Yes, there should be two quotes. > It it definitely the parsing of "s by /bin/sh. Anyone care to investigate further? Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 1 21:14:21 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id F394B37B405 for ; Mon, 1 Apr 2002 21:14:16 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.6) id g325EFo63508; Tue, 2 Apr 2002 00:14:15 -0500 (EST) (envelope-from wollman) Date: Tue, 2 Apr 2002 00:14:15 -0500 (EST) From: Garrett Wollman Message-Id: <200204020514.g325EFo63508@khavrinen.lcs.mit.edu> To: jake@locore.ca Subject: Re: libtool port? In-Reply-To: <20020401230551.O207@locore.ca> References: <20020331143437.A62183@databits.net> Organization: MIT Laboratory for Computer Science Cc: sparc@freebsd.org Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20020401230551.O207@locore.ca> you write: >> Yes, there should be two quotes. >> It it definitely the parsing of "s by /bin/sh. > >Anyone care to investigate further? I'd say ``check your binary checksums'' first. libf^Htool built just fine on my U5, as I've noted here before, and came close enough to passing its regression tests. -GAWollman -- Garrett A. Wollman | wollman@lcs.mit.edu | History starts with a consonant. Opinions not those of| MIT, LCS, CRS, or NSA| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 1 21:55:38 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from hex.databits.net (hex.csh.rit.edu [129.21.60.134]) by hub.freebsd.org (Postfix) with SMTP id 4091437B41C for ; Mon, 1 Apr 2002 21:55:21 -0800 (PST) Received: (qmail 87212 invoked by uid 1001); 2 Apr 2002 05:35:13 -0000 Date: Tue, 2 Apr 2002 00:35:13 -0500 From: Pete Fritchman To: Garrett Wollman Cc: jake@locore.ca, sparc@freebsd.org Subject: Re: libtool port? Message-ID: <20020402003513.A87020@databits.net> References: <20020331143437.A62183@databits.net> <20020401230551.O207@locore.ca> <200204020514.g325EFo63508@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200204020514.g325EFo63508@khavrinen.lcs.mit.edu>; from wollman@lcs.mit.edu on Tue, Apr 02, 2002 at 12:14:15AM -0500 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ++ 02/04/02 00:14 -0500 - Garrett Wollman: | In article <20020401230551.O207@locore.ca> you write: | | >> Yes, there should be two quotes. | >> It it definitely the parsing of "s by /bin/sh. | > | >Anyone care to investigate further? | | I'd say ``check your binary checksums'' first. | | libf^Htool built just fine on my U5, as I've noted here before, and | came close enough to passing its regression tests. I built /bin/sh from the latest p4 sources and no-go here for me. You don't have any local patches at all? Could you maybe send me your /bin/sh binary? Thanks, --pete -- Pete Fritchman [petef@(databits.net|freebsd.org|csh.rit.edu)] finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 2 4:40: 4 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.ruhr.de (in-ruhr4.ruhr.de [212.23.134.2]) by hub.freebsd.org (Postfix) with SMTP id 2034037B41A for ; Tue, 2 Apr 2002 04:39:57 -0800 (PST) Received: (qmail 16887 invoked by uid 10); 2 Apr 2002 12:39:55 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.11.6/8.11.2) id g32CZ6s92039 for freebsd-sparc@freebsd.org; Tue, 2 Apr 2002 14:35:06 +0200 (CEST) (envelope-from ue) Date: Tue, 2 Apr 2002 14:35:06 +0200 From: Udo Erdelhoff To: freebsd-sparc@freebsd.org Subject: Netra T4: Boot loader problem Message-ID: <20020402123506.GW51146@nathan.ruhr.de> Mail-Followup-To: freebsd-sparc@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.27i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, trying to boot from the 0321 ISO on a Netra T4 gives: Boot device: /pci@8,700000/scsi@6/disk@6,0:f File and args: >> FreeBSD/sparc64 boot block Boot path: /pci@8,700000/scsi@6/disk@6,0:f Boot loader: /boot/loader Console: OpenFirmware console panic: main: OF_getprop --> Press a key on the console to reboot <-- (short and to the point) /s/Udo -- Von wichtigen Daten macht man ein Backup. Von unwichtigen Daten macht man kein Backup. Hat man kein Backup, waren die Daten auch nicht wichtig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 2 6:33:50 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 9357D37B405 for ; Tue, 2 Apr 2002 06:33:40 -0800 (PST) Received: (qmail 17613 invoked by uid 0); 2 Apr 2002 14:33:38 -0000 Received: from pd9538c1c.dip.t-dialin.net (HELO forge.local) (217.83.140.28) by mail.gmx.net (mp011-rz3) with SMTP; 2 Apr 2002 14:33:38 -0000 Received: from tmm by forge.local with local (Exim 3.35 #1) id 16sPLr-0000bZ-00; Tue, 02 Apr 2002 16:33:35 +0200 Date: Tue, 2 Apr 2002 16:33:35 +0200 From: Thomas Moestl To: Udo Erdelhoff Cc: freebsd-sparc@freebsd.org Subject: Re: Netra T4: Boot loader problem Message-ID: <20020402143335.GA303@crow.dom2ip.de> Mail-Followup-To: Udo Erdelhoff , freebsd-sparc@freebsd.org References: <20020402123506.GW51146@nathan.ruhr.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020402123506.GW51146@nathan.ruhr.de> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2002/04/02 at 14:35:06 +0200, Udo Erdelhoff wrote: > Hi, > trying to boot from the 0321 ISO on a Netra T4 gives: > > Boot device: /pci@8,700000/scsi@6/disk@6,0:f File and args: > > >> FreeBSD/sparc64 boot block > Boot path: /pci@8,700000/scsi@6/disk@6,0:f > Boot loader: /boot/loader > Console: OpenFirmware console > panic: main: OF_getprop > --> Press a key on the console to reboot <-- > > (short and to the point) Hmmm, does this box have an UltraSPARC-III? This problem has been observed on machines with that CPU only (it is easy to fix in that case, but they are not supported for other reasons, too). Can you please supply the output of 'prtconf -vp' (from Solaris)? - thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 2 9: 0:18 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.ruhr.de (in-ruhr4.ruhr.de [212.23.134.2]) by hub.freebsd.org (Postfix) with SMTP id DE6B037B423 for ; Tue, 2 Apr 2002 08:59:56 -0800 (PST) Received: (qmail 23551 invoked by uid 10); 2 Apr 2002 16:59:55 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.11.6/8.11.2) id g32Grjh92697; Tue, 2 Apr 2002 18:53:45 +0200 (CEST) (envelope-from ue) Date: Tue, 2 Apr 2002 18:53:45 +0200 From: Udo Erdelhoff To: Thomas Moestl Cc: freebsd-sparc@freebsd.org Subject: Re: Netra T4: Boot loader problem Message-ID: <20020402165345.GY51146@nathan.ruhr.de> Mail-Followup-To: Thomas Moestl , freebsd-sparc@freebsd.org References: <20020402123506.GW51146@nathan.ruhr.de> <20020402143335.GA303@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020402143335.GA303@crow.dom2ip.de> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 02, 2002 at 04:33:35PM +0200, Thomas Moestl wrote: > > panic: main: OF_getprop > > Hmmm, does this box have an UltraSPARC-III? Two of them, actually. > This problem has been > observed on machines with that CPU only (it is easy to fix in that > case, but they are not supported for other reasons, too). This was just a quick 'I have the CD, I have several boxes, try it' test. > Can you please supply the output of 'prtconf -vp' (from Solaris)? Not of the machine where I tried it (it does not have Solaris intalled yet), but of an identical twin. I will mail to your private address as it is somewhat long for the list. /s/Udo -- There's more than one way to skin a cat: Way number 32 -- Wrap it around a lonely frat man's pecker. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 2 16:14:56 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id 2A5E637B405 for ; Tue, 2 Apr 2002 16:14:53 -0800 (PST) Received: (qmail 21150 invoked by uid 3130); 3 Apr 2002 00:14:52 -0000 Date: Tue, 2 Apr 2002 19:14:52 -0500 From: Garrett Rooney To: freebsd-sparc@freebsd.org Subject: error installing 20020321 snapshot on ultra 10 Message-ID: <20020403001452.GA17830@electricjellyfish.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i'm trying to install the 20020321 snapshot on an ultra 10 via CD-ROM, and it's hanging trying to mount the root filesystem from the cd. the last bit of the console output is this: atapci0: port 0xc00020-0xc0002f,0xc00018-0xc0001b,0xc00 010-0xc00017,0xc00008-0xc0000b,0xc00000-0xc00007 irq 32 at device 3.0 on pci2 ata2: at 0xc00000 on atapci0 ata3: at 0xc00010 on atapci0 nexus0: , type display (no driver attached) ad0: 4103MB [8894/15/63] at ata2-master WDMA2 acd0: CDROM at ata3-master PIO3 Mounting root from cd9660:cd0a setrootbyname failed iso_mountroot: can't find rootvp Root mount failed: 6 Mounting root from cd9660:acd0a cd9660: RockRidge Extension Invalid time in real time clock. Check and reset the date immediately! and then it just sits there. just off the top of my head, it looks like it's trying to mount off of cd0, but there is no cd0 device, just acd0. is there some way to tell it to mount it's filesystem off of the ata cdrom? or am i completely off base. for reference, the complete tip.record from the install attempt is at http://electricjellyfish.net/files/tip.record thanks, -garrett -- garrett rooney Remember, any design flaw you're rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 2 16:59:19 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id 2572437B416 for ; Tue, 2 Apr 2002 16:59:16 -0800 (PST) Received: (qmail 28950 invoked by uid 3130); 3 Apr 2002 00:59:15 -0000 Date: Tue, 2 Apr 2002 19:59:15 -0500 From: Garrett Rooney To: freebsd-sparc@freebsd.org Subject: Re: error installing 20020321 snapshot on ultra 10 Message-ID: <20020403005914.GB17830@electricjellyfish.net> References: <20020403001452.GA17830@electricjellyfish.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020403001452.GA17830@electricjellyfish.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 02, 2002 at 07:14:52PM -0500, Garrett Rooney wrote: > i'm trying to install the 20020321 snapshot on an ultra 10 via CD-ROM, > and it's hanging trying to mount the root filesystem from the cd. the > last bit of the console output is this: my appologies. it seems it was just taking a really really really long time to read anything at all from the cdrom drive. after i sent the email and walked away from the computer for a while, it kept going, slowly but surely, and now i've got a login prompt! sorry about the noise. -garrett -- garrett rooney Remember, any design flaw you're rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Wed Apr 3 18:29:16 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from isris.pair.com (isris.pair.com [209.68.2.39]) by hub.freebsd.org (Postfix) with SMTP id BA38137B417 for ; Wed, 3 Apr 2002 18:29:11 -0800 (PST) Received: (qmail 26829 invoked by uid 3130); 4 Apr 2002 02:29:10 -0000 Date: Wed, 3 Apr 2002 21:29:10 -0500 From: Garrett Rooney To: Pete Fritchman Cc: Garrett Wollman , jake@locore.ca, sparc@freebsd.org Subject: Re: libtool port? Message-ID: <20020404022910.GA92854@electricjellyfish.net> References: <20020331143437.A62183@databits.net> <20020401230551.O207@locore.ca> <200204020514.g325EFo63508@khavrinen.lcs.mit.edu> <20020402003513.A87020@databits.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020402003513.A87020@databits.net> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 02, 2002 at 12:35:13AM -0500, Pete Fritchman wrote: > ++ 02/04/02 00:14 -0500 - Garrett Wollman: > | In article <20020401230551.O207@locore.ca> you write: > | > | >> Yes, there should be two quotes. > | >> It it definitely the parsing of "s by /bin/sh. > | > > | >Anyone care to investigate further? > | > | I'd say ``check your binary checksums'' first. > | > | libf^Htool built just fine on my U5, as I've noted here before, and > | came close enough to passing its regression tests. > > I built /bin/sh from the latest p4 sources and no-go here for me. You > don't have any local patches at all? Could you maybe send me your > /bin/sh binary? has anyone made any progress on this problem? i've got the same results, and rebuilding sh didn't seem to change anything. -garrett -- garrett rooney Remember, any design flaw you're rooneg@electricjellyfish.net sufficiently snide about becomes http://electricjellyfish.net/ a feature. -- Dan Sugalski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message