From owner-freebsd-mips@FreeBSD.ORG Sun Nov 15 18:18:58 2009 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8E0C106568B for ; Sun, 15 Nov 2009 18:18:58 +0000 (UTC) (envelope-from peterc@blipcreative.com) Received: from utsire.flunk.com (utsire.flunk.com [64.22.71.114]) by mx1.freebsd.org (Postfix) with ESMTP id A487E8FC12 for ; Sun, 15 Nov 2009 18:18:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by utsire.flunk.com (Postfix) with ESMTP id 7BDDA5732 for ; Sun, 15 Nov 2009 18:02:59 +0000 (GMT) X-Virus-Scanned: Debian amavisd-new at utsire.flunk.com Received: from utsire.flunk.com ([127.0.0.1]) by localhost (utsire.flunk.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OY-ppUQHBkXk; Sun, 15 Nov 2009 18:02:58 +0000 (GMT) Received: from razor-2.local (82-68-192-118.dsl.in-addr.zen.co.uk [82.68.192.118]) by utsire.flunk.com (Postfix) with ESMTPSA id 37FB75714; Sun, 15 Nov 2009 18:02:58 +0000 (GMT) Message-ID: <4B004308.4010602@blipcreative.com> Date: Sun, 15 Nov 2009 18:06:00 +0000 From: peter cornwell User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: freebsd-mips@freebsd.org X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Second hand video equipment for sale. X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 18:18:58 -0000 hi do you have an FPD-400 demand focus for Canon for sale at the moment? best, peterc From owner-freebsd-mips@FreeBSD.ORG Wed Nov 18 03:27:14 2009 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6721065670; Wed, 18 Nov 2009 03:27:14 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 920F18FC1B; Wed, 18 Nov 2009 03:27:14 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id nAI3RDMC097305; Tue, 17 Nov 2009 22:27:13 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id nAI3RDPT097293; Wed, 18 Nov 2009 03:27:13 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 18 Nov 2009 03:27:13 GMT Message-Id: <200911180327.nAI3RDPT097293@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on mips/mips X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 03:27:14 -0000 TB --- 2009-11-18 02:40:23 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2009-11-18 02:40:23 - starting HEAD tinderbox run for mips/mips TB --- 2009-11-18 02:40:23 - cleaning the object tree TB --- 2009-11-18 02:40:32 - cvsupping the source tree TB --- 2009-11-18 02:40:32 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2009-11-18 02:40:57 - building world TB --- 2009-11-18 02:40:57 - MAKEOBJDIRPREFIX=/obj TB --- 2009-11-18 02:40:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-11-18 02:40:57 - TARGET=mips TB --- 2009-11-18 02:40:57 - TARGET_ARCH=mips TB --- 2009-11-18 02:40:57 - TZ=UTC TB --- 2009-11-18 02:40:57 - __MAKE_CONF=/dev/null TB --- 2009-11-18 02:40:57 - cd /src TB --- 2009-11-18 02:40:57 - /usr/bin/make -B buildworld >>> World build started on Wed Nov 18 02:40:58 UTC 2009 >>> 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 [...] cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include -I/src/usr.sbin/ntp/ntpd/../ -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/libopts -I/src/usr.sbin/ntp/ntpd -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL -std=gnu99 -c /src/usr.sbin/ntp/ntpd/../../../contrib/ntp/ntpd/refclock_ulink.c cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include -I/src/usr.sbin/ntp/ntpd/../ -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/libopts -I/src/usr.sbin/ntp/ntpd -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL -std=gnu99 -c /src/usr.sbin/ntp/ntpd/../../../contrib/ntp/ntpd/refclock_wwv.c cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include -I/src/usr.sbin/ntp/ntpd/../ -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/libopts -I/src/usr.sbin/ntp/ntpd -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL -std=gnu99 -c /src/usr.sbin/ntp/ntpd/../../../contrib/ntp/ntpd/refclock_wwvb.c cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include -I/src/usr.sbin/ntp/ntpd/../ -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/libopts -I/src/usr.sbin/ntp/ntpd -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL -std=gnu99 -c /src/usr.sbin/ntp/ntpd/../../../contrib/ntp/ntpd/ntpd-opts.c cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include -I/src/usr.sbin/ntp/ntpd/../ -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/libopts -I/src/usr.sbin/ntp/ntpd -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL -std=gnu99 -c version.c cc -O -pipe -EL -msoft-float -G0 -mno-dsp -mabicalls -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/include -I/src/usr.sbin/ntp/ntpd/../ -I/src/usr.sbin/ntp/ntpd/../../../contrib/ntp/libopts -I/src/usr.sbin/ntp/ntpd -DSYS_FREEBSD -DPARSE -DHAVE_CONFIG_H -DOPENSSL -std=gnu99 -Wl,-EL -o ntpd cmd_args.o ntp_config.o ntp_control.o ntp_crypto.o ntp_filegen.o ntp_intres.o ntp_io.o ntp_loopfilter.o ntp_monitor.o ntp_peer.o ntp_proto.o ntp_refclock.o ntp_request.o ntp_restrict.o ntp_timer.o ntp_util.o ntpd.o refclock_acts.o refclock_arbiter.o refclock_arc.o refclock_as2201.o refclock_atom.o refclock_bancomm.o refclock_chronolog.o refclock_chu.o refclock_conf.o refclock_datum.o refclock_dumbclock.o refclock_fg.o refclock_gpsvme.o refclock_heath.o refclock_hopfpci.o refclock_hopfser.o refclock_hpgps.o refclock_irig.o refclock_jupiter.o refclock_leitch.o refclock_local.o refclock_msfees.o refclock_mx4200.o refclock_neoclock4x.o refclock_nmea.o refclock_oncore.o refclock_palisade.o ! refclock_parse.o refclock_pcf.o refclock_pst.o refclock_ripencc.o refclock_shm.o refclock_tpro.o refclock_trak.o refclock_true.o refclock_ulink.o refclock_wwv.o refclock_wwvb.o ntpd-opts.o version.o /obj/mips/src/usr.sbin/ntp/ntpd/../libparse/libparse.a /obj/mips/src/usr.sbin/ntp/ntpd/../libntp/libntp.a -lm -lmd -lrt /obj/mips/src/usr.sbin/ntp/ntpd/../libopts/libopts.a -lcrypto /obj/mips/src/tmp/usr/lib/librt.so: undefined reference to `__pthread_cleanup_pop_imp' /obj/mips/src/tmp/usr/lib/librt.so: undefined reference to `__pthread_cleanup_push_imp' *** Error code 1 Stop in /src/usr.sbin/ntp/ntpd. *** Error code 1 Stop in /src/usr.sbin/ntp. *** Error code 1 Stop in /src/usr.sbin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-11-18 03:27:13 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-11-18 03:27:13 - ERROR: failed to build world TB --- 2009-11-18 03:27:13 - 1980.57 user 474.63 system 2809.70 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full From owner-freebsd-mips@FreeBSD.ORG Thu Nov 19 20:30:49 2009 Return-Path: Delivered-To: mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2E0D1065701 for ; Thu, 19 Nov 2009 20:30:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8578C8FC17 for ; Thu, 19 Nov 2009 20:30:49 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 38A5446B53 for ; Thu, 19 Nov 2009 15:30:49 -0500 (EST) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 75E3B8A021 for ; Thu, 19 Nov 2009 15:30:48 -0500 (EST) From: John Baldwin To: mips@FreeBSD.org Date: Thu, 19 Nov 2009 15:30:39 -0500 User-Agent: KMail/1.9.7 References: <200911061508.22482.jhb@freebsd.org> In-Reply-To: <200911061508.22482.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911191530.39924.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Thu, 19 Nov 2009 15:30:48 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Subject: Re: [PATCH] Remove if_watchdog use X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 20:30:49 -0000 On Friday 06 November 2009 3:08:22 pm John Baldwin wrote: > I have a patchset that converts all the remaining users of if_watchdog to > using a private callout instead. In some cases the the driver already used a > private timer to drive a stats timer and I merely hooked into that timer. In > other cases a new callout needed to be added to the driver. Some drivers > even abused the if_watchdog interface to provide a stats timer that fired > every second. :) For a few drivers I also fixed other things such as busted > locking, order-of-operations issues in detach, or just completely busted > drivers (fea(4) and fpa(4) which share the pdq backend). Please test. > Barring any major screaming and shouting I plan to commit this in a week or > so and after that to work on removing the if_watchdog/if_timer stuff from the > network stack. > > The patch is at http://www.FreeBSD.org/~jhb/patches/cleanup.patch > > Driver details: > - admsw(4) > - This driver is a bit special in that it has no locking at all, not even > a poor attempt. :) It also appears to be for a specific MIPS board of > some sort. > - It has multiple ifnet's for multiple ports, but it only used if_timer and > if_watchdog from the first ifnet. For this driver I added a single > private timer to replace the if_timer use on the first ifnet. I marked > the callout MPSAFE, but the driver really needs to have locking added at > which point it could use callout_init_mtx(). Can someone please review the changes to this driver? Also, the driver could really use some love in the form of adding locking. -- John Baldwin