From owner-freebsd-alpha Sun Sep 20 02:40:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA17567 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 02:40:42 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA17553; Sun, 20 Sep 1998 02:40:30 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id JAA27120; Sun, 20 Sep 1998 09:40:45 GMT Date: Sun, 20 Sep 1998 10:40:45 +0100 (BST) From: Doug Rabson To: Gary Palmer cc: Thomas Valentino Crimi , freebsd-alpha@FreeBSD.ORG Subject: Re: Current AS200 state In-Reply-To: <11818.906244315@gjp.erols.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 19 Sep 1998, Gary Palmer wrote: > Doug Rabson wrote in message ID > : > > Neither of these things are on my near-term todo list - I'm still > > struggling hard with 'make release' :-). If you want to tackle either of > > these jobs (or anything else on my whiteboard for that matter) then please > > go ahead and don't hesitate to contact me with questions if you don't > > understand anything. > > I had make release working for Alpha before the i386 elf/perl5 changes > went in and now I have conflicts all over the place. If the machines at > work ever let me get a good nights sleep sometime soon I'll resolve > those conflicts and start compiling again. The build basically works (as long as you edit release/Makefile to use '-O' instead of '-O2') but I have make faulting sometimes when its trying to build the dists. I have it in the debugger now (it took all day tp catch it) so I expect to be able to fix it today. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 03:43:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA28769 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 03:43:19 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA28667 for ; Sun, 20 Sep 1998 03:42:52 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA27265; Sun, 20 Sep 1998 10:42:39 GMT Date: Sun, 20 Sep 1998 11:42:39 +0100 (BST) From: Doug Rabson To: John Birrell cc: Warner Losh , alpha@FreeBSD.ORG Subject: Re: Making a disk bootable under dux In-Reply-To: <199809192207.IAA21892@cimlogic.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 20 Sep 1998, John Birrell wrote: > Warner Losh wrote: > > > > Is it possible to make a FreeBSD disk bootable under DUX? That is, > > can I install the FreeBSD boot blocks using DUX? I suspect that I'd > > have to hack disklabel to do the right thing, as well as a special > > mknode that "copes" with DUX's way of putting special files into the > > file system. Is there anything fundamentally wrong with this idea? > > Right now, I have this disk that has all of FreeBSD alpha on it, but > > don't want to duplicate that on another machine just to netboot the > > thing to install the bootblocks. > > >From DUX, the "easy" thing to do is dd a disk image that already has the > boot blocks on it. > > It's probably worth waiting a few weeks for things to settle down after > the rush to beat the beta freeze for 3.0. The easiest thing is to boot a recent NetBSD install disk and use it to install their boot blocks on the FreeBSD disk. You can change over to FreeBSD boot blocks at your leisure since they both load elf kernels just fine. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 03:44:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA28956 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 03:44:25 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA28894 for ; Sun, 20 Sep 1998 03:43:51 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA27290; Sun, 20 Sep 1998 10:43:58 GMT Date: Sun, 20 Sep 1998 11:43:58 +0100 (BST) From: Doug Rabson To: Andrew Gallatin cc: Warner Losh , alpha@FreeBSD.ORG Subject: Re: Making a disk bootable under dux In-Reply-To: <13828.12030.228472.369890@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 19 Sep 1998, Andrew Gallatin wrote: > > Warner Losh writes: > > Right now, I have this disk that has all of FreeBSD alpha on it, but > > don't want to duplicate that on another machine just to netboot the > > thing to install the bootblocks. > > > > Comments? > > You don't need to duplicate the whole thing, just the kernel. The > kernel you netboot will use the local disk as its root. Heck, I don't > even know how to make FreeBSD/alpha use an nfs root these days.. One day soon, I will force myself to write/port the root detection code. If anyone beats me to it of course, that would be great... -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 11:03:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04112 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 11:03:50 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from friley-185-114.res.iastate.edu (friley-185-114.res.iastate.edu [129.186.185.114]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA04104 for ; Sun, 20 Sep 1998 11:03:46 -0700 (PDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Received: from friley-185-114.res.iastate.edu (loopback [127.0.0.1]) by friley-185-114.res.iastate.edu (8.9.1/8.9.1) with ESMTP id NAA02051 for ; Sun, 20 Sep 1998 13:03:16 -0500 (CDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Message-Id: <199809201803.NAA02051@friley-185-114.res.iastate.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-alpha@FreeBSD.ORG Subject: IDE support? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Sep 1998 13:03:16 -0500 From: Chris Csanady Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I know this is far fetched, but are there any plans for making IDE on the alpha work in the near future? I would really like to play with FreeBSD/alpha, although all of our 164LX's only have IDE disks. Another thing--does anyone know if it is possible to get SRM on the Samsung UX2 boards? (Or even if their PCI is as horrible broken as it is on the LX?) Thanks, Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 11:24:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA08776 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 11:24:47 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA08662 for ; Sun, 20 Sep 1998 11:24:24 -0700 (PDT) (envelope-from gallatin@duke.cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.8.5/8.8.5) with ESMTP id OAA21083; Sun, 20 Sep 1998 14:23:49 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.1/8.8.8) id OAA24334; Sun, 20 Sep 1998 14:23:50 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 20 Sep 1998 14:23:50 -0400 (EDT) To: Chris Csanady Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: IDE support? In-Reply-To: <199809201803.NAA02051@friley-185-114.res.iastate.edu> References: <199809201803.NAA02051@friley-185-114.res.iastate.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13829.17656.60595.593962@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris Csanady writes: > I know this is far fetched, but are there any plans for making > IDE on the alpha work in the near future? I would really like to I'm sure it will get done eventually, but I don't think its at the top of anybody's list. Doug? > play with FreeBSD/alpha, although all of our 164LX's only have IDE > disks. Hey.. will the SRM console boot off of an IDE drive on a 164LX? I was pleasantly surprised to find that it will on a new miata (DPW500) > Another thing--does anyone know if it is possible to get SRM on > the Samsung UX2 boards? (Or even if their PCI is as horrible > broken as it is on the LX?) Based on a conversation at USENIX with somebody from Harddata, I don't think the SRM console will be available for the UX series. Ack! Are all LX boards horribly broken? I was assuming they'd be like Miatas, and brand new boards would have a newer revision 21174.. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 11:37:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12046 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 11:37:35 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from friley-185-114.res.iastate.edu (friley-185-114.res.iastate.edu [129.186.185.114]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA11955 for ; Sun, 20 Sep 1998 11:37:15 -0700 (PDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Received: from friley-185-114.res.iastate.edu (loopback [127.0.0.1]) by friley-185-114.res.iastate.edu (8.9.1/8.9.1) with ESMTP id NAA02240; Sun, 20 Sep 1998 13:36:38 -0500 (CDT) (envelope-from ccsanady@friley-185-114.res.iastate.edu) Message-Id: <199809201836.NAA02240@friley-185-114.res.iastate.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: Andrew Gallatin cc: freebsd-alpha@FreeBSD.ORG Subject: Re: IDE support? In-reply-to: Your message of "Sun, 20 Sep 1998 14:23:50 EDT." <13829.17656.60595.593962@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Sep 1998 13:36:37 -0500 From: Chris Csanady Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >Chris Csanady writes: > > I know this is far fetched, but are there any plans for making > > IDE on the alpha work in the near future? I would really like to > >I'm sure it will get done eventually, but I don't think its at the top >of anybody's list. Doug? > > > play with FreeBSD/alpha, although all of our 164LX's only have IDE > > disks. > >Hey.. will the SRM console boot off of an IDE drive on a 164LX? I was >pleasantly surprised to find that it will on a new miata (DPW500) Yes, it will. I have booted NetBSD on a 164LX with IDE in the past. It was somewhat confused about the root device, but it still worked fine. > > Another thing--does anyone know if it is possible to get SRM on > > the Samsung UX2 boards? (Or even if their PCI is as horrible > > broken as it is on the LX?) > >Based on a conversation at USENIX with somebody from Harddata, I don't >think the SRM console will be available for the UX series. > >Ack! Are all LX boards horribly broken? I was assuming they'd be like >Miatas, and brand new boards would have a newer revision 21174.. As far as I can tell. :( I just had a chance to play with the Rev C0 boards, and they still suck just as much. I believe the C0 is the latest rev, although I am not absolutely sure. Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 11:53:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA15390 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 11:53:19 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA15372 for ; Sun, 20 Sep 1998 11:53:01 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id SAA04922; Sun, 20 Sep 1998 18:53:11 GMT Date: Sun, 20 Sep 1998 19:53:11 +0100 (BST) From: Doug Rabson To: Chris Csanady cc: freebsd-alpha@FreeBSD.ORG Subject: Re: IDE support? In-Reply-To: <199809201803.NAA02051@friley-185-114.res.iastate.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 20 Sep 1998, Chris Csanady wrote: > I know this is far fetched, but are there any plans for making > IDE on the alpha work in the near future? I would really like to > play with FreeBSD/alpha, although all of our 164LX's only have IDE > disks. It is on my list of things to do but I probably won't get around to it for a while (I don't actually have an ide disk here but I can probably scrounge one from work). > Another thing--does anyone know if it is possible to get SRM on > the Samsung UX2 boards? (Or even if their PCI is as horrible > broken as it is on the LX?) I have no idea about firmware options for the UX2. I have fond hopes of writing an AlphaBIOS bootstrap at some point in the future but the priorities for that are pretty low right now. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 12:39:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23318 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 12:39:18 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA23269 for ; Sun, 20 Sep 1998 12:38:58 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id TAA05078; Sun, 20 Sep 1998 19:38:56 GMT Date: Sun, 20 Sep 1998 20:38:55 +0100 (BST) From: Doug Rabson To: Chris Csanady cc: Andrew Gallatin , freebsd-alpha@FreeBSD.ORG Subject: Re: IDE support? In-Reply-To: <199809201836.NAA02240@friley-185-114.res.iastate.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 20 Sep 1998, Chris Csanady wrote: > > > Another thing--does anyone know if it is possible to get SRM on > > > the Samsung UX2 boards? (Or even if their PCI is as horrible > > > broken as it is on the LX?) > > > >Based on a conversation at USENIX with somebody from Harddata, I don't > >think the SRM console will be available for the UX series. > > > >Ack! Are all LX boards horribly broken? I was assuming they'd be like > >Miatas, and brand new boards would have a newer revision 21174.. > > As far as I can tell. :( I just had a chance to play with the Rev C0 > boards, and they still suck just as much. I believe the C0 is the > latest rev, although I am not absolutely sure. In what sense are they broken? I have a 164LX and (barring the time the heatsink fell off) it has been working very well. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 12:49:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA25306 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 12:49:57 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA25299 for ; Sun, 20 Sep 1998 12:49:50 -0700 (PDT) (envelope-from gallatin@duke.cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.8.5/8.8.5) with ESMTP id PAA21935; Sun, 20 Sep 1998 15:49:21 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.1/8.8.8) id PAA08001; Sun, 20 Sep 1998 15:49:23 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 20 Sep 1998 15:49:22 -0400 (EDT) To: Doug Rabson Cc: Chris Csanady , freebsd-alpha@FreeBSD.ORG Subject: Re: IDE support? In-Reply-To: References: <199809201836.NAA02240@friley-185-114.res.iastate.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13829.23347.309394.748383@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson writes: > > As far as I can tell. :( I just had a chance to play with the Rev C0 > > boards, and they still suck just as much. I believe the C0 is the > > latest rev, although I am not absolutely sure. > > In what sense are they broken? I have a 164LX and (barring the time the > heatsink fell off) it has been working very well. Say that after putting a Myrinet or gigabit ethernet card in it ;-) 164LX's share at least some of the problems of early revision miatas. Chris sees slow host->PCI dma bandwidth (~70MB/sec) with his Myrinet card. Whether it shares other, nastier problems (page boundary DMA bugs), I don't know. Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 20 12:57:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26031 for freebsd-alpha-outgoing; Sun, 20 Sep 1998 12:57:39 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26019 for ; Sun, 20 Sep 1998 12:57:34 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id TAA05142; Sun, 20 Sep 1998 19:57:18 GMT Date: Sun, 20 Sep 1998 20:57:18 +0100 (BST) From: Doug Rabson To: Andrew Gallatin cc: Chris Csanady , freebsd-alpha@FreeBSD.ORG Subject: Re: IDE support? In-Reply-To: <13829.23347.309394.748383@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 20 Sep 1998, Andrew Gallatin wrote: > > Doug Rabson writes: > > > As far as I can tell. :( I just had a chance to play with the Rev C0 > > > boards, and they still suck just as much. I believe the C0 is the > > > latest rev, although I am not absolutely sure. > > > > In what sense are they broken? I have a 164LX and (barring the time the > > heatsink fell off) it has been working very well. > > Say that after putting a Myrinet or gigabit ethernet card in it ;-) > > 164LX's share at least some of the problems of early revision miatas. > Chris sees slow host->PCI dma bandwidth (~70MB/sec) with his Myrinet > card. Whether it shares other, nastier problems (page boundary DMA > bugs), I don't know. Oh, right. I don't have anything particularly fast in the box and to be honest I haven't actually timed it doing anything. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon Sep 21 23:24:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00294 for freebsd-alpha-outgoing; Mon, 21 Sep 1998 23:24:58 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from netserv1.chg.ru (netserv1.chg.ru [193.233.46.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00275 for ; Mon, 21 Sep 1998 23:24:43 -0700 (PDT) (envelope-from ks@itp.ac.ru) Received: from speecart.chg.ru (speecart.chg.ru [193.233.46.2]) by netserv1.chg.ru (8.9.1/8.9.1) with ESMTP id KAA26720 for ; Tue, 22 Sep 1998 10:24:11 +0400 (MSD) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 22 Sep 1998 10:22:58 +0400 (MSD) Organization: Landau Institute for Theoretical Physics From: "Sergey S. Kosyakov" To: freebsd-alpha@FreeBSD.ORG Subject: Please, explain! Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Please, explain me - can I install SRM firmware on 164LX motheboard with NT Alpha-BIOS ? More precisely, can I buy 164LX with AlphaBIOS and update firmware to SRM console? I did not find clean answer in the 164LX documentation. Thanks. Sergey. --- ---------------------------------- Sergey Kosyakov Laboratory of Distributed Computing Department of High-Performance Computing and Applied Network Research Landau Institute for Theoretical Physics E-Mail: ks@itp.ac.ru Date: 22-Sep-98 Time: 10:16:02 ---------------------------------- --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue Sep 22 02:40:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA28553 for freebsd-alpha-outgoing; Tue, 22 Sep 1998 02:40:59 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA28473 for ; Tue, 22 Sep 1998 02:40:30 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA11078; Tue, 22 Sep 1998 10:39:01 +0100 (BST) Date: Tue, 22 Sep 1998 10:39:01 +0100 (BST) From: Doug Rabson To: "Sergey S. Kosyakov" cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Please, explain! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 22 Sep 1998, Sergey S. Kosyakov wrote: > > Please, explain me - can I install SRM firmware on 164LX motheboard with NT > Alpha-BIOS ? More precisely, can I buy 164LX with AlphaBIOS and update firmware > to SRM console? I did not find clean answer in the 164LX documentation. Yes you can. I have done this and it works. Basically, you trawl round the digital ftp server until you find the file lx164srm.com (I think its in the v5.0 firmware release). Put this file on the AlphaBIOS firmware floppy and go to the firmware update section of the AlphaBIOS menus. There will be an option to switch to SRM which will overwrite the AlphaBIOS firmware with SRM. To switch back, put the same floppy in the driver and type 'nt' from SRM's ">>>" prompt. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 23 00:12:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA24952 for freebsd-alpha-outgoing; Wed, 23 Sep 1998 00:12:49 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from wan2.wanlink.com (l1.doitnow.com [207.98.156.215]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA24937 for ; Wed, 23 Sep 1998 00:12:42 -0700 (PDT) (envelope-from neal@wanlink.com) Received: from localhost (neal@localhost.wanlink.com [127.0.0.1]) by wan2.wanlink.com (8.8.8/8.8.3) with SMTP id AAA20493 for ; Wed, 23 Sep 1998 00:14:32 -0700 (MST) Date: Wed, 23 Sep 1998 00:14:31 -0700 (MST) From: Neal Horman To: freebsd-alpha@FreeBSD.ORG Subject: boostrap - build world - mtree failure Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ok, following the steps outlined in the "bootstrapping" html page, i'v gotten an alpha 200 loaded w/netbsd 1.3.2. I've nfs mounted -current as of 9/19/98 to /usr/src, and started the make buildworld... "make" seemed to build ok, but it barfed on mtree cause it can't find "-lmd". I assume this to be the md5 library "libmd". Could someone point me in the right direction. I'm sure if i'm missing the md5 lib from netbsd, or if -current for is broken. I'm looking forward to getting fbsd running on alpha, and maybe even helping to advance the alpha port as well. TIA ---------- Neal Horman "one ping please, Vascilly, one ping... only..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 23 01:19:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08374 for freebsd-alpha-outgoing; Wed, 23 Sep 1998 01:19:00 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08369 for ; Wed, 23 Sep 1998 01:18:57 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id JAA12748 for ; Wed, 23 Sep 1998 09:18:49 +0100 (BST) Date: Wed, 23 Sep 1998 09:18:48 +0100 (BST) From: Doug Rabson To: alpha@FreeBSD.ORG Subject: Alpha binaries available Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have uploaded a new set of alpha binaries to http://ftp.freebsd.org/pub/FreeBSD/development/alpha/3.0-19980920. I would hesitate to call it a snapshot since it doesn't include any kind of install program. The current solution for installing FreeBSD/alpha is to use the NetBSD install disk to partition and newfs a disk and then unpack the FreeBSD binary sets that you require and add a FreeBSD kernel. This situtation is likely to improve over the next few weeks. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 23 01:22:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA08667 for freebsd-alpha-outgoing; Wed, 23 Sep 1998 01:22:53 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA08661 for ; Wed, 23 Sep 1998 01:22:49 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id JAA12766; Wed, 23 Sep 1998 09:22:41 +0100 (BST) Date: Wed, 23 Sep 1998 09:22:41 +0100 (BST) From: Doug Rabson To: Neal Horman cc: freebsd-alpha@FreeBSD.ORG Subject: Re: boostrap - build world - mtree failure In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 23 Sep 1998, Neal Horman wrote: > > ok, following the steps outlined in the "bootstrapping" html page, i'v > gotten an alpha 200 loaded w/netbsd 1.3.2. > > I've nfs mounted -current as of 9/19/98 to /usr/src, and started the make > buildworld... "make" seemed to build ok, but it barfed on mtree cause it > can't find "-lmd". I assume this to be the md5 library "libmd". > > Could someone point me in the right direction. I'm sure if i'm missing the > md5 lib from netbsd, or if -current for is broken. > > I'm looking forward to getting fbsd running on alpha, and maybe even > helping to advance the alpha port as well. The bootstrapping instructions on the web page are somewhat dated. FreeBSD/alpha now has a native kernel. Please try booting one of the kernels at http://www.freebsd.org/~dfr to single user mode and if that is successful, you can unpack the FreeBSD binaries from http://ftp.freebsd.org/pub/FreeBSD/development/alpha. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 23 23:54:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA12114 for freebsd-alpha-outgoing; Wed, 23 Sep 1998 23:54:51 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from wan2.wanlink.com (l1.doitnow.com [207.98.156.215]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA12073 for ; Wed, 23 Sep 1998 23:54:33 -0700 (PDT) (envelope-from neal@wanlink.com) Received: from localhost (neal@localhost.wanlink.com [127.0.0.1]) by wan2.wanlink.com (8.8.8/8.8.3) with SMTP id XAA17823; Wed, 23 Sep 1998 23:55:42 -0700 (MST) Date: Wed, 23 Sep 1998 23:55:41 -0700 (MST) From: Neal Horman To: Doug Rabson cc: freebsd-alpha@FreeBSD.ORG Subject: Re: boostrap - build world - mtree failure In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks, i've pulled the kernel, and i'm now pulling some of the file sets from http://ftp.freebsd.org/pub/FreeBSD/development/alpha. On Wed, 23 Sep 1998, Doug Rabson wrote: > Date: Wed, 23 Sep 1998 09:22:41 +0100 (BST) > From: Doug Rabson > To: Neal Horman > Cc: freebsd-alpha@freebsd.org > Subject: Re: boostrap - build world - mtree failure > > On Wed, 23 Sep 1998, Neal Horman wrote: > > > > > ok, following the steps outlined in the "bootstrapping" html page, i'v > > gotten an alpha 200 loaded w/netbsd 1.3.2. > > > > I've nfs mounted -current as of 9/19/98 to /usr/src, and started the make > > buildworld... "make" seemed to build ok, but it barfed on mtree cause it > > can't find "-lmd". I assume this to be the md5 library "libmd". > > > > Could someone point me in the right direction. I'm sure if i'm missing the > > md5 lib from netbsd, or if -current for is broken. > > > > I'm looking forward to getting fbsd running on alpha, and maybe even > > helping to advance the alpha port as well. > > The bootstrapping instructions on the web page are somewhat dated. > FreeBSD/alpha now has a native kernel. Please try booting one of the > kernels at http://www.freebsd.org/~dfr to single user mode and if that is > successful, you can unpack the FreeBSD binaries from > http://ftp.freebsd.org/pub/FreeBSD/development/alpha. > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 951 1891 > Fax: +44 181 381 1039 > ---------- Neal Horman "one ping please, Vascilly, one ping... only..." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 10:23:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA05618 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 10:23:51 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA05607 for ; Thu, 24 Sep 1998 10:23:40 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id KAA12259 for freebsd-alpha@freebsd.org; Thu, 24 Sep 1998 10:23:32 -0700 (PDT) Message-Id: <199809241723.KAA12259@burka.rdy.com> Subject: question To: freebsd-alpha@FreeBSD.ORG Date: Thu, 24 Sep 1998 10:23:32 -0700 (PDT) X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey guys! How do I compile kernel on alpha? ;-) Sorry for the stupid question. I just got myself an alphastation 200, installed netbsd on it, got freefall/~dfr/public_html/freebsd-alpha-280798.tar.gz, extracted it on top of netbsd, nuked the rest of netbsd stuff and got the very recent -current (via cvs). Now I've tried to compile a GENERIC kernel, but make depend can't find bunch of isa stuff. like sio,e tc etc etc Where do I get it? Or is there something I'm missing? -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 10:43:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA09495 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 10:43:20 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA09487 for ; Thu, 24 Sep 1998 10:43:18 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id KAA12557 for freebsd-alpha@freebsd.org; Thu, 24 Sep 1998 10:43:14 -0700 (PDT) Message-Id: <199809241743.KAA12557@burka.rdy.com> Subject: nevermind :-) To: freebsd-alpha@FreeBSD.ORG Date: Thu, 24 Sep 1998 10:43:14 -0700 (PDT) X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Oops, looks like it wasn't _most_ recent update. False alarm. Btw, did anybody got cvsup client working on alpha yet? -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 15:27:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA29761 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 15:27:01 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA29729 for ; Thu, 24 Sep 1998 15:26:55 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id XAA04960; Thu, 24 Sep 1998 23:26:24 +0100 (BST) Date: Thu, 24 Sep 1998 23:26:24 +0100 (BST) From: Doug Rabson To: Dima Ruban cc: freebsd-alpha@FreeBSD.ORG Subject: Re: nevermind :-) In-Reply-To: <199809241743.KAA12557@burka.rdy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 24 Sep 1998, Dima Ruban wrote: > Oops, looks like it wasn't _most_ recent update. False alarm. > Btw, did anybody got cvsup client working on alpha yet? A long while ago, John Birrell mentioned that he was working on something for modula-3 support but probably not at a very high priority. I don't know how hard it would be to get modula going. Does it have an alpha backend for the compiler? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 15:29:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA00203 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 15:29:18 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00196 for ; Thu, 24 Sep 1998 15:29:15 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id XAA05015; Thu, 24 Sep 1998 23:28:54 +0100 (BST) Date: Thu, 24 Sep 1998 23:28:54 +0100 (BST) From: Doug Rabson To: Dima Ruban cc: freebsd-alpha@FreeBSD.ORG Subject: Re: question In-Reply-To: <199809241723.KAA12259@burka.rdy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 24 Sep 1998, Dima Ruban wrote: > Hey guys! > > How do I compile kernel on alpha? ;-) > Sorry for the stupid question. I just got myself an alphastation 200, > installed netbsd on it, got > freefall/~dfr/public_html/freebsd-alpha-280798.tar.gz, extracted it on > top of netbsd, nuked the rest of netbsd stuff and got the very recent > -current (via cvs). Now I've tried to compile a GENERIC kernel, but > make depend can't find bunch of isa stuff. like sio,e tc etc etc > Where do I get it? Or is there something I'm missing? You should get a later set of binaries from ftp://ftp.freebsd.org/pub/FreeBSD/development/alpha. That old tarball has some serious problems and I have just deleted it. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 16:36:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA12204 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 16:36:48 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA12165 for ; Thu, 24 Sep 1998 16:36:40 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id JAA10756; Fri, 25 Sep 1998 09:42:45 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809242342.JAA10756@cimlogic.com.au> Subject: Re: nevermind :-) In-Reply-To: from Doug Rabson at "Sep 24, 98 11:26:24 pm" To: dfr@nlsystems.com (Doug Rabson) Date: Fri, 25 Sep 1998 09:42:45 +1000 (EST) Cc: dima@best.net, freebsd-alpha@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson wrote: > On Thu, 24 Sep 1998, Dima Ruban wrote: > > > Oops, looks like it wasn't _most_ recent update. False alarm. > > Btw, did anybody got cvsup client working on alpha yet? > > A long while ago, John Birrell mentioned that he was working on something > for modula-3 support but probably not at a very high priority. I don't > know how hard it would be to get modula going. Does it have an alpha > backend for the compiler? The compiler is just gcc, like on i386. On alpha, though, there are linker issues associated with walking the stack on exceptions. OSF/1 or Digital Unix or Compaq DIGITAL Unix or what ever it's called this week has mips derived code in the linker to create a linkage table which allows a pc address to be looked up to find out which function it is in. GNU binutils has this code for mips, not alpha. In the alpha sources, there are places where some of the mips code exists but is #ifdef'd out. For some reason, the mips code only applies to shared programs. This is a bit odd. I got to the point where I was about to go ask the binutils people, but I must have had a context switch from which I have never returned. 8-) I was working in a cross-compiled mode to get Modula-3 to work for FreeBSD/Alpha. Since Modula-3 works on OSF/1, I built that, then made mods so that it would use remote commands for the backend tools (gcc, ar, ld). I was able to build the whole thing that way. Without the stack walking code, though, the programs just spit an error and exit. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 18:34:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA00272 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 18:34:46 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA00250 for ; Thu, 24 Sep 1998 18:34:34 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id TAA02254; Thu, 24 Sep 1998 19:34:27 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809250134.TAA02254@panzer.plutotech.com> Subject: installing bootblocks... To: freebsd-alpha@FreeBSD.ORG Date: Thu, 24 Sep 1998 19:34:27 -0600 (MDT) Cc: imp@pluto.plutotech.com, gibbs@pluto.plutotech.com X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I know I'm doing something stupid here, but I'm just not quite sure what. :) I've got a Miata with two disks, and I've pretty much got FreeBSD up and running on the second disk. % uname -a FreeBSD subway.plutotech.com 3.0-BETA FreeBSD 3.0-BETA #1: Thu Sep 24 16:44:04 MDT 1998 root@subway.plutotech.com:/usr/src/sys/compile/subway alpha The problem is, the only way I've been able to boot the thing so far is by netbooting. (there were a number of tricks to figure out, but it does work) I compiled the bootblocks in sys/boot/alpha (had to hack the include paths and such), and installed them in /usr/mdec. Then I did: disklabel -B da1 /boot has the right files, I think: % ls -la /boot total 356 drwxrwxr-x 2 root wheel 512 Sep 24 19:06 . drwxr-xr-x 19 root wheel 512 Sep 24 18:06 .. -r-xr-xr-x 1 root wheel 6512 Sep 24 19:06 boot1 -r-xr-xr-x 1 root wheel 6512 Sep 19 17:08 boot1.old -r-xr-xr-x 1 root wheel 82432 Sep 24 19:11 boot2 -r-xr-xr-x 1 root wheel 82232 Sep 19 17:07 boot2.old I've tried to boot off the disk by typing this at the console prompt: >>> boot -flags 'a' dkc100 And here's what I get: (typed in by hand, excuse any typos) >>>boot -flags 'a' dkc100 (boot dkc100.1.0.1009.0 -flags a) block 0 of dkc100.1.0.1009 is a valid boot block reading 13 blocks from dkc100.1.0.1009.0 bootstrap code read in base = 14e000, image start = 0, image bytes = 1a00 initializing HWRPB at 2000 initializing page table at 140000 initializing machine state setting affinity to the primary CPU jumping to bootstrap code And it just hangs there. Anyone have an idea of what I'm doing wrong? Thanks, Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 21:04:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA21451 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 21:04:34 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21429 for ; Thu, 24 Sep 1998 21:04:23 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id AAA22766; Fri, 25 Sep 1998 00:04:05 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: "Kenneth D. Merry" cc: freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com From: "Gary Palmer" Subject: Re: installing bootblocks... In-reply-to: Your message of "Thu, 24 Sep 1998 19:34:27 MDT." <199809250134.TAA02254@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Sep 1998 00:04:05 -0400 Message-ID: <22762.906696245@gjp.erols.com> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Kenneth D. Merry" wrote in message ID <199809250134.TAA02254@panzer.plutotech.com>: > And it just hangs there. Anyone have an idea of what I'm doing wrong? Did you compile with -O2? I found that the bootblocks are very susceptible to optimizer oddities. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 21:10:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA22059 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 21:10:54 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22045; Thu, 24 Sep 1998 21:10:42 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id WAA03058; Thu, 24 Sep 1998 22:10:37 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809250410.WAA03058@panzer.plutotech.com> Subject: Re: installing bootblocks... In-Reply-To: <22762.906696245@gjp.erols.com> from Gary Palmer at "Sep 25, 98 00:04:05 am" To: gpalmer@FreeBSD.ORG (Gary Palmer) Date: Thu, 24 Sep 1998 22:10:37 -0600 (MDT) Cc: freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gary Palmer wrote... > "Kenneth D. Merry" wrote in message ID > <199809250134.TAA02254@panzer.plutotech.com>: > > And it just hangs there. Anyone have an idea of what I'm doing wrong? > > Did you compile with -O2? I found that the bootblocks are very susceptible to > optimizer oddities. I compiled with whatever the default is, which seems to be -O for some things (boot1, boot2, netboot), and none for others (libalpha). So should I recompile with -O2? Or recompile without any optimization? Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 21:13:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA22371 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 21:13:19 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22366 for ; Thu, 24 Sep 1998 21:13:16 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id AAA22926; Fri, 25 Sep 1998 00:12:52 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: "Kenneth D. Merry" cc: freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com From: "Gary Palmer" Subject: Re: installing bootblocks... In-reply-to: Your message of "Thu, 24 Sep 1998 22:10:37 MDT." <199809250410.WAA03058@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 25 Sep 1998 00:12:51 -0400 Message-ID: <22922.906696771@gjp.erols.com> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Kenneth D. Merry" wrote in message ID <199809250410.WAA03058@panzer.plutotech.com>: > Gary Palmer wrote... > I compiled with whatever the default is, which seems to be -O for some > things (boot1, boot2, netboot), and none for others (libalpha). > > So should I recompile with -O2? Or recompile without any optimization? I think I compiled everything with -O ... I can try to find my hacked `freebsdish' boot blocks ( I altered them to boot /kernel instead of /netbsd :) ) if you want. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 24 21:14:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA22620 for freebsd-alpha-outgoing; Thu, 24 Sep 1998 21:14:49 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22590; Thu, 24 Sep 1998 21:14:35 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id WAA03109; Thu, 24 Sep 1998 22:14:29 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809250414.WAA03109@panzer.plutotech.com> Subject: Re: installing bootblocks... In-Reply-To: <22922.906696771@gjp.erols.com> from Gary Palmer at "Sep 25, 98 00:12:51 am" To: gpalmer@FreeBSD.ORG (Gary Palmer) Date: Thu, 24 Sep 1998 22:14:29 -0600 (MDT) Cc: freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Gary Palmer wrote... > "Kenneth D. Merry" wrote in message ID > <199809250410.WAA03058@panzer.plutotech.com>: > > Gary Palmer wrote... > > I compiled with whatever the default is, which seems to be -O for some > > things (boot1, boot2, netboot), and none for others (libalpha). > > > > So should I recompile with -O2? Or recompile without any optimization? > > I think I compiled everything with -O ... I can try to find my hacked > `freebsdish' boot blocks ( I altered them to boot /kernel instead of /netbsd :) > ) if you want. That would be good, if you don't mind tracking them down. :) Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 00:25:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA15555 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 00:25:52 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA15548 for ; Fri, 25 Sep 1998 00:25:50 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id AAA18028; Fri, 25 Sep 1998 00:25:25 -0700 (PDT) Message-Id: <199809250725.AAA18028@burka.rdy.com> Subject: Re: nevermind :-) In-Reply-To: <199809242342.JAA10756@cimlogic.com.au> from John Birrell at "Sep 25, 1998 9:42:45 am" To: jb@cimlogic.com.au (John Birrell) Date: Fri, 25 Sep 1998 00:25:24 -0700 (PDT) Cc: dfr@nlsystems.com, dima@best.net, freebsd-alpha@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Birrell writes: > The compiler is just gcc, like on i386. On alpha, though, there are > linker issues associated with walking the stack on exceptions. OSF/1 > or Digital Unix or Compaq DIGITAL Unix or what ever it's called this > week has mips derived code in the linker to create a linkage table > which allows a pc address to be looked up to find out which function > it is in. GNU binutils has this code for mips, not alpha. In the alpha > sources, there are places where some of the mips code exists but is > #ifdef'd out. For some reason, the mips code only applies to shared > programs. This is a bit odd. I got to the point where I was about to go > ask the binutils people, but I must have had a context switch from which > I have never returned. 8-) Was it a voluntary context switch, since it's pretty clear that an event that you were waiting for never arrived :-) Or some resource wasn't and isn't available. How about to push some magic button called panic? ;-) > I was working in a cross-compiled mode to get Modula-3 to work for > FreeBSD/Alpha. Since Modula-3 works on OSF/1, I built that, then > made mods so that it would use remote commands for the backend tools > (gcc, ar, ld). I was able to build the whole thing that way. Without > the stack walking code, though, the programs just spit an error and > exit. I can see that. Well, let's ask binutils dudes then. > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 00:30:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA16229 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 00:30:23 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA16207 for ; Fri, 25 Sep 1998 00:30:15 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id RAA11797; Fri, 25 Sep 1998 17:36:27 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809250736.RAA11797@cimlogic.com.au> Subject: Re: nevermind :-) In-Reply-To: <199809250725.AAA18028@burka.rdy.com> from Dima Ruban at "Sep 25, 98 00:25:24 am" To: dima@best.net Date: Fri, 25 Sep 1998 17:36:27 +1000 (EST) Cc: jb@cimlogic.com.au, dfr@nlsystems.com, dima@best.net, freebsd-alpha@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dima Ruban wrote: > Was it a voluntary context switch, since it's pretty clear > that an event that you were waiting for never arrived :-) Or some resource > wasn't and isn't available. How about to push some magic button called panic? > ;-) Bug in brain software no doubt. Probably made worse by poor hardware. > > I was working in a cross-compiled mode to get Modula-3 to work for > > FreeBSD/Alpha. Since Modula-3 works on OSF/1, I built that, then > > made mods so that it would use remote commands for the backend tools > > (gcc, ar, ld). I was able to build the whole thing that way. Without > > the stack walking code, though, the programs just spit an error and > > exit. > > I can see that. Well, let's ask binutils dudes then. John Polstra tells me that the setjmp/longjump implementation should still work. I wish my brain worked - then I might stand a chance of remembering what the issues were. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 02:38:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA04098 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 02:38:03 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA04044 for ; Fri, 25 Sep 1998 02:37:58 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA06936; Fri, 25 Sep 1998 10:37:31 +0100 (BST) Date: Fri, 25 Sep 1998 10:37:31 +0100 (BST) From: Doug Rabson To: "Kenneth D. Merry" cc: freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com Subject: Re: installing bootblocks... In-Reply-To: <199809250134.TAA02254@panzer.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 24 Sep 1998, Kenneth D. Merry wrote: > > I know I'm doing something stupid here, but I'm just not quite sure what. :) > > I've got a Miata with two disks, and I've pretty much got FreeBSD up and > running on the second disk. > > % uname -a > FreeBSD subway.plutotech.com 3.0-BETA FreeBSD 3.0-BETA #1: Thu Sep 24 16:44:04 MDT 1998 root@subway.plutotech.com:/usr/src/sys/compile/subway alpha > > The problem is, the only way I've been able to boot the thing so far is by > netbooting. (there were a number of tricks to figure out, but it does > work) > > I compiled the bootblocks in sys/boot/alpha (had to hack the include paths > and such), and installed them in /usr/mdec. > > Then I did: > > disklabel -B da1 > > /boot has the right files, I think: > > % ls -la /boot > total 356 > drwxrwxr-x 2 root wheel 512 Sep 24 19:06 . > drwxr-xr-x 19 root wheel 512 Sep 24 18:06 .. > -r-xr-xr-x 1 root wheel 6512 Sep 24 19:06 boot1 > -r-xr-xr-x 1 root wheel 6512 Sep 19 17:08 boot1.old > -r-xr-xr-x 1 root wheel 82432 Sep 24 19:11 boot2 > -r-xr-xr-x 1 root wheel 82232 Sep 19 17:07 boot2.old > > I've tried to boot off the disk by typing this at the console prompt: > > >>> boot -flags 'a' dkc100 > > And here's what I get: (typed in by hand, excuse any typos) > > >>>boot -flags 'a' dkc100 > (boot dkc100.1.0.1009.0 -flags a) > block 0 of dkc100.1.0.1009 is a valid boot block > reading 13 blocks from dkc100.1.0.1009.0 > bootstrap code read in > base = 14e000, image start = 0, image bytes = 1a00 > initializing HWRPB at 2000 > initializing page table at 140000 > initializing machine state > setting affinity to the primary CPU > jumping to bootstrap code > > > And it just hangs there. Anyone have an idea of what I'm doing wrong? It seems to be hanging in boot1 somewhere. Could you try instrumenting boot1 by inserting a few puts() statements into it. Be gentle with it - it has to fit in 7.5k and printf puts it over the limit. My best trick for debugging it was to scatter calls to halt() around the code and see how far it got before it halted. If it works right, it should just twiddle() a few times while it loads the second stage then jump to it. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 03:06:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA07493 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 03:06:59 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA07488 for ; Fri, 25 Sep 1998 03:06:56 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id DAA24736; Fri, 25 Sep 1998 03:07:29 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Doug Rabson cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com Subject: Re: installing bootblocks... In-reply-to: Your message of "Fri, 25 Sep 1998 10:37:31 BST." Date: Fri, 25 Sep 1998 03:07:28 -0700 Message-ID: <24732.906718048@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > It seems to be hanging in boot1 somewhere. Could you try instrumenting > boot1 by inserting a few puts() statements into it. Be gentle with it - Actually, I was sort of wondering how anyone was building the boot blocks at all - I can't get them to build on my alpha. Perhaps now would be a good time for a status report on just what remains to go into the tree before the complete triad of kernel/world/boot can be built successfully from /usr/src without patches? I must confess to being a little confused about all this at the moment. Thanks. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 03:15:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA08333 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 03:15:17 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA08326 for ; Fri, 25 Sep 1998 03:15:12 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id LAA07062; Fri, 25 Sep 1998 11:14:48 +0100 (BST) Date: Fri, 25 Sep 1998 11:14:48 +0100 (BST) From: Doug Rabson To: "Jordan K. Hubbard" cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com Subject: Re: installing bootblocks... In-Reply-To: <24732.906718048@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 25 Sep 1998, Jordan K. Hubbard wrote: > > It seems to be hanging in boot1 somewhere. Could you try instrumenting > > boot1 by inserting a few puts() statements into it. Be gentle with it - > > Actually, I was sort of wondering how anyone was building the boot > blocks at all - I can't get them to build on my alpha. > > Perhaps now would be a good time for a status report on just what > remains to go into the tree before the complete triad of > kernel/world/boot can be built successfully from /usr/src without > patches? I must confess to being a little confused about all this at > the moment. They built last time I tried but I think the Makefiles are still have some bogus pathnames in them though. I couldn't build them if I used 'make obj' first but I think I can fix that (add a -I${.OBJDIR} to CFLAGS probably). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 03:49:38 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA11303 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 03:49:38 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA11298 for ; Fri, 25 Sep 1998 03:49:37 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id DAA27354; Fri, 25 Sep 1998 03:50:28 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: Doug Rabson cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com Subject: Re: installing bootblocks... In-reply-to: Your message of "Fri, 25 Sep 1998 11:14:48 BST." Date: Fri, 25 Sep 1998 03:50:28 -0700 Message-ID: <27350.906720628@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Perhaps now would be a good time for a status report on just what > > remains to go into the tree before the complete triad of > > kernel/world/boot can be built successfully from /usr/src without > > patches? I must confess to being a little confused about all this at > > the moment. > > They built last time I tried but I think the Makefiles are still have some > bogus pathnames in them though. I couldn't build them if I used 'make > obj' first but I think I can fix that (add a -I${.OBJDIR} to CFLAGS > probably). Hmmmm. Really? It fails very quickly for me: root@beast-> cd /usr/src/sys/boot/ root@beast-> ls CVS Makefile alpha common i386 root@beast-> make ===> alpha ===> alpha/libalpha cc -I/home/dfr/FreeBSD/alpha/src/lib/libstand -DDEBUG -I/usr/src/sys/boot/alpha/libalpha/../../common -mno-fp-regs -DDISK_DEBUG -c srmnet.c -o srmnet.o srmnet.c:45: net.h: No such file or directory srmnet.c:46: netif.h: No such file or directory *** Error code 1 And I can't find those headers anywhere. I reported this last week, as you might recall. There's also your fix for ncr.c and the uncopied/unmerged sio bits still undone, as far as I know. That's sort of why I was asking for a general status report on the tree as a whole, not just the boot blocks. I'm still trying to put my finger on just how much work is left before someone can do all the self-hosting work "from scratch" with no special tips or tricks, e.g. the point when we can sort of open the doors of -current to alpha folks without having to issue any special instructions short of the installation process itself. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 08:39:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA18524 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 08:39:35 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from mail.clintondale.com (boris.clintondale.com [206.88.120.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA18492 for ; Fri, 25 Sep 1998 08:39:23 -0700 (PDT) (envelope-from matt@clintondale.com) Received: from matt (helo=localhost) by mail.clintondale.com with local-smtp (Exim 2.04 #2) id 0zMZxY-0003ex-00 for freebsd-alpha@FreeBSD.ORG; Fri, 25 Sep 1998 11:39:04 -0400 Date: Fri, 25 Sep 1998 11:39:04 -0400 (EDT) From: Matt Hamilton To: freebsd-alpha@FreeBSD.ORG Subject: Re: installing bootblocks... In-Reply-To: <27350.906720628@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dear All, Forgive my ignorance, as I haven't even tried -current on my Alpha yet (UDB -still not supported right?), but where do bootblocks fit into the Alpha boot process? I thought you just typed: boot blah/kernel into SRM and it would boot the kernel? I guess I must be wrong, so where do the bootblocks fit in? Does the boot command in SRM call the secondary boot code in the bootblocks and then that calls the kernel? confused in NY ------------------------------------------------------------------------------- Matt Hamilton Clintondale Aviation matt@clintondale.com http://www.clintondale.com ------------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 11:48:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19104 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 11:48:19 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA18808 for ; Fri, 25 Sep 1998 11:47:09 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id TAA08316; Fri, 25 Sep 1998 19:45:30 +0100 (BST) Date: Fri, 25 Sep 1998 19:45:30 +0100 (BST) From: Doug Rabson To: "Jordan K. Hubbard" cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, imp@pluto.plutotech.com, gibbs@pluto.plutotech.com Subject: Re: installing bootblocks... In-Reply-To: <27350.906720628@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 25 Sep 1998, Jordan K. Hubbard wrote: > > > Perhaps now would be a good time for a status report on just what > > > remains to go into the tree before the complete triad of > > > kernel/world/boot can be built successfully from /usr/src without > > > patches? I must confess to being a little confused about all this at > > > the moment. > > > > They built last time I tried but I think the Makefiles are still have some > > bogus pathnames in them though. I couldn't build them if I used 'make > > obj' first but I think I can fix that (add a -I${.OBJDIR} to CFLAGS > > probably). > > Hmmmm. Really? It fails very quickly for me: > > root@beast-> cd /usr/src/sys/boot/ > root@beast-> ls > CVS Makefile alpha common i386 > root@beast-> make > ===> alpha > ===> alpha/libalpha > cc -I/home/dfr/FreeBSD/alpha/src/lib/libstand -DDEBUG -I/usr/src/sys/boot/alpha/libalpha/../../common -mno-fp-regs -DDISK_DEBUG -c srmnet.c -o srmnet.o > srmnet.c:45: net.h: No such file or directory > srmnet.c:46: netif.h: No such file or directory > *** Error code 1 > > And I can't find those headers anywhere. I reported this last week, > as you might recall. That was the bogus pathname that I mentioned. I guess it should be ${.CURDIR}/../../../lib/libstand or something like that. I'll work on the bootstrap makefiles tomorrow. > > There's also your fix for ncr.c and the uncopied/unmerged sio bits > still undone, as far as I know. That's sort of why I was asking for a > general status report on the tree as a whole, not just the boot > blocks. I'm still trying to put my finger on just how much work is > left before someone can do all the self-hosting work "from scratch" > with no special tips or tricks, e.g. the point when we can sort of > open the doors of -current to alpha folks without having to issue any > special instructions short of the installation process itself. I have the up to date sio ready to go but I'm still waiting for the repository copy. I also have the root disk detection magic written and that can go in tomorrow after a little more testing. The ncr patch is so trivial that I'll commit that too (unless Justin beats me to it). With that lot, we should be up to date. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 12:09:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA22366 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 12:09:10 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA22355 for ; Fri, 25 Sep 1998 12:09:01 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id UAA08381; Fri, 25 Sep 1998 20:08:43 +0100 (BST) Date: Fri, 25 Sep 1998 20:08:42 +0100 (BST) From: Doug Rabson To: "Kenneth D. Merry" cc: freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com Subject: Re: installing bootblocks... In-Reply-To: <199809251900.NAA07048@panzer.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 25 Sep 1998, Kenneth D. Merry wrote: > Doug Rabson wrote... > > On Thu, 24 Sep 1998, Kenneth D. Merry wrote: > > > > > initializing machine state > > > setting affinity to the primary CPU > > > jumping to bootstrap code > > > > > > > > > And it just hangs there. Anyone have an idea of what I'm doing wrong? > > > > It seems to be hanging in boot1 somewhere. Could you try instrumenting > > boot1 by inserting a few puts() statements into it. Be gentle with it - > > it has to fit in 7.5k and printf puts it over the limit. My best trick > > for debugging it was to scatter calls to halt() around the code and see > > how far it got before it halted. > > > > If it works right, it should just twiddle() a few times while it loads the > > second stage then jump to it. > > Well, I think I figured out the problem. > > The first stage boot loader was hanging when it tried to load the second > stage boot blocks. I'm pretty sure this is because the disk was > partitioned and newfsed under Digital Unix. > > I was able to switch two of the partitions over to a FreeBSD filesystem (by > moving their contents elsewhere and then newfsing them and then moving them > back), but I wasn't able to get the root partition moved over. > > When I tried (don't ask), I ended up hosing the root partition. So, I'm > more or less back to square one here, unfortunately. > > So, to make a long story short, I probably need to do one of two things: > > - figure out how to boot the machine with an NFS mounted root partition. I > can netboot it now under FreeBSD, but the kernel panics because (I > assume) there isn't anything on the root partition. If I can boot it > with an NFS root, I can newfs the partitions under FreeBSD and get all > the right binaries on the disk. > > - or, figure out how to switch the root partition from a Digital Unix > format to a FreeBSD format. Before, I tried something like this from > single user mode: > > - mount /dev/da1h / > "specified partition doesn't match mounted partition" > - chroot /path/to/copy/of/root > newfs da1a >  > and then shortly thereafter, everything blew up. :) (big surprise) > > So does anyone have any suggestions? If possible, I'd rather just boot > with an NFS-mounted root partition. I haven't quite figured out how to do > that, though... I had forgotten about that. I happen to have a DUX partition on my Miata which I accidentally spammed with my FreeBSD boot blocks (doesn't look like I'll ever boot DUX again...) and I had something similar happen. If I get a chance, I'll try and fix it this weekend. The filesystem is perfectly usable from the the real UFS, its just the flaky ufs reader in boot1 which can't cope with it. If you want to get moving before that, I suggest that you pick up a NetBSD boot floppy (which has an MFS root) and use that to newfs and copy the FreeBSD root. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 12:40:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26767 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 12:40:14 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26633 for ; Fri, 25 Sep 1998 12:40:01 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.8.5/8.8.5) with ESMTP id PAA26800; Fri, 25 Sep 1998 15:39:07 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.9.1/8.9.1) id PAA01136; Fri, 25 Sep 1998 15:39:06 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 25 Sep 1998 15:39:05 -0400 (EDT) To: Doug Rabson Cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com Subject: Re: installing bootblocks... In-Reply-To: References: <199809251900.NAA07048@panzer.plutotech.com> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <13835.61076.43477.474590@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson writes: > > > > - or, figure out how to switch the root partition from a Digital Unix > > format to a FreeBSD format. Before, I tried something like this from > > single user mode: > > > > - mount /dev/da1h / > > "specified partition doesn't match mounted partition" I tend to install *BSD/alpha by booting DU diskless, newfs'ing the appropriate partitions & untarring the dist. I run into the above problem because Digital UNIX handles special files in some wacky way, so that special files change major/minor numbers when viewed by DU or *BSD. The easiest thing to do is to boot a normal kernel via bootp, then NFS mount a fs where where root is mapped to 0 via NFS. Then mount root r/w, cd into /dev, delete everything but console (0 is always 0 :), and rebuild your devices. Something like this: # ifconfig de0 xxxx up # mount w.x.y.z:/export/root /mnt # cd /mnt # mkdir dev # cd dev # cp /dev/MAKEDEV . # sh MAKEDEV all # mount -u ./da0a / # cd /dev # rm -rf [a-b]* [d-z]* # sh MAKEDEV all # < populate root > ... Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 15:10:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA22783 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 15:10:58 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22700 for ; Fri, 25 Sep 1998 15:10:34 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id XAA11136; Fri, 25 Sep 1998 23:10:05 +0100 (BST) Date: Fri, 25 Sep 1998 23:10:05 +0100 (BST) From: Doug Rabson To: Matt Hamilton cc: freebsd-alpha@FreeBSD.ORG Subject: Re: installing bootblocks... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 25 Sep 1998, Matt Hamilton wrote: > Dear All, > Forgive my ignorance, as I haven't even tried -current on my Alpha yet > (UDB -still not supported right?), but where do bootblocks fit into the > Alpha boot process? I thought you just typed: boot blah/kernel into SRM > and it would boot the kernel? I guess I must be wrong, so where do the > bootblocks fit in? Does the boot command in SRM call the secondary boot > code in the bootblocks and then that calls the kernel? > > confused in NY I fixed the axppci33 support a few days ago (which should include UDB). I'll probably put up some more kernels tomorrow for testing. The boot blocks are necessary because SRM only knows how to load a single contiguous region of the disk. To load a kernel from a real filesystem, you need to get SRM to load a bootstrap which contains a UFS reader to read the kernel. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 21:21:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA17923 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 21:21:12 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA17916 for ; Fri, 25 Sep 1998 21:21:05 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id VAA24491 for alpha@freebsd.org; Fri, 25 Sep 1998 21:20:59 -0700 (PDT) Message-Id: <199809260420.VAA24491@burka.rdy.com> Subject: make To: alpha@FreeBSD.ORG Date: Fri, 25 Sep 1998 21:20:59 -0700 (PDT) X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey guys! What's up with make on alpha? For some weird reason, it doesn't exactly works like it supposed to. Try for example compile /usr/ports/security/ssh with USA_RESIDENT setted to YES. make will fail on rsaref library. It works okay on i386/current though. -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 21:38:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA19156 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 21:38:12 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA19151 for ; Fri, 25 Sep 1998 21:38:09 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.9.1/8.9.1) id OAA19369; Sat, 26 Sep 1998 14:44:41 +1000 (EST) (envelope-from jb) From: John Birrell Message-Id: <199809260444.OAA19369@cimlogic.com.au> Subject: Re: make In-Reply-To: <199809260420.VAA24491@burka.rdy.com> from Dima Ruban at "Sep 25, 98 09:20:59 pm" To: dima@best.net Date: Sat, 26 Sep 1998 14:44:41 +1000 (EST) Cc: alpha@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dima Ruban wrote: > Hey guys! > > What's up with make on alpha? For some weird reason, it doesn't exactly works > like it supposed to. Try for example compile /usr/ports/security/ssh > with USA_RESIDENT setted to YES. make will fail on rsaref library. > It works okay on i386/current though. Are you saying that make itself didn't work, or the port doesn't build on alpha? I'd be surprised if anyone has tried to build that port on alpha since it was updated for ELF on i386. Take care to keep an up-to-date bsd.port.mk which is prone to changes as the ports guys try to digest E-day and P-day (C-day probably didn't affect them). -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 21:49:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA20086 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 21:49:41 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA20081 for ; Fri, 25 Sep 1998 21:49:39 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id VAA24661; Fri, 25 Sep 1998 21:49:21 -0700 (PDT) Message-Id: <199809260449.VAA24661@burka.rdy.com> Subject: Re: make In-Reply-To: <199809260444.OAA19369@cimlogic.com.au> from John Birrell at "Sep 26, 1998 2:44:41 pm" To: jb@cimlogic.com.au (John Birrell) Date: Fri, 25 Sep 1998 21:49:20 -0700 (PDT) Cc: dima@best.net, alpha@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Birrell writes: > Dima Ruban wrote: > > Hey guys! > > > > What's up with make on alpha? For some weird reason, it doesn't exactly works > > like it supposed to. Try for example compile /usr/ports/security/ssh > > with USA_RESIDENT setted to YES. make will fail on rsaref library. > > It works okay on i386/current though. > > Are you saying that make itself didn't work, or the port doesn't build on make itself doesn't work. it doesn't seem to figure out how to make librsaref.a > alpha? I'd be surprised if anyone has tried to build that port on > alpha since it was updated for ELF on i386. Take care to keep an up-to-date I did actually. I just fixed this particular port to work on alpha (RSA stuff). This fix didn't have anything to do with make, it rather fixed stupid assumption about the size of a "long" in the RSAREF library :-/ > bsd.port.mk which is prone to changes as the ports guys try to digest > E-day and P-day (C-day probably didn't affect them). I don't think, this is the case, since I've made a fresh make world like 10 hours ago or so. > > -- > John Birrell - jb@cimlogic.com.au; jb@freebsd.org http://www.cimlogic.com.au/ > CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 23:24:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26147 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 23:24:41 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26140 for ; Fri, 25 Sep 1998 23:24:37 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id AAA09773; Sat, 26 Sep 1998 00:24:31 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809260624.AAA09773@panzer.plutotech.com> Subject: it works!! To: freebsd-alpha@FreeBSD.ORG Date: Sat, 26 Sep 1998 00:24:30 -0600 (MDT) Cc: gibbs@pluto.plutotech.com, imp@pluto.plutotech.com X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM906791070-9668-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --ELM906791070-9668-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Well, I thought y'all might want to know that I finally got our Miata up and running. (and how I managed to do it...) - I couldn't use the NetBSD boot floppy, since 1.3.2 didn't support the Miata. I know that NetBSD-current supports the Miata, though. I later found a NetBSD-current snapshot from June, but I'm not sure if the Miata support was in by then, either. - I wasn't able to figure out the right "magic" to make a NFS root partition work. I guess there's a way to do it, but looking through the source didn't help. :( - So, I did it the hard way. :) My configuration is basically two 2 gig Seagate Barracudas on a QLogic ISP 1040, 128MB RAM and a 433MHz 21164. The first disk has Digital UNIX, the second one was empty. Here's what I did: - First, I grabbed a third disk (4 gig narrow barracuda) and hooked it into the QLogic - Booted DEC Unix, and attempted to partition the thing. Silly me. No matter what I tried, their disklabel(8) didn't want to disklabel the damned disk. It didn't work even when I did something like this: dd if=/dev/zero of=/dev/rrz20c bs=64k count=10 - I managed to get their disklabel to work by doing this: dd if=/dev/rz16c of=/dev/rz20c bs=64k count=3 (not sure about the count, but basically I copied the disklabel from the boot disk, a 2 gig barracuda, to the third disk, a 4 gig barracuda) - Then I edited the disklabel on the third disk, and got the partitions to something reasonable. - Then, I untarred Doug's binary distribution from wcarchive onto the disk, and put one the kernel with a da1 root onto the disk. - Next, I halted the machine and disconnected the second 2 gig barracuda. This is so that the third disk would now be da1 instead of da2. (i.e. so the kernel with da1 as root would work) - I turned the machine on, and then netbooted off bootblocks and a kernel setup on another (i386) machine. (I can netboot the damned thing, but I can't manage to get an NFS mounted root...oh well...) - Since I made the partitions under DEC Unix, I had to re-make the device nodes. So I did something like this: mount rw:/a/path/to/alpha/root /mnt mount -u /mnt/dev/da1a / mount /mnt/dev/da1e /usr rm -rf /dev cd /mnt find dev -print |cpio -pdmuv / - With the machine booted under a FreeBSD kernel, I grabbed the kernel source via remote cvs from another machine. I recompiled the kernel to have root on *da2*, and ftped it to the netboot server. - I halted the machine, and reconnected the second 2-gig barracuda. - Netbooted the machine with the kernel configured for root on da2. - Disklabeled and newfsed the 2-gig barracuda, and copied the filesystems from the 4-gig barracuda to the 2-gig barracuda. I had to copy everything using cpio, since dump and restore don't seem to work: subway# dump -0f - / |restore -rf - DUMP: Date of this level 0 dump: Fri Sep 25 01:48:54 1998 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/rda1a (/) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 26326 tape blocks. DUMP: dumping (Pass III) [directories] Checksum error 244733, inode 0 file (null) Tape is not a dump tape DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. So I copied things like this, more or less: cd /mnt find -x / -print |cpio -pdmuv . - Rebooted the machine, and netbooted it off of the kernel with root on da1. - Changed the partitions around in the fstab, since I forgot to do that before I rebooted on this disk. - Did a remote cvs checkout of the full source tree - Changed all the paths in src/sys/boot/alpha/*/Makefile to use a relative path to libstand, rather than dfr's home directory. :) - compiled and installed libstand and the boot blocks - Installed the first and second stage boot blocks: cd /usr/mdec disklabel -B -b boot1 da1 mkdir /boot cp boot2 /boot - Rebooted the machine, and booted off the second disk (dkc100). It worked!!! Doug was right, the problem is that the boot loader doesn't understand DEC's UFS, but it does work okay with FreeBSD's UFS. - Rebooted again, and set the default boot device to the second disk in the console. I'm doing a make buildworld now, we'll see if it works. Things seem to work okay for the most part. iostat(8) can probably be enabled for the Alpha. It works fine for me, at least: da0 da1 pass0 pass1 KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s 0.00 0 0.00 8.66 38 0.32 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3.00 7 0.02 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 10.22 32 0.32 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3.00 8 0.02 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 10.63 30 0.31 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3.60 5 0.02 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 7.00 2 0.01 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4.75 4 0.02 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3.00 4 0.01 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 4.00 4 0.02 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 3.00 7 0.02 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 2.00 7 0.01 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 5.18 11 0.06 0.00 0 0.00 0.00 0 0.00 Good work guys! This is pretty cool! (I've attached a dmesg from the machine, in case anyone is curious or whatever...) Ken -- Kenneth Merry ken@plutotech.com --ELM906791070-9668-0_ Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=subway.dmesg Content-Description: subway.dmesg Content-Transfer-Encoding: 7bit WARNING: 8192 bytes not available for msgbuf in last cluster (32768 used) [ preserving 439368 bytes of kernel symbol table ] Copyright (c) 1992-1998 FreeBSD Inc. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 3.0-BETA #1: Thu Sep 24 16:44:04 MDT 1998 root@subway.plutotech.com:/usr/src/sys/compile/subway Digital Personal Workstation (Miata) Digital Personal WorkStation 433au, 432MHz 8192 byte page size, 1 processor. real memory = 131891200 (128800K bytes) avail memory = 122707968 (119832K bytes) cia0: <2117x PCI adapter> cia0: Pyxis, pass 1 cia0: extended capabilities: 111 cia0: WARNING: Pyxis pass 1 DMA bug; no bets... isa0 Probing for devices on PCI bus 0: de0: rev 0x30 int a irq 0 on pci0.3.0 de0: DEC 21143 [10-100Mb/s] pass 3.0 de0: address 00:00:f8:75:7c:14 chip0: rev 0x43 on pci0.7.0 vga0: rev 0x22 int a irq 4 on pci0.11.0 chip1: rev 0x02 on pci0.20.0 Probing for devices on PCI bus 1: Qlogic ISP Driver, FreeBSD CAM Version 0.97, Core Version 1.3 isp0: rev 0x05 int a irq 16 on pci1.9.0 isp0: using Memory space register mapping isp0: Board Revision 1040B, loaded F/W Revision 7.55 isp0: Last F/W revision was 5.1 mcclock0: at 0x70-0x71 on isa0 sc0 at 0x60-0x6f irq 1 on isa0 sc0: CGA <16 virtual consoles, flags=0x0> sio0 at 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A sio1: reserved for low-level i/o sio1 not found struct nfssvc_sock bloated (> 256bytes) Try reducing NFS_UIDHASHSIZ struct nfsuid bloated (> 128bytes) Try unionizing the nu_nickname and nu_flag fields Timecounter "alpha" frequency 432900432 Hz cost 62 ns isp0: driver initiated bus reset de0: enabling 100baseTX port da0 at isp0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI2 device da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da0: 2007MB (4110480 512 byte sectors: 255H 63S/T 255C) da1 at isp0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI2 device da1: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled da1: 2007MB (4110480 512 byte sectors: 255H 63S/T 255C) --ELM906791070-9668-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 23:32:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26857 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 23:32:58 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26850 for ; Fri, 25 Sep 1998 23:32:55 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id AAA09812; Sat, 26 Sep 1998 00:32:48 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199809260632.AAA09812@panzer.plutotech.com> Subject: one other thing... To: freebsd-alpha@FreeBSD.ORG Date: Sat, 26 Sep 1998 00:32:48 -0600 (MDT) Cc: gibbs@pluto.plutotech.com, imp@pluto.plutotech.com X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Justin and I discovered that write caching was turned off on the 2gig DEC OEM Barracudas that came with the Miata. Enabling write caching improved performance a good bit. To check for that, do this: subway# camcontrol modepage -n da -u 0 -m 8 IC: 0 ABPF: 0 CAP: 0 DISC: 1 SIZE: 0 WCE: 0 MF: 0 RCD: 0 Demand Retention Priority: 0 Write Retention Priority: 0 Disable Pre-fetch Transfer Length: 65535 Minimum Pre-fetch: 0 Maximum Pre-fetch: 65535 Maximum Pre-fetch Ceiling: 65535 Notice that WCE is set to 0. Set it to 1 to enable write caching. You can edit the mode page like this: camcontrol modepage -n da -u 0 -m 8 -P 3 -e Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Fri Sep 25 23:59:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00592 for freebsd-alpha-outgoing; Fri, 25 Sep 1998 23:59:21 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00587 for ; Fri, 25 Sep 1998 23:59:20 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id XAA25322; Fri, 25 Sep 1998 23:59:12 -0700 (PDT) Message-Id: <199809260659.XAA25322@burka.rdy.com> Subject: Re: it works!! In-Reply-To: <199809260624.AAA09773@panzer.plutotech.com> from "Kenneth D. Merry" at "Sep 26, 1998 0:24:30 am" To: ken@plutotech.com (Kenneth D. Merry) Date: Fri, 25 Sep 1998 23:59:11 -0700 (PDT) Cc: freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kenneth D. Merry writes: > [skipped] > - Changed all the paths in src/sys/boot/alpha/*/Makefile to use a relative > path to libstand, rather than dfr's home directory. :) I've asked Doug's permission (in private mail) to nuke all this stuff, and put ${.CURDIR}../etc etc etc instead. Still haven't got an answer. As soon as I get it - I'll commit the change. > > Ken > -- > Kenneth Merry > ken@plutotech.com -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 00:03:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA00899 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 00:03:10 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA00893 for ; Sat, 26 Sep 1998 00:03:08 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id AAA25376 for alpha@freebsd.org; Sat, 26 Sep 1998 00:03:02 -0700 (PDT) Message-Id: <199809260703.AAA25376@burka.rdy.com> Subject: btw To: alpha@FreeBSD.ORG Date: Sat, 26 Sep 1998 00:03:02 -0700 (PDT) X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is there suck a thing as "ifdef" or something for ``mtree''? I think, we should create /boot directory if we run alpha by default .... Any bright ideas? -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 00:06:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA01400 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 00:06:40 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA01388 for ; Sat, 26 Sep 1998 00:06:36 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id AAA25407; Sat, 26 Sep 1998 00:06:29 -0700 (PDT) Message-Id: <199809260706.AAA25407@burka.rdy.com> Subject: Re: btw In-Reply-To: <199809260703.AAA25376@burka.rdy.com> from Dima Ruban at "Sep 26, 1998 0: 3: 2 am" To: dima@best.net Date: Sat, 26 Sep 1998 00:06:29 -0700 (PDT) Cc: alpha@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dima Ruban writes: > Is there suck a thing as "ifdef" or something for ``mtree''? ^^^^ such :-) *blush* > I think, we should create /boot directory if we run alpha by default .... > > Any bright ideas? > > -- dima > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 01:15:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA06103 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 01:15:27 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA06098 for ; Sat, 26 Sep 1998 01:15:24 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id JAA16008; Sat, 26 Sep 1998 09:14:47 +0100 (BST) Date: Sat, 26 Sep 1998 09:14:47 +0100 (BST) From: Doug Rabson To: Dima Ruban cc: John Birrell , alpha@FreeBSD.ORG Subject: Re: make In-Reply-To: <199809260449.VAA24661@burka.rdy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 25 Sep 1998, Dima Ruban wrote: > John Birrell writes: > > Dima Ruban wrote: > > > Hey guys! > > > > > > What's up with make on alpha? For some weird reason, it doesn't exactly works > > > like it supposed to. Try for example compile /usr/ports/security/ssh > > > with USA_RESIDENT setted to YES. make will fail on rsaref library. > > > It works okay on i386/current though. > > > > Are you saying that make itself didn't work, or the port doesn't build on > > make itself doesn't work. it doesn't seem to figure out how to make > librsaref.a > > > alpha? I'd be surprised if anyone has tried to build that port on > > alpha since it was updated for ELF on i386. Take care to keep an up-to-date > > I did actually. I just fixed this particular port to work on alpha > (RSA stuff). This fix didn't have anything to do with make, it rather fixed > stupid assumption about the size of a "long" in the RSAREF library :-/ > > > bsd.port.mk which is prone to changes as the ports guys try to digest > > E-day and P-day (C-day probably didn't affect them). > > I don't think, this is the case, since I've made a fresh make world > like 10 hours ago or so. I have never tried to make ssh with USA_RESIDENT=YES since I don't live in the US. Have you installed the rsaref port? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 01:22:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA06612 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 01:22:10 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA06601 for ; Sat, 26 Sep 1998 01:22:06 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id BAA26011; Sat, 26 Sep 1998 01:21:50 -0700 (PDT) Message-Id: <199809260821.BAA26011@burka.rdy.com> Subject: Re: make In-Reply-To: from Doug Rabson at "Sep 26, 1998 9:14:47 am" To: dfr@nlsystems.com (Doug Rabson) Date: Sat, 26 Sep 1998 01:21:49 -0700 (PDT) Cc: dima@best.net, jb@cimlogic.com.au, alpha@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson writes: > > I have never tried to make ssh with USA_RESIDENT=YES since I don't live in > the US. Have you installed the rsaref port? You don't have to install an rsaref port. Makefile for alpha is _exactly_ the same as for my i386/current machine. But it works for i386 and doesn't work for alpha. That's how I came to the conclusion that make on alpha is slightly broken. (I didn't have a chance to look it at by myself) > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 951 1891 > Fax: +44 181 381 1039 > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 02:08:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA10463 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 02:08:56 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from time.cdrom.com (time.cdrom.com [204.216.27.226]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA10454 for ; Sat, 26 Sep 1998 02:08:51 -0700 (PDT) (envelope-from jkh@time.cdrom.com) Received: from time.cdrom.com (jkh@localhost.cdrom.com [127.0.0.1]) by time.cdrom.com (8.8.8/8.8.8) with ESMTP id CAA16284; Sat, 26 Sep 1998 02:09:36 -0700 (PDT) (envelope-from jkh@time.cdrom.com) To: dima@best.net cc: dfr@nlsystems.com (Doug Rabson), jb@cimlogic.com.au, alpha@FreeBSD.ORG Subject: Re: make In-reply-to: Your message of "Sat, 26 Sep 1998 01:21:49 PDT." <199809260821.BAA26011@burka.rdy.com> Date: Sat, 26 Sep 1998 02:09:34 -0700 Message-ID: <16280.906800974@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > You don't have to install an rsaref port. Makefile for alpha is _exactly_ > the same as for my i386/current machine. > But it works for i386 and doesn't work for alpha. > That's how I came to the conclusion that make on alpha is slightly broken. > (I didn't have a chance to look it at by myself) Naw, it's an ELF artifact - it fails the same way on an x86/ELF system and it's pretty obvious as to why if you look at the way rsaref is being built inside the ssh directory. Now what would make a LOT MORE sense would be to get the rsaref2 port to work with ssh and simply make the ssh port depend on it, but when I tried this I got an sshd (on the alpha) that was unable to generate the random keys and would hang forever on a connection. - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 02:22:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA11606 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 02:22:13 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA11599 for ; Sat, 26 Sep 1998 02:22:10 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA16262; Sat, 26 Sep 1998 10:21:55 +0100 (BST) Date: Sat, 26 Sep 1998 10:21:55 +0100 (BST) From: Doug Rabson To: Dima Ruban cc: "Kenneth D. Merry" , freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com Subject: Re: it works!! In-Reply-To: <199809260659.XAA25322@burka.rdy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 25 Sep 1998, Dima Ruban wrote: > Kenneth D. Merry writes: > > [skipped] > > - Changed all the paths in src/sys/boot/alpha/*/Makefile to use a relative > > path to libstand, rather than dfr's home directory. :) > > I've asked Doug's permission (in private mail) to nuke all this stuff, and > put ${.CURDIR}../etc etc etc instead. > Still haven't got an answer. > > As soon as I get it - I'll commit the change. I was sure that I answered. Maybe it got lost. Never mind, I have changed all the broken makefile paths and fixed a bunch of other stuff. I'm working on booting from a DUX formatted disk right now and as soon as I have that working, I'll check it in, Makefiles and all. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 02:25:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA11774 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 02:25:03 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA11766 for ; Sat, 26 Sep 1998 02:25:00 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id KAA16321; Sat, 26 Sep 1998 10:24:58 +0100 (BST) Date: Sat, 26 Sep 1998 10:24:58 +0100 (BST) From: Doug Rabson To: Dima Ruban cc: alpha@FreeBSD.ORG Subject: Re: btw In-Reply-To: <199809260703.AAA25376@burka.rdy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 26 Sep 1998, Dima Ruban wrote: > Is there suck a thing as "ifdef" or something for ``mtree''? > I think, we should create /boot directory if we run alpha by default .... > > Any bright ideas? Maybe we need to add src/etc/mtree/BSD.root.alpha.dist? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 12:36:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09983 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 12:36:45 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from burka.rdy.com (burka.rdy.com [205.149.163.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09972 for ; Sat, 26 Sep 1998 12:36:43 -0700 (PDT) (envelope-from dima@burka.rdy.com) Received: (from dima@localhost) by burka.rdy.com (8.8.8/RDY&DVV) id MAA02463; Sat, 26 Sep 1998 12:36:16 -0700 (PDT) Message-Id: <199809261936.MAA02463@burka.rdy.com> Subject: Re: make In-Reply-To: <16280.906800974@time.cdrom.com> from "Jordan K. Hubbard" at "Sep 26, 1998 2: 9:34 am" To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Sat, 26 Sep 1998 12:36:16 -0700 (PDT) Cc: dima@best.net, dfr@nlsystems.com, jb@cimlogic.com.au, alpha@FreeBSD.ORG X-Class: Fast Organization: HackerDome Reply-To: dima@best.net From: dima@best.net (Dima Ruban) X-Mailer: ELM [version 2.4ME+ PL45 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Jordan K. Hubbard writes: > > You don't have to install an rsaref port. Makefile for alpha is _exactly_ > > the same as for my i386/current machine. > > But it works for i386 and doesn't work for alpha. > > That's how I came to the conclusion that make on alpha is slightly broken. > > (I didn't have a chance to look it at by myself) > > Naw, it's an ELF artifact - it fails the same way on an x86/ELF system > and it's pretty obvious as to why if you look at the way rsaref is > being built inside the ssh directory. Yeah, I see it. > Now what would make a LOT MORE sense would be to get the rsaref2 port > to work with ssh and simply make the ssh port depend on it, but when I > tried this I got an sshd (on the alpha) that was unable to generate > the random keys and would hang forever on a connection. I just fixed that for rsaref. Now we need to fix ssh to build with already installed rsaref library. > > - Jordan > -- dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 13:03:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA12139 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 13:03:57 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA12133 for ; Sat, 26 Sep 1998 13:03:55 -0700 (PDT) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id OAA06853 for ; Sat, 26 Sep 1998 14:03:48 -0600 (MDT) Message-Id: <199809262003.OAA06853@pluto.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: alpha@FreeBSD.ORG Subject: Possible problem with wait syscall handling... Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 26 Sep 1998 13:57:16 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ken started up a buildworld on our Miata last night, but perhaps 40 minutes later, the machine started locking up. Ping worked, but old network connections were frozen and new network connections blocked after the initial connection. When I came in today and dropped into DDB, I found that almost every process on the box was sleeping on "wait". I continued and broke back into DDB two or three more times and suddenly the machine un-froze. Very bizarre. Assuming I can reproduce this, anyone have any ideas where I should start poking around to determine the cause? -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 13:22:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14318 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 13:22:00 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14294 for ; Sat, 26 Sep 1998 13:21:58 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id QAA26945; Sat, 26 Sep 1998 16:21:40 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: "Justin T. Gibbs" cc: alpha@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Possible problem with wait syscall handling... In-reply-to: Your message of "Sat, 26 Sep 1998 13:57:16 MDT." <199809262003.OAA06853@pluto.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 26 Sep 1998 16:21:40 -0400 Message-ID: <26941.906841300@gjp.erols.com> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Justin T. Gibbs" wrote in message ID <199809262003.OAA06853@pluto.plutotech.com>: > Ken started up a buildworld on our Miata last night, but perhaps 40 > minutes later, the machine started locking up. Ping worked, but > old network connections were frozen and new network connections blocked > after the initial connection. When I came in today and dropped into DDB, > I found that almost every process on the box was sleeping on "wait". > I continued and broke back into DDB two or three more times and suddenly > the machine un-froze. Very bizarre. Assuming I can reproduce this, > anyone have any ideas where I should start poking around to determine > the cause? I've seen this on my alpha too. Blowing away the kernel compile tree and rebuilding the kernel seemed, along with all of userland, seemed to fix it for me. It only seemed to happen with parallel compiles. I gave Doug remote-gdb stack traces, but could never get remote-gdb to give me a ps list to see what things were blocking on :( Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 15:15:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24656 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 15:15:16 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24643 for ; Sat, 26 Sep 1998 15:15:13 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id PAA10419; Sat, 26 Sep 1998 15:15:04 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp01.primenet.com, id smtpd010412; Sat Sep 26 15:15:04 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id PAA23583; Sat, 26 Sep 1998 15:14:59 -0700 (MST) From: Terry Lambert Message-Id: <199809262214.PAA23583@usr04.primenet.com> Subject: Re: Possible problem with wait syscall handling... To: gibbs@plutotech.com (Justin T. Gibbs) Date: Sat, 26 Sep 1998 22:14:59 +0000 (GMT) Cc: alpha@FreeBSD.ORG In-Reply-To: <199809262003.OAA06853@pluto.plutotech.com> from "Justin T. Gibbs" at Sep 26, 98 01:57:16 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Ken started up a buildworld on our Miata last night, but perhaps 40 > minutes later, the machine started locking up. Ping worked, but > old network connections were frozen and new network connections blocked > after the initial connection. When I came in today and dropped into DDB, > I found that almost every process on the box was sleeping on "wait". > I continued and broke back into DDB two or three more times and suddenly > the machine un-froze. Very bizarre. Assuming I can reproduce this, > anyone have any ideas where I should start poking around to determine > the cause? Make sure you apply the recent VM patches; I believe ld uses mmap. There is also a "hack patch" from Matt Dillon to unset a bit if a bit combination that shouldn't have occurred occurs. This stabilizes things considerably. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 15:33:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA26329 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 15:33:16 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA26314 for ; Sat, 26 Sep 1998 15:33:10 -0700 (PDT) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id PAA22241; Sat, 26 Sep 1998 15:32:57 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp02.primenet.com, id smtpd022201; Sat Sep 26 15:32:50 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id PAA24181; Sat, 26 Sep 1998 15:32:45 -0700 (MST) From: Terry Lambert Message-Id: <199809262232.PAA24181@usr04.primenet.com> Subject: Re: one other thing... To: ken@plutotech.com (Kenneth D. Merry) Date: Sat, 26 Sep 1998 22:32:45 +0000 (GMT) Cc: freebsd-alpha@FreeBSD.ORG, gibbs@pluto.plutotech.com, imp@pluto.plutotech.com In-Reply-To: <199809260632.AAA09812@panzer.plutotech.com> from "Kenneth D. Merry" at Sep 26, 98 00:32:48 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Justin and I discovered that write caching was turned off on the 2gig > DEC OEM Barracudas that came with the Miata. Enabling write caching > improved performance a good bit. Be careful with this. This is intentional. Enabling caching will make the disk respond that it has committed the write to stable storage, when it fact it has not. If you do not get power fail notification of some kind, then there is no way to guarantee that your disk can be recovered to the state that it was supposed to be in (as opposed to merely being recovered to a consistent state). It is much better to turn *off* write caching, and use soft updates (which also, technically, does it's own write caching), rather than enabling it on the drive. An example of where this might screw the pooch for you is if you had a database and an index file, and you wrote the new record out, then wrote the modified index pointing to the new record instead of the old, and then lost power. The drive, in doing caching, may reorder these operations, such that the index is written out, but the new record is not. The normal way you guarantee ordering in an application is to fsync() the record file before writing the index. The fsync() is not supposed to return until the drive states the data has been committed to stable storage. With write caching on, the drive lies. PS: If you turn this on, you might as well mount the drive async, too, since we are only talking about "how the data can not be trusted", as opposed to "if the data can not be trusted" (it can't). If you get power fail notification, then you can use async and drive level write caching in relative saftey (ie: as safe as possible, given the possibility of the system crashing for some reason other than power failure). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 16:07:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA00209 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 16:07:25 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from pluto.plutotech.com (mail.plutotech.com [206.168.67.137]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA00204 for ; Sat, 26 Sep 1998 16:07:21 -0700 (PDT) (envelope-from gibbs@plutotech.com) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.7/8.8.5) with ESMTP id RAA14553; Sat, 26 Sep 1998 17:07:10 -0600 (MDT) Message-Id: <199809262307.RAA14553@pluto.plutotech.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Terry Lambert cc: ken@plutotech.com (Kenneth D. Merry), freebsd-alpha@FreeBSD.ORG, gibbs@plutotech.com, imp@plutotech.com Subject: Re: one other thing... In-reply-to: Your message of "Sat, 26 Sep 1998 22:32:45 -0000." <199809262232.PAA24181@usr04.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 26 Sep 1998 17:00:38 -0600 From: "Justin T. Gibbs" Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >> Justin and I discovered that write caching was turned off on the 2gig >> DEC OEM Barracudas that came with the Miata. Enabling write caching >> improved performance a good bit. > >Be careful with this. This is intentional. Enabling caching will >make the disk respond that it has committed the write to stable >storage, when it fact it has not. Really? I didn't know that the write cache had that effect. Fascinating. >If you do not get power fail notification of some kind, then there >is no way to guarantee that your disk can be recovered to the state >that it was supposed to be in (as opposed to merely being recovered >to a consistent state). Although I've never seen this happen on any of the disks I have here, yes, it could happen. The chances of it happening, due to the small size of the cache on most disks, the fact that most drives will commit the write to non-volatile storage as soon as possible, etc. make your chances pretty good. Certainly better than if you were running async mounts. >It is much better to turn *off* write caching, and use soft updates >(which also, technically, does it's own write caching), rather than >enabling it on the drive. My systems don't usually panic. Why? I don't use soft updates, yet. Soft Updates is not a replacement for the on disk cache. The two serve very different purposes. One reduces the number of writes to the device, the other reduces the number of writes committed by the device to the disk and reduces latency for any device writes that the OS believes are necessary. >The drive, in doing caching, may reorder these operations, such >that the index is written out, but the new record is not. This all depends on how you setup the drive. You can tell it not to re-order writes (FSW bit in the caching control page). If I was really worried, however, I'd have the box on a UPS. >The >normal way you guarantee ordering in an application is to fsync() >the record file before writing the index. The fsync() is not >supposed to return until the drive states the data has been >committed to stable storage. With write caching on, the drive lies. This is an interface issue, not a cache issue. If the kernel told the disk driver to sync the cache, it could. This is what the Synchronize Cache command is all about. >PS: If you turn this on, you might as well mount the drive async, >too, since we are only talking about "how the data can not be >trusted", as opposed to "if the data can not be trusted" (it can't). You are assuming that the OS will never panic. I don't use async mounts because I expect the OS to occasionally crash. I worry about power outages too, but they are something I can easily control with a UPS. >If you get power fail notification, then you can use async and >drive level write caching in relative saftey (ie: as safe as >possible, given the possibility of the system crashing for some >reason other than power failure). exactly. So why did you feel the need to sermonize again? Ken and I are well aware of how SCSI devices work and the effects of setting these parameters. We did write a SCSI layer, you know... -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 16:24:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02203 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 16:24:43 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA02175 for ; Sat, 26 Sep 1998 16:24:38 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id AAA20074; Sun, 27 Sep 1998 00:24:40 +0100 (BST) Date: Sun, 27 Sep 1998 00:24:40 +0100 (BST) From: Doug Rabson To: "Justin T. Gibbs" cc: alpha@FreeBSD.ORG Subject: Re: Possible problem with wait syscall handling... In-Reply-To: <199809262003.OAA06853@pluto.plutotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 26 Sep 1998, Justin T. Gibbs wrote: > Ken started up a buildworld on our Miata last night, but perhaps 40 > minutes later, the machine started locking up. Ping worked, but > old network connections were frozen and new network connections blocked > after the initial connection. When I came in today and dropped into DDB, > I found that almost every process on the box was sleeping on "wait". > I continued and broke back into DDB two or three more times and suddenly > the machine un-froze. Very bizarre. Assuming I can reproduce this, > anyone have any ideas where I should start poking around to determine > the cause? Thats an odd one. I haven't seen anything like that but it looks like a lost wakeup somewhere in vmio. I think Eivind just found one lurking in ufs_readwrite so maybe its fixable. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 16:25:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA02451 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 16:25:32 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA02426; Sat, 26 Sep 1998 16:25:23 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id AAA20102; Sun, 27 Sep 1998 00:25:34 +0100 (BST) Date: Sun, 27 Sep 1998 00:25:34 +0100 (BST) From: Doug Rabson To: Gary Palmer cc: "Justin T. Gibbs" , alpha@FreeBSD.ORG Subject: Re: Possible problem with wait syscall handling... In-Reply-To: <26941.906841300@gjp.erols.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 26 Sep 1998, Gary Palmer wrote: > "Justin T. Gibbs" wrote in message ID > <199809262003.OAA06853@pluto.plutotech.com>: > > Ken started up a buildworld on our Miata last night, but perhaps 40 > > minutes later, the machine started locking up. Ping worked, but > > old network connections were frozen and new network connections blocked > > after the initial connection. When I came in today and dropped into DDB, > > I found that almost every process on the box was sleeping on "wait". > > I continued and broke back into DDB two or three more times and suddenly > > the machine un-froze. Very bizarre. Assuming I can reproduce this, > > anyone have any ideas where I should start poking around to determine > > the cause? > > I've seen this on my alpha too. Blowing away the kernel compile tree and > rebuilding the kernel seemed, along with all of userland, seemed to fix it for > me. It only seemed to happen with parallel compiles. I gave Doug remote-gdb > stack traces, but could never get remote-gdb to give me a ps list to see what > things were blocking on :( I thought you were seeing memory fault panics in execve? Were you having the hang effect too? -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 26 16:33:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA03424 for freebsd-alpha-outgoing; Sat, 26 Sep 1998 16:33:52 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA03417 for ; Sat, 26 Sep 1998 16:33:50 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id TAA29461; Sat, 26 Sep 1998 19:33:26 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: Doug Rabson cc: "Justin T. Gibbs" , alpha@FreeBSD.ORG From: "Gary Palmer" Subject: Re: Possible problem with wait syscall handling... In-reply-to: Your message of "Sun, 27 Sep 1998 00:25:34 BST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 26 Sep 1998 19:33:25 -0400 Message-ID: <29457.906852805@gjp.erols.com> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson wrote in message ID : > I thought you were seeing memory fault panics in execve? Were you having > the hang effect too? Yep. A couple of times I couldn't get console back, and could ping the box, and get a connection accepted, but then nothing. Its POSSIBLE that the execve problem was causing this, because I didn't have remote gdb hooked up 'cos it had been stable for so long. Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message