From owner-freebsd-sparc64@FreeBSD.ORG Mon Sep 19 00:41:17 2005 Return-Path: X-Original-To: sparc64@FreeBSD.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF84A16A41F for ; Mon, 19 Sep 2005 00:41:17 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fileserver.fields.utoronto.ca (fileserver.fields.utoronto.ca [128.100.216.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAC1143D46 for ; Mon, 19 Sep 2005 00:41:14 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from fields.fields.utoronto.ca (fields.localdomain [192.168.216.11]) by fileserver.fields.utoronto.ca (8.12.8/8.12.8/Fields 6.0) with ESMTP id j8J0fD0r003876 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Sep 2005 20:41:13 -0400 Received: from obsecurity.dyndns.org (localhost.localdomain [127.0.0.1]) by fields.fields.utoronto.ca (8.12.8/8.12.8/Fields WS 6.0) with ESMTP id j8J0fD6P017269 for ; Sun, 18 Sep 2005 20:41:13 -0400 Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 58C5A511FD; Sun, 18 Sep 2005 20:41:12 -0400 (EDT) Date: Sun, 18 Sep 2005 20:41:12 -0400 From: Kris Kennaway To: Kris Kennaway Message-ID: <20050919004112.GA83991@xor.obsecurity.org> References: <20050915010548.GA73597@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20050915010548.GA73597@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i Cc: sparc64@FreeBSD.org Subject: Re: [kris@obsecurity.org: Re: panic: uma_small_alloc: free page still has mappings!] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 00:41:17 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 14, 2005 at 09:05:48PM -0400, Kris Kennaway wrote: > This is apparently a sparc-specific problem - can someone please look > into it? Cores are available. This is now my #1 panic on sparc (every couple of days). Is anyone able to look into it? Kris >=20 > Kris >=20 > ----- Forwarded message from Kris Kennaway ----- >=20 > Date: Wed, 14 Sep 2005 16:59:48 -0400 > From: Kris Kennaway > To: Kris Kennaway > Cc: current@FreeBSD.org > Subject: Re: panic: uma_small_alloc: free page still has mappings! > In-Reply-To: <20050910201924.GA96706@xor.obsecurity.org> > User-Agent: Mutt/1.4.2.1i >=20 > On Sat, Sep 10, 2005 at 04:19:25PM -0400, Kris Kennaway wrote: > > sparc64 SMP machine running 7.0 panicked a few minutes after adding > > load with: > >=20 > > panic: uma_small_alloc: free page still has mappings! > > cpuid =3D 0 > > KDB: enter: panic > > [thread pid 9124 tid 100318 ] > > Stopped at kdb_enter+0x3c: ta %xcc, 1 > > db> wh > > Tracing pid 9124 tid 100318 td 0xfffff800f6fb2720 > > panic() at panic+0x164 > > uma_small_alloc() at uma_small_alloc+0x9c > > slab_zalloc() at slab_zalloc+0x98 > > uma_zone_slab() at uma_zone_slab+0x12c > > uma_zalloc_bucket() at uma_zalloc_bucket+0x16c > > uma_zalloc_arg() at uma_zalloc_arg+0x374 > > malloc() at malloc+0x114 > > allocbuf() at allocbuf+0x208 > > getblk() at getblk+0x598 > > breadn() at breadn+0x58 > > bread() at bread+0x20 > > ffs_blkatoff() at ffs_blkatoff+0x64 > > ufs_direnter() at ufs_direnter+0x444 > > ufs_makeinode() at ufs_makeinode+0x460 > > ufs_create() at ufs_create+0x30 > > VOP_CREATE_APV() at VOP_CREATE_APV+0xb4 > > vn_open_cred() at vn_open_cred+0x188 > > vn_open() at vn_open+0x18 > > kern_open() at kern_open+0x8c > > open() at open+0x14 > > syscall() at syscall+0x2dc > > -- syscall (5, FreeBSD ELF64, open) %o7=3D0x4034d5b8 -- >=20 > Another one: >=20 > panic: uma_small_alloc: free page still has mappings! > db> wh > Tracing pid 19131 tid 100434 td 0xfffff800cf40a000 > panic() at panic+0x164 > uma_small_alloc() at uma_small_alloc+0x9c > slab_zalloc() at slab_zalloc+0x98 > uma_zone_slab() at uma_zone_slab+0x12c > uma_zalloc_bucket() at uma_zalloc_bucket+0x16c > uma_zalloc_arg() at uma_zalloc_arg+0x374 > malloc() at malloc+0x114 > sigacts_alloc() at sigacts_alloc+0x10 > fork1() at fork1+0x5dc > fork() at fork+0x10 > syscall() at syscall+0x2dc > -- syscall (2, FreeBSD ELF64, fork) %o7=3D0x40481bc8 -- >=20 > Kris >=20 >=20 >=20 >=20 > ----- End forwarded message ----- --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDLgknWry0BWjoQKURAsFXAJsHgAVAv9NfevEcqKUiQjuWvnTLhACeK5Z4 YhnbE+HMuMDkLepi2Eew860= =jbS7 -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-sparc64@FreeBSD.ORG Mon Sep 19 11:02:23 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0648D16A426 for ; Mon, 19 Sep 2005 11:02:23 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C62B543D46 for ; Mon, 19 Sep 2005 11:02:22 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8JB2M45018228 for ; Mon, 19 Sep 2005 11:02:22 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8JB2LUe018222 for freebsd-sparc64@freebsd.org; Mon, 19 Sep 2005 11:02:21 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Sep 2005 11:02:21 GMT Message-Id: <200509191102.j8JB2LUe018222@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2005 11:02:23 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/09/14] sparc64/71729sparc64 printf in kernel thread causes panic on S o [2004/10/21] sparc64/72962sparc64 [sysinstall] Sysinstall panics on sparc64 o [2005/02/12] sparc64/77417sparc64 [panic] with high usage of cpu when lan u f [2005/04/27] sparc64/80410sparc64 netgraph is causing crash with mpd on spa o [2005/05/11] sparc64/80890sparc64 [panic] kmem_malloc(73728): kmem_map too o [2005/06/23] sparc64/82569sparc64 USB mass storage plug/unplug causes syste 6 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2004/10/22] sparc64/72998sparc64 [patch] set_mcontext() change syscalls pa o [2005/06/26] sparc64/82681sparc64 [if_dc] dc state messages 2 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Tue Sep 20 05:00:39 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CA5416A41F for ; Tue, 20 Sep 2005 05:00:39 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC11443D48 for ; Tue, 20 Sep 2005 05:00:38 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1002905nzf for ; Mon, 19 Sep 2005 22:00:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=pMVbKPE7CPFC2HuLoHsN9v0uFM68e69pX88x0OK/EDi8uTkaqE4F2HaIqaLHNIy94GKjlF0ylIY0Yp3mrK8qwoMazmZj0yTNVQoL/Q2iulSAvDwnba9jF2dzwq3GuDYn3phNKiFko9FTXa1Hgt2A2bhI0+S3taj+EVh9ruNEvZU= Received: by 10.36.56.3 with SMTP id e3mr3300422nza; Mon, 19 Sep 2005 22:00:37 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.211]) by mx.gmail.com with ESMTP id 34sm6838760nza.2005.09.19.22.00.35; Mon, 19 Sep 2005 22:00:37 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j8K50KEh002910 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Sep 2005 14:00:20 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j8K50AO9002908; Tue, 20 Sep 2005 14:00:10 +0900 (KST) (envelope-from yongari@gmail.com) Date: Tue, 20 Sep 2005 14:00:10 +0900 From: Pyun YongHyeon To: "R. Imura" Message-ID: <20050920050010.GB754@rndsoft.co.kr> References: <20050824143940.GA65078%imura@ryu16.org> <20050824191437.A36508@newtrinity.zeist.de> <20050827055841.GB83681%imura@ryu16.org> <20050827145503.G19225@newtrinity.zeist.de> <20050827132008.GA28954%imura@ryu16.org> <20050827153704.H19225@newtrinity.zeist.de> <20050827140525.GA29949%imura@ryu16.org> <20050829031058.GA871@rndsoft.co.kr> <20050906152119.GA49672%imura@ryu16.org> <20050915132631.GA21105%imura@ryu16.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050915132631.GA21105%imura@ryu16.org> User-Agent: Mutt/1.4.2.1i Cc: John Nielsen , freebsd-sparc64@freebsd.org Subject: Re: "fast data access mmu miss" on kernels w/o "makeoptions DEBUG=-g" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 05:00:39 -0000 On Thu, Sep 15, 2005 at 10:26:31PM +0900, R. Imura wrote: > Hi, > > At last week end, I got Mac mini, and I now have a big endian machine. :) > FreeBSD/ppc works well. (Sorry, I know this is sparc64 list. ;-p ) > Smbfs and iconv(9) works well too on my Mac ppc. > I tried cd9660, msdosfs and smbfs for iconv(9). > > On Wed, Sep 07, 2005 at 12:21:19AM +0900, R. Imura wrote: > > BTW, I found we can obtain macros from NetBSD in > > contrib/smbfs/include/netsmb/smb_lib.h. > > What I had to do is only apply this smb_lib.h change and apply > patches which I posted to this list some days ago. > I'll commit these changes, later. > I don't know all problem fixes on sparc64, though. > These changes are not enough to run smbfs on sparc64. AFAIK, ppc allows non-aligned memory access(with additional penalty) while sparc64/alpha and ia64 does not. We have to find out all instances of code which smbfs assumes it can access memory even though it's not aligned correctly. Anyway, thanks for committing mchain.h. It's prerequsite to smbfs on sparc64. -- Regards, Pyun YongHyeon From owner-freebsd-sparc64@FreeBSD.ORG Tue Sep 20 09:08:33 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD58516A420 for ; Tue, 20 Sep 2005 09:08:33 +0000 (GMT) (envelope-from imura@ryu16.org) Received: from mail.ryu16.org (221x249x107x69.ap221.ftth.ucom.ne.jp [221.249.107.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2732843D48 for ; Tue, 20 Sep 2005 09:08:32 +0000 (GMT) (envelope-from imura@ryu16.org) Received: from redeye.xt.ryu16.org (localhost [127.0.0.1]) by mail.ryu16.org (8.12.9p1/8.12.9) with ESMTP id j8K98Rgr074051; Tue, 20 Sep 2005 18:08:27 +0900 (JST) (envelope-from imura@redeye.xt.ryu16.org) Received: (from imura@localhost) by redeye.xt.ryu16.org (8.12.9p1/8.12.9/Submit) id j8K98Qus074050; Tue, 20 Sep 2005 18:08:27 +0900 (JST) (envelope-from imura) Date: Tue, 20 Sep 2005 18:08:26 +0900 From: "R. Imura" To: Pyun YongHyeon Message-ID: <20050920090826.GA73676%imura@ryu16.org> References: <20050824191437.A36508@newtrinity.zeist.de> <20050827055841.GB83681%imura@ryu16.org> <20050827145503.G19225@newtrinity.zeist.de> <20050827132008.GA28954%imura@ryu16.org> <20050827153704.H19225@newtrinity.zeist.de> <20050827140525.GA29949%imura@ryu16.org> <20050829031058.GA871@rndsoft.co.kr> <20050906152119.GA49672%imura@ryu16.org> <20050915132631.GA21105%imura@ryu16.org> <20050920050010.GB754@rndsoft.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050920050010.GB754@rndsoft.co.kr> User-Agent: Mutt/1.4.1i-ja.1 Cc: John Nielsen , freebsd-sparc64@freebsd.org Subject: Re: "fast data access mmu miss" on kernels w/o "makeoptions DEBUG=-g" X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Sep 2005 09:08:33 -0000 Hi, On Tue, Sep 20, 2005 at 02:00:10PM +0900, Pyun YongHyeon wrote: > These changes are not enough to run smbfs on sparc64. AFAIK, ppc allows > non-aligned memory access(with additional penalty) while sparc64/alpha > and ia64 does not. We have to find out all instances of code which smbfs > assumes it can access memory even though it's not aligned correctly. Thank you for the point. Then, it's worth looking around SMBRQ_PUTLE16 changes in NetBSD. :-) Regards, - R. Imura From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 21 15:00:43 2005 Return-Path: X-Original-To: freebsd-sparc@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D41316A420 for ; Wed, 21 Sep 2005 15:00:43 +0000 (GMT) (envelope-from bobhead@frontiernet.net) Received: from relay03.roc.ny.frontiernet.net (relay03.roc.ny.frontiernet.net [66.133.182.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 458F743D60 for ; Wed, 21 Sep 2005 15:00:33 +0000 (GMT) (envelope-from bobhead@frontiernet.net) Received: from filter03.roc.ny.frontiernet.net (filter03.roc.ny.frontiernet.net [66.133.183.70]) by relay03.roc.ny.frontiernet.net (Postfix) with ESMTP id CAA49358558 for ; Wed, 21 Sep 2005 15:00:23 +0000 (UTC) Received: from relay03.roc.ny.frontiernet.net ([66.133.182.166]) by filter03.roc.ny.frontiernet.net (filter03.roc.ny.frontiernet.net [66.133.183.70]) (amavisd-new, port 10024) with LMTP id 13784-01-32 for ; Wed, 21 Sep 2005 15:00:23 +0000 (UTC) Received: from smtp.frontiernet.net (70-96-78-188.dsl1.ado.il.frontiernet.net [70.96.78.188]) by relay03.roc.ny.frontiernet.net (Postfix) with SMTP id 6E17B35803B for ; Wed, 21 Sep 2005 15:00:23 +0000 (UTC) From: "Ron Nelson" Date: Wed, 21 Sep 2005 10:01:22 To: freebsd-sparc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <20050921150023.6E17B35803B@relay03.roc.ny.frontiernet.net> X-Virus-Scanned: by amavisd-new-2.3.2 (20050629) at filter03.roc.ny.frontiernet.net Cc: Subject: school mascot items X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 15:00:43 -0000 Mascot items made to your specifications. Minimum quantity is only 120. Priced for great profits Bobblehead mascots-- Mascot ornaments-- Magnets-- Chain pulls-- Garden stepping stones with school name and logo or mascot-- Special teacher, coach or individual We can probably make any item you can think of at an unbelievably low price. Email us for quotes and questions. rnelson@bobhead.com go here for a details page www.bobhead.com/process.htm Please pass this information on to your sports boosters or anyone interested in mascot items for fund raising. Our online school catalog www.bobhead.com/catalog.htm Nelson Sports Collectibles www.bobhead.com 800 275 3586 From owner-freebsd-sparc64@FreeBSD.ORG Wed Sep 21 16:40:45 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D24C016A41F for ; Wed, 21 Sep 2005 16:40:45 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from ns.looney.com (ns.looney.com [216.158.63.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D2BE43D46 for ; Wed, 21 Sep 2005 16:40:45 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from sakima.Ivy.NET (sakima.Ivy.NET [69.31.131.60]) by ns.looney.com (Postfix) with ESMTP id 13046BD6A for ; Wed, 21 Sep 2005 12:28:04 -0400 (EDT) Received: from castrovalva.Ivy.NET (castrovalva.Ivy.NET [IPv6:2001:4830:2150:c0::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sakima.Ivy.NET (Postfix) with ESMTP id A3DDC2FF5F for ; Wed, 21 Sep 2005 12:40:41 -0400 (EDT) Received: by castrovalva.Ivy.NET (Postfix, from userid 405) id 2408C12FB01; Wed, 21 Sep 2005 12:40:41 -0400 (EDT) To: freebsd-sparc64@freebsd.org From: Miles Nordin MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Sep_21_12:40:40_2005-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 21 Sep 2005 12:40:40 -0400 Message-ID: User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (alpha--netbsd) MULE/5.0 (SAKAKI) Subject: bge(4) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 16:40:45 -0000 --pgp-sign-Multipart_Wed_Sep_21_12:40:40_2005-1 Content-Type: text/plain; charset=US-ASCII When I do 'kldload if_bge' i get: -----8<----- bge0: mem 0x10000-0x1ffff at device 3.0 on pci2 bge0: firmware handshake timed out bge0 PHY read timed out bge0: MII without any PHY! device_attach: bge0 attach returned 6 -----8<----- Is this expected? I'm looking for a good card to do forwarding of high pps on a Netra T1 200, because AFAICT gem and hme aren't documented to support interrupt mitigation nor polling(9). Will em(4) work on sparc64? Do people have other suggestions? -- We are highly confident that once all the facts are presented in the upcoming trial, no court will issue a ruling eliminating a consumers' right to decide for themselves what is displayed on their own computer screens. -- Gator Chief Executive and President Jef McFadden --pgp-sign-Multipart_Wed_Sep_21_12:40:40_2005-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (NetBSD) iQCVAwUAQzGNCInCBbTaW/4dAQJYlQP/fOo7TnM+NAlx96rVDjj1XXTrjAPra6uC 970sljKm+2RLMQvueQ3hs1tz2ymdiXtIlPAeEnHfDRWiwAKn/cyyO0qC3eTqyL24 00449Q/XlhrfSnbyqoUwyOKelvC2/kzb0c8wq05+UY8HOzVdcittjSjyKUaJYI5V NLmEDFNLSRI= =JDDn -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Sep_21_12:40:40_2005-1-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 22 02:10:26 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46E0816A41F for ; Thu, 22 Sep 2005 02:10:26 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF30E43D45 for ; Thu, 22 Sep 2005 02:10:25 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so46379nzk for ; Wed, 21 Sep 2005 19:10:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=neKqqagrt9r3vQW2j5bCCYCKk5xlTf98082gBTkUwavcJlG3SRi2XFCQyYT1BvVAPg+Peyse04woBNqAAY0DyoS/+wgG3CpnvSkWCzR43kCQviLznfdGsjXBeCDY0MEJyLhMEktS6u37v2ZmjA/cVzyounmg0bzUiBN9QOjnvzU= Received: by 10.36.100.13 with SMTP id x13mr5437745nzb; Wed, 21 Sep 2005 19:10:25 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.211]) by mx.gmail.com with ESMTP id 10sm132559nzo.2005.09.21.19.10.23; Wed, 21 Sep 2005 19:10:25 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j8M2Ah0b011134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Sep 2005 11:10:43 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j8M2Ac8K011133; Thu, 22 Sep 2005 11:10:38 +0900 (KST) (envelope-from yongari@gmail.com) Date: Thu, 22 Sep 2005 11:10:38 +0900 From: Pyun YongHyeon To: Miles Nordin Message-ID: <20050922021038.GA10719@rndsoft.co.kr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-sparc64@freebsd.org Subject: Re: bge(4) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 02:10:26 -0000 On Wed, Sep 21, 2005 at 12:40:40PM -0400, Miles Nordin wrote: > When I do 'kldload if_bge' i get: > > -----8<----- > bge0: mem 0x10000-0x1ffff at device 3.0 on pci2 > bge0: firmware handshake timed out > bge0 PHY read timed out > bge0: MII without any PHY! > device_attach: bge0 attach returned 6 > -----8<----- > > Is this expected? > Yes. :-( > I'm looking for a good card to do forwarding of high pps on a Netra T1 > 200, because AFAICT gem and hme aren't documented to support interrupt > mitigation nor polling(9). Will em(4) work on sparc64? Do people > have other suggestions? > Polling support for hme(4) is one of item in my TODO list. It's not complex and easy to add polling support code but I have no idea polling on SMP really helps. At present em(4) does not work on sparc64. See http://people.freebsd.org/~yongari/em.patch.0419 It's old patch but you may see the point. There is also bge(4) patch(http://people.freebsd.org/~yongari/bge.patch.0908). Due to recent bge(4) changes it wouldn't apply cleanly but I think you can patch the driver manually. -- Regards, Pyun YongHyeon From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 22 18:04:21 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49F9716A41F; Thu, 22 Sep 2005 18:04:21 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3C8C43D45; Thu, 22 Sep 2005 18:04:20 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.4/8.13.4) with ESMTP id j8MI4I5k077857; Thu, 22 Sep 2005 14:04:18 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.3/8.13.3) with ESMTP id j8MI4JY2072269; Thu, 22 Sep 2005 14:04:19 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E43637302F; Thu, 22 Sep 2005 14:04:18 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20050922180418.E43637302F@freebsd-current.sentex.ca> Date: Thu, 22 Sep 2005 14:04:18 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on clamscanner5 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.51 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 18:04:21 -0000 TB --- 2005-09-22 16:47:04 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2005-09-22 16:47:04 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2005-09-22 16:47:04 - cleaning the object tree TB --- 2005-09-22 16:47:29 - checking out the source tree TB --- 2005-09-22 16:47:29 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2005-09-22 16:47:29 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2005-09-22 16:53:45 - building world (CFLAGS=-O2 -pipe) TB --- 2005-09-22 16:53:45 - cd /src TB --- 2005-09-22 16:53:45 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2005-09-22 17:57:48 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2005-09-22 17:57:48 - cd /src TB --- 2005-09-22 17:57:48 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Thu Sep 22 17:57:48 UTC 2005 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:162: error: initializer element is not constant /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:162: error: (near initialization for `ata_pccard_methods[3]') /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:163: error: initializer element is not constant /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:163: error: (near initialization for `ata_pccard_methods[4]') /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:164: error: initializer element is not constant /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:164: error: (near initialization for `ata_pccard_methods[5]') /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:166: error: initializer element is not constant /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:166: error: (near initialization for `ata_pccard_methods[6]') *** Error code 1 Stop in /src/sys/modules/ata/atacard. *** Error code 1 Stop in /src/sys/modules/ata. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/sparc64/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2005-09-22 18:04:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2005-09-22 18:04:18 - ERROR: failed to build generic kernel TB --- 2005-09-22 18:04:18 - tinderbox aborted From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 22 18:36:36 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C64C16A41F for ; Thu, 22 Sep 2005 18:36:36 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from ns.looney.com (ns.looney.com [216.158.63.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B4C043D46 for ; Thu, 22 Sep 2005 18:36:33 +0000 (GMT) (envelope-from carton@Ivy.NET) Received: from sakima.Ivy.NET (sakima.Ivy.NET [69.31.131.60]) by ns.looney.com (Postfix) with ESMTP id EB7C6BD6A for ; Thu, 22 Sep 2005 14:23:47 -0400 (EDT) Received: from castrovalva.Ivy.NET (castrovalva.Ivy.NET [IPv6:2001:4830:2150:c0::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sakima.Ivy.NET (Postfix) with ESMTP id 12AF02F8D0 for ; Thu, 22 Sep 2005 14:36:32 -0400 (EDT) Received: by castrovalva.Ivy.NET (Postfix, from userid 405) id EB17912FB01; Thu, 22 Sep 2005 14:36:30 -0400 (EDT) To: freebsd-sparc64@freebsd.org References: <20050922021038.GA10719@rndsoft.co.kr> From: Miles Nordin MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Thu_Sep_22_14:36:20_2005-1"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 22 Sep 2005 14:36:30 -0400 In-Reply-To: <20050922021038.GA10719@rndsoft.co.kr> (Pyun YongHyeon's message of "Thu, 22 Sep 2005 11:10:38 +0900") Message-ID: User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (alpha--netbsd) MULE/5.0 (SAKAKI) Subject: Re: bge(4) and em(4) alignment problems X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 18:36:36 -0000 --pgp-sign-Multipart_Thu_Sep_22_14:36:20_2005-1 Content-Type: text/plain; charset=US-ASCII >>>>> "py" == Pyun YongHyeon writes: py> I have no idea polling on SMP really helps. Netra T1 200 is uniprocessor py> http://people.freebsd.org/~yongari/em.patch.0419 py> http://people.freebsd.org/~yongari/bge.patch.0908 It is a production machine, and I am really getting tired and frustrated of fucking around with free Unixes broken in basic ways, after having to ditch NetBSD for FreeBSD because on NetBSD the network interfaces kept stalling twice an hour and requiring 'ifconfig hme0 down up'. But I guess there is no alternative unless I want to use i386. I can get any card you like, but I guess no card is ready yet. It doesn't do much good to keep the machine stable by not sloppily fuzzing old patches if it is going to livelock under the first small-packet DDoS. Thanks for the patches. I'll definitely give it a shot. I just hope the release engineering guys are not persistently leaving all this sparc64 stuff broken and ignoring your patches because they are worried i386 will be destabilized---that's not appropriate if the project is serious about this port. Thanks again, I'll try them. -- Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jeff Raskin --pgp-sign-Multipart_Thu_Sep_22_14:36:20_2005-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (NetBSD) iQCVAwUAQzL5ronCBbTaW/4dAQJGawQAnj+0sZCZYUf6u+/Cmv3wO/06Sjxx8wMM ZY6pPsPMlKzywph0grxSOTIXe67OJ0O2iCHPNK2E8ugkwRgbThRK3kfS7W260Tae nTmY45B7ncOnQDQBJ1K63r8HmyeWRaHOttKjdyeRP8DoGAZHTLBaeqf7yjya0Mvw be2d1y6V2e4= =wTrH -----END PGP SIGNATURE----- --pgp-sign-Multipart_Thu_Sep_22_14:36:20_2005-1-- From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 22 18:42:18 2005 Return-Path: X-Original-To: sparc64@FreeBSD.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A72116A420; Thu, 22 Sep 2005 18:42:18 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ECB243D48; Thu, 22 Sep 2005 18:42:17 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.3/8.13.3) with ESMTP id j8MIgE9E060478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Sep 2005 22:42:15 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.3/8.13.1/Submit) id j8MIgEqB060477; Thu, 22 Sep 2005 22:42:14 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Thu, 22 Sep 2005 22:42:14 +0400 From: Gleb Smirnoff To: FreeBSD Tinderbox Message-ID: <20050922184214.GH36166@cell.sick.ru> References: <20050922180418.E43637302F@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20050922180418.E43637302F@freebsd-current.sentex.ca> User-Agent: Mutt/1.5.6i Cc: current@FreeBSD.org, sparc64@FreeBSD.org Subject: Re: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 18:42:18 -0000 This should be fixed now. On Thu, Sep 22, 2005 at 02:04:18PM -0400, FreeBSD Tinderbox wrote: F> TB --- 2005-09-22 16:47:04 - tinderbox 2.3 running on freebsd-current.sentex.ca F> TB --- 2005-09-22 16:47:04 - starting HEAD tinderbox run for sparc64/sparc64 F> TB --- 2005-09-22 16:47:04 - cleaning the object tree F> TB --- 2005-09-22 16:47:29 - checking out the source tree F> TB --- 2005-09-22 16:47:29 - cd /tinderbox/HEAD/sparc64/sparc64 F> TB --- 2005-09-22 16:47:29 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src F> TB --- 2005-09-22 16:53:45 - building world (CFLAGS=-O2 -pipe) F> TB --- 2005-09-22 16:53:45 - cd /src F> TB --- 2005-09-22 16:53:45 - /usr/bin/make -B buildworld F> >>> Rebuilding the temporary build tree F> >>> stage 1.1: legacy release compatibility shims F> >>> stage 1.2: bootstrap tools F> >>> stage 2.1: cleaning up the object tree F> >>> stage 2.2: rebuilding the object tree F> >>> stage 2.3: build tools F> >>> stage 3: cross tools F> >>> stage 4.1: building includes F> >>> stage 4.2: building libraries F> >>> stage 4.3: make dependencies F> >>> stage 4.4: building everything F> TB --- 2005-09-22 17:57:48 - building generic kernel (COPTFLAGS=-O2 -pipe) F> TB --- 2005-09-22 17:57:48 - cd /src F> TB --- 2005-09-22 17:57:48 - /usr/bin/make buildkernel KERNCONF=GENERIC F> >>> Kernel build for GENERIC started on Thu Sep 22 17:57:48 UTC 2005 F> >>> stage 1: configuring the kernel F> >>> stage 2.1: cleaning up the object tree F> >>> stage 2.2: rebuilding the object tree F> >>> stage 2.3: build tools F> >>> stage 3.1: making dependencies F> >>> stage 3.2: building everything F> [...] F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:162: error: initializer element is not constant F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:162: error: (near initialization for `ata_pccard_methods[3]') F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:163: error: initializer element is not constant F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:163: error: (near initialization for `ata_pccard_methods[4]') F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:164: error: initializer element is not constant F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:164: error: (near initialization for `ata_pccard_methods[5]') F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:166: error: initializer element is not constant F> /src/sys/modules/ata/atacard/../../../dev/ata/ata-card.c:166: error: (near initialization for `ata_pccard_methods[6]') F> *** Error code 1 F> F> Stop in /src/sys/modules/ata/atacard. F> *** Error code 1 F> F> Stop in /src/sys/modules/ata. F> *** Error code 1 F> F> Stop in /src/sys/modules. F> *** Error code 1 F> F> Stop in /obj/sparc64/src/sys/GENERIC. F> *** Error code 1 F> F> Stop in /src. F> *** Error code 1 F> F> Stop in /src. F> TB --- 2005-09-22 18:04:18 - WARNING: /usr/bin/make returned exit code 1 F> TB --- 2005-09-22 18:04:18 - ERROR: failed to build generic kernel F> TB --- 2005-09-22 18:04:18 - tinderbox aborted F> F> _______________________________________________ F> freebsd-current@freebsd.org mailing list F> http://lists.freebsd.org/mailman/listinfo/freebsd-current F> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-sparc64@FreeBSD.ORG Fri Sep 23 21:30:50 2005 Return-Path: X-Original-To: freebsd-sparc@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AF7816A42F for ; Fri, 23 Sep 2005 21:30:50 +0000 (GMT) (envelope-from drainage@dwpinc.com) Received: from chb63.neoplus.adsl.tpnet.pl (chb63.neoplus.adsl.tpnet.pl [83.30.255.63]) by mx1.FreeBSD.org (Postfix) with SMTP id C733C43D48 for ; Fri, 23 Sep 2005 21:30:48 +0000 (GMT) (envelope-from drainage@dwpinc.com) Received: from 123.160.185.71 (EHLO mortally) by chb63.neoplus.adsl.tpnet.pl with SMTP; Fri, 23 Sep 2005 23:30:44 +0200 id 97447117646traced109410 for freebsd-sparc@freebsd.org; Fri, 23 Sep 2005 23:30:44 +0200 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: <10367533025.440142049@chb63.neoplus.adsl.tpnet.pl> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-sparc@freebsd.org From: Albert Date: Fri, 23 Sep 2005 23:30:43 +0200 X-Mailer: Apple Mail (2.728) Cc: Subject: Reach new customers on the internet and grow your business... with dynamic software, you can! X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2005 21:30:50 -0000 Softwares CDS all software under $15 and $99! http://ousw.p5c7veddv8vxp77kcppkup7p.bultowmifd.com/?ufbnlc Evil to him who evil thinks. (Honi Soit Qui Mal Pense) Tradition is laziness. We must as second best...take the least of the evils. Arguments are to be avoided; they are always vulgar and often convincing. Their silence is sufficient praise. Things do not change; we change. From owner-freebsd-sparc64@FreeBSD.ORG Sat Sep 24 06:14:17 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 120F916A41F for ; Sat, 24 Sep 2005 06:14:17 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4443F43D48 for ; Sat, 24 Sep 2005 06:14:15 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0INB00FKU5BQU9@ms-dienst.rz.rwth-aachen.de> for freebsd-sparc64@freebsd.org; Sat, 24 Sep 2005 08:14:14 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Sat, 24 Sep 2005 08:14:13 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by relay.rwth-aachen.de (8.13.3/8.13.3/1) with ESMTP id j8O6EDxZ013021; Sat, 24 Sep 2005 08:14:13 +0200 (MEST) Received: from moria.hitnet.rwth-aachen.de ([137.226.181.149] helo=haakonia.hitnet.rwth-aachen.de) by bigboss.hitnet.rwth-aachen.de with esmtp (Exim 3.35 #1 (Debian)) id 1EJ3Ib-0003Wp-00; Sat, 24 Sep 2005 08:14:13 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 156772843F; Sat, 24 Sep 2005 08:13:43 +0200 (CEST) Date: Sat, 24 Sep 2005 08:13:42 +0200 From: Christian Brueffer In-reply-to: To: Miles Nordin Message-id: <20050924061342.GA1302@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=5vNYLRcllDrimb99; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.9i X-Operating-System: FreeBSD 6.0-BETA5 X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: Cc: freebsd-sparc64@freebsd.org Subject: Re: bge(4) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 06:14:17 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 21, 2005 at 12:40:40PM -0400, Miles Nordin wrote: > When I do 'kldload if_bge' i get: >=20 > -----8<----- > bge0: mem 0x10000-0x1ff= ff at device 3.0 on pci2 > bge0: firmware handshake timed out > bge0 PHY read timed out > bge0: MII without any PHY! > device_attach: bge0 attach returned 6 > -----8<----- >=20 > Is this expected? >=20 > I'm looking for a good card to do forwarding of high pps on a Netra T1 > 200, because AFAICT gem and hme aren't documented to support interrupt > mitigation nor polling(9). Will em(4) work on sparc64? Do people > have other suggestions? >=20 You can find a prototype polling(4) patch for bge(4) here: http://people.freebsd.org/~brueffer/polling/bge_polling.diff It lacks error recovery though. I haven't worked on this for some time, but I'll look into polishing it this weekend. If I get my Ultra 10 to play nice with CURRENT and Pyun doesn't beat me to it, I'll also take a look at hme(4). - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFDNO6WbHYXjKDtmC0RAmRRAJ46dYjE3cFM5im0qiAYAXTtjZvSRgCgxEaU hBUrPM7CsRdqVei9Oi/m8KU= =thBf -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-sparc64@FreeBSD.ORG Sat Sep 24 07:23:31 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE8E216A41F for ; Sat, 24 Sep 2005 07:23:31 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DDAC43D48 for ; Sat, 24 Sep 2005 07:23:31 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id z31so401941nzd for ; Sat, 24 Sep 2005 00:23:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=mtinQvcsVinZA1AlqVSPBbDGhl42urvCLAACNGSARY1/cNVbBMZnS8HDMTIhJsu6rxsCByFxJ68OMZSZ7Zjj7D6ieEodLB6vRh7RJnWzr9lsMflhZ+gMjsooTd0HHfZmkMqMD2g7udtpCFmv/wCOlDPTHSDo+GAhVB7jbgYF75I= Received: by 10.37.15.64 with SMTP id s64mr2394400nzi; Sat, 24 Sep 2005 00:23:30 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.211]) by mx.gmail.com with ESMTP id 34sm2409630nza.2005.09.24.00.23.29; Sat, 24 Sep 2005 00:23:30 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j8O7OHoh020019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Sep 2005 16:24:17 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j8O7ODjP020018; Sat, 24 Sep 2005 16:24:13 +0900 (KST) (envelope-from yongari@gmail.com) Date: Sat, 24 Sep 2005 16:24:13 +0900 From: Pyun YongHyeon To: Christian Brueffer Message-ID: <20050924072413.GA19116@rndsoft.co.kr> References: <20050924061342.GA1302@unixpages.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050924061342.GA1302@unixpages.org> User-Agent: Mutt/1.4.2.1i Cc: Miles Nordin , freebsd-sparc64@freebsd.org Subject: Re: bge(4) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 07:23:31 -0000 On Sat, Sep 24, 2005 at 08:13:42AM +0200, Christian Brueffer wrote: > On Wed, Sep 21, 2005 at 12:40:40PM -0400, Miles Nordin wrote: > > When I do 'kldload if_bge' i get: > > > > -----8<----- > > bge0: mem 0x10000-0x1ffff at device 3.0 on pci2 > > bge0: firmware handshake timed out > > bge0 PHY read timed out > > bge0: MII without any PHY! > > device_attach: bge0 attach returned 6 > > -----8<----- > > > > Is this expected? > > > > I'm looking for a good card to do forwarding of high pps on a Netra T1 > > 200, because AFAICT gem and hme aren't documented to support interrupt > > mitigation nor polling(9). Will em(4) work on sparc64? Do people > > have other suggestions? > > > > You can find a prototype polling(4) patch for bge(4) here: > > http://people.freebsd.org/~brueffer/polling/bge_polling.diff > > It lacks error recovery though. I haven't worked on this for some time, > but I'll look into polishing it this weekend. > Do you have a documentation for Tigon3? Due to lack of data sheet for Tigon3 I can't sure supporting polling for bge(4) is feasible. Comments in bge_intr says bge(4) needs an interrupt to check link state changes as some revisions of BCM5700 have bugs in the chip. In addition, unlike most other drivers, bge(4) calls bus_dmamap_sync(9) to update statistics for its status block in bge_intr. > If I get my Ultra 10 to play nice with CURRENT and Pyun doesn't beat me > to it, I'll also take a look at hme(4). > I'm happy to review your changes. -- Regards, Pyun YongHyeon From owner-freebsd-sparc64@FreeBSD.ORG Sat Sep 24 08:01:45 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 938B716A41F for ; Sat, 24 Sep 2005 08:01:45 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from ms-dienst.rz.rwth-aachen.de (ms-2.rz.RWTH-Aachen.DE [134.130.3.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A3A343D48 for ; Sat, 24 Sep 2005 08:01:45 +0000 (GMT) (envelope-from chris@haakonia.hitnet.rwth-aachen.de) Received: from r220-1 (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by ms-dienst.rz.rwth-aachen.de (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0INB00ICWAAVGR@ms-dienst.rz.rwth-aachen.de> for freebsd-sparc64@freebsd.org; Sat, 24 Sep 2005 10:01:44 +0200 (MEST) Received: from relay.rwth-aachen.de ([134.130.3.1]) by r220-1 (MailMonitor for SMTP v1.2.2 ) ; Sat, 24 Sep 2005 10:01:43 +0200 (MEST) Received: from bigboss.hitnet.rwth-aachen.de (bigspace.hitnet.RWTH-Aachen.DE [137.226.181.2]) by relay.rwth-aachen.de (8.13.3/8.13.3/1) with ESMTP id j8O81gBQ020908; Sat, 24 Sep 2005 10:01:42 +0200 (MEST) Received: from moria.hitnet.rwth-aachen.de ([137.226.181.149] helo=haakonia.hitnet.rwth-aachen.de) by bigboss.hitnet.rwth-aachen.de with esmtp (Exim 3.35 #1 (Debian)) id 1EJ4yc-0004iP-00; Sat, 24 Sep 2005 10:01:42 +0200 Received: by haakonia.hitnet.rwth-aachen.de (Postfix, from userid 1001) id 669872843F; Sat, 24 Sep 2005 10:01:12 +0200 (CEST) Date: Sat, 24 Sep 2005 10:01:12 +0200 From: Christian Brueffer In-reply-to: <20050924072413.GA19116@rndsoft.co.kr> To: Pyun YongHyeon Message-id: <20050924080112.GD1302@unixpages.org> MIME-version: 1.0 Content-type: multipart/signed; boundary=VdOwlNaOFKGAtAAV; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-disposition: inline User-Agent: Mutt/1.5.9i X-Operating-System: FreeBSD 6.0-BETA5 X-PGP-Key: http://people.FreeBSD.org/~brueffer/brueffer.key.asc X-PGP-Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D References: <20050924061342.GA1302@unixpages.org> <20050924072413.GA19116@rndsoft.co.kr> Cc: Miles Nordin , freebsd-sparc64@freebsd.org Subject: Re: bge(4) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 08:01:45 -0000 --VdOwlNaOFKGAtAAV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 24, 2005 at 04:24:13PM +0900, Pyun YongHyeon wrote: > On Sat, Sep 24, 2005 at 08:13:42AM +0200, Christian Brueffer wrote: > > On Wed, Sep 21, 2005 at 12:40:40PM -0400, Miles Nordin wrote: > > > When I do 'kldload if_bge' i get: > > >=20 > > > -----8<----- > > > bge0: mem 0x10000-= 0x1ffff at device 3.0 on pci2 > > > bge0: firmware handshake timed out > > > bge0 PHY read timed out > > > bge0: MII without any PHY! > > > device_attach: bge0 attach returned 6 > > > -----8<----- > > >=20 > > > Is this expected? > > >=20 > > > I'm looking for a good card to do forwarding of high pps on a Netra = T1 > > > 200, because AFAICT gem and hme aren't documented to support interru= pt > > > mitigation nor polling(9). Will em(4) work on sparc64? Do people > > > have other suggestions? > > >=20 > >=20 > > You can find a prototype polling(4) patch for bge(4) here: > >=20 > > http://people.freebsd.org/~brueffer/polling/bge_polling.diff > >=20 > > It lacks error recovery though. I haven't worked on this for some tim= e, > > but I'll look into polishing it this weekend. > >=20 >=20 > Do you have a documentation for Tigon3? Unfortunately not. > Due to lack of data sheet for Tigon3 I can't sure supporting polling > for bge(4) is feasible. Comments in bge_intr says bge(4) needs an > interrupt to check link state changes as some revisions of BCM5700 > have bugs in the chip. In addition, unlike most other drivers, bge(4) > calls bus_dmamap_sync(9) to update statistics for its status block > in bge_intr.=20 >=20 Ah, yes. I haven't looked at the code for almost a year, so apparently I forgot quite a few things. For the BCM5700 case, we can simply make polling conditional. For the bus_dmamap_sync issue, I'll take a look at how other drivers handle this. Thanks for the update on this! BTW, Bill Paul and Paul Saab probably have documentation for these chips (judging on some of their commits). > > If I get my Ultra 10 to play nice with CURRENT and Pyun doesn't beat me > > to it, I'll also take a look at hme(4). > >=20 >=20 > I'm happy to review your changes. >=20 Thanks, I'll keep that in mind. - Christian --=20 Christian Brueffer chris@unixpages.org brueffer@FreeBSD.org GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc GPG Fingerprint: A5C8 2099 19FF AACA F41B B29B 6C76 178C A0ED 982D --VdOwlNaOFKGAtAAV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFDNQfIbHYXjKDtmC0RAj+zAJ4o3Y9QsC3CTxecMbcDq1hXyKl3SgCgvMaO ZIgpnd73KMgwh6FF+HzJh4U= =dVNv -----END PGP SIGNATURE----- --VdOwlNaOFKGAtAAV--