From owner-freebsd-sparc Mon Apr 15 7:29:22 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from ashd1-1.relay.mail.uu.net (ashd1-1.relay.mail.uu.net [199.171.54.245]) by hub.freebsd.org (Postfix) with ESMTP id 748BF37B419 for ; Mon, 15 Apr 2002 07:29:17 -0700 (PDT) Received: from ukwsgavinj1 by mr0.ash.ops.us.uu.net with SMTP (peer crosschecked as: vlanJ-103.cbg.uk.corp.eu.uu.net [62.191.6.103]) id QQmkrx26405 for ; Mon, 15 Apr 2002 14:29:15 GMT Message-ID: <001e01c1e489$ebfd8f00$6706bf3e@cbg.uk.corp.eu.uu.net> From: "Gavin Jones" To: Date: Mon, 15 Apr 2002 15:27:48 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C1E492.19AB2810" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C1E492.19AB2810 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ------=_NextPart_000_0007_01C1E492.19AB2810 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
------=_NextPart_000_0007_01C1E492.19AB2810-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 15 14:20:39 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from pheriche.sun.com (pheriche.sun.com [192.18.98.34]) by hub.freebsd.org (Postfix) with ESMTP id F00D037B405; Mon, 15 Apr 2002 14:20:34 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by pheriche.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA20265; Mon, 15 Apr 2002 15:20:33 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3FLKWx29930; Tue, 16 Apr 2002 00:20:32 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3FLKVF10302; Tue, 16 Apr 2002 00:20:31 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15547.17438.866488.79313@gargle.gargle.HOWL> Date: Tue, 16 Apr 2002 00:20:30 +0300 To: obrien@FreeBSD.ORG Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Preserving Solaris disklabel when installing FreeBSD? In-Reply-To: <20020413003935.B34470@dragon.nuxi.com> References: <15543.20405.653991.106466@gargle.gargle.HOWL> <20020413003935.B34470@dragon.nuxi.com> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.COM 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 David O'Brien writes: > > It is my understanding Solaris can boot from any partition (SVR4 slice). > I wonder if you can install Solaris -- creating 4 partitions 'a', 'b', > 'c', 'h' (SVR4 slices 0,1,2,6). Use 'h' for Solaris /, swap to 'b'. > Then boot the Solaris install and untar the FreeBSD bits into the 'a' > partition. > I've installed Solaris to 'd' and swap to 'b'. There is also 'a' where I preserved space for FreeBSD. I don't understand how FreeBSD could understand Solaris fs on 'a' or vice versa to do this untar? Here is what Solaris can see now 0 root wm 0 - 8295 3.99GB (8296/0/0) 8362368 1 swap wu 8296 - 9336 512.37MB (1041/0/0) 1049328 2 backup wu 0 - 17659 8.49GB (17660/0/0) 17801280 3 unassigned wm 9337 - 17659 4.00GB (8323/0/0) 8389584 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 usr wm 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0 > I assume the Solaris bootbocks will be at sector 0, before the label? > Will the Solaris bootblocks load the FreeBSD '/boot/boot1' > (ok boot disk0:a /boot/boot1)? > VTOC sits on sector 0 and sectors 1-15 are for bootblock. Secondary bootfile name (ufsboot) is hardcoded into bootblock code and the full path name for ufsboot is /platform//ufsboot I think the file name you write on obp is passed to ufsboot and the default is /platform//kernel/unix Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 15 14:28:25 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 719AF37B416 for ; Mon, 15 Apr 2002 14:28:23 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3FLSKYm098998; Mon, 15 Apr 2002 14:28:20 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3FLR5ke098973; Mon, 15 Apr 2002 14:27:05 -0700 (PDT) Date: Mon, 15 Apr 2002 14:27:05 -0700 From: "David O'Brien" To: Tomi Vainio - Sun Finland - Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Preserving Solaris disklabel when installing FreeBSD? Message-ID: <20020415142705.B98706@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <15543.20405.653991.106466@gargle.gargle.HOWL> <20020413003935.B34470@dragon.nuxi.com> <15547.17438.866488.79313@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15547.17438.866488.79313@gargle.gargle.HOWL>; from Tomi.Vainio@Sun.COM on Tue, Apr 16, 2002 at 12:20:30AM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 16, 2002 at 12:20:30AM +0300, Tomi Vainio - Sun Finland - wrote: > I've installed Solaris to 'd' and swap to 'b'. There is also 'a' > where I preserved space for FreeBSD. I don't understand how FreeBSD could > understand Solaris fs on 'a' or vice versa to do this untar? FreeBSD with a GEOM kernel can understand a Solaris FFS. A non-GEOM kernel can also, but fsck is deadly. At this point, though all you care about is that FreeBSD can understand a Solaris disk label. You can now boot the ISO and install FreeBSD onto 'a'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Apr 15 14:46:50 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from kathmandu.sun.com (kathmandu.sun.com [192.18.98.36]) by hub.freebsd.org (Postfix) with ESMTP id 8657237B41A; Mon, 15 Apr 2002 14:46:47 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by kathmandu.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA26519; Mon, 15 Apr 2002 15:46:46 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3FLkix00218; Tue, 16 Apr 2002 00:46:45 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3FLkia10313; Tue, 16 Apr 2002 00:46:44 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15547.19012.467708.838750@gargle.gargle.HOWL> Date: Tue, 16 Apr 2002 00:46:44 +0300 To: obrien@FreeBSD.ORG Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Preserving Solaris disklabel when installing FreeBSD? In-Reply-To: <20020415142705.B98706@dragon.nuxi.com> References: <15543.20405.653991.106466@gargle.gargle.HOWL> <20020413003935.B34470@dragon.nuxi.com> <15547.17438.866488.79313@gargle.gargle.HOWL> <20020415142705.B98706@dragon.nuxi.com> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.COM 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 David O'Brien writes: > > FreeBSD with a GEOM kernel can understand a Solaris FFS. A non-GEOM > kernel can also, but fsck is deadly. At this point, though all you care > about is that FreeBSD can understand a Solaris disk label. You can now > boot the ISO and install FreeBSD onto 'a'. > There has to be a problem with DP1 kernel (missing options?) because FreeBSD can't read disklabel or mount 'a' ? # disklabel -r ad0 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) # mount /dev/ad0a /mnt mount: /dev/ad0a on /mnt: incorrect super block Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 16 11:50:47 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.nps.k12.va.us (mailmx.nps.k12.va.us [216.54.48.22]) by hub.freebsd.org (Postfix) with SMTP id 0024637B400 for ; Tue, 16 Apr 2002 11:50:42 -0700 (PDT) Received: from Gateway-Message_Server by mail.nps.k12.va.us with Novell_GroupWise; Tue, 16 Apr 2002 14:50:27 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.5.1 Date: Tue, 16 Apr 2002 14:50:13 -0400 From: "Adam Crosby" To: Subject: devfs and disklabeling Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 Ok, I'm attempting to install off the ISO, onto a Sun Ultra 5. Here's where i'm at: After running disklabel to get this #disklabel -r ad0 a: 8178975 0 4.2BSD 1024 16384 75 b: 225855 8178975 swap c: 8404830 0 unused 0 0=20 They all start on cylinder boundaries, so I'm ok there. I've run = 'disklabel -B ad0' as well, to enable me to boot of the hdd (hopefully). Now, how do I use the 'newfs'? I had thought it would be something like = 'newfs /dev/ad0a' ....but the only partition showing in /dev is the = /dev/ad0c (and of course /dev/ad0). At this point, my first thought was = 'sh MAKEDEV' - but alas, it's not there! :) So, did I do something wrong? = Or is my system just messed up? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 16 12:32:19 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mail.nps.k12.va.us (mailmx.nps.k12.va.us [216.54.48.22]) by hub.freebsd.org (Postfix) with SMTP id 2C72037B416 for ; Tue, 16 Apr 2002 12:32:06 -0700 (PDT) Received: from Gateway-Message_Server by mail.nps.k12.va.us with Novell_GroupWise; Tue, 16 Apr 2002 15:31:56 -0400 Message-Id: X-Mailer: Novell GroupWise Internet Agent 5.5.5.1 Date: Tue, 16 Apr 2002 15:31:51 -0400 From: "Adam Crosby" To: Subject: I figured it out [was devfs and disklabeling] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 my hardware, at least, you have to run the=20 dd if=3D/dev/zero of=3D/dev/ad0 count=3D16 before you disklabel it. although I /think/ I understand what that does, I'm not quite sure why it = was neccesary? =20 It writes '0' to the first 16 blocks of the disk (the mbr or some such?). = Then, disklabel -BRr ad0 /tmp/label (saved a copy of my previous disklabel)= creates the bootblock, and the disklabel on the disk? Will -B not = overwrite the first 16 blocks automagically? Or am I completely missing = the ball here? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 16 21:24:12 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 8733437B404 for ; Tue, 16 Apr 2002 21:24:09 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3H4O6Ym035871; Tue, 16 Apr 2002 21:24:06 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3H4MphG035764; Tue, 16 Apr 2002 21:22:51 -0700 (PDT) Date: Tue, 16 Apr 2002 21:22:51 -0700 From: "David O'Brien" To: Adam Crosby Cc: freebsd-sparc@freebsd.org Subject: Re: devfs and disklabeling Message-ID: <20020416212251.A35403@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from acrosby@nps.k12.va.us on Tue, Apr 16, 2002 at 02:50:13PM -0400 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 16, 2002 at 02:50:13PM -0400, Adam Crosby wrote: > Now, how do I use the 'newfs'? I had thought it would be something > like 'newfs /dev/ad0a' ....but the only partition showing in /dev is > the /dev/ad0c (and of course /dev/ad0). At this point, my first > thought was 'sh MAKEDEV' - but alas, it's not there! :) So, did I do > something wrong? Or is my system just messed up? First off, please wrap your email lines properly. With devfs a device will "appear" when it is opened. Thus doing newfs /dev/ad0a will open the device and devfs will create it in /dev for you at that time. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 16 22: 6:30 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from franklin.cisco.com (franklin.cisco.com [171.70.156.17]) by hub.freebsd.org (Postfix) with ESMTP id 4328437B404 for ; Tue, 16 Apr 2002 22:06:24 -0700 (PDT) Received: from localhost (pmauvais@localhost) by franklin.cisco.com (8.8.6 (PHNE_17190)/CISCO.SERVER.1.2) with ESMTP id WAA22246 for ; Tue, 16 Apr 2002 22:06:23 -0700 (PDT) Date: Tue, 16 Apr 2002 22:06:23 -0700 (PDT) From: Paul Mauvais To: freebsd-sparc@freebsd.org Subject: Trying to get it to just boot :-) 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 OK, I'm not that bad at reading directions, but I've done something wrong :-)...and I am new to the SPARC FreeBSD stuff.... I've setup (via dhcp) a boot/nfs server to boot an Ultra5 off of the BSD loader/kernel: host zort { hardware ethernet 08:00:20:a7:76:2b; option host-name "zort.cisco.com"; fixed-address 1.1.1.2; always-reply-rfc1048 on; next-server 1.1.1.5; filename "kernel-bsd"; option root-path "1.1.1.5:/tftpboot/bsd"; } The machine finds the tftp loader and boots OK, then finds and loads the kernel OK, but then after the normal boot messages I get the following: ... ad0: 8693MB [17662/16/63] at ata2-master WDMA2 acd0: CDROM at ata3-master PIO4 Manual root filesystem specification: : Mount using filesystem eg. ufs:da0a ? List valid disk boot devices Abort manual input mountroot> ? --- I thought my dhcp definitions above would tell it where to find the nfs root so I could boot and then label the disks/etc. I have the distrib tarball unpacked in the /tftpboot/bsd directory as mentioned in the definitions above. Nothing I try does much at this point (except sometimes dump me into the debugger). Do I need something else? Easier to boot off the ISO? :-) Paul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Apr 16 22:27:33 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 C39D437B419 for ; Tue, 16 Apr 2002 22:27:30 -0700 (PDT) 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 g3H5RIf81502; Tue, 16 Apr 2002 22:27:18 -0700 (PDT) (envelope-from mjacob@feral.com) Date: Tue, 16 Apr 2002 22:27:18 -0700 (PDT) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: Paul Mauvais Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Trying to get it to just boot :-) In-Reply-To: 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 You need an NFSroot kernel. One's available at, I believe, http://people.freebsd.org/~jake/sparc64 On Tue, 16 Apr 2002, Paul Mauvais wrote: > OK, I'm not that bad at reading directions, but I've done something wrong > :-)...and I am new to the SPARC FreeBSD stuff.... > > I've setup (via dhcp) a boot/nfs server to boot an Ultra5 off of the BSD > loader/kernel: > > host zort { > hardware ethernet 08:00:20:a7:76:2b; > option host-name "zort.cisco.com"; > fixed-address 1.1.1.2; > always-reply-rfc1048 on; > next-server 1.1.1.5; > filename "kernel-bsd"; > option root-path "1.1.1.5:/tftpboot/bsd"; > } > > The machine finds the tftp loader and boots OK, then finds and loads the > kernel OK, but then after the normal boot messages I get the following: > > ... > ad0: 8693MB [17662/16/63] at ata2-master WDMA2 > acd0: CDROM at ata3-master PIO4 > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0a > ? List valid disk boot devices > Abort manual input > > mountroot> ? > > --- > I thought my dhcp definitions above would tell it where to find the nfs > root so I could boot and then label the disks/etc. I have the distrib > tarball unpacked in the /tftpboot/bsd directory as mentioned in the > definitions above. Nothing I try does much at this point (except > sometimes dump me into the debugger). > > Do I need something else? Easier to boot off the ISO? :-) > > Paul > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Apr 18 11:39:32 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 3AA2237B784 for ; Thu, 18 Apr 2002 11:34:01 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3IIWVYm097249 for ; Thu, 18 Apr 2002 11:32:31 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3IIVGka097248 for sparc64@freebsd.org; Thu, 18 Apr 2002 11:31:16 -0700 (PDT) Date: Thu, 18 Apr 2002 11:31:15 -0700 From: "David O'Brien" To: sparc64@freebsd.org Subject: hosted-gcc_20020418.tar.bz2 created Message-ID: <20020418113115.A97233@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org http://people.freebsd.org/~obrien/public_html/hosted-gcc_20020418.tar.bz2 This tarball includes the C++ compiler and libs. Test and use at your own risk. Note that this compiler seemed to produce some bad binaries for me. It could easily be some local hacks of my own system, so I would like to know how this works for others. As always, make sure you have a backup of your existing compiler. AND that you can recover from a bad libc.a, libc.so.5, /usr/bin/make, etc. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Apr 19 12:58:51 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from ns2.gnf.org (ns2.gnf.org [63.196.132.68]) by hub.freebsd.org (Postfix) with ESMTP id E977D37B404; Fri, 19 Apr 2002 12:58:47 -0700 (PDT) Received: from mail.gnf.org (smtp.gnf.org [172.25.11.11]) by ns2.gnf.org (8.11.6/8.11.6) with ESMTP id g3JJp9O39172; Fri, 19 Apr 2002 12:51:09 -0700 (PDT) (envelope-from gordont@gnf.org) Received: by mail.gnf.org (Postfix, from userid 888) id 421E211E504; Fri, 19 Apr 2002 12:58:47 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.gnf.org (Postfix) with ESMTP id 3E6B611A572; Fri, 19 Apr 2002 12:58:47 -0700 (PDT) Date: Fri, 19 Apr 2002 12:58:47 -0700 (PDT) From: Gordon Tetlow To: Tomi Vainio - Sun Finland - Cc: obrien@FreeBSD.ORG, Subject: Re: Preserving Solaris disklabel when installing FreeBSD? In-Reply-To: <15547.19012.467708.838750@gargle.gargle.HOWL> 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 Tue, 16 Apr 2002, Tomi Vainio - Sun Finland - wrote: > David O'Brien writes: > > > > FreeBSD with a GEOM kernel can understand a Solaris FFS. A non-GEOM > > kernel can also, but fsck is deadly. At this point, though all you care > > about is that FreeBSD can understand a Solaris disk label. You can now > > boot the ISO and install FreeBSD onto 'a'. > > > There has to be a problem with DP1 kernel (missing options?) because > FreeBSD can't read disklabel or mount 'a' ? > > # disklabel -r ad0 > disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > # mount /dev/ad0a /mnt > mount: /dev/ad0a on /mnt: incorrect super block I think what David is trying to say is, you need to partition your disk using the Solaris disktools. Once you have it setup they way you want it (ie install Solaris with partitions set aside for FreeBSD), you boot a FreeBSD/sparc64 cd and do the install into the already set aside partition (from the Solaris install). You don't use the FreeBSD disklabel tool at all, as it doesn't read Solaris disklabels. While the kernel is smart enough to know about it, that logic hasn't made it into the disklabel userland tool. -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Apr 19 13:10:24 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from virtual-voodoo.com (bdsl.66.12.217.106.gte.net [66.12.217.106]) by hub.freebsd.org (Postfix) with ESMTP id ED66737B41D; Fri, 19 Apr 2002 13:10:18 -0700 (PDT) Received: from inlafrec (bdsl.66.12.217.51.gte.net [66.12.217.51]) (authenticated bits=0) by virtual-voodoo.com (8.12.3/8.12.2) with ESMTP id g3JKAEOo023825; Fri, 19 Apr 2002 15:10:15 -0500 (EST) (envelope-from steve@virtual-voodoo.com) Message-ID: <020b01c1e7de$39141d20$33d90c42@officescape.net> From: "Steven Ames" To: "Gordon Tetlow" , "Tomi Vainio - Sun Finland -" Cc: , References: Subject: Re: Preserving Solaris disklabel when installing FreeBSD? Date: Fri, 19 Apr 2002 15:10:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Slightly off topic... but after installing freebsd (on the whole disk including updating the bootblocks), my Solaris 8 CD won't install anymore. Its pretty funny. For kicks I tried Solaris 6 and it would install. Solaris 7 also did. But 8 always gets an 'unable to format' error. Not that I care overmuch as I'm eagerly waiting for FBSD/sparc64 to be able to 'make world' locally and run X. The above was on an ultra5 and an IDE disk using the 20020303 and 20020408 ISO. -Steve ----- Original Message ----- From: "Gordon Tetlow" To: "Tomi Vainio - Sun Finland -" Cc: ; Sent: Friday, April 19, 2002 2:58 PM Subject: Re: Preserving Solaris disklabel when installing FreeBSD? > On Tue, 16 Apr 2002, Tomi Vainio - Sun Finland - wrote: > > > David O'Brien writes: > > > > > > FreeBSD with a GEOM kernel can understand a Solaris FFS. A non-GEOM > > > kernel can also, but fsck is deadly. At this point, though all you care > > > about is that FreeBSD can understand a Solaris disk label. You can now > > > boot the ISO and install FreeBSD onto 'a'. > > > > > There has to be a problem with DP1 kernel (missing options?) because > > FreeBSD can't read disklabel or mount 'a' ? > > > > # disklabel -r ad0 > > disklabel: bad pack magic number (label is damaged, or pack is unlabeled) > > # mount /dev/ad0a /mnt > > mount: /dev/ad0a on /mnt: incorrect super block > > I think what David is trying to say is, you need to partition your disk > using the Solaris disktools. Once you have it setup they way you want it > (ie install Solaris with partitions set aside for FreeBSD), you boot a > FreeBSD/sparc64 cd and do the install into the already set aside partition > (from the Solaris install). You don't use the FreeBSD disklabel tool at > all, as it doesn't read Solaris disklabels. While the kernel is smart > enough to know about it, that logic hasn't made it into the disklabel > userland tool. > > -gordon > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Apr 20 9:30:12 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13]) by hub.freebsd.org (Postfix) with ESMTP id 5549737B416; Sat, 20 Apr 2002 09:30:02 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by nwkea-mail-1.sun.com (8.9.3+Sun/8.9.3) with ESMTP id JAA01980; Sat, 20 Apr 2002 09:29:54 -0700 (PDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3KGTrI18856; Sat, 20 Apr 2002 19:29:53 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3KGTqu17188; Sat, 20 Apr 2002 19:29:52 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15553.38784.272302.170187@gargle.gargle.HOWL> Date: Sat, 20 Apr 2002 19:29:52 +0300 To: Gordon Tetlow Cc: obrien@FreeBSD.ORG, Subject: Re: Preserving Solaris disklabel when installing FreeBSD? In-Reply-To: References: <15547.19012.467708.838750@gargle.gargle.HOWL> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.COM 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 Gordon Tetlow writes: > > I think what David is trying to say is, you need to partition your disk > using the Solaris disktools. Once you have it setup they way you want it > (ie install Solaris with partitions set aside for FreeBSD), you boot a > FreeBSD/sparc64 cd and do the install into the already set aside partition > (from the Solaris install). You don't use the FreeBSD disklabel tool at > all, as it doesn't read Solaris disklabels. While the kernel is smart > enough to know about it, that logic hasn't made it into the disklabel > userland tool. > This is exactly what I have tried. I have made Solaris partition a/1 for FreeBSD which is first 4G of this disk and you can see it on my Solaris partition table. So now I wanna know how to install FreeBSD here if I don't use disklabel. I cannot use newfs or mount. Only thing I can do is disklabel -r -w ad0 auto. Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 8295 3.99GB (8296/0/0) 8362368 1 swap wu 8296 - 9336 512.37MB (1041/0/0) 1049328 2 backup wu 0 - 17659 8.49GB (17660/0/0) 17801280 3 unassigned wm 9337 - 17659 4.00GB (8323/0/0) 8389584 Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Apr 20 9:37:55 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by hub.freebsd.org (Postfix) with ESMTP id BB3C937B417; Sat, 20 Apr 2002 09:37:51 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by patan.sun.com (8.9.3+Sun/8.9.3) with ESMTP id KAA23990; Sat, 20 Apr 2002 10:37:47 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3KGbkI18922; Sat, 20 Apr 2002 19:37:46 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3KGbjA17201; Sat, 20 Apr 2002 19:37:45 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15553.39257.634169.39351@gargle.gargle.HOWL> Date: Sat, 20 Apr 2002 19:37:45 +0300 To: "Steven Ames" Cc: "Gordon Tetlow" , , Subject: Re: Preserving Solaris disklabel when installing FreeBSD? In-Reply-To: <020b01c1e7de$39141d20$33d90c42@officescape.net> References: <020b01c1e7de$39141d20$33d90c42@officescape.net> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.COM 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 Steven Ames writes: > Slightly off topic... but after installing freebsd (on the whole disk > including > updating the bootblocks), my Solaris 8 CD won't install anymore. Its > pretty funny. For kicks I tried Solaris 6 and it would install. Solaris 7 > also > did. But 8 always gets an 'unable to format' error. Not that I care overmuch > as I'm eagerly waiting for FBSD/sparc64 to be able to 'make world' locally > and run X. > > The above was on an ultra5 and an IDE disk using the 20020303 and > 20020408 ISO. > Problem is that FreeBSD destroy Solaris label which contains name and size of the disk. If you boot Solaris after use of FreeBSD disklabel you see something like on this format and you have to give all disk parameters manually. Here is what FreeBSD says: ad0: 8693MB [17662/16/63] at ata2-master WDMA2 How to configure under Solaris: AVAILABLE DISK SELECTIONS: 0. c0t0d0 /pci@1f,0/pci@1,1/ide@3/dad@0,0 Specify disk (enter its number): 0 AVAILABLE DRIVE TYPES: 0. other Specify disk type (enter its number): 0 Enter number of data cylinders: 17660 Enter number of alternate cylinders[2]: Enter number of physical cylinders[17662]: Enter number of heads: 16 Enter number of data sectors/track: 63 Enter rpm of drive[3600]: 7200 Enter format time[default]: Enter cylinder skew[default]: Enter track skew[default]: Enter tracks per zone[default]: Enter alternate tracks[default]: Enter alternate sectors[default]: Enter cache control[default]: Enter prefetch threshold[default]: Enter minimum prefetch[default]: Enter maximum prefetch[default]: Enter disk type name (remember quotes): "ST39140A" selecting c0t0d0 [disk formatted, no defect list found] Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Apr 20 11:47: 7 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 E207637B416; Sat, 20 Apr 2002 11:47:02 -0700 (PDT) Received: (from jake@localhost) by k6.locore.ca (8.11.6/8.11.6) id g3KIoNF15830; Sat, 20 Apr 2002 14:50:23 -0400 (EDT) (envelope-from jake) Date: Sat, 20 Apr 2002 14:50:22 -0400 From: Jake Burkholder To: Tomi Vainio - Sun Finland - Cc: Steven Ames , Gordon Tetlow , obrien@FreeBSD.ORG, freebsd-sparc@FreeBSD.ORG Subject: Re: Preserving Solaris disklabel when installing FreeBSD? Message-ID: <20020420145022.D8692@locore.ca> References: <020b01c1e7de$39141d20$33d90c42@officescape.net> <15553.39257.634169.39351@gargle.gargle.HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15553.39257.634169.39351@gargle.gargle.HOWL>; from Tomi.Vainio@Sun.COM on Sat, Apr 20, 2002 at 07:37:45PM +0300 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Sat, Apr 20, 2002 at 07:37:45PM +0300, Tomi Vainio - Sun Finland - said words to the effect of; > Steven Ames writes: > > Slightly off topic... but after installing freebsd (on the whole disk > > including > > updating the bootblocks), my Solaris 8 CD won't install anymore. Its > > pretty funny. For kicks I tried Solaris 6 and it would install. Solaris 7 > > also > > did. But 8 always gets an 'unable to format' error. Not that I care overmuch > > as I'm eagerly waiting for FBSD/sparc64 to be able to 'make world' locally > > and run X. > > > > The above was on an ultra5 and an IDE disk using the 20020303 and > > 20020408 ISO. > > > Problem is that FreeBSD destroy Solaris label which contains name and > size of the disk. If you boot Solaris after use of FreeBSD disklabel > you see something like on this format and you have to give all disk > parameters manually. Try the older cd image I guess; I don't use sun disklabels so I haven't tested it at all, I know other people have used them. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Apr 20 13:31:58 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from pheriche.sun.com (pheriche.sun.com [192.18.98.34]) by hub.freebsd.org (Postfix) with ESMTP id B4F5537B41F for ; Sat, 20 Apr 2002 13:31:54 -0700 (PDT) Received: from sunfin.Finland.Sun.COM ([129.159.101.10]) by pheriche.sun.com (8.9.3+Sun/8.9.3) with ESMTP id OAA01749; Sat, 20 Apr 2002 14:31:48 -0600 (MDT) Received: from ultrahot.Finland.Sun.COM (ultrahot [129.159.101.87]) by sunfin.Finland.Sun.COM (8.10.2+Sun/8.10.2/ENSMAIL,v2.2) with ESMTP id g3KKVlI22432; Sat, 20 Apr 2002 23:31:47 +0300 (EEST) Received: (from tomppa@localhost) by ultrahot.Finland.Sun.COM (8.11.6+Sun/8.11.6) id g3KKVke17359; Sat, 20 Apr 2002 23:31:46 +0300 (EEST) From: Tomi Vainio - Sun Finland - MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15553.53298.646172.620377@gargle.gargle.HOWL> Date: Sat, 20 Apr 2002 23:31:46 +0300 To: Jake Burkholder Cc: freebsd-sparc@FreeBSD.ORG Subject: Re: Preserving Solaris disklabel when installing FreeBSD? In-Reply-To: <20020420145022.D8692@locore.ca> References: <020b01c1e7de$39141d20$33d90c42@officescape.net> <15553.39257.634169.39351@gargle.gargle.HOWL> <20020420145022.D8692@locore.ca> X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: Tomi.Vainio@Sun.COM Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jake Burkholder writes: > > Try the older cd image I guess; I don't use sun disklabels so I haven't > tested it at all, I know other people have used them. > It might be much easier if I can build sparc kernel on my intel box running current. Do we have cross build utilities package somewhere? Tomppa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Apr 20 19:42:36 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 6B4D437B416 for ; Sat, 20 Apr 2002 19:42:34 -0700 (PDT) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g3L2gWYm092725 for ; Sat, 20 Apr 2002 19:42:32 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g3L2fGEp092719 for sparc64@freebsd.org; Sat, 20 Apr 2002 19:41:16 -0700 (PDT) Date: Sat, 20 Apr 2002 19:41:16 -0700 From: "David O'Brien" To: sparc64@freebsd.org Subject: hosted-gcc_20020419.tar.bz2 uploaded Message-ID: <20020420194116.A92671@dragon.nuxi.com> Reply-To: obrien@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.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 http://people.freebsd.org/~obrien/public_html/hosted-gcc_20020419.tar.bz2 Extract in / This tarball includes the C++ compiler and libs. I was able to build Groff with this compiler. The 4/18 compiler was crap, please delete any copies you have of it. Also, please let me know if you have trouble with it, or if you have to mv or ln *any* files for it to work. As always, make sure you have a backup of your existing compiler. AND that you can recover from a bad libc.a, libc.so.5, /usr/bin/make, etc. -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message