From owner-freebsd-sparc Sun Jan 19 7:43:44 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B15137B449 for ; Sun, 19 Jan 2003 07:43:42 -0800 (PST) Received: from postbode02.zonnet.nl (postbode02.zonnet.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D31643FD9 for ; Sun, 19 Jan 2003 07:43:28 -0800 (PST) (envelope-from lijst10sec@hotmail.com) Received: (qmail 25769 invoked by uid 0); 19 Jan 2003 15:43:25 -0000 Received: from unknown (HELO smtp.com) ([62.59.141.29]) (envelope-sender ) by postbode02.zonnet.nl (qmail-ldap-1.03) with SMTP for ; 19 Jan 2003 15:43:25 -0000 Date: Sun, 19 Jan 2003 15:54:13 +0100 From: lijst10sec@hotmail.com Subject: First Seconds: 40+ dating To: lijst10sec@hotmail.com Reply-To: info@firstseconds.nl X-Bulkmail: 2.05 Message-Id: <20030119154329.9D31643FD9@mx1.FreeBSD.org> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org L.s. Onder single dertigers is "speeddating" een trend. Het snelle daten is een vrolijke en spannende manier om in korte tijd veel mensen te ontmoeten. First Seconds organiseert deze vorm van kennismaken voor alleenstaanden van begin 40 tot eind 50. In Hotel New York te Rotterdam op 23 februari zullen 25 dames 25 heren ontmoeten. Gedurende enkele minuten knopen zij een gesprekje aan, stellen wat vragen, beslissen of ze hun gespreksparter nog eens willen ontmoeten en gaan naar de volgende persoon. Aan het einde van de middag geeft men aan First Seconds door wie men leuk genoeg vindt voor een vervolg. Als er een 'match' is, ontvangen deelnemers de volgende dag het e-mailadres of telefoonnummer van de andere partij. Interesse in een vrolijk en spannend middagje uit? Bezoek onze site: http://www.firstseconds.nl Met vriendelijke groet, First Seconds To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 19 11:36:20 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8386937B401 for ; Sun, 19 Jan 2003 11:36:19 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1E3143E4A for ; Sun, 19 Jan 2003 11:36:18 -0800 (PST) (envelope-from jdp@polstra.com) Received: from strings.polstra.com (strings.polstra.com [206.213.73.20]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0JJaHu4029663 for ; Sun, 19 Jan 2003 11:36:17 -0800 (PST) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Sun, 19 Jan 2003 11:36:17 -0800 (PST) Organization: Polstra & Co., Inc. From: John Polstra To: sparc@freebsd.org Subject: New CVSup executable for sparc64 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I have built a new sparc64 executable for the CVSup client. You can find it here: http://people.freebsd.org/~jdp/cvsup-sparc64/ The bug which required you to add "@M3nopreemption" to the command line should be fixed now. Please try the new version without that special argument, and let me know if you see any problems with it. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 19 12:49:26 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A85E37B401 for ; Sun, 19 Jan 2003 12:49:25 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1961243F18 for ; Sun, 19 Jan 2003 12:49:24 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0JKnMu5030164 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 19 Jan 2003 12:49:23 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0JKnMwq053849; Sun, 19 Jan 2003 12:49:22 -0800 (PST) (envelope-from jdp) Date: Sun, 19 Jan 2003 12:49:22 -0800 (PST) Message-Id: <200301192049.h0JKnMwq053849@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Subject: Re: Sparc64 floating point questions In-Reply-To: <20030118223026.GJ70151@dragon.nuxi.com> References: <20030115003013.GA3536@crow.dom2ip.de> <200301150047.h0F0lNFc037477@vashon.polstra.com> <20030118223026.GJ70151@dragon.nuxi.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20030118223026.GJ70151@dragon.nuxi.com>, David O'Brien wrote: > On Tue, Jan 14, 2003 at 04:47:23PM -0800, John Polstra wrote: > > I don't know much about Sparc machines. But it sounds like there > > exist 64-bit Sparcs which are not UltraSPARCs. So I'd better do it > > the most general way. > > I'd have to stretch my brain to be sure about that (maybe the Fujitsu > HAL?). For FreeBSD's purposes, you should assume that all 64-bit Sparcs > are UltraSPARC's. That is certainly how I have the toolchain configured. I'll take your word for it. Like I said, I don't know anything about the various SPARC models. I think I'd still better stick with saving the %gN registers individually. Since the UltraSPARC-specific code that Thomas described works a cache line at a time, I suspect that the save area has to be 64-byte aligned. I don't currently have a way to ensure that inside the M3 runtime. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sun Jan 19 12:51:11 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04ED337B401 for ; Sun, 19 Jan 2003 12:51:10 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDF5E43E4A for ; Sun, 19 Jan 2003 12:51:08 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0JKp8u5030184 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sun, 19 Jan 2003 12:51:08 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0JKp8v9053859; Sun, 19 Jan 2003 12:51:08 -0800 (PST) (envelope-from jdp) Date: Sun, 19 Jan 2003 12:51:08 -0800 (PST) Message-Id: <200301192051.h0JKp8v9053859@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Subject: Re: Sparc64 floating point questions In-Reply-To: <200301192049.h0JKnMwq053849@vashon.polstra.com> References: <200301150047.h0F0lNFc037477@vashon.polstra.com> <20030118223026.GJ70151@dragon.nuxi.com> <200301192049.h0JKnMwq053849@vashon.polstra.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <200301192049.h0JKnMwq053849@vashon.polstra.com>, John Polstra wrote: > In article <20030118223026.GJ70151@dragon.nuxi.com>, > David O'Brien wrote: > > On Tue, Jan 14, 2003 at 04:47:23PM -0800, John Polstra wrote: > > > I don't know much about Sparc machines. But it sounds like there > > > exist 64-bit Sparcs which are not UltraSPARCs. So I'd better do it > > > the most general way. > > > > I'd have to stretch my brain to be sure about that (maybe the Fujitsu > > HAL?). For FreeBSD's purposes, you should assume that all 64-bit Sparcs > > are UltraSPARC's. That is certainly how I have the toolchain configured. > > I'll take your word for it. Like I said, I don't know anything about > the various SPARC models. > > I think I'd still better stick with saving the %gN registers I meant the %qN registers. > individually. Since the UltraSPARC-specific code that Thomas > described works a cache line at a time, I suspect that the save area > has to be 64-byte aligned. I don't currently have a way to ensure > that inside the M3 runtime. -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 0:16:58 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0EFB37B401 for ; Mon, 20 Jan 2003 00:16:56 -0800 (PST) Received: from deal.hayesbrook.kent.sch.uk (ip03.hayesbrook.adsl.gxn.net [195.147.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09B0443F75 for ; Mon, 20 Jan 2003 00:16:54 -0800 (PST) (envelope-from oggy@hayesbrook.kent.sch.uk) Received: from Hayesbrook-MTA by deal.hayesbrook.kent.sch.uk with Novell_GroupWise; Mon, 20 Jan 2003 08:16:52 +0000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0 Date: Mon, 20 Jan 2003 08:16:38 +0000 From: "Francis little" To: Cc: Subject: Re: boot from cd Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org ultra 5's are IDE so check the master/slave jumper on the drive or you = could try doing boot /pci@1f,0/pci@1,1/ide@3/sd@2,0 according to sun's = website this should be the device path to the cdrom. hope this helps... OGGY/.. >>> mikel king 01/18/03 05:32pm >>> Hey, where do you set that id? I have an ultra 5 I just inheritted that = I can't seem to get to boot from cd. OK it was me being stupid :o) i found out that the SCSI ID needs to be 6! OGGY/.. >>> "Francis little" 12/10/02 08:37am >>> Hello all on freebsd-sparc, I'm new to sun hardware and i'm trying to install freebsd on a ultra 60 so = =3D i burnt the 5.0-rc1 sparc64 iso to a cd but when i type boot cdrom at the = =3D openboot ok prompt i get device not ready. Any ideas??? or am i being =3D stupid :o) I've also tried a different cd drive.. Thanks OGGY/.. --=20 Cheers, Mikel King Optimized Computer Solutions, INC 39 West Fourteenth Street Second Floor New York, NY 10011 http://www.ocsny.com=20 +------------------------------------------+ You may like them. You will see. You may like them in a tree.=20 http://www.OpenOffice.org=20 http://www.Mozilla.org=20 +------------------------------------------+ GOAL: Microsoft free in 2003 +------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 1:52:24 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 562C137B401; Mon, 20 Jan 2003 01:52:23 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A59643F3F; Mon, 20 Jan 2003 01:52:18 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h0K9qBM19617; Mon, 20 Jan 2003 10:52:11 +0100 (MET) Date: Mon, 20 Jan 2003 10:52:11 +0100 (CET) From: Harti Brandt To: Thomas Moestl Cc: sparc@freebsd.org Subject: Re: Problem with iommu_dvmamap_create In-Reply-To: <20030117173303.GD304@crow.dom2ip.de> Message-ID: <20030120103814.X45050@beagle.fokus.gmd.de> References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 17 Jan 2003, Thomas Moestl wrote: TM>On Fri, 2003/01/17 at 18:19:59 +0100, Harti Brandt wrote: TM>> On Fri, 17 Jan 2003, Thomas Moestl wrote: TM>> TM>BUS_DMAMAP_NSEGS (and BUS_SPACE_MAXSIZE) is pretty arbitrary, the only TM>> TM>thing to limit is the stack space used by the segment array. In the TM>> TM>current setting, 272 bytes are used at most, which is less than 1.5 TM>> TM>minimal function frames. Values such as 64 should still be OK. TM>> TM>> Would it be possible if you change it just there? TM> TM>Yes, I'll do that with the next update. Thanks. Just while I could not sleep last night, it occured to me, that the code should work without even this change when the kernel is compiled with gcc. The code in iommu.c and bus_machdep.c use #ifdef __GNUC__ to use dynamic arrays on stack that have size ddmat->dt_nsegements size. So if I create a tag with a number of segments large enough, the arrays should be large enough. The only problem should be, that the size check around line 823 in iommu.c should also be conditionalized (for __GCC__ BUS_DMAMAP_NSEGS should not be checked.) Well, for some reason, that seems not to work. TM>So do I. Can you maybe put the full code of the driver in question TM>somewhere for download? Ok, I've put if_hatm.tar.bz into ftp://ftp.fokus.gmd.de/pub/cats/usr/harti/ngatm. Beware, this is my working code. The tag in question is the tx_tag and is created in if_hatm.c:1699. The DMAMAPs with this tag are create in if_hatm.c:465. They are used then in if_hatm_tx.c. The bug is triggered, however, even by only creating them. The first sign of the bug is that the card does not update the interrupt status words. These are dma-ed into the queue controlled by the irq_0 member of struct hatm_softc. I suppose the DMA goes somewhere else, because soon after that usually something bad happens to the system. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 7:15:54 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D55C37B405 for ; Mon, 20 Jan 2003 07:15:51 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 4CDF543F13 for ; Mon, 20 Jan 2003 07:15:50 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 12392 invoked by uid 0); 20 Jan 2003 15:15:48 -0000 Received: from p508E7032.dip.t-dialin.net (HELO galatea.local) (80.142.112.50) by mail.gmx.net (mp002-rz3) with SMTP; 20 Jan 2003 15:15:48 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.12 #1) id 18adfu-0000Hl-00; Mon, 20 Jan 2003 16:17:22 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0KFHCdJ001100; Mon, 20 Jan 2003 16:17:12 +0100 (CET) Date: Mon, 20 Jan 2003 16:17:12 +0100 From: Thomas Moestl To: Harti Brandt Cc: sparc@freebsd.org Subject: Re: Problem with iommu_dvmamap_create Message-ID: <20030120151712.GA240@crow.dom2ip.de> Mail-Followup-To: Harti Brandt , sparc@freebsd.org References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120103814.X45050@beagle.fokus.gmd.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 2003/01/20 at 10:52:11 +0100, Harti Brandt wrote: > On Fri, 17 Jan 2003, Thomas Moestl wrote: > > TM>On Fri, 2003/01/17 at 18:19:59 +0100, Harti Brandt wrote: > TM>> On Fri, 17 Jan 2003, Thomas Moestl wrote: > TM>> TM>BUS_DMAMAP_NSEGS (and BUS_SPACE_MAXSIZE) is pretty arbitrary, the only > TM>> TM>thing to limit is the stack space used by the segment array. In the > TM>> TM>current setting, 272 bytes are used at most, which is less than 1.5 > TM>> TM>minimal function frames. Values such as 64 should still be OK. > TM>> > TM>> Would it be possible if you change it just there? > TM> > TM>Yes, I'll do that with the next update. > > Thanks. > > Just while I could not sleep last night, it occured to me, that the code > should work without even this change when the kernel is compiled with gcc. > The code in iommu.c and bus_machdep.c use #ifdef __GNUC__ to use dynamic > arrays on stack that have size ddmat->dt_nsegements size. So if I create a > tag with a number of segments large enough, the arrays should be large > enough. The only problem should be, that the size check around line 823 in > iommu.c should also be conditionalized (for __GCC__ BUS_DMAMAP_NSEGS > should not be checked.) Well, for some reason, that seems not to work. Hmmm, how does it fail? > TM>So do I. Can you maybe put the full code of the driver in question > TM>somewhere for download? > > Ok, I've put if_hatm.tar.bz into > ftp://ftp.fokus.gmd.de/pub/cats/usr/harti/ngatm. Beware, this is my > working code. The tag in question is the tx_tag and is created in > if_hatm.c:1699. The DMAMAPs with this tag are create in if_hatm.c:465. > They are used then in if_hatm_tx.c. The bug is triggered, however, even by > only creating them. The first sign of the bug is that the card does not > update the interrupt status words. These are dma-ed into the queue > controlled by the irq_0 member of struct hatm_softc. I suppose the DMA > goes somewhere else, because soon after that usually something bad happens > to the system. From a quick inspection, I can see one class of problems (which might or might not be the cause for this specific behaviour, but will cause trouble in any case): you need to do endiannes conversions for memory that is accessed by DMA and interpreted or written by the adapter. Since it is a PCI card, it operates on little-endian data. While the bus_space_* functions know the access size and will automatically do endianess conversions for you (unless you use the stream variants of them), there is no way to automatically do this for DMA (unless we can guarantee that the access size is always the desired datum size, which we cannot, and even then it would be non-portable). This would e.g. explain a bogus interrupt status word: since it is written by the adapter, it needs to be converted to host byte order before it is interpreted; the following: while (q->head != tail) { status = q->irq[q->head]; q->irq[q->head] = HE_REGM_ITYPE_INVALID; would become: while (q->head != tail) { status = le32toh(q->irq[q->head]); q->irq[q->head] = htole32(HE_REGM_ITYPE_INVALID); Similarly, the fields in the various descriptor structures defined in if_hatmreg.h need to be converted (since it looks like the adapter DMAs them to find out target addresses etc.). This would cause wrong addresses to be used for DMA; it's not unlikely that those addresses would be outside of the target address space of the host bridge, so they could be interpreted as writes to other PCI devices (or cause bus errors if there is no such target device). - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 7:41: 4 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63C9837B401; Mon, 20 Jan 2003 07:41:01 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608DB43F18; Mon, 20 Jan 2003 07:40:59 -0800 (PST) (envelope-from brandt@fokus.gmd.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h0KFeuM07057; Mon, 20 Jan 2003 16:40:56 +0100 (MET) Date: Mon, 20 Jan 2003 16:40:56 +0100 (CET) From: Harti Brandt To: Thomas Moestl Cc: Harti Brandt , "" Subject: Re: Problem with iommu_dvmamap_create In-Reply-To: <20030120151712.GA240@crow.dom2ip.de> Message-ID: <20030120161832.K45050@beagle.fokus.gmd.de> References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> <20030120151712.GA240@crow.dom2ip.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 20 Jan 2003, Thomas Moestl wrote: TM>On Mon, 2003/01/20 at 10:52:11 +0100, Harti Brandt wrote: TM>> On Fri, 17 Jan 2003, Thomas Moestl wrote: TM>> TM>> Just while I could not sleep last night, it occured to me, that the code TM>> should work without even this change when the kernel is compiled with gcc. TM>> The code in iommu.c and bus_machdep.c use #ifdef __GNUC__ to use dynamic TM>> arrays on stack that have size ddmat->dt_nsegements size. So if I create a TM>> tag with a number of segments large enough, the arrays should be large TM>> enough. The only problem should be, that the size check around line 823 in TM>> iommu.c should also be conditionalized (for __GCC__ BUS_DMAMAP_NSEGS TM>> should not be checked.) Well, for some reason, that seems not to work. TM> TM>Hmmm, how does it fail? Trying to send a 60000 byte PDU gives me the following: hatm0: mem 0x100000-0x1fffff irq 20 at device 2.0 on pci1 hatm: hw.hatm0.rbps0.size=32 hatm: hw.hatm0.rbps0.thresh=8 hatm: hw.hatm0.rbpl0.size=32 hatm: hw.hatm0.rbpl0.thresh=8 hatm: hw.hatm0.rbps1.size=32 hatm: hw.hatm0.rbps1.thresh=8 hatm0: ForeRunnerHE 155, Rev. B, S/N 5705534, MAC=00:20:48:57:0f:3e iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. iommu_dvmamap_load_buffer: too many segments. seg[0]=tpd[1,0]=c02d8800/2048 seg[1]=tpd[1,1]=c02da800/2048 seg[2]=tpd[1,2]=c02dd000/2048 seg[3]=tpd[2,0]=c02de800/2048 seg[4]=tpd[2,1]=c02e0000/2048 seg[5]=tpd[2,2]=c02e3800/2048 seg[6]=tpd[3,0]=c02e5000/2048 seg[7]=tpd[3,1]=c02e6800/2048 seg[8]=tpd[3,2]=c02e8000/2048 seg[9]=tpd[4,0]=c02eb800/2048 seg[10]=tpd[4,1]=c02ed000/2048 seg[11]=tpd[4,2]=c02ee800/2048 seg[12]=tpd[5,0]=c02f0000/2048 seg[13]=tpd[5,1]=c0c67800/2048 seg[14]=tpd[5,2]=c0c69000/2048 seg[15]=tpd[6,0]=c0c6a800/2048 seg[16]=tpd[6,1]=c0c6c000/2048 seg[17]=tpd[6,2]=17f02cc0/1077936128 seg[18]=tpd[7,0]=1/3438465064 seg[19]=tpd[7,1]=ccf2d010/3438465048 seg[20]=tpd[7,2]=ccf2c711/3222760340 seg[21]=tpd[8,0]=f/0 seg[22]=tpd[8,1]=432a330/324612608 seg[23]=tpd[8,2]=1390b550/77178368 seg[24]=tpd[9,0]=16d20570/0 seg[25]=tpd[9,1]=ccf2da80/3223451912 seg[26]=tpd[9,2]=7def510/132025856 seg[27]=tpd[10,0]=0/0 seg[28]=tpd[10,1]=17f178c0/0 seg[29]=tpd[10,2]=0/1077936128 Starting at seg[17] the segments are simply wrong. The number of segments in the tag is 39 so this should work. (The numbers are the phys address and segment length). TM>>From a quick inspection, I can see one class of problems (which might TM>or might not be the cause for this specific behaviour, but will cause TM>trouble in any case): you need to do endiannes conversions for memory TM>that is accessed by DMA and interpreted or written by the TM>adapter. Since it is a PCI card, it operates on little-endian TM>data. While the bus_space_* functions know the access size and will [...] The card is desgined for operation in LE and BE systems. It has a register where you set bits which tell the card to swap the data during DMA. There is a function hatm_init_endianess, which sets the right bits. TM>This would e.g. explain a bogus interrupt status word: since it is TM>written by the adapter, it needs to be converted to host byte order TM>before it is interpreted; the following: TM> TM> while (q->head != tail) { TM> status = q->irq[q->head]; TM> q->irq[q->head] = HE_REGM_ITYPE_INVALID; TM> TM>would become: TM> TM> while (q->head != tail) { TM> status = le32toh(q->irq[q->head]); TM> q->irq[q->head] = htole32(HE_REGM_ITYPE_INVALID); This is really not the problem. When I create tx_tag with a maximum of 1 segment, the receive function of the card works (that means interrupt status is correctly processed, receive queues and buffers are correctly red and written). When I create tx_tag with a number of segments > 1 than only creating a couple of DMA maps with this tag (not using them at all) entirly confuses operation. But as I said already - with your patch applied it seems to work (albeit not very stable, but this may be my fault). harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 9:44:27 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF9ED37B401 for ; Mon, 20 Jan 2003 09:44:25 -0800 (PST) Received: from smtp.i-m-c.it (danex.i-m-c.it [213.198.155.21]) by mx1.FreeBSD.org (Postfix) with SMTP id 76AAB43F43 for ; Mon, 20 Jan 2003 09:44:24 -0800 (PST) (envelope-from franco@i-m-c.it) Received: (qmail 14692 invoked by uid 0); 20 Jan 2003 17:44:08 -0000 From: franco@i-m-c.it Date: Mon, 20 Jan 2003 18:44:07 +0100 To: freebsd-sparc@freebsd.org Subject: Netra X1 & Davicom ethernet Message-ID: <20030120174407.GA14340@i-m-c.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline User-Agent: Mutt/1.3.28i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I have installed the latest snapshot on my netra X1,=20 and, how i know, the if_dc driver is not working. My question is simple: when the if_dc drivers will work on sparc64? I'm ansious to work with my machine :) thanks and Regards, and good work! --=20 Franco (nextime) Lanza - i-m-c.it Network Admin tel: +39 339 8125940 tel: +39 347 3243736 Milano - Italy you can download my public key at: http://danex.i-m-c.it/nextime.asc || Key Servers Key fingerprint =3D E4EF A5B7 7B93 0499 2832 D375 F437 D880 83D5 E711 ----------------------------------- --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+LDVn9DfYgIPV5xERAjs6AKCBS1zWrcrWu0XVy0/sHPNl5THzywCgjxrV z7TV4+7juDAAunQIC9KU3zo= =jH1J -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 9:46:56 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEE2B37B4AD for ; Mon, 20 Jan 2003 09:46:53 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82E0D43EB2 for ; Mon, 20 Jan 2003 09:46:53 -0800 (PST) (envelope-from mux@freebsd.org) Received: by elvis.mu.org (Postfix, from userid 1920) id 5B487AE2DB; Mon, 20 Jan 2003 09:46:48 -0800 (PST) Date: Mon, 20 Jan 2003 09:46:48 -0800 From: Maxime Henrion To: franco@i-m-c.it Cc: freebsd-sparc@freebsd.org Subject: Re: Netra X1 & Davicom ethernet Message-ID: <20030120174648.GN16775@elvis.mu.org> References: <20030120174407.GA14340@i-m-c.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120174407.GA14340@i-m-c.it> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org franco@i-m-c.it wrote: > Hello, > I have installed the latest snapshot on my netra X1, > and, how i know, the if_dc driver is not working. > > My question is simple: when the if_dc drivers will work on sparc64? > > I'm ansious to work with my machine :) > > thanks and Regards, and good work! The dc(4) driver needs to be converted to the busdma API before working on sparc64. It's next on my TODO list and I'll take care of it once I'm finished with fxp(4). Once it's converted to busdma, it will need to be fixed WRT endianness issues and then it should just work. Cheers, Maxime To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 11: 9:16 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C806837B401 for ; Mon, 20 Jan 2003 11:09:15 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48E6743E4A for ; Mon, 20 Jan 2003 11:09:15 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.6/8.12.2) with ESMTP id h0KJ9EIx068384 for ; Mon, 20 Jan 2003 11:09:15 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.6/8.12.6/Submit) id h0KJ7xFm068338 for freebsd-sparc@freebsd.org; Mon, 20 Jan 2003 11:07:59 -0800 (PST) Date: Mon, 20 Jan 2003 11:07:59 -0800 From: "David O'Brien" To: freebsd-sparc@freebsd.org Subject: Re: Netra X1 & Davicom ethernet Message-ID: <20030120190759.GB68287@dragon.nuxi.com> Reply-To: obrien@freebsd.org References: <20030120174407.GA14340@i-m-c.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120174407.GA14340@i-m-c.it> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Jan 20, 2003 at 06:44:07PM +0100, franco@i-m-c.it wrote: > Hello, > I have installed the latest snapshot on my netra X1, > and, how i know, the if_dc driver is not working. ... > I'm ansious to work with my machine :) If you have an empty PCI slot, you can pick up a $5 Realtek card and use that. Jake got that working not too long ago. Tmm also committed changes to the 3c90x driver (xl) so that it will work on [some] sparc64 machines. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 11:28:22 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EF5B37B401 for ; Mon, 20 Jan 2003 11:28:19 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 72A4943EB2 for ; Mon, 20 Jan 2003 11:28:05 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 25377 invoked by uid 0); 20 Jan 2003 19:28:03 -0000 Received: from p508E7032.dip.t-dialin.net (HELO galatea.local) (80.142.112.50) by mail.gmx.net (mp009-rz3) with SMTP; 20 Jan 2003 19:28:03 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.12 #1) id 18ahcK-0000yK-00; Mon, 20 Jan 2003 20:29:56 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0KJTlsr003739; Mon, 20 Jan 2003 20:29:47 +0100 (CET) Date: Mon, 20 Jan 2003 20:29:46 +0100 From: Thomas Moestl To: Harti Brandt Cc: sparc@freebsd.org Subject: Re: Problem with iommu_dvmamap_create Message-ID: <20030120192946.GB240@crow.dom2ip.de> Mail-Followup-To: Harti Brandt , sparc@freebsd.org References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> <20030120151712.GA240@crow.dom2ip.de> <20030120161832.K45050@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030120161832.K45050@beagle.fokus.gmd.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 2003/01/20 at 16:40:56 +0100, Harti Brandt wrote: > On Mon, 20 Jan 2003, Thomas Moestl wrote: > > TM>On Mon, 2003/01/20 at 10:52:11 +0100, Harti Brandt wrote: > TM>> On Fri, 17 Jan 2003, Thomas Moestl wrote: > TM>> > TM>> Just while I could not sleep last night, it occured to me, that the code > TM>> should work without even this change when the kernel is compiled with gcc. > TM>> The code in iommu.c and bus_machdep.c use #ifdef __GNUC__ to use dynamic > TM>> arrays on stack that have size ddmat->dt_nsegements size. So if I create a > TM>> tag with a number of segments large enough, the arrays should be large > TM>> enough. The only problem should be, that the size check around line 823 in > TM>> iommu.c should also be conditionalized (for __GCC__ BUS_DMAMAP_NSEGS > TM>> should not be checked.) Well, for some reason, that seems not to work. > TM> > TM>Hmmm, how does it fail? > > Trying to send a 60000 byte PDU gives me the following: > > hatm0: mem 0x100000-0x1fffff irq 20 at device 2.0 on pci1 > hatm: hw.hatm0.rbps0.size=32 > hatm: hw.hatm0.rbps0.thresh=8 > hatm: hw.hatm0.rbpl0.size=32 > hatm: hw.hatm0.rbpl0.thresh=8 > hatm: hw.hatm0.rbps1.size=32 > hatm: hw.hatm0.rbps1.thresh=8 > hatm0: ForeRunnerHE 155, Rev. B, S/N 5705534, MAC=00:20:48:57:0f:3e > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > iommu_dvmamap_load_buffer: too many segments. > seg[0]=tpd[1,0]=c02d8800/2048 > seg[1]=tpd[1,1]=c02da800/2048 > seg[2]=tpd[1,2]=c02dd000/2048 > seg[3]=tpd[2,0]=c02de800/2048 > seg[4]=tpd[2,1]=c02e0000/2048 > seg[5]=tpd[2,2]=c02e3800/2048 > seg[6]=tpd[3,0]=c02e5000/2048 > seg[7]=tpd[3,1]=c02e6800/2048 > seg[8]=tpd[3,2]=c02e8000/2048 > seg[9]=tpd[4,0]=c02eb800/2048 > seg[10]=tpd[4,1]=c02ed000/2048 > seg[11]=tpd[4,2]=c02ee800/2048 > seg[12]=tpd[5,0]=c02f0000/2048 > seg[13]=tpd[5,1]=c0c67800/2048 > seg[14]=tpd[5,2]=c0c69000/2048 > seg[15]=tpd[6,0]=c0c6a800/2048 > seg[16]=tpd[6,1]=c0c6c000/2048 > seg[17]=tpd[6,2]=17f02cc0/1077936128 > seg[18]=tpd[7,0]=1/3438465064 > seg[19]=tpd[7,1]=ccf2d010/3438465048 > seg[20]=tpd[7,2]=ccf2c711/3222760340 > seg[21]=tpd[8,0]=f/0 > seg[22]=tpd[8,1]=432a330/324612608 > seg[23]=tpd[8,2]=1390b550/77178368 > seg[24]=tpd[9,0]=16d20570/0 > seg[25]=tpd[9,1]=ccf2da80/3223451912 > seg[26]=tpd[9,2]=7def510/132025856 > seg[27]=tpd[10,0]=0/0 > seg[28]=tpd[10,1]=17f178c0/0 > seg[29]=tpd[10,2]=0/1077936128 > > Starting at seg[17] the segments are simply wrong. The number of segments > in the tag is 39 so this should work. (The numbers are the phys address > and segment length). Hmmmm, looks like the printf() part of the size check is still intact, did you forget to remove the break statement maybe? I don't see anything else that would make it stop exactly at BUS_DMAMAP_NSEGS. > TM>>From a quick inspection, I can see one class of problems (which might > TM>or might not be the cause for this specific behaviour, but will cause > TM>trouble in any case): you need to do endiannes conversions for memory > TM>that is accessed by DMA and interpreted or written by the > TM>adapter. Since it is a PCI card, it operates on little-endian > TM>data. While the bus_space_* functions know the access size and will > [...] > > The card is desgined for operation in LE and BE systems. It has a register > where you set bits which tell the card to swap the data during DMA. There > is a function hatm_init_endianess, which sets the right bits. Ahhh, sorry, I didn't notice that. Nifty feature. > This is really not the problem. When I create tx_tag with a maximum of 1 > segment, the receive function of the card works (that means interrupt > status is correctly processed, receive queues and buffers are correctly > red and written). When I create tx_tag with a number of segments > 1 than > only creating a couple of DMA maps with this tag (not using them at all) > entirly confuses operation. > > But as I said already - with your patch applied it seems to work (albeit > not very stable, but this may be my fault). Yes, but I strongly suspect that the bug is only hidden by it, probably because it corrects the semantics of IOMMU_MAX_PRE_SEG, which effectively results in preallocation being reduced by one segment. I finally managed to reproduce similar behaviour, and think I might have a real fix. Can you please revert the previous patch (just to get a clean environment for reproducing the behaviour) and try again with just the attached patch applied? Thanks, - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 11:40:14 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F70837B401 for ; Mon, 20 Jan 2003 11:40:12 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id BD46443F1E for ; Mon, 20 Jan 2003 11:40:10 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 17557 invoked by uid 0); 20 Jan 2003 19:40:09 -0000 Received: from p508E7032.dip.t-dialin.net (HELO galatea.local) (80.142.112.50) by mail.gmx.net (mp008-rz3) with SMTP; 20 Jan 2003 19:40:09 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.12 #1) id 18ahns-00011x-00; Mon, 20 Jan 2003 20:41:52 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0KJfWJD003964; Mon, 20 Jan 2003 20:41:32 +0100 (CET) Date: Mon, 20 Jan 2003 20:41:32 +0100 From: Thomas Moestl To: Harti Brandt Cc: sparc@freebsd.org Subject: Re: Problem with iommu_dvmamap_create Message-ID: <20030120194132.GC240@crow.dom2ip.de> Mail-Followup-To: Harti Brandt , sparc@freebsd.org References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> <20030120151712.GA240@crow.dom2ip.de> <20030120161832.K45050@beagle.fokus.gmd.de> <20030120192946.GB240@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20030120192946.GB240@crow.dom2ip.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, 2003/01/20 at 20:29:46 +0100, Thomas Moestl wrote: > Yes, but I strongly suspect that the bug is only hidden by it, > probably because it corrects the semantics of IOMMU_MAX_PRE_SEG, which > effectively results in preallocation being reduced by one segment. I > finally managed to reproduce similar behaviour, and think I might have > a real fix. Can you please revert the previous patch (just to get a > clean environment for reproducing the behaviour) and try again with > just the attached patch applied? Bah, actually attaching it might help. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="iommu-sz.diff" Index: sparc64/iommu.c =================================================================== RCS file: /ncvs/src/sys/sparc64/sparc64/iommu.c,v retrieving revision 1.14 diff -u -r1.14 iommu.c --- sparc64/iommu.c 6 Jan 2003 21:59:54 -0000 1.14 +++ sparc64/iommu.c 20 Jan 2003 19:17:47 -0000 @@ -288,6 +288,7 @@ struct iommu_state *first; vm_size_t size; vm_offset_t offs; + u_int64_t end; int i; /* @@ -317,13 +318,13 @@ * First IOMMU to be registered; set up resource mamangement * and allocate TSB memory. */ + end = is->is_dvmabase + (size << (IO_PAGE_SHIFT - IOTTE_SHIFT)); iommu_dvma_rman.rm_type = RMAN_ARRAY; iommu_dvma_rman.rm_descr = "DVMA Memory"; if (rman_init(&iommu_dvma_rman) != 0 || rman_manage_region(&iommu_dvma_rman, (is->is_dvmabase >> IO_PAGE_SHIFT) + resvpg, - (is->is_dvmabase + (size << - (IO_PAGE_SHIFT - IOTTE_SHIFT))) >> IO_PAGE_SHIFT) != 0) + (end >> IO_PAGE_SHIFT) - 1) != 0) panic("iommu_init: can't initialize dvma rman"); /* * Allocate memory for I/O page tables. They need to be --vtzGhvizbBRQ85DL-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 13:52:44 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BC0337B401 for ; Mon, 20 Jan 2003 13:52:43 -0800 (PST) Received: from carrierdown.bribed.net (carrierdown.bribed.net [213.239.44.242]) by mx1.FreeBSD.org (Postfix) with SMTP id 349B943F6B for ; Mon, 20 Jan 2003 13:52:42 -0800 (PST) (envelope-from andy@bribed.net) Received: (qmail 11350 invoked by uid 0); 20 Jan 2003 21:51:48 -0000 Received: from unknown (HELO DARLA) (213.152.60.17) by carrierdown.bribed.net with SMTP; 20 Jan 2003 21:51:48 -0000 From: "Andy Coates" To: Subject: FreeBSD 5.0-RELEASE first install on an Ultra60 Date: Mon, 20 Jan 2003 21:52:08 -0000 Message-ID: <000f01c2c0ce$2df96430$020110ac@DARLA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, Hoping someone is wise enough on here to help me out. I'm having trouble installing the just released 5.0 for sparc64 on my Ultra60. The install prompts you to choose a terminal type, but all 5 simply don't have a the arrow-keys functionality, so I can't progress through the install. Anyone know a way of getting this to work? (without a serial cable, although if it does push the console out ala solaris then at least I can find a cable, but at the moment I'm stuck with a PC monitor). Thanks, Andy. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Mon Jan 20 23:25:15 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D52F37B401 for ; Mon, 20 Jan 2003 23:25:14 -0800 (PST) Received: from deal.hayesbrook.kent.sch.uk (ip03.hayesbrook.adsl.gxn.net [195.147.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 044ED43F43 for ; Mon, 20 Jan 2003 23:25:08 -0800 (PST) (envelope-from oggy@hayesbrook.kent.sch.uk) Received: from Hayesbrook-MTA by deal.hayesbrook.kent.sch.uk with Novell_GroupWise; Tue, 21 Jan 2003 07:25:07 +0000 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.0 Date: Tue, 21 Jan 2003 07:24:39 +0000 From: "Francis little" To: , Subject: Re: FreeBSD 5.0-RELEASE first install on an Ultra60 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Your best bet is with a serial cable... >>> "Andy Coates" 01/20/03 09:52pm >>> Hello, Hoping someone is wise enough on here to help me out. I'm having trouble installing the just released 5.0 for sparc64 on my Ultra60. The install prompts you to choose a terminal type, but all 5 simply don't have a the arrow-keys functionality, so I can't progress through the install. Anyone know a way of getting this to work? (without a serial cable, although if it does push the console out ala solaris then at least I can find a cable, but at the moment I'm stuck with a PC monitor). Thanks, Andy. To Unsubscribe: send mail to majordomo@FreeBSD.org=20 with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Jan 21 2:47: 0 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D112E37B401; Tue, 21 Jan 2003 02:46:58 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 641FB43E4A; Tue, 21 Jan 2003 02:46:57 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h0LAktY03720; Tue, 21 Jan 2003 11:46:55 +0100 (MET) Date: Tue, 21 Jan 2003 11:46:55 +0100 (CET) From: Harti Brandt To: Thomas Moestl Cc: Harti Brandt , "" Subject: Re: Problem with iommu_dvmamap_create In-Reply-To: <20030120192946.GB240@crow.dom2ip.de> Message-ID: <20030121114313.O80603@beagle.fokus.gmd.de> References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> <20030120151712.GA240@crow.dom2ip.de> <20030120161832.K45050@beagle.fokus.gmd.de> <20030120192946.GB240@crow.dom2ip.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 20 Jan 2003, Thomas Moestl wrote: TM>On Mon, 2003/01/20 at 16:40:56 +0100, Harti Brandt wrote: TM>> On Mon, 20 Jan 2003, Thomas Moestl wrote: TM>> TM>> seg[15]=tpd[6,0]=c0c6a800/2048 TM>> seg[16]=tpd[6,1]=c0c6c000/2048 TM>> seg[17]=tpd[6,2]=17f02cc0/1077936128 TM>> seg[18]=tpd[7,0]=1/3438465064 TM>> seg[19]=tpd[7,1]=ccf2d010/3438465048 TM>> seg[20]=tpd[7,2]=ccf2c711/3222760340 TM>> seg[21]=tpd[8,0]=f/0 TM>> seg[22]=tpd[8,1]=432a330/324612608 TM>> seg[23]=tpd[8,2]=1390b550/77178368 TM>> seg[24]=tpd[9,0]=16d20570/0 TM>> seg[25]=tpd[9,1]=ccf2da80/3223451912 TM>> seg[26]=tpd[9,2]=7def510/132025856 TM>> seg[27]=tpd[10,0]=0/0 TM>> seg[28]=tpd[10,1]=17f178c0/0 TM>> seg[29]=tpd[10,2]=0/1077936128 TM>> TM>> Starting at seg[17] the segments are simply wrong. The number of segments TM>> in the tag is 39 so this should work. (The numbers are the phys address TM>> and segment length). TM> TM>Hmmmm, looks like the printf() part of the size check is still intact, TM>did you forget to remove the break statement maybe? I don't see TM>anything else that would make it stop exactly at BUS_DMAMAP_NSEGS. With the attached patch it looks better - it removes the check for BUS_DMAMAP_NSEGS and also adds a break for promoting the error from load_buffer back to load_mbuf and exit the loop there in case of an error. (Sorry, the patch contains also the patch that you sent in your last mail). TM>Yes, but I strongly suspect that the bug is only hidden by it, TM>probably because it corrects the semantics of IOMMU_MAX_PRE_SEG, which TM>effectively results in preallocation being reduced by one segment. I TM>finally managed to reproduce similar behaviour, and think I might have TM>a real fix. Can you please revert the previous patch (just to get a TM>clean environment for reproducing the behaviour) and try again with TM>just the attached patch applied? That seems to work. I have reverted both the change to subr_rman.c and iommu.c (1.14) before applying your patch. Thanks, harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Jan 21 2:50:37 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3918F37B401; Tue, 21 Jan 2003 02:50:35 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2581443F1E; Tue, 21 Jan 2003 02:50:34 -0800 (PST) (envelope-from brandt@fokus.fraunhofer.de) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h0LAoWY04114; Tue, 21 Jan 2003 11:50:32 +0100 (MET) Date: Tue, 21 Jan 2003 11:50:32 +0100 (CET) From: Harti Brandt To: Thomas Moestl Cc: sparc@freebsd.org Subject: Re: Problem with iommu_dvmamap_create In-Reply-To: <20030121114313.O80603@beagle.fokus.gmd.de> Message-ID: <20030121114820.Q80603@beagle.fokus.gmd.de> References: <20030117151958.U715@beagle.fokus.gmd.de> <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> <20030120151712.GA240@crow.dom2ip.de> <20030120161832.K45050@beagle.fokus.gmd.de> <20030120192946.GB240@crow.dom2ip.de> <20030121114313.O80603@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-792081354-1043146232=:80603" Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-792081354-1043146232=:80603 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 21 Jan 2003, Harti Brandt wrote: HB>With the attached patch it looks better - it removes the check for HB>BUS_DMAMAP_NSEGS and also adds a break for promoting the error from HB>load_buffer back to load_mbuf and exit the loop there in case of an error. HB>(Sorry, the patch contains also the patch that you sent in your last HB>mail). I suppose, that pine might benefit of an option, that checks, that you really have attached something if it finds the word 'attach' in the mail :-) Here is the patch. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.gmd.de, brandt@fokus.fhg.de --0-792081354-1043146232=:80603 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="iommu-load.diff" Content-Transfer-Encoding: BASE64 Content-ID: <20030121115032.Q80603@beagle.fokus.gmd.de> Content-Description: Content-Disposition: attachment; filename="iommu-load.diff" SW5kZXg6IGlvbW11LmMNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBm aWxlOiAvaG9tZS9jdnMvZnJlZWJzZC9zcmMvc3lzL3NwYXJjNjQvc3BhcmM2 NC9pb21tdS5jLHYNCnJldHJpZXZpbmcgcmV2aXNpb24gMS4xNA0KZGlmZiAt YyAtcjEuMTQgaW9tbXUuYw0KKioqIGlvbW11LmMJNiBKYW4gMjAwMyAyMTo1 OTo1NCAtMDAwMAkxLjE0DQotLS0gaW9tbXUuYwkyMSBKYW4gMjAwMyAxMDo0 MzowMiAtMDAwMA0KKioqKioqKioqKioqKioqDQoqKiogMjg4LDI5MyAqKioq DQotLS0gMjg4LDI5NCAtLS0tDQogIAlzdHJ1Y3QgaW9tbXVfc3RhdGUgKmZp cnN0Ow0KICAJdm1fc2l6ZV90IHNpemU7DQogIAl2bV9vZmZzZXRfdCBvZmZz Ow0KKyAJdV9pbnQ2NF90IGVuZDsNCiAgCWludCBpOw0KICANCiAgCS8qDQoq KioqKioqKioqKioqKioNCioqKiAzMTcsMzI5ICoqKioNCiAgCQkgKiBGaXJz dCBJT01NVSB0byBiZSByZWdpc3RlcmVkOyBzZXQgdXAgcmVzb3VyY2UgbWFt YW5nZW1lbnQNCiAgCQkgKiBhbmQgYWxsb2NhdGUgVFNCIG1lbW9yeS4NCiAg CQkgKi8NCiAgCQlpb21tdV9kdm1hX3JtYW4ucm1fdHlwZSA9IFJNQU5fQVJS QVk7DQogIAkJaW9tbXVfZHZtYV9ybWFuLnJtX2Rlc2NyID0gIkRWTUEgTWVt b3J5IjsNCiAgCQlpZiAocm1hbl9pbml0KCZpb21tdV9kdm1hX3JtYW4pICE9 IDAgfHwNCiAgCQkgICAgcm1hbl9tYW5hZ2VfcmVnaW9uKCZpb21tdV9kdm1h X3JtYW4sDQogIAkJICAgIChpcy0+aXNfZHZtYWJhc2UgPj4gSU9fUEFHRV9T SElGVCkgKyByZXN2cGcsDQohIAkJICAgIChpcy0+aXNfZHZtYWJhc2UgKyAo c2l6ZSA8PA0KISAJCSAgICAgKElPX1BBR0VfU0hJRlQgLSBJT1RURV9TSElG VCkpKSA+PiBJT19QQUdFX1NISUZUKSAhPSAwKQ0KICAJCQlwYW5pYygiaW9t bXVfaW5pdDogY2FuJ3QgaW5pdGlhbGl6ZSBkdm1hIHJtYW4iKTsNCiAgCQkv Kg0KICAJCSAqIEFsbG9jYXRlIG1lbW9yeSBmb3IgSS9PIHBhZ2UgdGFibGVz LiAgVGhleSBuZWVkIHRvIGJlDQotLS0gMzE4LDMzMCAtLS0tDQogIAkJICog Rmlyc3QgSU9NTVUgdG8gYmUgcmVnaXN0ZXJlZDsgc2V0IHVwIHJlc291cmNl IG1hbWFuZ2VtZW50DQogIAkJICogYW5kIGFsbG9jYXRlIFRTQiBtZW1vcnku DQogIAkJICovDQorIAkJZW5kID0gaXMtPmlzX2R2bWFiYXNlICsgKHNpemUg PDwgKElPX1BBR0VfU0hJRlQgLSBJT1RURV9TSElGVCkpOw0KICAJCWlvbW11 X2R2bWFfcm1hbi5ybV90eXBlID0gUk1BTl9BUlJBWTsNCiAgCQlpb21tdV9k dm1hX3JtYW4ucm1fZGVzY3IgPSAiRFZNQSBNZW1vcnkiOw0KICAJCWlmIChy bWFuX2luaXQoJmlvbW11X2R2bWFfcm1hbikgIT0gMCB8fA0KICAJCSAgICBy bWFuX21hbmFnZV9yZWdpb24oJmlvbW11X2R2bWFfcm1hbiwNCiAgCQkgICAg KGlzLT5pc19kdm1hYmFzZSA+PiBJT19QQUdFX1NISUZUKSArIHJlc3ZwZywN CiEgCQkgICAgKGVuZCA+PiBJT19QQUdFX1NISUZUKSAtIDEpICE9IDApDQog IAkJCXBhbmljKCJpb21tdV9pbml0OiBjYW4ndCBpbml0aWFsaXplIGR2bWEg cm1hbiIpOw0KICAJCS8qDQogIAkJICogQWxsb2NhdGUgbWVtb3J5IGZvciBJ L08gcGFnZSB0YWJsZXMuICBUaGV5IG5lZWQgdG8gYmUNCioqKioqKioqKioq KioqKg0KKioqIDgxMSw4MTggKioqKg0KICAJCQkJICAgICJzbWFsbFxuIik7 DQogIAkJCX0NCiAgCQkJc2djbnQrKzsNCiEgCQkJaWYgKHNnY250ID49IGR0 LT5kdF9uc2VnbWVudHMgfHwNCiEgCQkJICAgIHNnY250ID49IEJVU19ETUFN QVBfTlNFR1MpIHsNCiAgCQkJCWVycm9yID0gRUZCSUc7DQogIAkJCQlicmVh azsNCiAgCQkJfQ0KLS0tIDgxMiw4MTggLS0tLQ0KICAJCQkJICAgICJzbWFs bFxuIik7DQogIAkJCX0NCiAgCQkJc2djbnQrKzsNCiEgCQkJaWYgKHNnY250 ID49IGR0LT5kdF9uc2VnbWVudHMpIHsNCiAgCQkJCWVycm9yID0gRUZCSUc7 DQogIAkJCQlicmVhazsNCiAgCQkJfQ0KKioqKioqKioqKioqKioqDQoqKiog ODMyLDgzOCAqKioqDQogIAkJZmlyc3RwZyA9IDA7DQogIAl9DQogIAkqc2Vn cCA9IHNnY250Ow0KISAJcmV0dXJuICgwKTsNCiAgDQogIH0NCiAgDQotLS0g ODMyLDgzOCAtLS0tDQogIAkJZmlyc3RwZyA9IDA7DQogIAl9DQogIAkqc2Vn cCA9IHNnY250Ow0KISAJcmV0dXJuIChlcnJvcik7DQogIA0KICB9DQogIA0K KioqKioqKioqKioqKioqDQoqKiogOTAwLDkwNSAqKioqDQotLS0gOTAwLDkw NyAtLS0tDQogIAkJCQljb250aW51ZTsNCiAgCQkJZXJyb3IgPSBpb21tdV9k dm1hbWFwX2xvYWRfYnVmZmVyKGR0LCBpcywgbWFwLCBzZ3MsDQogIAkJCSAg ICBtLT5tX2RhdGEsIG0tPm1fbGVuLCBOVUxMLCBmbGFncywgJm5zZWdzLCBm aXJzdCk7DQorIAkJCWlmIChlcnJvcikNCisgCQkJCWJyZWFrOw0KICAJCQlm aXJzdCA9IDA7DQogIAkJfQ0KICAJfSBlbHNlDQo= --0-792081354-1043146232=:80603-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Tue Jan 21 3:44:12 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FBB837B401 for ; Tue, 21 Jan 2003 03:44:10 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 2198343EB2 for ; Tue, 21 Jan 2003 03:44:07 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 25611 invoked by uid 0); 21 Jan 2003 11:44:05 -0000 Received: from p508E517F.dip.t-dialin.net (HELO galatea.local) (80.142.81.127) by mail.gmx.net (mp011-rz3) with SMTP; 21 Jan 2003 11:44:05 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.12 #1) id 18awqz-0000Ho-00; Tue, 21 Jan 2003 12:46:05 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0LBjiOE001099; Tue, 21 Jan 2003 12:45:44 +0100 (CET) Date: Tue, 21 Jan 2003 12:45:44 +0100 From: Thomas Moestl To: Harti Brandt Cc: Harti Brandt , sparc@freebsd.org Subject: Re: Problem with iommu_dvmamap_create Message-ID: <20030121114544.GA247@crow.dom2ip.de> Mail-Followup-To: Harti Brandt , Harti Brandt , sparc@freebsd.org References: <20030117160857.GB304@crow.dom2ip.de> <20030117171317.F44530@beagle.fokus.gmd.de> <20030117171111.GC304@crow.dom2ip.de> <20030117181111.R45050@beagle.fokus.gmd.de> <20030117173303.GD304@crow.dom2ip.de> <20030120103814.X45050@beagle.fokus.gmd.de> <20030120151712.GA240@crow.dom2ip.de> <20030120161832.K45050@beagle.fokus.gmd.de> <20030120192946.GB240@crow.dom2ip.de> <20030121114313.O80603@beagle.fokus.gmd.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030121114313.O80603@beagle.fokus.gmd.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 2003/01/21 at 11:46:55 +0100, Harti Brandt wrote: > On Mon, 20 Jan 2003, Thomas Moestl wrote: > TM>On Mon, 2003/01/20 at 16:40:56 +0100, Harti Brandt wrote: > TM>> Starting at seg[17] the segments are simply wrong. The number of segments > TM>> in the tag is 39 so this should work. (The numbers are the phys address > TM>> and segment length). > TM> > TM>Hmmmm, looks like the printf() part of the size check is still intact, > TM>did you forget to remove the break statement maybe? I don't see > TM>anything else that would make it stop exactly at BUS_DMAMAP_NSEGS. > > With the attached patch it looks better - it removes the check for > BUS_DMAMAP_NSEGS and also adds a break for promoting the error from > load_buffer back to load_mbuf and exit the loop there in case of an error. The latter should not be necessary, since the loop guard checks the return value. > TM>Yes, but I strongly suspect that the bug is only hidden by it, > TM>probably because it corrects the semantics of IOMMU_MAX_PRE_SEG, which > TM>effectively results in preallocation being reduced by one segment. I > TM>finally managed to reproduce similar behaviour, and think I might have > TM>a real fix. Can you please revert the previous patch (just to get a > TM>clean environment for reproducing the behaviour) and try again with > TM>just the attached patch applied? > > That seems to work. I have reverted both the change to subr_rman.c and > iommu.c (1.14) before applying your patch. Great! I'll commit the fixes soon. Thanks for testing! - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 1:40:11 2003 Delivered-To: freebsd-sparc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6B2F37B405 for ; Thu, 23 Jan 2003 01:40:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FFF743ED8 for ; Thu, 23 Jan 2003 01:40:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0N9e5NS014438 for ; Thu, 23 Jan 2003 01:40:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0N9e5vs014437; Thu, 23 Jan 2003 01:40:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33AAE37B401 for ; Thu, 23 Jan 2003 01:33:47 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1380E43F18 for ; Thu, 23 Jan 2003 01:33:46 -0800 (PST) (envelope-from hbb@catssrv.fokus.gmd.de) Received: from catssrv.fokus.gmd.de (catssrv [192.168.229.23]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h0N9Xdi22781 for ; Thu, 23 Jan 2003 10:33:39 +0100 (MET) Received: from catssrv.fokus.gmd.de (localhost [127.0.0.1]) by catssrv.fokus.gmd.de (8.12.6/8.12.6) with ESMTP id h0N9XcoC000685 for ; Thu, 23 Jan 2003 10:33:38 +0100 (CET) (envelope-from hbb@catssrv.fokus.gmd.de) Received: (from hbb@localhost) by catssrv.fokus.gmd.de (8.12.6/8.12.6/Submit) id h0N9Xc2S000684; Thu, 23 Jan 2003 10:33:38 +0100 (CET) (envelope-from hbb) Message-Id: <200301230933.h0N9Xc2S000684@catssrv.fokus.gmd.de> Date: Thu, 23 Jan 2003 10:33:38 +0100 (CET) From: Hartmut Brandt Reply-To: Hartmut Brandt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: sparc64/47389: kern.ipc.{maxsockbuf,sockbuf_waste_factor} broken on sparc Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47389 >Category: sparc64 >Synopsis: kern.ipc.{maxsockbuf,sockbuf_waste_factor} broken on sparc >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-sparc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 23 01:40:00 PST 2003 >Closed-Date: >Last-Modified: >Originator: Hartmut Brandt >Release: FreeBSD 5.0-CURRENT sparc64 >Organization: FhI Fokus >Environment: System: FreeBSD catssrv.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #8: Wed Jan 22 18:21:10 CET 2003 hbb@catssrv.fokus.gmd.de:/opt/obj/usr/src/sys/CATSSRV sparc64 >Description: kern.ipc.maxsockbuf and kern.ipc.sockbuf_waste_factor are returned as 0 by sysctl on sparc and cannot be changed. >How-To-Repeat: Execute: sysctl kern.ipc and see both variables to print as zero. >Fix: Apply the attached patch. The problem is, that the variable are declared as u_long, while the SYSCTL macros and the handler for sb_max uses them as ints. This will work on architectures where sizeof(u_long) == sizeof(int) or that are little endian. It will break on sparc. Index: sys/kern/uipc_socket2.c =================================================================== RCS file: /home/cvs/freebsd/src/sys/kern/uipc_socket2.c,v retrieving revision 1.107 diff -c -r1.107 uipc_socket2.c *** sys/kern/uipc_socket2.c 11 Jan 2003 07:51:52 -0000 1.107 --- sys/kern/uipc_socket2.c 23 Jan 2003 09:28:28 -0000 *************** *** 383,392 **** int error = 0; u_long old_sb_max = sb_max; ! error = SYSCTL_OUT(req, arg1, sizeof(int)); if (error || !req->newptr) return (error); ! error = SYSCTL_IN(req, arg1, sizeof(int)); if (error) return (error); if (sb_max < MSIZE + MCLBYTES) { --- 383,392 ---- int error = 0; u_long old_sb_max = sb_max; ! error = SYSCTL_OUT(req, arg1, sizeof(u_long)); if (error || !req->newptr) return (error); ! error = SYSCTL_IN(req, arg1, sizeof(u_long)); if (error) return (error); if (sb_max < MSIZE + MCLBYTES) { *************** *** 989,999 **** /* This takes the place of kern.maxsockbuf, which moved to kern.ipc. */ static int dummy; SYSCTL_INT(_kern, KERN_DUMMY, dummy, CTLFLAG_RW, &dummy, 0, ""); ! SYSCTL_OID(_kern_ipc, KIPC_MAXSOCKBUF, maxsockbuf, CTLTYPE_INT|CTLFLAG_RW, ! &sb_max, 0, sysctl_handle_sb_max, "I", "Maximum socket buffer size"); SYSCTL_INT(_kern_ipc, OID_AUTO, maxsockets, CTLFLAG_RD, &maxsockets, 0, "Maximum number of sockets avaliable"); ! SYSCTL_INT(_kern_ipc, KIPC_SOCKBUF_WASTE, sockbuf_waste_factor, CTLFLAG_RW, &sb_efficiency, 0, ""); /* --- 989,999 ---- /* This takes the place of kern.maxsockbuf, which moved to kern.ipc. */ static int dummy; SYSCTL_INT(_kern, KERN_DUMMY, dummy, CTLFLAG_RW, &dummy, 0, ""); ! SYSCTL_OID(_kern_ipc, KIPC_MAXSOCKBUF, maxsockbuf, CTLTYPE_ULONG|CTLFLAG_RW, ! &sb_max, 0, sysctl_handle_sb_max, "LU", "Maximum socket buffer size"); SYSCTL_INT(_kern_ipc, OID_AUTO, maxsockets, CTLFLAG_RD, &maxsockets, 0, "Maximum number of sockets avaliable"); ! SYSCTL_ULONG(_kern_ipc, KIPC_SOCKBUF_WASTE, sockbuf_waste_factor, CTLFLAG_RW, &sb_efficiency, 0, ""); /* >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 6:41: 3 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADFEF37B401; Thu, 23 Jan 2003 06:41:00 -0800 (PST) Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54E5343ED8; Thu, 23 Jan 2003 06:40:57 -0800 (PST) (envelope-from hbb@catssrv.fokus.gmd.de) Received: from catssrv.fokus.gmd.de (catssrv [192.168.229.23]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id h0NEeqi04874; Thu, 23 Jan 2003 15:40:52 +0100 (MET) Received: from catssrv.fokus.gmd.de (localhost [127.0.0.1]) by catssrv.fokus.gmd.de (8.12.6/8.12.6) with ESMTP id h0NEeqF2000640; Thu, 23 Jan 2003 15:40:52 +0100 (CET) (envelope-from hbb@catssrv.fokus.gmd.de) Received: (from root@localhost) by catssrv.fokus.gmd.de (8.12.6/8.12.6/Submit) id h0NEeqZ9000639; Thu, 23 Jan 2003 15:40:52 +0100 (CET) (envelope-from hbb) Date: Thu, 23 Jan 2003 15:40:52 +0100 (CET) Message-Id: <200301231440.h0NEeqZ9000639@catssrv.fokus.gmd.de> To: FreeBSD-gnats-submit@freebsd.org Subject: td_wmesg not cleared leads to panic when doing 'ps ax' From: Hartmut Brandt Reply-To: Hartmut Brandt Cc: sparc@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Submitter-Id: current-users >Originator: Hartmut Brandt >Organization: >Confidential: no >Synopsis: td_wmesg not cleared leads to panic when doing 'ps ax' >Severity: serious >Priority: high >Category: kern >Class: sw-bug >Release: FreeBSD 5.0-CURRENT sparc64 >Environment: System: FreeBSD catssrv.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #17: Thu Jan 23 15:26:01 CET 2003 hbb@catssrv.fokus.gmd.de:/opt/obj/usr/src/sys/CATSSRV sparc64 >Description: The field td_wmesg of struct thread holds a pointer to a constant string and is set, when a thread calls either msleep or waits on a condition variable. When the thread continues, this fields is not cleared. When the msleep or cv_wait was called from a module, that is unloaded, the pointer in td_wmesg appears to become invalid. When now someone retrieves the process table via sysctl, then the kernel handler for this sysctl may access the now invalid pointer. On the SPARC this leads to a panic. i386 probably simply uses an invalid string (at least I have not seen that panic there). >How-To-Repeat: On the sparc: 1. load an interface driver that uses cv_wait or msleep. 2. unload the driver via kldunload 3. ps ax leads to an immediate crash. >Fix: Apply the attached patch. This sets td_wmesg to NULL when an msleep exits either via the timeout or because of wakeup. It sets also td_wmesg to NULL when a thread is remove from the wait queue of a condition variable. Index: sys/kern/kern_condvar.c =================================================================== RCS file: /home/cvs/freebsd/src/sys/kern/kern_condvar.c,v retrieving revision 1.35 diff -c -r1.35 kern_condvar.c *** sys/kern/kern_condvar.c 28 Dec 2002 01:23:07 -0000 1.35 --- sys/kern/kern_condvar.c 23 Jan 2003 14:31:51 -0000 *************** *** 535,540 **** --- 535,541 ---- if ((cvp = td->td_wchan) != NULL && td->td_flags & TDF_CVWAITQ) { TAILQ_REMOVE(&cvp->cv_waitq, td, td_slpq); td->td_flags &= ~TDF_CVWAITQ; + td->td_wmesg = NULL; TD_CLR_ON_SLEEPQ(td); } } Index: sys/kern/kern_synch.c =================================================================== RCS file: /home/cvs/freebsd/src/sys/kern/kern_synch.c,v retrieving revision 1.209 diff -c -r1.209 kern_synch.c *** sys/kern/kern_synch.c 28 Dec 2002 01:23:07 -0000 1.209 --- sys/kern/kern_synch.c 23 Jan 2003 14:31:51 -0000 *************** *** 330,335 **** --- 330,336 ---- TAILQ_REMOVE(&slpque[LOOKUP(td->td_wchan)], td, td_slpq); TD_CLR_ON_SLEEPQ(td); td->td_flags |= TDF_TIMEOUT; + td->td_wmesg = NULL; } else { td->td_flags |= TDF_TIMOFAIL; } *************** *** 374,379 **** --- 375,381 ---- if (TD_ON_SLEEPQ(td)) { TAILQ_REMOVE(&slpque[LOOKUP(td->td_wchan)], td, td_slpq); TD_CLR_ON_SLEEPQ(td); + td->td_wmesg = NULL; } mtx_unlock_spin(&sched_lock); } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 16:31:31 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26C1F37B401 for ; Thu, 23 Jan 2003 16:31:30 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDE643F13 for ; Thu, 23 Jan 2003 16:31:29 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0O0VRu5053672 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 23 Jan 2003 16:31:28 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0O0VR3V059780; Thu, 23 Jan 2003 16:31:27 -0800 (PST) (envelope-from jdp) Date: Thu, 23 Jan 2003 16:31:27 -0800 (PST) Message-Id: <200301240031.h0O0VR3V059780@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: Subject: CVSup: nag nag nag Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Are any of you testing the new version of CVSup (cvsup-sparc64-2003-01-19.gz) I put up on January 19? Does it work reliably now without @M3nopreemption on the command line? That URL once again: http://people.freebsd.org/~jdp/cvsup-sparc64/ John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 17:10:49 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6EF5837B401 for ; Thu, 23 Jan 2003 17:10:48 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 11CEF43EB2 for ; Thu, 23 Jan 2003 17:10:47 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 27055 invoked by uid 0); 24 Jan 2003 01:10:45 -0000 Received: from p508E660E.dip.t-dialin.net (HELO galatea.local) (80.142.102.14) by mail.gmx.net (mp009-rz3) with SMTP; 24 Jan 2003 01:10:45 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.12 #1) id 18bsOr-0000N6-00; Fri, 24 Jan 2003 02:12:53 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0O1Cmvr001427; Fri, 24 Jan 2003 02:12:48 +0100 (CET) Date: Fri, 24 Jan 2003 02:12:48 +0100 From: Thomas Moestl To: John Polstra Cc: sparc@freebsd.org Subject: Re: CVSup: nag nag nag Message-ID: <20030124011248.GC276@crow.dom2ip.de> Mail-Followup-To: John Polstra , sparc@freebsd.org References: <200301240031.h0O0VR3V059780@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301240031.h0O0VR3V059780@vashon.polstra.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 2003/01/23 at 16:31:27 -0800, John Polstra wrote: > Are any of you testing the new version of CVSup > (cvsup-sparc64-2003-01-19.gz) I put up on January 19? Does it work > reliably now without @M3nopreemption on the command line? > > That URL once again: http://people.freebsd.org/~jdp/cvsup-sparc64/ I tested it when you first announced the new version by checking out most of the repo (doc, ports, src, www) from my local mirror, which worked without a hitch; sorry, should have replied earlier. Thanks again for making this work! - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 17:15: 9 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F137F37B401 for ; Thu, 23 Jan 2003 17:15:08 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 739FC43F1E for ; Thu, 23 Jan 2003 17:15:08 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id 4B03221563; Thu, 23 Jan 2003 17:10:10 -0800 (PST) Date: Thu, 23 Jan 2003 17:10:10 -0800 From: Will Andrews To: sparc@freebsd.org Cc: John Polstra Subject: Re: CVSup: nag nag nag Message-ID: <20030124011010.GA30015@procyon.firepipe.net> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> <20030124011248.GC276@crow.dom2ip.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124011248.GC276@crow.dom2ip.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 02:12:48AM +0100, Thomas Moestl wrote: > I tested it when you first announced the new version by checking out > most of the repo (doc, ports, src, www) from my local mirror, which > worked without a hitch; sorry, should have replied earlier. Thanks > again for making this work! Works great on my Blade 100 too. With your original version, John. Haven't tested the newer version. Thanks! Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 17:18:54 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4774337B401 for ; Thu, 23 Jan 2003 17:18:53 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75DE143F18 for ; Thu, 23 Jan 2003 17:18:52 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0O1Iiu5053848 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 23 Jan 2003 17:18:44 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0O1IixX059859; Thu, 23 Jan 2003 17:18:44 -0800 (PST) (envelope-from jdp) Date: Thu, 23 Jan 2003 17:18:44 -0800 (PST) Message-Id: <200301240118.h0O1IixX059859@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: will@csociety.org Subject: Re: CVSup: nag nag nag In-Reply-To: <20030124011010.GA30015@procyon.firepipe.net> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> <20030124011248.GC276@crow.dom2ip.de> <20030124011010.GA30015@procyon.firepipe.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20030124011010.GA30015@procyon.firepipe.net>, Will Andrews wrote: > > Works great on my Blade 100 too. With your original version, > John. Haven't tested the newer version. Thanks! Ah, but the original version will fail eventually at some random time, even though it may appear to work OK so far. That's why I'm nagging folks to get the new version and use it instead. I want to make sure that my "fix" really fixed it. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 17:32:47 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E1E637B401 for ; Thu, 23 Jan 2003 17:32:46 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1003043F13 for ; Thu, 23 Jan 2003 17:32:46 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id 1C0D821563; Thu, 23 Jan 2003 17:27:53 -0800 (PST) Date: Thu, 23 Jan 2003 17:27:53 -0800 From: Will Andrews To: John Polstra Cc: sparc@freebsd.org Subject: Re: CVSup: nag nag nag Message-ID: <20030124012753.GB30015@procyon.firepipe.net> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> <20030124011248.GC276@crow.dom2ip.de> <20030124011010.GA30015@procyon.firepipe.net> <200301240118.h0O1IixX059859@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301240118.h0O1IixX059859@vashon.polstra.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 05:18:44PM -0800, John Polstra wrote: > Ah, but the original version will fail eventually at some random > time, even though it may appear to work OK so far. That's why I'm > nagging folks to get the new version and use it instead. I want to > make sure that my "fix" really fixed it. I'll upgrade when you commit the port. ;-) Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 17:40:43 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 014AD37B401 for ; Thu, 23 Jan 2003 17:40:43 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A87343EB2 for ; Thu, 23 Jan 2003 17:40:42 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0O1edu5053961 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 23 Jan 2003 17:40:40 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0O1edut059924; Thu, 23 Jan 2003 17:40:39 -0800 (PST) (envelope-from jdp) Date: Thu, 23 Jan 2003 17:40:39 -0800 (PST) Message-Id: <200301240140.h0O1edut059924@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: will@csociety.org Subject: Re: CVSup: nag nag nag In-Reply-To: <20030124012753.GB30015@procyon.firepipe.net> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> <20030124011010.GA30015@procyon.firepipe.net> <200301240118.h0O1IixX059859@vashon.polstra.com> <20030124012753.GB30015@procyon.firepipe.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20030124012753.GB30015@procyon.firepipe.net>, Will Andrews wrote: > > I'll upgrade when you commit the port. ;-) I don't know what that winkie means, but I need it to be tested before then. The port could be delayed a while due to problems on another platform (Solaris) that I haven't solved yet. Please? I put quite a few full weekends into this. I'm just asking people to test it. I don't have a SPARC machine myself. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 18:42:18 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EEC737B401 for ; Thu, 23 Jan 2003 18:42:17 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8411B43EB2 for ; Thu, 23 Jan 2003 18:42:11 -0800 (PST) (envelope-from rooneg@electricjellyfish.net) Received: (qmail 78690 invoked from network); 24 Jan 2003 02:42:05 -0000 Received: from ool-182c87a2.dyn.optonline.net (HELO electricjellyfish.net) (24.44.135.162) by relay.pair.com with SMTP; 24 Jan 2003 02:42:05 -0000 X-pair-Authenticated: 24.44.135.162 Date: Thu, 23 Jan 2003 21:42:06 -0500 Subject: Re: CVSup: nag nag nag Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: sparc@freebsd.org To: John Polstra From: Garrett Rooney In-Reply-To: <200301240031.h0O0VR3V059780@vashon.polstra.com> Message-Id: <6D63087C-2F45-11D7-8A71-000393CE23F4@electricjellyfish.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thursday, January 23, 2003, at 07:31 PM, John Polstra wrote: > Are any of you testing the new version of CVSup > (cvsup-sparc64-2003-01-19.gz) I put up on January 19? Does it work > reliably now without @M3nopreemption on the command line? > > That URL once again: http://people.freebsd.org/~jdp/cvsup-sparc64/ > i was able to cvsup all of src and ports with it on my ultra 10 without any problems. -garrett To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 19:23:20 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2D4337B401 for ; Thu, 23 Jan 2003 19:23:19 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0F5F43E4A for ; Thu, 23 Jan 2003 19:23:19 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id D47DC214F9; Thu, 23 Jan 2003 19:18:25 -0800 (PST) Date: Thu, 23 Jan 2003 19:18:25 -0800 From: Will Andrews To: John Polstra Cc: sparc@freebsd.org Subject: Re: CVSup: nag nag nag Message-ID: <20030124031825.GE30015@procyon.firepipe.net> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> <20030124011010.GA30015@procyon.firepipe.net> <200301240118.h0O1IixX059859@vashon.polstra.com> <20030124012753.GB30015@procyon.firepipe.net> <200301240140.h0O1edut059924@vashon.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301240140.h0O1edut059924@vashon.polstra.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jan 23, 2003 at 05:40:39PM -0800, John Polstra wrote: > I don't know what that winkie means, but I need it to be tested before > then. The port could be delayed a while due to problems on another > platform (Solaris) that I haven't solved yet. > > Please? I put quite a few full weekends into this. I'm just asking > people to test it. I don't have a SPARC machine myself. Since you asked me so nicely, I did your bidding. As expected, the client works fine. Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 20: 5:37 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174B237B401 for ; Thu, 23 Jan 2003 20:05:36 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4770343EB2 for ; Thu, 23 Jan 2003 20:05:35 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h0O45CVG258530; Thu, 23 Jan 2003 23:05:12 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200301240031.h0O0VR3V059780@vashon.polstra.com> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> Date: Thu, 23 Jan 2003 23:05:11 -0500 To: John Polstra , sparc@FreeBSD.ORG From: Garance A Drosihn Subject: Re: CVSup: nag nag nag Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org At 4:31 PM -0800 1/23/03, John Polstra wrote: >Are any of you testing the new version of CVSup >(cvsup-sparc64-2003-01-19.gz) I put up on January 19? Does it work >reliably now without @M3nopreemption on the command line? > >That URL once again: http://people.freebsd.org/~jdp/cvsup-sparc64/ I've been using it since the day it came out, seems to be working fine. And for reasons unrelated to cvsup, I've been doing things like: rm -Rf /usr/ports/net cvsup ~/cvsup/all_ports and comparing the entire ports directory on my Sparc ultra-10 machine to the same tree on my dual-Athlon machine. [aside: The dual-athlon is faster...]. I've just been comparing for the existence of files and directories though, I haven't been doing an actual diff-type comparison of the contents of any files. I could do that too. As long as I'm replying to a question on cvsup, here's a question that I can't seem to find in the man pages. Is there a way I could say "do all the work of a normal CVSup run, and tell me what *would* change, but don't change anything"? Thanks a lot for working on this. I'd love to see cvsup more widely used, and on more hardware platforms so it would be more attractive to the openbsd and netbsd folks. and openafs. and samba. and... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 22:18: 7 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB9AD37B401 for ; Thu, 23 Jan 2003 22:18:06 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF78843F1E for ; Thu, 23 Jan 2003 22:18:05 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0O6I2u5055129 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 23 Jan 2003 22:18:03 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0O6I1if060170; Thu, 23 Jan 2003 22:18:01 -0800 (PST) (envelope-from jdp) Date: Thu, 23 Jan 2003 22:18:01 -0800 (PST) Message-Id: <200301240618.h0O6I1if060170@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: will@csociety.org Subject: Re: CVSup: nag nag nag In-Reply-To: <20030124031825.GE30015@procyon.firepipe.net> References: <200301240031.h0O0VR3V059780@vashon.polstra.com> <20030124012753.GB30015@procyon.firepipe.net> <200301240140.h0O1edut059924@vashon.polstra.com> <20030124031825.GE30015@procyon.firepipe.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <20030124031825.GE30015@procyon.firepipe.net>, Will Andrews wrote: > > Since you asked me so nicely, I did your bidding. As expected, > the client works fine. Thanks, much appreciated! If anything goes wrong, please let me know. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Thu Jan 23 22:23:21 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A557B37B401 for ; Thu, 23 Jan 2003 22:23:20 -0800 (PST) Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B6DA43F5B for ; Thu, 23 Jan 2003 22:23:17 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.12.3/8.12.3) with ESMTP id h0O6NDu5055149 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 23 Jan 2003 22:23:14 -0800 (PST) (envelope-from jdp@vashon.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.12.5/8.12.5/Submit) id h0O6NDmj060228; Thu, 23 Jan 2003 22:23:13 -0800 (PST) (envelope-from jdp) Date: Thu, 23 Jan 2003 22:23:13 -0800 (PST) Message-Id: <200301240623.h0O6NDmj060228@vashon.polstra.com> To: sparc@freebsd.org From: John Polstra Cc: drosih@rpi.edu Subject: Re: CVSup: nag nag nag In-Reply-To: References: <200301240031.h0O0VR3V059780@vashon.polstra.com> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article , Garance A Drosihn wrote: > I've been using it since the day it came out, seems to be working > fine. And for reasons unrelated to cvsup, I've been doing things > like: > rm -Rf /usr/ports/net > cvsup ~/cvsup/all_ports > and comparing the entire ports directory on my Sparc ultra-10 machine > to the same tree on my dual-Athlon machine. [aside: The dual-athlon > is faster...]. I've just been comparing for the existence of files > and directories though, I haven't been doing an actual diff-type > comparison of the contents of any files. I could do that too. I'm not too worried about that. I'm mostly interested in hearing about any unexpected runtime errors or crashes. > As long as I'm replying to a question on cvsup, here's a question > that I can't seem to find in the man pages. Is there a way I could > say "do all the work of a normal CVSup run, and tell me what *would* > change, but don't change anything"? Well ... sort of. You can add an extra argument to the command line which is the name of an empty directory. Whenever CVSup updates a file, it will put the new version into the appropriate place under that directory rather than where it really belongs. It's kind of like DESTDIR with make buildworld. I should warn you, though, that I have not really been trying to maintain this feature for the past few years. I'm not absolutely sure it works right any more. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 2:25: 1 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E70237B401 for ; Fri, 24 Jan 2003 02:24:59 -0800 (PST) Received: from cc-gw.1anetworks.net (cc-gw.1anetworks.net [193.243.179.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 68DA343F1E for ; Fri, 24 Jan 2003 02:24:58 -0800 (PST) (envelope-from brian@ukip.com) Received: from BRI (brian.1anetworks.net [212.36.98.200]) by parma.1anetworks.net (8.9.3+Sun/8.9.3) with SMTP id JAA01852 for ; Fri, 24 Jan 2003 09:11:01 GMT From: "Bri" To: Subject: any idea what I'm doing wrong Date: Fri, 24 Jan 2003 09:06:51 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org lighthouse# make cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcas t-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../con trib /dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -mcmodel =medlow -msoft-float -fno-common -ffreestanding -Werror ../../../sparc64/sparc6 4/locore.S cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcas t-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../con trib /dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -mcmodel =medlow -msoft-float -fno-common -ffreestanding -Werror ../../../sparc64/sparc6 4/exception.S ../../../sparc64/sparc64/exception.S: Assembler messages: ../../../sparc64/sparc64/exception.S:2181: Error: Architecture mismatch on "rd". ../../../sparc64/sparc64/exception.S:2181: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2248: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2248: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2268: Error: Architecture mismatch on "rd". ../../../sparc64/sparc64/exception.S:2268: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2448: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2448: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2771: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2771: (Requires v9a|v9b; requested archite cture is v9.) *** Error code 1 Stop in /builds/CURRENT/src/sys/sparc64/compile/GENERIC. the make depend went fine but the make breaks I originally try compiling my custom kernel but I get the same. these are also brand new sources. lighthouse# uname -a FreeBSD lighthouse.shacknet.nu 5.0-20021031-SNAP FreeBSD 5.0-20021031-SNAP #0: Fri Nov 1 01:06:53 GMT 2002 root@u60.locore.ca:/usr/obj/usr/src/sys/GENERIC sparc64 Bri, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 2:25:32 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 183F237B401 for ; Fri, 24 Jan 2003 02:25:30 -0800 (PST) Received: from cc-gw.1anetworks.net (cc-gw.1anetworks.net [193.243.179.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 2511943E4A for ; Fri, 24 Jan 2003 02:25:29 -0800 (PST) (envelope-from brian@ukip.com) Received: from BRI (brian.1anetworks.net [212.36.98.200]) by parma.1anetworks.net (8.9.3+Sun/8.9.3) with SMTP id JAA03498 for ; Fri, 24 Jan 2003 09:51:05 GMT From: "Bri" To: Subject: any idea what I'm doing wrong Date: Fri, 24 Jan 2003 09:46:55 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org lighthouse# make cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcas t-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../con trib /dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -mcmodel =medlow -msoft-float -fno-common -ffreestanding -Werror ../../../sparc64/sparc6 4/locore.S cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcas t-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../con trib /dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -mcmodel =medlow -msoft-float -fno-common -ffreestanding -Werror ../../../sparc64/sparc6 4/exception.S ../../../sparc64/sparc64/exception.S: Assembler messages: ../../../sparc64/sparc64/exception.S:2181: Error: Architecture mismatch on "rd". ../../../sparc64/sparc64/exception.S:2181: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2248: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2248: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2268: Error: Architecture mismatch on "rd". ../../../sparc64/sparc64/exception.S:2268: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2448: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2448: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2771: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2771: (Requires v9a|v9b; requested archite cture is v9.) *** Error code 1 Stop in /builds/CURRENT/src/sys/sparc64/compile/GENERIC. the make depend went fine but the make breaks I originally try compiling my custom kernel but I get the same. these are also brand new sources. lighthouse# uname -a FreeBSD lighthouse.shacknet.nu 5.0-20021031-SNAP FreeBSD 5.0-20021031-SNAP #0: Fri Nov 1 01:06:53 GMT 2002 root@u60.locore.ca:/usr/obj/usr/src/sys/GENERIC sparc64 Bri, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 3:13:37 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C031737B401 for ; Fri, 24 Jan 2003 03:13:35 -0800 (PST) Received: from parma.1anetworks.net (parma.1anetworks.net [212.36.98.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id A52CE43EB2 for ; Fri, 24 Jan 2003 03:13:34 -0800 (PST) (envelope-from brian@ukip.com) Received: from BRI (brian.1anetworks.net [212.36.98.200]) by parma.1anetworks.net (8.9.3+Sun/8.9.3) with SMTP id LAA08473 for ; Fri, 24 Jan 2003 11:13:32 GMT From: "Bri" To: "Freebsd-Sparc" Subject: any idea what I'm doing wrong Date: Fri, 24 Jan 2003 11:09:22 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org lighthouse# make cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcas t-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../con trib /dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -mcmodel =medlow -msoft-float -fno-common -ffreestanding -Werror ../../../sparc64/sparc6 4/locore.S cc -c -x assembler-with-cpp -DLOCORE -O -pipe -Wall -Wredundant-decls -Wnested- externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline - Wcas t-qual -ansi -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../con trib /dev/acpica -I../../../contrib/ipfilter -D_KERNEL -include opt_global.h -mcmodel =medlow -msoft-float -fno-common -ffreestanding -Werror ../../../sparc64/sparc6 4/exception.S ../../../sparc64/sparc64/exception.S: Assembler messages: ../../../sparc64/sparc64/exception.S:2181: Error: Architecture mismatch on "rd". ../../../sparc64/sparc64/exception.S:2181: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2248: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2248: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2268: Error: Architecture mismatch on "rd". ../../../sparc64/sparc64/exception.S:2268: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2448: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2448: (Requires v9a|v9b; requested archite cture is v9.) ../../../sparc64/sparc64/exception.S:2771: Error: Architecture mismatch on "wr". ../../../sparc64/sparc64/exception.S:2771: (Requires v9a|v9b; requested archite cture is v9.) *** Error code 1 Stop in /builds/CURRENT/src/sys/sparc64/compile/GENERIC. the make depend went fine but the make breaks I originally try compiling my custom kernel but I get the same. these are also brand new sources. lighthouse# uname -a FreeBSD lighthouse.shacknet.nu 5.0-20021031-SNAP FreeBSD 5.0-20021031-SNAP #0: Fri Nov 1 01:06:53 GMT 2002 root@u60.locore.ca:/usr/obj/usr/src/sys/GENERIC sparc64 Bri, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 3:45:16 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 781B237B401 for ; Fri, 24 Jan 2003 03:45:14 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 598E843ED8 for ; Fri, 24 Jan 2003 03:45:13 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 4096 invoked by uid 0); 24 Jan 2003 11:45:11 -0000 Received: from p508E6916.dip.t-dialin.net (HELO galatea.local) (80.142.105.22) by mail.gmx.net (mp022-rz3) with SMTP; 24 Jan 2003 11:45:11 -0000 Received: from localhost ([127.0.0.1] helo=galatea.local) by galatea.local with esmtp (Exim 4.12 #1) id 18c2Iq-0000KY-00; Fri, 24 Jan 2003 12:47:20 +0100 Received: (from tmm@localhost) by galatea.local (8.12.6/8.12.6/Submit) id h0OBlFeB001273; Fri, 24 Jan 2003 12:47:15 +0100 (CET) Date: Fri, 24 Jan 2003 12:47:15 +0100 From: Thomas Moestl To: Bri Cc: freebsd-sparc@freebsd.org Subject: Re: any idea what I'm doing wrong Message-ID: <20030124114714.GA234@crow.dom2ip.de> Mail-Followup-To: Bri , freebsd-sparc@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 2003/01/24 at 09:06:51 -0000, Bri wrote: > ./../../sparc64/sparc64/exception.S: Assembler messages: > ./../../sparc64/sparc64/exception.S:2181: Error: Architecture mismatch on > "rd". > ./../../sparc64/sparc64/exception.S:2181: (Requires v9a|v9b; requested > archite > cture is v9.) > ./../../sparc64/sparc64/exception.S:2248: Error: Architecture mismatch on > "wr". > ./../../sparc64/sparc64/exception.S:2248: (Requires v9a|v9b; requested > archite > cture is v9.) > ./../../sparc64/sparc64/exception.S:2268: Error: Architecture mismatch on > "rd". > ./../../sparc64/sparc64/exception.S:2268: (Requires v9a|v9b; requested > archite > cture is v9.) > ./../../sparc64/sparc64/exception.S:2448: Error: Architecture mismatch on > "wr". > ./../../sparc64/sparc64/exception.S:2448: (Requires v9a|v9b; requested > archite > cture is v9.) > ./../../sparc64/sparc64/exception.S:2771: Error: Architecture mismatch on > "wr". > ./../../sparc64/sparc64/exception.S:2771: (Requires v9a|v9b; requested > archite > cture is v9.) > *** Error code 1 Looks like you are trying to compile a recent kernel with a quite old gcc. The gcc build was not-so-recently changed so that the correct flags will be passed to the assembler. You will need to update your world. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 7:54:12 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1B0F37B401 for ; Fri, 24 Jan 2003 07:54:11 -0800 (PST) Received: from vpop-1.mc.mpls.visi.com (vpop-1.mc.mpls.visi.com [208.42.156.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72F2F43F5B for ; Fri, 24 Jan 2003 07:54:11 -0800 (PST) (envelope-from efk@bitstream.net) Received: from humphries (dhcp02.bisinc.net [216.243.134.16]) by vpop-1.mc.mpls.visi.com (Postfix) with ESMTP id 8C862263D1 for ; Fri, 24 Jan 2003 09:54:10 -0600 (CST) From: "Eric Humphries" To: Subject: Sparc64 Fbsd5.0 Date: Fri, 24 Jan 2003 09:54:10 -0600 Message-ID: <368D67626F94DC42890180F75B1E97C799949D@newman.bisinc.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 on it, but after I select which terminal type I want and proceed to the next terminal screen, my keyboard doesn't appear to be functioning properly. Keep in mind I've tried all 4 or 5 terminal types, some display just find, but others severely mangle the install menu. Regardless of which one I choose, I'm not able to arrow around or select anything other than install notes and exit for some reason. I've also tried installing via serial console, but the same happens. Any ideas / suggestions would be greatly appreciated. Thank You, Eric Humphries To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 13: 3: 6 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35FA537B401 for ; Fri, 24 Jan 2003 13:03:05 -0800 (PST) Received: from decstation.larkowski.net (decstation.larkowski.net [67.39.95.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C2B243E4A for ; Fri, 24 Jan 2003 13:03:04 -0800 (PST) (envelope-from peter@larkowski.net) Received: from larkowski.net (bonham.starbak.net [68.22.149.119]) by decstation.larkowski.net (8.11.6/8.11.6) with ESMTP id h0OL2w414588; Fri, 24 Jan 2003 16:02:59 -0500 (EST) Message-ID: <3E31AA00.7060903@larkowski.net> Date: Fri, 24 Jan 2003 16:02:56 -0500 From: Peter Larkowski User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Humphries Cc: sparc@freebsd.org Subject: Re: Sparc64 Fbsd5.0 References: <368D67626F94DC42890180F75B1E97C799949D@newman.bisinc.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Eric: Other people on the list have said that installing via the system console doesn't work right yet and to use the serial console. As far as that goes, I had a similar experience using minicom from mac os x's terminal application, but when I used minicom on a linux text console, it worked for one of the options (either vt100 or ansi, I can't remember). -p Eric Humphries wrote: > I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 on > it, but after I select which terminal type I want and proceed to the > next terminal screen, my keyboard doesn't appear to be functioning > properly. > > Keep in mind I've tried all 4 or 5 terminal types, some display just > find, but others severely mangle the install menu. Regardless of which > one I choose, I'm not able to arrow around or select anything other than > install notes and exit for some reason. I've also tried installing via > serial console, but the same happens. Any ideas / suggestions would be > greatly appreciated. > > Thank You, > Eric Humphries > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Peter Larkowski mailto: peter@larkowski.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 14:21:51 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 565EB37B401 for ; Fri, 24 Jan 2003 14:21:50 -0800 (PST) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 493E943F3F for ; Fri, 24 Jan 2003 14:21:46 -0800 (PST) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id BF6812159C; Fri, 24 Jan 2003 12:53:52 -0800 (PST) Date: Fri, 24 Jan 2003 12:53:52 -0800 From: Will Andrews To: Eric Humphries Cc: sparc@freebsd.org Subject: Re: Sparc64 Fbsd5.0 Message-ID: <20030124205352.GI30015@procyon.firepipe.net> References: <368D67626F94DC42890180F75B1E97C799949D@newman.bisinc.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <368D67626F94DC42890180F75B1E97C799949D@newman.bisinc.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 09:54:10AM -0600, Eric Humphries wrote: > I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 on > it, but after I select which terminal type I want and proceed to the > next terminal screen, my keyboard doesn't appear to be functioning > properly. You can't use the keyboard console (yet). You must use a serial console to install (and use) FreeBSD. Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Fri Jan 24 15: 1:21 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D3B137B401 for ; Fri, 24 Jan 2003 15:01:19 -0800 (PST) Received: from vpop-2.mc.mpls.visi.com (vpop-2.mc.mpls.visi.com [208.42.156.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1633343F18 for ; Fri, 24 Jan 2003 15:01:19 -0800 (PST) (envelope-from efk@bitstream.net) Received: from humphries (dhcp02.bisinc.net [216.243.134.16]) by vpop-2.mc.mpls.visi.com (Postfix) with ESMTP id 51565E4AA3 for ; Fri, 24 Jan 2003 17:01:18 -0600 (CST) From: "Eric Humphries" To: Subject: RE: [freebsd] Re: Sparc64 Fbsd5.0 Date: Fri, 24 Jan 2003 17:01:18 -0600 Message-ID: <368D67626F94DC42890180F75B1E97C79994AC@newman.bisinc.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <368D67626F94DC42890180F75B1E97C792AFC8@newman.bisinc.net> Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org That would make sense. What do you recommend I use for a term setting at the beginning of the install? Keep in mind, I just signed up for this list, and google didn't turn up much info. Sorry to kick a dead horse if this has already been addressed. Eric -----Original Message----- From: owner-freebsd-sparc@FreeBSD.ORG [mailto:owner-freebsd-sparc@FreeBSD.ORG] On Behalf Of Will Andrews Sent: Friday, January 24, 2003 2:54 PM To: Eric Humphries Cc: sparc@freebsd.org Subject: [freebsd] Re: Sparc64 Fbsd5.0 On Fri, Jan 24, 2003 at 09:54:10AM -0600, Eric Humphries wrote: > I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 > on it, but after I select which terminal type I want and proceed to > the next terminal screen, my keyboard doesn't appear to be functioning > properly. You can't use the keyboard console (yet). You must use a serial console to install (and use) FreeBSD. Regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 25 2: 8:48 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 019A037B401 for ; Sat, 25 Jan 2003 02:08:47 -0800 (PST) Received: from mail.ruhr.de (in-ruhr4.ruhr.de [212.23.134.2]) by mx1.FreeBSD.org (Postfix) with SMTP id A2CE143F43 for ; Sat, 25 Jan 2003 02:08:43 -0800 (PST) (envelope-from ue@nathan.ruhr.de) Received: (qmail 29073 invoked by uid 10); 25 Jan 2003 10:08:37 -0000 Received: from nathan.internal (localhost [127.0.0.1]) by nathan.internal (8.12.6/8.12.6) with ESMTP id h0PA4m0B066781; Sat, 25 Jan 2003 11:04:48 +0100 (CET) (envelope-from ue@nathan.internal) Received: (from ue@localhost) by nathan.internal (8.12.6/8.12.6/Submit) id h0PA4m6q066780; Sat, 25 Jan 2003 11:04:48 +0100 (CET) Date: Sat, 25 Jan 2003 11:04:48 +0100 From: Udo Erdelhoff To: freebsd-sparc@FreeBSD.ORG, freebsd-doc@FreeBSD.ORG Subject: Re: Sparc64 Fbsd5.0 Message-ID: <20030125100448.GA57904@nathan.ruhr.de> Mail-Followup-To: freebsd-sparc@FreeBSD.ORG, freebsd-doc@FreeBSD.ORG References: <368D67626F94DC42890180F75B1E97C799949D@newman.bisinc.net> <20030124205352.GI30015@procyon.firepipe.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124205352.GI30015@procyon.firepipe.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Jan 24, 2003 at 12:53:52PM -0800, Will Andrews wrote: > On Fri, Jan 24, 2003 at 09:54:10AM -0600, Eric Humphries wrote: > > I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 on > > it, but after I select which terminal type I want and proceed to the > > next terminal screen, my keyboard doesn't appear to be functioning > > properly. > > You can't use the keyboard console (yet). You must use a serial > console to install (and use) FreeBSD. I think we should mention this in the errata for 5.0 and the sparc installation instructions. Any objections to these patches: RCS file: /home/ncvs/src/release/doc/en_US.ISO8859-1/errata/article.sgml,v retrieving revision 1.24 diff -u -r1.24 article.sgml --- article.sgml 24 Jan 2003 04:18:30 -0000 1.24 +++ article.sgml 25 Jan 2003 10:02:15 -0000 @@ -274,5 +274,10 @@ &release.prev;, but was not documented in the release notes. + SPARC Installation + + Install &os; on an UltraSPARC system can only be done via a + serial console, it is not possible to use the keyboard + console. RCS file: /home/ncvs/src/release/doc/en_US.ISO8859-1/installation/common/install.sgml,v retrieving revision 1.19 diff -u -r1.19 install.sgml --- install.sgml 12 Jan 2003 18:27:03 -0000 1.19 +++ install.sgml 25 Jan 2003 10:04:14 -0000 @@ -114,6 +114,9 @@ &os;/sparc64. It is not possible to share a disk with another operating system at this time. + You cannot use the keyboard console to + install &os;/sparc64, use a serial console instead. + If you are /s/Udo -- Now they show you how detergents take out bloodstains; a pretty violent image there. I think if you've got a T-shirt with a bloodstain all over it, maybe laundry isn't your biggest problem. Maybe you should get rid of the body before you do the wash. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 25 3:16:46 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A5C8837B401; Sat, 25 Jan 2003 03:16:45 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-64-169-104-205.dsl.lsan03.pacbell.net [64.169.104.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94A2C43E4A; Sat, 25 Jan 2003 03:16:44 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 588BB66CFB; Sat, 25 Jan 2003 03:16:41 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 93AA316C7; Sat, 25 Jan 2003 03:16:40 -0800 (PST) Date: Sat, 25 Jan 2003 03:16:40 -0800 From: Kris Kennaway To: Udo Erdelhoff Cc: freebsd-sparc@FreeBSD.ORG, freebsd-doc@FreeBSD.ORG Subject: Re: Sparc64 Fbsd5.0 Message-ID: <20030125111640.GA12608@rot13.obsecurity.org> References: <368D67626F94DC42890180F75B1E97C799949D@newman.bisinc.net> <20030124205352.GI30015@procyon.firepipe.net> <20030125100448.GA57904@nathan.ruhr.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20030125100448.GA57904@nathan.ruhr.de> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jan 25, 2003 at 11:04:48AM +0100, Udo Erdelhoff wrote: > + SPARC Installation > + > + Install &os; on an UltraSPARC system can only be done via a > + serial console, it is not possible to use the keyboard > + console. It is possible, just not very pretty. Kris --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+MnIYWry0BWjoQKURAj3hAKDp9MWFYkLkuKpLwN1I2gUJmwqYTgCdH1Eb umQiy/vjiosZYuC+5QjUiqo= =QEx3 -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 25 9:40: 2 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 458DB37B401 for ; Sat, 25 Jan 2003 09:40:01 -0800 (PST) Received: from brainlink.com (mail.brainlink.com [66.228.0.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4931443F1E for ; Sat, 25 Jan 2003 09:40:00 -0800 (PST) (envelope-from anthonyv@brainlink.com) Received: from [24.189.7.159] (account anthonyv HELO brainlink.com) by brainlink.com (CommuniGate Pro SMTP 3.5.3) with ESMTP id 17998118 for sparc64@freebsd.org; Sat, 25 Jan 2003 12:39:54 -0500 Message-ID: <3E32CBE5.10701@brainlink.com> Date: Sat, 25 Jan 2003 12:39:49 -0500 From: Anthony Volodkin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20021224 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sparc64@freebsd.org Subject: Crash dump on a nfs-root'ed system Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Earlier today, my Ultra2 running 5.0-CURRENT from a bit more than a week ago crashed. At the time it just completed a successful make buildworld, and was idly running squid that was using a md device for it's cache. At the db> prompt i was able to get this: db> trace panic() at panic+0x134 uma_dbg_free() at uma_dbg_free+0x108 uma_zfree_arg() at uma_zfree_arg+0xf4 syncache_free() at syncache_free+0xa0 syncache_drop() at syncache_drop+0x148 syncache_timer() at syncache_timer+0x138 softclock() at softclock+0x190 ithread_loop() at ithread_loop+0x240 fork_exit() at fork_exit+0xdc fork_trampoline() at fork_trampoline+0xdc Now, the handbook suggests that I get a crash dump which usually ends up being saved to the swap partition. I'd like to know how to do that on a nfs-root'ed box (there really isnt a real swap partion). Also, John Polstra, I tried the new release of cvsup and i cvsupped ports and src-all without any probmlems at all! Great job! Sincerely, Anthony Volodkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 25 14:42: 2 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97A5137B401 for ; Sat, 25 Jan 2003 14:42:00 -0800 (PST) Received: from f04n07.cac.psu.edu (f04s07.cac.psu.edu [128.118.141.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id B58A843EB2 for ; Sat, 25 Jan 2003 14:41:59 -0800 (PST) (envelope-from nyg102@psu.edu) Received: from prostaff.homelinux.org (NYG102.rhhbg.psu.edu [66.71.91.54]) by f04n07.cac.psu.edu (8.9.3/8.9.3) with ESMTP id LAA62562; Sat, 25 Jan 2003 11:31:57 -0500 Date: Sat, 25 Jan 2003 11:29:55 -0500 (EST) From: Naresh Reddy X-X-Sender: nyg102@prostaff.homelinux.org To: Eric Humphries Cc: sparc@FreeBSD.ORG Subject: RE: [freebsd] Re: Sparc64 Fbsd5.0 In-Reply-To: <368D67626F94DC42890180F75B1E97C79994AC@newman.bisinc.net> Message-ID: References: <368D67626F94DC42890180F75B1E97C79994AC@newman.bisinc.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Eric, I selected the first one (ANSI I believe), and you can use your number for selections, (ex. '1' , '2', '3', etc..) goodluck Naresh On Fri, 24 Jan 2003, Eric Humphries wrote: > That would make sense. What do you recommend I use for a term setting at > the beginning of the install? > > Keep in mind, I just signed up for this list, and google didn't turn up > much info. Sorry to kick a dead horse if this has already been > addressed. > > Eric > > -----Original Message----- > From: owner-freebsd-sparc@FreeBSD.ORG > [mailto:owner-freebsd-sparc@FreeBSD.ORG] On Behalf Of Will Andrews > Sent: Friday, January 24, 2003 2:54 PM > To: Eric Humphries > Cc: sparc@freebsd.org > Subject: [freebsd] Re: Sparc64 Fbsd5.0 > > > On Fri, Jan 24, 2003 at 09:54:10AM -0600, Eric Humphries wrote: > > I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 > > on it, but after I select which terminal type I want and proceed to > > the next terminal screen, my keyboard doesn't appear to be functioning > > > properly. > > You can't use the keyboard console (yet). You must use a serial console > to install (and use) FreeBSD. > > Regards, > -- > wca > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 25 16: 3: 2 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADFFF37B401 for ; Sat, 25 Jan 2003 16:03:00 -0800 (PST) Received: from smtp.tor.pathcom.com (smtp.tor.pathcom.com [209.250.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CB7D43E4A for ; Sat, 25 Jan 2003 16:03:00 -0800 (PST) (envelope-from lwh@pathcom.com) Received: from [207.188.66.110] ([207.188.66.110]) by smtp.tor.pathcom.com (8.12.6/8.12.6) with ESMTP id h0Q02c8Q008452; Sat, 25 Jan 2003 19:02:44 -0500 (EST) Date: Sat, 25 Jan 2003 19:02:28 -0500 (EST) From: lwh@pathcom.com Reply-To: lwh@pathcom.com To: Naresh Reddy Cc: Eric Humphries , "" Subject: RE: [freebsd] Re: Sparc64 Fbsd5.0 In-Reply-To: Message-ID: References: <368D67626F94DC42890180F75B1E97C79994AC@newman.bisinc.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I tried this on a U1 and Ultra AXi (@U30), it worked ok on the U30, looked like crap but tab etc worked and I could use sysinstall OK. I just tried all the choices on a U1 and none worked enough to do anything but exit :( On Sat, 25 Jan 2003, Naresh Reddy wrote: > Eric, I selected the first one (ANSI I believe), and you can use your > number for selections, (ex. '1' , '2', '3', etc..) > > goodluck > Naresh > > > > On Fri, 24 Jan 2003, Eric Humphries wrote: > > > That would make sense. What do you recommend I use for a term setting at > > the beginning of the install? > > > > Keep in mind, I just signed up for this list, and google didn't turn up > > much info. Sorry to kick a dead horse if this has already been > > addressed. > > > > Eric > > > > -----Original Message----- > > From: owner-freebsd-sparc@FreeBSD.ORG > > [mailto:owner-freebsd-sparc@FreeBSD.ORG] On Behalf Of Will Andrews > > Sent: Friday, January 24, 2003 2:54 PM > > To: Eric Humphries > > Cc: sparc@freebsd.org > > Subject: [freebsd] Re: Sparc64 Fbsd5.0 > > > > > > On Fri, Jan 24, 2003 at 09:54:10AM -0600, Eric Humphries wrote: > > > I recently purchased a Sun Ultra 30. I would like to run FreeBSD 5.0 > > > on it, but after I select which terminal type I want and proceed to > > > the next terminal screen, my keyboard doesn't appear to be functioning > > > > > properly. > > > > You can't use the keyboard console (yet). You must use a serial console > > to install (and use) FreeBSD. > > > > Regards, > > -- > > wca > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-sparc" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-sparc" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-sparc" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message From owner-freebsd-sparc Sat Jan 25 21: 0:10 2003 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A5D837B401; Sat, 25 Jan 2003 21:00:09 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81F0143F18; Sat, 25 Jan 2003 21:00:08 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.6/8.12.6) with ESMTP id h0Q52Hjb079463; Sun, 26 Jan 2003 00:02:17 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.6/8.12.6/Submit) id h0Q52Hop079462; Sun, 26 Jan 2003 00:02:17 -0500 (EST) Date: Sun, 26 Jan 2003 00:02:17 -0500 From: Jake Burkholder To: "David O'Brien" Cc: sparc64@FreeBSD.ORG Subject: Re: makeworld time chest beating Message-ID: <20030126000217.D76904@locore.ca> References: <20021231015948.GA92832@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021231015948.GA92832@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Mon, Dec 30, 2002 at 05:59:48PM -0800 Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Apparently, On Mon, Dec 30, 2002 at 05:59:48PM -0800, David O'Brien said words to the effect of; > I'm courious what the best 'make world' time is on Sparc64. > > I just got 2h16m15.92s real on an E250 w/2x400 MHz, 512MB core, with > /usr/obj on a 4-disk UW-SCSI CCD. RELENG_5_0 branch, GENERIC kernel > (minus WITNESS), and no /etc/make.conf. Note, MALLOC_OPTIONS=AJ is still > the default. Ok, I'll bite. E450, 4x400mhz, 1024MB core, 1 9G UW-SCSI disk, stock 5.0-RELEASE, 1h30m41.09s real. 5441.1 real 10107.87 user 3201.04 sys Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message