From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 01:50:06 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2200916A401 for ; Sun, 28 Jan 2007 01:50:06 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from pipa.vshosting.cz (pipa.vshosting.cz [81.0.201.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC0A13C461 for ; Sun, 28 Jan 2007 01:50:03 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.vshosting.cz (Postfix) with ESMTP id 136FD1C9774; Sun, 28 Jan 2007 02:17:12 +0100 (CET) Received: from pipa.vshosting.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16740-06; Sun, 28 Jan 2007 02:17:05 +0100 (CET) Received: from gandalf (unknown [81.0.245.205]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.vshosting.cz (Postfix) with ESMTP id 7724F1C9778; Sun, 28 Jan 2007 02:17:05 +0100 (CET) From: =?utf-8?Q?Daniel_Dvo=C5=99=C3=A1k?= To: "'Alexander Leidinger'" References: <20070125.192448.-432840241.imp@bsdimp.com> <20070126113311.tuvrh2azr48ckoc8@webmail.leidinger.net> Date: Sun, 28 Jan 2007 02:17:09 +0100 Organization: Projekt HELL Message-ID: <000c01c7427a$08f84480$6508280a@tocnet28.jspoj.czf> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 In-Reply-To: <20070126113311.tuvrh2azr48ckoc8@webmail.leidinger.net> Thread-Index: AcdBNZwFHIvBO06xQdmJxgZZ6Iu7qwBQ/DKw X-Virus-Scanned: by amavisd-new at pipa.vshosting.cz Cc: current@freebsd.org Subject: RE: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@hellteam.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 01:50:06 -0000 And please where is THE "ATAUSB(.ko)" in /boot/kernel directory of 6.2R = ? I do not see any this file on iso disk as release notes promises: 2.2.4 Disks and Storage The ata(4) driver now supports USB mass storage class devices. To enable = it, a line device atausb in the kernel configuration file or loading the = atausb kernel module is needed. Note that this functionality cannot = coexist with the umass(4) driver. Thanks Dan -----Original Message----- From: owner-freebsd-current@freebsd.org = [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Alexander = Leidinger Sent: Friday, January 26, 2007 11:33 AM To: M. Warner Losh Cc: current@freebsd.org Subject: Re: Interesting speed benchmarks Quoting "M. Warner Losh" (from Thu, 25 Jan 2007 =20 19:24:48 -0700 (MST)): > Summary: > > firewire 40.5 MB/s > usb 11.5 MB/s > ata 32.6 MB/s Instead of comparing it with a different drive on ata, you could give =20 atausb a try (and maybe do all of the tests on i386 to check for =20 differences to amd64). Bye, Alexander. --=20 Corruption is not the No. 1 priority of the Police Commissioner. His job is to enforce the law and fight crime. -- P.B.A. President E. J. Kiernan http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D = 72077137 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 04:32:03 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 101E916A402 for ; Sun, 28 Jan 2007 04:32:03 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from pipa.vshosting.cz (pipa.vshosting.cz [81.0.201.10]) by mx1.freebsd.org (Postfix) with ESMTP id 9EFBC13C428 for ; Sun, 28 Jan 2007 04:32:02 +0000 (UTC) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.vshosting.cz (Postfix) with ESMTP id 4B57B1C97A7; Sun, 28 Jan 2007 05:32:01 +0100 (CET) Received: from pipa.vshosting.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03197-09; Sun, 28 Jan 2007 05:31:55 +0100 (CET) Received: from gandalf (unknown [81.0.245.205]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.vshosting.cz (Postfix) with ESMTP id 9417C1C977F; Sun, 28 Jan 2007 05:31:55 +0100 (CET) From: =?utf-8?Q?Daniel_Dvo=C5=99=C3=A1k?= To: Date: Sun, 28 Jan 2007 05:31:55 +0100 Organization: Projekt HELL Message-ID: <002201c74295$3dc88420$6508280a@tocnet28.jspoj.czf> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdCkuK8leZUTxCgRDibDFfj+5IBJQAAddzA X-Virus-Scanned: by amavisd-new at pipa.vshosting.cz Cc: current@freebsd.org Subject: FW: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@hellteam.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 04:32:03 -0000 Hi Sam, I see " half- and quarter-rate channel support ", so is it a preparation = for Atheros XR stands for Extended Range ? 3 1 0,25 Mbit/s and so on ? Bye Dan -----Original Message----- From: owner-cvs-all@freebsd.org [mailto:owner-cvs-all@freebsd.org] On = Behalf Of Sam Leffler Sent: Sunday, January 28, 2007 5:11 AM To: src-committers@FreeBSD.org; cvs-src@FreeBSD.org; cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h sam 2007-01-28 04:10:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/ath if_ath.c if_athvar.h=20 Log: MFC: half- and quarter-rate channel support enable write of most hw.ath sysctl knobs remove public safety band bandaids w/ more recent hal available allow net80211 to install default rate sets =20 Revision Changes Path 1.94.2.32 +139 -69 src/sys/dev/ath/if_ath.c 1.27.2.13 +19 -4 src/sys/dev/ath/if_athvar.h _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 04:45:30 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB96D16A405 for ; Sun, 28 Jan 2007 04:45:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 93AA013C428 for ; Sun, 28 Jan 2007 04:45:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0S4jTWp064604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Jan 2007 20:45:29 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45BC2A68.9020507@errno.com> Date: Sat, 27 Jan 2007 20:45:28 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: dandee@hellteam.net References: <002201c74295$3dc88420$6508280a@tocnet28.jspoj.czf> In-Reply-To: <002201c74295$3dc88420$6508280a@tocnet28.jspoj.czf> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: current@freebsd.org Subject: Re: FW: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 04:45:30 -0000 Daniel Dvořák wrote: > Hi Sam, > > I see " half- and quarter-rate channel support ", so is it a preparation for Atheros XR stands for Extended Range ? 3 1 0,25 Mbit/s and so on ? This is unrelated to XR mode. Half- and quarter-rate channels are used in the public safety band and also for 900MHz cards like the Ubiquit sr9 and Zcomax GZ-901. Sam From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 12:38:09 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7323416A401; Sun, 28 Jan 2007 12:38:09 +0000 (UTC) (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 23D4B13C474; Sun, 28 Jan 2007 12:38:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l0SCc6aZ017703; Sun, 28 Jan 2007 07:38:06 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l0SCc6fb068039; Sun, 28 Jan 2007 07:38:06 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1CE7D73034; Sun, 28 Jan 2007 07:38:06 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070128123806.1CE7D73034@freebsd-current.sentex.ca> Date: Sun, 28 Jan 2007 07:38:06 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 12:38:09 -0000 TB --- 2007-01-28 11:09:49 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-01-28 11:09:49 - starting HEAD tinderbox run for ia64/ia64 TB --- 2007-01-28 11:09:49 - cleaning the object tree TB --- 2007-01-28 11:10:24 - checking out the source tree TB --- 2007-01-28 11:10:24 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2007-01-28 11:10:24 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-01-28 11:20:35 - building world (CFLAGS=-O2 -pipe) TB --- 2007-01-28 11:20:35 - cd /src TB --- 2007-01-28 11:20:35 - /usr/bin/make -B buildworld >>> World build started on Sun Jan 28 11:20:37 UTC 2007 >>> 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 >>> World build completed on Sun Jan 28 12:36:26 UTC 2007 TB --- 2007-01-28 12:36:26 - generating LINT kernel config TB --- 2007-01-28 12:36:26 - cd /src/sys/ia64/conf TB --- 2007-01-28 12:36:26 - /usr/bin/make -B LINT TB --- 2007-01-28 12:36:26 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-01-28 12:36:26 - cd /src TB --- 2007-01-28 12:36:26 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jan 28 12:36:27 UTC 2007 >>> 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 [...] @ -> /src/sys machine -> /src/sys/ia64/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h ln -sf /obj/ia64/src/sys/LINT/opt_inet.h opt_inet.h echo > opt_ath.h make: don't know how to make /src/sys/modules/ath/../../contrib/dev/ath/public/ia64-elf.opt_ah.h. Stop *** Error code 2 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-01-28 12:38:05 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-01-28 12:38:05 - ERROR: failed to build lint kernel TB --- 2007-01-28 12:38:05 - tinderbox aborted TB --- 0.82 user 2.48 system 5296.77 real http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 12:39:03 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5CDD716A401 for ; Sun, 28 Jan 2007 12:39:03 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-2.cisco.com (sj-iport-2-in.cisco.com [171.71.176.71]) by mx1.freebsd.org (Postfix) with ESMTP id 371B113C48D for ; Sun, 28 Jan 2007 12:39:03 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-dkim-4.cisco.com ([171.71.179.196]) by sj-iport-2.cisco.com with ESMTP; 28 Jan 2007 04:39:02 -0800 X-IronPort-AV: i="4.13,247,1167638400"; d="scan'208"; a="358176997:sNHT55746656" Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-4.cisco.com (8.12.11/8.12.11) with ESMTP id l0SCd2FB015268 for ; Sun, 28 Jan 2007 04:39:02 -0800 Received: from xbh-sjc-231.amer.cisco.com (xbh-sjc-231.cisco.com [128.107.191.100]) by sj-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id l0SCd2Dm014628 for ; Sun, 28 Jan 2007 04:39:02 -0800 (PST) Received: from xfe-sjc-212.amer.cisco.com ([171.70.151.187]) by xbh-sjc-231.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 28 Jan 2007 04:39:01 -0800 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-212.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 28 Jan 2007 04:39:01 -0800 Message-ID: <45BC9943.9010300@cisco.com> Date: Sun, 28 Jan 2007 07:38:27 -0500 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061029 FreeBSD/i386 SeaMonkey/1.0.6 MIME-Version: 1.0 To: current@freebsd.org References: <45A533F6.7030405@cisco.com> In-Reply-To: <45A533F6.7030405@cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 28 Jan 2007 12:39:01.0497 (UTC) FILETIME=[49B03690:01C742D9] DKIM-Signature: v=0.5; a=rsa-sha256; q=dns/txt; l=1667; t=1169987942; x=1170851942; c=relaxed/simple; s=sjdkim4002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=rrs@cisco.com; z=From:=20Randall=20Stewart=20 |Subject:=20Re=3A=20how=20to=20find=20out=20what=20the=20other=20CPU=20is =20doing |Sender:=20; bh=PBbKSSfIlIcOoXfTKljKpgQZDFBQsTtAGOrfQcE7n3E=; b=pgsrY2nglT33fs3BqNM5S498VjCiQxWPppg8PEiFAvaGzRqWykQGg3NxDHf5Ag/1qLQhSIGv /LSiVRtqig6Y8li9GA4f7zooPiHZ6/GP2oujmHkzfkb6b2nNIJv2Kc9J; Authentication-Results: sj-dkim-4; header.From=rrs@cisco.com; dkim=pass (sig from cisco.com/sjdkim4002 verified; ); Cc: Subject: Re: how to find out what the other CPU is doing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 12:39:03 -0000 All: Ok, I did not get an answer to this.. and of course I hit the bug again (which I now figured out how to fix :-D) So let me explain what I did.. so that way I can come back and find this email later when it someday happens again ;-) (and for anyone else curious). 1) I had to do this from DDB ... I could not find a way in kgdb. 2) When you stop the machine in ddb (at least in i386) it dumps BOTH CPU's info in something called stoppcbs[num-cpus] 3) Its an array of struct pcb .. which has all the info you need to get started. 4) With a trusty x/ stoppcbs you can work your way through and gather the info you need.. For x86 the second CPU started at stoppcbs+0x270 .. if you don't want to look at all those 0's (of course the offset could change and will vary from CPU type to CPU type :-D) 5) Dig out the ebp from here. You can look at the IP but it will be in some NMI stop CPU routine. 6) You can use the bp to trace backward through the stack and figure out the running stack trace... I went back to kgdb after getting the ebp (with CPU still spinning away). 7) You have to go several frames back to get by all the NMI stuff before you find your guilty party :-) There might be a better way to do this.. and I am thinking about adding a machine dependent trace that can take a ebp argument (if one does not already exist in kgdb.. I suppose I need to poke around in the macro's a bit).. anyway its primitive .. but it allows you to find that spinning kernel routine :-) R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 803-317-4952 (cell) From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 19:11:42 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA7E916A401; Sun, 28 Jan 2007 19:11:42 +0000 (UTC) (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 5C46F13C4A3; Sun, 28 Jan 2007 19:11:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l0SJBfdU036280; Sun, 28 Jan 2007 14:11:41 -0500 (EST) (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.8/8.13.8) with ESMTP id l0SJBfV1091116; Sun, 28 Jan 2007 14:11:41 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 55D1773034; Sun, 28 Jan 2007 14:11:41 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070128191141.55D1773034@freebsd-current.sentex.ca> Date: Sun, 28 Jan 2007 14:11:41 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 19:11:42 -0000 TB --- 2007-01-28 17:44:19 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-01-28 17:44:19 - starting HEAD tinderbox run for ia64/ia64 TB --- 2007-01-28 17:44:19 - cleaning the object tree TB --- 2007-01-28 17:44:45 - checking out the source tree TB --- 2007-01-28 17:44:45 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2007-01-28 17:44:45 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-01-28 17:54:31 - building world (CFLAGS=-O2 -pipe) TB --- 2007-01-28 17:54:31 - cd /src TB --- 2007-01-28 17:54:31 - /usr/bin/make -B buildworld >>> World build started on Sun Jan 28 17:54:32 UTC 2007 >>> 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 >>> World build completed on Sun Jan 28 19:09:59 UTC 2007 TB --- 2007-01-28 19:09:59 - generating LINT kernel config TB --- 2007-01-28 19:09:59 - cd /src/sys/ia64/conf TB --- 2007-01-28 19:09:59 - /usr/bin/make -B LINT TB --- 2007-01-28 19:09:59 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-01-28 19:09:59 - cd /src TB --- 2007-01-28 19:09:59 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Jan 28 19:09:59 UTC 2007 >>> 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 [...] @ -> /src/sys machine -> /src/sys/ia64/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h ln -sf /obj/ia64/src/sys/LINT/opt_inet.h opt_inet.h echo > opt_ath.h make: don't know how to make /src/sys/modules/ath/../../contrib/dev/ath/public/ia64-elf.opt_ah.h. Stop *** Error code 2 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-01-28 19:11:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-01-28 19:11:41 - ERROR: failed to build lint kernel TB --- 2007-01-28 19:11:41 - tinderbox aborted TB --- 0.54 user 1.77 system 5241.98 real http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Sun Jan 28 23:52:20 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C92516A402; Sun, 28 Jan 2007 23:52:20 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 81D1A13C471; Sun, 28 Jan 2007 23:52:19 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([85.172.12.41]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l0SNNWFH052920; Mon, 29 Jan 2007 02:23:43 +0300 (MSK) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HBJML-0000Gr-IT; Mon, 29 Jan 2007 02:22:53 +0300 To: Divacky Roman References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122164926.GA8146@stud.fit.vutbr.cz> From: Boris Samorodov Date: Mon, 29 Jan 2007 02:22:53 +0300 In-Reply-To: <20070122164926.GA8146@stud.fit.vutbr.cz> (Divacky Roman's message of "Mon, 22 Jan 2007 17:49:26 +0100") Message-ID: <24984594@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: emulation@freebsd.org, netchild@freebsd.org, current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jan 2007 23:52:20 -0000 On Mon, 22 Jan 2007 17:49:26 +0100 Divacky Roman wrote: > On Sat, Jan 20, 2007 at 05:07:23PM +0100, Alexander Leidinger wrote: > > today I committed the last fixes for the showstopper problems (panics) > > in the linux 2.6.16 emulation. I intend to switch the default version > > to 2.6.16 on i386 "soon" (see below), so please help testing it. > to be more precise.. we want testing on -current on i386... > any other report is useles. except for reports from p4 linuxulator > branch on 2.6/amd64.. Here are some test results (for 2.6.16 linux emulation) at: $ uname -a FreeBSD bsam.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jan 24 01:58:12 MSK 2007 bsam@bsam.ru:/usr/obj/usr/src/sys/GENERIC i386 ...and linux_base-fc6 (a port from my repository), other port dependencies are from FC4: 1. Just work (sometimes messages about an unimplemented syscall(s) do appear): - print/acroread7 - www/linux-opera - www/linux-firefox - www/linux-flashplugin7 - mail/linux-thunderbird - multimedia/linux-realplayer 2. Works but coredumps when exitting: - net/skype 3. Is not executed (some new... or old libraries are needed): - www/linux-mozilla. Sometimes (not stable result) I get the following LOR. This one I got while testing net/skype: ----- Jan 28 21:11:31 bsam kernel: lock order reversal: Jan 28 21:11:31 bsam kernel: 1st 0xc0bd58e0 emuldata lock (emuldata lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:67 Jan 28 21:11:31 bsam kernel: 2nd 0xc0bd58a0 emuldata->shared lock (emuldata->shared lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1613 Jan 28 21:11:31 bsam kernel: KDB: stack backtrace: Jan 28 21:11:31 bsam kernel: db_trace_self_wrapper(c09442e5) at db_trace_self_wrapper+0x25 Jan 28 21:11:31 bsam kernel: kdb_backtrace(0,ffffffff,c0a525f8,c0a525d0,c09ed16c,...) at kdb_backtrace+0x29 Jan 28 21:11:31 bsam kernel: witness_checkorder(c0bd58a0,1,c0bd2671,64d) at witness_checkorder+0x586 Jan 28 21:11:31 bsam kernel: _sx_slock(c0bd58a0,c0bd2671,64d,0,c49366c0,...) at _sx_slock+0x4c Jan 28 21:11:31 bsam kernel: linux_exit_group(c49366c0,e69dfd00) at linux_exit_group+0x3f Jan 28 21:11:31 bsam kernel: syscall(e69dfd38) at syscall+0x256 Jan 28 21:11:31 bsam kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20 Jan 28 21:11:31 bsam kernel: --- syscall (5, Linux ELF, linux_open), eip = 0x2, esp = 0x246, ebp = 0x2825427c --- Jan 28 21:12:57 bsam kernel: pid 1733 (skype_bin), uid 1001: exited on signal 11 (core dumped) ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 00:27:40 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 912FF16A402 for ; Mon, 29 Jan 2007 00:27:40 +0000 (UTC) (envelope-from sten.daniel.sorsdal@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.freebsd.org (Postfix) with ESMTP id 513FA13C49D for ; Mon, 29 Jan 2007 00:27:40 +0000 (UTC) (envelope-from sten.daniel.sorsdal@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so808353wri for ; Sun, 28 Jan 2007 16:27:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=ps/iRtz7UNR1chtaQby0NvliaQdiy94/k+pSkRZE4YjbEJo5q5KsTEY3Q5EQq1zurN3uDLmfjwTa5hEsMYEwIYhy7AeKF0FUoA+sRzJUjvIvbZh2GdhQMj6HyzKbW02oJ6avj9l9/layVcbhZn72PttcNgq11REmqClfWFBHLsI= Received: by 10.90.52.18 with SMTP id z18mr5934417agz.1170028926854; Sun, 28 Jan 2007 16:02:06 -0800 (PST) Received: from ?192.168.11.5? ( [72.189.174.133]) by mx.google.com with ESMTP id 7sm7120678agd.2007.01.28.16.02.05; Sun, 28 Jan 2007 16:02:06 -0800 (PST) Message-ID: <45BD3979.908@gmail.com> Date: Sun, 28 Jan 2007 19:02:01 -0500 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Hans Petter Selasky References: <20070125.192448.-432840241.imp@bsdimp.com> <200701261341.03742.shoesoft@gmx.net> <200701261536.48893.hselasky@c2i.net> In-Reply-To: <200701261536.48893.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Sten_Daniel_S=F8rsdal?= X-Mailman-Approved-At: Mon, 29 Jan 2007 01:29:06 +0000 Cc: freebsd-current@freebsd.org, Alexey Karagodov , Stefan Ehmann Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 00:27:40 -0000 Hans Petter Selasky wrote: > On Friday 26 January 2007 13:41, Stefan Ehmann wrote: >> On Friday 26 January 2007 13:35, Andrew Pantyukhin wrote: >>> On 1/26/07, Stefan Ehmann wrote: >>>> On Friday 26 January 2007 11:00, Alexey Karagodov wrote: >>>>> what manufacturer says about usb speeds? >>>>> that is the question >>>> Well, "up to 56MB/s" which is pretty much full USB2 speed. >=20 > It is called high speed USB, and it can go up 53 MB/s with a payload of= 512=20 > bytes per packet according to "Table 5-10. High-speed Bulk Transaction = > Limits" in the USB 2.0 specification. The table does not say anything a= bout=20 > whether this include bit-stuffing or not. If bit stuffing is not includ= ed,=20 > then you have to divide this value by 1.20 approximately for the worst = case,=20 > all 1's. 53 MB/s div 1.20 =3D 44 MB/s. >=20 >>>> But writing it on the box doesn't mean the speed can actually be >>>> reached. >>>> >>>> Benchmarking on windows might be interesting, but I don't know how t= o >>>> measure raw disk io on windows. >>> Format the disk, copy a large file to/from it, divide >>> its size by time spent, add the word "approximately" :-) >> I'd rather not format a drive with my backups and other stuff on it :-= ) >=20 > Results with the new USB stack*: >=20 > Changing the interrupt delay from 2 microframes to 1 microframe gave me= =20 > 2MBytes more per second on the EHCI controller. >=20 > I connected two high speed "umass" capable devices to the same EHCI con= troller=20 > on my computer, and did a "dd" on both devices at the same time, with a= block=20 > size of 131072 bytes. >=20 > The one device transferred 22 MB/s. The other device transferred 16 MB/= s.=20 > Summed up this yields 38 MB/s. Used alone these devices can transfer 27= MB/s=20 > and 20 MB/s. It seems clear that the EHCI controller is saturated at 38= MB/s.=20 >=20 > %dmesg |grep ehci > ehci0: mem 0xe0100000-0xe= 01003ff=20 > irq 10 at device 29.7 on pci0 > usb3: on ehci0 > % >=20 Just FYI. I get about the same performance on my laptop running Windows XP when moving between local 100 mb 5400 rpm ATA and 250 mb 7200 rpm USB2.0 disk.= I have the same controller. --=20 Sten Daniel S=F8rsdal From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 02:15:09 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4996916A406 for ; Mon, 29 Jan 2007 02:15:09 +0000 (UTC) (envelope-from lists@loveturtle.net) Received: from loveturtle.net (loveturtle.net [216.182.253.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1487F13C48E for ; Mon, 29 Jan 2007 02:15:08 +0000 (UTC) (envelope-from lists@loveturtle.net) Received: from localhost (localhost [127.0.0.1]) by loveturtle.net (Postfix) with ESMTP id 107E01CC3E for ; Sun, 28 Jan 2007 20:50:00 -0500 (EST) X-Virus-Scanned: amavisd-new at loveturtle.net Received: from loveturtle.net ([127.0.0.1]) by localhost (loveturtle.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oq8kwP76bLsF for ; Sun, 28 Jan 2007 20:49:59 -0500 (EST) Received: from [216.182.254.140] (vier.loveturtle.net [216.182.254.140]) by loveturtle.net (Postfix) with ESMTP id 394421CC1C for ; Sun, 28 Jan 2007 20:49:59 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <45BC2A68.9020507@errno.com> References: <002201c74295$3dc88420$6508280a@tocnet28.jspoj.czf> <45BC2A68.9020507@errno.com> Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Dillon Kass Date: Sun, 28 Jan 2007 20:49:57 -0500 To: current@freebsd.org X-Mailer: Apple Mail (2.752.3) Cc: Subject: Re: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 02:15:09 -0000 are we talking about "rates" here or are we talking about 5 and 10Mhz =20= wide channels? On Jan 27, 2007, at 11:45 PM, Sam Leffler wrote: > Daniel Dvo=C5=99=C3=A1k wrote: >> Hi Sam, >> >> I see " half- and quarter-rate channel support ", so is it a =20 >> preparation for Atheros XR stands for Extended Range ? 3 1 0,25 =20 >> Mbit/s and so on ? > > This is unrelated to XR mode. Half- and quarter-rate channels are used > in the public safety band and also for 900MHz cards like the =20 > Ubiquit sr9 > and Zcomax GZ-901. > > Sam > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-=20 > unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 03:08:02 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6364516A404 for ; Mon, 29 Jan 2007 03:08:02 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1B8FB13C481 for ; Mon, 29 Jan 2007 03:08:01 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l0T37rPc070338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 28 Jan 2007 19:08:00 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45BD6508.8020007@errno.com> Date: Sun, 28 Jan 2007 19:07:52 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: Dillon Kass References: <002201c74295$3dc88420$6508280a@tocnet28.jspoj.czf> <45BC2A68.9020507@errno.com> In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: cvs commit: src/sys/dev/ath if_ath.c if_athvar.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 03:08:02 -0000 Dillon Kass wrote: > are we talking about "rates" here or are we talking about 5 and 10Mhz > wide channels? [context lost to top posting] The channels are indeed narrower (5 and 10MHz) but they also use reduced tx rates. This is required for the public safety band and I applied the same logic to the 900Mhz cards I've got as testing showed you get more effective operation w/ the reduced rates. Sam From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 09:10:08 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7E1F16A403; Mon, 29 Jan 2007 09:10:07 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE8C13C494; Mon, 29 Jan 2007 09:10:07 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l0T9A6ZD019786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jan 2007 10:10:06 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l0T9A6K3019785; Mon, 29 Jan 2007 10:10:06 +0100 (CET) Date: Mon, 29 Jan 2007 10:10:06 +0100 From: Divacky Roman To: Boris Samorodov Message-ID: <20070129091006.GA19174@stud.fit.vutbr.cz> References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122164926.GA8146@stud.fit.vutbr.cz> <24984594@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24984594@bsam.ru> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: emulation@freebsd.org, netchild@freebsd.org, current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 09:10:08 -0000 On Mon, Jan 29, 2007 at 02:22:53AM +0300, Boris Samorodov wrote: > On Mon, 22 Jan 2007 17:49:26 +0100 Divacky Roman wrote: > > On Sat, Jan 20, 2007 at 05:07:23PM +0100, Alexander Leidinger wrote: > > > > today I committed the last fixes for the showstopper problems (panics) > > > in the linux 2.6.16 emulation. I intend to switch the default version > > > to 2.6.16 on i386 "soon" (see below), so please help testing it. > > > to be more precise.. we want testing on -current on i386... > > any other report is useles. except for reports from p4 linuxulator > > branch on 2.6/amd64.. > > Here are some test results (for 2.6.16 linux emulation) at: > $ uname -a > FreeBSD bsam.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jan 24 01:58:12 MSK 2007 bsam@bsam.ru:/usr/obj/usr/src/sys/GENERIC i386 > > ...and linux_base-fc6 (a port from my repository), other port > dependencies are from FC4: > > 1. Just work (sometimes messages about an unimplemented syscall(s) do > appear): > - print/acroread7 > - www/linux-opera > - www/linux-firefox > - www/linux-flashplugin7 > - mail/linux-thunderbird > - multimedia/linux-realplayer please post those messages about unimplemented syscalls, thnx > 2. Works but coredumps when exitting: > - net/skype cant reproduce that. I have proceses left when I "click on exit in skype" but I guess its normal as skype wants to be able to answer a phone call. > 3. Is not executed (some new... or old libraries are needed): > - www/linux-mozilla. but this doesnt relate to 2.6 emulation, right? > Sometimes (not stable result) I get the following LOR. This one I got > while testing net/skype: > ----- > Jan 28 21:11:31 bsam kernel: lock order reversal: > Jan 28 21:11:31 bsam kernel: 1st 0xc0bd58e0 emuldata lock (emuldata lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:67 > Jan 28 21:11:31 bsam kernel: 2nd 0xc0bd58a0 emuldata->shared lock (emuldata->shared lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_misc.c:1613 > Jan 28 21:11:31 bsam kernel: KDB: stack backtrace: > Jan 28 21:11:31 bsam kernel: db_trace_self_wrapper(c09442e5) at db_trace_self_wrapper+0x25 > Jan 28 21:11:31 bsam kernel: kdb_backtrace(0,ffffffff,c0a525f8,c0a525d0,c09ed16c,...) at kdb_backtrace+0x29 > Jan 28 21:11:31 bsam kernel: witness_checkorder(c0bd58a0,1,c0bd2671,64d) at witness_checkorder+0x586 > Jan 28 21:11:31 bsam kernel: _sx_slock(c0bd58a0,c0bd2671,64d,0,c49366c0,...) at _sx_slock+0x4c > Jan 28 21:11:31 bsam kernel: linux_exit_group(c49366c0,e69dfd00) at linux_exit_group+0x3f > Jan 28 21:11:31 bsam kernel: syscall(e69dfd38) at syscall+0x256 > Jan 28 21:11:31 bsam kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20 > Jan 28 21:11:31 bsam kernel: --- syscall (5, Linux ELF, linux_open), eip = 0x2, esp = 0x246, ebp = 0x2825427c --- > Jan 28 21:12:57 bsam kernel: pid 1733 (skype_bin), uid 1001: exited on signal 11 (core dumped) I'll investigate that. thnx From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 11:16:52 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A4AD16A400 for ; Mon, 29 Jan 2007 11:16:52 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-02.rdc-nyc.rr.com (ms-smtp-02.rdc-nyc.rr.com [24.29.109.6]) by mx1.freebsd.org (Postfix) with ESMTP id A42C113C48D for ; Mon, 29 Jan 2007 11:16:51 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-74-73-145-181.nyc.res.rr.com [74.73.145.181]) by ms-smtp-02.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id l0TBGffA006465; Mon, 29 Jan 2007 06:16:45 -0500 (EST) Date: Mon, 29 Jan 2007 06:16:40 -0500 From: Scott Robbins To: Divacky Roman Message-ID: <20070129111640.GA24427@mail.scottro.net> Mail-Followup-To: Divacky Roman , Boris Samorodov , emulation@freebsd.org, netchild@freebsd.org, current@freebsd.org References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122164926.GA8146@stud.fit.vutbr.cz> <24984594@bsam.ru> <20070129091006.GA19174@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20070129091006.GA19174@stud.fit.vutbr.cz> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Cc: Boris Samorodov , emulation@freebsd.org, netchild@freebsd.org, current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 11:16:52 -0000 On Mon, Jan 29, 2007 at 10:10:06AM +0100, Divacky Roman wrote: > On Mon, Jan 29, 2007 at 02:22:53AM +0300, Boris Samorodov wrote: > > On Mon, 22 Jan 2007 17:49:26 +0100 Divacky Roman wrote: > > > On Sat, Jan 20, 2007 at 05:07:23PM +0100, Alexander Leidinger wrote: > > > > > > today I committed the last fixes for the showstopper problems (panics) > > > > in the linux 2.6.16 emulation. I intend to switch the default version > > > > to 2.6.16 on i386 "soon" (see below), so please help testing it. > > > > > to be more precise.. we want testing on -current on i386... > > > any other report is useles. except for reports from p4 linuxulator > > > branch on 2.6/amd64.. I don't use too many Linux applications, however acroread worked without problem. My linux-opera seemed to work without problems, however, after awhile, I noticed that each time I closed it, it was leaving a zombied process, coming from parent PID 1. Therefore, (as I hadn't noticed this in the beginning) one day it seemed to be taking a long time to open--doing a pgrep opera showed about 20-25 zombied PIDS. When I started watching for it, I realized that every time I opened, then closed it, it would leave one and sometimes two zombied PIDs. (I sent a quick post about this to emulation, but I haven't seen it yet.) Changing the sysctl compat.linux.osrelease back to 2.4.2 fixed the problem. This is on a recently built CURRENT. uname -a FreeBSD mail.scottro.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Jan 25 20:30:57 EST 2007 scottro@mail.scottro.net:/usr/obj/usr/src/sys/S11 i386 -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Spike: Whatcha doin', love? Drusilla: I'm naming the stars. Spike: You can't see the stars, love. That's the ceiling. Also it's day. Drusilla: No, I can see them. But I've named them all the same name, and there's terrible confusion. From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 20:23:41 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 668ED16A403; Mon, 29 Jan 2007 20:23:41 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 962AB13C467; Mon, 29 Jan 2007 20:23:38 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([85.172.12.131]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l0TKNIXG032747; Mon, 29 Jan 2007 23:23:28 +0300 (MSK) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HBd1P-0000DI-WA; Mon, 29 Jan 2007 23:22:35 +0300 To: Divacky Roman References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122164926.GA8146@stud.fit.vutbr.cz> <24984594@bsam.ru> <20070129091006.GA19174@stud.fit.vutbr.cz> From: Boris Samorodov Date: Mon, 29 Jan 2007 23:22:35 +0300 In-Reply-To: <20070129091006.GA19174@stud.fit.vutbr.cz> (Divacky Roman's message of "Mon, 29 Jan 2007 10:10:06 +0100") Message-ID: <91054724@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: emulation@freebsd.org, current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 20:23:41 -0000 On Mon, 29 Jan 2007 10:10:06 +0100 Divacky Roman wrote: > On Mon, Jan 29, 2007 at 02:22:53AM +0300, Boris Samorodov wrote: > > On Mon, 22 Jan 2007 17:49:26 +0100 Divacky Roman wrote: > > > On Sat, Jan 20, 2007 at 05:07:23PM +0100, Alexander Leidinger wrote: > > > > > > today I committed the last fixes for the showstopper problems (panics) > > > > in the linux 2.6.16 emulation. I intend to switch the default version > > > > to 2.6.16 on i386 "soon" (see below), so please help testing it. > > > > > to be more precise.. we want testing on -current on i386... > > > any other report is useles. except for reports from p4 linuxulator > > > branch on 2.6/amd64.. > > > > Here are some test results (for 2.6.16 linux emulation) at: > > $ uname -a > > FreeBSD bsam.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jan 24 01:58:12 MSK 2007 bsam@bsam.ru:/usr/obj/usr/src/sys/GENERIC i386 > > > > ...and linux_base-fc6 (a port from my repository), other port > > dependencies are from FC4: > > > > 1. Just work (sometimes messages about an unimplemented syscall(s) do > > appear): > > - print/acroread7 > > - www/linux-opera > > - www/linux-firefox > > - www/linux-flashplugin7 > > - mail/linux-thunderbird > > - multimedia/linux-realplayer > please post those messages about unimplemented syscalls, thnx So far I have this one: ----- Jan 29 17:49:18 bsam kernel: linux: pid 892 (pwd): syscall openat not implemented ----- > > 2. Works but coredumps when exitting: > > - net/skype > cant reproduce that. I have proceses left when I "click on exit in skype" but I guess > its normal as skype wants to be able to answer a phone call. There is no coredump with linux_base-fc4_9 -- I got it with linux_base-fc6. > > 3. Is not executed (some new... or old libraries are needed): > > - www/linux-mozilla. > but this doesnt relate to 2.6 emulation, right? Yes. And this port is OK with linux_base-fc4_9. > > Sometimes (not stable result) I get the following LOR. This one I got > > while testing net/skype: [LOR deletted] > I'll investigate that. thnx Just one LOR more (but the same bug?): ----- Jan 29 17:38:53 bsam kernel: lock order reversal: Jan 29 17:38:53 bsam kernel: 1st 0xc0bd58a0 emuldata->shared lock (emuldata->shared lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:117 Jan 29 17:38:53 bsam kernel: 2nd 0xc0bd58e0 emuldata lock (emuldata lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:67 Jan 29 17:38:53 bsam kernel: KDB: stack backtrace: Jan 29 17:38:53 bsam kernel: db_trace_self_wrapper(c09442e5) at db_trace_self_wrapper+0x25 Jan 29 17:38:53 bsam kernel: kdb_backtrace(0,ffffffff,c0a525d0,c0a525f8,c09ed16c,...) at kdb_backtrace+0x29 Jan 29 17:38:53 bsam kernel: witness_checkorder(c0bd58e0,9,c0bd2066,43) at witness_checkorder+0x586 Jan 29 17:38:53 bsam kernel: _sx_xlock(c0bd58e0,c0bd2066,43,c4597240,312,...) at _sx_xlock+0x50 Jan 29 17:38:53 bsam kernel: em_find(c472c900,1,c0bd58a0,c0bd2066,75,...) at em_find+0x51 Jan 29 17:38:53 bsam kernel: linux_proc_init(c45e8510,312,3d0f00,0,16,...) at linux_proc_init+0xbd Jan 29 17:38:53 bsam kernel: linux_clone(c45e8510,e6946d00) at linux_clone+0x8b Jan 29 17:38:53 bsam kernel: syscall(e6946d38) at syscall+0x256 Jan 29 17:38:53 bsam kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20 Jan 29 17:38:53 bsam kernel: --- syscall (758682804), eip = 0x2, esp = 0xe6946d74, ebp = 0xbfbfd304 --- ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 20:38:07 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FF9B16A40E; Mon, 29 Jan 2007 20:38:07 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id AA8A413C478; Mon, 29 Jan 2007 20:38:06 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l0TKc5Jf098640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jan 2007 21:38:05 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l0TKc5J9098639; Mon, 29 Jan 2007 21:38:05 +0100 (CET) Date: Mon, 29 Jan 2007 21:38:05 +0100 From: Divacky Roman To: Boris Samorodov Message-ID: <20070129203805.GA98405@stud.fit.vutbr.cz> References: <20070120170723.34c223fb@Magellan.Leidinger.net> <20070122164926.GA8146@stud.fit.vutbr.cz> <24984594@bsam.ru> <20070129091006.GA19174@stud.fit.vutbr.cz> <91054724@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91054724@bsam.ru> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: emulation@freebsd.org, current@freebsd.org Subject: Re: CFT/HEADS-UP: linux 2.6.16 emulation X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 20:38:07 -0000 > So far I have this one: > ----- > Jan 29 17:49:18 bsam kernel: linux: pid 892 (pwd): syscall openat not implemented hm... sounds like I already have this implemented in p4. can you please check if my implementation in p4 is ok? the LTP test is obviously broken. thnx > > > 2. Works but coredumps when exitting: > > > - net/skype > > > cant reproduce that. I have proceses left when I "click on exit in skype" but I guess > > its normal as skype wants to be able to answer a phone call. > > There is no coredump with linux_base-fc4_9 -- I got it with > linux_base-fc6. hm... where can I get this stuff? :) and btw.. I am getting a coredump of the operaplugin* thing. > > > Sometimes (not stable result) I get the following LOR. This one I got > > > while testing net/skype: > [LOR deletted] > > I'll investigate that. thnx > > Just one LOR more (but the same bug?): > ----- > Jan 29 17:38:53 bsam kernel: lock order reversal: > Jan 29 17:38:53 bsam kernel: 1st 0xc0bd58a0 emuldata->shared lock (emuldata->shared lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:117 > Jan 29 17:38:53 bsam kernel: 2nd 0xc0bd58e0 emuldata lock (emuldata lock) @ /usr/src/sys/modules/linux/../../compat/linux/linux_emul.c:67 > Jan 29 17:38:53 bsam kernel: KDB: stack backtrace: > Jan 29 17:38:53 bsam kernel: db_trace_self_wrapper(c09442e5) at db_trace_self_wrapper+0x25 > Jan 29 17:38:53 bsam kernel: kdb_backtrace(0,ffffffff,c0a525d0,c0a525f8,c09ed16c,...) at kdb_backtrace+0x29 > Jan 29 17:38:53 bsam kernel: witness_checkorder(c0bd58e0,9,c0bd2066,43) at witness_checkorder+0x586 > Jan 29 17:38:53 bsam kernel: _sx_xlock(c0bd58e0,c0bd2066,43,c4597240,312,...) at _sx_xlock+0x50 > Jan 29 17:38:53 bsam kernel: em_find(c472c900,1,c0bd58a0,c0bd2066,75,...) at em_find+0x51 > Jan 29 17:38:53 bsam kernel: linux_proc_init(c45e8510,312,3d0f00,0,16,...) at linux_proc_init+0xbd > Jan 29 17:38:53 bsam kernel: linux_clone(c45e8510,e6946d00) at linux_clone+0x8b > Jan 29 17:38:53 bsam kernel: syscall(e6946d38) at syscall+0x256 > Jan 29 17:38:53 bsam kernel: Xint0x80_syscall() at Xint0x80_syscall+0x20 > Jan 29 17:38:53 bsam kernel: --- syscall (758682804), eip = 0x2, esp = 0xe6946d74, ebp = 0xbfbfd304 --- hm.. lemme work on this :) (I'll post you a patch in a few minutes) thnx! From owner-freebsd-current@FreeBSD.ORG Mon Jan 29 21:48:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57E1716A401 for ; Mon, 29 Jan 2007 21:48:54 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9A2C413C478 for ; Mon, 29 Jan 2007 21:48:52 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 29 Jan 2007 16:48:42 -0500 X-IronPort-AV: i="4.13,253,1167627600"; d="scan'208"; a="399642930:sNHT26891548" Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id IEK76036; Mon, 29 Jan 2007 16:48:36 -0500 (EST) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 29 Jan 2007 16:48:35 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17854.27369.656331.328734@jerusalem.litteratus.org> Date: Mon, 29 Jan 2007 16:45:13 -0500 To: freebsd-current@freebsd.org In-Reply-To: <20070126224352.GD927@turion.vk2pj.dyndns.org> References: <20070126224352.GD927@turion.vk2pj.dyndns.org> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090208.45BE6BB7.00BD,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2007 21:48:54 -0000 Peter Jeremy writes: > > > $DUMP_LEVEL -D $DUMPDATES_FILE -Lau -f > > > > > > gets me 2 +/- 0.2 mbytes/sec. > > > Is this a reasonable value? (I.e. is dump the limiting > > > factor?) Do I need to reconfigure something, or is my hardware just > > > lame? > > I presume you are dumping an internal SCSI disk onto a USB disk. Dump > is slow but shouldn't be that slow. Doing a dump of root, I get > 10MB/s on one system and 15MB/s on another. Even my P-120 firewall > gets 2.7MB/s and it is actually CPU limited, not disk limited. What > do you get if you do the dump to /dev/null? huff@>>dump 0 -D /tmp/DF -Lau -f /dev/null /usr >& /tmp/null_dump huff@>>cat /tmp/null_dump DUMP: Date of this level 0 dump: Mon Jan 29 10:26:38 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da1s1d (/usr) to /dev/null DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 27192344 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 0.75% done, finished in 11:01 at Mon Jan 29 21:33:18 2007 DUMP: 3.10% done, finished in 5:12 at Mon Jan 29 15:49:28 2007 DUMP: 5.74% done, finished in 4:06 at Mon Jan 29 14:48:31 2007 etc. DUMP: 95.56% done, finished in 0:10 at Mon Jan 29 14:12:07 2007 DUMP: 97.56% done, finished in 0:05 at Mon Jan 29 14:12:37 2007 DUMP: 99.22% done, finished in 0:01 at Mon Jan 29 14:13:52 2007 DUMP: 99.99% done, finished soon DUMP: DUMP: 27485576 tape blocks on 1 volume DUMP: finished in 13818 seconds, throughput 1989 KBytes/sec DUMP: level 0 dump on Mon Jan 29 10:26:38 2007 DUMP: Closing /dev/null DUMP: DUMP IS DONE It would seem the USB connection is not the bottleneck. :-) The last possibility would be a local misconfiguration that limits the speed. Ideas for what that might be are appreciated, But assuming it really is dump - what next? Robert Huff From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 06:43:52 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB6AC16A403; Tue, 30 Jan 2007 06:43:52 +0000 (UTC) (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 A35E013C467; Tue, 30 Jan 2007 06:43:52 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l0U6hpon082808; Tue, 30 Jan 2007 01:43:51 -0500 (EST) (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.8/8.13.8) with ESMTP id l0U6hp56056170; Tue, 30 Jan 2007 01:43:51 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id A290E73034; Tue, 30 Jan 2007 01:43:51 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070130064351.A290E73034@freebsd-current.sentex.ca> Date: Tue, 30 Jan 2007 01:43:51 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 06:43:52 -0000 TB --- 2007-01-30 05:33:29 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-01-30 05:33:29 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2007-01-30 05:33:29 - cleaning the object tree TB --- 2007-01-30 05:34:04 - checking out the source tree TB --- 2007-01-30 05:34:04 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2007-01-30 05:34:04 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-01-30 05:47:45 - building world (CFLAGS=-O2 -pipe) TB --- 2007-01-30 05:47:45 - cd /src TB --- 2007-01-30 05:47:45 - /usr/bin/make -B buildworld >>> World build started on Tue Jan 30 05:47:47 UTC 2007 >>> 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 >>> World build completed on Tue Jan 30 06:41:55 UTC 2007 TB --- 2007-01-30 06:41:55 - generating LINT kernel config TB --- 2007-01-30 06:41:55 - cd /src/sys/sparc64/conf TB --- 2007-01-30 06:41:55 - /usr/bin/make -B LINT TB --- 2007-01-30 06:41:55 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-01-30 06:41:55 - cd /src TB --- 2007-01-30 06:41:55 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jan 30 06:41:55 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ofw/ofw_bus_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/sparc64/pci/ofw_pci_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding /src/sys/fs/msdosfs/msdosfs_vfsops.c:78:25: opt_msdosfs.h: No such file or directory /src/sys/fs/msdosfs/msdosfs_vnops.c:83:25: opt_msdosfs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-01-30 06:43:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-01-30 06:43:51 - ERROR: failed to build lint kernel TB --- 2007-01-30 06:43:51 - tinderbox aborted TB --- 0.73 user 2.34 system 4221.81 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 06:47:04 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2321B16A405; Tue, 30 Jan 2007 06:47:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id E3EB213C4B7; Tue, 30 Jan 2007 06:47:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id l0U6l2Fc080295; Tue, 30 Jan 2007 01:47:02 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l0U6l24v013942; Tue, 30 Jan 2007 01:47:02 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 82EF173034; Tue, 30 Jan 2007 01:47:02 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070130064702.82EF173034@freebsd-current.sentex.ca> Date: Tue, 30 Jan 2007 01:47:02 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 06:47:04 -0000 TB --- 2007-01-30 05:40:03 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-01-30 05:40:03 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2007-01-30 05:40:03 - cleaning the object tree TB --- 2007-01-30 05:40:43 - checking out the source tree TB --- 2007-01-30 05:40:43 - cd /tinderbox/HEAD/sparc64/sun4v TB --- 2007-01-30 05:40:43 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-01-30 05:52:38 - building world (CFLAGS=-O2 -pipe) TB --- 2007-01-30 05:52:38 - cd /src TB --- 2007-01-30 05:52:38 - /usr/bin/make -B buildworld >>> World build started on Tue Jan 30 05:52:39 UTC 2007 >>> 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 >>> World build completed on Tue Jan 30 06:45:40 UTC 2007 TB --- 2007-01-30 06:45:40 - generating LINT kernel config TB --- 2007-01-30 06:45:40 - cd /src/sys/sun4v/conf TB --- 2007-01-30 06:45:40 - /usr/bin/make -B LINT TB --- 2007-01-30 06:45:41 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-01-30 06:45:41 - cd /src TB --- 2007-01-30 06:45:41 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jan 30 06:45:41 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ofw/ofw_bus_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/sparc64/pci/ofw_pci_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/sun4v/mdesc/mdesc_bus_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding /src/sys/fs/msdosfs/msdosfs_vfsops.c:78:25: opt_msdosfs.h: No such file or directory /src/sys/fs/msdosfs/msdosfs_vnops.c:83:25: opt_msdosfs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-01-30 06:47:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-01-30 06:47:02 - ERROR: failed to build lint kernel TB --- 2007-01-30 06:47:02 - tinderbox aborted TB --- 0.59 user 1.98 system 4018.76 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 07:57:10 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AECE16A400 for ; Tue, 30 Jan 2007 07:57:10 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 08E9A13C467 for ; Tue, 30 Jan 2007 07:57:09 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0U7v8Hv001179; Tue, 30 Jan 2007 18:57:08 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0U7v8hO001178; Tue, 30 Jan 2007 18:57:08 +1100 (EST) (envelope-from peter) Date: Tue, 30 Jan 2007 18:57:08 +1100 From: Peter Jeremy To: Robert Huff Message-ID: <20070130075708.GB892@turion.vk2pj.dyndns.org> References: <20070126224352.GD927@turion.vk2pj.dyndns.org> <17854.27369.656331.328734@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <17854.27369.656331.328734@jerusalem.litteratus.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-current@freebsd.org Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 07:57:10 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 2007-Jan-29 16:45:13 -0500, Robert Huff wrote: >huff@>>dump 0 -D /tmp/DF -Lau -f /dev/null /usr >& /tmp/null_dump I'd drop the '-u' and '-D' and add a '-C'. When sizing the cache, take into account that each dump subprocess (typically around 5) will allocate that much RAM. >huff@>>cat /tmp/null_dump =2E.. > DUMP: DUMP: 27485576 tape blocks on 1 volume > DUMP: finished in 13818 seconds, throughput 1989 KBytes/sec That is not good. Presumably the dmesg output looks sane (ie it's not running narrow SCSI-1) and dd (or similar) report decent thruput. Can you provide some more details on the FS? What are the block and frag sizes and how many inodes are used? --=20 Peter Jeremy --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFvvpT/opHv/APuIcRAmj/AJ9qz6VFBkeiiNJqMClyBBqWYGxMQwCgsjhg fsAXVq8oVWKk3rVgyTuudao= =ZpKE -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 08:23:58 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D1F916A405; Tue, 30 Jan 2007 08:23:58 +0000 (UTC) (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 248BB13C442; Tue, 30 Jan 2007 08:23:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l0U8Nvo8088006; Tue, 30 Jan 2007 03:23:57 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l0U8Nv1L067656; Tue, 30 Jan 2007 03:23:57 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 1917873034; Tue, 30 Jan 2007 03:23:56 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070130082357.1917873034@freebsd-current.sentex.ca> Date: Tue, 30 Jan 2007 03:23:56 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 08:23:58 -0000 TB --- 2007-01-30 06:50:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-01-30 06:50:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2007-01-30 06:50:00 - cleaning the object tree TB --- 2007-01-30 06:50:57 - checking out the source tree TB --- 2007-01-30 06:50:57 - cd /tinderbox/HEAD/amd64/amd64 TB --- 2007-01-30 06:50:57 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-01-30 07:01:52 - building world (CFLAGS=-O2 -pipe) TB --- 2007-01-30 07:01:52 - cd /src TB --- 2007-01-30 07:01:52 - /usr/bin/make -B buildworld >>> World build started on Tue Jan 30 07:01:54 UTC 2007 >>> 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 >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Tue Jan 30 08:20:44 UTC 2007 TB --- 2007-01-30 08:20:44 - generating LINT kernel config TB --- 2007-01-30 08:20:44 - cd /src/sys/amd64/conf TB --- 2007-01-30 08:20:44 - /usr/bin/make -B LINT TB --- 2007-01-30 08:20:44 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-01-30 08:20:44 - cd /src TB --- 2007-01-30 08:20:44 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jan 30 08:20:44 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/pci/agp_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding /src/sys/fs/msdosfs/msdosfs_vfsops.c:78:25: opt_msdosfs.h: No such file or directory /src/sys/fs/msdosfs/msdosfs_vnops.c:83:25: opt_msdosfs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-01-30 08:23:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-01-30 08:23:56 - ERROR: failed to build lint kernel TB --- 2007-01-30 08:23:56 - tinderbox aborted TB --- 0.90 user 3.52 system 5635.83 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 09:18:28 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B6D616A401; Tue, 30 Jan 2007 09:18:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 0EEF613C48D; Tue, 30 Jan 2007 09:18:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id l0U9IRtP085425; Tue, 30 Jan 2007 04:18:27 -0500 (EST) (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.8/8.13.8) with ESMTP id l0U9IQ18032868; Tue, 30 Jan 2007 04:18:26 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id BAC3773034; Tue, 30 Jan 2007 04:18:26 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070130091826.BAC3773034@freebsd-current.sentex.ca> Date: Tue, 30 Jan 2007 04:18:26 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 09:18:28 -0000 TB --- 2007-01-30 07:58:22 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-01-30 07:58:22 - starting HEAD tinderbox run for i386/i386 TB --- 2007-01-30 07:58:22 - cleaning the object tree TB --- 2007-01-30 07:59:04 - checking out the source tree TB --- 2007-01-30 07:59:04 - cd /tinderbox/HEAD/i386/i386 TB --- 2007-01-30 07:59:04 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-01-30 08:14:53 - building world (CFLAGS=-O2 -pipe) TB --- 2007-01-30 08:14:53 - cd /src TB --- 2007-01-30 08:14:53 - /usr/bin/make -B buildworld >>> World build started on Tue Jan 30 08:14:55 UTC 2007 >>> 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 >>> World build completed on Tue Jan 30 09:16:14 UTC 2007 TB --- 2007-01-30 09:16:14 - generating LINT kernel config TB --- 2007-01-30 09:16:14 - cd /src/sys/i386/conf TB --- 2007-01-30 09:16:14 - /usr/bin/make -B LINT TB --- 2007-01-30 09:16:15 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-01-30 09:16:15 - cd /src TB --- 2007-01-30 09:16:15 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jan 30 09:16:15 UTC 2007 >>> 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 [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/pci/agp_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h rm -f .newdep /usr/bin/make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP="cc -E" CC="cc" xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/contrib/pf -I/src/sys/dev/ath -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/gnu/fs/xfs/FreeBSD -I/src/sys/gnu/fs/xfs/FreeBSD/support -I/src/sys/gnu/fs/xfs -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding /src/sys/fs/msdosfs/msdosfs_vfsops.c:78:25: opt_msdosfs.h: No such file or directory /src/sys/fs/msdosfs/msdosfs_vnops.c:83:25: opt_msdosfs.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-01-30 09:18:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-01-30 09:18:26 - ERROR: failed to build lint kernel TB --- 2007-01-30 09:18:26 - tinderbox aborted TB --- 0.84 user 2.78 system 4803.98 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 14:00:37 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3AA616A400 for ; Tue, 30 Jan 2007 14:00:37 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 78DB813C442 for ; Tue, 30 Jan 2007 14:00:37 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id D85235F41; Tue, 30 Jan 2007 16:28:43 +0300 (MSK) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id B6AE65F12; Tue, 30 Jan 2007 16:28:43 +0300 (MSK) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id l0UDSd7I001584; Tue, 30 Jan 2007 16:28:39 +0300 (MSK) (envelope-from ru) Date: Tue, 30 Jan 2007 16:28:39 +0300 From: Ruslan Ermilov To: LI Xin Message-ID: <20070130132839.GA1052@rambler-co.ru> References: <45B97535.5070900@delphij.net> <45B997ED.7000605@delphij.net> <45B99C6E.2030803@delphij.net> <1C63ACE4-DD1E-4FDB-A36B-F3D9650773EF@mac.com> <45B9AA00.3030906@delphij.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <45B9AA00.3030906@delphij.net> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Marcel Moolenaar , FreeBSD Current Subject: Re: PowerPC port broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 14:00:37 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 26, 2007 at 03:13:04PM +0800, LI Xin wrote: > Marcel Moolenaar wrote: > >=20 > > On Jan 25, 2007, at 10:15 PM, LI Xin wrote: > >=20 > >> Latest build shows this: > >> > >> (What does Assembler messages: > >> FATAL: can't create crtbegin.o: Invalid bfd target > >> mean for me, by the way?) > >=20 > > This probably means that the wrong compiler driver or > > assembler is being picked up. One that doesn't isn't > > targeting powerpc. > >=20 > > I'll fire-up a cross-build on my amd64 and get back > > to you... > >=20 > >> Stop in /usr/src. > >> > >> [1] Exit 1 make buildworld TARGET=3Dpowerpc > >> __MAKE_CONF=3D/dev/null > _.powerpc.buildworld > >=20 > > What happens if you set TARGET_ARCH instead of TARGET? >=20 > Still same problem... Do we have a public reference PowerPC box for > committers to test changes? This is the only platform I have not tested > my gzip related changes :-) >=20 We've a fix for this problem since last summer. See PR amd64/102996 for details and the patch. Please don't ask me about committing it into our Binutils. :-) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFv0gHqRfpzJluFF4RAkCjAJ9XuKWlf19ern8U5gGVqif66v+W6wCeNFE7 5qzivaD9kXDr48Mcq2Sfo/U= =a+ul -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 16:47:55 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 290EE16A401 for ; Tue, 30 Jan 2007 16:47:55 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id E325B13C474 for ; Tue, 30 Jan 2007 16:47:54 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id l0UGlsGR019881 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 30 Jan 2007 11:47:54 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l0UGlmQs034776; Tue, 30 Jan 2007 11:47:48 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17855.30388.764471.322562@grasshopper.cs.duke.edu> Date: Tue, 30 Jan 2007 11:47:48 -0500 (EST) To: freebsd-current@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: restoring PCI config space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 16:47:55 -0000 I need to write a watchdog handler for mxge(4). The catch is that if the NIC resets due to a hardware error, it will reset its config space (setting BAR to 0, disabling DMA, forgetting MSI addr/data, etc), so the driver's watchdog handler needs to be able to restore it. How do I do this properly on FreeBSD? Browsing around the source tree, I see that the pci function pci_cfg_restore() seems to do exactly what I want, but it is private to the pci code, and seems to be called from the bowels of the resume path. Is there a clean way I can leverage pci_cfg_restore(), or should I just save an extra copy of the device's PCI config space myself? Thanks, Drew From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 16:56:44 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BFAB16A400 for ; Tue, 30 Jan 2007 16:56:44 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 5038013C48E for ; Tue, 30 Jan 2007 16:56:44 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l0UGuVkf077397; Tue, 30 Jan 2007 09:56:37 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45BF78B5.1050305@samsco.org> Date: Tue, 30 Jan 2007 09:56:21 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Andrew Gallatin References: <17855.30388.764471.322562@grasshopper.cs.duke.edu> In-Reply-To: <17855.30388.764471.322562@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Tue, 30 Jan 2007 09:56:37 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: restoring PCI config space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 16:56:44 -0000 Andrew Gallatin wrote: > I need to write a watchdog handler for mxge(4). The catch is that if > the NIC resets due to a hardware error, it will reset its config space > (setting BAR to 0, disabling DMA, forgetting MSI addr/data, etc), so > the driver's watchdog handler needs to be able to restore it. How do > I do this properly on FreeBSD? > > Browsing around the source tree, I see that the pci function > pci_cfg_restore() seems to do exactly what I want, but it is private > to the pci code, and seems to be called from the bowels of the resume > path. Is there a clean way I can leverage pci_cfg_restore(), or > should I just save an extra copy of the device's PCI config space > myself? > > Thanks, > > Drew > I need to do the same thing, and I concluded that pci_cfg_restore needs to be exported out via a DEVMETHOD. It might also be useful to export a pci_cfg_save function. Scott From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 17:05:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AAED16A403 for ; Tue, 30 Jan 2007 17:05:54 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id 476D713C471 for ; Tue, 30 Jan 2007 17:05:54 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id l0UH5r54024764 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 30 Jan 2007 12:05:53 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l0UH5i3T034800; Tue, 30 Jan 2007 12:05:44 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17855.31464.891778.783293@grasshopper.cs.duke.edu> Date: Tue, 30 Jan 2007 12:05:44 -0500 (EST) To: Scott Long In-Reply-To: <45BF78B5.1050305@samsco.org> References: <17855.30388.764471.322562@grasshopper.cs.duke.edu> <45BF78B5.1050305@samsco.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: freebsd-current@freebsd.org Subject: Re: restoring PCI config space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 17:05:54 -0000 Scott Long writes: > I need to do the same thing, and I concluded that pci_cfg_restore needs > to be exported out via a DEVMETHOD. It might also be useful to export Hurray! Do you plan to do this soon? > a pci_cfg_save function. Doesn't the config space get saved in pci_add_child? Drew From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 20:05:04 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0AECC16A403 for ; Tue, 30 Jan 2007 20:05:03 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id AEFA913C491 for ; Tue, 30 Jan 2007 20:05:03 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 30 Jan 2007 15:05:02 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MVQ72874; Tue, 30 Jan 2007 15:04:42 -0500 (EST) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 30 Jan 2007 15:04:40 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17855.41967.928998.142397@jerusalem.litteratus.org> Date: Tue, 30 Jan 2007 15:00:47 -0500 To: freebsd-current@freebsd.org In-Reply-To: <20070130075708.GB892@turion.vk2pj.dyndns.org> References: <20070126224352.GD927@turion.vk2pj.dyndns.org> <17854.27369.656331.328734@jerusalem.litteratus.org> <20070130075708.GB892@turion.vk2pj.dyndns.org> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090204.45BFA4EE.0063,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 20:05:04 -0000 Peter Jeremy writes: > >huff@>>dump 0 -D /tmp/DF -Lau -f /dev/null /usr >& /tmp/null_dump > > I'd drop the '-u' and '-D' and add a '-C'. When sizing the cache, > take into account that each dump subprocess (typically around 5) > will allocate that much RAM. huff@>>dump 0 -La -C 32 -f /dev/null /usr >& /tmp/null_dump huff@>>cat /tmp/null_dump DUMP: Date of this level 0 dump: Tue Jan 30 08:54:55 2007 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da1s1d (/usr) to /dev/null DUMP: mapping (Pass I) [regular files] DUMP: Cache 32 MB, blocksize = 65536 DUMP: mapping (Pass II) [directories] DUMP: estimated 26869650 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: 0.55% done, finished in 15:06 at Wed Jan 31 00:06:45 2007 DUMP: dumping (Pass IV) [regular files] DUMP: 3.12% done, finished in 5:10 at Tue Jan 30 14:15:50 2007 DUMP: 6.47% done, finished in 3:36 at Tue Jan 30 12:47:08 2007 DUMP: 96.97% done, finished in 0:06 at Tue Jan 30 12:26:50 2007 DUMP: 98.77% done, finished in 0:02 at Tue Jan 30 12:28:03 2007 DUMP: 99.99% done, finished soon DUMP: DUMP: 27162681 tape blocks on 1 volume DUMP: finished in 12961 seconds, throughput 2095 KBytes/sec DUMP: Closing /dev/null DUMP: DUMP IS DONE For comparison: huff@>> dd if=/backup/Tue/usr/2007.Jan.30.usr.dump.tgz of=/dev/null 901411+1 records in 901411+1 records out 461522455 bytes transferred in 40.817512 secs (11306972 bytes/sec) > >huff@>>cat /tmp/null_dump > ... > > DUMP: DUMP: 27485576 tape blocks on 1 volume > > DUMP: finished in 13818 seconds, throughput 1989 KBytes/sec > > That is not good. Presumably the dmesg output looks sane (ie it's > not running narrow SCSI-1) and dd (or similar) report decent > thruput. kernel: ahc0: port 0xa400-0xa4ff mem 0xf1000000-0xf1000fff irq 11 at device 8.0 on pci0 kernel: ahc0: [GIANT-LOCKED] jerusalem kernel: da1 at ahc0 bus 0 target 4 lun 0 jerusalem kernel: da1: Fixed Direct Access SCSI-2 device jerusalem kernel: da1: 80.000MB/s transfers (40.000MHz, offset 15, 16bit) jerusalem kernel: da1: Command Queueing Enabled jerusalem kernel: da1: 47702MB (97693755 512 byte sectors: 255H 63S/T 6081C) > Can you provide some more details on the FS? What are the block > and frag sizes It's UFS2, with default Block and frag sizes. > and how many inodes are used? huff@>>df -i | grep usr Filesystem 1024-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/da1s1d 46287340 26883474 15700880 63% 423220 5582538 7% /usr Robert Huff From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 20:31:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41F8116A400 for ; Tue, 30 Jan 2007 20:31:11 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id E617213C4A8 for ; Tue, 30 Jan 2007 20:31:10 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id l0UKVAYW020745 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 30 Jan 2007 15:31:10 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l0UKV5pE034951; Tue, 30 Jan 2007 15:31:05 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17855.43785.77326.42561@grasshopper.cs.duke.edu> Date: Tue, 30 Jan 2007 15:31:05 -0500 (EST) To: freebsd-current@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: if_ioctl locking X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 20:31:11 -0000 Can somebody please point me to a good example of network driver which does its if_ioctl locking correctly? Thanks, Drew From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 23:12:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9FDF16A405 for ; Tue, 30 Jan 2007 23:12:12 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 38AC413C471 for ; Tue, 30 Jan 2007 23:12:11 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0UNCAVc004226; Wed, 31 Jan 2007 10:12:10 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0UNCAnQ004225; Wed, 31 Jan 2007 10:12:10 +1100 (EST) (envelope-from peter) Date: Wed, 31 Jan 2007 10:12:10 +1100 From: Peter Jeremy To: Robert Huff Message-ID: <20070130231210.GR892@turion.vk2pj.dyndns.org> References: <20070126224352.GD927@turion.vk2pj.dyndns.org> <17854.27369.656331.328734@jerusalem.litteratus.org> <20070130075708.GB892@turion.vk2pj.dyndns.org> <17855.41967.928998.142397@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="z+pzSjdB7cqptWpS" Content-Disposition: inline In-Reply-To: <17855.41967.928998.142397@jerusalem.litteratus.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-current@freebsd.org Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 23:12:12 -0000 --z+pzSjdB7cqptWpS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, 2007-Jan-30 15:00:47 -0500, Robert Huff wrote: >huff@>>dump 0 -La -C 32 -f /dev/null /usr >& /tmp/null_dump > DUMP: DUMP: 27162681 tape blocks on 1 volume > DUMP: finished in 12961 seconds, throughput 2095 KBytes/sec Still fairly atrocious. What about: dd if=3D/dev/da1s1d of=3D/dev/null bs=3D2k count=3D5120 dd if=3D/dev/da1s1d of=3D/dev/null bs=3D16k count=3D640 dd if=3D/dev/da1s1d of=3D/dev/null bs=3D64k count=3D160 >Filesystem 1024-blocks Used Avail Capacity iused ifree %iused M= ounted on >/dev/da1s1d 46287340 26883474 15700880 63% 423220 5582538 7% /= usr There's definitely something amiss on your system. I don't have a SCSI system at home but I see: # dump -0a -f /dev/null -C 32 -L /var =2E.. DUMP: DUMP: 5825156 tape blocks on 1 volume DUMP: finished in 533 seconds, throughput 10928 KBytes/sec #=20 # dump -0a -f /dev/null -C 32 -L /usr =2E.. DUMP: DUMP: 2883438 tape blocks on 1 volume DUMP: finished in 391 seconds, throughput 7374 KBytes/sec # df -ki /usr /var Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mo= unte /dev/ad3s1d 8122126 2744650 4727706 37% 165650 894188 16% /u= sr /dev/ad3s1e 8114104 5686582 1778394 76% 174183 885655 16% /v= ar Even my laptop manages: # df -ki /usr Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mount= ed /dev/ad0s2e 16244334 13028280 1916508 87% 616595 1503083 29% /usr # dump -0a -f /dev/null -C 32 -L /usr =2E.. DUMP: DUMP: 13507693 tape blocks on 1 volume DUMP: finished in 1425 seconds, throughput 9479 KBytes/sec One last possibility: Is something else hammering da1? You might like to have a look at iostat or systat -v and see if there's anything that looks odd. --=20 Peter Jeremy --z+pzSjdB7cqptWpS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFv9DK/opHv/APuIcRArCSAJ9IadP/GPvcnYH4RavYbedcPQyHYQCgnQX/ 8PskYS+UJH2KIHxSoRLWYu8= =dEyp -----END PGP SIGNATURE----- --z+pzSjdB7cqptWpS-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 01:04:52 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBB3216A403; Wed, 31 Jan 2007 01:04:52 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id CB55713C4A5; Wed, 31 Jan 2007 01:04:52 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l0V14hEo049613; Tue, 30 Jan 2007 17:04:43 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l0V14he1049612; Tue, 30 Jan 2007 17:04:43 -0800 (PST) (envelope-from rizzo) Date: Tue, 30 Jan 2007 17:04:43 -0800 From: Luigi Rizzo To: current@freebsd.org Message-ID: <20070130170443.A49225@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: usb@freebsd.org Subject: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 01:04:53 -0000 I think I reached a first interesting milestone in my project to build an emulation layer to compile linux device drivers on FreeBSD. I managed to build a FreeBSD port of the linux 'gspca' driver (which claims to support 228 different webcams) with basically no modifications to the original source. So it would be good if someone could give a try to this code, either on -current or -stable, keeping in mind that this is NOT PRODUCTION READY yet. More details on how the thing works are at http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html together of course with source code, and even binary modules for FreeBSD 6.2. Basically I would like to know how it builds/works on -current, have reports on cameras that work with it and those which don't and so on. The driver supports the Video4Linux API so it should be useful for a variety of applications. cheers luigi From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 01:17:12 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A53716A402 for ; Wed, 31 Jan 2007 01:17:12 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outP.internet-mail-service.net (outP.internet-mail-service.net [216.240.47.239]) by mx1.freebsd.org (Postfix) with ESMTP id 3005413C481 for ; Wed, 31 Jan 2007 01:17:12 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Tue, 30 Jan 2007 16:55:46 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id ED114125AE5; Tue, 30 Jan 2007 17:17:10 -0800 (PST) Message-ID: <45BFEE16.1080605@elischer.org> Date: Tue, 30 Jan 2007 17:17:10 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> In-Reply-To: <20070130170443.A49225@xorpc.icir.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 01:17:12 -0000 Luigi Rizzo wrote: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > to support 228 different webcams) with basically no modifications to > the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > > More details on how the thing works are at > > http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html > > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. project "not_quite_as_evil" ? > > cheers > luigi > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Tue Jan 30 20:45:14 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC1AC16A400 for ; Tue, 30 Jan 2007 20:45:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (palm.hoeg.nl [83.98.131.212]) by mx1.freebsd.org (Postfix) with ESMTP id 77CF213C4A5 for ; Tue, 30 Jan 2007 20:45:14 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 135B31CC78; Tue, 30 Jan 2007 21:45:13 +0100 (CET) Date: Tue, 30 Jan 2007 21:45:13 +0100 From: Ed Schouten To: Bill Paul Message-ID: <20070130204512.GG27282@hoeg.nl> References: <20070124190203.E80FB16A403@hub.freebsd.org> <20070124191309.D17A016A403@hub.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <20070124191309.D17A016A403@hub.freebsd.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Mailman-Approved-At: Wed, 31 Jan 2007 04:10:53 +0000 Cc: pyunyh@gmail.com, FreeBSD Current , r.c.ladan@gmail.com Subject: Re: Call for re(4) checksum offload testers. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 20:45:14 -0000 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Bill, I also suffered from this issue with my PC with Asus P5B motherboard. Distfiles often didn't fetch properly while building stuff from ports and Firefox didn't play around with Google nicely. After adding the bits to the RELENG_6 version of if_re.c, it worked! I can now use the on-board NIC on my machine like it should. Please note that I have some other patches applied to my if_re.c that were discussed on this list, but never got commited (switch to promisc without resetting the NIC, reverse order multicast hash registers): http://g-rave.nl/res/blog/47/if_re.c.diff Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --V0207lvV8h4k8FAm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFv65Y52SDGA2eCwURAhSfAJ9W1vT2NVIwEkRKIpAJ7j7SmZc5pQCdF3m0 vVV4lqNhhCNHp4eCuL1tE0E= =+8T5 -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 05:19:11 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6052516A402; Wed, 31 Jan 2007 05:19:11 +0000 (UTC) (envelope-from ken@stox.org) Received: from flpi102.sbcis.sbc.com (flpi102.sbcis.sbc.com [207.115.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 34E1413C428; Wed, 31 Jan 2007 05:19:11 +0000 (UTC) (envelope-from ken@stox.org) X-ORBL: [75.4.60.233] Received: from [192.168.2.3] (adsl-75-4-60-233.dsl.emhril.sbcglobal.net [75.4.60.233]) by flpi102.sbcis.sbc.com (8.13.8 out.dk.spool/8.13.8) with ESMTP id l0V4xump016175; Tue, 30 Jan 2007 20:59:57 -0800 From: "Kenneth P. Stox" To: Julian Elischer In-Reply-To: <45BFEE16.1080605@elischer.org> References: <20070130170443.A49225@xorpc.icir.org> <45BFEE16.1080605@elischer.org> Content-Type: text/plain Organization: The Stox Organization Date: Tue, 30 Jan 2007 22:59:50 -0600 Message-Id: <1170219590.6824.4.camel@stox.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, Luigi Rizzo , current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ken@stox.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 05:19:11 -0000 On Tue, 2007-01-30 at 17:17 -0800, Julian Elischer wrote: > project "not_quite_as_evil" ? Looks more evil to me, in fact a whole new dimension of evil, "evil_of_the_second_kind"? Think of all the cheezy taglines we could use from horror movie sequels? Moo Ha Ha ( church of the evil cow ) From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 06:10:20 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9D0A16A401 for ; Wed, 31 Jan 2007 06:10:20 +0000 (UTC) (envelope-from if@hetzner.co.za) Received: from mail1a.your-server.co.za (mail1a.your-server.co.za [196.7.18.227]) by mx1.freebsd.org (Postfix) with ESMTP id 290AC13C4AC for ; Wed, 31 Jan 2007 06:10:19 +0000 (UTC) (envelope-from if@hetzner.co.za) Received: from [192.168.2.25] (helo=hetzner.co.za) by mail1a.your-server.co.za with esmtpa (Exim 4.63) (envelope-from ) id 1HC8QN-0005FG-7X; Wed, 31 Jan 2007 07:54:27 +0200 Received: from localhost ([127.0.0.1]) by hetzner.co.za with esmtp (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HC8QK-0000Px-P5; Wed, 31 Jan 2007 07:54:24 +0200 To: Peter Jeremy From: Ian FREISLICH In-Reply-To: Message from Peter Jeremy of "Wed, 31 Jan 2007 10:12:10 +1100." <20070130231210.GR892@turion.vk2pj.dyndns.org> X-Attribution: BOFH Date: Wed, 31 Jan 2007 07:54:24 +0200 Message-Id: X-Authenticated-Sender: if@hetzner.co.za X-Virus-Scanned: Clear (ClamAV 0.88.4/2507/Wed Jan 31 01:00:28 2007) Cc: Robert Huff , freebsd-current@freebsd.org Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 06:10:21 -0000 Peter Jeremy wrote: > On Tue, 2007-Jan-30 15:00:47 -0500, Robert Huff wrote: > >huff@>>dump 0 -La -C 32 -f /dev/null /usr >& /tmp/null_dump > > DUMP: DUMP: 27162681 tape blocks on 1 volume > > DUMP: finished in 12961 seconds, throughput 2095 KBytes/sec > > Still fairly atrocious. What about: As a random datapoint that might or might not be related. In the last year or so I was pontificating about how much better SCSI was that IDE/ATA to my boss. I then did some benchmarks on my (CURRENT) system and discovered that an old 10Gig 7.5krpm UDMA33 disk significantly out perform some Seagate Cheatah LVD 10krpm disks. If you're interested, I'll see if I still have a copy of the benchmarks. Last time I looked, ahc(4) was still under GIANT. The ATA system has had a significant overhaul. Ian -- Ian Freislich From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 06:25:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E373D16A400 for ; Wed, 31 Jan 2007 06:25:16 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 996FE13C46B for ; Wed, 31 Jan 2007 06:25:16 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 31 Jan 2007 01:25:16 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MVS35052; Wed, 31 Jan 2007 01:25:14 -0500 (EST) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 31 Jan 2007 01:25:14 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17856.13650.964464.554063@jerusalem.litteratus.org> Date: Wed, 31 Jan 2007 01:21:06 -0500 To: freebsd-current@freebsd.org In-Reply-To: References: <20070130231210.GR892@turion.vk2pj.dyndns.org> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090201.45C0364B.0056,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 06:25:17 -0000 Ian FREISLICH writes: > > > DUMP: finished in 12961 seconds, throughput 2095 KBytes/sec > > As a random datapoint that might or might not be related. In the > last year or so I was pontificating about how much better SCSI > was that IDE/ATA to my boss. I then did some benchmarks on my > (CURRENT) system and discovered that an old 10Gig 7.5krpm UDMA33 > disk significantly out perform some Seagate Cheatah LVD 10krpm > disks. In supplemental testing (advised by Peter Jeremy) the disk has been able to transfer(read) 25 mbytes/sec - sufficient to declare it not the bottleneck. Additional testing will happen, but dump is by far the prime suspect. > Last time I looked, ahc(4) was still under GIANT. I noticed that. Is there any sentiment for pulling it free? And how much would that help? Robert Huff From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 06:45:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD33016A403 for ; Wed, 31 Jan 2007 06:45:33 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 65E7613C442 for ; Wed, 31 Jan 2007 06:45:32 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 4A6BAEB78CA; Wed, 31 Jan 2007 14:45:30 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 31oqe3-jOrT4; Wed, 31 Jan 2007 14:45:13 +0800 (CST) Received: from [10.217.12.24] (sina152-194.staff.sina.com.cn [61.135.152.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 9EE62EB2036; Wed, 31 Jan 2007 14:45:11 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to: subject:x-enigmail-version:content-type; b=dvVf9+tDv/4x76w/8weLnAjwTJztn97NtosZltt1yp7n2jIZmNRKbvwyDWRd6PqnV R4vJvXNbw94z2kjdwdEOQ== Message-ID: <45C03AF3.9090808@delphij.net> Date: Wed, 31 Jan 2007 14:45:07 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: FreeBSD Current , ighighi@gmail.com X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enigC5C7C43FF5C7677872D8E3F9" Cc: Subject: [PATCH] New feature: -k option for bsd gzip X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 06:45:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC5C7C43FF5C7677872D8E3F9 Content-Type: multipart/mixed; boundary="------------080009000100030206090108" This is a multi-part message in MIME format. --------------080009000100030206090108 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, As inspired by bin/103006, I have added an '-k' option for our BSD gzip, as in attachment. The -k option acts like bzip2(1)'s counterpart which requests gzip(1) to keep the file (instead of the default behavior, delete it). Comments? (A bsdgzip version backported to RELENG_6 can be obtained from http://people.freebsd.org/~delphij/gzip-r6/gzip.tbz ) Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------080009000100030206090108 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="patch-gzip-keep" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="patch-gzip-keep" Index: gzip.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.bin/gzip/gzip.1,v retrieving revision 1.1 diff -u -p -u -r1.1 gzip.1 --- gzip.1 26 Jan 2007 10:19:07 -0000 1.1 +++ gzip.1 31 Jan 2007 06:39:38 -0000 @@ -27,7 +27,7 @@ .\" SUCH DAMAGE. .\" .\" $FreeBSD: src/usr.bin/gzip/gzip.1,v 1.1 2007/01/26 10:19:07 delphij = Exp $ -.Dd January 26, 2007 +.Dd January 31, 2007 .Dt GZIP 1 .Os .Sh NAME @@ -35,7 +35,7 @@ .Nd compression/decompression tool using Lempel-Ziv coding (LZ77) .Sh SYNOPSIS .Nm -.Op Fl cdfhLlNnqrtVv +.Op Fl cdfhkLlNnqrtVv .Op Fl S Ar suffix .Ar file .Oo @@ -43,7 +43,7 @@ .Oc .Oc .Nm gunzip -.Op Fl cfhLNqrtVv +.Op Fl cfhkLNqrtVv .Op Fl S Ar suffix .Ar file .Oo @@ -124,6 +124,8 @@ with the option, allowing non-compressed data to pass through unchanged. .It Fl h , -help This option prints a usage summary and exits. +.It Fl k , -keep +Keep (don't delete) input files during compression or decompression. .It Fl L , -license This option prints .Nm Index: gzip.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/usr.bin/gzip/gzip.c,v retrieving revision 1.1 diff -u -p -u -r1.1 gzip.c --- gzip.c 26 Jan 2007 10:19:07 -0000 1.1 +++ gzip.c 31 Jan 2007 06:36:42 -0000 @@ -143,7 +143,7 @@ static suffixes_t suffixes[] =3D { }; #define NUM_SUFFIXES (sizeof suffixes / sizeof suffixes[0]) =20 -static const char gzip_version[] =3D "FreeBSD gzip 20070126"; +static const char gzip_version[] =3D "FreeBSD gzip 20070131"; =20 #ifndef SMALL static const char gzip_copyright[] =3D \ @@ -181,6 +181,7 @@ static int numflag =3D 6; /* gzip -1..-9=20 =20 #ifndef SMALL static int fflag; /* force mode */ +static int kflag; /* keep input file? */ static int nflag; /* don't save name/timestamp */ static int Nflag; /* don't restore name/timestamp */ static int qflag; /* quiet mode */ @@ -261,6 +262,7 @@ static const struct option longopts[] =3D=20 { "uncompress", no_argument, 0, 'd' }, { "force", no_argument, 0, 'f' }, { "help", no_argument, 0, 'h' }, + { "keep", no_argument, 0, 'k' }, { "list", no_argument, 0, 'l' }, { "no-name", no_argument, 0, 'n' }, { "name", no_argument, 0, 'N' }, @@ -308,7 +310,7 @@ main(int argc, char **argv) #ifdef SMALL #define OPT_LIST "123456789cdhltV" #else -#define OPT_LIST "123456789acdfhlLNnqrS:tVv" +#define OPT_LIST "123456789acdfhklLNnqrS:tVv" #endif =20 while ((ch =3D getopt_long(argc, argv, OPT_LIST, longopts, NULL)) !=3D = -1) { @@ -338,6 +340,9 @@ main(int argc, char **argv) case 'f': fflag =3D 1; break; + case 'k': + kflag =3D 1; + break; case 'L': display_license(); /* NOT REACHED */ @@ -1145,6 +1150,10 @@ unlink_input(const char *file, const str if (nsb.st_dev !=3D sb->st_dev || nsb.st_ino !=3D sb->st_ino) /* Definitely a different file */ return; +#ifndef SMALL + if (kflag) + return; +#endif unlink(file); } #endif @@ -1985,6 +1994,7 @@ usage(void) " --uncompress\n" " -f --force force overwriting & compress links\n" " -h --help display this help\n" + " -k --keep keep input files during compression or decomp= ression\n" " -l --list list compressed file contents\n" " -N --name save or restore original file name and time s= tamp\n" " -n --no-name don't save original file name or time stamp\n= " --------------080009000100030206090108-- --------------enigC5C7C43FF5C7677872D8E3F9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwDrzOfuToMruuMARA1aGAJ9wXGWkYCfhgbm1fT6FvPH8V/WK+ACgh+Q0 E5RP5L8TCaddHfGTOJEzdgA= =Enja -----END PGP SIGNATURE----- --------------enigC5C7C43FF5C7677872D8E3F9-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 08:48:57 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A27E916A401 for ; Wed, 31 Jan 2007 08:48:57 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by mx1.freebsd.org (Postfix) with ESMTP id 68ADB13C47E for ; Wed, 31 Jan 2007 08:48:57 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so130667wra for ; Wed, 31 Jan 2007 00:48:57 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=n9m+LPBXNhGA0aBikjrqKA1BY+4mdlSxdP+SsWDt830jfyosHMcE/gjQducRtfnd27tbUalO1p+qBIi/fC851lg7PqQZkqZOooF+bPPBB00sRsg/63pLnHOWN9y65ZIanm2mxm4AcrrYMTfgiznPFCbEw47kr0+mLNUsZRD5KwY= Received: by 10.114.195.19 with SMTP id s19mr37152waf.1170233336527; Wed, 31 Jan 2007 00:48:56 -0800 (PST) Received: by 10.114.111.17 with HTTP; Wed, 31 Jan 2007 00:48:56 -0800 (PST) Message-ID: <6eb82e0701310048u5d36ef5y3dcfe8116ad1aac3@mail.gmail.com> Date: Wed, 31 Jan 2007 16:48:56 +0800 From: "Rong-en Fan" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [CFT] ncurses wide character support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 08:48:57 -0000 Finally, I have ncurses wide character support. Patch is at http://people.freebsd.org/~rafan/ncurses/ncursesw-5.6-fbsd7-20070128.diff Before you can apply it, you need to mkdir -p \ /usr/src/lib/ncurses/formw \ /usr/src/lib/ncurses/menuw \ /usr/src/lib/ncurses/ncursesw \ /usr/src/lib/ncurses/panelw Please note this patch accidentally removes libmytinfo (it is going to be removed soon). I have tested on my i386 current with mutt. It works just fine. I use a hack in src/Makefile.inc1 to make amd64 world + lib32 work. Details can be found in http://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019408.html Please test and feedbacks are welcome. :) Regards, Rong-En Fan From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 12:22:33 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 37C2016A400 for ; Wed, 31 Jan 2007 12:22:33 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id BE7FF13C47E for ; Wed, 31 Jan 2007 12:22:32 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so149309uge for ; Wed, 31 Jan 2007 04:22:31 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=om+AuZeg22be+JEzqmV11mHMpE5hqLn/sypUaWbk9qTVhGRvG+bsDjjmLkRPBn73Ev8Culi79djj/HBUq6OM/1XvYgQp70cbGcVXzxmy8OOqUfv63HOeEBMRUEa3/wfKIsWWzBcQOv8gaiuy3ukqKNC8xy72K6l+ZvFEH4ATfAw= Received: by 10.66.221.6 with SMTP id t6mr937053ugg.1170246151546; Wed, 31 Jan 2007 04:22:31 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id j1sm1002053ugf.2007.01.31.04.22.30; Wed, 31 Jan 2007 04:22:30 -0800 (PST) Message-ID: <45C08A29.4030509@gmail.com> Date: Wed, 31 Jan 2007 13:23:05 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> In-Reply-To: <20070130170443.A49225@xorpc.icir.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 12:22:33 -0000 Luigi Rizzo schreef: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > to support 228 different webcams) with basically no modifications to > the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > [...] > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. [...] The binary modules also load on CURRENT i386 as of 2007/01/30, dmesg shows > usb_spca5xx_init: gspca driver 01.00.12 registered but it doesn't recognize the Xbox360 webcam (vendor 0x45e, product 0x294) : > spcaDetectCamera called vend 0x45e prod 0x294 p 0xc7a8d334 > spcaCameraDetect failed neither does it recognize the builtin USB 2.0 webcam of my Asus A6JE laptop (Syntek, product 0xa311), at least no /dev/video* show up. > cheers > luigi Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 14:05:45 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70E3316A407; Wed, 31 Jan 2007 14:05:45 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 5B78413C474; Wed, 31 Jan 2007 14:05:45 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l0VE5hon057344; Wed, 31 Jan 2007 06:05:43 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l0VE5hI3057343; Wed, 31 Jan 2007 06:05:43 -0800 (PST) (envelope-from rizzo) Date: Wed, 31 Jan 2007 06:05:43 -0800 From: Luigi Rizzo To: Rene Ladan Message-ID: <20070131060543.A57206@xorpc.icir.org> References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <45C08A29.4030509@gmail.com>; from r.c.ladan@gmail.com on Wed, Jan 31, 2007 at 01:23:05PM +0100 Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 14:05:45 -0000 On Wed, Jan 31, 2007 at 01:23:05PM +0100, Rene Ladan wrote: > Luigi Rizzo schreef: > > I think I reached a first interesting milestone in my project > > to build an emulation layer to compile linux device drivers on FreeBSD. > > > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > > to support 228 different webcams) with basically no modifications to > > the original source. So it would be good if someone could give a try > > to this code, either on -current or -stable, keeping in mind that > > this is NOT PRODUCTION READY yet. > > > [...] > > together of course with source code, and even binary modules > > for FreeBSD 6.2. > > Basically I would like to know how it builds/works on -current, > > have reports on cameras that work with it and those which don't > > and so on. > [...] > > The binary modules also load on CURRENT i386 as of 2007/01/30, > dmesg shows > > > usb_spca5xx_init: gspca driver 01.00.12 registered > > but it doesn't recognize the Xbox360 webcam (vendor 0x45e, product 0x294) : > > > spcaDetectCamera called vend 0x45e prod 0x294 p 0xc7a8d334 > > spcaCameraDetect failed > > neither does it recognize the builtin USB 2.0 webcam of my Asus A6JE > laptop (Syntek, product 0xa311), at least no /dev/video* show up. ok thanks for the work anyways... i see there is a project on sourceforge for this one but probably not complete yet http://syntekdriver.sourceforge.net/index.php?mode=documentation while i haven't found anything on the web for the xbox thing. cheers luigi From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 14:12:34 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9E8816A403 for ; Wed, 31 Jan 2007 14:12:34 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.225]) by mx1.freebsd.org (Postfix) with ESMTP id 95E0113C471 for ; Wed, 31 Jan 2007 14:12:34 +0000 (UTC) (envelope-from r.c.ladan@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so204646wra for ; Wed, 31 Jan 2007 06:12:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=c5K35nK/71mRq7ksB754g1olwchZnHNRQljsKh9ZyEgmJxEIcp98lE/vyhQHuwZGnEpBu7E2YZLwtZVcteRv8xp0x8hsQfWiMNx1wA7Z4x0CamyjQOcBUVglv4ViyaZuX4InOzgu2a5ypRHxn2GbdpkPGxkIVBe5sGz7sSI/NBw= Received: by 10.48.242.19 with SMTP id p19mr2528413nfh.1170252753018; Wed, 31 Jan 2007 06:12:33 -0800 (PST) Received: from ?192.168.123.202? ( [195.241.221.201]) by mx.google.com with ESMTP id b1sm6306665nfe.2007.01.31.06.12.31; Wed, 31 Jan 2007 06:12:32 -0800 (PST) Message-ID: <45C0A3F2.8080507@gmail.com> Date: Wed, 31 Jan 2007 15:13:06 +0100 From: Rene Ladan User-Agent: Thunderbird 1.5.0.9 (X11/20070119) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> <20070131060543.A57206@xorpc.icir.org> In-Reply-To: <20070131060543.A57206@xorpc.icir.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 14:12:35 -0000 Luigi Rizzo schreef: > On Wed, Jan 31, 2007 at 01:23:05PM +0100, Rene Ladan wrote: >> Luigi Rizzo schreef: >>> I think I reached a first interesting milestone in my project >>> to build an emulation layer to compile linux device drivers on FreeBSD. >>> >>> I managed to build a FreeBSD port of the linux 'gspca' driver (which claims >>> to support 228 different webcams) with basically no modifications to >>> the original source. So it would be good if someone could give a try >>> to this code, either on -current or -stable, keeping in mind that >>> this is NOT PRODUCTION READY yet. >>> >> [...] >>> together of course with source code, and even binary modules >>> for FreeBSD 6.2. >>> Basically I would like to know how it builds/works on -current, >>> have reports on cameras that work with it and those which don't >>> and so on. >> [...] >> >> The binary modules also load on CURRENT i386 as of 2007/01/30, >> dmesg shows >> >>> usb_spca5xx_init: gspca driver 01.00.12 registered >> but it doesn't recognize the Xbox360 webcam (vendor 0x45e, product 0x294) : >> >>> spcaDetectCamera called vend 0x45e prod 0x294 p 0xc7a8d334 >>> spcaCameraDetect failed >> neither does it recognize the builtin USB 2.0 webcam of my Asus A6JE >> laptop (Syntek, product 0xa311), at least no /dev/video* show up. > > ok thanks for the work anyways... i see there is a > project on sourceforge for this one but probably not complete yet > > http://syntekdriver.sourceforge.net/index.php?mode=documentation > Might be worth a try :) > while i haven't found anything on the web for the xbox thing. > Me neither. The xbox camera only creates a /dev/ugenX, but no /dev/ugenX.Y The camera is recognized as: > ugen0: Microsoft Video Camera, rev 2.00/1.50, addr 2 > cheers > luigi > Regards, Rene -- GPG fingerprint = E738 5471 D185 7013 0EE0 4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net) "It won't fit on the line." -- me, 2001 From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 16:25:08 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 06F6B16A4D2 for ; Wed, 31 Jan 2007 16:25:07 +0000 (UTC) (envelope-from conrad.burger@mxit.com) Received: from smtp.swistgroup.com (smtp.swisttech.com [196.211.145.42]) by mx1.freebsd.org (Postfix) with ESMTP id CEA9313C467 for ; Wed, 31 Jan 2007 16:25:05 +0000 (UTC) (envelope-from conrad.burger@mxit.com) Received: from localhost (localhost [127.0.0.1]) by smtp.swistgroup.com (Postfix) with ESMTP id 7CF15BCFFD for ; Wed, 31 Jan 2007 14:52:06 +0200 (SAST) Received: from smtp.swistgroup.com ([127.0.0.1]) by localhost (fw-swist [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01858-07 for ; Wed, 31 Jan 2007 14:52:06 +0200 (SAST) Received: from timon.swistgroup.com (unknown [172.16.1.30]) by smtp.swistgroup.com (Postfix) with ESMTP id F2913B5B94 for ; Wed, 31 Jan 2007 14:52:05 +0200 (SAST) Received: from mailnull by timon.swistgroup.com with local (Exim 4.52 (FreeBSD)) id 1HCF9i-0005EG-6g for freebsd-current@freebsd.org; Wed, 31 Jan 2007 15:05:42 +0200 Received: from hermes.swistgroup.com ([172.16.1.6]) by timon.swistgroup.com with esmtp (Exim 4.52 (FreeBSD)) id 1HCF9i-0005E4-4t for freebsd-current@freebsd.org; Wed, 31 Jan 2007 15:05:42 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 31 Jan 2007 15:00:34 +0200 Message-ID: <45FBF1D2998C93429047415BE8091CC8283E08@HERMES.swistgroup.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Need Help:: BCE Interface - back port SERDES support to STABLE Thread-Index: AcdFOOQCi5PRsn4PSMS8k++QGMUYvw== From: "Conrad Burger" To: X-disclaimer: Legalsentry X-Virus-Scanned: by amavisd-new at example.com Subject: Need Help:: BCE Interface - back port SERDES support to STABLE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 16:25:08 -0000 ******************************************************************* Click here to view our e-mail legal notice: http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000 ******************************************************************* Hi=20 Could someone please help me to create a patch to back port the SERDES = support that was recently added to the BCE driver in CURRENT to STABLE? I have been waiting for SERDES support on STABLE for about 3 months and = I'm getting rather desperate. I am trying to back port it myself using diffs from BCE-STABLE and = BCE-CURRENT.=20 But with almost no C experience and even less writing drivers it's going = to take awhile. Currently my kernel panics during boot when it tries to attach/probe the = network interface.=20 I would be much appreciated it if someone could help me. Regards=20 Conrad=20 My latest try. *** if_bce.c-v1.27 Wed Jan 31 15:02:26 2007 --- if_bce.c-conrad-mod Wed Jan 31 13:18:00 2007 *************** *** 452,458 **** struct bce_softc *sc; struct ifnet *ifp; u32 val; ! int count, mbuf, rid, rc =3D 0; sc =3D device_get_softc(dev); sc->bce_dev =3D dev; --- 452,459 ---- struct bce_softc *sc; struct ifnet *ifp; u32 val; ! //#!# int count, mbuf, rid, rc =3D 0; ! int mbuf, rid, rc =3D 0; sc =3D device_get_softc(dev); sc->bce_dev =3D dev; *************** *** 485,496 **** sc->bce_vhandle =3D (vm_offset_t) rman_get_virtual(sc->bce_res); /* Allocate PCI IRQ resources. */ ! count =3D pci_msi_count(dev); if (count =3D=3D 1 && pci_alloc_msi(dev, &count) =3D=3D 0) { rid =3D 1; sc->bce_flags |=3D BCE_USING_MSI_FLAG; } else ! rid =3D 0; sc->bce_irq =3D bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_SHAREABLE | RF_ACTIVE); --- 486,498 ---- sc->bce_vhandle =3D (vm_offset_t) rman_get_virtual(sc->bce_res); /* Allocate PCI IRQ resources. */ ! /*#!# count =3D pci_msi_count(dev); if (count =3D=3D 1 && pci_alloc_msi(dev, &count) =3D=3D 0) { rid =3D 1; sc->bce_flags |=3D BCE_USING_MSI_FLAG; } else ! */ rid =3D 0; ! sc->bce_irq =3D bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_SHAREABLE | RF_ACTIVE); *************** *** 2525,2535 **** if (sc->bce_irq !=3D NULL) bus_release_resource(dev, SYS_RES_IRQ, ! sc->bce_flags & BCE_USING_MSI_FLAG ? 1 : 0, sc->bce_irq); ! if (sc->bce_flags & BCE_USING_MSI_FLAG) pci_release_msi(dev); if (sc->bce_res !=3D NULL) bus_release_resource(dev, --- 2527,2539 ---- if (sc->bce_irq !=3D NULL) bus_release_resource(dev, SYS_RES_IRQ, ! //sc->bce_flags & BCE_USING_MSI_FLAG ? 1 : 0, ! 0, sc->bce_irq); ! /* #!#if (sc->bce_flags & BCE_USING_MSI_FLAG) pci_release_msi(dev); + */ if (sc->bce_res !=3D NULL) bus_release_resource(dev, *************** *** 4129,4136 **** #if __FreeBSD_version < 700000 VLAN_INPUT_TAG(ifp, m, = l2fhdr->l2_fhdr_vlan_tag, continue); #else ! m->m_pkthdr.ether_vtag =3D l2fhdr->l2_fhdr_vlan_tag; ! m->m_flags |=3D M_VLANTAG; #endif } --- 4133,4144 ---- #if __FreeBSD_version < 700000 VLAN_INPUT_TAG(ifp, m, = l2fhdr->l2_fhdr_vlan_tag, continue); #else ! // #!# m->m_pkthdr.ether_vtag =3D l2fhdr->l2_fhdr_vlan_tag; ! // #!# m->m_flags |=3D M_VLANTAG; ! VLAN_INPUT_TAG(ifp, m, l2fhdr->l2_fhdr_vlan_tag); ! if (m =3D=3D NULL) ! continue; ! #endif } *************** *** 4515,4520 **** --- 4523,4530 ---- bus_dma_segment_t segs[BCE_MAX_SEGMENTS]; bus_dmamap_t map; struct tx_bd *txbd =3D NULL; + //#!# + struct m_tag *mtag; struct mbuf *m0; u16 vlan_tag =3D 0, flags =3D 0; u16 chain_prod, prod; *************** *** 4535,4544 **** } /* Transfer any VLAN tags to the bd. */ ! if (m0->m_flags & M_VLANTAG) { flags |=3D TX_BD_FLAGS_VLAN_TAG; vlan_tag =3D m0->m_pkthdr.ether_vtag; } /* Map the mbuf into DMAable memory. */ prod =3D sc->tx_prod; --- 4545,4560 ---- } /* Transfer any VLAN tags to the bd. */ ! /* #!# if (m0->m_flags & M_VLANTAG) { flags |=3D TX_BD_FLAGS_VLAN_TAG; vlan_tag =3D m0->m_pkthdr.ether_vtag; } + */ + mtag =3D VLAN_OUTPUT_TAG(sc->bce_ifp, m0); + if (mtag !=3D NULL) { + flags |=3D TX_BD_FLAGS_VLAN_TAG; + vlan_tag =3D VLAN_TAG_VALUE(mtag); + } /* Map the mbuf into DMAable memory. */ prod =3D sc->tx_prod; From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 16:36:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D07516A402 for ; Wed, 31 Jan 2007 16:36:07 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.freebsd.org (Postfix) with ESMTP id 606EB13C441 for ; Wed, 31 Jan 2007 16:36:06 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from localhost (tarsier.geekcn.org [210.51.165.229]) by tarsier.geekcn.org (Postfix) with ESMTP id 6BC08EB7963; Thu, 1 Feb 2007 00:36:05 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([210.51.165.229]) by localhost (mail.geekcn.org [210.51.165.229]) (amavisd-new, port 10024) with ESMTP id 8HnQJ9Ou4KEu; Thu, 1 Feb 2007 00:35:53 +0800 (CST) Received: from [192.168.1.32] (unknown [221.221.168.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 7562BEB5169; Thu, 1 Feb 2007 00:35:53 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:organization:user-agent:mime-version:to:cc: subject:references:in-reply-to:x-enigmail-version:content-type; b=JRLKhXTCS4vpkIIXxQbtYdV3Zi+3DQY/2c4hZMHdNtg3JH2WfZ82plvyh1dy3EUxY 6PuWLPxaiUpE+U80nyqHg== Message-ID: <45C0C566.8040504@delphij.net> Date: Thu, 01 Feb 2007 00:35:50 +0800 From: LI Xin Organization: The FreeBSD Project User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Conrad Burger References: <45FBF1D2998C93429047415BE8091CC8283E08@HERMES.swistgroup.com> In-Reply-To: <45FBF1D2998C93429047415BE8091CC8283E08@HERMES.swistgroup.com> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="------------enig6C63576C7F9960DF5B1C4FF2" Cc: freebsd-current@freebsd.org Subject: Re: Need Help:: BCE Interface - back port SERDES support to STABLE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 16:36:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6C63576C7F9960DF5B1C4FF2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Conrad Burger wrote: > ******************************************************************* > Click here to view our e-mail legal notice:=20 > http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000 > ******************************************************************* > Hi=20 >=20 > Could someone please help me to create a patch to back port the SERDES = support > that was recently added to the BCE driver in CURRENT to STABLE? >=20 > I have been waiting for SERDES support on STABLE for about 3 months and= I'm > getting rather desperate. >=20 > I am trying to back port it myself using diffs from BCE-STABLE and BCE-= CURRENT.=20 > But with almost no C experience and even less writing drivers it's goin= g to take > awhile. > Currently my kernel panics during boot when it tries to attach/probe th= e network > interface.=20 >=20 > I would be much appreciated it if someone could help me. I think you will need to backport some MII changes back too... I do not have actual bce w/SERDES hardware at hand so I think I can not provide some useful help except backporting some code and test to see if it broke my Dell 2950 crashbox :-( Maybe you can provide some panic messages (backtraces if you can, of course) so we can investigate further? Note that it would be nice if you could provide diff in unified format, which is usually preferred and makes it easier to read. Cheers, --=20 Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! --------------enig6C63576C7F9960DF5B1C4FF2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwMVmOfuToMruuMARA/ekAJ0VzbKaci+SFC5uNNbvr8UCVDwVlgCcC7Jw V88bAPgYI/Eur7CjBfJV/z0= =B15c -----END PGP SIGNATURE----- --------------enig6C63576C7F9960DF5B1C4FF2-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 16:53:37 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51ED216A400 for ; Wed, 31 Jan 2007 16:53:37 +0000 (UTC) (envelope-from slawek.zak@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.230]) by mx1.freebsd.org (Postfix) with ESMTP id 18FBA13C441 for ; Wed, 31 Jan 2007 16:53:36 +0000 (UTC) (envelope-from slawek.zak@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so255310wri for ; Wed, 31 Jan 2007 08:53:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=oiBIkzpfKh7HX97SV9tD/6FWifHfaCtdgBgeKu0+puRKsreeHk/FunhcXHMVCgt4RNdyii9hhDrwcsimKVcJOXND5YIxm01wUhEcE0y39PEGqb6yO7Paderje3+f7pJzN3YUE/0GpUdo7yFhSjcFx1VCg/hEXLFPokYpBe98l8o= Received: by 10.90.65.11 with SMTP id n11mr1465560aga.1170260870650; Wed, 31 Jan 2007 08:27:50 -0800 (PST) Received: by 10.90.65.6 with HTTP; Wed, 31 Jan 2007 08:27:50 -0800 (PST) Message-ID: <787bbe1c0701310827o9b84b33q1322007bf68f4f8a@mail.gmail.com> Date: Wed, 31 Jan 2007 17:27:50 +0100 From: "Slawek Zak" To: freebsd-net@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Forcing 1000FD for bce X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 16:53:37 -0000 Hi, First of all thanks to Doug White for committing SerDes support for bce. I have a question for someone familiar with this driver. I must enforce Gb/Full-duplex before the end of boot. I have IBM BladeCenter chassis which internally uses Nortel 2-3 switches which in turn do not allow for autonegotiation of internal interfaces. I want to run a diskless configuration so changing the bits with ifconfig is not an option. Tweaking settings in PXE boot agent doesn't help - the link preference is not preserved after kernel starts booting. Thus the last resort remains I guess - fiddling with the source. Help anyone TIA, /S From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 17:08:35 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 235D416A406 for ; Wed, 31 Jan 2007 17:08:35 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id D505113C4B6 for ; Wed, 31 Jan 2007 17:08:34 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id l0VH8Rce085670; Wed, 31 Jan 2007 10:08:32 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <45C0CCFE.5090407@samsco.org> Date: Wed, 31 Jan 2007 10:08:14 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1 MIME-Version: 1.0 To: Andrew Gallatin References: <17855.30388.764471.322562@grasshopper.cs.duke.edu> <45BF78B5.1050305@samsco.org> <17855.31464.891778.783293@grasshopper.cs.duke.edu> In-Reply-To: <17855.31464.891778.783293@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (pooker.samsco.org [168.103.85.57]); Wed, 31 Jan 2007 10:08:32 -0700 (MST) X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: restoring PCI config space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 17:08:35 -0000 Andrew Gallatin wrote: > Scott Long writes: > > I need to do the same thing, and I concluded that pci_cfg_restore needs > > to be exported out via a DEVMETHOD. It might also be useful to export > > Hurray! Do you plan to do this soon? > > > a pci_cfg_save function. > > Doesn't the config space get saved in pci_add_child? > > Drew Wouldn't you want to preserve driver-local changes that are made to the config space? Things like the busmaster enable bit comes to mind. Scott From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 17:14:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF7A516A403 for ; Wed, 31 Jan 2007 17:14:33 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.freebsd.org (Postfix) with ESMTP id A5E0C13C4A7 for ; Wed, 31 Jan 2007 17:14:33 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so262083wri for ; Wed, 31 Jan 2007 09:14:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=emA79OGSNHrWmeAiB6T5G69ymnm2DT0GKvTU6MQyFOEgoI2SVl+0XGnU8JW/0F9BvIWMZQNpvo25JZqsbDRenyiVQXh87ltJcA0H0n2bDcthHfMsJNY7Vgbj32JV++j1f7o34z0v9pCXQSHXOK07JrabWfPikNC5InE0efQW8H0= Received: by 10.90.73.3 with SMTP id v3mr1471836aga.1170262135581; Wed, 31 Jan 2007 08:48:55 -0800 (PST) Received: by 10.65.137.19 with HTTP; Wed, 31 Jan 2007 08:48:55 -0800 (PST) Message-ID: Date: Wed, 31 Jan 2007 08:48:55 -0800 From: "Maksim Yevmenkin" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: test X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 17:14:34 -0000 please ignore From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 17:50:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6885F16A412 for ; Wed, 31 Jan 2007 17:50:56 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id DE48A13C4AA for ; Wed, 31 Jan 2007 17:50:55 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HCJbY-0007ve-Dh for freebsd-current@freebsd.org; Wed, 31 Jan 2007 18:50:44 +0100 Received: from mulderlab.f5.com ([205.229.151.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jan 2007 18:50:44 +0100 Received: from atkin901 by mulderlab.f5.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 31 Jan 2007 18:50:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Mark Atkinson Date: Wed, 31 Jan 2007 09:50:33 -0800 Lines: 49 Message-ID: References: <20070130170443.A49225__4224.36480080268$1170205552$gmane$org@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: mulderlab.f5.com User-Agent: KNode/0.10.4 Sender: news Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 17:50:56 -0000 Luigi Rizzo wrote: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which > claims to support 228 different webcams) with basically no modifications > to the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > > More details on how the thing works are at > > http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html > > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. This is an Intel 'Create and Share' Camera Model No. CS330. [root@moby gspcav1-20070110]$ tail /var/log/messages Jan 31 09:44:48 moby kernel: usb_spca5xx_init: gspca driver 01.00.12 registered Jan 31 09:46:19 moby kernel: ldev0: on uhub2 Jan 31 09:46:19 moby kernel: ldev_attach: sc at 0xc5f88000, l_u_d at 0xc5f88058 Jan 31 09:46:19 moby kernel: --- allocate 191 bytes gives 0xc5f8e500 Jan 31 09:46:19 moby kernel: interface 0 has 8 altsettings (cur 0) Jan 31 09:46:19 moby kernel: gspca_attach_bridge: USB SPCA5XX camera found. (SPCA501 ) Jan 31 09:46:19 moby kernel: spca5xx_probe: [spca5xx_probe:3976] Camera type YUYV Jan 31 09:46:20 moby kernel: spca5xx_getcapability: [spca5xx_getcapability:1182] maxw 640 maxh 480 minw 160 minh 120 Jan 31 09:46:20 moby kernel: 615548232 [ 878] video_register_device: to be fixed but ok for now Jan 31 09:46:20 moby kernel: ldev0: vendor 0x0733 product 0x0401, rev 1.00/0.90, addr 2 -- Mark Atkinson atkin901@yahoo.com (!wired)?(coffee++):(wired); From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 21:11:32 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D36216A402; Wed, 31 Jan 2007 21:11:32 +0000 (UTC) (envelope-from cedric@decemplex.net) Received: from mail.decemplex.net (mail.decemplex.net [80.237.247.202]) by mx1.freebsd.org (Postfix) with ESMTP id 3C19713C491; Wed, 31 Jan 2007 21:11:32 +0000 (UTC) (envelope-from cedric@decemplex.net) Received: from localhost (mail.decemplex.net [80.237.247.202]) by mail.decemplex.net (Postfix) with ESMTP id 0FA3C7D1649; Wed, 31 Jan 2007 21:47:15 +0100 (CET) X-Virus-Scanned: amavisd-new at decemplex.net Received: from mail.decemplex.net ([80.237.247.202]) by localhost (mail.decemplex.net [80.237.247.202]) (amavisd-new, port 10024) with LMTP id LiO7LEWQv003; Wed, 31 Jan 2007 21:47:14 +0100 (CET) Received: from decemplex.loc (83-178-112-217.dyn.adsl.belcenter.be [217.112.178.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.decemplex.net (Postfix) with ESMTP id 6C7B47D13E0; Wed, 31 Jan 2007 21:47:14 +0100 (CET) Date: Wed, 31 Jan 2007 21:47:05 +0100 From: =?ISO-8859-1?Q?C=E9dric?= Jonas To: freebsd-net@freebsd.org Message-ID: <20070131214705.0ee0ba67@ganymed> X-Mailer: Claws Mail 2.7.1 (GTK+ 2.10.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_GiTGV60xmr1k/UmjqFIRHoW"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-current@freebsd.org Subject: fxp(4) checksum (offloading?) errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 21:11:32 -0000 --Sig_GiTGV60xmr1k/UmjqFIRHoW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, I get TCP/UDP checksum errors with fxp(4). I noticed it after using Wireshark today: Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by checksum offloading?)] for example. If I understand it more or less correctly, checksum offloading is performed by or with help of the NIC - only for TCP and UDP, where the checksum fails exactly... I didn't found a way to disable it, so I assume it's a bug in the driver... I don't know exactly which infos I must provide additionally to the following, so don't hesitate to ask more :) Used NIC: fxp0: port 0xa400-0xa43f mem 0xfb030000-0xfb030fff,0xfb000000-0xfb01ffff irq 16 at device 7.0 on pci2 Used system: FreeBSD ganymed 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jan 21 16:07:51 CET 2007 root@ganymed:/usr/obj/usr/src/sys/GANYMED i386 --=20 C=E9dric Jonas cedric@decemplex.net GPG ID: 30CCFE8D GPG Key: http://box.decemplex.net/~cedric/cedric.key.asc GPG Fingerprint: CF03 E1FD 9428 1B6B E971 B107 9044 AA99 30CC FE8D Jabber-ID: cedric@decemplex.net --Sig_GiTGV60xmr1k/UmjqFIRHoW Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFwQBQkESqmTDM/o0RAkDdAKCCMGwdc+EMl/hhXTIOwW46w+zPBACfZrG+ 8zc1WUK4mH6T/gJR4yfetm0= =W8o8 -----END PGP SIGNATURE----- --Sig_GiTGV60xmr1k/UmjqFIRHoW-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 21:43:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F75516A403 for ; Wed, 31 Jan 2007 21:43:33 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id A477613C46B for ; Wed, 31 Jan 2007 21:43:32 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-29-241.bredband.comhem.se ([83.253.29.241]:65166 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with smtp (Exim 4.63) (envelope-from ) id 1HCMwA-0004an-8U for freebsd-current@freebsd.org; Wed, 31 Jan 2007 22:24:14 +0100 Received: (qmail 29820 invoked from network); 31 Jan 2007 22:24:11 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 31 Jan 2007 22:24:11 +0100 Received: (qmail 86304 invoked by uid 1001); 31 Jan 2007 22:24:11 +0100 Date: Wed, 31 Jan 2007 22:24:11 +0100 From: Erik Trulsson To: =?iso-8859-1?Q?C=E9dric?= Jonas Message-ID: <20070131212411.GA86267@owl.midgard.homeip.net> Mail-Followup-To: =?iso-8859-1?Q?C=E9dric?= Jonas , freebsd-net@freebsd.org, freebsd-current@freebsd.org References: <20070131214705.0ee0ba67@ganymed> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20070131214705.0ee0ba67@ganymed> User-Agent: Mutt/1.5.13 (2006-08-11) X-Scan-Result: No virus found in message 1HCMwA-0004an-8U. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HCMwA-0004an-8U 025a5fc148cadd00bf69dbfcdff88648 Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: fxp(4) checksum (offloading?) errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 21:43:33 -0000 On Wed, Jan 31, 2007 at 09:47:05PM +0100, C=E9dric Jonas wrote: > Hi, >=20 > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > Wireshark today: >=20 > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by > checksum offloading?)] >=20 > for example. Is that for incoming or outgoing packets? If it is for outgoing it is perfectly normal and nothing to be worried about (assuming that your NIC does checksum offloading.) If it is for incoming packets it could be a real problem. >=20 > If I understand it more or less correctly, checksum offloading is > performed by or with help of the NIC - only for TCP and UDP, where the > checksum fails exactly... Checksum offloading means that the calculation of the checksum is done by the NIC instead of by the main CPU. For outgoing packets this means that wireshark or tcpdump and all similar programs see the packets before they have been handed over to the NIC, which means that the correct checksum has not yet been calculated and probably contains garbage. > I didn't found a way to disable it, so I assume it's a bug in the > driver... I don't know exactly which infos I must provide additionally > to the following, so don't hesitate to ask more :) >=20 > Used NIC: >=20 > fxp0: port 0xa400-0xa43f mem > 0xfb030000-0xfb030fff,0xfb000000-0xfb01ffff irq 16 at device > 7.0 on pci2 >=20 > Used system: >=20 > FreeBSD ganymed 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jan 21 > 16:07:51 CET 2007 > root@ganymed:/usr/obj/usr/src/sys/GANYMED i386 >=20 --=20 Erik Trulsson ertr1013@student.uu.se From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 21:54:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B95016A401; Wed, 31 Jan 2007 21:54:47 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5782513C471; Wed, 31 Jan 2007 21:54:47 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 354F25C2E; Wed, 31 Jan 2007 16:25:34 -0500 (EST) Date: Wed, 31 Jan 2007 16:25:34 -0500 From: Wesley Shields To: C?dric Jonas Message-ID: <20070131212534.GC58404@atarininja.org> References: <20070131214705.0ee0ba67@ganymed> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070131214705.0ee0ba67@ganymed> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: fxp(4) checksum (offloading?) errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 21:54:47 -0000 On Wed, Jan 31, 2007 at 09:47:05PM +0100, C?dric Jonas wrote: > Hi, > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > Wireshark today: > > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by > checksum offloading?)] > > for example. > > If I understand it more or less correctly, checksum offloading is > performed by or with help of the NIC - only for TCP and UDP, where the > checksum fails exactly... Yes, the checksums are offloaded to the card. Maybe I missed it, but you were not very clear on where you were seeing the invalid checksums. In the case of wireshark running on the machine which is doing the offloading then this makes sense as the checksums are computed AFTER wireshark sees them. The best way to know for sure if the checksums were computed correctly is to check them on the destination or somewhere along the wire to the destination. > I didn't found a way to disable it, so I assume it's a bug in the > driver... I don't know exactly which infos I must provide additionally > to the following, so don't hesitate to ask more :) According to ifconfig(8) they can be toggled using -rxcsum and -txcsum, but it is dependent upon the NIC/driver in use. A quick glance through fxp(4) indicates that it doesn't do checksum offloading. I'm sure someone will correct me if I am wrong. :) -- WXS From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 22:06:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E716E16A408; Wed, 31 Jan 2007 22:06:11 +0000 (UTC) (envelope-from cedric@decemplex.net) Received: from mail.decemplex.net (mail.decemplex.net [80.237.247.202]) by mx1.freebsd.org (Postfix) with ESMTP id 78A3C13C4C3; Wed, 31 Jan 2007 22:06:11 +0000 (UTC) (envelope-from cedric@decemplex.net) Received: from localhost (mail.decemplex.net [80.237.247.202]) by mail.decemplex.net (Postfix) with ESMTP id 9D90D7D1962; Wed, 31 Jan 2007 23:06:10 +0100 (CET) X-Virus-Scanned: amavisd-new at decemplex.net Received: from mail.decemplex.net ([80.237.247.202]) by localhost (mail.decemplex.net [80.237.247.202]) (amavisd-new, port 10024) with LMTP id C-6nNJmYmV-1; Wed, 31 Jan 2007 23:06:10 +0100 (CET) Received: from decemplex.loc (83-178-112-217.dyn.adsl.belcenter.be [217.112.178.83]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.decemplex.net (Postfix) with ESMTP id DA21A7D193C; Wed, 31 Jan 2007 23:06:09 +0100 (CET) Date: Wed, 31 Jan 2007 23:05:40 +0100 From: =?ISO-8859-1?Q?C=E9dric?= Jonas To: Erik Trulsson Message-ID: <20070131230540.2141488e@ganymed> In-Reply-To: <20070131212411.GA86267@owl.midgard.homeip.net> References: <20070131214705.0ee0ba67@ganymed> <20070131212411.GA86267@owl.midgard.homeip.net> X-Mailer: Claws Mail 2.7.1 (GTK+ 2.10.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_s.kHoGYz7ohP5cloys5DPiM; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: fxp(4) checksum (offloading?) errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 22:06:12 -0000 --Sig_s.kHoGYz7ohP5cloys5DPiM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, 31 Jan 2007 22:24:11 +0100 Erik Trulsson wrote: > On Wed, Jan 31, 2007 at 09:47:05PM +0100, C=E9dric Jonas wrote: > > Hi, > >=20 > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > > Wireshark today: > >=20 > > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused > > by checksum offloading?)] > >=20 > > for example. >=20 > Is that for incoming or outgoing packets? If it is for outgoing it is > perfectly normal and nothing to be worried about (assuming that your > NIC does checksum offloading.) Arghs, shame on me. You are fully right... I needed to know it, my first mail contains quasi the reason of the "bug" :)=20 However, thank you! >=20 > If it is for incoming packets it could be a real problem. >=20 >=20 > >=20 > > If I understand it more or less correctly, checksum offloading is > > performed by or with help of the NIC - only for TCP and UDP, where > > the checksum fails exactly... >=20 > Checksum offloading means that the calculation of the checksum is > done by the NIC instead of by the main CPU. For outgoing packets > this means that wireshark or tcpdump and all similar programs see the > packets before they have been handed over to the NIC, which means > that the correct checksum has not yet been calculated and probably > contains garbage. >=20 >=20 > > I didn't found a way to disable it, so I assume it's a bug in the > > driver... I don't know exactly which infos I must provide > > additionally to the following, so don't hesitate to ask more :) > >=20 > > Used NIC: > >=20 > > fxp0: port 0xa400-0xa43f mem > > 0xfb030000-0xfb030fff,0xfb000000-0xfb01ffff irq 16 at device > > 7.0 on pci2 > >=20 > > Used system: > >=20 > > FreeBSD ganymed 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun Jan > > 21 16:07:51 CET 2007 > > root@ganymed:/usr/obj/usr/src/sys/GANYMED i386 > >=20 >=20 >=20 >=20 >=20 --=20 C=E9dric Jonas cedric@decemplex.net Mobile Phone: (32-494) 08 92 64 GPG ID: 30CCFE8D GPG Key: http://box.decemplex.net/~cedric/cedric.key.asc GPG Fingerprint: CF03 E1FD 9428 1B6B E971 B107 9044 AA99 30CC FE8D Jabber-ID: cedric@decemplex.net --Sig_s.kHoGYz7ohP5cloys5DPiM Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFwRLQkESqmTDM/o0RAg/EAJ9oqW84KKbOWTfp36blRvvBl1PESwCdFeqE 5DGJU9ooRX5ChM6R0AW9P3I= =nBDS -----END PGP SIGNATURE----- --Sig_s.kHoGYz7ohP5cloys5DPiM-- From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 22:42:56 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 93E1816A400 for ; Wed, 31 Jan 2007 22:42:56 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.183]) by mx1.freebsd.org (Postfix) with ESMTP id 73CAA13C4B3 for ; Wed, 31 Jan 2007 22:42:54 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout13/MantshX 4.0) with ESMTP id l0VMgdID011232; Wed, 31 Jan 2007 14:42:39 -0800 (PST) Received: from [192.168.1.2] (c-67-164-11-148.hsd1.ca.comcast.net [67.164.11.148]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id l0VMgakQ027597 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 31 Jan 2007 14:42:38 -0800 (PST) In-Reply-To: <20070130132839.GA1052@rambler-co.ru> References: <45B97535.5070900@delphij.net> <45B997ED.7000605@delphij.net> <45B99C6E.2030803@delphij.net> <1C63ACE4-DD1E-4FDB-A36B-F3D9650773EF@mac.com> <45B9AA00.3030906@delphij.net> <20070130132839.GA1052@rambler-co.ru> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5DC1BBA2-94E6-4A32-B000-498244D7BB30@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Wed, 31 Jan 2007 14:41:12 -0800 To: Ruslan Ermilov X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: FreeBSD Current , LI Xin Subject: Re: PowerPC port broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 22:42:56 -0000 On Jan 30, 2007, at 5:28 AM, Ruslan Ermilov wrote: >>>> Latest build shows this: >>>> >>>> (What does Assembler messages: >>>> FATAL: can't create crtbegin.o: Invalid bfd target >>>> mean for me, by the way?) >>> >> > We've a fix for this problem since last summer. > See PR amd64/102996 for details and the patch. > > Please don't ask me about committing it into > our Binutils. :-) The fix is actually wrong but happen to do the right thing. BFD_DEFAULT_TARGET_SIZE is used outside of the libbfd directory. It is references by gas/config/tc-ppc.c and opcodes/ppc-dis.c. Within BFD it is also referenced only for PowerPC, which is why this problem only exists for PowerPC. The fixes in the PR only define TARGET_64BIT in the libbfd Makefile, which means that BFD_DEFAULT_TARGET_SIZE may not get the right definitions when used by sources outside the libbfd directory. A good fix in our context is to define it BFD_DEFAULT_TARGET_SIZE as 32 unconditionally in bfd.h. Since the define is only referenced for PowerPC targets and our PowerPC target is 32-bit only, e.g: Index: libbfd/bfd.h =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/libbfd/bfd.h,v retrieving revision 1.3 diff -u -r1.3 bfd.h --- libbfd/bfd.h 8 Jul 2004 17:05:32 -0000 1.3 +++ libbfd/bfd.h 31 Jan 2007 22:30:30 -0000 @@ -56,16 +56,14 @@ been selected with --enable-targets, or if --enable-64-bit-bfd. */ #define BFD_ARCH_SIZE 64 +/* The word size of the default PowerPC bfd target. */ +#define BFD_DEFAULT_TARGET_SIZE 32 #if defined(__i386__) || defined(__powerpc__) || defined(__arm__) -/* The word size of the default bfd target. */ -#define BFD_DEFAULT_TARGET_SIZE 32 #define BFD_HOST_64BIT_LONG 0 #define BFD_HOST_64_BIT long long #define BFD_HOST_U_64_BIT unsigned long long #elif defined(__alpha__) || defined(__sparc64__) || defined (__amd64__) || defined(__ia64__) -/* The word size of the default bfd target. */ -#define BFD_DEFAULT_TARGET_SIZE 64 #define BFD_HOST_64BIT_LONG 1 #define BFD_HOST_64_BIT long #define BFD_HOST_U_64_BIT unsigned long A better fix would be to define BFD_DEFAULT_TARGET_SIZE in the top- level Makefile so that the definition can be used everywhere within the binutils sources. It's setting can be made dependent upon TARGET_ARCH. This makes sure that future imports of binutils where BFD_DEFAULT_TARGET_SIZE may be referenced for more targets will work in this respect, e.g: Index: Makefile.inc0 =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/Makefile.inc0,v retrieving revision 1.37 diff -u -r1.37 Makefile.inc0 --- Makefile.inc0 8 Jul 2004 17:05:30 -0000 1.37 +++ Makefile.inc0 31 Jan 2007 22:39:14 -0000 @@ -22,6 +22,12 @@ RELSRC= ${RELTOP}/../../../contrib/binutils SRCDIR= ${.CURDIR}/${RELSRC} +.if ${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "i386" || $ {TARGET_ARCH} == "powerpc" +CFLAGS+= -DBFD_DEFAULT_TARGET_SIZE=32 +.else +CFLAGS+= -DBFD_DEFAULT_TARGET_SIZE=64 +.endif + CFLAGS+= -I. .if exists(${.CURDIR}/${TARGET_ARCH}) CFLAGS+= -I${.CURDIR}/${TARGET_ARCH} Index: libbfd/bfd.h =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/binutils/libbfd/bfd.h,v retrieving revision 1.3 diff -u -r1.3 bfd.h --- libbfd/bfd.h 8 Jul 2004 17:05:32 -0000 1.3 +++ libbfd/bfd.h 31 Jan 2007 22:38:32 -0000 @@ -58,14 +58,10 @@ #if defined(__i386__) || defined(__powerpc__) || defined(__arm__) -/* The word size of the default bfd target. */ -#define BFD_DEFAULT_TARGET_SIZE 32 #define BFD_HOST_64BIT_LONG 0 #define BFD_HOST_64_BIT long long #define BFD_HOST_U_64_BIT unsigned long long #elif defined(__alpha__) || defined(__sparc64__) || defined (__amd64__) || defined(__ia64__) -/* The word size of the default bfd target. */ -#define BFD_DEFAULT_TARGET_SIZE 64 #define BFD_HOST_64BIT_LONG 1 #define BFD_HOST_64_BIT long #define BFD_HOST_U_64_BIT unsigned long -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Wed Jan 31 22:48:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12EEC16A402 for ; Wed, 31 Jan 2007 22:48:53 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 95A1413C467 for ; Wed, 31 Jan 2007 22:48:52 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-29-241.bredband.comhem.se ([83.253.29.241]:64764 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with smtp (Exim 4.63) (envelope-from ) id 1HCOG3-0002AA-5W for freebsd-current@freebsd.org; Wed, 31 Jan 2007 23:48:51 +0100 Received: (qmail 30420 invoked from network); 31 Jan 2007 23:48:49 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with SMTP; 31 Jan 2007 23:48:49 +0100 Received: (qmail 86910 invoked by uid 1001); 31 Jan 2007 23:48:49 +0100 Date: Wed, 31 Jan 2007 23:48:49 +0100 From: Erik Trulsson To: Wesley Shields Message-ID: <20070131224849.GA86858@owl.midgard.homeip.net> Mail-Followup-To: Wesley Shields , C?dric Jonas , freebsd-net@freebsd.org, freebsd-current@freebsd.org References: <20070131214705.0ee0ba67@ganymed> <20070131212534.GC58404@atarininja.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070131212534.GC58404@atarininja.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Scan-Result: No virus found in message 1HCOG3-0002AA-5W. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1HCOG3-0002AA-5W 847dc0b2f85d3ce3a52399b27793ccf6 Cc: C?dric Jonas , freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: fxp(4) checksum (offloading?) errors X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Jan 2007 22:48:53 -0000 On Wed, Jan 31, 2007 at 04:25:34PM -0500, Wesley Shields wrote: > On Wed, Jan 31, 2007 at 09:47:05PM +0100, C?dric Jonas wrote: > > Hi, > > > > I get TCP/UDP checksum errors with fxp(4). I noticed it after using > > Wireshark today: > > > > Checksum: 0xac18 [incorrect, should be 0xfbc7 (maybe caused by > > checksum offloading?)] > > > > for example. > > > > If I understand it more or less correctly, checksum offloading is > > performed by or with help of the NIC - only for TCP and UDP, where the > > checksum fails exactly... > > Yes, the checksums are offloaded to the card. Maybe I missed it, but > you were not very clear on where you were seeing the invalid checksums. > In the case of wireshark running on the machine which is doing the > offloading then this makes sense as the checksums are computed AFTER > wireshark sees them. The best way to know for sure if the checksums > were computed correctly is to check them on the destination or somewhere > along the wire to the destination. > > > I didn't found a way to disable it, so I assume it's a bug in the > > driver... I don't know exactly which infos I must provide additionally > > to the following, so don't hesitate to ask more :) > > According to ifconfig(8) they can be toggled using -rxcsum and -txcsum, > but it is dependent upon the NIC/driver in use. A quick glance through > fxp(4) indicates that it doesn't do checksum offloading. I'm sure > someone will correct me if I am wrong. :) Some fxp(4) NICs support checksum offloading, but most don't. The fairly common 82559 controller chip does not support checksum offloading. The 82550 (which can be found on the Intel PRO/100 S cards) does support checksum offloading. -- Erik Trulsson ertr1013@student.uu.se From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 02:40:20 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B5E616A410 for ; Thu, 1 Feb 2007 02:40:20 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA1A13C46B for ; Thu, 1 Feb 2007 02:40:13 +0000 (UTC) (envelope-from lihong.chen@gmail.com) Received: by py-out-1112.google.com with SMTP id f47so202562pye for ; Wed, 31 Jan 2007 18:40:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:sender; b=VLXB5sUHS0MQ5CGOcdjCKEIkK9/cAVXomQaUVRTFg9uZQJ2hNNyaLaIv90a55+uL8336Wm4Hry97lMi5khWKPlcupaXy7mqGypg17aLE5av4kb2+zQlxOQWVAsyr1Pk4yDF2xLmu29LddijHXt8yMcqqrtFG3H8OptmZ2GDc0mU= Received: by 10.35.51.19 with SMTP id d19mr2913090pyk.1170295974363; Wed, 31 Jan 2007 18:12:54 -0800 (PST) Received: from ?10.8.0.32? ( [61.221.58.28]) by mx.google.com with ESMTP id 10sm7101860nzo.2007.01.31.18.12.52; Wed, 31 Jan 2007 18:12:54 -0800 (PST) From: "Eric L. Chen" To: Luigi Rizzo In-Reply-To: <20070130170443.A49225@xorpc.icir.org> References: <20070130170443.A49225@xorpc.icir.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YCFsJEPDPD9iaSp2PgBI" Date: Thu, 01 Feb 2007 10:12:46 +0800 Message-Id: <1170295966.1467.9.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 FreeBSD GNOME Team Port Sender: "Eric L. Chen" Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 02:40:20 -0000 --=-YCFsJEPDPD9iaSp2PgBI Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Luigi, The pwc.ko can detect my webcam (Orite MB-631), but pwcview cannot work. I am using FreeBSD 6-stable. The conosle log is here ----- spca50x_set_packet_size: Set packet size: size (0), alt becomes 0 spca5xx_setMode Looking for 352 x 288 palette 0x8 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 352 x 288 palette 0x2f method 0 Found code 0 method 0 Soft Win width height 352 x 288 Hard Win width height 352 x 288 spca50x_set_packet_size: Set packet size: size (2580), alt becomes 5 spca camera, call spca5xx_setMode alt now 5 em2820_init: to be done chipid 0x11 format 0x34 cwidth 0xa0 cheight 0x78 spca5xx_setMode Looking for 352 x 288 palette 0x8 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 0 x 0 palette 0x0 method 0 spca5xx_setMode have 352 x 288 palette 0x2f method 0 Found code 0 method 0 Soft Win width height 352 x 288 Hard Win width height 352 x 288 spcaCameraStart: unknown bridge 24 (non fatal but should) endpoint 2 frame size 2580 pwc0: Invalid packetsize (2580) for endpoint 130 ----- /Eric --=-YCFsJEPDPD9iaSp2PgBI Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQBFwUyeymyXoUCp/cURAs0zAJ9DAOSLv2LieTZuXUEjQ4cWvTiwigCff6Tr R/gwYYZnZuK1numId5T0u7s= =Rtus -----END PGP SIGNATURE----- --=-YCFsJEPDPD9iaSp2PgBI-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 05:49:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A60516A400 for ; Thu, 1 Feb 2007 05:49:11 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.freebsd.org (Postfix) with ESMTP id 5A11613C442 for ; Thu, 1 Feb 2007 05:49:11 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from dynabook-freebsd.advok.com (pool-141-151-59-20.phlapa.east.verizon.net [141.151.59.20]) by mail.asahi-net.or.jp (Postfix) with ESMTP id AB6B22CC9F for ; Thu, 1 Feb 2007 14:31:24 +0900 (JST) Date: Thu, 1 Feb 2007 00:26:23 -0500 From: Yoshihiro Ota To: freebsd-current@freebsd.org Message-Id: <20070201002623.b8cb5d08.ota@j.email.ne.jp> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__1_Feb_2007_00_26_23_-0500_nQB5ee+ldxt8WotE" Subject: [patch] mount fails to call external programs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 05:49:11 -0000 This is a multi-part message in MIME format. --Multipart=_Thu__1_Feb_2007_00_26_23_-0500_nQB5ee+ldxt8WotE Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello. The 'mount' program attempts to maintain external mount programs in order to determine whether it needs to call external programs or handle it internally. Not all external programs can be listed in mount.c. Indeed, my mount_md failed after mount trying to handle it itself. The solution is to maintain interally handlable fs types. I am not fully sure if I listed all of them correctly; however, it fixes the problem. Thanks, Hiro --Multipart=_Thu__1_Feb_2007_00_26_23_-0500_nQB5ee+ldxt8WotE Content-Type: text/plain; name="current-7.0-mount.diff" Content-Disposition: attachment; filename="current-7.0-mount.diff" Content-Transfer-Encoding: 7bit Index: mount.c =================================================================== RCS file: /home/ncvs/src/sbin/mount/mount.c,v retrieving revision 1.92 diff -u -r1.92 mount.c --- mount.c 14 Nov 2006 01:07:42 -0000 1.92 +++ mount.c 1 Feb 2007 05:25:55 -0000 @@ -133,18 +133,19 @@ */ unsigned int i; const char *fs[] = { - "cd9660", "mfs", "msdosfs", "nfs", "nfs4", "ntfs", - "nwfs", "nullfs", "portalfs", "smbfs", "udf", "umapfs", - "unionfs", + "ufs", + "ext2fs", + "devfs", "fdescfs", "procfs", "linprocfs", "linsysfs", + "std", NULL }; for (i = 0; fs[i] != NULL; ++i) { if (strcmp(vfstype, fs[i]) == 0) - return (1); + return (0); } - return (0); + return (1); } static int --Multipart=_Thu__1_Feb_2007_00_26_23_-0500_nQB5ee+ldxt8WotE-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 07:31:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BD97A16A401 for ; Thu, 1 Feb 2007 07:31:43 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 9A15413C441 for ; Thu, 1 Feb 2007 07:31:43 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l117VhiF005921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 31 Jan 2007 23:31:43 -0800 X-Auth-Received: from [192.168.10.41] (c-67-187-172-183.hsd1.ca.comcast.net [67.187.172.183]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l117VgGx011193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 31 Jan 2007 23:31:42 -0800 Message-ID: <45C19758.8070704@u.washington.edu> Date: Wed, 31 Jan 2007 23:31:36 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20070201002623.b8cb5d08.ota@j.email.ne.jp> In-Reply-To: <20070201002623.b8cb5d08.ota@j.email.ne.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.0.289146, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.31.231932 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: [patch] mount fails to call external programs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 07:31:43 -0000 Yoshihiro Ota wrote: > Hello. > > The 'mount' program attempts to maintain external mount programs in order to determine whether it needs to call external programs or handle it internally. > > Not all external programs can be listed in mount.c. Indeed, my mount_md failed after mount trying to handle it itself. > > The solution is to maintain interally handlable fs types. > > I am not fully sure if I listed all of them correctly; however, it fixes the problem. > > Thanks, > Hiro > > > ------------------------------------------------------------------------ > > Index: mount.c > =================================================================== > RCS file: /home/ncvs/src/sbin/mount/mount.c,v > retrieving revision 1.92 > diff -u -r1.92 mount.c > --- mount.c 14 Nov 2006 01:07:42 -0000 1.92 > +++ mount.c 1 Feb 2007 05:25:55 -0000 > @@ -133,18 +133,19 @@ > */ > unsigned int i; > const char *fs[] = { > - "cd9660", "mfs", "msdosfs", "nfs", "nfs4", "ntfs", > - "nwfs", "nullfs", "portalfs", "smbfs", "udf", "umapfs", > - "unionfs", > + "ufs", > + "ext2fs", > + "devfs", "fdescfs", "procfs", "linprocfs", "linsysfs", > + "std", > NULL > }; > > for (i = 0; fs[i] != NULL; ++i) { > if (strcmp(vfstype, fs[i]) == 0) > - return (1); > + return (0); > } > > - return (0); > + return (1); > } > > static int > > > ------------------------------------------------------------------------ Unfortunately your patch voids the point of having the filesystems listed there, according to the author of the comment directly above structure you have shown. I honestly don't know why anyone would want to statically define that though, because mount_* searching in $PATH should suffice, and the nmount interface could be maintained in each sourcefile. Just my thoughts on the subject though.. -Garrett From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 08:51:54 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA6D516A402 for ; Thu, 1 Feb 2007 08:51:54 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE3213C471 for ; Thu, 1 Feb 2007 08:51:54 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so469511wri for ; Thu, 01 Feb 2007 00:51:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D2fPNEuaRmhVMp/h7kHtPBBmojf/syb9a6fkDL8vSTlUqf6Dde7YXXuZpk96XOWiVRjXX//uh1L9owKgSbqEum2m+MUIhby7tkh5/qmh0fu6uZh14zEodeAGGM+x6XQ71nccL4qHOVDPaRvPamwU1uZHV+nbFue37zrzIHCf8sg= Received: by 10.114.111.1 with SMTP id j1mr129274wac.1170319913311; Thu, 01 Feb 2007 00:51:53 -0800 (PST) Received: by 10.114.111.17 with HTTP; Thu, 1 Feb 2007 00:51:53 -0800 (PST) Message-ID: <6eb82e0702010051j152d5896xac8ee400cca8251c@mail.gmail.com> Date: Thu, 1 Feb 2007 16:51:53 +0800 From: "Rong-en Fan" To: "FreeBSD Current" In-Reply-To: <6eb82e0701310048u5d36ef5y3dcfe8116ad1aac3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6eb82e0701310048u5d36ef5y3dcfe8116ad1aac3@mail.gmail.com> Subject: Re: [CFT] ncurses wide character support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 08:51:54 -0000 On 1/31/07, Rong-en Fan wrote: > Finally, I have ncurses wide character support. Patch is at > > http://people.freebsd.org/~rafan/ncurses/ncursesw-5.6-fbsd7-20070128.diff > > Before you can apply it, you need to > > mkdir -p \ > /usr/src/lib/ncurses/formw \ > /usr/src/lib/ncurses/menuw \ > /usr/src/lib/ncurses/ncursesw \ > /usr/src/lib/ncurses/panelw > > Please note this patch accidentally removes libmytinfo (it is going to be > removed soon). I have tested on my i386 current with mutt. It works just > fine. Now libmytinfo is removed, use the new patch instead: http://people.freebsd.org/~rafan//ncurses/ncursesw-5.6-fbsd7-20070201.diff Regards, Rong-En Fan > I use a hack in src/Makefile.inc1 to make amd64 world + lib32 work. Details > can be found in > > http://lists.freebsd.org/pipermail/freebsd-hackers/2007-January/019408.html > > Please test and feedbacks are welcome. :) From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 09:10:05 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1BE616A402; Thu, 1 Feb 2007 09:10:05 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id DCC7613C474; Thu, 1 Feb 2007 09:10:04 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([87.226.153.33]:61454 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S7773223AbXBAI5e (ORCPT + 1 other); Thu, 1 Feb 2007 11:57:34 +0300 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: bu7cher Message-ID: <45C1AB7A.8010002@yandex.ru> Date: Thu, 01 Feb 2007 11:57:30 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> In-Reply-To: <20070130170443.A49225@xorpc.icir.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 09:10:06 -0000 Luigi Rizzo wrote: > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. It builds, kldload/kldunload works, but camera don't recognized. My hardware: Notebook Maxselect GT3000 (seems like a Clevo M550J) http://www.clevo.com.tw/products/M550J.asp usbdevs -v port 8 addr 2: high speed, power 500 mA, config 1, USB2.0 Camera(0x5602), vendor 0x0402(0x0402), rev 1.00 I've found two related to this webcam projects: http://sourceforge.net/search/?type_of_search=soft&words=m560x But not yet tried this driver. -- WBR, Andrey V. Elsukov From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 12:29:57 2007 Return-Path: X-Original-To: Current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7943316A405 for ; Thu, 1 Feb 2007 12:29:57 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 4F62413C478 for ; Thu, 1 Feb 2007 12:29:57 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 873809E238 for ; Thu, 1 Feb 2007 07:08:06 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Thu, 01 Feb 2007 07:08:06 -0500 X-Sasl-enc: lCkDMJxCkcjnMOkMUzPqlzkTaULuk64KLmaVXH3++lJf 1170331686 Received: from [192.168.123.18] (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTP id 222782443A for ; Thu, 1 Feb 2007 07:08:05 -0500 (EST) Message-ID: <45C1D824.3090604@incunabulum.net> Date: Thu, 01 Feb 2007 12:08:04 +0000 From: Bruce M Simpson User-Agent: Thunderbird 1.5.0.9 (X11/20070125) MIME-Version: 1.0 To: FreeBSD current mailing list Content-Type: multipart/mixed; boundary="------------010809070603090408070202" Cc: Subject: breaks C++ in kernel Click X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 12:29:57 -0000 This is a multi-part message in MIME format. --------------010809070603090408070202 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, A C++ reserved keyword crept in, which is breaking the Click kernel module build. This patch gets rid of the argument names from the prototypes, which also fixes style bugs. Could I have an ok from someone for this? Cheers, BMS --------------010809070603090408070202 Content-Type: text/x-patch; name="lock.h.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lock.h.diff" Index: lock.h =================================================================== RCS file: /home/ncvs/src/sys/sys/lock.h,v retrieving revision 1.62 diff -u -p -r1.62 lock.h --- lock.h 13 Nov 2006 05:43:42 -0000 1.62 +++ lock.h 1 Feb 2007 12:05:57 -0000 @@ -217,9 +217,9 @@ extern struct lock_class lock_class_lock extern struct lock_class *lock_classes[]; -void lock_init(struct lock_object *lock, struct lock_class *class, - const char *name, const char *type, int flags); -void lock_destroy(struct lock_object *lock); +void lock_init(struct lock_object *, struct lock_class *, + const char *, const char *, int); +void lock_destroy(struct lock_object *); void spinlock_enter(void); void spinlock_exit(void); void witness_init(struct lock_object *); --------------010809070603090408070202-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 13:30:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DC4416A407 for ; Thu, 1 Feb 2007 13:30:09 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4190613C48E for ; Thu, 1 Feb 2007 13:30:09 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HCc0O-0003wC-Iz for freebsd-current@freebsd.org; Thu, 01 Feb 2007 14:29:36 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Feb 2007 14:29:36 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Feb 2007 14:29:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Thu, 01 Feb 2007 14:29:09 +0100 Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 1.5.0.9 (X11/20070110) Sender: news Cc: freebsd-geom@freebsd.org Subject: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 13:30:09 -0000 Hi! As announced, the plan was to start working on importing gvirstor into CVS after 6.2 was successfully released. For those who don't know, gvirstor is a GEOM class providing storage virtualisation facility, i.e. its purpose is to offer the ability to create a virtual storage device of arbitrarily large size (typically several terabytes) which consists of an arbitrary number of physical storage devices (actually any lower-level GEOM providers, including RAID devices) of arbitrary size (typically 50 GB - 400 GB hard drives). The latest sources are available in p4 and conveniently on FreeBSD's wiki site: http://wiki.freebsd.org/gvirstor . There are some known minor issues that will be fixed in the following days (mostly related to overly verbose error messages), so (at the suggestion of my mentor - pjd) I'm inviting interested users to try it out and report any problems found (if there are such). Also, benchmarks of gvirstor in close-to-real-life usage are welcome. The idea is to stabilize the current code, and new features will be developed later. From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 18:33:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF37B16A402 for ; Thu, 1 Feb 2007 18:33:59 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 6075713C48D for ; Thu, 1 Feb 2007 18:33:59 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l11IXvcN031535; Fri, 2 Feb 2007 05:33:57 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l11IXuTa031534; Fri, 2 Feb 2007 05:33:56 +1100 (EST) (envelope-from peter) Date: Fri, 2 Feb 2007 05:33:56 +1100 From: Peter Jeremy To: Ian FREISLICH Message-ID: <20070201183356.GE909@turion.vk2pj.dyndns.org> References: <20070130231210.GR892@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: Robert Huff , freebsd-current@freebsd.org Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 18:34:00 -0000 --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 2007-Jan-31 07:54:24 +0200, Ian FREISLICH wrote: >As a random datapoint that might or might not be related. In the >last year or so I was pontificating about how much better SCSI was >that IDE/ATA to my boss. I then did some benchmarks on my (CURRENT) >system and discovered that an old 10Gig 7.5krpm UDMA33 disk >significantly out perform some Seagate Cheatah LVD 10krpm disks. I have access to a Sun V20z at work: mpt0: port 0x2000-0x20ff mem 0xfe850000-0xfe= 85ffff,0xfe840000-0xfe84ffff irq 27 at device 4.0 on pci2 mpt0: [GIANT-LOCKED] mpt0: MPI Version=3D1.2.15.0 mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE ) mpt0: 0 Active Volumes (1 Max) mpt0: 0 Hidden Drive Members (6 Max) da0 at mpt0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device=20 da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing= Enabled da0: 70136MB (143638992 512 byte sectors: 255H 63S/T 8941C) da1 at mpt0 bus 0 target 1 lun 0 da1: Fixed Direct Access SCSI-3 device=20 da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing= Enabled da1: 70136MB (143638992 512 byte sectors: 255H 63S/T 8941C) Whilst the drives are geom mirrored, running in "prefer" mode forces all reads to come off the first drive (iostat/systat verify this) and I get: # df -ki /home Filesystem 1K-blocks Used Avail Capacity iused ifree %i= used Mounted on /dev/mirror/gm0s1f 38999124 13440472 22438724 37% 273895 4766231 = 5% /home # dump -0aL -f /dev/null -C 32 /home DUMP: DUMP: 13671011 tape blocks on 1 volume DUMP: finished in 906 seconds, throughput 15089 KBytes/sec Note that I've only just mirrored this system that everything has been very recently restored which might give an optimistic result but this is still way above what I'm seeing on my ATA system at home or what Robert is seeing. >Last time I looked, ahc(4) was still under GIANT. The ATA system >has had a significant overhaul. mpt(4) is also under giant and still gives a good account of itself. --=20 Peter Jeremy --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwjKU/opHv/APuIcRAriwAKC1NNMjWi3zz16nvJR0RTZjP/xiUACfXo0L ZE7pUsqJKJjRZko1lv7taKI= =RuZ/ -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 19:36:24 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B288F16A401 for ; Thu, 1 Feb 2007 19:36:24 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outA.internet-mail-service.net (outA.internet-mail-service.net [216.240.47.224]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1DB13C48D for ; Thu, 1 Feb 2007 19:36:24 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 11:14:43 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 9C077125D66 for ; Thu, 1 Feb 2007 11:35:47 -0800 (PST) Message-ID: <45C24113.7000608@elischer.org> Date: Thu, 01 Feb 2007 11:35:47 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 19:36:24 -0000 here's an intersting set of numbers.. notice the increase in 'system time' for the same work done when there is more parallelism. make buildworld 3762.94 real 2627.66 user 1275.78 sys 3763.32 real 2632.04 user 1271.80 sys 3763.34 real 2627.99 user 1276.39 sys 3763.03 real 2632.50 user 1270.91 sys make -j 2 buildworld 2465.10 real 2958.94 user 1918.64 sys 2463.97 real 2968.43 user 1910.65 sys 2472.13 real 2978.64 user 1912.80 sys 2582.83 real 2965.51 user 2047.19 sys make -j 4 buildworld 2262.88 real 4322.31 user 3333.58 sys 2255.88 real 4330.32 user 3319.48 sys 2256.09 real 4318.84 user 3336.57 sys 2257.63 real 4338.34 user 3313.07 sys (2 processors with HTT) (looks like 4 processors) -current, sched_4bsd I'm guessing that the extra system time represents a lot of contention somewhere. What is the best way to get actual numbers on this? From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 19:46:30 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F01E616A403 for ; Thu, 1 Feb 2007 19:46:30 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id B8ED513C4B7 for ; Thu, 1 Feb 2007 19:46:30 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.13.6/8.13.6) with ESMTP id l11JkJUt018750 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 1 Feb 2007 14:46:19 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id l11JkD2X038443; Thu, 1 Feb 2007 14:46:13 -0500 (EST) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17858.17285.523377.837244@grasshopper.cs.duke.edu> Date: Thu, 1 Feb 2007 14:46:13 -0500 (EST) To: Julian Elischer In-Reply-To: <45C24113.7000608@elischer.org> References: <45C24113.7000608@elischer.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Cc: FreeBSD Current Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 19:46:31 -0000 Julian Elischer writes: > I'm guessing that the extra system time represents a lot of > contention somewhere. > > What is the best way to get actual numbers on this? The Dtrace lockstat tool is designed for this, and I've used it to track down contention like this on Solaris. It seems to be on the TODO list for the FreeBSD Dtrace port at http://people.freebsd.org/~jb/dtrace/todo.html. I wonder how soon it will arrive.. It is one of the things that I'm most looking forward to. Drew From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 19:55:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F181E16A402 for ; Thu, 1 Feb 2007 19:55:24 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id AF42A13C47E for ; Thu, 1 Feb 2007 19:55:24 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HCi1Z-0005tX-Pp for freebsd-current@freebsd.org; Thu, 01 Feb 2007 20:55:14 +0100 Received: from 83-131-170-199.adsl.net.t-com.hr ([83.131.170.199]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Feb 2007 20:55:13 +0100 Received: from ivoras by 83-131-170-199.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Feb 2007 20:55:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Thu, 01 Feb 2007 20:54:41 +0100 Lines: 36 Message-ID: References: <45C24113.7000608@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB235D85CB85DEFA37D806CBA" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-170-199.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) In-Reply-To: <45C24113.7000608@elischer.org> X-Enigmail-Version: 0.94.1.2 Sender: news Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 19:55:25 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB235D85CB85DEFA37D806CBA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Julian Elischer wrote: > 3762.94 real 2627.66 user 1275.78 sys > 2465.10 real 2958.94 user 1918.64 sys > 2262.88 real 4322.31 user 3333.58 sys > (2 processors with HTT) (looks like 4 processors) > -current, sched_4bsd I'm possibly stating the obvious, but did you try without HTT or on a real 4proc machine? Much of the contention might be an artifact of HTT (e.g. HTT "logical" processor blocking when real work could be done because the internal processor units are busy elsewhere). --------------enigB235D85CB85DEFA37D806CBA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFwkWBldnAQVacBcgRAuXYAKCR2eNUWrujF1YSnJFh2V/hPJ8VXgCeJQvC PCPsKlTVaPs3B/8zqVfkpwo= =g7xj -----END PGP SIGNATURE----- --------------enigB235D85CB85DEFA37D806CBA-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 20:03:01 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 137A016A405 for ; Thu, 1 Feb 2007 20:03:01 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outJ.internet-mail-service.net (outJ.internet-mail-service.net [216.240.47.233]) by mx1.freebsd.org (Postfix) with ESMTP id EA80413C4AA for ; Thu, 1 Feb 2007 20:02:56 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 11:41:14 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 45C5F125F82; Thu, 1 Feb 2007 12:02:21 -0800 (PST) Message-ID: <45C2474C.3080909@elischer.org> Date: Thu, 01 Feb 2007 12:02:20 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Andrew Gallatin References: <45C24113.7000608@elischer.org> <17858.17285.523377.837244@grasshopper.cs.duke.edu> In-Reply-To: <17858.17285.523377.837244@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 20:03:01 -0000 Andrew Gallatin wrote: > Julian Elischer writes: > > I'm guessing that the extra system time represents a lot of > > contention somewhere. > > > > What is the best way to get actual numbers on this? > > The Dtrace lockstat tool is designed for this, and I've used it to > track down contention like this on Solaris. It seems to be on the > TODO list for the FreeBSD Dtrace port at > http://people.freebsd.org/~jb/dtrace/todo.html. I wonder how soon it > will arrive.. It is one of the things that I'm most looking forward > to. > > Drew I just realised that since this is an HTT machine the massive increase in user and system times between -j2 and -j4 is probably due to every thing running slower but over twice as many cpus.. The increase between -j1 and -j2 is more relevant and interesting I think. make -j 2 buildworld 2465.10 real 2958.94 user 1918.64 sys 2463.97 real 2968.43 user 1910.65 sys 2472.13 real 2978.64 user 1912.80 sys 2582.83 real 2965.51 user 2047.19 sys make -j 4 buildworld 2262.88 real 4322.31 user 3333.58 sys 2255.88 real 4330.32 user 3319.48 sys 2256.09 real 4318.84 user 3336.57 sys 2257.63 real 4338.34 user 3313.07 sys From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 20:04:02 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 871A516A403 for ; Thu, 1 Feb 2007 20:04:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outM.internet-mail-service.net (outM.internet-mail-service.net [216.240.47.236]) by mx1.freebsd.org (Postfix) with ESMTP id 714B313C478 for ; Thu, 1 Feb 2007 20:04:02 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 11:42:21 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 293C9125B4A; Thu, 1 Feb 2007 12:03:21 -0800 (PST) Message-ID: <45C24788.2040708@elischer.org> Date: Thu, 01 Feb 2007 12:03:20 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Ivan Voras References: <45C24113.7000608@elischer.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 20:04:02 -0000 Ivan Voras wrote: > Julian Elischer wrote: > >> 3762.94 real 2627.66 user 1275.78 sys >> 2465.10 real 2958.94 user 1918.64 sys >> 2262.88 real 4322.31 user 3333.58 sys > >> (2 processors with HTT) (looks like 4 processors) >> -current, sched_4bsd > > I'm possibly stating the obvious, but did you try without HTT or on a > real 4proc machine? Much of the contention might be an artifact of HTT > (e.g. HTT "logical" processor blocking when real work could be done > because the internal processor units are busy elsewhere). > > yes I just sent an email stating that. And I'm trying it again with the virtual cores turned off. From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 20:06:40 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2494C16A405 for ; Thu, 1 Feb 2007 20:06:40 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 137D813C494 for ; Thu, 1 Feb 2007 20:06:39 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5928E1A4D8C; Thu, 1 Feb 2007 12:06:39 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7BCED5127C; Thu, 1 Feb 2007 15:06:27 -0500 (EST) Date: Thu, 1 Feb 2007 15:06:27 -0500 From: Kris Kennaway To: Julian Elischer Message-ID: <20070201200627.GA73677@xor.obsecurity.org> References: <45C24113.7000608@elischer.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <45C24113.7000608@elischer.org> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Current Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 20:06:40 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2007 at 11:35:47AM -0800, Julian Elischer wrote: > here's an intersting set of numbers.. >=20 > notice the increase in 'system time' for the same work done when there > is more parallelism. >=20 > make buildworld > 3762.94 real 2627.66 user 1275.78 sys > 3763.32 real 2632.04 user 1271.80 sys > 3763.34 real 2627.99 user 1276.39 sys > 3763.03 real 2632.50 user 1270.91 sys >=20 > make -j 2 buildworld > 2465.10 real 2958.94 user 1918.64 sys > 2463.97 real 2968.43 user 1910.65 sys > 2472.13 real 2978.64 user 1912.80 sys > 2582.83 real 2965.51 user 2047.19 sys >=20 > make -j 4 buildworld > 2262.88 real 4322.31 user 3333.58 sys > 2255.88 real 4330.32 user 3319.48 sys > 2256.09 real 4318.84 user 3336.57 sys > 2257.63 real 4338.34 user 3313.07 sys >=20 > (2 processors with HTT) (looks like 4 processors) > -current, sched_4bsd >=20 > I'm guessing that the extra system time represents a lot of > contention somewhere. >=20 > What is the best way to get actual numbers on this? LOCK_PROFILING. Kris --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwkhDWry0BWjoQKURArpaAJ976RGJbWEhtIBPTaX2IfElxRMqQwCg5RDY SG1C6+Fe/gMBhcJEXDCWaSY= =75p7 -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 20:30:21 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDF2B16A401 for ; Thu, 1 Feb 2007 20:30:21 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 71A6F13C461 for ; Thu, 1 Feb 2007 20:30:21 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so559808uge for ; Thu, 01 Feb 2007 12:30:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=C8cxn/LJ8fCVVyjK33xZSewieg6qFCxeIvTyZoWn/lNrxW9ggR4kujLnP9NKypOO0iRKGtX9yE2+3Rg+ajGs8TSqBMbm7CJg3C0vhkibZo8XeGHSrgtXHhrMrmlxRfSJwDBTYpZ3wPBsvVP4VGT723QzDEHguALtGDMBc7tOaAo= Received: by 10.82.183.19 with SMTP id g19mr794213buf.1170361816832; Thu, 01 Feb 2007 12:30:16 -0800 (PST) Received: by 10.82.191.16 with HTTP; Thu, 1 Feb 2007 12:30:16 -0800 (PST) Message-ID: Date: Thu, 1 Feb 2007 12:30:16 -0800 From: "Kip Macy" To: "Julian Elischer" , "Ivan Voras" , freebsd-current@freebsd.org In-Reply-To: <45C24788.2040708@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45C24113.7000608@elischer.org> <45C24788.2040708@elischer.org> Cc: Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 20:30:21 -0000 I can already tell you from builds on the T2000 that its the vm page queue mutex. On 2/1/07, Julian Elischer wrote: > Ivan Voras wrote: > > Julian Elischer wrote: > > > >> 3762.94 real 2627.66 user 1275.78 sys > >> 2465.10 real 2958.94 user 1918.64 sys > >> 2262.88 real 4322.31 user 3333.58 sys > > > >> (2 processors with HTT) (looks like 4 processors) > >> -current, sched_4bsd > > > > I'm possibly stating the obvious, but did you try without HTT or on a > > real 4proc machine? Much of the contention might be an artifact of HTT > > (e.g. HTT "logical" processor blocking when real work could be done > > because the internal processor units are busy elsewhere). > > > > > > yes I just sent an email stating that. > And I'm trying it again with the virtual cores turned off. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Thu Feb 1 21:49:58 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E997516A403 for ; Thu, 1 Feb 2007 21:49:58 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outF.internet-mail-service.net (outF.internet-mail-service.net [216.240.47.229]) by mx1.freebsd.org (Postfix) with ESMTP id C797213C4AA for ; Thu, 1 Feb 2007 21:49:54 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 13:28:13 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 5BEEC125ED0 for ; Thu, 1 Feb 2007 13:49:53 -0800 (PST) Message-ID: <45C26080.3030207@elischer.org> Date: Thu, 01 Feb 2007 13:49:52 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: panic just seen during boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 21:49:59 -0000 I'm re-sup-ing now to see if this has been fixed.... but if anyone thinks this looks like something they are working with.... (using LOCK_PROFILING) [...] cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 panic: mtx_lock() of spin mutex @ ../../../kern/kern_sx.c:172 cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x2b: nop db> db> tr Tracing pid 0 tid 0 td 0xc075c6c8 kdb_enter(c06c926e) at kdb_enter+0x2b panic(c06c8311,c5f3e640,c06c9a68,ac,0,...) at panic+0x11c _mtx_lock_flags(c5f3e680,0,c06c9a68,ac) at _mtx_lock_flags+0x78 _sx_xlock(c090aa40,c0904c02,dd,c06925c2,ff,...) at _sx_xlock+0x34 acpi_pcib_route_interrupt(c5fb8600,c5fce300,1,c5fc5df4,c5fb8600,...) at acpi_pcib_route_interrupt+0x2e acpi_pcib_acpi_route_interrupt(c5fb8600,c5fce300,1) at acpi_pcib_acpi_route_interrupt+0x1d pci_assign_interrupt_method(c5fce880,c5fce300) at pci_assign_interrupt_method+0x58 pci_assign_interrupt(c5fce880,c5fce300,1) at pci_assign_interrupt+0xc0 pci_add_resources(c5fce880,c5fce300,0,0,c5f85b00,...) at pci_add_resources+0x21d pci_add_child(c5fce880,c5f85b00) at pci_add_child+0x52 pci_add_children(c5fce880,0,cc,c0719b78,0,...) at pci_add_children+0x10a acpi_pci_attach(c5fce880) at acpi_pci_attach+0x66 device_attach(c5fce880,c5fcead0,c5fce880,0,c5fb8600,...) at device_attach+0x58 device_probe_and_attach(c5fce880) at device_probe_and_attach+0xe0 bus_generic_attach(c5fb8600,c5fb8600,0,c5ed7d60,c5fc5de0,...) at bus_generic_attach+0x16 acpi_pcib_attach(c5fb8600,c5fc5df4,0,c0c20c40,c054c078,...) at acpi_pcib_attach+0x12f acpi_pcib_acpi_attach(c5fb8600) at acpi_pcib_acpi_attach+0xcf device_attach(c5fb8600,c0c20c88,c5fb8600,c5fc1a40,c5fb9400,...) at device_attach+0x58 device_probe_and_attach(c5fb8600) at device_probe_and_attach+0xe0 bus_generic_attach(c5fb9400,ef,e0,c5fc5248,4,...) at bus_generic_attach+0x16 acpi_attach(c5fb9400) at acpi_attach+0x5f6 device_attach(c5fb9400,0,c5fb9400,c5f4b100,0,...) at device_attach+0x58 device_probe_and_attach(c5fb9400) at device_probe_and_attach+0xe0 bus_generic_attach(c5f4b100,c5f4b100,c5f4b100,c0c20d40,c0547348,...) at bus_generic_attach+0x16 nexus_attach(c5f4b100) at nexus_attach+0x13 device_attach(c5f4b100,0,c5f4b100,c0718804,c28000,...) at device_attach+0x58 device_probe_and_attach(c5f4b100) at device_probe_and_attach+0xe0 root_bus_configure(c0c20d88,c0500586,0,c1ec00,c1e000,...) at root_bus_configure+0x16 configure(0,c1ec00,c1e000,0,c0434b95,...) at configure+0x9 mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 00:21:53 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA1F316A406 for ; Fri, 2 Feb 2007 00:21:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outR.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 9FBC213C474 for ; Fri, 2 Feb 2007 00:21:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 16:00:11 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 5E9D2125D41 for ; Thu, 1 Feb 2007 16:21:52 -0800 (PST) Message-ID: <45C2841F.1030801@elischer.org> Date: Thu, 01 Feb 2007 16:21:51 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: still getting this panic on boot after update of sources. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 00:21:53 -0000 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 panic: mtx_lock() of spin mutex @ ../../../kern/kern_sx.c:172 cpuid = 0 KDB: enter: panic [thread pid 0 tid 0 ] Stopped at kdb_enter+0x2b: nop db> tr Tracing pid 0 tid 0 td 0xc075cd08 kdb_enter(c06c95c9) at kdb_enter+0x2b panic(c06c866c,c5f3e640,c06c9dc3,ac,0,...) at panic+0x11c _mtx_lock_flags(c5f3e680,0,c06c9dc3,ac) at _mtx_lock_flags+0x78 _sx_xlock(c090aa40,c0904c02,dd,c0692922,ff,...) at _sx_xlock+0x34 acpi_pcib_route_interrupt(c5fb8600,c5fce300,1,c5fc5df4,c5fb8600,...) at acpi_pcib2 acpi_pcib_acpi_route_interrupt(c5fb8600,c5fce300,1) at acpi_pcib_acpi_route_intert pci_assign_interrupt_method(c5fce880,c5fce300) at pci_assign_interrupt_method+0x58 pci_assign_interrupt(c5fce880,c5fce300,1) at pci_assign_interrupt+0xc0 [...] I saw some talk of changes in pci interrupt routing etc. this related? (am rebuilding from scratch just to make sure) From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 03:02:07 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3C3E16A402 for ; Fri, 2 Feb 2007 03:02:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id BC02C13C461 for ; Fri, 2 Feb 2007 03:02:06 +0000 (UTC) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id l12324W5002982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 1 Feb 2007 19:02:06 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45C2A9AC.10909@errno.com> Date: Thu, 01 Feb 2007 19:02:04 -0800 From: Sam Leffler User-Agent: Thunderbird 1.5.0.8 (X11/20061115) MIME-Version: 1.0 To: freebsd-current@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: CFT: newath hal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 03:02:07 -0000 You can find hal version 0.9.30.7 here: http://people.freebsd.org/~sam/ath_hal-20070201.tgz The most important change relative to 0.9.20.3 (as found in CVS) is in handling half- and quarter-rate channels used in the Public Safety Band (PSB) and in 900MHz cards like the Ubiquiti SR9 and Zcomax GZ-901. This should be a drop-in replacement for the existing hal; I believe I've committed all necessary changes to HEAD (and probably RELENG_6 but need to test there before I post for users of that branch). To use the PSB you need to change the country code on the card like this: sysctl dev.ath.0.countrycode=842 This assumes your code has regdomain 0 in the eeprom. Otherwise if the regdomain is 0x12 (if I recall) then likewise you'll find the PSB channels displayed with: ifconfig ath0 list chan. For the 900MHz cards you set the country code to 843 (as above) and then you'll find these channels (for the sr9 at least): aku% ifconfig ath0 list chan Channel 3 : 907* Mhz 11g/5Mhz Channel 23 : 917* Mhz 11g/5Mhz Channel 4 : 907* Mhz 11g/10Mhz Channel 24 : 917* Mhz 11g/10Mhz Channel 13 : 912* Mhz 11g/5Mhz Channel 26 : 917* Mhz 11g Channel 14 : 912* Mhz 11g/10Mhz Channel 33 : 922* Mhz 11g/5Mhz Channel 16 : 912* Mhz 11g Channel 34 : 922* Mhz 11g/10Mhz For now you'll need to use the IEEE channel #'s to uniquely identify the channel use. I've got changes to ifconfig to handle this more cleanly but they'll require some more extensive changes to net80211. Sam From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 03:06:10 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0A2FB16A401 for ; Fri, 2 Feb 2007 03:06:10 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id CC35513C471 for ; Fri, 2 Feb 2007 03:06:05 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from dynabook-freebsd.advok.com (pool-151-197-34-47.phil.east.verizon.net [151.197.34.47]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 367C225A06; Fri, 2 Feb 2007 12:06:02 +0900 (JST) Date: Thu, 1 Feb 2007 06:31:55 -0500 From: Yoshihiro Ota To: Garrett Cooper Message-Id: <20070201063155.baf1df2e.ota@j.email.ne.jp> In-Reply-To: <45C19758.8070704@u.washington.edu> References: <20070201002623.b8cb5d08.ota@j.email.ne.jp> <45C19758.8070704@u.washington.edu> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: [patch] mount fails to call external programs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 03:06:10 -0000 On Wed, 31 Jan 2007 23:31:36 -0800 Garrett Cooper wrote: > Yoshihiro Ota wrote: > > Hello. > > > > The 'mount' program attempts to maintain external mount programs in order to determine whether > > it needs to call external programs or handle it internally. > > > > Not all external programs can be listed in mount.c. Indeed, my mount_md failed after mount > > trying to handle it itself. > > > > The solution is to maintain interally handlable fs types. > > > > I am not fully sure if I listed all of them correctly; however, it fixes the problem. > > > > Thanks, > > Hiro > > Unfortunately your patch voids the point of having the filesystems > listed there, according to the author of the comment directly above > structure you have shown. > > I honestly don't know why anyone would want to statically define that > though, because mount_* searching in $PATH should suffice, and the > nmount interface could be maintained in each sourcefile. Just my > thoughts on the subject though.. > > -Garrett It sounds that you are confused. You are refering to the comment I copied below, aren't you? /* XXX: We need to get away from implementing external mount * programs for every filesystem, and move towards having * each filesystem properly implement the nmount() system call. */ This is saying that nmount() system call needs to handle various file system types. Instead, I am saying that NO ONE can MAINTAIN all external file system names in the list here. I expect that all of FUSE file systems and mount programs that can be installed from ports will fail because they are not listed in here. They are on totally diffrent subjects. My patch does not conflict with what the comment says. Regards, Hiro From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 01:30:12 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B305E16A402; Fri, 2 Feb 2007 01:30:12 +0000 (UTC) (envelope-from a.bittau@cs.ucl.ac.uk) Received: from darkircop.org (tapir.cs.ucl.ac.uk [128.16.66.93]) by mx1.freebsd.org (Postfix) with ESMTP id 5B8E013C4AC; Fri, 2 Feb 2007 01:30:12 +0000 (UTC) (envelope-from a.bittau@cs.ucl.ac.uk) Received: by darkircop.org (Postfix, from userid 0) id 6D95F6D738; Fri, 2 Feb 2007 00:57:44 +0000 (GMT) Date: Fri, 2 Feb 2007 00:57:44 +0000 From: Andrea Bittau To: freebsd-current@freebsd.org Message-ID: <20070202005744.GA1390@shorty.sorbonet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Echelon: Bush Bomb War KGB X-Mailman-Approved-At: Fri, 02 Feb 2007 03:26:17 +0000 Cc: sos@FreeBSD.org Subject: [PATCH] Fix VIA 6421 SATA (cardbus) controller---ignore SATA registers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 01:30:12 -0000 This patch makes a cardbus VIA 6421 SATA150 controller that I have work. Basically, the SATA registers on the card seemed screwed up. I don't know if it's a good idea to always try and ignore them if "bogus" [in my case, 0xFFFFFFFF] values are returned. In this patch I added a nasty quirk that does the job for me. Note, to get this particular card to work, you also need to: sysctl hw.cbb.start_32_io=0 This is needed because it uses 0xaf0 as a port. --- Index: ata-chipset.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.179 diff -u -p -r1.179 ata-chipset.c --- ata-chipset.c 4 Jan 2007 16:09:11 -0000 1.179 +++ ata-chipset.c 2 Feb 2007 00:44:20 -0000 @@ -295,6 +295,11 @@ ata_sata_connect(struct ata_channel *ch) { u_int32_t status; int timeout; + struct ata_pci_controller *ctlr; + + ctlr = device_get_softc(device_get_parent(ch->dev)); + if (ctlr->chip->chipid == ATA_VIA6421) + goto skip_sr; /* wait up to 1 second for "connect well" */ for (timeout = 0; timeout < 100 ; timeout++) { @@ -312,7 +317,7 @@ ata_sata_connect(struct ata_channel *ch) /* clear SATA error register */ ATA_IDX_OUTL(ch, ATA_SERROR, ATA_IDX_INL(ch, ATA_SERROR)); - +skip_sr: /* find out what type device we got poll for spec'd 31 seconds */ /* XXX SOS 10 secs for now as I have little patience */ ch->devices = 0; @@ -4961,8 +4966,13 @@ static void ata_via_reset(device_t dev) { struct ata_channel *ch = device_get_softc(dev); + struct ata_pci_controller *ctlr = device_get_softc(device_get_parent(dev)); - ata_sata_phy_enable(ch); + /* SATA registers are messed up on this chip---ignore them. -sorbo */ + if (ctlr->chip->chipid == ATA_VIA6421) + ata_sata_connect(ch); + else + ata_sata_phy_enable(ch); } static void From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 03:47:52 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCD6416A400 for ; Fri, 2 Feb 2007 03:47:52 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from smtp3.clear.net.nz (smtp3.clear.net.nz [203.97.33.64]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF5E13C48D for ; Fri, 2 Feb 2007 03:47:52 +0000 (UTC) (envelope-from markir@paradise.net.nz) Received: from [192.168.1.11] (121-72-66-26.dsl.telstraclear.net [121.72.66.26]) by smtp3.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JCT00CS3GI5BK30@smtp3.clear.net.nz> for freebsd-current@freebsd.org; Fri, 02 Feb 2007 16:32:29 +1300 (NZDT) Date: Fri, 02 Feb 2007 16:32:18 +1300 From: Mark Kirkwood In-reply-to: <20070201183356.GE909@turion.vk2pj.dyndns.org> To: Peter Jeremy Message-id: <45C2B0C2.3090707@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <20070130231210.GR892@turion.vk2pj.dyndns.org> <20070201183356.GE909@turion.vk2pj.dyndns.org> User-Agent: Thunderbird 1.5.0.9 (X11/20061227) Cc: Ian FREISLICH , Robert Huff , freebsd-current@freebsd.org Subject: Re: Interesting speed benchmarks X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 03:47:52 -0000 Peter Jeremy wrote: > On Wed, 2007-Jan-31 07:54:24 +0200, Ian FREISLICH wrote: >> As a random datapoint that might or might not be related. In the >> last year or so I was pontificating about how much better SCSI was >> that IDE/ATA to my boss. I then did some benchmarks on my (CURRENT) >> system and discovered that an old 10Gig 7.5krpm UDMA33 disk >> significantly out perform some Seagate Cheatah LVD 10krpm disks. > > I have access to a Sun V20z at work: > mpt0: port 0x2000-0x20ff mem 0xfe850000-0xfe85ffff,0xfe840000-0xfe84ffff irq 27 at device 4.0 on pci2 > mpt0: [GIANT-LOCKED] > mpt0: MPI Version=1.2.15.0 > mpt0: Capabilities: ( RAID-1E RAID-1 SAFTE ) > mpt0: 0 Active Volumes (1 Max) > mpt0: 0 Hidden Drive Members (6 Max) > da0 at mpt0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled > da0: 70136MB (143638992 512 byte sectors: 255H 63S/T 8941C) > da1 at mpt0 bus 0 target 1 lun 0 > da1: Fixed Direct Access SCSI-3 device > da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled > da1: 70136MB (143638992 512 byte sectors: 255H 63S/T 8941C) > > Whilst the drives are geom mirrored, running in "prefer" mode forces > all reads to come off the first drive (iostat/systat verify this) and > I get: > # df -ki /home > Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on > /dev/mirror/gm0s1f 38999124 13440472 22438724 37% 273895 4766231 5% /home > # dump -0aL -f /dev/null -C 32 /home > DUMP: DUMP: 13671011 tape blocks on 1 volume > DUMP: finished in 906 seconds, throughput 15089 KBytes/sec > > Note that I've only just mirrored this system that everything has been > very recently restored which might give an optimistic result but this > is still way above what I'm seeing on my ATA system at home or what > Robert is seeing. > Not sure if this will be helpful or not, but on a 4xATA-133 disk 3ware RAID 0 system (running STABLE) I get this: # dump -0aL -f /dev/null -C 32 /home DUMP: DUMP: 12704177 tape blocks on 1 volume DUMP: finished in 628 seconds, throughput 20229 KBytes/sec While the dump is happening iostat shows: device r/s w/s kr/s kw/s wait svc_t %b twed0 1113.2 0.2 71230.9 6.4 2 1.6 86 So looks like we are working the filesystem pretty hard... Cheers Mark From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 04:24:19 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77D6A16A400 for ; Fri, 2 Feb 2007 04:24:19 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 4739913C4A6 for ; Fri, 2 Feb 2007 04:24:19 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from dynabook-freebsd.advok.com (pool-151-197-34-47.phil.east.verizon.net [151.197.34.47]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 63390284CD for ; Fri, 2 Feb 2007 13:24:17 +0900 (JST) Date: Thu, 1 Feb 2007 23:21:18 -0500 From: Yoshihiro Ota To: freebsd-current@freebsd.org Message-Id: <20070201232118.c7cc1a10.ota@j.email.ne.jp> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: geli broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 04:24:19 -0000 RCS file: /home/ncvs/src/sys/geom/eli/g_eli.c,v Working file: g_eli.c head: 1.34 revision 1.34 date: 2007/01/28 20:29:12; author: pjd; state: Exp; lines: +7 -0 It is possible that GEOM taste provider before SMP is started. We can't bind to a CPU which is not yet on-line, so add code that wait for CPUs to go on-line before binding to them. Reported by: Alin-Adrian Anton MFC after: 2 weeks ---------------------------- The change noted above caused problem with my system. After typing password, the geli device was never recognized never response. It looked like it was in an infinity loop. I have the following entry in my fstab and I need to type in my password for it. /dev/da0s2.eli /export ufs rw 2 2 After reverting to 1.33, my system started without problems. I use GENERIC kernel configuration without WITNESS and INVARIANTS. Thanks, Hiro From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 04:05:44 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B26CD16A406 for ; Fri, 2 Feb 2007 04:05:44 +0000 (UTC) (envelope-from refugee@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9A08713C494 for ; Fri, 2 Feb 2007 04:05:44 +0000 (UTC) (envelope-from refugee@mu.org) Received: from ssl.mu.org (localhost [127.0.0.1]) by elvis.mu.org (Postfix) with ESMTP id A9C351A3C1C; Thu, 1 Feb 2007 19:36:20 -0800 (PST) Received: from 65.57.245.11 (SquirrelMail authenticated user refugee) by ssl.mu.org with HTTP; Thu, 1 Feb 2007 19:36:20 -0800 (PST) Message-ID: <15908.65.57.245.11.1170387380.squirrel@ssl.mu.org> In-Reply-To: References: <45C24113.7000608@elischer.org> <45C24788.2040708@elischer.org> Date: Thu, 1 Feb 2007 19:36:20 -0800 (PST) From: refugee@mu.org To: "Kip Macy" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 02 Feb 2007 04:34:01 +0000 Cc: freebsd-current@freebsd.org, Julian Elischer , Ivan Voras Subject: Re: lock contention etc. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 04:05:44 -0000 On Thu, February 1, 2007 12:30 pm, Kip Macy wrote: > I can already tell you from builds on the T2000 that its the vm page > queue mutex. Yep, I'm seeing the same thing on a quad opteron: http://people.freebsd.org/~ssouhlal/lock_profile.txt -- Suleiman From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 05:06:21 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48E0C16A402 for ; Fri, 2 Feb 2007 05:06:21 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outQ.internet-mail-service.net (outQ.internet-mail-service.net [216.240.47.240]) by mx1.freebsd.org (Postfix) with ESMTP id 2103213C467 for ; Fri, 2 Feb 2007 05:06:21 +0000 (UTC) (envelope-from julian@elischer.org) Received: from shell.idiom.com (HELO idiom.com) (216.240.47.20) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Thu, 01 Feb 2007 20:44:37 -0800 Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id D6F0D125B3C; Thu, 1 Feb 2007 21:06:19 -0800 (PST) Message-ID: <45C2C6CB.30508@elischer.org> Date: Thu, 01 Feb 2007 21:06:19 -0800 From: Julian Elischer User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Julian Elischer References: <45C2841F.1030801@elischer.org> In-Reply-To: <45C2841F.1030801@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: [not] still getting this panic on boot after update of sources. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 05:06:21 -0000 Julian Elischer wrote: > [...] > I saw some talk of changes in pci interrupt routing etc. > this related? > > (am rebuilding from scratch just to make sure) after a complete rebuild and re-sup it's gone away.. must have caught a half committed change last time.. > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 09:56:59 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AFEF316A403 for ; Fri, 2 Feb 2007 09:56:59 +0000 (UTC) (envelope-from conrad.burger@mxit.com) Received: from smtp.swistgroup.com (smtp.swisttech.com [196.211.145.42]) by mx1.freebsd.org (Postfix) with ESMTP id AFF0913C4AC for ; Fri, 2 Feb 2007 09:56:58 +0000 (UTC) (envelope-from conrad.burger@mxit.com) Received: from timon.swistgroup.com (unknown [172.16.1.30]) by smtp.swistgroup.com (Postfix) with ESMTP id 874F77F34F for ; Fri, 2 Feb 2007 11:44:29 +0200 (SAST) Received: from mailnull by timon.swistgroup.com with local (Exim 4.52 (FreeBSD)) id 1HCuj4-0000vw-LY for current@freebsd.org; Fri, 02 Feb 2007 11:28:58 +0200 Received: from hermes.swistgroup.com ([172.16.1.6]) by timon.swistgroup.com with esmtp (Exim 4.52 (FreeBSD)) id 1HCuj4-0000vk-Jo for current@freebsd.org; Fri, 02 Feb 2007 11:28:58 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 2 Feb 2007 11:25:04 +0200 Message-ID: <45FBF1D2998C93429047415BE8091CC8303A72@HERMES.swistgroup.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [KERNEL PANIC] Assigning IP to BCE on CURRENT Thread-Index: AcdGrAVfPe3fPdUgRWWQKa25aRK3Bg== From: "Conrad Burger" To: X-disclaimer: Legalsentry Cc: Subject: [KERNEL PANIC] Assigning IP to BCE on CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 09:56:59 -0000 ******************************************************************* Click here to view our e-mail legal notice: http://www.mxit.co.za/pdfs/mxit_legal.pdf or call: +27 21 888 5000 ******************************************************************* HARDWARE=3D DELL 1955 BLADE=20 OS Version=3D CURRENT i386(2007-02-01)=20 When I assign an IP to one of the BCE interfaces on the system the = kernel PANICS. >From KDB: --------------------------------------------------------------- Panic: invalid ife->ifm_date (0xa) in mii_phy_setmedia=20 Cpuid =3D 0=20 KDB: enter:panic=20 [ thread pid 715 tid 100041] Stopped at kdb_enter + 0x2b:nop --------------------------------------------------------------- I then type "panic" and it writes a vmcore dump. =20 But when I analyze the vmcore using kgdb and run a "bt" it only gives me = the=20 backtrace of the kdb and shutdown.=20 Is there a way to write a dump without kdb interfering? Another thing, I tried to install CURRENT-snapshot-2007-01(AMD64), but = after it boots from the USB DVDROM. Sysinstall cannot access the USB DVDROM.=20 Is this a known problem? Regards=20 Conrad=20 From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 12:29:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2DAD316A400; Fri, 2 Feb 2007 12:29:43 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp2.utsp.utwente.nl [130.89.2.9]) by mx1.freebsd.org (Postfix) with ESMTP id 9543613C48E; Fri, 2 Feb 2007 12:29:42 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l12CBAox012615; Fri, 2 Feb 2007 13:11:15 +0100 From: Pieter de Goeje To: freebsd-current@freebsd.org Date: Fri, 2 Feb 2007 13:11:10 +0100 User-Agent: KMail/1.9.5 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_epywF30SSJkq3Nj" Message-Id: <200702021311.10339.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Ivan Voras , freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 12:29:43 -0000 --Boundary-00=_epywF30SSJkq3Nj Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I tried the beta3a version from the wiki on an amd64 -CURRENT machine. I made some changes (attached) to g_virstor.c and geom_virstor.c to let them compile cleanly on AMD64. Both files contained instances of some printf variant with format "%u" while the parameter was a size_t, so I changed the format to "%zu". Also, I needed to add -fPIC to the gcc command line to build geom_virstor.so. For some reason, it wasnt able to find "path.h" so I included that one in the search path. After successfully building gvirstor (and loading it), I tried to use it: # ./gvirstor label -s 10000 test /dev/ad0s3b Assertion failed: (G_OPT_TYPE(opt) != 0), function parse_arguments, file /usr/src/sbin/geom/core/geom.c, line 272. Abort (core dumped) Basically I'm stuck here. Regards, Pieter de Goeje PS. How do I download the latest sources from the p4 repository? --Boundary-00=_epywF30SSJkq3Nj Content-Type: text/x-diff; charset="utf-8"; name="g_virstor-patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="g_virstor-patch" --- gvirstor.orig/g_virstor.c Fri Aug 25 16:03:58 2006 +++ gvirstor/g_virstor.c Fri Feb 2 11:43:34 2007 @@ -1418,7 +1418,7 @@ sc->n_components, virstor_valid_components(sc)); sbuf_printf(sb, "%s%u%% physical free\n", indent, 100-(used * 100) / count); - sbuf_printf(sb, "%s%u\n", indent, + sbuf_printf(sb, "%s%zu\n", indent, sc->chunk_size); sbuf_printf(sb, "%s%u%%\n", indent, @@ -1426,9 +1426,9 @@ : 100); sbuf_printf(sb, "%s%u\n", indent, count); - sbuf_printf(sb, "%s%u\n", + sbuf_printf(sb, "%s%zu\n", indent, sc->chunk_count); - sbuf_printf(sb, "%s%u%%\n", + sbuf_printf(sb, "%s%zu%%\n", indent, (count * 100) / sc->chunk_count); sbuf_printf(sb, "%s%jd\n", @@ -1521,7 +1521,7 @@ chunk_index = offset / chunk_size; in_chunk_offset = offset % chunk_size; in_chunk_length = min(length, chunk_size - in_chunk_offset); - LOG_MSG(LVL_DEBUG, "Mapped (%ju, %ju) to (%u,%u,%u)", + LOG_MSG(LVL_DEBUG, "Mapped (%ju, %ju) to (%zu,%zu,%zu)", offset, length, chunk_index, in_chunk_offset, in_chunk_length); me = &sc->map[chunk_index]; --Boundary-00=_epywF30SSJkq3Nj Content-Type: text/x-diff; charset="utf-8"; name="geom_virstor-patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="geom_virstor-patch" --- gvirstor.orig/geom_virstor.c Fri Nov 24 12:47:33 2006 +++ gvirstor/geom_virstor.c Fri Feb 2 11:47:05 2007 @@ -166,7 +166,7 @@ nargs = gctl_get_int(req, "nargs"); if (nargs < 2) { - gctl_error(req, "Too few arguments: expecting: name provider0 [provider1 ...]", nargs); + gctl_error(req, "Too few arguments: expecting: name provider0 [provider1 ...]"); return; } @@ -205,7 +205,7 @@ new_size += MAXPHYS; fprintf(stderr, "Resizing chunk size to be a multiple of MAXPHYS " "(%d KB).\n", MAXPHYS / 1024); - fprintf(stderr, "New chunk size: %u KB\n", new_size / 1024); + fprintf(stderr, "New chunk size: %zu KB\n", new_size / 1024); md.md_chunk_size = new_size; } @@ -309,7 +309,7 @@ if (map_size % md.md_chunk_size != 0) map_chunks++; if (verbose) { - printf(" (%u MB, %d chunks) ", map_size/(1024*1024), map_chunks); + printf(" (%zu MB, %d chunks) ", map_size/(1024*1024), map_chunks); fflush(stdout); } @@ -326,7 +326,7 @@ * in the future */ map = calloc(total_chunks, sizeof *map); if (map == NULL) - gctl_error(req, "Out of memory (need %u bytes for allocation map)", + gctl_error(req, "Out of memory (need %zu bytes for allocation map)", map_size); written = pwrite(fd, map, map_size, 0); @@ -393,7 +393,7 @@ sect = malloc(ssize); bzero(sect, ssize); if (sect == NULL) - err(1, "Cannot allocate sector of %u bytes", ssize); + err(1, "Cannot allocate sector of %zu bytes", ssize); virstor_metadata_encode(&md, sect); error = g_metadata_store(name, sect, ssize); free(sect); --Boundary-00=_epywF30SSJkq3Nj-- From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 13:14:53 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B76F16A402 for ; Fri, 2 Feb 2007 13:14:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 2451613C442 for ; Fri, 2 Feb 2007 13:14:53 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HCxo1-000Fas-6x for freebsd-current@freebsd.org; Fri, 02 Feb 2007 14:46:17 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 02 Feb 2007 14:46:16 +0200 From: Danny Braniss Message-ID: Subject: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 13:14:53 -0000 hi all, is there some magic to run mergemaster on a 6.2 host for a 7.0 distro? mergemaster -m /r+d/7.0/src -d /d/7 fails when trying to compile(why?) /lib/libcrypt/crypt-md5.c cc -O2 -fno-strict-aliasing -pipe -I/r+d/7.0/src/lib/libcrypt/../libmd -I/r+d/7 .0/src/lib/libcrypt/../libutil -I/r+d/7.0/src/lib/libcrypt -DHAS_DES -DHAS_BLOWF ISH -Dauth_getval=__auth_getval -Dproperty_find=__property_find -Dproperties_rea d=__properties_read -Dproperties_free=__properties_free -DMD4Init=__MD4Init -DMD 4Final=__MD4Final -DMD4Update=__MD4Update -DMD4Pad=__MD4Pad -DMD5Init=__MD5Init -DMD5Final=__MD5Final -DMD5Update=__MD5Update -DMD5Pad=__MD5Pad -c /r+d/7.0/src /lib/libcrypt/../libmd/md5c.c /r+d/7.0/src/lib/libcrypt/../libmd/md5c.c: In function `__MD5Update': /r+d/7.0/src/lib/libcrypt/../libmd/md5c.c:154: error: argument "in" doesn't matc h prototype /usr/include/sys/md5.h:46: error: prototype declaration *** Error code 1 thanks, danny From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 13:23:19 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 94A4316A403 for ; Fri, 2 Feb 2007 13:23:19 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id 5684113C461 for ; Fri, 2 Feb 2007 13:23:19 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so728257wra for ; Fri, 02 Feb 2007 05:23:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=NhFIMx3qGpViEb320meYXUUc9Ev3dM8QKQnyuWH1a6L/IqTviPNiYkLOagXSXn3qXQZuAvrJAROlosvuSmsvFY/9DIWuCc6BqbWrMVT4ctjzJiRg7zfFvKGOdcTt9ZpRaoMM+EeUDMkDOk9AlI/auol1Rr6il6Jzisl/eXY9Mjw= Received: by 10.78.205.7 with SMTP id c7mr813660hug.1170422598037; Fri, 02 Feb 2007 05:23:18 -0800 (PST) Received: by 10.78.170.11 with HTTP; Fri, 2 Feb 2007 05:23:18 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 16:23:18 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Danny Braniss" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: c7bae3ff36cd1239 Cc: freebsd-current@freebsd.org Subject: Re: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 13:23:19 -0000 On 2/2/07, Danny Braniss wrote: > hi all, > is there some magic to run mergemaster on a 6.2 host > for a 7.0 distro? > > mergemaster -m /r+d/7.0/src -d /d/7 > fails when trying to compile(why?) mergemaster -m /r+d/7.0/src/etc -d /d/7 From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 13:27:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 353F716A409; Fri, 2 Feb 2007 13:27:46 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.freebsd.org (Postfix) with ESMTP id B1B3813C4BB; Fri, 2 Feb 2007 13:27:45 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.8/8.13.8) with ESMTP id l12D4NEX036717; Fri, 2 Feb 2007 14:04:23 +0100 (CET) (envelope-from ivoras@fer.hr) Message-ID: <45C336D7.2060109@fer.hr> Date: Fri, 02 Feb 2007 14:04:23 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.9 (X11/20070110) MIME-Version: 1.0 To: Pieter de Goeje References: <200702021311.10339.pieter@degoeje.nl> In-Reply-To: <200702021311.10339.pieter@degoeje.nl> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 13:27:46 -0000 Pieter de Goeje wrote: > Hi, I tried the beta3a version from the wiki on an amd64 -CURRENT machine. > I made some changes (attached) to g_virstor.c and geom_virstor.c to let them > compile cleanly on AMD64. Both files contained instances of some printf > variant with format "%u" while the parameter was a size_t, so I changed the > format to "%zu". > > Also, I needed to add -fPIC to the gcc command line to build geom_virstor.so. > For some reason, it wasnt able to find "path.h" so I included that one in the > search path. Yes, I forgot to mention this - no testing was done on anything but i386. Thanks for the patches! > After successfully building gvirstor (and loading it), I tried to use it: > # ./gvirstor label -s 10000 test /dev/ad0s3b > Assertion failed: (G_OPT_TYPE(opt) != 0), function parse_arguments, > file /usr/src/sbin/geom/core/geom.c, line 272. > Abort (core dumped) > > Basically I'm stuck here. Interesting. It seems that the geom main() couldn't parse command line arguments. I don't know what to make of it. > Regards, > Pieter de Goeje > > PS. > How do I download the latest sources from the p4 repository? > They are the same as in the tarball. I don't really know if you can access p4 by an anonymous account. From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 13:48:36 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 031D516A5CD for ; Fri, 2 Feb 2007 13:48:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 992E913C481 for ; Fri, 2 Feb 2007 13:48:32 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HCymF-000Hzk-4S; Fri, 02 Feb 2007 15:48:31 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Andrew Pantyukhin" In-reply-to: Your message of Fri, 2 Feb 2007 16:23:18 +0300 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 02 Feb 2007 15:48:31 +0200 From: Danny Braniss Message-ID: Cc: freebsd-current@freebsd.org Subject: Re: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 13:48:36 -0000 > On 2/2/07, "Andrew Pantyukhin" wrote: > > hi all, > > is there some magic to run mergemaster on a 6.2 host > > for a 7.0 distro? > > > > mergemaster -m /r+d/7.0/src -d /d/7 > > fails when trying to compile(why?) > > mergemaster -m /r+d/7.0/src/etc -d /d/7 no cookies :-) bsd# mergemaster -m /r+d/7.0/src/etc -d /d/7 *** Unable to find mtree database. Skipping auto-upgrade. *** Creating the temporary root environment in /var/tmp/temproot.0202.15.46 *** /var/tmp/temproot.0202.15.46 ready for use *** Creating and populating directory structure in /var/tmp/temproot.0202.15.46 "Makefile", line 6: Malformed conditional (${MK_SENDMAIL} != "no") "Makefile", line 8: if-less endif From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 14:01:47 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 560AE16A403 for ; Fri, 2 Feb 2007 14:01:47 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id D269013C48E for ; Fri, 2 Feb 2007 14:01:46 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so746806uge for ; Fri, 02 Feb 2007 06:01:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hkiL2N7xLuTxkHeDqwLyPUInM8Ld4odxx4BzGeyQgDsUzne6HuVh6feaiOzv82uu9ivt+w7tB1vlF//8SkCdcVHPz560yDjCJRJLoBFfjw4nDSqXj0dzWNofHxK12YS2IAMPT2DscTHkVdcbR/dHD5U88C6djUJXlKRWRQ9Zu40= Received: by 10.78.149.13 with SMTP id w13mr778695hud.1170424892895; Fri, 02 Feb 2007 06:01:32 -0800 (PST) Received: by 10.78.170.11 with HTTP; Fri, 2 Feb 2007 06:01:20 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 17:01:20 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Danny Braniss" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 1deccd9f635843f6 Cc: freebsd-current@freebsd.org Subject: Re: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 14:01:47 -0000 On 2/2/07, Danny Braniss wrote: > > On 2/2/07, "Andrew Pantyukhin" wrote: > > > hi all, > > > is there some magic to run mergemaster on a 6.2 host > > > for a 7.0 distro? > > > > > > mergemaster -m /r+d/7.0/src -d /d/7 > > > fails when trying to compile(why?) > > > > mergemaster -m /r+d/7.0/src/etc -d /d/7 > > no cookies :-) hmm... mergemaster -m /r+d/7.0/src/etc -D /d/7 From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 14:02:01 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71C2816A401 for ; Fri, 2 Feb 2007 14:02:01 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id C6EEA13C48D for ; Fri, 2 Feb 2007 14:02:00 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 27EE148803; Fri, 2 Feb 2007 14:31:53 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 5E3C945683; Fri, 2 Feb 2007 14:31:45 +0100 (CET) Date: Fri, 2 Feb 2007 14:30:56 +0100 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20070202133055.GB21290@garage.freebsd.pl> References: <200702021311.10339.pieter@degoeje.nl> <45C336D7.2060109@fer.hr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <45C336D7.2060109@fer.hr> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: Pieter de Goeje , freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 14:02:01 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 02, 2007 at 02:04:23PM +0100, Ivan Voras wrote: > Pieter de Goeje wrote: > > Hi, I tried the beta3a version from the wiki on an amd64 -CURRENT machi= ne. > > I made some changes (attached) to g_virstor.c and geom_virstor.c to let= them=20 > > compile cleanly on AMD64. Both files contained instances of some printf= =20 > > variant with format "%u" while the parameter was a size_t, so I changed= the=20 > > format to "%zu". > >=20 > > Also, I needed to add -fPIC to the gcc command line to build geom_virst= or.so.=20 > > For some reason, it wasnt able to find "path.h" so I included that one = in the=20 > > search path. >=20 > Yes, I forgot to mention this - no testing was done on anything but i386. >=20 > Thanks for the patches! >=20 > > After successfully building gvirstor (and loading it), I tried to use i= t: > > # ./gvirstor label -s 10000 test /dev/ad0s3b > > Assertion failed: (G_OPT_TYPE(opt) !=3D 0), function parse_arguments,= =20 > > file /usr/src/sbin/geom/core/geom.c, line 272. > > Abort (core dumped) > >=20 > > Basically I'm stuck here. >=20 > Interesting. It seems that the geom main() couldn't parse command line > arguments. I don't know what to make of it. The API for geom(8) command have changed at some point. Where you used G_TYPE_NONE, you should now use G_TYPE_BOOL. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwz0PForvXbEpPzQRAkQgAKCOuqN9+pHrkkDTXMNZLZ5yR/wcZgCdGchk E1y5L02HLJi4smEHVltN67Q= =1UQ7 -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK-- From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 14:02:33 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA62F16A400 for ; Fri, 2 Feb 2007 14:02:33 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 41AB013C48E for ; Fri, 2 Feb 2007 14:02:33 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so747047uge for ; Fri, 02 Feb 2007 06:02:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=MAjvRSRsT9l2cugAWQyfMybH8G1vP2I2+Pm/j3qN5r6DzM994XNh+kWVrsgZMWRSqwZm0Lnz5u1/VUx+yWn8sXkudzlcZ9GIR3IQCAO6OBHYo/cciRzUFudcxk9P7Qy6nU06pkEmr2e2i28NP7jYnft7GohdLPukd2+b78YY2D4= Received: by 10.78.157.8 with SMTP id f8mr823240hue.1170424952001; Fri, 02 Feb 2007 06:02:32 -0800 (PST) Received: by 10.78.170.11 with HTTP; Fri, 2 Feb 2007 06:02:31 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 17:02:31 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Danny Braniss" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: 6cd0619b0d9a84ee Cc: freebsd-current@freebsd.org Subject: Re: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 14:02:33 -0000 On 2/2/07, Andrew Pantyukhin wrote: > On 2/2/07, Danny Braniss wrote: > > > On 2/2/07, "Andrew Pantyukhin" wrote: > > > > hi all, > > > > is there some magic to run mergemaster on a 6.2 host > > > > for a 7.0 distro? > > > > > > > > mergemaster -m /r+d/7.0/src -d /d/7 > > > > fails when trying to compile(why?) > > > > > > mergemaster -m /r+d/7.0/src/etc -d /d/7 > > > > no cookies :-) > > hmm... > mergemaster -m /r+d/7.0/src/etc -D /d/7 or even /r+d/7.0/src/usr.sbin/mergemaster -m /r+d/7.0/src/etc -D /d/7 From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 14:19:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD23016A402; Fri, 2 Feb 2007 14:19:09 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 5FCFF13C494; Fri, 2 Feb 2007 14:19:09 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1HCzFr-000JK0-Id; Fri, 02 Feb 2007 16:19:07 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: "Andrew Pantyukhin" In-reply-to: References: Comments: In-reply-to "Andrew Pantyukhin" message dated "Fri, 02 Feb 2007 17:02:31 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 02 Feb 2007 16:19:07 +0200 From: Danny Braniss Message-ID: Cc: freebsd-current@freebsd.org Subject: Re: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 14:19:09 -0000 > On 2/2/07, Andrew Pantyukhin wrote: > > On 2/2/07, Danny Braniss wrote: > > > > On 2/2/07, "Andrew Pantyukhin" wrote: > > > > > hi all, > > > > > is there some magic to run mergemaster on a 6.2 host > > > > > for a 7.0 distro? > > > > > > > > > > mergemaster -m /r+d/7.0/src -d /d/7 > > > > > fails when trying to compile(why?) > > > > > > > > mergemaster -m /r+d/7.0/src/etc -d /d/7 > > > > > > no cookies :-) > > > > hmm... > > mergemaster -m /r+d/7.0/src/etc -D /d/7 > > or even > /r+d/7.0/src/usr.sbin/mergemaster -m /r+d/7.0/src/etc -D /d/7 done all that before I posted. I even did: setenv MAKEOBJDIRPREFIX /r+d/obj/bsd but still no luck, it insists on compiling, and including the wrong include. failing all, I will just have to copy by hand the files. danny From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 14:31:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E18416A402 for ; Fri, 2 Feb 2007 14:31:25 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id A5B0913C48D for ; Fri, 2 Feb 2007 14:31:24 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so753811uge for ; Fri, 02 Feb 2007 06:31:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Icx30l+mguWhr/fBK9JtLPoy+m9u7+E6ubj9LL9yVEd+EI26kVqC72a4NzegmWCe+S3CwKs1gZw8yh7nky5Zz6hSLXLxBpQTyAciF2U+4wXVhoTva8lK79axJgrKzDKCbYDrCoM/Qxr/efZqdP7e+lKV3xHbrevCtklAouDGVzo= Received: by 10.78.134.12 with SMTP id h12mr317997hud.1170426682718; Fri, 02 Feb 2007 06:31:22 -0800 (PST) Received: by 10.78.170.11 with HTTP; Fri, 2 Feb 2007 06:31:22 -0800 (PST) Message-ID: Date: Fri, 2 Feb 2007 17:31:22 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Danny Braniss" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Google-Sender-Auth: e4fb184a3714c356 Cc: freebsd-current@freebsd.org Subject: Re: cross release mergemaster question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 14:31:25 -0000 On 2/2/07, Danny Braniss wrote: > > On 2/2/07, Andrew Pantyukhin wrote: > > > On 2/2/07, Danny Braniss wrote: > > > > > On 2/2/07, "Andrew Pantyukhin" wrote: > > > > > > hi all, > > > > > > is there some magic to run mergemaster on a 6.2 host > > > > > > for a 7.0 distro? > > > > > > > > > > > > mergemaster -m /r+d/7.0/src -d /d/7 > > > > > > fails when trying to compile(why?) > > > > > > > > > > mergemaster -m /r+d/7.0/src/etc -d /d/7 > > > > > > > > no cookies :-) > > > > > > hmm... > > > mergemaster -m /r+d/7.0/src/etc -D /d/7 > > > > or even > > /r+d/7.0/src/usr.sbin/mergemaster -m /r+d/7.0/src/etc -D /d/7 > > done all that before I posted. I even did: > setenv MAKEOBJDIRPREFIX /r+d/obj/bsd > but still no luck, it insists on compiling, and including the wrong include. > failing all, I will just have to copy by hand the files. Maybe # mount -t nullfs /r+d/7.0/src /d/7/usr/src # chroot /d/7 # mergemaster From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 18:43:42 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46CB516A4A7 for ; Fri, 2 Feb 2007 18:43:42 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from host.omnisec.de (host.omnisec.de [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id C311713C467 for ; Fri, 2 Feb 2007 18:43:41 +0000 (UTC) (envelope-from h.schmalzbauer@omnisec.de) Received: from [172.25.1.0] (nat.sps-schweers.de [82.135.45.115] (may be forged)) (authenticated bits=0) by host.omnisec.de (8.13.8/8.13.8) with ESMTP id l12Ihd7b082162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 2 Feb 2007 19:43:39 +0100 (CET) (envelope-from h.schmalzbauer@omnisec.de) X-Authentication-Warning: smtp.dmz.omnisec.de: Host nat.sps-schweers.de [82.135.45.115] (may be forged) claimed to be [172.25.1.0] Message-ID: <45C38657.7030701@omnisec.de> Date: Fri, 02 Feb 2007 19:43:35 +0100 From: Harald Schmalzbauer User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: Subject: mfi and mpt question (LSI 8300XLP and SAS1068R) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 18:43:42 -0000 Dear all, I have access to a new FujitsuSiemens Server with the LSI Controllers mentioned in the topic (8300XLP, Zero-Channel-RAID and LSI MegaRAID SAS1068R, 8-Channel SAS). If I remove the 8300XLP I can access the drives by the mpt device, which gives some errors with the 1068 card: mpt0: port 0x4000-0x40ff mem 0xfd310000-0xfd313fff,0xfd300000-0xfd30ffff irq 25 at device 5.0 on pci5 mpt0: [GIANT-LOCKED] mpt0: MPI Version=1.5.12.0 mpt0: mpt_cam_event: 0x16 mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x12 mpt0: Unhandled Event Notify Frame. Event 0x12 (ACK not required). mpt0: mpt_cam_event: 0x16 mpt0: Unhandled Event Notify Frame. Event 0x16 (ACK not required). mpt0: mpt_cam_event: 0xb mpt0: Unhandled Event Notify Frame. Event 0xb (ACK not required). Now regarding the 8300: Is there a chance that this puppy is supported by the mfi driver? If nobody tells me that it's unsupported I'd add the PCI id to mfi and test it. Best regards, -Harry From owner-freebsd-current@FreeBSD.ORG Fri Feb 2 23:15:06 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 33E3C16A402; Fri, 2 Feb 2007 23:15:06 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id B40BE13C4A3; Fri, 2 Feb 2007 23:14:59 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BB20E45CDA; Sat, 3 Feb 2007 00:14:58 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3201F45696; Sat, 3 Feb 2007 00:14:52 +0100 (CET) Date: Sat, 3 Feb 2007 00:14:02 +0100 From: Pawel Jakub Dawidek To: freebsd-fs@FreeBSD.org Message-ID: <20070202231401.GB25236@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@FreeBSD.org Subject: Call for tester! vptofh change. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-fs@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2007 23:15:06 -0000 --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. Currently we have two VFS methods: vfs_vptofh, which translates vnode to NFS file handle and vfs_fhtovp, which translates NFS file handle to vnode. Unfortunately this allows to support only one type of structure stored in v_data (without some nasty magic). That's why I'd like to move vptofh operations from VFS operations to VOP operations. By doing this I can use different vop_vptofh operation for different kinds of vnodes. In Solaris it is already done that way - we have vfs 'vget' method which does file-handle-to-vnode translation and vnode 'fid' method, which does vnode-to-file-handle translation. I need this functionality for ZFS, but it seems to be logical move in general - VFS_VPTOFH() macro takes vnode pointer as its first argument, not mount pointer as the other VFS_*() macros, so it looks like it should be a VOP in the first place. One of the possibilities was to introduce vop_vptofh method, but leave vfs_vptofh method as it is and don't touch existing file systems, but let's do it right and convert all existing file systems from the base system to use vop_vptofh. Unfortunately touching all file systems is risky, even if the change is easy and I can't test all file systems by myself.=20 The patch is compile-tested and I also tested exporting UFS, MSDOSFS, CD9660, NULLFS and ZFS over NFS with this change and it seems to work (FreeBSD as NFS server and FreeBSD and Solaris as NFS clients). I'd like to ask for testing file systems below: HPFS NTFS UDF UnionFS EXT2FS ReiserFS XFS You would need to export the file system over NFS _before_patching_the_kernel_, mount it over NFS (even locally) and run something like 'find /path/to/fs/ -print0 | xargs ls -ld'. If it works, you need to patch the kernel, recompile it, try the same operations and report the results (also success stories). The patch can be downloaded from here: http://people.freebsd.org/~pjd/patches/vptofh.patch You apply the patch from /sys/ directory: # cd /sys/ # patch < /path/to/vptofh.patch Thank you very much in advance! --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFw8W5ForvXbEpPzQRAq3MAKDRD0FxbVo02LZmExcMT/j7InkLZACgtKPK dIQRSm6nne7DdyW1UHs8wtg= =lT37 -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 00:44:01 2007 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A9B616A402; Sat, 3 Feb 2007 00:44:01 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3902913C442; Sat, 3 Feb 2007 00:44:01 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l130i1n4002332; Fri, 2 Feb 2007 16:44:01 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l130i1P1002331; Fri, 2 Feb 2007 16:44:01 -0800 (PST) (envelope-from rizzo) Date: Fri, 2 Feb 2007 16:44:00 -0800 From: Luigi Rizzo To: Florent Thoumie Message-ID: <20070202164400.A2319@xorpc.icir.org> References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> <20070131060543.A57206@xorpc.icir.org> <45C3D811.7080504@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <45C3D811.7080504@FreeBSD.org>; from flz@FreeBSD.org on Sat, Feb 03, 2007 at 12:32:17AM +0000 Cc: usb@FreeBSD.org, current@FreeBSD.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 00:44:01 -0000 On Sat, Feb 03, 2007 at 12:32:17AM +0000, Florent Thoumie wrote: > Hey Luigi, > > I have a Creative Webcam Instant: > > usb_spca5xx_init: gspca driver 01.00.12 registered > ldev_attach: sc at 0xc8ec1b00, l_u_d at 0xc8ec1b64 > --- allocate 272 bytes gives 0xc6e14800 > interface 0 has 8 altsettings (cur 0) > gspca_attach_bridge: USB SPCA5XX camera found.(ZC3XX) > spca5xx_probe: [spca5xx_probe:3976] Camera type JPEG > zc3xx_config: [zc3xx_config:515] Sensor ID:10 > zc3xx_config: [zc3xx_config:587] Find Sensor PAS106 > spca5xx_getcapability: [spca5xx_getcapability:1182] maxw 352 maxh 288 > minw 176 minh 144 > 279074705 [ 878] video_register_device: to be fixed but ok for now > ldev0: Creative Labs WebCam Instant, rev 1.10/1.00, addr 3 > > Trying to use camorama gives the following error: > > 279277285 [ 842] video_devdata: not complete but ok for now > gspca_set_isoc_ep: [gspca_set_isoc_ep:874] ISO EndPoint found 0x81 > AlternateSet 7 > usb1: *** WARNING: opening low/full speed device, this does not work yet. this is a [annoying] problem with the freebsd drivers, not with gspca. try connect the camera directly to the ports on your usb controller instead of the external hub. cheers luigi From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 00:55:10 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BF8716A402; Sat, 3 Feb 2007 00:55:10 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id D03F713C491; Sat, 3 Feb 2007 00:55:09 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp8-g19.free.fr (smtp8-g19.free.fr [212.27.42.65]) by postfix1-g20.free.fr (Postfix) with ESMTP id 40BF38E8693; Sat, 3 Feb 2007 01:35:54 +0100 (CET) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp8-g19.free.fr (Postfix) with ESMTP id BF4F6543B; Sat, 3 Feb 2007 01:35:52 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 3190C11AD8; Sat, 3 Feb 2007 01:35:37 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tFQ3Nzz2hmhA; Sat, 3 Feb 2007 01:35:31 +0100 (CET) Received: from [193.120.13.130] (cream.xbsd.org [193.120.13.130]) by smtp.xbsd.org (Postfix) with ESMTP id 2C464117C5; Sat, 3 Feb 2007 01:35:30 +0100 (CET) Message-ID: <45C3D811.7080504@FreeBSD.org> Date: Sat, 03 Feb 2007 00:32:17 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.9 (X11/20070122) MIME-Version: 1.0 To: Luigi Rizzo References: <20070130170443.A49225@xorpc.icir.org> <45C08A29.4030509@gmail.com> <20070131060543.A57206@xorpc.icir.org> In-Reply-To: <20070131060543.A57206@xorpc.icir.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig0A6B51AA67D277B817E12E63" Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 00:55:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0A6B51AA67D277B817E12E63 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hey Luigi, I have a Creative Webcam Instant: usb_spca5xx_init: gspca driver 01.00.12 registered ldev_attach: sc at 0xc8ec1b00, l_u_d at 0xc8ec1b64 --- allocate 272 bytes gives 0xc6e14800 interface 0 has 8 altsettings (cur 0) gspca_attach_bridge: USB SPCA5XX camera found.(ZC3XX) spca5xx_probe: [spca5xx_probe:3976] Camera type JPEG zc3xx_config: [zc3xx_config:515] Sensor ID:10 zc3xx_config: [zc3xx_config:587] Find Sensor PAS106 spca5xx_getcapability: [spca5xx_getcapability:1182] maxw 352 maxh 288 minw 176 minh 144 279074705 [ 878] video_register_device: to be fixed but ok for now ldev0: Creative Labs WebCam Instant, rev 1.10/1.00, addr 3 Trying to use camorama gives the following error: 279277285 [ 842] video_devdata: not complete but ok for now gspca_set_isoc_ep: [gspca_set_isoc_ep:874] ISO EndPoint found 0x81 AlternateSet 7 usb1: *** WARNING: opening low/full speed device, this does not work yet.= 279281630 [ 659] usb_submit_urb: openpipe error 4 init isoc: usb_submit_urb(0) ret -4279281630 [ 742] usb_kill_urb: not complete but try something 279281630 [ 742] usb_kill_urb: not complete but try something 279281630 [ 742] usb_kill_urb: not complete but try something spca5xx_open: [spca5xx_open:1916] DEALLOC error on init_Isoc This is on FreeBSD 6.2-RELEASE using gspca.ko shipped in the tarball --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enig0A6B51AA67D277B817E12E63 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFw9gWMxEkbVFH3PQRCm8AAKCAahNe93ML8xnCfUBjjEfdgI0f6gCgjIJf 7RvSY0sxpHROo7Dsh2IogaU= =O6rE -----END PGP SIGNATURE----- --------------enig0A6B51AA67D277B817E12E63-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 01:27:57 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B35816A400 for ; Sat, 3 Feb 2007 01:27:57 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4141713C491 for ; Sat, 3 Feb 2007 01:27:57 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l131RuEN002750; Fri, 2 Feb 2007 17:27:56 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l131Rutw002749; Fri, 2 Feb 2007 17:27:56 -0800 (PST) (envelope-from rizzo) Date: Fri, 2 Feb 2007 17:27:56 -0800 From: Luigi Rizzo To: current@freebsd.org Message-ID: <20070202172756.A2649@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: Subject: link_elf.c vs link_elf_obj.c ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 01:27:57 -0000 does anyone know what is the difference between these two files ? They seem to do two similar but slightly different things related to elf file loading. But diff shows large pieces of common code, and there is even more commonality if you factor out whitespace changes and variable renaming. cheers luigi From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 11:39:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2240216A403; Sat, 3 Feb 2007 11:39:03 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (smtp1.utsp.utwente.nl [130.89.2.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB4913C4A8; Sat, 3 Feb 2007 11:39:02 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from nox.student.utwente.nl (nox.student.utwente.nl [130.89.165.91]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l13BcrLr019859; Sat, 3 Feb 2007 12:38:53 +0100 From: Pieter de Goeje To: Pawel Jakub Dawidek Date: Sat, 3 Feb 2007 12:38:52 +0100 User-Agent: KMail/1.9.5 References: <45C336D7.2060109@fer.hr> <20070202133055.GB21290@garage.freebsd.pl> In-Reply-To: <20070202133055.GB21290@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_MRHxFtMRijoJiS8" Message-Id: <200702031238.52771.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: freebsd-current@freebsd.org, Ivan Voras , freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 11:39:03 -0000 --Boundary-00=_MRHxFtMRijoJiS8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Friday 02 February 2007 14:30, Pawel Jakub Dawidek wrote: > The API for geom(8) command have changed at some point. Where you used > G_TYPE_NONE, you should now use G_TYPE_BOOL. Ok, with this little change it worked. (patch attached) I created a 10GB virtual storage on two 2GB partitions. Copying around the freebsd source tree on it worked great and performance was as expected. Also as expected it issued a warning when starting to use the second component. However, when I tried to overflow the filesystem, it went wrong: GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test g_vfs_done():virstor/test[WRITE(offset=101842944, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=101974016, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=102105088, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=102236160, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=102367232, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=102498304, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=102760448, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=102891520, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=103022592, length=131072)]error = 28 GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test GEOM_VIRSTOR[1]: All physical space allocated for test GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test g_vfs_done():virstor/test[WRITE(offset=103153664, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=103284736, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=103415808, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=103546880, length=131072)]error = 28 g_vfs_done():virstor/test[WRITE(offset=103677952, length=131072)]error = 28 It spitted out these messages in a tight loop (100% sys load). I was unable to recover the system from this situation. Steps I did to recreate this situation: # gvirstor label -s 10000 test /dev/ad0s3b /dev/ad1s1b (total physical storage is 4GB) # newfs -U /dev/virstor/test # mount /dev/virstor/test /mnt # dd if=/dev/zero of=/mnt/testfile bs=64k Also, no warning was issued when it aproached 0% free physical space. I would expect the system to simply abort the write operation (possibly needing a background fsck after adding another component to make more space). Regards, Pieter de Goeje --Boundary-00=_MRHxFtMRijoJiS8 Content-Type: text/x-diff; charset="utf-8"; name="geom_virstor-patch2" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="geom_virstor-patch2" --- gvirstor.orig/geom_virstor.c Sat Feb 3 10:42:44 2007 +++ gvirstor/geom_virstor.c Sat Feb 3 10:56:12 2007 @@ -68,7 +68,7 @@ }, {"label", G_FLAG_VERBOSE | G_FLAG_LOADKLD, virstor_main, { - {'h', "hardcode", NULL, G_TYPE_NONE}, + {'h', "hardcode", NULL, G_TYPE_BOOL}, {'m', "chunk_size", &chunk_size, G_TYPE_NUMBER}, {'s', "vir_size", &vir_size, G_TYPE_NUMBER}, G_OPT_SENTINEL @@ -77,21 +77,21 @@ }, {"destroy", G_FLAG_VERBOSE, NULL, { - {'f', "force", NULL, G_TYPE_NONE}, + {'f', "force", NULL, G_TYPE_BOOL}, G_OPT_SENTINEL }, "[-fv] name ..." }, {"stop", G_FLAG_VERBOSE, NULL, { - {'f', "force", NULL, G_TYPE_NONE}, + {'f', "force", NULL, G_TYPE_BOOL}, G_OPT_SENTINEL }, "[-fv] name ... (alias for \"destroy\")" }, {"add", G_FLAG_VERBOSE, NULL, { - {'h', "hardcode", NULL, G_TYPE_NONE}, + {'h', "hardcode", NULL, G_TYPE_BOOL}, G_OPT_SENTINEL }, "[-vh] name prov [prov ...]" --Boundary-00=_MRHxFtMRijoJiS8-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 12:35:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8491F16A405; Sat, 3 Feb 2007 12:35:09 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0867B13C481; Sat, 3 Feb 2007 12:35:08 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 4E517144449; Sat, 3 Feb 2007 13:35:06 +0100 (CET) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 317905D82A8; Sat, 3 Feb 2007 13:35:06 +0100 (CET) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 0B50C5D827E; Sat, 3 Feb 2007 13:35:05 +0100 (CET) X-Envelope-Sender-Info: PPNxY8En3dcmVUp3NnTfFz0sO21BKZWqwM/sq9n6Fs5AdcXuvHY/9pt47skoogJP X-Envelope-Sender: ivoras@fer.hr Received: from [10.0.0.101] (89-172-45-56.adsl.net.t-com.hr [89.172.45.56]) by ls248.t-com.hr (Qmali) with ESMTP id 74E1D2007B; Sat, 3 Feb 2007 13:35:03 +0100 (CET) Message-ID: <45C48175.5060704@fer.hr> Date: Sat, 03 Feb 2007 13:35:01 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Pieter de Goeje References: <45C336D7.2060109@fer.hr> <20070202133055.GB21290@garage.freebsd.pl> <200702031238.52771.pieter@degoeje.nl> In-Reply-To: <200702031238.52771.pieter@degoeje.nl> X-Enigmail-Version: 0.94.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8C7E44CD954588796B742E31" Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 12:35:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8C7E44CD954588796B742E31 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pieter de Goeje wrote: > GEOM_VIRSTOR[1]: All physical space allocated for test > GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test > g_vfs_done():virstor/test[WRITE(offset=3D103153664, length=3D131072)]er= ror =3D 28 > It spitted out these messages in a tight loop (100% sys load). I was un= able to=20 Yes, it turns out the file system gets confused if the device reports a certain size and then returns ENOSPC (error 28) when it shouldn't. Unfortunately, yanking the device from under the file system would panic the kernel. Returning EIO could either panic it or "just" end up with a corrupted file system. Any ideas from the more VFS-savvy? The "tight loop" seems to be VFS retrying, inserting the requests to GEOM layer over and over... > Also, no warning was issued when it aproached 0% free physical space. > I would expect the system to simply abort the write operation (possibly= =20 > needing a background fsck after adding another component to make more s= pace). It should - are you sure the message didn't get lost/overflown in the log= ? --------------enig8C7E44CD954588796B742E31 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxIF1ldnAQVacBcgRAkBWAJ4ya8upiFMd5Np+y5l6Gk6YSp9HkQCeI0qT 4JO8juuu/dfD5WTjEEJsGNg= =7B2D -----END PGP SIGNATURE----- --------------enig8C7E44CD954588796B742E31-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 13:18:43 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67F9F16A501; Sat, 3 Feb 2007 13:18:43 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 55D0C13C4A3; Sat, 3 Feb 2007 13:18:42 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id AD5C648806; Sat, 3 Feb 2007 14:18:39 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3BD5048802; Sat, 3 Feb 2007 14:18:33 +0100 (CET) Date: Sat, 3 Feb 2007 14:17:43 +0100 From: Pawel Jakub Dawidek To: Ivan Voras Message-ID: <20070203131743.GC64874@garage.freebsd.pl> References: <45C336D7.2060109@fer.hr> <20070202133055.GB21290@garage.freebsd.pl> <200702031238.52771.pieter@degoeje.nl> <45C48175.5060704@fer.hr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rQ2U398070+RC21q" Content-Disposition: inline In-Reply-To: <45C48175.5060704@fer.hr> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Pieter de Goeje , freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 13:18:43 -0000 --rQ2U398070+RC21q Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 03, 2007 at 01:35:01PM +0100, Ivan Voras wrote: > Pieter de Goeje wrote: >=20 > > GEOM_VIRSTOR[1]: All physical space allocated for test > > GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test > > g_vfs_done():virstor/test[WRITE(offset=3D103153664, length=3D131072)]er= ror =3D 28 >=20 > > It spitted out these messages in a tight loop (100% sys load). I was un= able to=20 >=20 > Yes, it turns out the file system gets confused if the device reports a > certain size and then returns ENOSPC (error 28) when it shouldn't. > Unfortunately, yanking the device from under the file system would panic > the kernel. Returning EIO could either panic it or "just" end up with a > corrupted file system. Any ideas from the more VFS-savvy? >=20 > The "tight loop" seems to be VFS retrying, inserting the requests to > GEOM layer over and over... I don't think so. ENOSPC should be just returned to the application. What was pasted seems to confirm my thinking: g_vfs_done():virstor/test[WRITE(offset=3D101842944, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D101974016, length=3D131072)]error = =3D 28 =20 g_vfs_done():virstor/test[WRITE(offset=3D102105088, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D102236160, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D102367232, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D102498304, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D102760448, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D102891520, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D103022592, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D103153664, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D103284736, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D103415808, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D103546880, length=3D131072)]error = =3D 28 g_vfs_done():virstor/test[WRITE(offset=3D103677952, length=3D131072)]error = =3D 28 As you can see the offset increases, so this is not the same I/O request. I'd suggest turning off gvirstor debugging and retry. We should probably also rate-limit errors from g_vfs_done(). --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --rQ2U398070+RC21q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFxIt3ForvXbEpPzQRAq9fAJ0RoJieB0/Nw7IKLZy5m4dR3EngtACgr5du AgHzJiDWRCU0FEV5hzA1tD8= =43XW -----END PGP SIGNATURE----- --rQ2U398070+RC21q-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 16:16:22 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64C7A16A400 for ; Sat, 3 Feb 2007 16:16:22 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id CCE9313C4A3 for ; Sat, 3 Feb 2007 16:16:21 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 788BF487FE; Sat, 3 Feb 2007 17:16:18 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 0DDD445681; Sat, 3 Feb 2007 17:16:12 +0100 (CET) Date: Sat, 3 Feb 2007 17:15:19 +0100 From: Pawel Jakub Dawidek To: Yoshihiro Ota Message-ID: <20070203161519.GD64874@garage.freebsd.pl> References: <20070201232118.c7cc1a10.ota@j.email.ne.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline In-Reply-To: <20070201232118.c7cc1a10.ota@j.email.ne.jp> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: geli broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:16:22 -0000 --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 01, 2007 at 11:21:18PM -0500, Yoshihiro Ota wrote: > RCS file: /home/ncvs/src/sys/geom/eli/g_eli.c,v > Working file: g_eli.c > head: 1.34 >=20 > revision 1.34 > date: 2007/01/28 20:29:12; author: pjd; state: Exp; lines: +7 -0 > It is possible that GEOM taste provider before SMP is started. > We can't bind to a CPU which is not yet on-line, so add code that wait for > CPUs to go on-line before binding to them. >=20 > Reported by: Alin-Adrian Anton > MFC after: 2 weeks > ---------------------------- >=20 >=20 > The change noted above caused problem with my system. > After typing password, the geli device was never recognized never respons= e. > It looked like it was in an infinity loop. > I have the following entry in my fstab and I need to type in my password = for it. >=20 > /dev/da0s2.eli /export ufs rw 2 2 >=20 > After reverting to 1.33, my system started without problems. I use GENER= IC kernel configuration without WITNESS and INVARIANTS. Could you provide dmesg from your machine? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFxLUXForvXbEpPzQRAix4AJ9namakrhBJUNLa+mwc4adDCiJ90ACdHNW2 xufnb3GoBlcJQ4S00lacv3Q= =bxOK -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 16:29:59 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AEA4216A402 for ; Sat, 3 Feb 2007 16:29:59 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id 65D4613C442 for ; Sat, 3 Feb 2007 16:29:59 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from dynabook-freebsd.advok.com (pool-151-197-185-221.phil.east.verizon.net [151.197.185.221]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 54E92224A8; Sun, 4 Feb 2007 01:29:56 +0900 (JST) Date: Sat, 3 Feb 2007 11:27:01 -0500 From: Yoshihiro Ota To: Pawel Jakub Dawidek Message-Id: <20070203112701.d8b6f58f.ota@j.email.ne.jp> In-Reply-To: <20070203161519.GD64874@garage.freebsd.pl> References: <20070201232118.c7cc1a10.ota@j.email.ne.jp> <20070203161519.GD64874@garage.freebsd.pl> X-Mailer: Sylpheed version 2.2.9 (GTK+ 2.10.6; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx" Cc: freebsd-current@freebsd.org Subject: Re: geli broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 16:29:59 -0000 This is a multi-part message in MIME format. --Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 3 Feb 2007 17:15:19 +0100 Pawel Jakub Dawidek wrote: > On Thu, Feb 01, 2007 at 11:21:18PM -0500, Yoshihiro Ota wrote: > > RCS file: /home/ncvs/src/sys/geom/eli/g_eli.c,v > > Working file: g_eli.c > > head: 1.34 > > > > revision 1.34 > > date: 2007/01/28 20:29:12; author: pjd; state: Exp; lines: +7 -0 > > It is possible that GEOM taste provider before SMP is started. > > We can't bind to a CPU which is not yet on-line, so add code that wait for > > CPUs to go on-line before binding to them. > > > > Reported by: Alin-Adrian Anton > > MFC after: 2 weeks > > ---------------------------- > > > > > > The change noted above caused problem with my system. > > After typing password, the geli device was never recognized never response. > > It looked like it was in an infinity loop. > > I have the following entry in my fstab and I need to type in my password for it. > > > > /dev/da0s2.eli /export ufs rw 2 2 > > > > After reverting to 1.33, my system started without problems. I use GENERIC kernel > > configuration without WITNESS and INVARIANTS. > > Could you provide dmesg from your machine? Sure. Here is the diff to the GENERIC as well. --- GENERIC 13 Dec 2006 03:41:47 -0000 1.460 +++ GENERIC 3 Feb 2007 16:28:29 -0000 @@ -63,10 +63,10 @@ options KDB # Enable kernel debugger support. options DDB # Support DDB. options GDB # Support remote GDB. -options INVARIANTS # Enable calls of extra sanity checking -options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS -options WITNESS # Enable checks to detect deadlocks and cycles -options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed +#options INVARIANTS # Enable calls of extra sanity checking +#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS +#options WITNESS # Enable checks to detect deadlocks and cycles +#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kerne --Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx Content-Type: text/plain; name="dmesg.txt" Content-Disposition: attachment; filename="dmesg.txt" Content-Transfer-Encoding: 7bit Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-CURRENT #29: Fri Feb 2 23:43:43 EST 2007 root@dynabook-freebsd.XXX.XYZ:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Celeron(R) CPU 2.40GHz (2394.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebf9ff Features2=0x4400 real memory = 519372800 (495 MB) avail memory = 494325760 (471 MB) wlan: mac acl policy registered ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xd808-0xd80b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) vgapci0: port 0xeff8-0xefff mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 10 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 16252k stolen memory agp0: aperture size is 128M vgapci1: at device 2.1 on pci0 uhci0: port 0xcfe0-0xcfff irq 10 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xcf80-0xcf9f irq 11 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xcf60-0xcf7f irq 11 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xcffffc00-0xcfffffff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 pcib1: at device 30.0 on pci0 pci1: on pcib1 fwohci0: mem 0xcfeff800-0xcfefffff,0xcfef8000-0xcfefbfff irq 11 at device 7.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:00:39:00:00:4a:27:6e fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:39:4a:27:6e fwe0: Ethernet address: 02:00:39:4a:27:6e fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) fxp0: port 0xcf00-0xcf3f mem 0xcfef7000-0xcfef7fff irq 11 at device 8.0 on pci1 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:0d:90:fd:d7 ath0: mem 0xcfee0000-0xcfeeffff irq 11 at device 10.0 on pci1 ath0: using obsoleted if_watchdog interface ath0: Ethernet address: 00:90:96:8f:0d:10 ath0: mac 5.6 phy 4.1 radio 1.7 cbb0: at device 11.0 on pci1 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: at device 11.1 on pci1 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pci1: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 11 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xbe00-0xbeff,0xbdc0-0xbdff mem 0xcfdffe00-0xcfdfffff,0xcfdffd00-0xcfdffdff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_lid0: on acpi0 battery0: on acpi0 acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xe0000-0xeffff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FAST] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub1 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2394012572 Hz quality 800 Timecounters tick every 1.000 msec ad0: 57231MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:f59318df? da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C) Trying to mount root from ufs:/dev/ad0s2a GEOM_ELI: Device da0s2.eli created. GEOM_ELI: Encryption: AES-CBC 128 GEOM_ELI: Crypto: software md0.uzip: 8063 x 130048 blocks drm0: on vgapci0 info: [drm] AGP at 0xd8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm1: on vgapci1 info: [drm] AGP at 0xd8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 --Multipart=_Sat__3_Feb_2007_11_27_01_-0500_AoVg2732TpKkwENx-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 17:15:37 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CF8816A402 for ; Sat, 3 Feb 2007 17:15:37 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.239]) by mx1.freebsd.org (Postfix) with ESMTP id 5043013C461 for ; Sat, 3 Feb 2007 17:15:37 +0000 (UTC) (envelope-from almarrie@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1159516nzh for ; Sat, 03 Feb 2007 09:15:36 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VFhAAOJ0ra4uJbkqynuLqjCAQ88Yz64Jjy3yxBXzQqURQs1gavLFu86cSh8A2H23jTPdGOSMPMXMwyWIS1N3FbAQVYk0zkcW9Aw5YW3RMd2A7w/MZXFIPwdadNH+/8m5pjWXo+a+FAkZLsbgs6RVaTQHDFREqntE4kmuCXMJAjs= Received: by 10.114.75.1 with SMTP id x1mr472006waa.1170521410103; Sat, 03 Feb 2007 08:50:10 -0800 (PST) Received: by 10.115.91.7 with HTTP; Sat, 3 Feb 2007 08:50:09 -0800 (PST) Message-ID: <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> Date: Sat, 3 Feb 2007 16:50:09 +0000 From: "Abdullah Ibn Hamad Al-Marri" To: "Luigi Rizzo" In-Reply-To: <20070130170443.A49225@xorpc.icir.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070130170443.A49225@xorpc.icir.org> Cc: usb@freebsd.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 17:15:37 -0000 On 1/31/07, Luigi Rizzo wrote: > I think I reached a first interesting milestone in my project > to build an emulation layer to compile linux device drivers on FreeBSD. > > I managed to build a FreeBSD port of the linux 'gspca' driver (which claims > to support 228 different webcams) with basically no modifications to > the original source. So it would be good if someone could give a try > to this code, either on -current or -stable, keeping in mind that > this is NOT PRODUCTION READY yet. > > More details on how the thing works are at > > http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html > > together of course with source code, and even binary modules > for FreeBSD 6.2. > Basically I would like to know how it builds/works on -current, > have reports on cameras that work with it and those which don't > and so on. The driver supports the Video4Linux API so it should > be useful for a variety of applications. > > cheers > luigi Luigi, this is great move to have more hardware support for FreeBSD, and I wish we could port and use more linux drivers as well, for xorg and other things like CardReader for laptops ..etc, thank you for going to the right direction ;) I tried to compile it the ports since I have builtin webcam, and usb webcam but I got these msgs about my old usd stack. Aspire5102# make clean && make install ===> Cleaning for linux-kmod-compat-20070202 ===> linux-kmod-compat-20070202 is marked as broken: Requires a recent USB stack. you have 602000. *** Error code 1 Stop in /usr/ports/devel/linux-kmod-compat. I'm using FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #2: Sat Feb 3 16:14:33 UTC 2007 arabian@Aspire5102:/usr/obj/usr/src/sys/ARABIAN i386 -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 17:40:16 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB52116A403; Sat, 3 Feb 2007 17:40:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 9307913C471; Sat, 3 Feb 2007 17:40:16 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l13HdSgb098441; Sat, 3 Feb 2007 10:39:28 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 03 Feb 2007 10:40:00 -0700 (MST) Message-Id: <20070203.104000.756908884.imp@bsdimp.com> To: almarrie@gmail.com From: "M. Warner Losh" In-Reply-To: <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> References: <20070130170443.A49225@xorpc.icir.org> <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 03 Feb 2007 10:39:29 -0700 (MST) Cc: usb@freebsd.org, rizzo@icir.org, current@freebsd.org Subject: Re: Call for Testers: FreeBSD webcam driver (and more) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 17:40:17 -0000 In message: <499c70c0702030850v14e02dfck7a0b91e1cc6deb9b@mail.gmail.com> "Abdullah Ibn Hamad Al-Marri" writes: : and other things like CardReader for laptops ..etc, thank you for CardReader? What's that? SD/MMC support for laptops is on its way... Warner From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 17:53:27 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1903816A402; Sat, 3 Feb 2007 17:53:27 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id CE76C13C4AA; Sat, 3 Feb 2007 17:53:26 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id l13HrQFu025945; Sat, 3 Feb 2007 12:53:26 -0500 (EST) (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.8/8.13.8) with ESMTP id l13HrPbf037199; Sat, 3 Feb 2007 12:53:25 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id A394073034; Sat, 3 Feb 2007 12:53:25 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203175325.A394073034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 12:53:25 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner4 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 17:53:27 -0000 TB --- 2007-02-03 16:42:50 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 16:42:50 - starting HEAD tinderbox run for i386/pc98 TB --- 2007-02-03 16:42:50 - cleaning the object tree TB --- 2007-02-03 16:43:21 - checking out the source tree TB --- 2007-02-03 16:43:21 - cd /tinderbox/HEAD/i386/pc98 TB --- 2007-02-03 16:43:21 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 16:53:30 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 16:53:30 - cd /src TB --- 2007-02-03 16:53:30 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 16:53:32 UTC 2007 >>> 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 >>> World build completed on Sat Feb 3 17:47:06 UTC 2007 TB --- 2007-02-03 17:47:06 - generating LINT kernel config TB --- 2007-02-03 17:47:06 - cd /src/sys/pc98/conf TB --- 2007-02-03 17:47:06 - /usr/bin/make -B LINT TB --- 2007-02-03 17:47:06 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 17:47:06 - cd /src TB --- 2007-02-03 17:47:06 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 17:47:06 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 17:53:25 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 17:53:25 - ERROR: failed to build lint kernel TB --- 2007-02-03 17:53:25 - tinderbox aborted TB --- 0.80 user 2.66 system 4235.15 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-pc98.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 18:43:50 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 51A0316A402; Sat, 3 Feb 2007 18:43:50 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id C334F13C442; Sat, 3 Feb 2007 18:43:49 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 1D28C144DBD; Sat, 3 Feb 2007 19:43:48 +0100 (CET) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id EB51C5D82AE; Sat, 3 Feb 2007 19:43:47 +0100 (CET) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id C06C35D827E; Sat, 3 Feb 2007 19:43:47 +0100 (CET) X-Envelope-Sender-Info: PPNxY8En3dcmVUp3NnTfFz0sO21BKZWqwM/sq9n6Fs5AdcXuvHY/9pt47skoogJP X-Envelope-Sender: ivoras@fer.hr Received: from [10.0.0.101] (89-172-45-56.adsl.net.t-com.hr [89.172.45.56]) by ls248.t-com.hr (Qmali) with ESMTP id E57472007B; Sat, 3 Feb 2007 19:43:42 +0100 (CET) Message-ID: <45C4D7DD.2010801@fer.hr> Date: Sat, 03 Feb 2007 19:43:41 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Pieter de Goeje References: <45C336D7.2060109@fer.hr> <20070202133055.GB21290@garage.freebsd.pl> <200702031238.52771.pieter@degoeje.nl> In-Reply-To: <200702031238.52771.pieter@degoeje.nl> X-Enigmail-Version: 0.94.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8045F4DF6A5797AE154B1854" Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 18:43:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8045F4DF6A5797AE154B1854 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pieter de Goeje wrote: > On Friday 02 February 2007 14:30, Pawel Jakub Dawidek wrote: >> The API for geom(8) command have changed at some point. Where you used= >> G_TYPE_NONE, you should now use G_TYPE_BOOL. > Ok, with this little change it worked. (patch attached) I've made the discussed changes and added support for BIO_DELETE. New version is available from the usual places (p4 and http://wiki.freebsd.org/gvirstor). I can't get to a machine with 7-CURRENT at least until monday but this should work ok. (The ENOSPC problem is still not touched.) --------------enig8045F4DF6A5797AE154B1854 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxNfdldnAQVacBcgRAmkzAJ0T3Cb0MtlM8HctBoRtE1QSqAkOmgCgtuax GOnoK+siqzUS544jkI0YRRQ= =4D7Z -----END PGP SIGNATURE----- --------------enig8045F4DF6A5797AE154B1854-- From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 19:02:46 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B577F16A402; Sat, 3 Feb 2007 19:02:46 +0000 (UTC) (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 7672E13C46B; Sat, 3 Feb 2007 19:02:44 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l13J2i51018815; Sat, 3 Feb 2007 14:02:44 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l13J2hnA063024; Sat, 3 Feb 2007 14:02:43 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id AC37B73034; Sat, 3 Feb 2007 14:02:43 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203190243.AC37B73034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 14:02:43 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 19:02:47 -0000 TB --- 2007-02-03 17:53:25 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 17:53:25 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-02-03 17:53:25 - cleaning the object tree TB --- 2007-02-03 17:53:56 - checking out the source tree TB --- 2007-02-03 17:53:56 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-02-03 17:53:56 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 18:01:36 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 18:01:36 - cd /src TB --- 2007-02-03 18:01:36 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 18:01:37 UTC 2007 >>> 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 >>> World build completed on Sat Feb 3 18:57:11 UTC 2007 TB --- 2007-02-03 18:57:11 - generating LINT kernel config TB --- 2007-02-03 18:57:11 - cd /src/sys/powerpc/conf TB --- 2007-02-03 18:57:11 - /usr/bin/make -B LINT TB --- 2007-02-03 18:57:11 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 18:57:11 - cd /src TB --- 2007-02-03 18:57:11 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 18:57:12 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 19:02:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 19:02:43 - ERROR: failed to build lint kernel TB --- 2007-02-03 19:02:43 - tinderbox aborted TB --- 0.62 user 2.52 system 4157.69 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 19:06:49 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20F0A16A401; Sat, 3 Feb 2007 19:06:49 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id D1B5213C4A5; Sat, 3 Feb 2007 19:06:48 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id l13J6mZZ030096; Sat, 3 Feb 2007 14:06:48 -0500 (EST) (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.8/8.13.8) with ESMTP id l13J6mVB033835; Sat, 3 Feb 2007 14:06:48 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 97F3473034; Sat, 3 Feb 2007 14:06:47 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203190647.97F3473034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 14:06:47 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner1 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 19:06:49 -0000 TB --- 2007-02-03 17:33:35 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 17:33:35 - starting HEAD tinderbox run for ia64/ia64 TB --- 2007-02-03 17:33:35 - cleaning the object tree TB --- 2007-02-03 17:34:09 - checking out the source tree TB --- 2007-02-03 17:34:09 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2007-02-03 17:34:09 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 17:44:10 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 17:44:10 - cd /src TB --- 2007-02-03 17:44:10 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 17:44:11 UTC 2007 >>> 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 >>> World build completed on Sat Feb 3 18:58:19 UTC 2007 TB --- 2007-02-03 18:58:19 - generating LINT kernel config TB --- 2007-02-03 18:58:19 - cd /src/sys/ia64/conf TB --- 2007-02-03 18:58:19 - /usr/bin/make -B LINT TB --- 2007-02-03 18:58:19 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 18:58:19 - cd /src TB --- 2007-02-03 18:58:19 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 18:58:19 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -mno-sdata -ffreestanding -Werror /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 19:06:47 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 19:06:47 - ERROR: failed to build lint kernel TB --- 2007-02-03 19:06:47 - tinderbox aborted TB --- 0.70 user 2.60 system 5591.65 real http://tinderbox.des.no/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 20:18:33 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7459916A400; Sat, 3 Feb 2007 20:18:33 +0000 (UTC) (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 35D0113C428; Sat, 3 Feb 2007 20:18:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l13KIWb4023111; Sat, 3 Feb 2007 15:18:32 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l13KIW5x028075; Sat, 3 Feb 2007 15:18:32 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5D1F073034; Sat, 3 Feb 2007 15:18:32 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203201832.5D1F073034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 15:18:32 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 20:18:33 -0000 TB --- 2007-02-03 19:02:43 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 19:02:43 - starting HEAD tinderbox run for sparc64/sparc64 TB --- 2007-02-03 19:02:43 - cleaning the object tree TB --- 2007-02-03 19:03:13 - checking out the source tree TB --- 2007-02-03 19:03:13 - cd /tinderbox/HEAD/sparc64/sparc64 TB --- 2007-02-03 19:03:13 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 19:16:40 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 19:16:40 - cd /src TB --- 2007-02-03 19:16:40 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 19:16:42 UTC 2007 >>> 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 >>> World build completed on Sat Feb 3 20:12:00 UTC 2007 TB --- 2007-02-03 20:12:00 - generating LINT kernel config TB --- 2007-02-03 20:12:00 - cd /src/sys/sparc64/conf TB --- 2007-02-03 20:12:00 - /usr/bin/make -B LINT TB --- 2007-02-03 20:12:00 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 20:12:00 - cd /src TB --- 2007-02-03 20:12:00 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 20:12:01 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 20:18:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 20:18:32 - ERROR: failed to build lint kernel TB --- 2007-02-03 20:18:32 - tinderbox aborted TB --- 0.62 user 2.38 system 4548.14 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sparc64.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 20:19:30 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18F8416A403; Sat, 3 Feb 2007 20:19:30 +0000 (UTC) (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 CF39813C428; Sat, 3 Feb 2007 20:19:29 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l13KJT7K023152; Sat, 3 Feb 2007 15:19:29 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l13KJTXm028790; Sat, 3 Feb 2007 15:19:29 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 3982573034; Sat, 3 Feb 2007 15:19:29 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203201929.3982573034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 15:19:29 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on sparc64/sun4v X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 20:19:30 -0000 TB --- 2007-02-03 19:06:47 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 19:06:47 - starting HEAD tinderbox run for sparc64/sun4v TB --- 2007-02-03 19:06:47 - cleaning the object tree TB --- 2007-02-03 19:07:28 - checking out the source tree TB --- 2007-02-03 19:07:28 - cd /tinderbox/HEAD/sparc64/sun4v TB --- 2007-02-03 19:07:28 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 19:19:11 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 19:19:11 - cd /src TB --- 2007-02-03 19:19:11 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 19:19:12 UTC 2007 >>> 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 >>> World build completed on Sat Feb 3 20:13:21 UTC 2007 TB --- 2007-02-03 20:13:21 - generating LINT kernel config TB --- 2007-02-03 20:13:21 - cd /src/sys/sun4v/conf TB --- 2007-02-03 20:13:21 - /usr/bin/make -B LINT TB --- 2007-02-03 20:13:21 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 20:13:21 - cd /src TB --- 2007-02-03 20:13:21 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 20:13:21 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/sun4v/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 20:19:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 20:19:29 - ERROR: failed to build lint kernel TB --- 2007-02-03 20:19:29 - tinderbox aborted TB --- 0.49 user 2.09 system 4361.48 real http://tinderbox.des.no/tinderbox-head-HEAD-sparc64-sun4v.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 21:53:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 453FE16A400 for ; Sat, 3 Feb 2007 21:53:03 +0000 (UTC) (envelope-from luping.nju@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.239]) by mx1.freebsd.org (Postfix) with ESMTP id 0BD2413C48D for ; Sat, 3 Feb 2007 21:53:02 +0000 (UTC) (envelope-from luping.nju@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so1180482wxc for ; Sat, 03 Feb 2007 13:53:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=peqUGFfX4qMIwL+XI8PcPxair6ZI3TSK4Ulzd+JAaTDjHMQnOIOEWZQe9wttcNPClL97v/dr28RjAmiSfArOmKAnDbzGmMkDUBMfiUwoeIljHnH0RD9KWYNe1ndP77YssWFuVql8znovmkyZ5IIwrtHyCvL918NfePqvyT5uNw0= Received: by 10.70.74.1 with SMTP id w1mr8636310wxa.1170538092966; Sat, 03 Feb 2007 13:28:12 -0800 (PST) Received: by 10.70.7.7 with HTTP; Sat, 3 Feb 2007 13:28:12 -0800 (PST) Message-ID: Date: Sat, 3 Feb 2007 16:28:12 -0500 From: "lu ping" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: sleep in freebsd kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 21:53:03 -0000 Hey Folks, I have a question about making my kernel thread sleep for a while. I think I can use "tsleep", but the timeout for this call is only counted as system ticks (usually at millisecond granularity). However I want to make my "sleep" return in microsecond granularity. Does anybody know how to realize this? Thanks Luping From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 21:56:25 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BE97C16A401; Sat, 3 Feb 2007 21:56:25 +0000 (UTC) (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 8A80E13C491; Sat, 3 Feb 2007 21:56:25 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.8/8.13.8) with ESMTP id l13LuPfe029000; Sat, 3 Feb 2007 16:56:25 -0500 (EST) (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.8/8.13.8) with ESMTP id l13LuOoE084218; Sat, 3 Feb 2007 16:56:24 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 8847D73034; Sat, 3 Feb 2007 16:56:24 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203215624.8847D73034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 16:56:24 -0500 (EST) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner1 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 21:56:25 -0000 TB --- 2007-02-03 20:20:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 20:20:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2007-02-03 20:20:00 - cleaning the object tree TB --- 2007-02-03 20:20:53 - checking out the source tree TB --- 2007-02-03 20:20:53 - cd /tinderbox/HEAD/amd64/amd64 TB --- 2007-02-03 20:20:53 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 20:31:56 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 20:31:56 - cd /src TB --- 2007-02-03 20:31:56 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 20:31:57 UTC 2007 >>> 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 >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Sat Feb 3 21:48:51 UTC 2007 TB --- 2007-02-03 21:48:51 - generating LINT kernel config TB --- 2007-02-03 21:48:51 - cd /src/sys/amd64/conf TB --- 2007-02-03 21:48:51 - /usr/bin/make -B LINT TB --- 2007-02-03 21:48:51 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 21:48:51 - cd /src TB --- 2007-02-03 21:48:51 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 21:48:51 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 21:56:24 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 21:56:24 - ERROR: failed to build lint kernel TB --- 2007-02-03 21:56:24 - tinderbox aborted TB --- 0.91 user 3.46 system 5783.86 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 22:41:22 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EE17316A403; Sat, 3 Feb 2007 22:41:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id B4AC613C467; Sat, 3 Feb 2007 22:41:22 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id l13MfLD0041209; Sat, 3 Feb 2007 17:41:22 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.8/8.13.8) with ESMTP id l13MfL7R034391; Sat, 3 Feb 2007 17:41:21 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 8DB7C73034; Sat, 3 Feb 2007 17:41:21 -0500 (EST) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070203224121.8DB7C73034@freebsd-current.sentex.ca> Date: Sat, 3 Feb 2007 17:41:21 -0500 (EST) X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on clamscanner2 X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner5 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 22:41:23 -0000 TB --- 2007-02-03 21:28:23 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-02-03 21:28:23 - starting HEAD tinderbox run for i386/i386 TB --- 2007-02-03 21:28:23 - cleaning the object tree TB --- 2007-02-03 21:28:58 - checking out the source tree TB --- 2007-02-03 21:28:58 - cd /tinderbox/HEAD/i386/i386 TB --- 2007-02-03 21:28:58 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-02-03 21:36:54 - building world (CFLAGS=-O2 -pipe) TB --- 2007-02-03 21:36:54 - cd /src TB --- 2007-02-03 21:36:54 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 3 21:36:56 UTC 2007 >>> 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 >>> World build completed on Sat Feb 3 22:33:09 UTC 2007 TB --- 2007-02-03 22:33:09 - generating LINT kernel config TB --- 2007-02-03 22:33:09 - cd /src/sys/i386/conf TB --- 2007-02-03 22:33:09 - /usr/bin/make -B LINT TB --- 2007-02-03 22:33:09 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-02-03 22:33:09 - cd /src TB --- 2007-02-03 22:33:09 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 3 22:33:10 UTC 2007 >>> 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 [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uftdi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/ugen.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhci_pci.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/usb/uhub.c /src/sys/dev/usb/uhub.c: In function `uhub_attach': /src/sys/dev/usb/uhub.c:185: error: structure has no member named `dev' *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-02-03 22:41:21 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-02-03 22:41:21 - ERROR: failed to build lint kernel TB --- 2007-02-03 22:41:21 - tinderbox aborted TB --- 0.91 user 2.65 system 4377.43 real http://tinderbox.des.no/tinderbox-head-HEAD-i386-i386.full From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 23:04:46 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B1F516A400 for ; Sat, 3 Feb 2007 23:04:46 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: from web56505.mail.re3.yahoo.com (web56505.mail.re3.yahoo.com [66.196.97.34]) by mx1.freebsd.org (Postfix) with SMTP id 28CD913C48E for ; Sat, 3 Feb 2007 23:04:46 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: (qmail 90835 invoked by uid 60001); 3 Feb 2007 22:58:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=igJH+BQywL+ZjJQOmzZ+/btyVOQ9cSbsOXdP+0rBggJvAz4GSS/tDrI6gcwKyWK28p25X8rURBsWb3vxJYzCOqbV+CfaVFX+yI5ptHfcE9htWEM6l5CpjKBoXLyAtHd+CrlEuy3ObW2zzUST20KuWCqRZqVTAVmBB3yxDvjpODg=; X-YMail-OSG: DAUmCC0VM1nbT.Q8yuZg0uHG.tIRtbGdU7vXcoXKFfQ_I_QQkBSCV_SsJ5b_HDN3BJdefK5FS_hIcxDv1dGr83DVcH7oVFKFKrfuSP5ivjYs3J2N0BNAcatOmbOAGXD6LMlOs2dJP4VYZBI- Received: from [216.142.36.2] by web56505.mail.re3.yahoo.com via HTTP; Sat, 03 Feb 2007 14:58:04 PST Date: Sat, 3 Feb 2007 14:58:04 -0800 (PST) From: Neil Short To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <390579.85512.qm@web56505.mail.re3.yahoo.com> Subject: how to get just a small section of code? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 23:04:46 -0000 I have been watching the /src/sys/dev/ath/ code - for improvements that will help prevent my ath device from timing out on my laptop (almost certainly a hardware problem; but maybe a software workaround). When there are updates, how might I set up my cvsup file to collect just the stuff in /src/sys/dev/ath/ ? ====== Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride. Daniel 4:37 ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 23:20:30 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EF0AF16A401 for ; Sat, 3 Feb 2007 23:20:30 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: from web56507.mail.re3.yahoo.com (web56507.mail.re3.yahoo.com [66.196.97.36]) by mx1.freebsd.org (Postfix) with SMTP id 8ECD913C461 for ; Sat, 3 Feb 2007 23:20:30 +0000 (UTC) (envelope-from neshort@yahoo.com) Received: (qmail 10499 invoked by uid 60001); 3 Feb 2007 22:53:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=fAV93VMgSGO6Qm7iaCaQiZnVZ9CUQ+GUDT/XOLbCGYe3De8BF+dyctLm7ykxAuetLI8+zjrs8yvuSQFIScW4e3PBdWXdk+dalyTN0MlUVu0rQV0a4cVwNXH4Ox4eJeKDBoeRojRs6NEBS36yQh+0530O/sc30Bl1SYI+OmDkzEw=; X-YMail-OSG: kzxxsKEVM1m19ffduad1C5Spwfm3ahng_KW9P_dyqtTe9otgLpt1V3DpKimN8ELhJsCaXwaIvi1UkXwpGbYIbDd5WZvYpXGtobIlj4CaxQr5VUYW.HUy8qYTjiCXC9B1.hGBdzjFVN9ZetJidCNcowE- Received: from [216.142.36.2] by web56507.mail.re3.yahoo.com via HTTP; Sat, 03 Feb 2007 14:53:49 PST Date: Sat, 3 Feb 2007 14:53:49 -0800 (PST) From: Neil Short To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <353278.62193.qm@web56507.mail.re3.yahoo.com> Subject: cvsweb down? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 23:20:31 -0000 http://www.freebsd.org/cgi/cvsweb.cgi/ down? ====== Now I, Nebuchadnezzar, praise and extol and honor the King of heaven, for all his works are truth, and his ways are justice; and he is able to bring low those who walk in pride. Daniel 4:37 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 23:40:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 055DF16A401 for ; Sat, 3 Feb 2007 23:40:25 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by mx1.freebsd.org (Postfix) with ESMTP id 95EDB13C491 for ; Sat, 3 Feb 2007 23:40:24 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so1010572uge for ; Sat, 03 Feb 2007 15:40:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KiS3rXmx3Aughj+6ZOv8HPBCjkIOl0od5qrl7/PCoFxdW+X4NsmqnOo2J/xOIQ7zvPZEu4C6Jpq94lMPilylpp0cLCd/4QbIHsv6vakJg8DplEn1azcDgQfMADQ62ee9frhDknphtGN8O4GEOobL5kWqCp9Ex3QzFlUjnvTfNqs= Received: by 10.78.166.7 with SMTP id o7mr949560hue.1170546023322; Sat, 03 Feb 2007 15:40:23 -0800 (PST) Received: by 10.78.170.11 with HTTP; Sat, 3 Feb 2007 15:40:23 -0800 (PST) Message-ID: Date: Sun, 4 Feb 2007 02:40:23 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Neil Short" In-Reply-To: <353278.62193.qm@web56507.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <353278.62193.qm@web56507.mail.re3.yahoo.com> X-Google-Sender-Auth: 06f07fcf1b71e000 Cc: freebsd-current@freebsd.org Subject: Re: cvsweb down? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 23:40:25 -0000 On 2/4/07, Neil Short wrote: > http://www.freebsd.org/cgi/cvsweb.cgi/ > down? Can't answer that right now (apparently it's not available), but don't forget there are hundreds of mirrors out there, this one is close to me: http://ftp.mtu.ru/cgi-bin/cvsweb.cgi/