From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 00:00:26 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B18D1065671 for ; Sun, 22 Jun 2008 00:00:26 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [66.90.103.179]) by mx1.freebsd.org (Postfix) with ESMTP id D3B868FC14 for ; Sun, 22 Jun 2008 00:00:25 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from [192.168.0.192] (host81-159-204-168.range81-159.btcentralplus.com [81.159.204.168]) (authenticated bits=0) by hercules.mthelicon.com (8.14.2/8.14.2) with ESMTP id m5M00N0T054977 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Sun, 22 Jun 2008 00:00:24 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc cleaft Organization: Feathers To: freebsd-hackers@freebsd.org Date: Sun, 22 Jun 2008 01:00:22 +0100 User-Agent: KMail/1.9.7 References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> <200806210944.11843.mistry.7@osu.edu> In-Reply-To: <200806210944.11843.mistry.7@osu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806220100.22645.ken@mthelicon.com> Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 00:00:26 -0000 On Saturday 21 June 2008 14:44:02 Anish Mistry wrote: > On Friday 20 June 2008, joe mcguckin wrote: > > I'm looking for a cheap and small embedded platform to use as a > > portable vpn endpoint. It doesn't have to be fast, it just has to > > run *BSD. > > > > Any suggestions?? > > www.pcengines.ch Take a look at the sokeris pcb's. I have had good luck making embedded routers out of them. www.sokeris.com ~peg From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 03:26:52 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74B061065675 for ; Sun, 22 Jun 2008 03:26:52 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id B45AA8FC0A for ; Sun, 22 Jun 2008 03:26:51 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (adsl15-211.kln.forthnet.gr [77.49.142.211]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-4) with ESMTP id m5M37cSk016702 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 22 Jun 2008 06:07:44 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m5M37cLZ008034; Sun, 22 Jun 2008 06:07:38 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m5M37bQh008033; Sun, 22 Jun 2008 06:07:37 +0300 (EEST) (envelope-from keramida@freebsd.org) From: Giorgos Keramidas To: "Garrett Cooper" References: <9C83A8B6-0C73-4A06-A60A-527D7B7BCCE5@gmail.com> <7d6fde3d0806162028l74172922t4ea47250e7634130@mail.gmail.com> Date: Sun, 22 Jun 2008 06:07:37 +0300 In-Reply-To: <7d6fde3d0806162028l74172922t4ea47250e7634130@mail.gmail.com> (Garrett Cooper's message of "Mon, 16 Jun 2008 20:28:08 -0700") Message-ID: <87lk0y416u.fsf_-_@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m5M37cSk016702 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.243, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.16, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: hackers@freebsd.org, bug-followup@freebsd.org Subject: Re: bin/124409: fsck(8) requires exact entry for mountpoints when executing / bug by design in getfsfile(3) in .../lib/libc/gen/fstab.c X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 03:26:52 -0000 On Mon, 16 Jun 2008 20:28:08 -0700, "Garrett Cooper" wrote: > On Tue, Jun 10, 2008 at 2:27 AM, Garrett Cooper wrote: >> Ok.... it appears I wasn't intelligent enough to post this in the right >> place last night. Comments please? >> >> Hi hackers, >> >> I have a question, pending a bug found in getfsfile(3) [1]. >> >> Is there any possibility where a mountpoint be any value other >> >> than a directory, a symlink, or "none", i.e. a flat file? >> >> Thanks, >> >> -Garrett >> >> References: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/124409 (not fully in PR >> >> database yet). > > Going once, going twice... Hi Garrett :-) When I wrote the original comment in that PR I had something like this in mind: %%% *** src.7789d2851415/lib/libc/gen/fstab.c Sun Jun 22 05:57:09 2008 --- /home/build/src/lib/libc/gen/fstab.c Sun Jun 22 05:56:48 2008 *************** struct fstab * *** 236,245 **** getfsfile(name) const char *name; { if (setfsent()) ! while (fstabscan()) ! if (!strcmp(_fs_fstab.fs_file, name)) return(&_fs_fstab); return((struct fstab *)NULL); } --- 236,256 ---- getfsfile(name) const char *name; { + char name_path[PATH_MAX]; + char fstab_path[PATH_MAX]; + + if (realpath(name, name_path) == NULL) + return((struct fstab *)NULL); if (setfsent()) ! while (fstabscan()) { ! if (strcmp(_fs_fstab.fs_file, name) == 0 || ! strcmp(_fs_fstab.fs_file, name_path) == 0) ! return(&_fs_fstab); ! if (realpath(_fs_fstab.fs_file, fstab_path) == NULL) ! return((struct fstab *)NULL); ! if (strcmp(fstab_path, name_path) == 0) return(&_fs_fstab); + } return((struct fstab *)NULL); } %%% I tried to avoid unnecessary realpath(3) calls as much as possible, but there is still the possibility for at least N+1 calls, where N is the number of entries in fstab... Can you test the above patch, and let me know if it looks ok, if you have a better fix in the works, etc.? It seems to pass the bug you originally reported when I run: % env LD_PRELOAD=/home/build/obj/home/build/src/lib/libc/libc.so.7 \ fsck ///cdrom/// fsck: exec fsck_cd9660 for /dev/acd0 in /sbin:/usr/sbin: No such file or directory The failure later is ok, because we don't have fsck_cd9660 for CD-ROMs. From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 09:58:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACA021065676 for ; Sun, 22 Jun 2008 09:58:43 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 3F23C8FC2A for ; Sun, 22 Jun 2008 09:58:42 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m5M9YE00069490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Jun 2008 11:34:15 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m5M9wdJb031966 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 22 Jun 2008 11:58:39 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m5M9wXIR031834; Sun, 22 Jun 2008 11:58:33 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m5M9wWLv031833; Sun, 22 Jun 2008 11:58:32 +0200 (CEST) (envelope-from ticso) Date: Sun, 22 Jun 2008 11:58:32 +0200 From: Bernd Walter To: joe mcguckin Message-ID: <20080622095827.GF29053@cicely7.cicely.de> References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Cc: freebsd-hackers@freebsd.org Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 09:58:43 -0000 On Fri, Jun 20, 2008 at 08:07:46PM -0700, joe mcguckin wrote: > I'm looking for a cheap and small embedded platform to use as a > portable vpn endpoint. It doesn't have to be fast, it just has to > run *BSD. > > Any suggestions?? We build our own ARM9 based board: http://www.small-control.de/FSB-A920-1.html http://www.small-control.de/FSB-A920-1-APG.html -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 10:24:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB873106564A for ; Sun, 22 Jun 2008 10:24:08 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout4.freenet.de (mout4.freenet.de [IPv6:2001:748:100:40::2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA5F8FC0A for ; Sun, 22 Jun 2008 10:24:08 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.25] (helo=15.mx.freenet.de) by mout4.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #19) id 1KAMju-0004XL-U2 for freebsd-hackers@freebsd.org; Sun, 22 Jun 2008 12:24:06 +0200 Received: from r9b9b.r.pppool.de ([89.54.155.155]:44236 helo=peedub.jennejohn.org) by 15.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #12) id 1KAMju-0007qi-Lj for freebsd-hackers@freebsd.org; Sun, 22 Jun 2008 12:24:06 +0200 Date: Sun, 22 Jun 2008 12:24:06 +0200 From: Gary Jennejohn To: freebsd-hackers@freebsd.org Message-ID: <20080622122406.59e65588@peedub.jennejohn.org> In-Reply-To: <20080622095827.GF29053@cicely7.cicely.de> References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> <20080622095827.GF29053@cicely7.cicely.de> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.10.14; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 10:24:08 -0000 On Sun, 22 Jun 2008 11:58:32 +0200 Bernd Walter wrote: > On Fri, Jun 20, 2008 at 08:07:46PM -0700, joe mcguckin wrote: > > I'm looking for a cheap and small embedded platform to use as a > > portable vpn endpoint. It doesn't have to be fast, it just has to > > run *BSD. > > > > Any suggestions?? > > We build our own ARM9 based board: > http://www.small-control.de/FSB-A920-1.html > http://www.small-control.de/FSB-A920-1-APG.html > Looks like it's soldered by hand. Is it? --- Gary Jennejohn From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 12:58:21 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 253D51065675; Sun, 22 Jun 2008 12:58:21 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from viefep31-int.chello.at (viefep31-int.chello.at [62.179.121.49]) by mx1.freebsd.org (Postfix) with ESMTP id D1E048FC1A; Sun, 22 Jun 2008 12:58:19 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from [89.134.207.231] by viefep31-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080622125818.NXLM25153.viefep31-int.chello.at@[89.134.207.231]>; Sun, 22 Jun 2008 14:58:18 +0200 Message-ID: <485E4C69.1080805@FreeBSD.org> Date: Sun, 22 Jun 2008 14:58:17 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Andrey Chernov References: <48577510.4020007@aueb.gr> <48577BD2.4070205@bluemedia.pl> <20080617102900.GA46479@nagual.pp.ru> <485798C4.2050605@FreeBSD.org> <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> In-Reply-To: <20080618114917.GB89383@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Doug Barton , current@FreeBSD.org, Konrad Jankowski , Diomidis Spinellis , hackers@FreeBSD.org, Dag-Erling Sm??rgrav , "Sean C. Farley" , Max Khon Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 12:58:21 -0000 Andrey Chernov escribió: > On Wed, Jun 18, 2008 at 12:40:24PM +0200, Dag-Erling Sm??rgrav wrote: > >> For grep, I believe it should simply be a matter of calling setlocale(), >> using wide strings, and using a multibyte regex engine (for appropriate >> values of "simply"). >> > > See my prev reply telling more details. Using wide strings is not so easy, > f.e. all ctype BSD grep now uses should be converted to wctype, input > conversion added, etc. > I've started to work on doing this big change, the first step: http://kovesdan.org/patches/grep-i18n.diff It doesn't work though, each file is recognized as binary with this change. Do you have any idea, why this happens? What am I doing wrong? Regards, Gabor From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 13:53:55 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F9851065670; Sun, 22 Jun 2008 13:53:55 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8EFA18FC1B; Sun, 22 Jun 2008 13:53:54 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5MDrhUv073074; Sun, 22 Jun 2008 17:53:43 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1214142823; bh=5S72Ee7gNbUc0lWxQUdiE8E9bTcUASlDNLB/d6h fcx0=; l=982; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=RN5gAGnDGZHHtxgph+dsh8qpV fOdgXn35wqHmEfl1Ge85ygkF+nkQl0ScO+/ly+MPInOS4qK/GHqfAjAomw9j+dkRHwz PGq3hLn7wh65L0uDm05bbuMJJTbgMd/P4/FwWquYuUsM2RMJ4yhPunmYhgh742OuZsf DZaV9gsbIQUk= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5MDrhfU073073; Sun, 22 Jun 2008 17:53:43 +0400 (MSD) (envelope-from ache) Date: Sun, 22 Jun 2008 17:53:43 +0400 From: Andrey Chernov To: Gabor Kovesdan Message-ID: <20080622135343.GA72068@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Gabor Kovesdan , Dag-Erling Sm??rgrav , Konrad Jankowski , Diomidis Spinellis , Doug Barton , hackers@FreeBSD.org, current@FreeBSD.org, "Sean C. Farley" , Max Khon References: <20080617102900.GA46479@nagual.pp.ru> <485798C4.2050605@FreeBSD.org> <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485E4C69.1080805@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Mailman-Approved-At: Sun, 22 Jun 2008 14:04:55 +0000 Cc: Doug Barton , current@FreeBSD.org, Konrad Jankowski , Diomidis Spinellis , hackers@FreeBSD.org, Dag-Erling Sm??rgrav , "Sean C. Farley" , Max Khon Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 13:53:55 -0000 On Sun, Jun 22, 2008 at 02:58:17PM +0200, Gabor Kovesdan wrote: > Andrey Chernov escribi?: > > On Wed, Jun 18, 2008 at 12:40:24PM +0200, Dag-Erling Sm??rgrav wrote: > > > >> For grep, I believe it should simply be a matter of calling setlocale(), > >> using wide strings, and using a multibyte regex engine (for appropriate > >> values of "simply"). > >> > > > > See my prev reply telling more details. Using wide strings is not so easy, > > f.e. all ctype BSD grep now uses should be converted to wctype, input > > conversion added, etc. > > > I've started to work on doing this big change, the first step: > http://kovesdan.org/patches/grep-i18n.diff 1) You can't convert just whole buffer after fread() since it can be ended in the middle of multibyte sequence on BUFSIZ edge. Look how GNU utils do it. 2) Better use iswspace and iswcntrl instead of iswctype. 3) util.c needs to be fixed in several places too. -- http://ache.pp.ru/ From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 15:05:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC4FD1065684; Sun, 22 Jun 2008 15:05:11 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [213.186.42.107]) by mx1.freebsd.org (Postfix) with ESMTP id A34A08FC0A; Sun, 22 Jun 2008 15:05:11 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (15.10.87-79.rev.gaoland.net [79.87.10.15]) by smtp.lamaiziere.net (Postfix) with ESMTP id F13BF11805AA; Sun, 22 Jun 2008 17:05:09 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 81CD54F9961; Sun, 22 Jun 2008 17:05:08 +0200 (CEST) Date: Sun, 22 Jun 2008 17:05:07 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> In-Reply-To: <20080606234135.46144207@baby-jane-lamaiziere-net.local> References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-apple-darwin9.2.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 15:05:12 -0000 Le Fri, 6 Jun 2008 23:41:35 +0200, Patrick Lamaizière a écrit : Hello, > I'm trying to port the glxsb driver from OpenBSD to FreeBSD 7-STABLE > (via the NetBSD port). > " The glxsb driver supports the security block of the Geode LX > series processors. The Geode LX is a member of the AMD Geode family > of integrated x86 system chips. > > Driven by periodic checks for available data from the generator, > glxsb supplies entropy to the random(4) driver for common usage. > > glxsb also supports acceleration of AES-128-CBC operations for > crypto(4)." Well, I hope this is the final version. http://user.lamaiziere.net/patrick/glxsb-220608.tar.gz I added a patch for FreeBSD 6 but i'am not able to test it. On 7-STABLE, I've tested with hundred openssl encryptions and some flood pings under ipsec in the background. Looks good for me. If someone can test and review it, it would be cool. Thanks, Regards. From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 17:35:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A622106566B for ; Sun, 22 Jun 2008 17:35:07 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id EA0F58FC18 for ; Sun, 22 Jun 2008 17:35:06 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1KATSw-0003sn-QY for freebsd-hackers@freebsd.org; Sun, 22 Jun 2008 17:35:02 +0000 Received: from 78-0-84-134.adsl.net.t-com.hr ([78.0.84.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jun 2008 17:35:02 +0000 Received: from ivoras by 78-0-84-134.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 22 Jun 2008 17:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ivan Voras Date: Sun, 22 Jun 2008 19:30:43 +0200 Lines: 35 Message-ID: References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0CFEC7404901CF367A76999E" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-84-134.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 17:35:07 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0CFEC7404901CF367A76999E Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable joe mcguckin wrote: > I'm looking for a cheap and small embedded platform to use as a portabl= e=20 > vpn endpoint. It doesn't have to be fast, it just has to > run *BSD. >=20 > Any suggestions?? You'll probably have to define what "cheap" means to you. I don't have=20 much experience with small / embedded equipment but this product:=20 http://www.fit-pc.com/new/specifications.html works for me ($300). --------------enig0CFEC7404901CF367A76999E 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.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXoxDldnAQVacBcgRAu9FAKCTkiZi1S/V5GsROoMScIdtm3dpPgCg7zCr oDd9sRuROoI9ADoi6h71Ieo= =57ea -----END PGP SIGNATURE----- --------------enig0CFEC7404901CF367A76999E-- From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 18:02:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DB64106567B for ; Sun, 22 Jun 2008 18:02:08 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 54A948FC15 for ; Sun, 22 Jun 2008 18:02:08 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so8961694rvf.43 for ; Sun, 22 Jun 2008 11:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=yMH3BBnsPTK5mFz1KHUOmyrnxZ3Il3CUIom9askwbYo=; b=R5YiQxglZRW1senGFKkchvgA+xHclIHAj0E4+PPWLm1VMJQNIQU7Bi3vjQOEMdbm/M bgtt83w2tO1Q9+x9OrAUvVYGQeh9835s3FDqvVBNmqeC/RKpx6rdZC8ptJjZyRRod2mY 4bjNBWJenFmlTkOckqxdF8uTjhGVXzZB712yo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=NAOmTdyNFvpNh/diUlcL+AGAQriIlVlkJUrNJN/nZlnV5QLBDYWsAABShv4g1A75UT /JIP9C8cAHYzp4WHamPmRYR1nQSiapZ361+TLItqESxzXcZPIJ+XnZYd0pNkDHPuF/6R eZGMXsvxhjIwr2nTfZaKkxTy1nvJYVCtjk2wI= Received: by 10.141.128.19 with SMTP id f19mr11221382rvn.257.1214157715477; Sun, 22 Jun 2008 11:01:55 -0700 (PDT) Received: by 10.114.161.7 with HTTP; Sun, 22 Jun 2008 11:01:55 -0700 (PDT) Message-ID: <2e77fc10806221101q684baf47r9ee7208a676f59e@mail.gmail.com> Date: Sun, 22 Jun 2008 21:01:55 +0300 From: "Niki Denev" To: "=?ISO-8859-1?Q?Patrick_Lamaizi=E8re?=" In-Reply-To: <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> X-Mailman-Approved-At: Sun, 22 Jun 2008 18:17:57 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 18:02:08 -0000 On Sun, Jun 22, 2008 at 6:05 PM, Patrick Lamaizi=E8re wrote: > Le Fri, 6 Jun 2008 23:41:35 +0200, > Patrick Lamaizi=E8re a =E9crit : > > Hello, > >> I'm trying to port the glxsb driver from OpenBSD to FreeBSD 7-STABLE >> (via the NetBSD port). >> " The glxsb driver supports the security block of the Geode LX >> series processors. The Geode LX is a member of the AMD Geode family >> of integrated x86 system chips. >> >> Driven by periodic checks for available data from the generator, >> glxsb supplies entropy to the random(4) driver for common usage. >> >> glxsb also supports acceleration of AES-128-CBC operations for >> crypto(4)." > > Well, I hope this is the final version. > > http://user.lamaiziere.net/patrick/glxsb-220608.tar.gz > > I added a patch for FreeBSD 6 but i'am not able to test it. > > On 7-STABLE, I've tested with hundred openssl encryptions and some flood > pings under ipsec in the background. Looks good for me. > > If someone can test and review it, it would be cool. > > Thanks, Regards. It compiles on without a problem on 6.2 and loads on my Soekris Net5501-70 running pfSense (6.2-RELEASE-p11) glxsb0: mem 0xa0000000-0xa0003fff irq 10 at device 1.2 on pci0 Thanks!, Niki From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 18:20:44 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E3E51065675; Sun, 22 Jun 2008 18:20:44 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [213.186.42.107]) by mx1.freebsd.org (Postfix) with ESMTP id D5D738FC1C; Sun, 22 Jun 2008 18:20:43 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (15.10.87-79.rev.gaoland.net [79.87.10.15]) by smtp.lamaiziere.net (Postfix) with ESMTP id 96E3911805AA; Sun, 22 Jun 2008 20:20:42 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 2490E4FA29D; Sun, 22 Jun 2008 20:20:42 +0200 (CEST) Date: Sun, 22 Jun 2008 20:20:41 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: Ivan Voras Message-ID: <20080622202041.07f85145@baby-jane-lamaiziere-net.local> In-Reply-To: References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-apple-darwin9.2.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 18:20:44 -0000 Le Sun, 22 Jun 2008 19:40:04 +0200, Ivan Voras a écrit : > Ivan Voras wrote: > > > The results are practically the same. > > On the other hand: > > ursaminor:~/admin/glxsb> dd if=/dev/zero bs=4k count=100000 | openssl > enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij > 100000+0 records in > 100000+0 records out > 409600000 bytes transferred in 77.653939 secs (5274684 bytes/sec) > > ursaminor:~/admin/glxsb> dd if=/dev/zero bs=4k count=100000 | openssl > enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij -engine > cryptodev engine "cryptodev" set. > 100000+0 records in > 100000+0 records out > 409600000 bytes transferred in 21.486846 secs (19062826 bytes/sec) > > So I guess it works. Any idea why "openssl speed" doesn't show it? On FreeBSD 7, OpenSSL does not use the cryptodev engine by default. This is a known problem. See http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-06/msg00076.html openssl speed -evp aes-128-cbc -elapsed -engine cryptodev From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 19:20:03 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46D221065673 for ; Sun, 22 Jun 2008 19:20:03 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE8D8FC0C for ; Sun, 22 Jun 2008 19:20:02 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so8993195rvf.43 for ; Sun, 22 Jun 2008 12:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received: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; bh=tLLTQi6YbpmG7JCw8gPe4pHK9gXotSUPDjnT6vRaOVw=; b=fAcUHjrmSGz+73Rx1/X8YvhDYByzbecRbrOnf9slLO4vG2UOSuSTLxEuw2txLCf5o+ tOJLTzusXPALMlc/pvXwKEb9R/AkI1xLcf9VqwBaMM8lngHULAd2m1QynM6D4ZOhWykx GjawlujR6NRYE/GfHYaAzD8vXvRIf7gmDj4so= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=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=ah9l+wTswVEhCC9nXwLkSbh2haQGLVp9Z4QoSRJgjGaYJfwekBLg2ha4ckbkB2wIGo xOS55EqprjqIf/slq+PeLl7V9hHFucUMWQKvpJlh+3zAGyUyNoDRNVVtw1L4vwM+3NnO stcaxFQSrDqb+VIKg4sahlmGWI47FJ6rjmj7A= Received: by 10.141.20.7 with SMTP id x7mr11361074rvi.82.1214162402394; Sun, 22 Jun 2008 12:20:02 -0700 (PDT) Received: by 10.141.159.2 with HTTP; Sun, 22 Jun 2008 12:20:02 -0700 (PDT) Message-ID: <9bbcef730806221220u4f8a3f45q305a927efdf5e16f@mail.gmail.com> Date: Sun, 22 Jun 2008 21:20:02 +0200 From: "Ivan Voras" Sender: ivoras@gmail.com To: "=?UTF-8?Q?Patrick_Lamaizi=C3=A8re?=" In-Reply-To: <20080622202041.07f85145@baby-jane-lamaiziere-net.local> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> <20080622202041.07f85145@baby-jane-lamaiziere-net.local> X-Google-Sender-Auth: 79b95abe786fd131 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 19:20:03 -0000 MjAwOC82LzIyIFBhdHJpY2sgTGFtYWl6acOocmUgPHBhdGZic2RAZGF2ZW51bGxlLm9yZz46Cgo+ IG9wZW5zc2wgc3BlZWQgLWV2cCBhZXMtMTI4LWNiYyAtZWxhcHNlZCAtZW5naW5lIGNyeXB0b2Rl dgoKSSBzZWUgdGhlICItZXZwIiBwYXJhbWV0ZXIgbWFrZXMgdGhlIGRpZmZlcmVuY2UgaW4gIm9w ZW5zc2wgc3BlZWQiOgoKPiBvcGVuc3NsIHNwZWVkIC1lbmdpbmUgY3J5cHRvZGV2IC1lbGFwc2Vk IC1ldnAgYWVzLTEyOC1jYmMgYWVzLTEyOC1jYmMKZW5naW5lICJjcnlwdG9kZXYiIHNldC4KWW91 IGhhdmUgY2hvc2VuIHRvIG1lYXN1cmUgZWxhcHNlZCB0aW1lIGluc3RlYWQgb2YgdXNlciBDUFUg dGltZS4KVG8gZ2V0IHRoZSBtb3N0IGFjY3VyYXRlIHJlc3VsdHMsIHRyeSB0byBydW4gdGhpcwpw cm9ncmFtIHdoZW4gdGhpcyBjb21wdXRlciBpcyBpZGxlLgpEb2luZyBhZXMtMTI4IGNiYyBmb3Ig M3Mgb24gMTYgc2l6ZSBibG9ja3M6IDEwMDU5OTIgYWVzLTEyOCBjYmMncyBpbiAzLjAwcwpEb2lu ZyBhZXMtMTI4IGNiYyBmb3IgM3Mgb24gNjQgc2l6ZSBibG9ja3M6IDI2MjI1NiBhZXMtMTI4IGNi YydzIGluIDMuMDFzCkRvaW5nIGFlcy0xMjggY2JjIGZvciAzcyBvbiAyNTYgc2l6ZSBibG9ja3M6 IDY2NDcwIGFlcy0xMjggY2JjJ3MgaW4gMy4wMXMKRG9pbmcgYWVzLTEyOCBjYmMgZm9yIDNzIG9u IDEwMjQgc2l6ZSBibG9ja3M6IDE2NTc1IGFlcy0xMjggY2JjJ3MgaW4gMy4wMXMKRG9pbmcgYWVz LTEyOCBjYmMgZm9yIDNzIG9uIDgxOTIgc2l6ZSBibG9ja3M6IDIwODcgYWVzLTEyOCBjYmMncyBp biAzLjAxcwpEb2luZyBhZXMtMTI4LWNiYyBmb3IgM3Mgb24gMTYgc2l6ZSBibG9ja3M6IDc0MTk1 IGFlcy0xMjgtY2JjJ3MgaW4gMy4wMXMKRG9pbmcgYWVzLTEyOC1jYmMgZm9yIDNzIG9uIDY0IHNp emUgYmxvY2tzOiA2OTIwOCBhZXMtMTI4LWNiYydzIGluIDMuMDFzCkRvaW5nIGFlcy0xMjgtY2Jj IGZvciAzcyBvbiAyNTYgc2l6ZSBibG9ja3M6IDY0MTU0IGFlcy0xMjgtY2JjJ3MgaW4gMy4wMXMK RG9pbmcgYWVzLTEyOC1jYmMgZm9yIDNzIG9uIDEwMjQgc2l6ZSBibG9ja3M6IDQ0MzY5IGFlcy0x MjgtY2JjJ3MgaW4gMy4wMXMKRG9pbmcgYWVzLTEyOC1jYmMgZm9yIDNzIG9uIDgxOTIgc2l6ZSBi bG9ja3M6IDk1MTIgYWVzLTEyOC1jYmMncyBpbiAzLjAxcwpPcGVuU1NMIDAuOS44ZSAyMyBGZWIg MjAwNwpidWlsdCBvbjogVHVlIEFwciAxNSAxOTo0MDozNyBDRVNUIDIwMDgKb3B0aW9uczpibig2 NCwzMikgbWQyKGludCkgcmM0KGlkeCxpbnQpIGRlcyhwdHIscmlzYzEsMTYsbG9uZykKYWVzKHBh cnRpYWwpIGJsb3dmaXNoKGlkeCkKY29tcGlsZXI6IGNjCmF2YWlsYWJsZSB0aW1pbmcgb3B0aW9u czogVVNFX1RPRCBIWj0xMjggW3N5c2NvbmYgdmFsdWVdCnRpbWluZyBmdW5jdGlvbiB1c2VkOiBn ZXR0aW1lb2ZkYXkKVGhlICdudW1iZXJzJyBhcmUgaW4gMTAwMHMgb2YgYnl0ZXMgcGVyIHNlY29u ZCBwcm9jZXNzZWQuCnR5cGUgICAgICAgICAgICAgMTYgYnl0ZXMgICAgIDY0IGJ5dGVzICAgIDI1 NiBieXRlcyAgIDEwMjQgYnl0ZXMgICA4MTkyIGJ5dGVzCmFlcy0xMjggY2JjICAgICAgIDUzNTku NTdrICAgICA1NTc3LjQ5ayAgICAgNTY1NC41M2sgICAgIDU2MzkuODFrICAgICA1Njc5LjY1awph ZXMtMTI4LWNiYyAgICAgICAgMzk0LjYyayAgICAgMTQ3MS45N2sgICAgIDU0NTcuODlrICAgIDE1 MDk3LjIxayAgICAyNTg5NS43MmsK From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 22 21:12:50 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E60A1065680 for ; Sun, 22 Jun 2008 21:12:50 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [66.90.103.179]) by mx1.freebsd.org (Postfix) with ESMTP id D72098FC19 for ; Sun, 22 Jun 2008 21:12:49 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from [192.168.0.192] (host81-159-204-168.range81-159.btcentralplus.com [81.159.204.168]) (authenticated bits=0) by hercules.mthelicon.com (8.14.2/8.14.2) with ESMTP id m5MLClJU060780 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO) for ; Sun, 22 Jun 2008 21:12:49 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc cleaft Organization: Feathers To: freebsd-hackers@freebsd.org Date: Sun, 22 Jun 2008 22:12:45 +0100 User-Agent: KMail/1.9.7 References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622202041.07f85145@baby-jane-lamaiziere-net.local> In-Reply-To: <20080622202041.07f85145@baby-jane-lamaiziere-net.local> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200806222212.45861.ken@mthelicon.com> Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2008 21:12:50 -0000 On Sunday 22 June 2008 19:20:41 Patrick Lamaizi=E8re wrote: > On FreeBSD 7, OpenSSL does not use the cryptodev engine by default. This > is a known problem. See > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-06/msg00076.= ht >ml > > openssl speed -evp aes-128-cbc -elapsed -engine cryptodev Try patching openssl to force the use of the crypto hardware by default (li= ke=20 ssh, etc)=20 ~Peg =2D-- eng_cryptodev.c.orig 2008-02-05 18:10:31.000000000 +0000 +++ eng_cryptodev.c 2008-06-14 18:25:36.175353823 +0100 @@ -1127,6 +1127,7 @@ } =20 ENGINE_add(engine); + ENGINE_set_default_ciphers(engine); ENGINE_free(engine); ERR_clear_error(); } From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 03:14:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 681A3106567F for ; Mon, 23 Jun 2008 03:14:11 +0000 (UTC) (envelope-from gerryw@compvia.com) Received: from mail01.compvia.com (adsl-70-242-249-117.dsl.wacotx.swbell.net [70.242.249.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2FC7E8FC1D for ; Mon, 23 Jun 2008 03:14:11 +0000 (UTC) (envelope-from gerryw@compvia.com) Received: from [10.10.20.11] ([10.10.20.11]) by mail01 (Kerio MailServer 6.5.1) for freebsd-hackers@freebsd.org; Sun, 22 Jun 2008 20:02:03 -0500 To: freebsd-hackers@freebsd.org From: "Gerry Weaver" Message-ID: <20080623010203.9a1561c9@mail01> Date: Sun, 22 Jun 2008 20:02:03 -0500 X-Mailer: Kerio MailServer 6.5.1 WebMail X-User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/523.15 (KHTML, like Gecko) Version/3.0 Safari/523.15 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Kernel module advice for bandwidth monitor X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 03:14:11 -0000 Hello All, I am just starting to dig into FreeBSD kernel development and the pfil i= nterface in particular. I am in need of some advice and possibly some po= inters to relevant documentation. I want to develop a bandwidth control = driver and the associated monitoring code. It seems that the bandwidth c= ontrol part of the equation is fairly straight forward with regard to th= e pfil framework. However, my current dilemma centers around the best wa= y to implement monitoring. There seem to be several approaches to doing = this. There is the bandwidth control driver itself, the bpf interface an= d the pcap library. My question concerns performance and network latency= . It would be a given that any approach to monitoring is going to add so= me overhead in these areas, but I'm interested in minimizing this as muc= h as possible. This is precisely where I was hoping to get some advice f= rom the kernel gurus out there. I assume that it is possible for a kerne= l driver to communicate over the network. If, so it would seem that no c= ontext switch to user space would be necessary to transmit stats to ano= ther monitor machine. If the bpf or pcap mechanisms were employed, user = space would become involved. Given the various methods of accessing pack= et data, and the fact that I want to send stats to another machine, whic= h approach would require the least overhead=3F Also, are there any good = docs or possibly some code that I could look at that would illustrate th= e requirements/details of network communication from within a kernel dri= ver=3F I searched the relevant lists for this, but was not able to find = anything that looked like what I needed. I apologize if I have missed so= mething. Please forgive my newbness as I'm just starting out. Hopefully = my questions are not too foolish ;) Thanks, Gerry From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 07:06:06 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96E5B1065671 for ; Mon, 23 Jun 2008 07:06:06 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 53BBE8FC0C for ; Mon, 23 Jun 2008 07:06:06 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.69.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id F270A8A0142; Mon, 23 Jun 2008 08:41:42 +0200 (CEST) Message-ID: <485F4593.9050807@bsdforen.de> Date: Mon, 23 Jun 2008 08:41:23 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.14 (X11/20080607) MIME-Version: 1.0 To: Anish Mistry References: <485EAE11.2050808@bsdforen.de> <200806221615.50498.amistry@am-productions.biz> In-Reply-To: <200806221615.50498.amistry@am-productions.biz> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 23 Jun 2008 11:16:00 +0000 Cc: csaba-ml@creo.hu, freebsd-hackers@freebsd.org Subject: Re: FreeBSD fusefs-kmod shutdown problem workaround X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 07:06:06 -0000 Anish Mistry wrote: > On Sunday 22 June 2008, Dominic Fandrey wrote: >> I know these are desperate mesures, but the problem that fusefs >> doesn't write everything back to the disk before a shutdown is >> completed remains, because the rc script is often shot down by >> the shutdown watchdog. >> >> Hence I have extended my workaround to force stop the watchdog >> until everything is written to the media. >> >> Regards, >> Dominic >> >> diff -Pur ports/sysutils/fusefs-kmod.orig/files/fusefs.in >> ports/sysutils/fusefs-kmod/files/fusefs.in --- >> ports/sysutils/fusefs-kmod.orig/files/fusefs.in 2008-06-22 >> 21:35:27.000000000 +0200 +++ >> ports/sysutils/fusefs-kmod/files/fusefs.in 2008-06-22 >> 21:44:34.000000000 +0200 @@ -50,9 +50,18 @@ >> ;; >> esac >> done >> + >> + # This is an evil yet necessary hack to give fuse the time to >> + # write all data to the media before the system is shut down. >> + if [ -n "$rcshutdown_timeout" -a -n "$_rcshutdown_watchdog" ]; then >> + /bin/kill -STOP "$_rcshutdown_watchdog" >> + fi >> until kldunload $kmod; do >> /bin/sleep 0.25 >> done >> + if [ -n "$rcshutdown_timeout" -a -n "$_rcshutdown_watchdog" ]; then >> + /bin/kill -CONT "$_rcshutdown_watchdog" >> + fi >> } >> load_rc_config $name > Please open a PR, this is out of my comfort zone by doing "evil" stuff > during shutdown. It would probably be helpful to bring up this on > hackers/current by showing your patch. Hopefully we can get some > attention and get the necessary changes in the base/kernel to do > this "right". It does look like there is a solution in Csaba's > development version. > Did you take a look at Csaba's message on hackers at the beginning of > January? > Thanks for the pointer. Unfortunately it seems that Csaba's patch only allows you to stall shutdown for 10 seconds. After heavy writing more than a minute can be necessary to prevent data loss. I have created a problem report: ports/124901 http://www.freebsd.org/cgi/query-pr.cgi?pr=124901 I hope this will make it. To me data loss and file system corruption are the worst case scenario and to me it's worth stalling shutdown for as long as it takes to write the data. Regards, Dominic From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 17:48:02 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4E601065686; Mon, 23 Jun 2008 17:48:02 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [213.186.42.107]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7C68FC2A; Mon, 23 Jun 2008 17:48:02 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (15.10.87-79.rev.gaoland.net [79.87.10.15]) by smtp.lamaiziere.net (Postfix) with ESMTP id 0FF27118059D; Mon, 23 Jun 2008 19:48:01 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id F140F4FAEDC; Mon, 23 Jun 2008 19:47:59 +0200 (CEST) Date: Mon, 23 Jun 2008 19:47:58 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: "Ivan Voras" Message-ID: <20080623194758.6df9cafc@baby-jane-lamaiziere-net.local> In-Reply-To: <9bbcef730806221220u4f8a3f45q305a927efdf5e16f@mail.gmail.com> References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> <20080622202041.07f85145@baby-jane-lamaiziere-net.local> <9bbcef730806221220u4f8a3f45q305a927efdf5e16f@mail.gmail.com> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i386-apple-darwin9.2.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 17:48:03 -0000 Le Sun, 22 Jun 2008 21:20:02 +0200, "Ivan Voras" a écrit : Hi, > The 'numbers' are in 1000s of bytes per second processed. > type 16 bytes 64 bytes 256 bytes 1024 bytes > 8192 bytes aes-128 cbc 5359.57k 5577.49k 5654.53k > 5639.81k 5679.65k aes-128-cbc 394.62k 1471.97k > 5457.89k 15097.21k 25895.72k I've got the same results. The encryption of a file of 360 MBytes takes around 20s with the hardware and 1m10s by software. I am playing to overload my box (a soekris net5501) with ping floods on ipsec (hmac-md5 and rijndael) by a modern computer. With four 'ping -f -s 3000', 'top' reports CPU "0.4% user 0.0 nice 1.6% system, 90.3% interrupt, 7.8% idle". With five 'ping', top does not run, and the kernel does not display the message 'limiting icmp ping response to 300 to 200' anymore too (on the serial console). With the hardware, i can use 8 flood pings without any problem. Top shows CPU: 0.0% user, 0.0% nice, 33.5% system, 12.5% interrupt, 54.1% idle And the kernel displays "limiting icmp ping response from 900 to 200 packets/s.", instead '300 to 200'. So it seems there is a real improvement. Regards. From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 18:52:32 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 001951065680; Mon, 23 Jun 2008 18:52:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5268D8FC12; Mon, 23 Jun 2008 18:52:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5NIqN7A036036; Mon, 23 Jun 2008 14:52:24 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: James Gritton Date: Mon, 23 Jun 2008 14:51:52 -0400 User-Agent: KMail/1.9.7 References: <20080615112318.146C1F18512@mx.npubs.com> <200806180917.05689.jhb@freebsd.org> <485A81FF.1000000@gritton.org> In-Reply-To: <485A81FF.1000000@gritton.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200806231451.52340.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Mon, 23 Jun 2008 14:52:24 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7542/Mon Jun 23 12:42:14 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 6.3 deadlock (vm_map?) with DDB output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 18:52:32 -0000 On Thursday 19 June 2008 11:57:51 am James Gritton wrote: > John Baldwin wrote: > > On Sunday 15 June 2008 07:23:19 am Stef Walter wrote: > > > >> I've been trying to track down a deadlock on some newish production > >> servers running FreeBSD 6.3-RELEASE-p2. The deadlock occurs on a > >> specific (although mundane) hardware configuration, and each of several > >> servers running this hardware deadlock about once per week. > >> > >> Although I suspect that this is not hardware related, from a (naive) > >> perusal of the attached stack traces. > >> > >> Forgive me if my interpretation of this is all wrong, but I'm pretty > >> desperate for help. So here's my basic understanding of the deadlock: > >> > >> These processes seem to be waiting on the page queue mutex: > >> sendmail (in vm_mmap > vm_map_find > vm_map_insert > vm_map_pmap_enter) > >> bsnmpd (in malloc, uma_large_malloc > page_alloc > kmem_malloc) > >> httpd (in trap > trap_pfault > vm_fault) > >> [g_up] (in g_vfs_done > bufdone) > >> > >> The page queue mutex is held by rsync process: > >> rsync (in trap > trap_pfault > vm_fault > pmap_enter) > >> > >> Rsync kernel process (in pmap_enter) was interrupted while holding the > >> page queue lock? > >> > >> > >> Giant is enabled in loader.conf due to the needs of the pf firewall when > >> dealing with user credentials lookups. I do not believe that Giant plays > >> into this deadlock. Kernel config attached. > >> > >> Any and all help or info is welcome. Thanks in advance. > >> > > > > Try this change: > > > > jhb 2007-10-27 22:07:40 UTC > > > > FreeBSD src repository > > > > Modified files: > > sys/kern sched_4bsd.c > > Log: > > Change the roundrobin implementation in the 4BSD scheduler to trigger a > > userland preemption directly from hardclock() via sched_clock() when a > > thread uses up a full quantum instead of using a periodic timeout to cause > > a userland preemption every so often. This fixes a potential deadlock > > when IPI_PREEMPTION isn't enabled where softclock blocks on a lock held > > by a thread pinned or bound to another CPU. The current thread on that > > CPU will never be preempted while softclock is blocked. > > > > Note that ULE already drives its round-robin userland preemption from > > sched_clock() as well and always enables IPI_PREEMPT. > > > > MFC after: 1 week > > > > Revision Changes Path > > 1.108 +8 -29 src/sys/kern/sched_4bsd.c > > > > We use it at work on 6.x. W/o this fix, round-robin stops working on 4BSD > > when softclock() (swi4: clock) blocks on a lock like Giant. > > > > I've been seeing similar troubles on 6.2 and I'll have to give this a > try as we upgrade to 6.3. I notice "MFC after: 1 week" in the log; it's > been a week - any chance of seeing this fix rolled into 6.x? If people confirm it fixes issues I will MFC it. There was some pushback when I first committed it so I waited on the MFC. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 19:09:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F58B106564A for ; Mon, 23 Jun 2008 19:09:51 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 0CFB48FC1D for ; Mon, 23 Jun 2008 19:09:50 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2472520fkk.11 for ; Mon, 23 Jun 2008 12:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=9ef6iiaVuyqIeCuOv+4l5YfJRcpdGwrdZ5m5SJAy0s4=; b=xGFUohMXkefGFBXlfj73QKK/vjOOM3/3N08LLt/ThfPIJLzFvoNLJmZTZUGXvWxrY3 j144oqg7164OAnsYEUtsLYEB0CIjVlPlMImwCgeNlXSb7jfDNB7hNEKkoAHstXWara19 AKEvd05dmZBcYz6B0VjipyYCOAUDyX84TLr+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=dHFr0W6bNQRrj+rvmWPSLio5OtB4Kv9ADCc982dfBYVVRR9TlkEMujZ1yt0uEZwTd9 eC3a+5xlGFvstcXKLqvp/M3MDHXx5/USB3rHcZ77YBtKlr9FoRXHQliBmfGr2+31n9u4 0o0DvTsH7z3QgXNbUry3gp6FvhO06ckmvmrpk= Received: by 10.82.186.19 with SMTP id j19mr511704buf.60.1214246490389; Mon, 23 Jun 2008 11:41:30 -0700 (PDT) Received: by 10.150.12.12 with HTTP; Mon, 23 Jun 2008 11:41:29 -0700 (PDT) Message-ID: <5f67a8c40806231141vf7b9567mdf75e81f32169211@mail.gmail.com> Date: Mon, 23 Jun 2008 14:41:29 -0400 From: "Zaphod Beeblebrox" To: "Dominic Fandrey" In-Reply-To: <485F4593.9050807@bsdforen.de> MIME-Version: 1.0 References: <485EAE11.2050808@bsdforen.de> <200806221615.50498.amistry@am-productions.biz> <485F4593.9050807@bsdforen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: csaba-ml@creo.hu, freebsd-hackers@freebsd.org, Anish Mistry Subject: Re: FreeBSD fusefs-kmod shutdown problem workaround X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 19:09:51 -0000 On Mon, Jun 23, 2008 at 2:41 AM, Dominic Fandrey wrote: > Thanks for the pointer. Unfortunately it seems that Csaba's patch only > allows you to stall shutdown for 10 seconds. After heavy writing > more than a minute can be necessary to prevent data loss. > > I have created a problem report: ports/124901 > http://www.freebsd.org/cgi/query-pr.cgi?pr=124901 > > I hope this will make it. To me data loss and file system corruption > are the worst case scenario and to me it's worth stalling shutdown > for as long as it takes to write the data. > The shutdown watchdog timer is something I've had to adjust many times for many different ports. Given this; I propose we have (at least) a new rcorder script variable. Something like "SHUTTIME" encoding the expected number of seconds required for the daemon to shutdown in the worst case. Ideally, you'd want an overall watchdog and a per-script watchdog (so that you're not waiting the sum of all these times in most cases). From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 19:16:47 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DC73106567F; Mon, 23 Jun 2008 19:16:47 +0000 (UTC) (envelope-from jamie@gritton.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 433F38FC18; Mon, 23 Jun 2008 19:16:47 +0000 (UTC) (envelope-from jamie@gritton.org) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id m5NJGj0t056021; Mon, 23 Jun 2008 13:16:46 -0600 (MDT) Message-ID: <485FF698.103@gritton.org> Date: Mon, 23 Jun 2008 13:16:40 -0600 From: James Gritton User-Agent: Thunderbird 2.0.0.9 (X11/20080228) MIME-Version: 1.0 To: John Baldwin References: <20080615112318.146C1F18512@mx.npubs.com> <200806180917.05689.jhb@freebsd.org> <485A81FF.1000000@gritton.org> <200806231451.52340.jhb@freebsd.org> In-Reply-To: <200806231451.52340.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on gritton.org X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 6.3 deadlock (vm_map?) with DDB output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 19:16:47 -0000 John Baldwin wrote: > On Thursday 19 June 2008 11:57:51 am James Gritton wrote: > >> John Baldwin wrote: >> >>> On Sunday 15 June 2008 07:23:19 am Stef Walter wrote: >>> >>> >>>> I've been trying to track down a deadlock on some newish production >>>> servers running FreeBSD 6.3-RELEASE-p2. The deadlock occurs on a >>>> specific (although mundane) hardware configuration, and each of several >>>> servers running this hardware deadlock about once per week. >>>> >>>> Although I suspect that this is not hardware related, from a (naive) >>>> perusal of the attached stack traces. >>>> >>>> Forgive me if my interpretation of this is all wrong, but I'm pretty >>>> desperate for help. So here's my basic understanding of the deadlock: >>>> >>>> These processes seem to be waiting on the page queue mutex: >>>> sendmail (in vm_mmap > vm_map_find > vm_map_insert > vm_map_pmap_enter) >>>> bsnmpd (in malloc, uma_large_malloc > page_alloc > kmem_malloc) >>>> httpd (in trap > trap_pfault > vm_fault) >>>> [g_up] (in g_vfs_done > bufdone) >>>> >>>> The page queue mutex is held by rsync process: >>>> rsync (in trap > trap_pfault > vm_fault > pmap_enter) >>>> >>>> Rsync kernel process (in pmap_enter) was interrupted while holding the >>>> page queue lock? >>>> >>>> >>>> Giant is enabled in loader.conf due to the needs of the pf firewall when >>>> dealing with user credentials lookups. I do not believe that Giant plays >>>> into this deadlock. Kernel config attached. >>>> >>>> Any and all help or info is welcome. Thanks in advance. >>>> >>>> >>> Try this change: >>> >>> jhb 2007-10-27 22:07:40 UTC >>> >>> FreeBSD src repository >>> >>> Modified files: >>> sys/kern sched_4bsd.c >>> Log: >>> Change the roundrobin implementation in the 4BSD scheduler to trigger a >>> userland preemption directly from hardclock() via sched_clock() when a >>> thread uses up a full quantum instead of using a periodic timeout to >>> > cause > >>> a userland preemption every so often. This fixes a potential deadlock >>> when IPI_PREEMPTION isn't enabled where softclock blocks on a lock held >>> by a thread pinned or bound to another CPU. The current thread on that >>> CPU will never be preempted while softclock is blocked. >>> >>> Note that ULE already drives its round-robin userland preemption from >>> sched_clock() as well and always enables IPI_PREEMPT. >>> >>> MFC after: 1 week >>> >>> Revision Changes Path >>> 1.108 +8 -29 src/sys/kern/sched_4bsd.c >>> >>> We use it at work on 6.x. W/o this fix, round-robin stops working on 4BSD >>> when softclock() (swi4: clock) blocks on a lock like Giant. >>> >>> >> I've been seeing similar troubles on 6.2 and I'll have to give this a >> try as we upgrade to 6.3. I notice "MFC after: 1 week" in the log; it's >> been a week - any chance of seeing this fix rolled into 6.x? >> > > If people confirm it fixes issues I will MFC it. There was some pushback when > I first committed it so I waited on the MFC. I can confirm that on 6.3 I can recreate the deadlock without the patch, and can't recreate it with the patch. From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 23 19:26:46 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6D9710656CA for ; Mon, 23 Jun 2008 19:26:46 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id 1ABEE8FC19 for ; Mon, 23 Jun 2008 19:26:45 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m5NJau4I064913 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jun 2008 22:36:56 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m5NJQMVo014128; Mon, 23 Jun 2008 22:26:22 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m5NJQMm3014126; Mon, 23 Jun 2008 22:26:22 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 23 Jun 2008 22:26:22 +0300 From: Kostik Belousov To: Zaphod Beeblebrox Message-ID: <20080623192622.GD17123@deviant.kiev.zoral.com.ua> References: <485EAE11.2050808@bsdforen.de> <200806221615.50498.amistry@am-productions.biz> <485F4593.9050807@bsdforen.de> <5f67a8c40806231141vf7b9567mdf75e81f32169211@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fOHHtNG4YXGJ0yqR" Content-Disposition: inline In-Reply-To: <5f67a8c40806231141vf7b9567mdf75e81f32169211@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on skuns.kiev.zoral.com.ua Cc: csaba-ml@creo.hu, Dominic Fandrey , Anish Mistry , freebsd-hackers@freebsd.org Subject: Re: FreeBSD fusefs-kmod shutdown problem workaround X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 19:26:46 -0000 --fOHHtNG4YXGJ0yqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 23, 2008 at 02:41:29PM -0400, Zaphod Beeblebrox wrote: > On Mon, Jun 23, 2008 at 2:41 AM, Dominic Fandrey > wrote: >=20 >=20 > > Thanks for the pointer. Unfortunately it seems that Csaba's patch only > > allows you to stall shutdown for 10 seconds. After heavy writing > > more than a minute can be necessary to prevent data loss. > > > > I have created a problem report: ports/124901 > > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D124901 > > > > I hope this will make it. To me data loss and file system corruption > > are the worst case scenario and to me it's worth stalling shutdown > > for as long as it takes to write the data. > > >=20 > The shutdown watchdog timer is something I've had to adjust many times for > many different ports. Given this; >=20 > I propose we have (at least) a new rcorder script variable. Something li= ke > "SHUTTIME" encoding the expected number of seconds required for the daemon > to shutdown in the worst case. >=20 > Ideally, you'd want an overall watchdog and a per-script watchdog (so that > you're not waiting the sum of all these times in most cases). We already have rcshutdown_timeout, see the rc.conf(5) and description of the sysctl kern.init_shutdown_timeout. --fOHHtNG4YXGJ0yqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkhf+N0ACgkQC3+MBN1Mb4g42gCfYfqtWseGvWbWXNjqQommjRql 7vsAnjUJRf3QLN1kdQa1URVNNi8syLYb =xjiO -----END PGP SIGNATURE----- --fOHHtNG4YXGJ0yqR-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 05:06:22 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B315106566C for ; Tue, 24 Jun 2008 05:06:22 +0000 (UTC) (envelope-from fluxboxtremist@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.freebsd.org (Postfix) with ESMTP id 290A08FC0A for ; Tue, 24 Jun 2008 05:06:22 +0000 (UTC) (envelope-from fluxboxtremist@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so1234149pyb.10 for ; Mon, 23 Jun 2008 22:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=MPmLO7DyBNxcrWiPbXUvGognFln5QEyFvLZ2hHUG72g=; b=BM7KEWnU74Xl6zLxEOb8iwknn29b6k2MpOX6ArgOF9APVS1cb8drV1JPD5L4QEjP8s ARw3Ykk64h3N9IO42IBmNJAujfcaGCb79p+pU37lPoEOckUNeibPcX2L6CjSdxxw53Vc ULfxcZtt4OANtNK3Uhva+gBTDJrIyd0vk+hII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=kObrOzukHNOCgLziSi6KmZIac/M/Am9WRYDs/P/sSUyxDhI0oquwfbc1IPcr/5IoJ7 MuLbWJkl1C3nay+YLme+22Men+irqUYfOYcRO3TXrsG6LykkSHpFlNOcFNJcDgzvfZz3 H6VxxS9d7sz+uiFwdMSLVTtojqjaWowD/PC9U= Received: by 10.140.165.21 with SMTP id n21mr13580734rve.244.1214282241916; Mon, 23 Jun 2008 21:37:21 -0700 (PDT) Received: by 10.140.199.12 with HTTP; Mon, 23 Jun 2008 21:37:21 -0700 (PDT) Message-ID: <2de331130806232137h18453fd5hf53296fba3033859@mail.gmail.com> Date: Wed, 25 Jun 2008 00:07:21 +1930 From: "Andres Chavez" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 3 connections as one X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 05:06:22 -0000 Hi, a friend is challenge me to make use of 3 different connections (one adsl, one cable, and one Evdo) as one single connection to internet, i believe for make faster downloads or something such, its that can be possible ?, if so, can anybody help me with this?, this sounds interesting for know tricks on the FreeBSD operating system, he need to use this box as the network manager and firewall as well, but the connection thing its killing me i dont know how. -- From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 07:23:21 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 929E01065677 for ; Tue, 24 Jun 2008 07:23:21 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 464648FC0C for ; Tue, 24 Jun 2008 07:23:21 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.116.44.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 6E3F08A0EF4; Tue, 24 Jun 2008 09:23:14 +0200 (CEST) Message-ID: <4860A0DB.8000100@bsdforen.de> Date: Tue, 24 Jun 2008 09:23:07 +0200 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.14 (X11/20080607) MIME-Version: 1.0 To: Kostik Belousov References: <485EAE11.2050808@bsdforen.de> <200806221615.50498.amistry@am-productions.biz> <485F4593.9050807@bsdforen.de> <5f67a8c40806231141vf7b9567mdf75e81f32169211@mail.gmail.com> <20080623192622.GD17123@deviant.kiev.zoral.com.ua> In-Reply-To: <20080623192622.GD17123@deviant.kiev.zoral.com.ua> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Zaphod Beeblebrox Subject: Re: FreeBSD fusefs-kmod shutdown problem workaround X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 07:23:21 -0000 Kostik Belousov wrote: > On Mon, Jun 23, 2008 at 02:41:29PM -0400, Zaphod Beeblebrox wrote: >> On Mon, Jun 23, 2008 at 2:41 AM, Dominic Fandrey >> wrote: >> >> >>> Thanks for the pointer. Unfortunately it seems that Csaba's patch only >>> allows you to stall shutdown for 10 seconds. After heavy writing >>> more than a minute can be necessary to prevent data loss. >>> >>> I have created a problem report: ports/124901 >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=124901 >>> >>> I hope this will make it. To me data loss and file system corruption >>> are the worst case scenario and to me it's worth stalling shutdown >>> for as long as it takes to write the data. >>> >> The shutdown watchdog timer is something I've had to adjust many times for >> many different ports. Given this; >> >> I propose we have (at least) a new rcorder script variable. Something like >> "SHUTTIME" encoding the expected number of seconds required for the daemon >> to shutdown in the worst case. >> >> Ideally, you'd want an overall watchdog and a per-script watchdog (so that >> you're not waiting the sum of all these times in most cases). > > We already have rcshutdown_timeout, see the rc.conf(5) and description > of the sysctl kern.init_shutdown_timeout. He knows that. He just wants something more fine-grained. And rcshutdown_timeout has to be set by the user. Following Zaphod's suggestion I'd like to have a more generous watchdog default (maybe 3 minutes) and a per script watchdog that defaults to something around 30 seconds, but can be changed in the rc script. I'll give that a try tonight. From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 07:26:23 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 125401065674 for ; Tue, 24 Jun 2008 07:26:23 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id E98208FC14 for ; Tue, 24 Jun 2008 07:26:22 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D7F72245A; Tue, 24 Jun 2008 00:26:22 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 53AAC2D6006; Tue, 24 Jun 2008 00:26:22 -0700 (PDT) Message-ID: <4860A1AA.4000709@elischer.org> Date: Tue, 24 Jun 2008 00:26:34 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Andres Chavez References: <2de331130806232137h18453fd5hf53296fba3033859@mail.gmail.com> In-Reply-To: <2de331130806232137h18453fd5hf53296fba3033859@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: 3 connections as one X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 07:26:23 -0000 Andres Chavez wrote: > Hi, a friend is challenge me to make use of 3 different connections (one > adsl, one cable, and one Evdo) as one single connection to internet, i > believe for make faster downloads or something such, its that can be > possible ?, if so, can anybody help me with this?, this sounds interesting > for know tricks on the FreeBSD operating system, he need to use this box as > the network manager and firewall as well, but the connection thing its > killing me i dont know how. > -- > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" do you have a place ountside in the internet that can be used to recobine these three streams? generally if you want to trunk multiple pipes you need to control both ends, if not immediatly, then at least some palce a few hops where tunnels can be terminated and recombined.. I have used mpd for this, but it really dpends on what EXACTLY you consider to be "success". From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 13:11:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F210B1065671 for ; Tue, 24 Jun 2008 13:11:53 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1398FC1B for ; Tue, 24 Jun 2008 13:11:53 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 24 Jun 2008 15:11:51 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m5ODBomf021644 for freebsd-hackers@freebsd.org; Tue, 24 Jun 2008 15:11:50 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 24 Jun 2008 15:11:50 +0200 From: Matthias Apitz To: freebsd-hackers@freebsd.org Message-ID: <20080624131150.GA21185@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 24 Jun 2008 13:11:51.0544 (UTC) FILETIME=[DDD74780:01C8D5FB] Subject: eeePC 900 with SSD && reducing writes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 13:11:54 -0000 Hello, I have installed FreeBSD 7.0R on that eeePC 900 and because of the limited life time of the SSD (see http://en.wikipedia.org/wiki/Wear_levelling ) I disabled some logging stuff which I don't need on that tiny laptop, for example: syslogd_enable="NO" sendmail_enable="NONE" cron_enable="NO" newsyslog_enable="NO" as well I have: - not created any swap partition (the box runs fine with 1 GByte RAM) - mount the file systems with 'noatime' - put /tmp into memory file system with 128 MByte any other ideas how to reduces unnecessary often-writes? I'd also like to get rid of 'lastlog' and 'wtmp' but even if the man page claims that they will not be created if they don't exist, they come up again and again; another candidate of not needed log is /var/log/Xorg.n.log ... thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 13:24:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F71A106564A for ; Tue, 24 Jun 2008 13:24:12 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 95D738FC13 for ; Tue, 24 Jun 2008 13:24:12 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 2C4871CC033; Tue, 24 Jun 2008 06:24:12 -0700 (PDT) Date: Tue, 24 Jun 2008 06:24:12 -0700 From: Jeremy Chadwick To: Matthias Apitz Message-ID: <20080624132412.GA77678@eos.sc1.parodius.com> References: <20080624131150.GA21185@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080624131150.GA21185@rebelion.Sisis.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org Subject: Re: eeePC 900 with SSD && reducing writes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 13:24:12 -0000 On Tue, Jun 24, 2008 at 03:11:50PM +0200, Matthias Apitz wrote: > Hello, > > I have installed FreeBSD 7.0R on that eeePC 900 and because of the > limited life time of the SSD (see > http://en.wikipedia.org/wiki/Wear_levelling ) > I disabled some logging stuff which I don't need on that tiny laptop, > ... > any other ideas how to reduces unnecessary often-writes? Why bother? http://www.storagesearch.com/ssdmyths-endurance.html -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 13:12:22 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 393CD106566B for ; Tue, 24 Jun 2008 13:12:22 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail3.secureworks.net (mail3.secureworks.net [65.114.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 042E68FC13 for ; Tue, 24 Jun 2008 13:12:21 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from localhost (localhost [127.0.0.1]) by mail3.secureworks.net (Postfix) with ESMTP id 526EF19E201; Tue, 24 Jun 2008 12:53:30 +0000 (GMT) X-Virus-Scanned: amavisd-new at secureworks.net Received: from mail3.secureworks.net ([127.0.0.1]) by localhost (mail3.secureworks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHSU8v0b1g6O; Tue, 24 Jun 2008 12:53:30 +0000 (GMT) Received: from [192.168.23.35] (mole1.secureworks.net [63.239.86.3]) by mail3.secureworks.net (Postfix) with ESMTP id 0A81F19E1FF; Tue, 24 Jun 2008 12:53:30 +0000 (GMT) Message-ID: <4860EE49.1080706@jellydonut.org> Date: Tue, 24 Jun 2008 08:53:29 -0400 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.14) Gecko/20080502 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> In-Reply-To: <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 24 Jun 2008 13:29:02 +0000 Cc: "freebsd-hackers@freebsd.org" , "freebsd-stable@freebsd.org" Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 13:12:22 -0000 Patrick Lamaizière wrote: > Le Fri, 6 Jun 2008 23:41:35 +0200, > Patrick Lamaizière a écrit : > > Hello, > >> I'm trying to port the glxsb driver from OpenBSD to FreeBSD 7-STABLE >> (via the NetBSD port). >> " The glxsb driver supports the security block of the Geode LX >> series processors. The Geode LX is a member of the AMD Geode family >> of integrated x86 system chips. >> >> Driven by periodic checks for available data from the generator, >> glxsb supplies entropy to the random(4) driver for common usage. >> >> glxsb also supports acceleration of AES-128-CBC operations for >> crypto(4)." > > Well, I hope this is the final version. > > http://user.lamaiziere.net/patrick/glxsb-220608.tar.gz > > I added a patch for FreeBSD 6 but i'am not able to test it. > > On 7-STABLE, I've tested with hundred openssl encryptions and some flood > pings under ipsec in the background. Looks good for me. > > If someone can test and review it, it would be cool. I don't know if you built it for this or not, but I just tested your module on 8-CURRENT (last supped May 19) and its working beautifully on an ALIX.3c1 (GeodeLX 700): Copyright (c) 1992-2008 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 8.0-CURRENT #0: Thu Jun 5 22:44:20 EDT 2008 root@minibsd8-dev.localnet:/usr/obj/usr/src/sys/MINIBSD8 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Geode(TM) Integrated Processor by AMD PCS (431.65-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x5a2 Stepping = 2 Features=0x88a93d AMD Features=0xc0400000 real memory = 134217728 (128 MB) avail memory = 126152704 (120 MB) pnpbios: Bad PnP BIOS data checksum wlan: mac acl policy registered K6-family MTRR support enabled (2 registers) ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) cryptosoft0: on motherboard pcib0: pcibus 0 on motherboard pci0: on pcib0 Geode LX: PC Engines ALIX.2 v0.98 tinyBIOS V1.4a (C)1997-2007 glxsb0: mem 0xefff4000-0xefff7fff irq 9 at device 1.2 on pci0 Output from "openssl speed -engine cryptodev -elapsed -evp aes-128-cbc aes-128-cbc" engine "cryptodev" set. You have chosen to measure elapsed time instead of user CPU time. To get the most accurate results, try to run this program when this computer is idle. Doing aes-128 cbc for 3s on 16 size blocks: 668161 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 64 size blocks: 178842 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 256 size blocks: 45510 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 1024 size blocks: 11435 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 8192 size blocks: 1429 aes-128 cbc's in 3.00s Doing aes-128-cbc for 3s on 16 size blocks: 61055 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 64 size blocks: 59430 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 256 size blocks: 53475 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 1024 size blocks: 37812 aes-128-cbc's in 3.00s Doing aes-128-cbc for 3s on 8192 size blocks: 9323 aes-128-cbc's in 3.00s OpenSSL 0.9.8e 23 Feb 2007 built on: Thu Jun 5 21:15:55 EDT 2008 options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) compiler: cc available timing options: USE_TOD HZ=128 [sysconf value] timing function used: gettimeofday The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128 cbc 3563.35k 3815.11k 3883.37k 3901.80k 3900.02k aes-128-cbc 325.65k 1267.73k 4562.72k 12904.84k 25453.89k Thanks for that, hopefully it can/will be committed soon! -Proto From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 15:00:28 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7848106567E for ; Tue, 24 Jun 2008 15:00:28 +0000 (UTC) (envelope-from rodrigo@bebik.net) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 255A98FC1D for ; Tue, 24 Jun 2008 15:00:27 +0000 (UTC) (envelope-from rodrigo@bebik.net) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postfix2-g20.free.fr (Postfix) with ESMTP id BFA292796E15 for ; Tue, 24 Jun 2008 14:27:51 +0200 (CEST) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 5D33A3EA0D8 for ; Tue, 24 Jun 2008 16:28:12 +0200 (CEST) Received: from hodja.bebik.net (gam75-4-82-235-223-127.fbx.proxad.net [82.235.223.127]) by smtp4-g19.free.fr (Postfix) with ESMTP id 3E1A03EA0EE for ; Tue, 24 Jun 2008 16:28:12 +0200 (CEST) Received: by hodja.bebik.net (Postfix, from userid 1001) id D75B12847F; Tue, 24 Jun 2008 16:28:11 +0200 (CEST) Date: Tue, 24 Jun 2008 16:28:11 +0200 From: "Rodrigo OSORIO (ros)" To: freebsd-hackers@freebsd.org Message-ID: <20080624142811.GA89376@hodja.bebik.net> References: <20080624131150.GA21185@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080624131150.GA21185@rebelion.Sisis.de> User-Agent: Mutt/1.4.2.2i Subject: Re: eeePC 900 with SSD && reducing writes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 15:00:28 -0000 On 24/06/08 15:11 +0200, Matthias Apitz wrote: > > Hello, > > I have installed FreeBSD 7.0R on that eeePC 900 and because of the > limited life time of the SSD (see > http://en.wikipedia.org/wiki/Wear_levelling ) > I disabled some logging stuff which I don't need on that tiny laptop, > for example: > > syslogd_enable="NO" > sendmail_enable="NONE" > cron_enable="NO" > newsyslog_enable="NO" > > as well I have: > > - not created any swap partition (the box runs fine with 1 GByte RAM) > - mount the file systems with 'noatime' > - put /tmp into memory file system with 128 MByte > > any other ideas how to reduces unnecessary often-writes? > > I'd also like to get rid of 'lastlog' and 'wtmp' but even if the man > page claims that they will not be created if they don't exist, they > come up again and again; > > another candidate of not needed log is > /var/log/Xorg.n.log ... > > thx > > matthias > -- > Matthias Apitz > Manager Technical Support - OCLC GmbH > Gruenwalder Weg 28g - 82041 Oberhaching - Germany > t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 > e - w http://www.oclc.org/ http://www.UnixArea.de/ > b http://gurucubano.blogspot.com/ > «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» > «...only once, which is enough if it has todo with definite truth.» > José Saramago, Historia del Cerca de Lisboa > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" Hi, Yes, you also can disable the file access time with the 'noatime' option in the fstab. See man mount(8). Regards Rodrigo OSORIO From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 15:15:40 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77535106566C for ; Tue, 24 Jun 2008 15:15:40 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [IPv6:2001:748:100:40::2:5]) by mx1.freebsd.org (Postfix) with ESMTP id 18DF78FC1D for ; Tue, 24 Jun 2008 15:15:39 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.17] (helo=7.mx.freenet.de) by mout3.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #19) id 1KBAF7-00027U-Vz; Tue, 24 Jun 2008 17:15:37 +0200 Received: from mbe7a.m.pppool.de ([89.49.190.122]:11276 helo=peedub.jennejohn.org) by 7.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #12) id 1KBAF7-00035t-O5; Tue, 24 Jun 2008 17:15:37 +0200 Date: Tue, 24 Jun 2008 17:15:36 +0200 From: Gary Jennejohn To: freebsd-hackers@freebsd.org Message-ID: <20080624171536.24ca2d28@peedub.jennejohn.org> In-Reply-To: <20080624132412.GA77678@eos.sc1.parodius.com> References: <20080624131150.GA21185@rebelion.Sisis.de> <20080624132412.GA77678@eos.sc1.parodius.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.10.14; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Matthias Apitz Subject: Re: eeePC 900 with SSD && reducing writes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 15:15:40 -0000 On Tue, 24 Jun 2008 06:24:12 -0700 Jeremy Chadwick wrote: > On Tue, Jun 24, 2008 at 03:11:50PM +0200, Matthias Apitz wrote: > > Hello, > > > > I have installed FreeBSD 7.0R on that eeePC 900 and because of the > > limited life time of the SSD (see > > http://en.wikipedia.org/wiki/Wear_levelling ) > > I disabled some logging stuff which I don't need on that tiny laptop, > > ... > > any other ideas how to reduces unnecessary often-writes? > > Why bother? http://www.storagesearch.com/ssdmyths-endurance.html > I've also seen test results in c't magazine where they did millions of writes to the same physical sector and never saw any errors. The manufacturers have really good internal wear leveling algorithms which are totally transparent to the user. --- Gary Jennejohn From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 15:17:33 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD60B1065672 for ; Tue, 24 Jun 2008 15:17:33 +0000 (UTC) (envelope-from john@kozubik.com) Received: from kozubik.com (kozubik.com [69.43.165.2]) by mx1.freebsd.org (Postfix) with ESMTP id C7EAA8FC14 for ; Tue, 24 Jun 2008 15:17:33 +0000 (UTC) (envelope-from john@kozubik.com) Received: from kozubik.com (localhost [127.0.0.1]) by kozubik.com (8.12.11/8.12.11) with ESMTP id m5OFf1Xr040260; Tue, 24 Jun 2008 08:41:01 -0700 (PDT) (envelope-from john@kozubik.com) Received: from localhost (john@localhost) by kozubik.com (8.12.11/8.12.11/Submit) with ESMTP id m5OFf0vo040257; Tue, 24 Jun 2008 08:41:00 -0700 (PDT) (envelope-from john@kozubik.com) Date: Tue, 24 Jun 2008 08:41:00 -0700 (PDT) From: John Kozubik To: shildreth@allantgroup.com In-Reply-To: <1213972236.1505.14.camel@scotth.emsphone.com> Message-ID: <20080624083829.T1807@kozubik.com> References: <20080619135114.Y1807@kozubik.com> <20080620083906.71332251xw1ckmu8@webmail.leidinger.net> <1213972236.1505.14.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: jamie@bishopston.net, freebsd-advocacy@freebsd.org, emulation@freebsd.org, freebsd-hackers@freebsd.org, narayan@neelum.com, Alexander Leidinger Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 15:17:33 -0000 On Fri, 20 Jun 2008, Scott T. Hildreth wrote: > > > On Fri, 2008-06-20 at 08:39 +0200, Alexander Leidinger wrote: > > Quoting John Kozubik (from Thu, 19 Jun 2008 > > 14:38:11 -0700 (PDT)): > > > > > First, a bounty has been posted here: > > > > > > http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html > > > > > > > Maybe the bounty would be better spent here, > > This was from an email on the gnome list from Joe Marcus Clarke > > "As to the point about Flash, Kris also mentioned that he has the ear of > someone at Adobe who was hinting that a capable developer willing to > sign an NDA could be given code to work on a native Flash plug-in port. > This could bode well for PC-BSD and FreeBSD should someone step up to > do this work." Perfect. This is exactly what the bounty: http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html is for. I suggest that if you think this is important (as I do) to post a commitment to the bounty, and presumably someone will step forward to speak with Kris, sign an NDA, and get the FreeBSD desktop back to a reasonable level of utility. From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 16:13:59 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C6DC106566B for ; Tue, 24 Jun 2008 16:13:59 +0000 (UTC) (envelope-from xistence@0x58.com) Received: from mailexchange.osnn.net (1e.66.5646.static.theplanet.com [70.86.102.30]) by mx1.freebsd.org (Postfix) with SMTP id 050FD8FC0C for ; Tue, 24 Jun 2008 16:13:58 +0000 (UTC) (envelope-from xistence@0x58.com) Received: (qmail 32001 invoked by uid 0); 24 Jun 2008 15:47:18 -0000 Received: from unknown (HELO wideload.network.lan) (xistence@0x58.com@70.176.192.66) by mailexchange.osnn.net with SMTP; 24 Jun 2008 15:47:18 -0000 Message-Id: <28A84EAA-C3F4-4A9D-A4E4-3B4E58754F3E@0x58.com> From: Bert JW Regeer To: hackers@freebsd.org In-Reply-To: <2de331130806232137h18453fd5hf53296fba3033859@mail.gmail.com> Content-Type: multipart/signed; boundary=Apple-Mail-2--207962615; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v924) Date: Tue, 24 Jun 2008 08:47:18 -0700 References: <2de331130806232137h18453fd5hf53296fba3033859@mail.gmail.com> X-Mailer: Apple Mail (2.924) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: 3 connections as one X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 16:13:59 -0000 --Apple-Mail-2--207962615 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jun 25, 2008, at 00:07 , Andres Chavez wrote: > Hi, a friend is challenge me to make use of 3 different connections > (one > adsl, one cable, and one Evdo) as one single connection to internet, i > believe for make faster downloads or something such, its that can be > possible ?, if so, can anybody help me with this?, this sounds > interesting > for know tricks on the FreeBSD operating system, he need to use this > box as > the network manager and firewall as well, but the connection thing its > killing me i dont know how. > -- You could use PF's round-robin balancing to pick an outgoing connection: See: http://www.openbsd.org/faq/pf/pools.html#outgoing It contains examples and should help you get everything set up and working as you are asking for. One thing it won't do is make downloads faster, since it is not trunking, but if you have three downloads going, they might all use different paths, thus allowing you to utilise all connections, and thus have an over all faster connection. Bert JW Regeer --Apple-Mail-2--207962615-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 16:19:10 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B034E1065677; Tue, 24 Jun 2008 16:19:10 +0000 (UTC) (envelope-from shildreth@allantgroup.com) Received: from scotth.emsphone.com (scotth.emsphone.com [199.67.51.179]) by mx1.freebsd.org (Postfix) with ESMTP id 7850A8FC17; Tue, 24 Jun 2008 16:19:10 +0000 (UTC) (envelope-from shildreth@allantgroup.com) Received: from scotth.emsphone.com (localhost [127.0.0.1]) by scotth.emsphone.com (8.14.2/8.14.2) with ESMTP id m5OFtR7A029949; Tue, 24 Jun 2008 10:55:27 -0500 (CDT) (envelope-from shildreth@allantgroup.com) Received: (from shildret@localhost) by scotth.emsphone.com (8.14.2/8.14.2/Submit) id m5OFtRng029948; Tue, 24 Jun 2008 10:55:27 -0500 (CDT) (envelope-from shildreth@allantgroup.com) X-Authentication-Warning: scotth.emsphone.com: shildret set sender to shildreth@allantgroup.com using -f From: "Scott T. Hildreth" To: John Kozubik In-Reply-To: <20080624083829.T1807@kozubik.com> References: <20080619135114.Y1807@kozubik.com> <20080620083906.71332251xw1ckmu8@webmail.leidinger.net> <1213972236.1505.14.camel@scotth.emsphone.com> <20080624083829.T1807@kozubik.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 24 Jun 2008 10:55:26 -0500 Message-Id: <1214322926.1505.65.camel@scotth.emsphone.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 FreeBSD GNOME Team Port X-Mailman-Approved-At: Tue, 24 Jun 2008 16:28:23 +0000 Cc: jamie@bishopston.net, freebsd-advocacy@freebsd.org, emulation@freebsd.org, freebsd-hackers@freebsd.org, narayan@neelum.com, Alexander Leidinger Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: shildreth@allantgroup.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 16:19:10 -0000 On Tue, 2008-06-24 at 08:41 -0700, John Kozubik wrote: > > On Fri, 20 Jun 2008, Scott T. Hildreth wrote: > > > > > > > On Fri, 2008-06-20 at 08:39 +0200, Alexander Leidinger wrote: > > > Quoting John Kozubik (from Thu, 19 Jun 2008 > > > 14:38:11 -0700 (PDT)): > > > > > > > First, a bounty has been posted here: > > > > > > > > http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html > > > > > > > > > > > Maybe the bounty would be better spent here, > > > > This was from an email on the gnome list from Joe Marcus Clarke > > > > "As to the point about Flash, Kris also mentioned that he has the ear of > > someone at Adobe who was hinting that a capable developer willing to > > sign an NDA could be given code to work on a native Flash plug-in port. > > This could bode well for PC-BSD and FreeBSD should someone step up to > > do this work." > > > Perfect. This is exactly what the bounty: > > http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html > > is for. I suggest that if you think this is important (as I do) to post a > commitment to the bounty, and presumably someone will step forward to > speak with Kris, sign an NDA, and get the FreeBSD desktop back to a > reasonable level of utility. I wonder how much of a task it would be? Does anyone have any idea what language the clients are written in? From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 17:29:14 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17E35106566C for ; Tue, 24 Jun 2008 17:29:14 +0000 (UTC) (envelope-from carlsonmark@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id C4AF48FC12 for ; Tue, 24 Jun 2008 17:29:13 +0000 (UTC) (envelope-from carlsonmark@gmail.com) Received: by yx-out-2324.google.com with SMTP id 31so491966yxl.13 for ; Tue, 24 Jun 2008 10:29:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tUg6gFYRJ5fJFagfXGFsX177ogQPjwhxNXmyy5GlmYw=; b=jNGKr3u9qx/pNSY/kMP/DSaYtYRyMDb8H0o9Dd/G5kcxJ5Lrxl+SIu8RCSaRQg0CQh +m3ZUIVbeE+rKAuugAheGg+S5zBvm3gULNHrtVQlWJCS0zy7xVzxcVcjn9fQyARoiYSk /Up1uWjbVyMZEU5wH5PHRGrwqCQpwFqu0jgUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wDTq7xEiWKWQY79waQavg7m5lO4lsTrAvRqd1+KewNEDBvFH303epxqtjOOsFBIc7N IUaqJRrt88ccuwsJ69L0orgOHuC5zw6Chf6db7cJ3HNpEmEKhJvqSoZjCLQ/IkXBTLcK fGfW48IlxLMwkyaEswCCg/tZRfAmPehUX6PpU= Received: by 10.143.4.11 with SMTP id g11mr5897121wfi.52.1214326988598; Tue, 24 Jun 2008 10:03:08 -0700 (PDT) Received: by 10.142.106.17 with HTTP; Tue, 24 Jun 2008 10:03:08 -0700 (PDT) Message-ID: Date: Tue, 24 Jun 2008 11:03:08 -0600 From: "Mark Carlson" To: "John Kozubik" In-Reply-To: <20080619135114.Y1807@kozubik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080619135114.Y1807@kozubik.com> Cc: jamie@bishopston.net, freebsd-advocacy@freebsd.org, freebsd-hackers@freebsd.org, narayan@neelum.com Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 17:29:14 -0000 On 6/19/08, John Kozubik wrote: > > > Don't shoot the messenger: > > > FreeBSD is not useful as a desktop environment without the ability to > support Flash in a stable, well-performing fashion. > > > Running IE in Wine is not a solution. > > Running another OS in vmware to simply browse the web is not a solution. > > Free flash alternatives and flash movie players, etc., are, unfortunately, > not a solution. > > ports/linux-flashplayer9 _is_ a solution, however it (currently) fails > badly. > > > Solution: > > > First, a bounty has been posted here: > > http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html > > We aren't even asking for new code, per se - anyone merely posting a > recipe that allows linux-flashplayer9 to run, without crashing and with > reasonable performance, with a generic browser (opera, firefox, konqueror) > can claim the bounty. In fact, a recipe that is entirely inside the Linux > Binary Compatibility layer would be just fine - running the linux version > of a browser through binary compat is reasonable[1]. > > Second, I am calling on the FreeBSD Foundation to commit time and money to > ensuring that flash functionality is recognized as a high priority for > FreeBSD desktop use. I am willing to donate funds for this purpose. > Flash 9 will not be the baseline forever, and it is inefficient to ramp up > a grass roots bounty effort each time Adobe releases a new product. For > this reason I believe it is reasonable for the project itself to ensure > that Flash support is delivered and maintained in a timely fashion. > > > > [1] Since we're all probably already running Linux Binary > Compat anyway... I've found wine + firefox + flash to work for everything I've tried so far (youtube, various websites with flash ads, one or two flash-only sites.) It did crash on me once, but I'm not sure it was related to flash. Wine is pretty good, but not perfect. If all you need is to visit flash sites, it's a decent workaround in the mean time. Also, I was very surprised how easy it was to set up (not having used wine before.) -Mark C. P.S. That's some ugly cross-posting you've started there... From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 17:40:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D20221065672 for ; Tue, 24 Jun 2008 17:40:29 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0B78FC25 for ; Tue, 24 Jun 2008 17:40:29 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1459104fgb.35 for ; Tue, 24 Jun 2008 10:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kXkCyQJREQnGXgFQZrDo8+CfAJo7lfzr8dZV4KJO7d8=; b=JrGOVwpjOVkRRIlRl8yimPfyq/Fu+J251VTZpomreQ17BjvTn5SIIO+eli40m5MFrR fBmHx0FGZV2QDkdZpPgBRbrvl/mkV5lXP7Z/aHSNQ5V3E5ZAls6eLxLJxF7L7BD8SVMq JU3UY2r2foOShQMFsYFepTiKLAhM6zX+p1/I4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=e4pGI8FrZAsnZDbqr7RAwzyetvCURuK+EXO973Edu0K3nvDR9k5MBU7n8FzDprsXUe P/OXKFiyPEjjz7kqcR0mp0srf4zlFVRWQWKNjIbB3xcz1/9SPb8H0zDuO55h3jcgc7TH t79LThfKm7Tc6z0XONUoRRFYYgLF38+PWdwjc= Received: by 10.86.73.7 with SMTP id v7mr9220090fga.37.1214329227644; Tue, 24 Jun 2008 10:40:27 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Tue, 24 Jun 2008 10:40:27 -0700 (PDT) Message-ID: <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> Date: Tue, 24 Jun 2008 10:40:27 -0700 From: "Garrett Cooper" To: shildreth@allantgroup.com In-Reply-To: <1214322926.1505.65.camel@scotth.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080619135114.Y1807@kozubik.com> <20080620083906.71332251xw1ckmu8@webmail.leidinger.net> <1213972236.1505.14.camel@scotth.emsphone.com> <20080624083829.T1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> Cc: jamie@bishopston.net, freebsd-advocacy@freebsd.org, emulation@freebsd.org, freebsd-hackers@freebsd.org, Alexander Leidinger , narayan@neelum.com Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 17:40:29 -0000 On Tue, Jun 24, 2008 at 8:55 AM, Scott T. Hildreth wrote: > > On Tue, 2008-06-24 at 08:41 -0700, John Kozubik wrote: >> >> On Fri, 20 Jun 2008, Scott T. Hildreth wrote: >> >> > >> > >> > On Fri, 2008-06-20 at 08:39 +0200, Alexander Leidinger wrote: >> > > Quoting John Kozubik (from Thu, 19 Jun 2008 >> > > 14:38:11 -0700 (PDT)): >> > > >> > > > First, a bounty has been posted here: >> > > > >> > > > http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html >> > > > >> > > >> > >> > Maybe the bounty would be better spent here, >> > >> > This was from an email on the gnome list from Joe Marcus Clarke >> > >> > "As to the point about Flash, Kris also mentioned that he has the ear of >> > someone at Adobe who was hinting that a capable developer willing to >> > sign an NDA could be given code to work on a native Flash plug-in port. >> > This could bode well for PC-BSD and FreeBSD should someone step up to >> > do this work." >> >> >> Perfect. This is exactly what the bounty: >> >> http://blog.kozubik.com/john_kozubik/2007/12/bounty-posted-f.html >> >> is for. I suggest that if you think this is important (as I do) to post a >> commitment to the bounty, and presumably someone will step forward to >> speak with Kris, sign an NDA, and get the FreeBSD desktop back to a >> reasonable level of utility. > > I wonder how much of a task it would be? Does anyone have any idea what > language the clients are written in? Look into Spidermonkey for more details: http://www.mozilla.org/js/spidermonkey/ It was designed to be the bridge between ActiveScript and Mozilla, allowing the Adobe folks to code Flash in terms of ActiveScript, instead of completely in C, thus making things more portable. I offered to work with the Mozilla group to get ActiveScript ported over to FreeBSD but I haven't received a reply in a year of having posted my "bug report". (not designed to be troll-bait, just my personal opinion on the matter -- don't comment on it please) FWIW, Personally I don't think that Flash support is as critical as getting working x64 compatible OpenGL enabled video drivers, but then again my opinion differs from your's most likely. -Garrett From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 18:17:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9A901065708 for ; Tue, 24 Jun 2008 18:17:43 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4B18FC1D for ; Tue, 24 Jun 2008 18:17:43 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A61A0.dip.t-dialin.net [84.154.97.160]) (authenticated bits=0) by flat.berklix.org (8.13.8/8.13.8) with ESMTP id m5OIHfXr046190; Tue, 24 Jun 2008 20:17:41 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id m5OIHUdR099221; Tue, 24 Jun 2008 20:17:30 +0200 (CEST) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id m5OIHLYU086621; Tue, 24 Jun 2008 20:17:26 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200806241817.m5OIHLYU086621@fire.js.berklix.net> To: "Mark Carlson" From: "Julian Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com In-reply-to: Your message "Tue, 24 Jun 2008 11:03:08 MDT." Date: Tue, 24 Jun 2008 20:17:21 +0200 Sender: jhs@berklix.org Cc: freebsd-hackers@freebsd.org Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 18:17:43 -0000 "Mark Carlson" wrote: > On 6/19/08, John Kozubik wrote: ..... Elided ... > > [1] Since we're all probably already running Linux Binary > > Compat anyway... > > I've found wine + firefox + flash to work for everything I've tried so Do you have a "How To" RTFM Cook book / script URL please ? > -Mark C. > > P.S. That's some ugly cross-posting you've started there... Agreed. IMO Not conformant with freebsd.org cross posting guidelines. I dropped a list + various individuals inc. original John "Don't shoot the messenger" Kozubik, as I don't want his system's auto responder challengin me again. Julian -- Julian Stacey: BSDUnixLinux C Prog Admin SysEng Consult Munich www.berklix.com Mail plain ASCII text. HTML & Base64 text are spam. www.asciiribbon.org From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 18:46:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C023D106564A for ; Tue, 24 Jun 2008 18:46:49 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from QMTA01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id A98388FC1C for ; Tue, 24 Jun 2008 18:46:49 +0000 (UTC) (envelope-from cyberbotx@cyberbotx.com) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA01.emeryville.ca.mail.comcast.net with comcast id hn8M1Z0050cQ2SLA10dw00; Tue, 24 Jun 2008 18:36:47 +0000 Received: from kirby.cyberbotx.com ([68.43.195.82]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id huci1Z00F1n8LeU8Wuck19; Tue, 24 Jun 2008 18:36:46 +0000 X-Authority-Analysis: v=1.0 c=1 a=8rmGwJ5tKkwA:10 a=S3kUGFHwbgoA:10 a=3arsDkWx29vTdVMfG8cA:9 a=G6g7FudUyM851Cn_83lM4aCZQJ0A:4 a=fgf5PR_cwQYA:10 a=WccqEV7TfPwA:10 a=3I_whO4B8K8A:10 Message-ID: <48613EBA.507@cyberbotx.com> Date: Tue, 24 Jun 2008 14:36:42 -0400 From: Naram Qashat User-Agent: Thunderbird 2.0.0.14 (X11/20080606) MIME-Version: 1.0 To: Julian Stacey References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> In-Reply-To: <200806241817.m5OIHLYU086621@fire.js.berklix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Mark Carlson Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 18:46:49 -0000 Julian Stacey wrote: > "Mark Carlson" wrote: >> On 6/19/08, John Kozubik wrote: > ..... Elided ... >>> [1] Since we're all probably already running Linux Binary >>> Compat anyway... >> I've found wine + firefox + flash to work for everything I've tried so > > Do you have a "How To" RTFM Cook book / script URL please ? I'd like to chime in here and say there is nothing special to get this configuration to work. Download the Windows version of Firefox and install it via Wine, then download the Windows version of Flash for Firefox and install that with Wine. Once you do that, you have Flash in Firefox using Wine. Like has been said, Wine is far from perfect, but this works great until a native Flash can be made for FreeBSD. Naram Qashat > >> -Mark C. >> >> P.S. That's some ugly cross-posting you've started there... > > Agreed. IMO Not conformant with freebsd.org cross posting guidelines. > I dropped a list + various individuals inc. original John "Don't > shoot the messenger" Kozubik, as I don't want his system's > auto responder challengin me again. > > Julian From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 19:41:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAF0D106566C for ; Tue, 24 Jun 2008 19:41:08 +0000 (UTC) (envelope-from carlsonmark@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.180]) by mx1.freebsd.org (Postfix) with ESMTP id 7143A8FC1A for ; Tue, 24 Jun 2008 19:41:08 +0000 (UTC) (envelope-from carlsonmark@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so321740ele.13 for ; Tue, 24 Jun 2008 12:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=4crLDio42jAEnVu0dwlKK/kJm0ip5L9lpEWyROEouGA=; b=kix57C7V1zlrklfgF/LrZzVUpkbREoAWWPhUSI8MEpwicgJfxf12wnanDmJ5Wx5bVU inqvqu6cg5EXO6n+Lx7U8iskH+IVJwPPwOu5SoMm6nb2KiFD//bYRrsPrRPbhhRRCa85 TQYooIWEFv5iVfSoLRVBNBLXH7DZZzL6LRa28= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vSHLbvSYHC5+V12ys/pPmlCTIjyOmCXGxeMFDEzS7h0EEsG52y1Hhreb7jHrJhm03A /Hnd8BGK/Au9qVy4C9F+daiMMcTWgQMSMW8WvshgSuwDcx1VSe9tlmkdoc7LD7Bn6d+a 6Wp99LQtMLGbXk0Tkf/BZ+k9n16nVKqtlPTfA= Received: by 10.142.187.8 with SMTP id k8mr6182425wff.226.1214336467150; Tue, 24 Jun 2008 12:41:07 -0700 (PDT) Received: by 10.142.106.17 with HTTP; Tue, 24 Jun 2008 12:41:07 -0700 (PDT) Message-ID: Date: Tue, 24 Jun 2008 13:41:07 -0600 From: "Mark Carlson" To: "Naram Qashat" In-Reply-To: <48613EBA.507@cyberbotx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 19:41:08 -0000 On 6/24/08, Naram Qashat wrote: > Julian Stacey wrote: > > Do you have a "How To" RTFM Cook book / script URL please ? > > > > I'd like to chime in here and say there is nothing special to get this > configuration to work. Download the Windows version of Firefox and install > it via Wine, then download the Windows version of Flash for Firefox and > install that with Wine. Once you do that, you have Flash in Firefox using > Wine. Like has been said, Wine is far from perfect, but this works great > until a native Flash can be made for FreeBSD. > > Naram Qashat I'm not at my box right now, but it went something like this: 0. Install wine ( emulators/wine ) 1. Download firefox for windows ( http://www.mozilla.com/en-US/firefox/all.html ) 2. Run: wine "Firefox Setup 3.0.exe" 3. Complete the installer 4. To run firefox you need to do something like: wine "C:/Program Files/Mozilla Firefox/firefox.exe" (I forget the exact path / command name) 5. Navigate to the adobe flash download page ( use goole or something ) and download the flash installer for windows. 6. When the download is complete, run it ( should be able to do this from the download manager in firefox ) 7. Complete the flash installer ( this will require you to close firefox, so do that ) 8. Start firefox again (see the wine firefox.exe command from above) 9. Create a script to start firefox under wine since the command is so ugly. I might write up some better instructions when I have the time, but I really don't have a good place to put them. -Mark C. From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 20:32:21 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8001F1065672; Tue, 24 Jun 2008 20:32:21 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from viefep32-int.chello.at (viefep32-int.chello.at [62.179.121.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1D78FC0C; Tue, 24 Jun 2008 20:32:20 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from [89.134.207.231] by viefep32-int.chello.at (InterMail vM.7.08.02.02 201-2186-121-104-20070414) with ESMTP id <20080624203218.KLU3605.viefep32-int.chello.at@[89.134.207.231]>; Tue, 24 Jun 2008 22:32:18 +0200 Message-ID: <486159D1.3060704@FreeBSD.org> Date: Tue, 24 Jun 2008 22:32:17 +0200 From: Gabor Kovesdan User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Andrey Chernov References: <20080617102900.GA46479@nagual.pp.ru> <485798C4.2050605@FreeBSD.org> <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> <20080622135343.GA72068@nagual.pp.ru> In-Reply-To: <20080622135343.GA72068@nagual.pp.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 20:32:21 -0000 > > 1) You can't convert just whole buffer after fread() since it can be > ended in the middle of multibyte sequence on BUFSIZ edge. Look how GNU > utils do it. > OK, now I haven't thought of this aspect. What about this? #define iswbinary(ch) (!iswspace((ch)) && iswcntrl((ch))) int bin_file(FILE *f) { wint_t ch = L'\0'; size_t i; int ret = 0; if (fseek(f, 0L, SEEK_SET) == -1) return (0); for (i = 0; (i <= BUFSIZ) && (ch != WEOF); i++) { ch = fgetwc(f); if (iswbinary(ch)) { ret = 1; break; } } rewind(f); return (ret); } int mmbin_file(struct mmfile *f) { int i; wchar_t *wbuf; size_t s; if ((s = mbstowcs(NULL, f->base, 0)) == -1) return (0); wbuf = grep_malloc((s + 1) * sizeof(wchar_t)); if (mbstowcs(wbuf, f->base, s) == -1) return (0); /* XXX knows too much about mmf internals */ for (i = 0; i < BUFSIZ && i < f->len; i++) if (iswbinary(wbuf[i])) { free(wbuf); return (1); } free(wbuf); return (0); } This should be ok, right? > 2) Better use iswspace and iswcntrl instead of iswctype. > Ok, changed, thanks. I've also been looking for such functions, but man wctype doesn't mention them. > 3) util.c needs to be fixed in several places too. > Yes, I know, I'm just advancing step by step. The next item will be to fix that word boundary handling. Regards, Gabor From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 21:04:24 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 413CA1065671; Tue, 24 Jun 2008 21:04:24 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id B9CDE8FC15; Tue, 24 Jun 2008 21:04:23 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5OL4MBB069125; Wed, 25 Jun 2008 01:04:22 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1214341462; bh=qvVE91Lcwlz5mVIV650aFHv+CvS2+3S03Bqkdp7 Kbbc=; l=470; h=Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=orgW8g7AraRYE9OQcxHeizRu5 qeN4QQrD/Ua9nKjZsnwBrxQ77kpESuHxHfccRPxwDPx8znFnrwQq33wYiAoLKKjXbUw D7A2rX2pQ+OnIlvderASckCmFiBjzVg+zpZMDbbqkSzs4ug+eMYYMOfNs9iqUQm254i 2I5jW8IEOUBs= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5OL4LmO069124; Wed, 25 Jun 2008 01:04:21 +0400 (MSD) (envelope-from ache) Date: Wed, 25 Jun 2008 01:04:20 +0400 From: Andrey Chernov To: Gabor Kovesdan Message-ID: <20080624210420.GA43007@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Gabor Kovesdan , hackers@FreeBSD.org, current@FreeBSD.org References: <20080618055851.GA85018@nagual.pp.ru> <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> <20080622135343.GA72068@nagual.pp.ru> <486159D1.3060704@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <486159D1.3060704@FreeBSD.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-Mailman-Approved-At: Tue, 24 Jun 2008 21:09:58 +0000 Cc: hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 21:04:24 -0000 On Tue, Jun 24, 2008 at 10:32:17PM +0200, Gabor Kovesdan wrote: > ch = fgetwc(f); You must clear errno before and handle EILSEQ possible coming after fgetwc() somehow. Perhaps by return ret = 1 (binary), I am not sure. fgetwc() returns WEOF in that case which is not true end of file. > if ((s = mbstowcs(NULL, f->base, 0)) == -1) > return (0); The same here. Check EILSEQ and return 1 -- http://ache.pp.ru/ From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 21:30:22 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C8341065672; Tue, 24 Jun 2008 21:30:22 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8648E8FC23; Tue, 24 Jun 2008 21:30:21 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.14.2/8.14.2) with ESMTP id m5OLUKb5071852; Wed, 25 Jun 2008 01:30:20 +0400 (MSD) (envelope-from ache@nagual.pp.ru) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nagual.pp.ru; s=default; t=1214343020; bh=iFHpIf9h16J1BINZNUZYFajtSgUdxtYiP0IEQMT 9H7k=; l=475; h=Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=ps5MoCJY+bNPt2HZUKfNU9DqV lwRWEdRb3x9Th1haagcae3CiZbGr/2SR3CAHfpdFbtx0gBjcSYZLAT6PwOVfVB06gs1 qDTFkmeiAt1cQH1moeYMd4er1rO3Lg/sp5C6MzJxgbFfNncmmbQ2bkzDBgjLULSD32J XAMz19fMtcBg= Received: (from ache@localhost) by nagual.pp.ru (8.14.2/8.14.2/Submit) id m5OLUJSO071851; Wed, 25 Jun 2008 01:30:19 +0400 (MSD) (envelope-from ache) Date: Wed, 25 Jun 2008 01:30:18 +0400 From: Andrey Chernov To: Gabor Kovesdan , hackers@FreeBSD.org, current@FreeBSD.org Message-ID: <20080624213018.GA71334@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Gabor Kovesdan , hackers@FreeBSD.org, current@FreeBSD.org References: <86zlpjduew.fsf@ds4.des.no> <20080618083739.GA87100@nagual.pp.ru> <867icndqv5.fsf@ds4.des.no> <4858DBF6.5070001@bluemedia.pl> <86skvbc9gn.fsf@ds4.des.no> <20080618114917.GB89383@nagual.pp.ru> <485E4C69.1080805@FreeBSD.org> <20080622135343.GA72068@nagual.pp.ru> <486159D1.3060704@FreeBSD.org> <20080624210420.GA43007@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080624210420.GA43007@nagual.pp.ru> User-Agent: Mutt/1.5.18 (2008-05-17) X-Mailman-Approved-At: Tue, 24 Jun 2008 21:36:16 +0000 Cc: Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 21:30:22 -0000 On Wed, Jun 25, 2008 at 01:04:20AM +0400, Andrey Chernov wrote: > > if ((s = mbstowcs(NULL, f->base, 0)) == -1) > > return (0); > > The same here. Check EILSEQ and return 1 BTW, do you realyze that this code malloc()s _whole_file_ into memory (which not fits for very big files)? Non-localized old code use mmap, so don't actually malloc() it. Doe to that perhaps whole mmfile.c should be not used and removed. -- http://ache.pp.ru/ From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 21:53:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDCCD1065679; Tue, 24 Jun 2008 21:53:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9458FC0C; Tue, 24 Jun 2008 21:53:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m5OLrhMF049681; Tue, 24 Jun 2008 17:53:44 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: James Gritton Date: Tue, 24 Jun 2008 15:55:48 -0400 User-Agent: KMail/1.9.7 References: <20080615112318.146C1F18512@mx.npubs.com> <200806231451.52340.jhb@freebsd.org> <485FF698.103@gritton.org> In-Reply-To: <485FF698.103@gritton.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806241555.48280.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Tue, 24 Jun 2008 17:53:44 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/7542/Mon Jun 23 12:42:14 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 6.3 deadlock (vm_map?) with DDB output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 21:53:51 -0000 On Monday 23 June 2008 03:16:40 pm James Gritton wrote: > John Baldwin wrote: > > On Thursday 19 June 2008 11:57:51 am James Gritton wrote: > > > >> John Baldwin wrote: > >> > >>> On Sunday 15 June 2008 07:23:19 am Stef Walter wrote: > >>> > >>> > >>>> I've been trying to track down a deadlock on some newish production > >>>> servers running FreeBSD 6.3-RELEASE-p2. The deadlock occurs on a > >>>> specific (although mundane) hardware configuration, and each of several > >>>> servers running this hardware deadlock about once per week. > >>>> > >>>> Although I suspect that this is not hardware related, from a (naive) > >>>> perusal of the attached stack traces. > >>>> > >>>> Forgive me if my interpretation of this is all wrong, but I'm pretty > >>>> desperate for help. So here's my basic understanding of the deadlock: > >>>> > >>>> These processes seem to be waiting on the page queue mutex: > >>>> sendmail (in vm_mmap > vm_map_find > vm_map_insert > vm_map_pmap_enter) > >>>> bsnmpd (in malloc, uma_large_malloc > page_alloc > kmem_malloc) > >>>> httpd (in trap > trap_pfault > vm_fault) > >>>> [g_up] (in g_vfs_done > bufdone) > >>>> > >>>> The page queue mutex is held by rsync process: > >>>> rsync (in trap > trap_pfault > vm_fault > pmap_enter) > >>>> > >>>> Rsync kernel process (in pmap_enter) was interrupted while holding the > >>>> page queue lock? > >>>> > >>>> > >>>> Giant is enabled in loader.conf due to the needs of the pf firewall when > >>>> dealing with user credentials lookups. I do not believe that Giant plays > >>>> into this deadlock. Kernel config attached. > >>>> > >>>> Any and all help or info is welcome. Thanks in advance. > >>>> > >>>> > >>> Try this change: > >>> > >>> jhb 2007-10-27 22:07:40 UTC > >>> > >>> FreeBSD src repository > >>> > >>> Modified files: > >>> sys/kern sched_4bsd.c > >>> Log: > >>> Change the roundrobin implementation in the 4BSD scheduler to trigger a > >>> userland preemption directly from hardclock() via sched_clock() when a > >>> thread uses up a full quantum instead of using a periodic timeout to > >>> > > cause > > > >>> a userland preemption every so often. This fixes a potential deadlock > >>> when IPI_PREEMPTION isn't enabled where softclock blocks on a lock held > >>> by a thread pinned or bound to another CPU. The current thread on that > >>> CPU will never be preempted while softclock is blocked. > >>> > >>> Note that ULE already drives its round-robin userland preemption from > >>> sched_clock() as well and always enables IPI_PREEMPT. > >>> > >>> MFC after: 1 week > >>> > >>> Revision Changes Path > >>> 1.108 +8 -29 src/sys/kern/sched_4bsd.c > >>> > >>> We use it at work on 6.x. W/o this fix, round-robin stops working on 4BSD > >>> when softclock() (swi4: clock) blocks on a lock like Giant. > >>> > >>> > >> I've been seeing similar troubles on 6.2 and I'll have to give this a > >> try as we upgrade to 6.3. I notice "MFC after: 1 week" in the log; it's > >> been a week - any chance of seeing this fix rolled into 6.x? > >> > > > > If people confirm it fixes issues I will MFC it. There was some pushback when > > I first committed it so I waited on the MFC. > > I can confirm that on 6.3 I can recreate the deadlock without the patch, > and can't recreate it with the patch. Ok, I've merged it to RELENG_[67]. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 22:18:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B5A01065678 for ; Tue, 24 Jun 2008 22:18:29 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (five.mired.org [66.92.153.75]) by mx1.freebsd.org (Postfix) with ESMTP id B52F98FC0A for ; Tue, 24 Jun 2008 22:18:28 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 1548 invoked by uid 1001); 24 Jun 2008 18:18:21 -0400 Received: from bhuda.mired.org (bhuda [192.168.195.1]) by bhuda (tmda-ofmipd) with ESMTP; Tue, 24 Jun 2008 18:18:20 -0400 Date: Tue, 24 Jun 2008 18:17:54 -0400 To: Naram Qashat Message-ID: <20080624181754.6af765d8@bhuda.mired.org> In-Reply-To: <48613EBA.507@cyberbotx.com> References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> Organization: Meyer Consulting X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Mike Meyer Cc: freebsd-hackers@freebsd.org, Julian Stacey , Mark Carlson Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 22:18:29 -0000 On Tue, 24 Jun 2008 14:36:42 -0400 Naram Qashat wrote: > Julian Stacey wrote: > > "Mark Carlson" wrote: > >> On 6/19/08, John Kozubik wrote: > > ..... Elided ... > >>> [1] Since we're all probably already running Linux Binary > >>> Compat anyway... > >> I've found wine + firefox + flash to work for everything I've tried so > > > > Do you have a "How To" RTFM Cook book / script URL please ? > > I'd like to chime in here and say there is nothing special to get this > configuration to work. Download the Windows version of Firefox and install it > via Wine, then download the Windows version of Flash for Firefox and install > that with Wine. Once you do that, you have Flash in Firefox using Wine. Like > has been said, Wine is far from perfect, but this works great until a native > Flash can be made for FreeBSD. Not only that, but you've restricted Flash's access to your Wine environment. Give that it - by design - loads and executes code from unknown and hence untrustworthy individuals, this is a good thing in and of itself. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 22:27:58 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 511F51065677 for ; Tue, 24 Jun 2008 22:27:58 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id ECE498FC27 for ; Tue, 24 Jun 2008 22:27:57 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by postfix2-g20.free.fr (Postfix) with ESMTP id E76C6279A940 for ; Tue, 24 Jun 2008 22:06:00 +0200 (CEST) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 301F53EA0DA for ; Wed, 25 Jun 2008 00:06:22 +0200 (CEST) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id EE58F3EA0BD for ; Wed, 25 Jun 2008 00:06:21 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id m5OM6HVr015268; Wed, 25 Jun 2008 00:06:18 +0200 (CEST) From: Thierry Herbelot To: freebsd-hackers@freebsd.org Date: Wed, 25 Jun 2008 00:06:06 +0200 User-Agent: KMail/1.9.7 References: <20080619135114.Y1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> In-Reply-To: <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200806250006.06789.thierry@herbelot.com> X-Mailman-Approved-At: Tue, 24 Jun 2008 22:33:41 +0000 Cc: Garrett Cooper Subject: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 22:27:58 -0000 [CC trimmed] Le Tuesday 24 June 2008, Garrett Cooper a écrit : > On Tue, Jun 24, 2008 at 8:55 AM, Scott T. Hildreth > [SNIP] > > (not designed to be troll-bait, just my personal opinion on the matter > -- don't comment on it please) FWIW, Personally I don't think that > Flash support is as critical as getting working x64 compatible OpenGL > enabled video drivers, but then again my opinion differs from your's > most likely. is there any hope for having the newly open-sourced radeon/radeon-hd AMD drivers (and the related 3D acceleration) to work under FreeBSD-AMD64 ? TfH From owner-freebsd-hackers@FreeBSD.ORG Tue Jun 24 22:56:14 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99D281065674 for ; Tue, 24 Jun 2008 22:56:14 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: from redundancy.redundancy.org (redundancy.redundancy.org [64.147.160.152]) by mx1.freebsd.org (Postfix) with SMTP id 77A348FC1F for ; Tue, 24 Jun 2008 22:56:14 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: (qmail 76146 invoked by uid 1001); 24 Jun 2008 22:56:37 -0000 Date: Tue, 24 Jun 2008 15:56:14 -0700 From: "David E. Thiel" To: freebsd-hackers@freebsd.org Message-ID: <20080624225613.GA70561@redundancy.redundancy.org> References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OpenPGP-Key-fingerprint: 482A 8C46 C844 7E7C 8CBC 2313 96EE BEE5 1F4B CA13 X-OpenPGP-Key-available: http://redundancy.redundancy.org/lx.gpg X-Face: %H~{$1~NOw1y#%mM6{|4:/ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 22:56:14 -0000 On Tue, Jun 24, 2008 at 01:40:44PM -0600, Mark Carlson wrote: > 0. Install wine ( emulators/wine ) > 1. Download firefox for windows ( > http://www.mozilla.com/en-US/firefox/all.html ) > 2. Run: wine "Firefox Setup 3.0.exe" > 3. Complete the installer > 4. To run firefox you need to do something like: wine "C:/Program > Files/Mozilla Firefox/firefox.exe" (I forget the exact path / command > name) > 5. Navigate to the adobe flash download page ( use goole or something > ) and download the flash installer for windows. > 6. When the download is complete, run it ( should be able to do this > from the download manager in firefox ) > 7. Complete the flash installer ( this will require you to close > firefox, so do that ) > 8. Start firefox again (see the wine firefox.exe command from above) > 9. Create a script to start firefox under wine since the command is so ugly. This works surprisingly well. One note - you may want to undefine LC_CTYPE if you have it set to a non-standard value, as FF seems to crash otherwise. From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 02:31:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ECF8106566B for ; Wed, 25 Jun 2008 02:31:43 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from QMTA08.emeryville.ca.mail.comcast.net (qmta08.emeryville.ca.mail.comcast.net [76.96.30.80]) by mx1.freebsd.org (Postfix) with ESMTP id EF6168FC18 for ; Wed, 25 Jun 2008 02:31:42 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA08.emeryville.ca.mail.comcast.net with comcast id i0bN1Z00F17UAYkA80Bq00; Wed, 25 Jun 2008 02:15:42 +0000 Received: from daland.home ([24.61.21.4]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id i2FN1Z00K05H7zL8Z2FQ7N; Wed, 25 Jun 2008 02:15:24 +0000 X-Authority-Analysis: v=1.0 c=1 a=8eChE22gkI4A:10 a=S3kUGFHwbgoA:10 a=rITDv7nW5hcA:10 a=LhxYsKrxKGknoCFn_ZYA:9 a=P7HGGVpAissva9pt344A:7 a=BtzIXMaDLXrpb5btFJndXekBFVAA:4 a=si9q_4b84H0A:10 a=mhQ4J5QMNLoA:10 Received: from algo by daland.home with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KBKXa-000L15-K4; Tue, 24 Jun 2008 22:15:22 -0400 From: Alex Goncharov To: "Mark Carlson" In-reply-to: (carlsonmark@gmail.com) References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> Message-Id: Sender: Alex Goncharov Date: Tue, 24 Jun 2008 22:15:22 -0400 Cc: freebsd-hackers@freebsd.org Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 02:31:43 -0000 ,--- You/Mark (Tue, 24 Jun 2008 13:41:07 -0600) ----* | I'm not at my box right now, but it went something like this: | ... | I might write up some better instructions when I have the time, but | I really don't have a good place to put them. `---------------------------------------------------* The instructions you've given are quite adequate and VERY helpful: I've never used Wine, and didn't imagine I could resolve the Flash pains so quickly and cheaply. ,--- David E. Thiel (Tue, 24 Jun 2008 15:56:14 -0700) ----* | This works surprisingly well. One note - you may want to undefine | LC_CTYPE if you have it set to a non-standard value, as FF seems to | crash otherwise. `---------------------------------------------------------* I should add that I am now running Windows Opera on my FreeBSD 7.0 system -- and here, too, everything works surprisingly well, although the non-native character of the browser can't be not noticed, and the fonts' looks are much inferior to the ones in `linux-opera'. Thank you very much for the valuable advice! -- Alex -- alex-goncharov@comcast.net -- /* * To invent, you need a good imagination and a pile of junk. * * -- Thomas Edison */ From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 08:46:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346A4106564A for ; Wed, 25 Jun 2008 08:46:11 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id ECD658FC16 for ; Wed, 25 Jun 2008 08:46:10 +0000 (UTC) (envelope-from artis.caune@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so852935ana.13 for ; Wed, 25 Jun 2008 01:46:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=X98L0xoMNEcgMHUOZEfRbjh+OXtNlTRhrdpawt1TQ9U=; b=kUm36eJwkEucNFa9hbh4TOC3tUxtKjAsH1c8xyHoRKMmtWjND27z2E1NISh1BlPOD8 diKGOqn6bOhvW0ogLKXmSZ0vEFZ+tUHW6sBLI9/ZLDIys7sLoN2ioF4SbZjdRkriG/XD MCX9ENjaQ2QukvHvcObBGvGSHW0VUDtjlOadM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=sCW3mBH029S9CZqjvjPN17mnyqjASgJ+F7k7G3GxfaKnBLMNu2v5X4rKEw8JJUn7Ru R0mEkz82InfpnZmAiPJjUBdbe05Q3c/perThuO8X1v8iBgxzCqckAXnX1LFk3OcZr8q/ fdIUA6vIu/a4pluuoHsSqEpHUhMfIljnb5sX4= Received: by 10.100.41.1 with SMTP id o1mr17996623ano.10.1214382086971; Wed, 25 Jun 2008 01:21:26 -0700 (PDT) Received: by 10.100.253.17 with HTTP; Wed, 25 Jun 2008 01:21:26 -0700 (PDT) Message-ID: <9e20d71e0806250121i33bbdf07y2a5ce910e79a7b57@mail.gmail.com> Date: Wed, 25 Jun 2008 11:21:26 +0300 From: "Artis Caune" To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: build stamps X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 08:46:11 -0000 If you are making world or release twice from one source, you will get some binaries and lot of libraries which differ because of time stamps: # make buildworld # make installworld DESTDIR=/home/build1 # rm -r /usr/obj/usr # make buildworld # make installworld DESTDIR=/home/build2 # diff -r /home/build1 /home/build2 freebsd-update-server also make world twice to find out where those build stamps are. I tried to freeze clock on build box while repeating build process: # while true; do date -n 0000; sleep 0.5; done and there were no differences between two builds. Is there any harm if I build releases with frozen clock? or maybe load kld module which replace gettimeofday syscall at build time? thanks, Artis From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 09:07:11 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C698106564A for ; Wed, 25 Jun 2008 09:07:11 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 9FAA68FC0C for ; Wed, 25 Jun 2008 09:07:10 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id m5P8gUjS091397 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 Jun 2008 10:42:30 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by cicely5.cicely.de (8.14.2/8.14.2) with ESMTP id m5P9776H086945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jun 2008 11:07:07 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id m5P970WX042711; Wed, 25 Jun 2008 11:07:01 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m5P970ih042710; Wed, 25 Jun 2008 11:07:00 +0200 (CEST) (envelope-from ticso) Date: Wed, 25 Jun 2008 11:07:00 +0200 From: Bernd Walter To: Gary Jennejohn Message-ID: <20080625090659.GF40860@cicely7.cicely.de> References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> <20080622095827.GF29053@cicely7.cicely.de> <20080622122406.59e65588@peedub.jennejohn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080622122406.59e65588@peedub.jennejohn.org> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED=-1.8, BAYES_00=-2.599 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on cicely12.cicely.de Cc: freebsd-hackers@freebsd.org Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 09:07:11 -0000 On Sun, Jun 22, 2008 at 12:24:06PM +0200, Gary Jennejohn wrote: > On Sun, 22 Jun 2008 11:58:32 +0200 > Bernd Walter wrote: > > > On Fri, Jun 20, 2008 at 08:07:46PM -0700, joe mcguckin wrote: > > > I'm looking for a cheap and small embedded platform to use as a > > > portable vpn endpoint. It doesn't have to be fast, it just has to > > > run *BSD. > > > > > > Any suggestions?? > > > > We build our own ARM9 based board: > > http://www.small-control.de/FSB-A920-1.html > > http://www.small-control.de/FSB-A920-1-APG.html > > > > Looks like it's soldered by hand. Is it? Yes it is. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 09:10:08 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88303106566B for ; Wed, 25 Jun 2008 09:10:08 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 44DE18FC0A for ; Wed, 25 Jun 2008 09:10:08 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 4DFE81B10EE8; Wed, 25 Jun 2008 10:52:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on malcho.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.4 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 9118F1B10EBB; Wed, 25 Jun 2008 10:52:30 +0200 (CEST) Message-ID: <4862074E.1000704@moneybookers.com> Date: Wed, 25 Jun 2008 11:52:30 +0300 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.14 (X11/20080616) MIME-Version: 1.0 To: Mark Carlson References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> In-Reply-To: Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-hackers@freebsd.org, Naram Qashat Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 09:10:08 -0000 Greetings, Mark Carlson wrote: > On 6/24/08, Naram Qashat wrote: > >> Julian Stacey wrote: >> >>> Do you have a "How To" RTFM Cook book / script URL please ? >>> >>> >> I'd like to chime in here and say there is nothing special to get this >> configuration to work. Download the Windows version of Firefox and install >> it via Wine, then download the Windows version of Flash for Firefox and >> install that with Wine. Once you do that, you have Flash in Firefox using >> Wine. Like has been said, Wine is far from perfect, but this works great >> until a native Flash can be made for FreeBSD. >> >> Naram Qashat >> > > I'm not at my box right now, but it went something like this: > > 0. Install wine ( emulators/wine ) > 1. Download firefox for windows ( > http://www.mozilla.com/en-US/firefox/all.html ) > 2. Run: wine "Firefox Setup 3.0.exe" > 3. Complete the installer > 4. To run firefox you need to do something like: wine "C:/Program > Files/Mozilla Firefox/firefox.exe" (I forget the exact path / command > name) > 5. Navigate to the adobe flash download page ( use goole or something > ) and download the flash installer for windows. > 6. When the download is complete, run it ( should be able to do this > from the download manager in firefox ) > 7. Complete the flash installer ( this will require you to close > firefox, so do that ) > 8. Start firefox again (see the wine firefox.exe command from above) > 9. Create a script to start firefox under wine since the command is so ugly. > > I might write up some better instructions when I have the time, but I > really don't have a good place to put them. > I tried this before and have a bad luck of not having working audio on flash, but today with new wine and FF3 it works. Btw there is a small nasty problem copy/paste from wine app to native apps does not work. Ideas how to workaround this? > -Mark C. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- Best Wishes, Stefan Lambrev ICQ# 24134177 From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 12:01:35 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE440106564A for ; Wed, 25 Jun 2008 12:01:35 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (thavinci.za.net [196.211.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3CCBB8FC0A for ; Wed, 25 Jun 2008 12:01:35 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost.thavinci.za.net [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 926C51EE936; Wed, 25 Jun 2008 13:44:29 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id 65E8D1EE8C2; Wed, 25 Jun 2008 13:44:29 +0200 (SAST) From: "Marcel Grandemange" To: References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> <20080622095827.GF29053@cicely7.cicely.de> <20080622122406.59e65588@peedub.jennejohn.org> <20080625090659.GF40860@cicely7.cicely.de> In-Reply-To: <20080625090659.GF40860@cicely7.cicely.de> Date: Wed, 25 Jun 2008 13:43:52 +0200 Message-ID: <003801c8d6b8$be5a13c0$3b0e3b40$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: AcjWtqrrEONkFRC5QtGinIyL8YLZnAAAGZNQ Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Wed, 25 Jun 2008 12:05:23 +0000 Cc: freebsd-hackers@freebsd.org Subject: RE: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 12:01:36 -0000 http://www.routerboard.com/ Theres my suggestion. -----Original Message----- From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Bernd Walter Sent: Wednesday, June 25, 2008 11:07 AM To: Gary Jennejohn Cc: freebsd-hackers@freebsd.org Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets On Sun, Jun 22, 2008 at 12:24:06PM +0200, Gary Jennejohn wrote: > On Sun, 22 Jun 2008 11:58:32 +0200 > Bernd Walter wrote: > > > On Fri, Jun 20, 2008 at 08:07:46PM -0700, joe mcguckin wrote: > > > I'm looking for a cheap and small embedded platform to use as a > > > portable vpn endpoint. It doesn't have to be fast, it just has to > > > run *BSD. > > > > > > Any suggestions?? > > > > We build our own ARM9 based board: > > http://www.small-control.de/FSB-A920-1.html > > http://www.small-control.de/FSB-A920-1-APG.html > > > > Looks like it's soldered by hand. Is it? Yes it is. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" __________ NOD32 3205 (20080621) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 12:37:33 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 302FD106564A for ; Wed, 25 Jun 2008 12:37:33 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 24D938FC17 for ; Wed, 25 Jun 2008 12:37:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 7C5EC1CC031; Wed, 25 Jun 2008 05:37:32 -0700 (PDT) Date: Wed, 25 Jun 2008 05:37:32 -0700 From: Jeremy Chadwick To: Marcel Grandemange Message-ID: <20080625123732.GA28561@eos.sc1.parodius.com> References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> <20080622095827.GF29053@cicely7.cicely.de> <20080622122406.59e65588@peedub.jennejohn.org> <20080625090659.GF40860@cicely7.cicely.de> <003801c8d6b8$be5a13c0$3b0e3b40$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <003801c8d6b8$be5a13c0$3b0e3b40$@za.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org, ticso@cicely.de Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 12:37:33 -0000 On Wed, Jun 25, 2008 at 01:43:52PM +0200, Marcel Grandemange wrote: > http://www.routerboard.com/ > > Theres my suggestion. Those are really, *really* nice. It's about time such vendors started using gigE PHY/NICs; it's the main reason why I don't invest in devices like these. The RB/1000 is quite awesome. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 13:10:57 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2990E106564A for ; Wed, 25 Jun 2008 13:10:57 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (thavinci.za.net [196.211.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6478C8FC1F for ; Wed, 25 Jun 2008 13:10:56 +0000 (UTC) (envelope-from thavinci@thavinci.za.net) Received: from thavinci.za.net (localhost.thavinci.za.net [127.0.0.1]) by thavinci.za.net (Postfix) with ESMTP id 8250C1EE915; Wed, 25 Jun 2008 15:10:53 +0200 (SAST) Received: from thavinciPC (unknown [192.168.12.110]) by thavinci.za.net (Postfix) with ESMTP id 6261B1EE8C2; Wed, 25 Jun 2008 15:10:53 +0200 (SAST) From: "Marcel Grandemange" To: "'Jeremy Chadwick'" References: <7A966B3C-044F-4794-949B-F92B60E8F674@via.net> <20080622095827.GF29053@cicely7.cicely.de> <20080622122406.59e65588@peedub.jennejohn.org> <20080625090659.GF40860@cicely7.cicely.de> <003801c8d6b8$be5a13c0$3b0e3b40$@za.net> <20080625123732.GA28561@eos.sc1.parodius.com> In-Reply-To: <20080625123732.GA28561@eos.sc1.parodius.com> Date: Wed, 25 Jun 2008 15:10:17 +0200 Message-ID: <003c01c8d6c4$d007b800$70172800$@za.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: AcjWwFPqFwhmlzYVRTCnd2pPg/Wb/gABCQeA Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Wed, 25 Jun 2008 13:19:30 +0000 Cc: freebsd-hackers@freebsd.org Subject: RE: Looking for *cheap* embedded platform w- 2 ethernets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 13:10:57 -0000 http://www.mikrotik.com/ , That's the software they normally use on these boards, linux based with client software to configure it, very easy and EXTREMELY easy to do full VPN client/server, full OSPF/RIP/BGP, well pretty much anything network related. I agree on the gigabit statement although interface bonding will have to do for now. -----Original Message----- From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd-hackers@freebsd.org] On Behalf Of Jeremy Chadwick Sent: Wednesday, June 25, 2008 2:38 PM To: Marcel Grandemange Cc: freebsd-hackers@freebsd.org; ticso@cicely.de Subject: Re: Looking for *cheap* embedded platform w- 2 ethernets On Wed, Jun 25, 2008 at 01:43:52PM +0200, Marcel Grandemange wrote: > http://www.routerboard.com/ > > Theres my suggestion. Those are really, *really* nice. It's about time such vendors started using gigE PHY/NICs; it's the main reason why I don't invest in devices like these. The RB/1000 is quite awesome. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" __________ NOD32 3205 (20080621) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 15:27:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18DD71065672 for ; Wed, 25 Jun 2008 15:27:49 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id A4F608FC12 for ; Wed, 25 Jun 2008 15:27:48 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1693704fgb.35 for ; Wed, 25 Jun 2008 08:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=g8pu23cj7xffWYmpa8QRbkspHLH3vbpZKQmmkaxVNJk=; b=A7KQpkZQGd0xWB8nD9GiEJFtFFSOCRGLtitmm+WRqgg0mOrBR6rejl609hhJf5+FWI WjfTBMFlRa1fFFqZVQHAK3Um4+Ux2wzaMeHUMT1sKjE4XA74x5GdmGIgXnTNFdQ63HVO x/q3D0mTycT1YMOC4Oqv5hIzLiqL+/8pT0OGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=dsbvBwvuRh1GUylKpSzRlYbZ6g7bCObX1CzjXjGqfuOUxqoVRCZcP92NfYQJNBAYvl KYe2TdnuWtn83X2BXmRdy9tz319vNBOm7jjpqGmSoO2NKHBEM2f+vkwSKgjoCHZI67EE Q9rSMRWEhzPprH2TYGMpLiylMlmSugaYovsjU= Received: by 10.86.65.11 with SMTP id n11mr10618623fga.64.1214407667434; Wed, 25 Jun 2008 08:27:47 -0700 (PDT) Received: by 10.86.98.6 with HTTP; Wed, 25 Jun 2008 08:27:47 -0700 (PDT) Message-ID: <1bd550a00806250827ga4607b2g412d3e7c673f71cb@mail.gmail.com> Date: Wed, 25 Jun 2008 17:27:47 +0200 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "FreeBSD Hackers" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Can't load firmware X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 15:27:49 -0000 Hi all, I'm facing some problems with my IPW2200 NIC. It seems I can't load the firmware (from system log): firmware_get: failed to load firmware image iwi_bss Both if_ipw and ipw_bss modules are loaded. This very same computer works fine with linux, including loading the firmware. I post this question here cause I didn't get any answer in the freebsd-questions@ list and because I read in the iwi man page that this shouldn't happen :). Any help is appreciated. Thanks in advance. From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 16:17:55 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 260BA106566C for ; Wed, 25 Jun 2008 16:17:55 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id E53618FC21 for ; Wed, 25 Jun 2008 16:17:54 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id D592A2BCF0; Thu, 26 Jun 2008 03:54:56 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T1snO39r0Vqo; Thu, 26 Jun 2008 03:54:52 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 26 Jun 2008 03:54:52 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 7A5701142F; Thu, 26 Jun 2008 03:56:17 +1200 (NZST) Date: Wed, 25 Jun 2008 08:56:17 -0700 From: Andrew Thompson To: Fernando Apestegu?a Message-ID: <20080625155617.GB98532@citylink.fud.org.nz> References: <1bd550a00806250827ga4607b2g412d3e7c673f71cb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1bd550a00806250827ga4607b2g412d3e7c673f71cb@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Hackers Subject: Re: Can't load firmware X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 16:17:55 -0000 On Wed, Jun 25, 2008 at 05:27:47PM +0200, Fernando Apestegu?a wrote: > Hi all, > > I'm facing some problems with my IPW2200 NIC. It seems I can't load > the firmware (from system log): > > firmware_get: failed to load firmware image iwi_bss > > Both if_ipw and ipw_bss modules are loaded. > > This very same computer works fine with linux, including loading the firmware. Have you set legal.intel_iwi.license_ack=1 in /boot/loader.conf? Andrew From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 17:10:41 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96D0A1065678 for ; Wed, 25 Jun 2008 17:10:41 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by mx1.freebsd.org (Postfix) with ESMTP id 2351E8FC27 for ; Wed, 25 Jun 2008 17:10:40 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1714809fgb.35 for ; Wed, 25 Jun 2008 10:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GoTeJyngFEE77ydsYWnZ6qy9+wXn/tnWkCdYR2G6zh4=; b=qJpteelEsJbYP6vp3Ze8LneI5JU0YEaMEy5UCKfeuRLuNb/NFC2/sfwddzEEDF5K71 7xJAhb3AA9xF2VyuWrYgKHxmV8csZ6LisbiWs8NflIU4UG4HQ0uCPWTx7cKjAJFVAQsw sg7sHWec++LMMqW6HYVSEHdJLhFRaTD3pJulA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=HzSd0ZnE/t+17O53MYo2q25TMgwrwAddcqhRI36Js3eC5524x2ZxVFaKeyf5uWUxz5 HnhWHRMp4IYfiABPl7EEOXft9lrnJvpYWGFcUzPZ7jxC9goCkSFqZcx/2M00PxzpByr5 n70zgH5pVw8M5o5rTtTkjwHBYoriNmoM2leDo= Received: by 10.86.89.1 with SMTP id m1mr10829369fgb.20.1214413839989; Wed, 25 Jun 2008 10:10:39 -0700 (PDT) Received: by 10.86.98.6 with HTTP; Wed, 25 Jun 2008 10:10:37 -0700 (PDT) Message-ID: <1bd550a00806251010w40a32967gf3d7cb6a8c876dc3@mail.gmail.com> Date: Wed, 25 Jun 2008 19:10:37 +0200 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "Andrew Thompson" In-Reply-To: <20080625155617.GB98532@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1bd550a00806250827ga4607b2g412d3e7c673f71cb@mail.gmail.com> <20080625155617.GB98532@citylink.fud.org.nz> Cc: FreeBSD Hackers Subject: Re: Can't load firmware X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 17:10:41 -0000 On Wed, Jun 25, 2008 at 5:56 PM, Andrew Thompson wrote: > On Wed, Jun 25, 2008 at 05:27:47PM +0200, Fernando Apestegu?a wrote: >> Hi all, >> >> I'm facing some problems with my IPW2200 NIC. It seems I can't load >> the firmware (from system log): >> >> firmware_get: failed to load firmware image iwi_bss >> >> Both if_ipw and ipw_bss modules are loaded. >> >> This very same computer works fine with linux, including loading the firmware. > > Have you set legal.intel_iwi.license_ack=1 in /boot/loader.conf? No. I'm aware of the iwi man page, but after I did that I got a message in /var/log/messages complaining about the legal.intel_ipw.license_ack variable, not the one specified in the iwi man page. I set the last one to 1 but I got the firmware loading problem. If this has changed, I suppose it should be fixed in the documentation IMHO. Any more ideas? Any debugging hints? Thanks in advance > > > Andrew > From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 17:11:26 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AD2B1065673 for ; Wed, 25 Jun 2008 17:11:26 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 9C71B8FC0A for ; Wed, 25 Jun 2008 17:11:25 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1714949fgb.35 for ; Wed, 25 Jun 2008 10:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NYFJ+l+ggmQVoaVD1s3fEKBYU7AnUN7TMptv+3H8MkY=; b=NpD5bb8CIx87PYBRpQg6j/jdufcypA5fJwlZ0mPZNMSWR+Y5JfPc/knXkcE9VSPXWw 7S2P5VzTTM6TfpT2gp8IXwTYVDCIYOaKL7KhBxkfH3zxISbqkKFsvYS/x3TBBt9ULCQv Gifd5jSm+F6RR95Tb3uYtHxU0KGs2/pE7qHgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Co6DrFICifht91OHiMArz6Tdmb1tpuGSUi0aSotTLWGNRB+g5pVVsJGdd80boWTUis wGy6ktdHDY/Ad0Wx7YbeqbSCl8wf2ZYpGLNq0QlQ+b8CN/NGFjXvu3fwVVfDNnuJlM5p 1dDFBjyCTDRZqTcx/gw68FBANAI8RhzQe3O84= Received: by 10.86.36.11 with SMTP id j11mr10842408fgj.7.1214413884522; Wed, 25 Jun 2008 10:11:24 -0700 (PDT) Received: by 10.86.98.6 with HTTP; Wed, 25 Jun 2008 10:11:24 -0700 (PDT) Message-ID: <1bd550a00806251011j15a98818ke2c688ddc7f6d9ce@mail.gmail.com> Date: Wed, 25 Jun 2008 19:11:24 +0200 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "Andrew Thompson" In-Reply-To: <1bd550a00806251010w40a32967gf3d7cb6a8c876dc3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1bd550a00806250827ga4607b2g412d3e7c673f71cb@mail.gmail.com> <20080625155617.GB98532@citylink.fud.org.nz> <1bd550a00806251010w40a32967gf3d7cb6a8c876dc3@mail.gmail.com> Cc: FreeBSD Hackers Subject: Re: Can't load firmware X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 17:11:26 -0000 On Wed, Jun 25, 2008 at 7:10 PM, Fernando Apestegu=EDa wrote: > On Wed, Jun 25, 2008 at 5:56 PM, Andrew Thompson wr= ote: >> On Wed, Jun 25, 2008 at 05:27:47PM +0200, Fernando Apestegu?a wrote: >>> Hi all, >>> >>> I'm facing some problems with my IPW2200 NIC. It seems I can't load >>> the firmware (from system log): >>> >>> firmware_get: failed to load firmware image iwi_bss >>> >>> Both if_ipw and ipw_bss modules are loaded. >>> >>> This very same computer works fine with linux, including loading the fi= rmware. >> >> Have you set legal.intel_iwi.license_ack=3D1 in /boot/loader.conf? > > No. I'm aware of the iwi man page, but after I did that I got a > message in /var/log/messages complaining about the > legal.intel_ipw.license_ack variable, not the one specified in the iwi > man page. > > I set the last one to 1 but I got the firmware loading problem. If > this has changed, I suppose it should be fixed in the documentation > IMHO. > > Any more ideas? Any debugging hints? > > Thanks in advance Oops, sorry I forgot: I'm using 7.0 RELEASE. Thanks > >> >> >> Andrew >> > From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 17:27:04 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DAAD106564A for ; Wed, 25 Jun 2008 17:27:04 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.190]) by mx1.freebsd.org (Postfix) with ESMTP id 473DC8FC13 for ; Wed, 25 Jun 2008 17:27:04 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so876620rne.12 for ; Wed, 25 Jun 2008 10:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OcRBl8cDdjK57L0sDwSFU6Y6mGu96xQ9e+m6gyWmPsQ=; b=s7+KUUn/xSBjOr50m67z9q3N7YERK34FJOqq3CBjycUbyWHG5wPsPQ2E3oWi55E9Yi 0Bc+FwVKjaPOp0XdD9e8g82Ad/i1/Wek4oJ+hdaadAjZ72FiZfnLjoiY8q7CIqpq9msL ogQZkxI26c0kMH2QmxANaLyHLRFw+rDwjXs9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PgoSU2D7Ze7fTjmLGyqwD3LvInFbolApTiHwSI8reeaTivXAAby1B/eU+HSJMEykvU f0/vr52mNcleYX8+HfcEBgFXQdVESqg8R4Gf9oCUKIbw1SacS8T+u0WDdKTRJm5mz7W1 rtbCdjPxHq7mHGtL9gKbyNwskpKAG312X44Gg= Received: by 10.151.47.7 with SMTP id z7mr50812ybj.198.1214413209088; Wed, 25 Jun 2008 10:00:09 -0700 (PDT) Received: by 10.151.67.2 with HTTP; Wed, 25 Jun 2008 10:00:09 -0700 (PDT) Message-ID: <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> Date: Wed, 25 Jun 2008 13:00:09 -0400 From: "Ben Kaduk" To: thierry@herbelot.com In-Reply-To: <200806250006.06789.thierry@herbelot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080619135114.Y1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> <200806250006.06789.thierry@herbelot.com> Cc: freebsd-hackers@freebsd.org Subject: Re: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 17:27:04 -0000 On Tue, Jun 24, 2008 at 6:06 PM, Thierry Herbelot wrote: > > is there any hope for having the newly open-sourced radeon/radeon-hd AMD > drivers (and the related 3D acceleration) to work under FreeBSD-AMD64 ? > Well, I'm using radeonhd right now on a [kaduk@periphrasis /usr/src/sys/contrib/dev/ath/public]$ uname -a FreeBSD periphrasis.mit.edu 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed May 14 00:27:26 EDT 2008 root@periphrasis.mit.edu:/usr/obj/usr/src/sys/PERIPHRASIS amd64 I don't think I have anything that uses 3d installed at the moment, but the 2d seems like it's getting accelerated (non-accelerated dual-monitors can be painfully slow). -Ben Kaduk From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 17:59:32 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9993D1065677 for ; Wed, 25 Jun 2008 17:59:32 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3538FC1B for ; Wed, 25 Jun 2008 17:59:32 +0000 (UTC) (envelope-from thierry@herbelot.com) Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id BFA873EA135 for ; Wed, 25 Jun 2008 19:59:30 +0200 (CEST) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g19.free.fr (Postfix) with ESMTP id 8A8843EA0F2 for ; Wed, 25 Jun 2008 19:59:30 +0200 (CEST) Received: from diversion.herbelot.nom (diversion.herbelot.nom [192.168.2.6]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id m5PHxSbv001639 for ; Wed, 25 Jun 2008 19:59:29 +0200 (CEST) From: Thierry Herbelot To: freebsd-hackers@freebsd.org Date: Wed, 25 Jun 2008 19:59:16 +0200 User-Agent: KMail/1.9.7 References: <20080619135114.Y1807@kozubik.com> <200806250006.06789.thierry@herbelot.com> <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> In-Reply-To: <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200806251959.16817.thierry@herbelot.com> X-Mailman-Approved-At: Wed, 25 Jun 2008 18:09:31 +0000 Subject: Re: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: thierry@herbelot.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 17:59:32 -0000 Le Wednesday 25 June 2008, Ben Kaduk a écrit : > On Tue, Jun 24, 2008 at 6:06 PM, Thierry Herbelot wrote: > > is there any hope for having the newly open-sourced radeon/radeon-hd AMD > > drivers (and the related 3D acceleration) to work under FreeBSD-AMD64 ? > > Well, I'm using radeonhd right now on a > [kaduk@periphrasis /usr/src/sys/contrib/dev/ath/public]$ uname -a > FreeBSD periphrasis.mit.edu 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed May > 14 00:27:26 EDT 2008 > root@periphrasis.mit.edu:/usr/obj/usr/src/sys/PERIPHRASIS amd64 good news ! > > I don't think I have anything that uses 3d installed at the moment, but > the 2d seems like it's getting accelerated (non-accelerated dual-monitors > can be painfully slow). what are the details for your machine ? (graphics board make, motherboard chipset etc) I was thinking of buying a new machine with AMD 780G or 790GX chipsets, whose integrated graphics board is supposed to be driven by radeonhd. TfH From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 19:09:45 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E383106566C for ; Wed, 25 Jun 2008 19:09:45 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.188]) by mx1.freebsd.org (Postfix) with ESMTP id 57C628FC34 for ; Wed, 25 Jun 2008 19:09:45 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so911729rne.12 for ; Wed, 25 Jun 2008 12:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=bcH8pIOlLQiVQ3TwDxxYwPQaLETZaUsEzYFLiz6eauo=; b=TmcqOHeKEhfYucC4SDJvwMrv5+C29Y68M6vjBQ7fywibT+q2ISzTPXTX6usqWbXeId 7aHZcdEVn8KlmJUg6pMmfsK6/vIOR+dcylqxSXji7DY64UuYIBiZ3kkQl/qjjN6AcOD6 IWgz3B1rbAC0T8vPw+rfgkjpKe+P0ccg59E7k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=S1piuwZrwYqjZo0E7w8RIws8wBWr/oe83mFGvyt1b4QRng2HUb2Of+Czkf1PCfhw/b Yl0NOKHKL9N7ejPxB3UmYkUnS9jz+gDTQv1JCzBn2W/q9eE2Azf9ExrWn4CLuICqCVR5 mYhjS6ZV8lTNQ12rwimYi/BX0skZwYIgCTDjc= Received: by 10.151.100.17 with SMTP id c17mr226375ybm.210.1214420983581; Wed, 25 Jun 2008 12:09:43 -0700 (PDT) Received: by 10.151.67.2 with HTTP; Wed, 25 Jun 2008 12:09:43 -0700 (PDT) Message-ID: <47d0403c0806251209t2065e2b7o8f71606378d55e65@mail.gmail.com> Date: Wed, 25 Jun 2008 15:09:43 -0400 From: "Ben Kaduk" To: thierry@herbelot.com In-Reply-To: <200806251959.16817.thierry@herbelot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20080619135114.Y1807@kozubik.com> <200806250006.06789.thierry@herbelot.com> <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> <200806251959.16817.thierry@herbelot.com> Cc: freebsd-hackers@freebsd.org Subject: Re: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 19:09:45 -0000 On Wed, Jun 25, 2008 at 1:59 PM, Thierry Herbelot wr= ote: > Le Wednesday 25 June 2008, Ben Kaduk a =E9crit : >> On Tue, Jun 24, 2008 at 6:06 PM, Thierry Herbelot > wrote: >> > is there any hope for having the newly open-sourced radeon/radeon-hd A= MD >> > drivers (and the related 3D acceleration) to work under FreeBSD-AMD64 = ? >> >> Well, I'm using radeonhd right now on a >> [kaduk@periphrasis /usr/src/sys/contrib/dev/ath/public]$ uname -a >> FreeBSD periphrasis.mit.edu 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed May >> 14 00:27:26 EDT 2008 >> root@periphrasis.mit.edu:/usr/obj/usr/src/sys/PERIPHRASIS amd64 > > good news ! >> >> I don't think I have anything that uses 3d installed at the moment, but >> the 2d seems like it's getting accelerated (non-accelerated dual-monitor= s >> can be painfully slow). > > what are the details for your machine ? (graphics board make, motherboard > chipset etc) > > I was thinking of buying a new machine with AMD 780G or 790GX chipsets, w= hose > integrated graphics board is supposed to be driven by radeonhd. > There's a dmesg and pciconf at http://stuff.mit.edu/afs/sipb.mit.edu/user/kaduk/freebsd/periphrasis/ The motherboard is a Gigabyte GA-P35-DS3L, so Intel P35 northbridge and Intel ICH9 southbridge; the actual video card came with very little documentation, but purpots to be a Radeon B2 256 HD2400PRO PCIe by VisionTek. The HD2400Pro part certainly seems accurate, at least. When setting up radeonhd for the card, I did need to toggle the hotplug detection bit in xorg.conf to get dual-monitor support; I haven't updated xorg since I filed that report, so I don't know if's been fixed already. -Ben Kaduk From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 19:17:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74C581065682 for ; Wed, 25 Jun 2008 19:17:09 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mired.org (five.mired.org [66.92.153.75]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA848FC24 for ; Wed, 25 Jun 2008 19:17:08 +0000 (UTC) (envelope-from mwm@mired.org) Received: (qmail 54909 invoked from network); 25 Jun 2008 15:17:00 -0400 Received: from unknown (HELO mbook.local) (192.168.195.193) by 0 with SMTP; 25 Jun 2008 15:17:00 -0400 Date: Wed, 25 Jun 2008 15:17:06 -0400 From: Mike Meyer To: "Ben Kaduk" Message-ID: <20080625151706.1de6e32d@mbook.local> In-Reply-To: <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> References: <20080619135114.Y1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> <200806250006.06789.thierry@herbelot.com> <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> Organization: Meyer Consulting X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.2.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 25 Jun 2008 19:20:59 +0000 Cc: freebsd-hackers@freebsd.org, thierry@herbelot.com Subject: Re: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 19:17:09 -0000 On Wed, 25 Jun 2008 13:00:09 -0400 "Ben Kaduk" wrote: > On Tue, Jun 24, 2008 at 6:06 PM, Thierry Herbelot wrote: > > > > is there any hope for having the newly open-sourced radeon/radeon-hd AMD > > drivers (and the related 3D acceleration) to work under FreeBSD-AMD64 ? > > > > Well, I'm using radeonhd right now on a > [kaduk@periphrasis /usr/src/sys/contrib/dev/ath/public]$ uname -a > FreeBSD periphrasis.mit.edu 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed May > 14 00:27:26 EDT 2008 > root@periphrasis.mit.edu:/usr/obj/usr/src/sys/PERIPHRASIS amd64 I'm not sure those are the drivers Theierry wants. The proprietary driver was called fglrx, not "radeon" or "radeonhd". Those two drivers have been in the X open source trees for quite a while now. I first started using the radeon driver on amd64 in late 2006. The versions I have checked out for FreeBSD are documented as Radeonhd has no 2d or 3d acceleration. Radeon has both, but only works for older cards. That is also on 7-stable, but I haven't updated the sources in a while. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 20:39:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 756F2106566B for ; Wed, 25 Jun 2008 20:39:34 +0000 (UTC) (envelope-from fbsd06+XH=eac349ed@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4A38E8FC1C for ; Wed, 25 Jun 2008 20:39:34 +0000 (UTC) (envelope-from fbsd06+XH=eac349ed@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 6BF9716462B for ; Wed, 25 Jun 2008 16:22:35 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id F143C23E49C for ; Wed, 25 Jun 2008 16:22:29 -0400 (EDT) Date: Wed, 25 Jun 2008 21:22:16 +0100 From: RW To: freebsd-hackers@freebsd.org Message-ID: <20080625212216.4f1597a4@gumby.homeunix.com.> In-Reply-To: <4862074E.1000704@moneybookers.com> References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> <4862074E.1000704@moneybookers.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 20:39:34 -0000 On Wed, 25 Jun 2008 11:52:30 +0300 Stefan Lambrev wrote: > I tried this before and have a bad luck of not having working audio > on flash, but today with new wine and FF3 it works. > > Btw there is a small nasty problem copy/paste from wine app to native > apps does not work. Ideas how to workaround this? It's only the traditional X, select and middle-click, that doesn't work in my experience The windows-style explicit cut/copy/paste works for me with KDE in both directions. From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 20:40:43 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CDA5106567E for ; Wed, 25 Jun 2008 20:40:43 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: from redundancy.redundancy.org (redundancy.redundancy.org [64.147.160.152]) by mx1.freebsd.org (Postfix) with SMTP id 0FF988FC18 for ; Wed, 25 Jun 2008 20:40:42 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: (qmail 25689 invoked by uid 1001); 25 Jun 2008 20:41:06 -0000 Date: Wed, 25 Jun 2008 13:40:43 -0700 From: "David E. Thiel" To: freebsd-hackers@freebsd.org Message-ID: <20080625204042.GB70561@redundancy.redundancy.org> References: <200806241817.m5OIHLYU086621@fire.js.berklix.net> <48613EBA.507@cyberbotx.com> <4862074E.1000704@moneybookers.com> <20080625212216.4f1597a4@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080625212216.4f1597a4@gumby.homeunix.com.> X-OpenPGP-Key-fingerprint: 482A 8C46 C844 7E7C 8CBC 2313 96EE BEE5 1F4B CA13 X-OpenPGP-Key-available: http://redundancy.redundancy.org/lx.gpg X-Face: %H~{$1~NOw1y#%mM6{|4:/ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 20:40:43 -0000 On Wed, Jun 25, 2008 at 09:21:53PM +0100, RW wrote: > > Btw there is a small nasty problem copy/paste from wine app to native > > apps does not work. Ideas how to workaround this? > > It's only the traditional X, select and middle-click, that > doesn't work in my experience > > The windows-style explicit cut/copy/paste works for me with KDE in > both directions. You could also use deskutils/autocutsel to help with this. From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 25 22:29:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0484106564A for ; Wed, 25 Jun 2008 22:29:24 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from omr5.networksolutionsemail.com (omr5.networksolutionsemail.com [205.178.146.55]) by mx1.freebsd.org (Postfix) with ESMTP id 6666D8FC15 for ; Wed, 25 Jun 2008 22:29:24 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from mail.networksolutionsemail.com (ns-omr5.mgt.netsol.com [10.49.6.68]) by omr5.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id m5PLuNOA000831 for ; Wed, 25 Jun 2008 17:56:23 -0400 Received: (qmail 15896 invoked by uid 78); 25 Jun 2008 21:56:23 -0000 Received: from unknown (HELO ?192.168.5.13?) (marteswigg@mgwigglesworth.com@24.125.250.206) by ns-omr5.lb.hosting.dc2.netsol.com with SMTP; 25 Jun 2008 21:56:23 -0000 From: Martes Wigglesworth To: freebsd-hackers@freebsd.org Content-Type: text/plain Organization: M.G. Wigglesworth, LLC Date: Wed, 25 Jun 2008 17:56:14 -0400 Message-Id: <1214430974.26401.0.camel@devstation> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0-2mdv2008.0 Content-Transfer-Encoding: 7bit Subject: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: martes@mgwigglesworth.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 22:29:24 -0000 -------- Forwarded Message -------- From: Martes Wigglesworth Reply-To: martes@mgwigglesworth.com To: Andres Chavez Subject: Re: 3 connections as one Date: Tue, 24 Jun 2008 16:34:04 -0400 I have been researching this issue for almost a month now, and what I have found is that you can bind the ports together for outbound traffic, and the same can be done for inbound traffic, the problem comes when you try to get the inbound packets, or sessions to dispurse across the load-balanced ports. I.E.: Who is on the other side of the multiple DSL/Cable links to filter the traffic across the associated pipes so as to "balance the load," so to speak? It can be done, however, without an upstream, or maybe a vps that is being used as an external gateway, you will not be able to get the different session traffic to load balance across the multiple links, when downloading. At least that seems to be the situation, without some nifty DNS tricks. I have not seen how the "appliances" get around this, however, it took me this long for either list that I was on, to even admitt that the theory was not stupid, and to engage me in productive inquiry. If you find anything else out on this topic, please let me know. On Wed, 2008-06-25 at 00:07 +0000, Andres Chavez wrote: > Hi, a friend is challenge me to make use of 3 different connections (one > adsl, one cable, and one Evdo) as one single connection to internet, i > believe for make faster downloads or something such, its that can be > possible ?, if so, can anybody help me with this?, this sounds interesting > for know tricks on the FreeBSD operating system, he need to use this box as > the network manager and firewall as well, but the connection thing its > killing me i dont know how. > -- > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 00:02:48 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 912961065674 for ; Thu, 26 Jun 2008 00:02:48 +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 7C7B18FC13 for ; Thu, 26 Jun 2008 00:02:48 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 3B2EE2497; Wed, 25 Jun 2008 17:02:48 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 0F9CF2D600F; Wed, 25 Jun 2008 17:02:48 -0700 (PDT) Message-ID: <4862DCB5.6080005@elischer.org> Date: Wed, 25 Jun 2008 17:03:01 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: martes@mgwigglesworth.com References: <1214430974.26401.0.camel@devstation> In-Reply-To: <1214430974.26401.0.camel@devstation> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 00:02:48 -0000 Martes Wigglesworth wrote: > -------- Forwarded Message -------- > From: Martes Wigglesworth > Reply-To: martes@mgwigglesworth.com > To: Andres Chavez > Subject: Re: 3 connections as one > Date: Tue, 24 Jun 2008 16:34:04 -0400 > > I have been researching this issue for almost a month now, and what I > have found is that you can bind the ports together for outbound traffic, > and the same can be done for inbound traffic, the problem comes when you > try to get the inbound packets, or sessions to dispurse across the > load-balanced ports. I.E.: Who is on the other side of the multiple > DSL/Cable links to filter the traffic across the associated pipes so as > to "balance the load," so to speak? > > It can be done, however, without an upstream, or maybe a vps that is > being used as an external gateway, you will not be able to get the > different session traffic to load balance across the multiple links, > when downloading. > > At least that seems to be the situation, without some nifty DNS tricks. > I have not seen how the "appliances" get around this, however, it took > me this long for either list that I was on, to even admitt that the > theory was not stupid, and to engage me in productive inquiry. the usual way is to NAT traffic out though each interface so that the internet is not aware that sessions from apparently different places are actually the same.. you can do the same with multiple NAT instances and some way to divide up the load between interfaces.. > > If you find anything else out on this topic, please let me know. > > > On Wed, 2008-06-25 at 00:07 +0000, Andres Chavez wrote: >> Hi, a friend is challenge me to make use of 3 different connections (one >> adsl, one cable, and one Evdo) as one single connection to internet, i >> believe for make faster downloads or something such, its that can be >> possible ?, if so, can anybody help me with this?, this sounds interesting >> for know tricks on the FreeBSD operating system, he need to use this box as >> the network manager and firewall as well, but the connection thing its >> killing me i dont know how. >> -- >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 07:55:48 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968F9106566B for ; Thu, 26 Jun 2008 07:55:48 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 231E28FC0A for ; Thu, 26 Jun 2008 07:55:47 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Jun 2008 09:55:45 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m5Q7tj4K003036; Thu, 26 Jun 2008 09:55:45 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 26 Jun 2008 09:55:45 +0200 From: Matthias Apitz To: freebsd-hackers@freebsd.org Message-ID: <20080626075545.GA2964@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 26 Jun 2008 07:55:46.0069 (UTC) FILETIME=[0A5CF450:01C8D762] Cc: james@nighthack.org Subject: eeePC 900 && turning off wireless (ath0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 07:55:48 -0000 Hello, Yesterday I did some tests with my eeePC 900 to see how long it would work with the 4400 mAh battery ... it seems that turning of the wireless card (ath0), which can be turned of from the BIOS, has big effect and let work the eeePC for more then 2hours 15minutes; in the Xandros Linux you can turn off the NIC as well with Fn+F2 which in FreeBSD does not work at boot stage, i.e. when you may defer the booting in the boot loader countdown; is there any way to switch this off without going into the BIOS? thx in advance matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 13:33:36 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18FB1106566B for ; Thu, 26 Jun 2008 13:33:36 +0000 (UTC) (envelope-from luiz@aonet.com.br) Received: from aonet.com.br (mail.aonet.com.br [200.148.248.194]) by mx1.freebsd.org (Postfix) with ESMTP id 7AE548FC0A for ; Thu, 26 Jun 2008 13:33:35 +0000 (UTC) (envelope-from luiz@aonet.com.br) Received: (qmail 4551 invoked by uid 0); 26 Jun 2008 13:06:53 -0000 Received: from 201.95.119.91 (luiz@aonet.com.br@201.95.119.91) by mail.aonet.com.br (envelope-from , uid 89) with qmail-scanner-2.01 (uvscan: v5.1.00/v5210. Clear:RC:0(201.95.119.91):. Processed in 0.534575 secs); 26 Jun 2008 13:06:53 -0000 Received: from unknown (HELO note4c47) (luiz@aonet.com.br@201.95.119.91) by aonet.com.br with RC4-MD5 encrypted SMTP; 26 Jun 2008 13:06:53 -0000 Message-ID: <001901c8d78d$8180c680$5e00a8c0@note4c47> From: "Luiz Otavio O Souza" To: "Julian Elischer" , References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> Date: Thu, 26 Jun 2008 10:06:52 -0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Cc: freebsd-hackers@freebsd.org Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 13:33:36 -0000 ----- Original Message ----- Subject: Re: [Fwd: Re: 3 connections as one] : Martes Wigglesworth wrote: : > -------- Forwarded Message -------- : > From: Martes Wigglesworth : > Reply-To: martes@mgwigglesworth.com : > To: Andres Chavez : > Subject: Re: 3 connections as one : > Date: Tue, 24 Jun 2008 16:34:04 -0400 : > : > I have been researching this issue for almost a month now, and what I : > have found is that you can bind the ports together for outbound traffic, : > and the same can be done for inbound traffic, the problem comes when you : > try to get the inbound packets, or sessions to dispurse across the : > load-balanced ports. I.E.: Who is on the other side of the multiple : > DSL/Cable links to filter the traffic across the associated pipes so as : > to "balance the load," so to speak? : > : > It can be done, however, without an upstream, or maybe a vps that is : > being used as an external gateway, you will not be able to get the : > different session traffic to load balance across the multiple links, : > when downloading. : > : > At least that seems to be the situation, without some nifty DNS tricks. : > I have not seen how the "appliances" get around this, however, it took : > me this long for either list that I was on, to even admitt that the : > theory was not stupid, and to engage me in productive inquiry. : : : the usual way is to NAT traffic out though each interface : so that the internet is not aware that sessions from apparently : different places are actually the same.. : : : you can do the same with multiple NAT instances and some way to divide : up the load between interfaces.. I had write a patch, a long time before (probably in 4.x days - before libnat get the kernel bits) wich you can set two (fixed by patch at that time) alias address on natd. Another option has been added to natd, a number wich can be set from 0 to 100 to determine the use of the second alias address. This is intended to be used as "%", so 50 should be read as 50/50% balanced link. So when a connection has to be established for the first time, the patch use the value of balance option to determine what alias address should be used for this new connection. The natd will use the default alias address or the optional alias address based on the "balance" set. So natd is generating new connections in two diferent IPs (for two diferent connections) based on a "%" value, wich allow the use of unequal bandwidth links. At that time the patch work like a charm and is very usefull (as set 0/100 disable the use of one link and 100/0 disable the use of the other link without change any other configuration). Ipfw should be configured to deliver each IP/network to the proper gateway. Due to the number of changes in recent libalias/natd the patch need to be rewrite and the only thing i am not happy (and IMHO should be revised is the number of connections that should be from 1 to any and not limited to two). This should be a simple task for a natd/libalias developer (not enough time for me). -luiz From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 14:32:15 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72B4310656F8 for ; Thu, 26 Jun 2008 14:32:15 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id E746E8FC21 for ; Thu, 26 Jun 2008 14:32:14 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so31064fgb.35 for ; Thu, 26 Jun 2008 07:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=fbYW54ebdkdJSAHAwGdnRVHlEBFW+VWxYfXI5hb6udg=; b=ueiBbcPAhaQ/NlZO1wO5IwKud6sWZbYEgfTaG53vXPtHvafUba0/nt0T4wfXa/avsm /NQ2hPu9ezhuOIUilATFBkcxZ57JN0+C8IOchpGNYTkmEC//KvbCze0d+fFgwmBrV4D9 +6KoJLuVmSZk3d1Sos4sjDjqiM4BsU+CXjD6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FJNbcIYMhkaKnLZtIqKgzy2ZANjWDc8+vaHE85HUseO4F3o9rETPw7N13PW13wlJzQ ClOlofisB/nWO4CEcymm+0yVeIz4PQuqhbdZYo+ZA9XYByE9IXFDIMf5s0bgSEsPYvII nPx6Eqr48axp7QeYk/cWFUpQIyeSUzsisxuDI= Received: by 10.86.49.3 with SMTP id w3mr235880fgw.14.1214490733682; Thu, 26 Jun 2008 07:32:13 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Thu, 26 Jun 2008 07:32:13 -0700 (PDT) Message-ID: <7d6fde3d0806260732w588ed266ve519449f132f90b6@mail.gmail.com> Date: Thu, 26 Jun 2008 07:32:13 -0700 From: "Garrett Cooper" To: "Mike Meyer" In-Reply-To: <20080625151706.1de6e32d@mbook.local> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080619135114.Y1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> <200806250006.06789.thierry@herbelot.com> <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> <20080625151706.1de6e32d@mbook.local> Cc: freebsd-hackers@freebsd.org, Ben Kaduk , thierry@herbelot.com Subject: Re: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 14:32:15 -0000 On Wed, Jun 25, 2008 at 12:17 PM, Mike Meyer wrote: > On Wed, 25 Jun 2008 13:00:09 -0400 "Ben Kaduk" wrote: > >> On Tue, Jun 24, 2008 at 6:06 PM, Thierry Herbelot wrote: >> > >> > is there any hope for having the newly open-sourced radeon/radeon-hd AMD >> > drivers (and the related 3D acceleration) to work under FreeBSD-AMD64 ? >> > >> >> Well, I'm using radeonhd right now on a >> [kaduk@periphrasis /usr/src/sys/contrib/dev/ath/public]$ uname -a >> FreeBSD periphrasis.mit.edu 7.0-STABLE FreeBSD 7.0-STABLE #4: Wed May >> 14 00:27:26 EDT 2008 >> root@periphrasis.mit.edu:/usr/obj/usr/src/sys/PERIPHRASIS amd64 > > I'm not sure those are the drivers Theierry wants. The proprietary > driver was called fglrx, not "radeon" or "radeonhd". Those two drivers > have been in the X open source trees for quite a while now. I first > started using the radeon driver on amd64 in late 2006. The versions I > have checked out for FreeBSD are documented as > > Radeonhd has no 2d or 3d acceleration. > Radeon has both, but only works for older cards. > > That is also on 7-stable, but I haven't updated the sources in a > while. fglrx is the only way that anyone's going to get true 3D OpenGL support, and the last time I checked that wasn't available except for ancient cards on FreeBSD. AMD was supposed to be helping ATI, but it appears that after the merger all that's happened is a website change and ATI's drivers have gotten worse... last time I tried x64 support with Linux I was sadly shocked by the poor programming that went into the driver and the difficulty I had trying to get it to work with X11. Then again things may have changed since that time too... My 2 cents, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 15:09:20 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B45E01065684 for ; Thu, 26 Jun 2008 15:09:20 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc1-s15.bay0.hotmail.com (bay0-omc1-s15.bay0.hotmail.com [65.54.246.87]) by mx1.freebsd.org (Postfix) with ESMTP id 9217E8FC0A for ; Thu, 26 Jun 2008 15:09:20 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from BAY126-W8 ([65.55.131.43]) by bay0-omc1-s15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Jun 2008 07:57:21 -0700 Message-ID: X-Originating-IP: [144.51.73.129] From: Sean Cavanaugh To: Date: Thu, 26 Jun 2008 10:57:20 -0400 Importance: Normal In-Reply-To: <7d6fde3d0806260732w588ed266ve519449f132f90b6@mail.gmail.com> References: <20080619135114.Y1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> <200806250006.06789.thierry@herbelot.com> <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> <20080625151706.1de6e32d@mbook.local> <7d6fde3d0806260732w588ed266ve519449f132f90b6@mail.gmail.com> MIME-Version: 1.0 X-OriginalArrivalTime: 26 Jun 2008 14:57:21.0002 (UTC) FILETIME=[EF516CA0:01C8D79C] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 15:09:20 -0000 > fglrx is the only way that anyone's going to get true 3D OpenGL> support,= and the last time I checked that wasn't available except for> ancient card= s on FreeBSD.> > AMD was supposed to be helping ATI, but it appears that af= ter the> merger all that's happened is a website change and ATI's drivers h= ave> gotten worse... last time I tried x64 support with Linux I was sadly> = shocked by the poor programming that went into the driver and the> difficul= ty I had trying to get it to work with X11.> > Then again things may have c= hanged since that time too...> > My 2 cents,> -Garrett =20 AMD is actively working to opensource the *nic drivers for the ATI cards st= arting with the most recent. From a news article iI came across they were a= ctually hiring a whole new department whose sole purpose was to add more of= the older cards to the open sorce drivers as well as eventually having 3d = acceleration. As for the NEW 4000 series, the card will come with full driv= ers for windows and Linux on the install CD. granted there is still some co= ding to get BSD drivers, but AMD is making life better for *nix user with A= TI cards. = From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 16:53:41 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 345F21065678 for ; Thu, 26 Jun 2008 16:53:41 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id E980F8FC12 for ; Thu, 26 Jun 2008 16:53:40 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.1/8.14.1) with ESMTP id m5QGra4J020328; Thu, 26 Jun 2008 09:53:36 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.1/8.13.4/Submit) id m5QGrasG020325; Thu, 26 Jun 2008 09:53:36 -0700 (PDT) Date: Thu, 26 Jun 2008 09:53:36 -0700 (PDT) From: Matthew Dillon Message-Id: <200806261653.m5QGrasG020325@apollo.backplane.com> To: "Luiz Otavio O Souza" References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> <001901c8d78d$8180c680$5e00a8c0@note4c47> Cc: freebsd-hackers@freebsd.org, martes@mgwigglesworth.com, Julian Elischer Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 16:53:41 -0000 You can do it for outgoing connections fairly easily using the NAT trick (with PF), but you can't really load balance multiple links without support from some outside entity. If one of the tunnels goes down you can fail-over but any pre-existing connections will die and have to be re-established on the remaining link(s). That generally works ok for TCP but is total hell for UDP (because the source address will suddenly 'change' on an existing 'connection' and often trigger security blocks or simply break the program in question when it does). I've got a DSL connection and a Cable internet connection at home now, having replaced the T1 I had had for many years. I tried using the NAT trick using PF for outgoing but was never happy with the results under max load (and my links are typically running at 100% 24x7). I wasn't able to get fail-over to work properly with PF at all... the network was actually less reliable instead of more reliable and using NAT meant I had very little control over port selection or reverse-IP. I eventually gave up and now just use my DSL line for all my normal traffic, and my cable link for my off-site backup traffic. -- I'm planning out a new solution, one that a friend of mine implemented with a portable class C he owns at a colo with a single link which I want to extend to multiple links. The idea is to chop off a subnet from the colo-routed class C and run it to the home box over multiple tunnels (one over COMCAST, one over DSL). I am going to run all the tunnels through a single user program on my router box and backhaul it into a TUN interface (using PF on the TUN interface for QOS), and have the user program do all the load balancing and fail-over. Since the whole mess is routing a single subnet, no NAT tricks are needed and packets can be routed 100% dynamically. There would be no disconnections or UDP IP address changes. The only caveat is that the colo adds another 10ms to the round-trip time verses a direct connection. But on the plus side the home network can operate uninterrupted over however many discrete internet links I have access to, including modem dial backup or a directional WIFI link between friend's houses. -- I still gotta find time to write that program but there's nothing fancy about the concept. Maintain multiple links, route packets over the links that are up... simple stuff really. DragonFly has a number of utilities that make the job easy which FreeBSD folks might want to look into: http://www.dragonflybsd.org/cvsweb/src/usr.sbin/vknetd/ (vknetd is a packet switch, complete with a MAC cache & forwarding). + SOCK_SEQPACKET support in the kernel for unix domain sockets. (it wouldn't be too hard for FreeBSD to implement SOCK_SEQPACKET and stream connection support via unix domain sockets, it took less then a day to get it into DFly). Having a packetized stream socket connection to a user program (vknetd) which implements a packet switch takes all the effort out of messing around with network routing, literally. -Matt From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 16:40:25 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DB431065678 for ; Thu, 26 Jun 2008 16:40:25 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (merlin.alerce.com [64.62.142.94]) by mx1.freebsd.org (Postfix) with ESMTP id 598268FC1E for ; Thu, 26 Jun 2008 16:40:25 +0000 (UTC) (envelope-from hartzell@alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id 0A1B033C62; Thu, 26 Jun 2008 09:19:50 -0700 (PDT) Received: from postfix.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by merlin.alerce.com (Postfix) with ESMTP id CC49833C5B; Thu, 26 Jun 2008 09:19:49 -0700 (PDT) Received: by postfix.alerce.com (Postfix, from userid 501) id 5221845A1A0; Thu, 26 Jun 2008 09:19:29 -0700 (PDT) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18531.49553.276614.955953@almost.alerce.com> Date: Thu, 26 Jun 2008 09:19:29 -0700 To: Mike Meyer In-Reply-To: <20080625151706.1de6e32d@mbook.local> References: <20080619135114.Y1807@kozubik.com> <1214322926.1505.65.camel@scotth.emsphone.com> <7d6fde3d0806241040x6ed9dea6y79d2c2d62ff1b30f@mail.gmail.com> <200806250006.06789.thierry@herbelot.com> <47d0403c0806251000q66162234nac5c0b1f7bf9b64c@mail.gmail.com> <20080625151706.1de6e32d@mbook.local> X-Mailer: VM 7.19 under Emacs 22.1.50.1 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Thu, 26 Jun 2008 16:57:21 +0000 Cc: freebsd-hackers@freebsd.org, Ben Kaduk , thierry@herbelot.com Subject: Re: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 16:40:25 -0000 Mike Meyer writes: > [...] > I'm not sure those are the drivers Theierry wants. The proprietary > driver was called fglrx, not "radeon" or "radeonhd". Those two drivers > have been in the X open source trees for quite a while now. I first > started using the radeon driver on amd64 in late 2006. The versions I > have checked out for FreeBSD are documented as > > Radeonhd has no 2d or 3d acceleration. > Radeon has both, but only works for older cards. > > That is also on 7-stable, but I haven't updated the sources in a > while. radeonhd does offer 2d acceleration, and 3-d is a work-in-progress, with existing support for some of the newish cards. You can get more info here: http://www.x.org/wiki/radeonhd Actually, the entire thing is still a work-in-progress, but the community is supportive. If you try to build from the git sources, you'll need to have the devel/xorg-macros port/package installed for the autogen.sh step to work. g. From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 17:07:52 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0331F10656AB for ; Thu, 26 Jun 2008 17:07:52 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outK.internet-mail-service.net (outk.internet-mail-service.net [216.240.47.234]) by mx1.freebsd.org (Postfix) with ESMTP id D48918FC1B for ; Thu, 26 Jun 2008 17:07:51 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id A134A2497; Thu, 26 Jun 2008 10:07:51 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id A49102D6004; Thu, 26 Jun 2008 10:07:50 -0700 (PDT) Message-ID: <4863CCF4.3000200@elischer.org> Date: Thu, 26 Jun 2008 10:08:04 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Matthew Dillon References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> <001901c8d78d$8180c680$5e00a8c0@note4c47> <200806261653.m5QGrasG020325@apollo.backplane.com> In-Reply-To: <200806261653.m5QGrasG020325@apollo.backplane.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, martes@mgwigglesworth.com, Luiz Otavio O Souza Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:07:52 -0000 Matthew Dillon wrote: > You can do it for outgoing connections fairly easily using the NAT > trick (with PF), but you can't really load balance multiple links > without support from some outside entity. If one of the tunnels goes > down you can fail-over but any pre-existing connections will die and > have to be re-established on the remaining link(s). That generally > works ok for TCP but is total hell for UDP (because the source address > will suddenly 'change' on an existing 'connection' and often trigger > security blocks or simply break the program in question when it does). > > I've got a DSL connection and a Cable internet connection at home now, > having replaced the T1 I had had for many years. > > I tried using the NAT trick using PF for outgoing but was never happy > with the results under max load (and my links are typically running > at 100% 24x7). I wasn't able to get fail-over to work properly with > PF at all... the network was actually less reliable instead of more > reliable and using NAT meant I had very little control over port > selection or reverse-IP. > > I eventually gave up and now just use my DSL line for all my normal > traffic, and my cable link for my off-site backup traffic. > > -- > > I'm planning out a new solution, one that a friend of mine implemented > with a portable class C he owns at a colo with a single link which I > want to extend to multiple links. The idea is to chop off a subnet from > the colo-routed class C and run it to the home box over multiple tunnels > (one over COMCAST, one over DSL). > > I am going to run all the tunnels through a single user program on my > router box and backhaul it into a TUN interface (using PF on the TUN > interface for QOS), and have the user program do all the load balancing > and fail-over. Since the whole mess is routing a single subnet, no > NAT tricks are needed and packets can be routed 100% dynamically. > There would be no disconnections or UDP IP address changes. > > The only caveat is that the colo adds another 10ms to the round-trip > time verses a direct connection. But on the plus side the home network > can operate uninterrupted over however many discrete internet links I > have access to, including modem dial backup or a directional WIFI link > between friend's houses. I've done that running mpd to split the load over the tunnels from the colo. if either tunnel goes down mpd hickups nd hten everything keeps going.. > > -- > > I still gotta find time to write that program but there's nothing > fancy about the concept. Maintain multiple links, route packets over > the links that are up... simple stuff really. DragonFly has a number > of utilities that make the job easy which FreeBSD folks might want to > look into: > > http://www.dragonflybsd.org/cvsweb/src/usr.sbin/vknetd/ > > (vknetd is a packet switch, complete with a MAC cache & forwarding). ng_bridge.. > > + SOCK_SEQPACKET support in the kernel for unix domain sockets. > (it wouldn't be too hard for FreeBSD to implement SOCK_SEQPACKET > and stream connection support via unix domain sockets, it took > less then a day to get it into DFly). > > Having a packetized stream socket connection to a user program (vknetd) > which implements a packet switch takes all the effort out of messing > around with network routing, literally. mpd does this for me.. > > -Matt From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 17:35:18 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6AAA106567F for ; Thu, 26 Jun 2008 17:35:18 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4878FC1F for ; Thu, 26 Jun 2008 17:35:17 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.2) with ESMTP id m5QHIgUB086500 for ; Thu, 26 Jun 2008 21:18:42 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Thu, 26 Jun 2008 21:18:42 +0400 (MSD) From: Dmitry Morozovsky To: hackers@FreeBSD.org Message-ID: <20080626211352.M77682@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (woozle.rinet.ru [0.0.0.0]); Thu, 26 Jun 2008 21:18:42 +0400 (MSD) Cc: Subject: i386 jail undex amd64: libkvm X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:35:18 -0000 Dear colleagues, it seems this question had been arised several times, but I failed to find any solution (yet). What is (and is there?) the proper way to compile libkvm-related binaries (and libkvm itself) to assure 32bit binaries work with amd64 kernel structures? Straight way with installing i386 world, or cross-compile with TARGET=i386 leads to empty result with ps and kvm_open: kinfo_proc size mismatch (expected 768, got 1088) top: Out of memory. with top. I tried to play with lib32 libraries and different system headers, but did not succeed. Any clues? Thank you in advance. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 17:42:49 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11B74106567A for ; Thu, 26 Jun 2008 17:42:49 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id D5C058FC1E for ; Thu, 26 Jun 2008 17:42:48 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.1/8.14.1) with ESMTP id m5QHgb02020789; Thu, 26 Jun 2008 10:42:37 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.1/8.13.4/Submit) id m5QHgbWo020788; Thu, 26 Jun 2008 10:42:37 -0700 (PDT) Date: Thu, 26 Jun 2008 10:42:37 -0700 (PDT) From: Matthew Dillon Message-Id: <200806261742.m5QHgbWo020788@apollo.backplane.com> To: Julian Elischer References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> <001901c8d78d$8180c680$5e00a8c0@note4c47> <200806261653.m5QGrasG020325@apollo.backplane.com> <4863CCF4.3000200@elischer.org> Cc: freebsd-hackers@freebsd.org, martes@mgwigglesworth.com, Luiz Otavio O Souza Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:42:49 -0000 :I've done that running mpd to split the load over the tunnels from the :colo. : :if either tunnel goes down mpd hickups nd hten everything keeps going.. :.. :mpd does this for me.. That looks almost perfect for the colo idea. I see how the links are set up and I see the bundle directive, but how do I configure a common subnet? Do I specify the same subnet for all the links and make them part of the same bundle (on both ends)? Is there a way to backhaul the bundle onto a single TUN interface? Or is that what ng_eiface is for? I need a tie-in for PF's QOS. There's no choice about that, my network is 100% saturated 24x7 and if I don't use PF's QOS with fair-share scheduling it becomes unusable. Looks like I might have to update netgraph on DFly to use mpd, but it doesn't look too difficult. But, gods, all those M_NOWAIT kernel mallocs... how can that possibly be reliable? -Matt Matthew Dillon From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 19:54:18 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB11B1065682 for ; Thu, 26 Jun 2008 19:54:18 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outI.internet-mail-service.net (outi.internet-mail-service.net [216.240.47.232]) by mx1.freebsd.org (Postfix) with ESMTP id C88588FC15 for ; Thu, 26 Jun 2008 19:54:18 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 87529247C; Thu, 26 Jun 2008 12:54:18 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 619922D6012; Thu, 26 Jun 2008 12:54:18 -0700 (PDT) Message-ID: <4863F3F9.6020206@elischer.org> Date: Thu, 26 Jun 2008 12:54:33 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Matthew Dillon References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> <001901c8d78d$8180c680$5e00a8c0@note4c47> <200806261653.m5QGrasG020325@apollo.backplane.com> <4863CCF4.3000200@elischer.org> <200806261742.m5QHgbWo020788@apollo.backplane.com> In-Reply-To: <200806261742.m5QHgbWo020788@apollo.backplane.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, martes@mgwigglesworth.com, Luiz Otavio O Souza Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 19:54:19 -0000 Matthew Dillon wrote: > :I've done that running mpd to split the load over the tunnels from the > :colo. > : > :if either tunnel goes down mpd hickups nd hten everything keeps going.. > :.. > :mpd does this for me.. > > That looks almost perfect for the colo idea. I see how the links are > set up and I see the bundle directive, but how do I configure a common > subnet? Do I specify the same subnet for all the links and make them > part of the same bundle (on both ends)? > > Is there a way to backhaul the bundle onto a single TUN interface? > Or is that what ng_eiface is for? I need a tie-in for PF's QOS. > There's no choice about that, my network is 100% saturated 24x7 and > if I don't use PF's QOS with fair-share scheduling it becomes unusable. the ng_iface that is created (ng0 or whatever) is the virtual connection back to the colo. now that we have multiple routing tables we can make the tunnel and its contents use different routing tables which can simplify things. mpd allows you to backhaul through udp or tcp transport 'tunnels' to the remote poitn of your choice. > > Looks like I might have to update netgraph on DFly to use mpd, but it > doesn't look too difficult. But, gods, all those M_NOWAIT kernel > mallocs... how can that possibly be reliable? what can I say without degenerating into a dogfight? The code is designed to copy with failure to allocate.. the error will propogate up.. not much is allocated once you have it set up. > > -Matt > Matthew Dillon > From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 20:02:52 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A783106567C for ; Thu, 26 Jun 2008 20:02:52 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 47E1D8FC16 for ; Thu, 26 Jun 2008 20:02:52 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 3AEDC248A; Thu, 26 Jun 2008 12:49:19 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 0F2782D601C; Thu, 26 Jun 2008 12:49:19 -0700 (PDT) Message-ID: <4863F2CE.30902@elischer.org> Date: Thu, 26 Jun 2008 12:49:34 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Dmitry Morozovsky References: <20080626211352.M77682@woozle.rinet.ru> In-Reply-To: <20080626211352.M77682@woozle.rinet.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: hackers@FreeBSD.org Subject: Re: i386 jail undex amd64: libkvm X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 20:02:52 -0000 Dmitry Morozovsky wrote: > Dear colleagues, > > it seems this question had been arised several times, but I failed to find any > solution (yet). > > What is (and is there?) the proper way to compile libkvm-related binaries (and > libkvm itself) to assure 32bit binaries work with amd64 kernel structures? > > Straight way with installing i386 world, or cross-compile with TARGET=i386 > leads to empty result with ps and > you can not do this. there are a small number of system utilities that can not be run across the 386/amd64 chasm. Anything that uses libkvm on the riunning system is one of them. teh asnwer is to have a small numebr of 64 bit utilities in your "32 bit" jail. Netstat, ps and some others are examples (top, systat). you could put the 64 bit shared libs in your jail, or you could grab static versions from /rescue. It's just the way it has to be.. (unless we have special code to translate proc structure fields. which probably wouldn't make sense anyhow). > kvm_open: kinfo_proc size mismatch (expected 768, got 1088) > top: Out of memory. > > with top. > > I tried to play with lib32 libraries and different system headers, but did not > succeed. > > Any clues? > > Thank you in advance. > > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > [ FreeBSD committer: marck@FreeBSD.org ] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 20:12:47 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9177106568B for ; Thu, 26 Jun 2008 20:12:47 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id ADC678FC2A for ; Thu, 26 Jun 2008 20:12:47 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.1/8.14.1) with ESMTP id m5QKCfOA022096; Thu, 26 Jun 2008 13:12:41 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.1/8.13.4/Submit) id m5QKCfgl022095; Thu, 26 Jun 2008 13:12:41 -0700 (PDT) Date: Thu, 26 Jun 2008 13:12:41 -0700 (PDT) From: Matthew Dillon Message-Id: <200806262012.m5QKCfgl022095@apollo.backplane.com> To: Julian Elischer References: <1214430974.26401.0.camel@devstation> <4862DCB5.6080005@elischer.org> <001901c8d78d$8180c680$5e00a8c0@note4c47> <200806261653.m5QGrasG020325@apollo.backplane.com> <4863CCF4.3000200@elischer.org> <200806261742.m5QHgbWo020788@apollo.backplane.com> <4863F3F9.6020206@elischer.org> Cc: freebsd-hackers@freebsd.org, martes@mgwigglesworth.com, Luiz Otavio O Souza Subject: Re: [Fwd: Re: 3 connections as one] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 20:12:48 -0000 :what can I say without degenerating into a dogfight? :The code is designed to copy with failure to allocate.. the error will :propogate up.. : :not much is allocated once you have it set up. Well, not really trying to start a fight but unless the initialization code that sets this stuff up retries on ENOMEM, don't you risk load on the machine creating a situation where M_NOWAIT can return NULL under normal operation and cause a one-time initialization to basically fail? That doesn't sound good to me. I've noticed the same thing with many driver's softc allocations. A lot of them use M_NOWAIT but clearly do not handle a temporary allocation failure. They may not crash, but they won't initialize either. The user expectation is for the driver to only fail to initialize if something serious has occured. DragonFly is a bit more sensitive then FreeBSD. Maybe M_NOWAIT allocations on FreeBSD have no chance of failing unless the system is actually out of memory. But on DFly anything that would cause a thread switch during the allocation will fail if M_NOWAIT is specified. -Matt Matthew Dillon From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 23:14:56 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CF1610656B5 for ; Thu, 26 Jun 2008 23:14:56 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 074EB8FC2D for ; Thu, 26 Jun 2008 23:14:55 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <486422EF.3070501@FreeBSD.org> Date: Fri, 27 Jun 2008 01:14:55 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:14:56 -0000 I am looking for a command-line utility that can fetch via bittorrent that a) doesn't use curses. It must be usable in a script and without a tty! b) doesn't use X11. Must be a command-line utility! c) Must be able to inform the script when the transfer is complete. A callback mechanism of some kind is fine as long as it doesn't require polling. This is for distribution of files within a LAN and WAN: I have some large files that I need to distribute to many machines, and pushing them all out multiple times from the server is inefficient. Things that come close: * The python implementation, but it doesn't seem to work very reliably. I get errors and exceptions from both the client and server when transferring a file with only two machines participating. * http://www.murmeldjur.se/btpd/ is a daemon with command line client. It doesn't provide for c), and it also doesn't work reliably. * Not much else. Surely I am not the first person to want to use bittorrent in a script? Kris From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 23:17:53 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61C211065681 for ; Thu, 26 Jun 2008 23:17:53 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.180]) by mx1.freebsd.org (Postfix) with ESMTP id DF0028FC15 for ; Thu, 26 Jun 2008 23:17:52 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so89172ika.3 for ; Thu, 26 Jun 2008 16:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=bUrLxb/CpS10fMjZHu9mQgysY2THKYrcLEUWVOt618U=; b=GgfqfEMPf+HR7AHvL3CiBXvAd3lzsYB+cNSs/DjJErk3JAWUspFfDoOgeqwQRpp6Ba mZDvuLNuOpLfngaXSsmqiVqGteCzDEpoR0/oK3wU7iCGpyf9n/Yp/hhCkm1H9vOjOiOW /P/NXIvhlVgQGv57tTVwAaQQ2nc4rXPPe4aB4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=Z684+lr1WvugEKn4VhIB8gQybnJIKhAiGZmliUtSnWJEDvQTRo1TndPNGhnvOhtt3l V2NawrjxaR7J/0kK6VKeZRAjt96/ZHbZRRsg70WW46YBofY4CbtrEQWA/4wEfzmAnArh yNJQg8VaVt1HXakA+l3gOSBxXHzPBEtL3m7dw= Received: by 10.210.11.13 with SMTP id 13mr436842ebk.142.1214522272030; Thu, 26 Jun 2008 16:17:52 -0700 (PDT) Received: from phi.local ( [89.214.217.117]) by mx.google.com with ESMTPS id j8sm858179gvb.1.2008.06.26.16.17.48 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 16:17:50 -0700 (PDT) Date: Fri, 27 Jun 2008 00:16:03 +0100 From: Rui Paulo To: Matthias Apitz Message-ID: <20080626231603.GC6875@phi.local> References: <20080626075545.GA2964@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080626075545.GA2964@rebelion.Sisis.de> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Rui Paulo Cc: freebsd-hackers@freebsd.org, james@nighthack.org Subject: Re: eeePC 900 && turning off wireless (ath0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:17:53 -0000 On Thu, Jun 26, 2008 at 09:55:45AM +0200, Matthias Apitz wrote: > > Hello, > > Yesterday I did some tests with my eeePC 900 to see how long it would > work with the 4400 mAh battery ... it seems that turning of the wireless > card (ath0), which can be turned of from the BIOS, has big effect and > let work the eeePC for more then 2hours 15minutes; > > in the Xandros Linux you can turn off the NIC as well with Fn+F2 which > in FreeBSD does not work at boot stage, i.e. when you may defer the > booting in the boot loader countdown; Yes, this only works after booting. At least on the 701. > is there any way to switch this off without going into the BIOS? After booting you can unload ath module and press Fn+F2. It should turn off wireless. The problem is that you can't turn it back on. For that, we need PCIe hotplug support. (That's what Fn+F2 does, it ejects the wireless card). Regards, -- Rui Paulo From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 23:51:21 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DFC31065677 for ; Thu, 26 Jun 2008 23:51:21 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ED3EE8FC21; Thu, 26 Jun 2008 23:51:19 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <48642B77.90104@FreeBSD.org> Date: Fri, 27 Jun 2008 01:51:19 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Jille Timmermans References: <486422EF.3070501@FreeBSD.org> <4864239F.1050308@hexon.cx> In-Reply-To: <4864239F.1050308@hexon.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:51:21 -0000 Jille Timmermans wrote: > (enhanced) ctorrent Seems to fail requirement a). Am I wrong? Kris > > Kris Kennaway schreef: >> I am looking for a command-line utility that can fetch via bittorrent >> that >> >> a) doesn't use curses. It must be usable in a script and without a tty! >> >> b) doesn't use X11. Must be a command-line utility! >> >> c) Must be able to inform the script when the transfer is complete. A >> callback mechanism of some kind is fine as long as it doesn't require >> polling. >> >> This is for distribution of files within a LAN and WAN: I have some >> large files that I need to distribute to many machines, and pushing >> them all out multiple times from the server is inefficient. >> >> Things that come close: >> >> * The python implementation, but it doesn't seem to work very >> reliably. I get errors and exceptions from both the client and server >> when transferring a file with only two machines participating. >> >> * http://www.murmeldjur.se/btpd/ is a daemon with command line client. >> It doesn't provide for c), and it also doesn't work reliably. >> >> * Not much else. >> >> Surely I am not the first person to want to use bittorrent in a script? >> >> Kris >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 00:13:00 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42B871065687; Fri, 27 Jun 2008 00:13:00 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8EBE68FC2A; Fri, 27 Jun 2008 00:12:59 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <4864308B.8030202@FreeBSD.org> Date: Fri, 27 Jun 2008 02:12:59 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: Kris Kennaway References: <486422EF.3070501@FreeBSD.org> In-Reply-To: <486422EF.3070501@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Hackers Subject: Re: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 00:13:00 -0000 Kris Kennaway wrote: > I am looking for a command-line utility that can fetch via bittorrent [...] OK folks, you can stop telling me to use ctorrent now :) I had looked at that but assumed it was using curses (it's not). Thanks! Kris From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 23:47:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A05B1065670 for ; Thu, 26 Jun 2008 23:47:13 +0000 (UTC) (envelope-from drquis@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0F38FC14 for ; Thu, 26 Jun 2008 23:47:12 +0000 (UTC) (envelope-from drquis@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so67529nfh.33 for ; Thu, 26 Jun 2008 16:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding:sender; bh=DxtQyAn3Leh/0vWB0OpeNSk5lN4KSAy/y2DNwdI8Xzo=; b=o/Gl6KHPPflmiB5/8/zlvuv101DNxniFVxaqtF8yK4kAyWgu52RbGYKnUs9pTBVIif 21brs5ho9YfM2xZlp3sdqJZuIY05ZnMupxclviRL5dui/sigHE3rurdty+6mEHjaLYhe 0UEvSk5AotfJWMuo0R+6nrdZhFbiebfT6WhhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:sender; b=CLuvje170ibSzaC7G/WGmP1V1TcplfX31AJq71oOV43rnzUXh8yDdg+GnMGPH3SdXA 8J/UUPxG/LR85dDRuASqxkKgvInkDCZFjVul62QJ+wW584xrucYZXfIcn4n+i9gpvXm9 P7yKBa0+cTuXyUh+jkXl4OQiDzOCXJLDgkqAM= Received: by 10.210.88.3 with SMTP id l3mr452559ebb.79.1214522273991; Thu, 26 Jun 2008 16:17:53 -0700 (PDT) Received: from ?192.168.1.11? ( [82.174.113.83]) by mx.google.com with ESMTPS id 7sm3375266nfv.32.2008.06.26.16.17.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 26 Jun 2008 16:17:53 -0700 (PDT) Message-ID: <4864239F.1050308@hexon.cx> Date: Fri, 27 Jun 2008 01:17:51 +0200 From: Jille Timmermans User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Kris Kennaway References: <486422EF.3070501@FreeBSD.org> In-Reply-To: <486422EF.3070501@FreeBSD.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: Quis X-Mailman-Approved-At: Fri, 27 Jun 2008 01:02:48 +0000 Cc: FreeBSD Hackers Subject: Re: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:47:13 -0000 (enhanced) ctorrent Kris Kennaway schreef: > I am looking for a command-line utility that can fetch via bittorrent > that > > a) doesn't use curses. It must be usable in a script and without a tty! > > b) doesn't use X11. Must be a command-line utility! > > c) Must be able to inform the script when the transfer is complete. A > callback mechanism of some kind is fine as long as it doesn't require > polling. > > This is for distribution of files within a LAN and WAN: I have some > large files that I need to distribute to many machines, and pushing > them all out multiple times from the server is inefficient. > > Things that come close: > > * The python implementation, but it doesn't seem to work very > reliably. I get errors and exceptions from both the client and server > when transferring a file with only two machines participating. > > * http://www.murmeldjur.se/btpd/ is a daemon with command line client. > It doesn't provide for c), and it also doesn't work reliably. > > * Not much else. > > Surely I am not the first person to want to use bittorrent in a script? > > Kris > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 01:03:10 2008 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3A6610656AF; Fri, 27 Jun 2008 01:03:09 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.freebsd.org (Postfix) with ESMTP id C1A2F8FC1D; Fri, 27 Jun 2008 01:03:09 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [192.168.1.5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id m5R0axVe019100; Thu, 26 Jun 2008 19:37:00 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 26 Jun 2008 19:36:59 -0500 (CDT) From: "Sean C. Farley" To: Kris Kennaway In-Reply-To: <486422EF.3070501@FreeBSD.org> Message-ID: References: <486422EF.3070501@FreeBSD.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: FreeBSD Hackers Subject: Re: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 01:03:10 -0000 On Fri, 27 Jun 2008, Kris Kennaway wrote: > I am looking for a command-line utility that can fetch via bittorrent > that > > a) doesn't use curses. It must be usable in a script and without a > tty! > > b) doesn't use X11. Must be a command-line utility! > > c) Must be able to inform the script when the transfer is complete. A > callback mechanism of some kind is fine as long as it doesn't require > polling. > > This is for distribution of files within a LAN and WAN: I have some > large files that I need to distribute to many machines, and pushing > them all out multiple times from the server is inefficient. More choices: 1. /usr/ports/net-p2p/transmission 2. /usr/ports/net-p2p/transmission-daemon Sean -- scf@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 23:58:16 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E7A2106566B for ; Thu, 26 Jun 2008 23:58:16 +0000 (UTC) (envelope-from jamesfrancistoy@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 53AFC8FC18 for ; Thu, 26 Jun 2008 23:58:16 +0000 (UTC) (envelope-from jamesfrancistoy@gmail.com) Received: by an-out-0708.google.com with SMTP id b33so71947ana.13 for ; Thu, 26 Jun 2008 16:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=z0Q2ZMmAncHC47tdhD2kHlkDxEIj4i1RpQikTQGHsjU=; b=kh9/epN++Kd70FzoIeDOWccvDYFOy1qxinjkN2b43AvIdJ3HZK27n1Xn/RUIbcU3W5 1up0kKL8oAb+JOYN+vWBh33l8VpIF57Ox02PpnQ7Eli2IbrcAH+ZXD3m2SIU1KuTVsXU 2kuTuQzLNuxvzq3QQ8Pecne7VnLW2bC3GY4fc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:references:x-google-sender-auth; b=A8P1vDndbhJ2oSddTrVj3jPU/WyHG213zC3Z4a4UsX/AdAM7/XrA1l6EfpQ5iWFRgb 2j/E1tgVXvXWUqJAsPA+V8KB4/8dy+Y2gC79yGslP0fVrPNZAiHKTsWxHgG4zlDSPw1M AR/YNn/GzD5Az40+9Ae58dpolr+L4MiZbxZmI= Received: by 10.100.247.14 with SMTP id u14mr811691anh.104.1214523014498; Thu, 26 Jun 2008 16:30:14 -0700 (PDT) Received: by 10.100.190.10 with HTTP; Thu, 26 Jun 2008 16:30:14 -0700 (PDT) Message-ID: <9f8af95f0806261630l4c30db6dw58d771aa697ce63b@mail.gmail.com> Date: Thu, 26 Jun 2008 19:30:14 -0400 From: bbs@mail.ie Sender: jamesfrancistoy@gmail.com To: "Kris Kennaway" In-Reply-To: <486422EF.3070501@FreeBSD.org> MIME-Version: 1.0 References: <486422EF.3070501@FreeBSD.org> X-Google-Sender-Auth: 56973ac66b5b1320 X-Mailman-Approved-At: Fri, 27 Jun 2008 01:08:21 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Hackers Subject: Re: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 23:58:16 -0000 Kris, just at a first glance i noticed wikipedia had a pretty good breakdown of some clients available -- this isn't meant to be rude RTFM at all -- :) -- i just thought it might be helpful -- maybe not. http://en.wikipedia.org/wiki/BitTorrent_client respectfully, jt On Thu, Jun 26, 2008 at 7:14 PM, Kris Kennaway wrote: > I am looking for a command-line utility that can fetch via bittorrent that > > a) doesn't use curses. It must be usable in a script and without a tty! > > b) doesn't use X11. Must be a command-line utility! > > c) Must be able to inform the script when the transfer is complete. A > callback mechanism of some kind is fine as long as it doesn't require > polling. > > This is for distribution of files within a LAN and WAN: I have some large > files that I need to distribute to many machines, and pushing them all out > multiple times from the server is inefficient. > > Things that come close: > > * The python implementation, but it doesn't seem to work very reliably. I > get errors and exceptions from both the client and server when transferring > a file with only two machines participating. > > * http://www.murmeldjur.se/btpd/ is a daemon with command line client. It > doesn't provide for c), and it also doesn't work reliably. > > * Not much else. > > Surely I am not the first person to want to use bittorrent in a script? > > Kris > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- jt From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 03:00:50 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 912591065674 for ; Fri, 27 Jun 2008 03:00:50 +0000 (UTC) (envelope-from tim@clewlow.org) Received: from clewlow.org (clewlow.org [210.215.149.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4AAA48FC0C for ; Fri, 27 Jun 2008 03:00:50 +0000 (UTC) (envelope-from tim@clewlow.org) Received: from 192.168.1.100 (localhost [127.0.0.1]) by clewlow.org (Postfix) with ESMTP id 67D081C081D for ; Fri, 27 Jun 2008 12:44:25 +1000 (EST) Received: from 192.168.1.10 (SquirrelMail authenticated user tim) by 192.168.1.100 with HTTP; Fri, 27 Jun 2008 12:44:25 +1000 (EST) Message-ID: <52484.192.168.1.10.1214534665.squirrel@192.168.1.100> Date: Fri, 27 Jun 2008 12:44:25 +1000 (EST) From: "Tim Clewlow" To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: ICANN votes to expand domain name character set X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 03:00:50 -0000 Hi there, In case you haven't heard yet, ICANN have unanimously voted their approval to expand the domain name character set to include Asian, Middle Eastern, Eastern European and Russian character sets in domain names. In addition, top level domains will have their restrictions removed, ie any non-offensive top level domains will now be allowed. I'm guessing the inclusion of the new character sets will mean a fair amount of alteration to code that processes domain names. http://www.icann.org/en/announcements/announcement-4-26jun08-en.htm Cheers, Tim. We are BSD ... resistance is futile. http://www.freebsd.org/ - http://www.openbsd.org/ - http://www.netbsd.org/ From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 05:41:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3DA41065676 for ; Fri, 27 Jun 2008 05:41:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8FF8FC12 for ; Fri, 27 Jun 2008 05:41:34 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 2774 invoked by uid 399); 27 Jun 2008 05:14:54 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 27 Jun 2008 05:14:54 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4864774A.4080601@FreeBSD.org> Date: Thu, 26 Jun 2008 22:14:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tim Clewlow References: <52484.192.168.1.10.1214534665.squirrel@192.168.1.100> In-Reply-To: <52484.192.168.1.10.1214534665.squirrel@192.168.1.100> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: ICANN votes to expand domain name character set X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 05:41:34 -0000 Tim Clewlow wrote: > Hi there, > > In case you haven't heard yet, ICANN have unanimously voted their > approval to expand the domain name character set to include Asian, > Middle Eastern, Eastern European and Russian character sets in domain > names. That's already possible at the second level and above through IDN. Check out ftp://ftp.rfc-editor.org/in-notes/rfc3491.txt and ftp://ftp.rfc-editor.org/in-notes/rfc3492.txt. In short, the client software that deals with IDNs is required to make the translation from "International" characters to punycode strings before sending the dns request, so in an ideal world nothing below the client layer will have to change. So far the world has been more or less ideal, depending on where you sit. :) The actual change that's being announced now is the approval of IDN strings at the top level. Conceptually this is the same mechanism. But the "layer 9" stuff make this really interesting/complicated/annoying, once again depending on where you sit. I was involved in a lot of IDN stuff when I was at ICANN running the IANA, so if anyone wants more details let me know, I can go on for hours. > In addition, top level domains will have their restrictions removed, > ie any non-offensive top level domains will now be allowed. That's not _quite_ true. The restriction of two-letter domains for country codes will still be in place, and there is some protection for trademark holders, etc. > I'm guessing the inclusion of the new character sets will mean a fair > amount of alteration to code that processes domain names. Client code, yes. In a lot of ways FreeBSD is behind the curve on this, since we really should have been building (more) punycode translation capability into our client software already. The good news is that on the software level if you can do that for the second level and above it's pretty easy to do it for TLDs. The more interesting problem there is a lot of ancient software, web scripts, etc. with hard-coded rules about how TLDs only have 3 characters .... hth, Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 06:28:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 995BC106567C for ; Fri, 27 Jun 2008 06:28:34 +0000 (UTC) (envelope-from karimulla@krify.com) Received: from omta0102.mta.everyone.net (imta-38.everyone.net [216.200.145.38]) by mx1.freebsd.org (Postfix) with ESMTP id 90F8F8FC19 for ; Fri, 27 Jun 2008 06:28:34 +0000 (UTC) (envelope-from karimulla@krify.com) Received: from dm24.mta.everyone.net (sj1-slb03-gw2 [172.16.1.96]) by omta0102.mta.everyone.net (Postfix) with ESMTP id 745B76BE94B for ; Thu, 26 Jun 2008 23:04:21 -0700 (PDT) X-Eon-Dm: dm24 Received: by resin17.mta.everyone.net (EON-PICKUP) id resin17.4861a2ac.1c4e3; Thu, 26 Jun 2008 23:04:21 -0700 Message-Id: <20080626230421.BD605429@resin17.mta.everyone.net> Date: Thu, 26 Jun 2008 23:04:21 -0700 From: "karim sk" To: Content-Transfer-Encoding: base64 X-Eon-Sig: AQKKlONIZILlopGjoAEAAAAB,0601cf59ff594583a81f8a2893773da6 X-Originating-Ip: [203.145.174.100] MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Modifying the loaded kernel image X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karimulla@krify.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 06:28:34 -0000 PERJViBzdHlsZT0iZm9udC1mYW1pbHk6QXJpYWwsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZT oxMHB0 OyI+PEZPTlQgc2l6ZT0iMiI+PFNQQU4gc3R5bGU9ImZvbnQtZmFtaWx5OiBBcmlhbCxzYW 5zLXNl cmlmOyI+SGksPEJSPjxCUj5JIG5lZWQgdG8gbW9kaWZ5IG9uZSBvZiB0aGUga2VybmVsIG hhcmR3 YXJlIG1vZHVsZSAoIHdoaWNoIGlzIHBhcnQgb2Yga2VybmVsIGltYWdlKSBhbmQgaSBoYX ZlIHRv IGxvYWQgdGhhdCBtb2R1bGUgaW5zdGVhZCBvZiB0aGUgb2xkIG9uZS48QlI+U28gd2hhdC BpIGFt IGRvaW5nIG5vdyBpcyA8QlI+RHVyaW5nIGJvb3QgdXAgc3RlcCBpbnRvIGxvYWRlciBwcm 9tcHQg YW5kIGkgYW0gdHlwaW5nIHRoZSBmb2xsb3dpbmcgY29tbWFuZHMuPEJSPmxvYWQga2Vybm VsIChM b2FkIHRoZSBrZXJuZWwgKTxCUj5sb2FkIG1vZHVsZSAoIFRvIGxvYWQgbXkgY3VzdG9taX plZCBt b2R1bGUpPEJSPmJvb3QgKCBUbyBzdGFydCB0aGUgbm9ybWFsIGJvb3QpLjxCUj48QlI+Tm 93IGkg YW0gZmFjaW5nIHNvbWUgcHJvYmxlbSBoZXJlLiBMb2FkaW5nIG9mIG15IG1vZHVsZSBpcy BzdWNj ZXNzZnVsIGJ1dCBteSBtb2R1bGUgcmVnaXN0cmF0aW9uIGlzIG5vdCBnZXR0aW5nIHN1Y2 Nlc3Nm dWwuIGkuZS4gT1MgaXMgcmVwb3J0aW5nIHRoYXQgbW9kdWxlX3JlZ2lzdGVyIGdvdCBmYW lsZWQg YXMgdGhlcmUgZXhpc3RzIGFscmVhZHkgYSBtb2R1bGUgd2l0aCB0aGF0IG5hbWUuIE5vdy B0aGUg cHJvYmxlbSBpcyBpIGNhbnQgZG8gdW5sb2FkIG9mIHRoZSBvbGQgY29tcG9uZW50IGFzIG l0IGlz IG5vdCBhIG1vZHVsZS4mbmJzcDsgQ2FuIGFueSBib2R5IHRlbGwgbWUgaG93IHRvIHJlbW 92ZSB0 aGUgY29tcG9uZW50IGZyb20gdGhlIGtlcm5lbCBpbWFnZSB3aXRoIG91dCByZWNvbXBpbG luZyB0 aGUga2VybmVsLjxCUj48QlI+PEJSPlRoYW5rcyBpbiBhZHZhbmNlLjxCUj5LYXJpbS48Ql I+PEJS PjwvU1BBTj48L0ZPTlQ+PEJSPiZuYnNwOzxCUj48SFI+SSB1c2UgS3JpZnkgTWFpbCAtIG h0dHA6 Ly9tYWlsLmtyaWZ5LmNvbSZuYnNwOyBHZXQmbmJzcDsgeW91cm1haWwgYXQmbmJzcDsgS3 JpZnkg dG9kYXkhPC9ESVY+ From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 07:37:41 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 203D2106567B for ; Fri, 27 Jun 2008 07:37:41 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1A3A58FC17 for ; Fri, 27 Jun 2008 07:37:41 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id EA7941CC031; Fri, 27 Jun 2008 00:37:40 -0700 (PDT) Date: Fri, 27 Jun 2008 00:37:40 -0700 From: Jeremy Chadwick To: karim sk Message-ID: <20080627073740.GA29727@eos.sc1.parodius.com> References: <20080626230421.BD605429@resin17.mta.everyone.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20080626230421.BD605429@resin17.mta.everyone.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org Subject: Re: Modifying the loaded kernel image X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 07:37:41 -0000 On Thu, Jun 26, 2008 at 11:04:21PM -0700, karim sk wrote: >
Hi,

I need to = modify one of the kernel hardware module ( which is part of kernel image) a= nd i have to load that module instead of the old one.
So what i am doing= now is
During boot up step into loader prompt and i am typing the foll= owing commands.
load kernel (Load the kernel )
load module ( To load = my customized module)
boot ( To start the normal boot).

Now i am = facing some problem here. Loading of my module is successful but my module = registration is not getting successful. i.e. OS is reporting that module_re= gister got failed as there exists already a module with that name. Now the = problem is i cant do unload of the old component as it is not a module.&nbs= p; Can any body tell me how to remove the component from the kernel image w= ith out recompiling the kernel.


Thanks in advance.
Karim.
=

 

I use Krify Mail - http://mail.krify.co= m  Get  yourmail at  Krify today!
Short answer: you can't. Also, HTML Email is incredibly annoying. And you know what's even *more* annoying? HTML Email that is sent with a text/plain MIME type, indicating it's not HTML. Fix your mail client, it's very rude. --=20 | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 08:02:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F231065678 for ; Fri, 27 Jun 2008 08:02:09 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id C6E198FC13 for ; Fri, 27 Jun 2008 08:02:08 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([193.31.10.34]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 27 Jun 2008 10:02:06 +0200 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id m5R823jd020008; Fri, 27 Jun 2008 10:02:03 +0200 (CEST) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 27 Jun 2008 10:02:03 +0200 From: Matthias Apitz To: Rui Paulo Message-ID: <20080627080203.GA19602@rebelion.Sisis.de> References: <20080626075545.GA2964@rebelion.Sisis.de> <20080626231603.GC6875@phi.local> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080626231603.GC6875@phi.local> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-RELEASE (i386) X-OriginalArrivalTime: 27 Jun 2008 08:02:06.0839 (UTC) FILETIME=[17BB9870:01C8D82C] Cc: freebsd-hackers@freebsd.org, james@nighthack.org Subject: Re: eeePC 900 && turning off wireless (ath0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 08:02:09 -0000 El día Friday, June 27, 2008 a las 12:16:03AM +0100, Rui Paulo escribió: > On Thu, Jun 26, 2008 at 09:55:45AM +0200, Matthias Apitz wrote: > > > > Hello, > > > > Yesterday I did some tests with my eeePC 900 to see how long it would > > work with the 4400 mAh battery ... it seems that turning of the wireless > > card (ath0), which can be turned of from the BIOS, has big effect and > > let work the eeePC for more then 2hours 15minutes; > > > > in the Xandros Linux you can turn off the NIC as well with Fn+F2 which > > in FreeBSD does not work at boot stage, i.e. when you may defer the > > booting in the boot loader countdown; > > Yes, this only works after booting. At least on the 701. > > > is there any way to switch this off without going into the BIOS? > > After booting you can unload ath module and press Fn+F2. It should turn > off wireless. > > The problem is that you can't turn it back on. For that, we need PCIe > hotplug support. (That's what Fn+F2 does, it ejects the wireless card). Hello Rui, I recompiled the kernel to have if_ath out of the kernel, but as a loaded module at boot: $ kldstat Id Refs Address Size Name 1 14 0xc0400000 8c7098 kernel 2 1 0xc0cc8000 1242c if_ath.ko 3 3 0xc0cdb000 46324 ath_hal.ko 4 2 0xc0d22000 4218 ath_rate.ko 5 1 0xc0d27000 14324 snd_hda.ko 6 2 0xc0d3c000 4a5ac sound.ko 7 1 0xc0d87000 6a32c acpi.ko 8 1 0xc4394000 22000 linux.ko I can unload if_ath, ath_hal and ath_rate which drops the interface ath0, but even in this case Fn+F2 has no affect at all; any idea? I've had a look into the Xandros Linux and they do it with ACPI events, dropping the modules and others; I could provide their script /etc/acpi/wlan.sh if someone wants to have a look into; Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ «...una sola vez, que es cuanto basta si se trata de verdades definitivas.» «...only once, which is enough if it has todo with definite truth.» José Saramago, Historia del Cerca de Lisboa From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 09:02:20 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7A1A1065687 for ; Fri, 27 Jun 2008 09:02:20 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 8E64A8FC16 for ; Fri, 27 Jun 2008 09:02:20 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 747B7681BED for ; Fri, 27 Jun 2008 10:43:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yaVPjrVVR2J7 for ; Fri, 27 Jun 2008 10:43:29 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 58E04681858 for ; Fri, 27 Jun 2008 10:43:29 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m5R8hTnP039575 for hackers@freebsd.org; Fri, 27 Jun 2008 10:43:29 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 27 Jun 2008 10:43:29 +0200 From: Roman Divacky To: hackers@freebsd.org Message-ID: <20080627084328.GA39337@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: kmem_alloc_wait and memory pools questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 09:02:20 -0000 hi I have two questions: 1) is kmem_alloc_wait() expensive operation? I believe it's not very cheap looking at the code but I want confirmation 2) is there a support for memory pools in FreeBSD? to give you a little background why I am asking this. In NetBSD Andrew Doran claims that replacing allocation from a memory submap with an allocation from a memory pool for exec*() args he can speedup exec*() by ~25% I wonder if this applies to FreeBSD too so I am investigating it a little. thnx! roman From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 11:50:15 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95AF51065670 for ; Fri, 27 Jun 2008 11:50:15 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.freebsd.org (Postfix) with ESMTP id CD72D8FC1B for ; Fri, 27 Jun 2008 11:50:14 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-064-185-170.pools.arcor-ip.net [88.64.185.170]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis) id 0MKwtQ-1KCCSz0jdb-0006BA; Fri, 27 Jun 2008 13:50:13 +0200 Received: (qmail 43311 invoked from network); 27 Jun 2008 11:47:53 -0000 Received: from myhost.laiers.local (192.168.4.151) by router.laiers.local with SMTP; 27 Jun 2008 11:47:53 -0000 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Fri, 27 Jun 2008 13:48:20 +0200 User-Agent: KMail/1.9.9 References: <20080627084328.GA39337@freebsd.org> In-Reply-To: <20080627084328.GA39337@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806271348.20172.max@love2party.net> X-Provags-ID: V01U2FsdGVkX184ZD+v20kbJBy2lJaxZtodcH5v+5T+DmqWv1p RlYMk3WsAFESYkW9uxRNswNrRMJJCqSf2vNbVVsU06zRjuzDAI peerua/v57RXszS+WLAOQ== Cc: Roman Divacky Subject: Re: kmem_alloc_wait and memory pools questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 11:50:15 -0000 On Friday 27 June 2008 10:43:29 Roman Divacky wrote: > hi > > I have two questions: > > 1) is kmem_alloc_wait() expensive operation? I believe it's not > very cheap looking at the code but I want confirmation > > 2) is there a support for memory pools in FreeBSD? > > to give you a little background why I am asking this. In NetBSD Andrew > Doran claims that replacing allocation from a memory submap with an > allocation from a memory pool for exec*() args he can speedup exec*() > by ~25% I think what is called a "memory pool" in NetBSD refers to their pool(9) API. This is more or less the same as our uma(9). Whether or not this is what you are looking for - I don't know. > I wonder if this applies to FreeBSD too so I am investigating it a > little. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 11:58:40 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B25C81065675 for ; Fri, 27 Jun 2008 11:58:40 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.freebsd.org (Postfix) with ESMTP id 7C00F8FC18 for ; Fri, 27 Jun 2008 11:58:40 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id A7A8C3F61A7; Fri, 27 Jun 2008 13:58:38 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id B746E3F6291; Fri, 27 Jun 2008 13:58:37 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id ED1229B497; Fri, 27 Jun 2008 11:54:03 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id DCE654089; Fri, 27 Jun 2008 13:54:03 +0200 (CEST) Date: Fri, 27 Jun 2008 13:54:03 +0200 From: Jeremie Le Hen To: Mark Carlson Message-ID: <20080627115403.GK15815@obiwan.tataz.chchile.org> References: <20080619135114.Y1807@kozubik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-06) Cc: jamie@bishopston.net, freebsd-advocacy@freebsd.org, freebsd-hackers@freebsd.org, gb.public@free.fr, narayan@neelum.com Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 11:58:40 -0000 Hi, On Tue, Jun 24, 2008 at 11:03:08AM -0600, Mark Carlson wrote: > I've found wine + firefox + flash to work for everything I've tried so > far (youtube, various websites with flash ads, one or two flash-only > sites.) It did crash on me once, but I'm not sure it was related to > flash. Wine is pretty good, but not perfect. If all you need is to > visit flash sites, it's a decent workaround in the mean time. Also, I > was very surprised how easy it was to set up (not having used wine > before.) The sake of completeness, I think it's worth mentionning that when using nspluginwrapper, it is theorically possible to run the Flash plugin (and other ones too) inside QEMU. I've read this on nspluginwrapper author's website [1]: this trick is used to execute binary plugins for i386 on other platforms but this could obviously work for our problem. Unfortunately, I've never seen any documentation or instruction to set up this. I've Cc'ed the author, in case he has some time to provide additional details. [1] http://gwenole.beauchesne.info/en/projects/nspluginwrapper/help#usage Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 12:30:35 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64C41106567B for ; Fri, 27 Jun 2008 12:30:35 +0000 (UTC) (envelope-from fbsd06+XJ=3ad42aaf@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 43F338FC1E for ; Fri, 27 Jun 2008 12:30:34 +0000 (UTC) (envelope-from fbsd06+XJ=3ad42aaf@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 17C641646ED for ; Fri, 27 Jun 2008 08:18:36 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 3344523E4CA for ; Fri, 27 Jun 2008 08:18:30 -0400 (EDT) Date: Fri, 27 Jun 2008 13:18:22 +0100 From: RW To: freebsd-hackers@freebsd.org Message-ID: <20080627131822.28b1dcff@gumby.homeunix.com.> In-Reply-To: <20080627073740.GA29727@eos.sc1.parodius.com> References: <20080626230421.BD605429@resin17.mta.everyone.net> <20080627073740.GA29727@eos.sc1.parodius.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Modifying the loaded kernel image X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 12:30:35 -0000 On Fri, 27 Jun 2008 00:37:40 -0700 Jeremy Chadwick wrote: > Also, HTML Email is incredibly annoying. And you know what's even > *more* annoying? HTML Email that is sent with a text/plain MIME type, > indicating it's not HTML. There was also a problem with the base64 encoding, claws-mail couldn't display the message at all From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 13:50:51 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AB2F106564A for ; Fri, 27 Jun 2008 13:50:51 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.168]) by mx1.freebsd.org (Postfix) with ESMTP id 497CA8FC0A for ; Fri, 27 Jun 2008 13:50:51 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so443643wfg.7 for ; Fri, 27 Jun 2008 06:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=aZaVkA4UbtOxnXjtbXB0b8HoGMNsth9EtZK6Up61FSc=; b=rcRbc+ScXjM7K4xd6UtceXG/1i7YvYRy57EP5rzVDLvIN5/w2xs9Bv29NvrZxVPhQ3 /sIFy634hyab9iA/M4wdlR1+JvhzSxwn+uRGrNG+0oJofesuk/5M9KfiBZnJ6vfC8Ear fm/IPo8ho++Ct7AopsR+BpSoYuENRLM7b+73Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TdGw6VyrJvR+E71qHiElWb4PAI45+Fs8PHc1WLhrgZ6bw1n7AUTVQrl8QNjFJcwa+m 1bcjE6Hp/oKI+1sz8IEFu55+T3WkIq7hOEHTsupETGhxw2OaF2H6Tzc8Scg3ic4HYsdF IXaJLcFHaZvcCX7gw7k3vAdLQw2QrLKx/DBIk= Received: by 10.142.139.19 with SMTP id m19mr519355wfd.154.1214574649714; Fri, 27 Jun 2008 06:50:49 -0700 (PDT) Received: by 10.142.199.19 with HTTP; Fri, 27 Jun 2008 06:50:49 -0700 (PDT) Message-ID: <3a142e750806270650x338e7c49oaf2fab603fb636b@mail.gmail.com> Date: Fri, 27 Jun 2008 15:50:49 +0200 From: "Paul B. Mahol" To: "Kris Kennaway" In-Reply-To: <48642B77.90104@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <486422EF.3070501@FreeBSD.org> <4864239F.1050308@hexon.cx> <48642B77.90104@FreeBSD.org> Cc: FreeBSD Hackers , Jille Timmermans Subject: Re: command-line bittorrent utility X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 13:50:51 -0000 On 6/27/08, Kris Kennaway wrote: > Jille Timmermans wrote: >> (enhanced) ctorrent > > Seems to fail requirement a). Am I wrong? > > Kris > enhanced ctorrent is actual ctorrent from ports. it doesnt use ncurses. ldd /usr/local/bin/ctorrent /usr/local/bin/ctorrent: libssl.so.5 => /usr/lib/libssl.so.5 (0x280a7000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x280e8000) libm.so.5 => /lib/libm.so.5 (0x281db000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x281f4000) libc.so.7 => /lib/libc.so.7 (0x281ff000) libcrypto.so.5 => /lib/libcrypto.so.5 (0x28306000) transmission also doesnt use ncurses. the only one I'm aware of that use ncurses is rtorrent. >> >> Kris Kennaway schreef: >>> I am looking for a command-line utility that can fetch via bittorrent >>> that >>> >>> a) doesn't use curses. It must be usable in a script and without a tty! >>> >>> b) doesn't use X11. Must be a command-line utility! >>> >>> c) Must be able to inform the script when the transfer is complete. A >>> callback mechanism of some kind is fine as long as it doesn't require >>> polling. >>> >>> This is for distribution of files within a LAN and WAN: I have some >>> large files that I need to distribute to many machines, and pushing >>> them all out multiple times from the server is inefficient. >>> >>> Things that come close: >>> >>> * The python implementation, but it doesn't seem to work very >>> reliably. I get errors and exceptions from both the client and server >>> when transferring a file with only two machines participating. >>> >>> * http://www.murmeldjur.se/btpd/ is a daemon with command line client. >>> It doesn't provide for c), and it also doesn't work reliably. >>> >>> * Not much else. >>> >>> Surely I am not the first person to want to use bittorrent in a script? >>> >>> Kris >>> >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to >>> "freebsd-hackers-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 13:38:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E022F10656A9; Fri, 27 Jun 2008 13:38:38 +0000 (UTC) (envelope-from gb.public@free.fr) Received: from wmproxy2-g27.free.fr (wmproxy2-g27.free.fr [212.27.42.92]) by mx1.freebsd.org (Postfix) with ESMTP id AEA778FC1B; Fri, 27 Jun 2008 13:38:38 +0000 (UTC) (envelope-from gb.public@free.fr) Received: from spooler5-g27.priv.proxad.net (spooler5-g27.priv.proxad.net [172.20.243.237]) by wmproxy2-g27.free.fr (Postfix) with ESMTP id 1AD5573AA; Fri, 27 Jun 2008 15:21:58 +0200 (CEST) Date: Fri, 27 Jun 2008 15:21:42 +0200 (CEST) From: gb.public@free.fr To: Jeremie Le Hen Message-ID: <12511256.2869421214572902697.JavaMail.root@spooler5-g27.priv.proxad.net> In-Reply-To: <29921993.2869251214572837043.JavaMail.root@spooler5-g27.priv.proxad.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [80.13.159.160] X-Mailer: Zimbra 5.0.5_GA_2166.UBUNTU6 (ZimbraWebClient - [unknown] (Linux)/5.0.5_GA_2166.UBUNTU6) X-Mailman-Approved-At: Fri, 27 Jun 2008 13:51:57 +0000 Cc: jamie@bishopston.net, freebsd-advocacy@freebsd.org, freebsd-hackers@freebsd.org, Mark Carlson , narayan@neelum.com Subject: Re: Lack of Flash support is no longer acceptable. Bounty established... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 13:38:39 -0000 Hi, > The sake of completeness, I think it's worth mentionning that when > using > nspluginwrapper, it is theorically possible to run the Flash plugin > (and > other ones too) inside QEMU. This is possible but slow and I used a very old version of QEMU. IIRC, the OpenSUSE wiki mentions how to do that with a more recent version of QEMU. However, if you run on i386, you don't need QEMU, simply use nspluginwrapper as is. I use FreeBSD 6.1 and tested FlashPlayer 9 lately, it works. Though not in a browser yet but with a standalone plugins viewer I wrote for testing and another project. I don't mean it won't work in a browser, I only mean I haven't got time to fully test with Firefox on *BSD yet. You can get trunk, which represents the upcoming nspluginwrapper 1.2.0, through: $ svn co http://svn.beauchesne.info/svn/gwenole/projects/nspluginwrapper/trunk nspluginwrapper nspluginwrapper 1.0.0 (targetted to be released this weekend) is available in a separate branch: $ svn co http://svn.beauchesne.info/svn/gwenole/projects/nspluginwrapper/branches/nspluginwrapper-1.0-branch I have not written docs for the standalone player yet (npplayer) but its usage is rather simple: npplayer src=uri/to/flash/content.swf npplayer can be useful to you so that to test whether your problems are related to your Linux emulator or the browser, or even nspluginwrapper. BTW, I would appreciate if people could test nspluginwrapper 1.0 on recent FreeBSD versions before I release it since I only have FreeBSD 6.1 and FreeBSD 5.3 at home. Thanks. Regards, Gwenole Beauchesne. From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 14:27:29 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 225151065679 for ; Fri, 27 Jun 2008 14:27:29 +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 D94428FC0C for ; Fri, 27 Jun 2008 14:27:28 +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; 27 Jun 2008 09:58:57 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id OUP90200; Fri, 27 Jun 2008 09:58:56 -0400 (EDT) Received: from 209-6-22-188.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 27 Jun 2008 09:58:41 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18532.61969.358948.2956@jerusalem.litteratus.org> Date: Fri, 27 Jun 2008 09:58:41 -0400 To: Sean Cavanaugh In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-hackers@freebsd.org Subject: RE: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 14:27:29 -0000 Sean Cavanaugh writes: > AMD is actively working to opensource the *nic drivers for the > ATI cards starting with the most recent. From a news article iI > came across they were actually hiring a whole new department > whose sole purpose was to add more of the older cards to the open > sorce drivers as well as eventually having 3d acceleration. As > for the NEW 4000 series, the card will come with full drivers for > windows and Linux on the install CD. granted there is still some > coding to get BSD drivers, but AMD is making life better for *nix > user with ATI cards. Is there any place (web site, wiki, blog) where the public can track this effort? Robert Huff From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 14:49:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38FC2106566B for ; Fri, 27 Jun 2008 14:49:24 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (hercules.mthelicon.com [66.90.103.179]) by mx1.freebsd.org (Postfix) with ESMTP id F2D318FC18 for ; Fri, 27 Jun 2008 14:49:23 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from PortaPeg (93-152-16-141.max.managedbroadband.co.uk [93.152.16.141]) (authenticated bits=0) by hercules.mthelicon.com (8.14.2/8.14.2) with ESMTP id m5REnKmi091957; Fri, 27 Jun 2008 14:49:22 GMT (envelope-from ken@mthelicon.com) From: "Pegasus Mc Cleaft" To: "'Robert Huff'" , "'Sean Cavanaugh'" References: <18532.61969.358948.2956@jerusalem.litteratus.org> In-Reply-To: <18532.61969.358948.2956@jerusalem.litteratus.org> Date: Fri, 27 Jun 2008 15:49:14 +0100 Message-ID: <001e01c8d864$fcbd6920$f6383b60$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcjYYfohaDMbJ0+qTiu7OOfo81jfHQAAveeQ Content-Language: en-gb Cc: freebsd-hackers@freebsd.org Subject: RE: 3D for AMD64 (was Re: Lack of Flash support is no longer acceptable. Bounty established...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 14:49:24 -0000 http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=summary > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd- > hackers@freebsd.org] On Behalf Of Robert Huff > Sent: 27 June 2008 14:59 > To: Sean Cavanaugh > Cc: freebsd-hackers@freebsd.org > Subject: RE: 3D for AMD64 (was Re: Lack of Flash support is no longer > acceptable. Bounty established...) > > > Sean Cavanaugh writes: > > > AMD is actively working to opensource the *nic drivers for the > > ATI cards starting with the most recent. From a news article iI > > came across they were actually hiring a whole new department > > whose sole purpose was to add more of the older cards to the open > > sorce drivers as well as eventually having 3d acceleration. As > > for the NEW 4000 series, the card will come with full drivers for > > windows and Linux on the install CD. granted there is still some > > coding to get BSD drivers, but AMD is making life better for *nix > > user with ATI cards. > > Is there any place (web site, wiki, blog) where the public can > track this effort? > > > Robert Huff > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 16:51:32 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90FD81065688 for ; Fri, 27 Jun 2008 16:51:32 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.freebsd.org (Postfix) with ESMTP id 78B9A8FC32 for ; Fri, 27 Jun 2008 16:51:32 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.1/8.14.1) with ESMTP id m5RGpWU0030681 for ; Fri, 27 Jun 2008 09:51:32 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.1/8.13.4/Submit) id m5RGpW8C030680; Fri, 27 Jun 2008 09:51:32 -0700 (PDT) Date: Fri, 27 Jun 2008 09:51:32 -0700 (PDT) From: Matthew Dillon Message-Id: <200806271651.m5RGpW8C030680@apollo.backplane.com> To: freebsd-hackers@freebsd.org References: <20080627084328.GA39337@freebsd.org> <200806271348.20172.max@love2party.net> Subject: Re: kmem_alloc_wait and memory pools questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 16:51:32 -0000 :On Friday 27 June 2008 10:43:29 Roman Divacky wrote: :> hi :> :> I have two questions: :> :> 1) is kmem_alloc_wait() expensive operation? I believe it's not :> very cheap looking at the code but I want confirmation :> :> 2) is there a support for memory pools in FreeBSD? :> :> to give you a little background why I am asking this. In NetBSD Andrew :> Doran claims that replacing allocation from a memory submap with an :> allocation from a memory pool for exec*() args he can speedup exec*() :> by ~25% : :I think what is called a "memory pool" in NetBSD refers to their pool(9) :API. This is more or less the same as our uma(9). Whether or not this :is what you are looking for - I don't know. : :> I wonder if this applies to FreeBSD too so I am investigating it a :> little. : :-- :/"\ Best regards, | mlaier@freebsd.org :\ / Max Laier | ICQ #67774661 Yes, and yes. The key issue here is that kmem_alloc*() futzes with the kernel page tables every single time, and on a SMP box that is extremely expensive due to the cpu synchronization required. A memory pool, on the other hand, tends to simply reuse kernel memory which has already been mapped. Much less page table futzing goes on. I don't know if UMA is exactly equivalent for allocations that large (exec-args is 64-128K), but someone else can answer that. The key issue with regards to converting exec args is that you still must limit the pool size and block if too many processes are trying to exec at once, or you will really unbalance physical (and on i386 KVM) memory use. A pool able to hold 8-16 allocations, and hence handle 8-16 simultanious exec()s, is plenty big enough. (DragonFly did this about a year ago, it is definitely worth doing). -Matt From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 19:42:01 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09FB3106566C for ; Fri, 27 Jun 2008 19:42:01 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id EC8968FC0A for ; Fri, 27 Jun 2008 19:42:00 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id 63B0D1A93DA for ; Fri, 27 Jun 2008 12:41:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UzHlbiPFRK+E for ; Fri, 27 Jun 2008 12:41:42 -0700 (PDT) Received: from iago.office.miralink.com (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 0A6581A9204 for ; Fri, 27 Jun 2008 12:41:42 -0700 (PDT) Message-ID: <48654287.4000508@miralink.com> Date: Fri, 27 Jun 2008 12:41:59 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: FreeBSD Hackers Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Error from systinstall while trying to install man page packages X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 19:42:01 -0000 I am attempting to install the man page distribution from sysinstall on my RELENG_7 box and getting errors that my distribution doesn't exist. I assume that it is due to the fact that I have recompiled my kernel and sysinstall is using something from my "uname" output to figure out what directories it should look in for packages. Can anyone give me some guidance on how to get sysinstall to know what it's version acutally is? uname output: FreeBSD ophelia 7.0-STABLE FreeBSD 7.0-STABLE #7: Fri Jun 27 12:11:52 UTC 2008 sbruno@ophelia:/usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/compile/GENERIC i386 -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 19:46:36 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E76E1065680 for ; Fri, 27 Jun 2008 19:46:36 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by mx1.freebsd.org (Postfix) with ESMTP id AE0598FC22 for ; Fri, 27 Jun 2008 19:46:35 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so16330uge.37 for ; Fri, 27 Jun 2008 12:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=IfSSSLTXsDVi1dqMahKB5SqKZBADlcniqvT9ijCCZ+o=; b=ZcjVyTdlmgO/MfWvG5aG570NGbsDQ79difm27z2KEW2rZC/ex7PScjbTRo4KLur1Zs CPTVDMX56NOaRj8gufD0oIfWk1BG1FI0i5sD7BdlPz4g2BilQIlL6oGprNZXwe/kqy5k LsVNTgbNxk5PQ/nH5/SjswO5THmpWYPVKDKvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=WIZkqnmD/gi0qEII9Ac/HP9R3tpXUX5g2yrxybkOtvWkAx7NpO2dXdEbEG5R2oT5Ob /At2jc9JeqCY8CVqZPtVa3AFTs+jVFZdq70yUTWcYPdtZM4NZIrcyBBACSbs4yoKXp6m Ql17qrcu2LszfyuNgyszoIDVUlm/NY47iKxgo= Received: by 10.210.37.16 with SMTP id k16mr1458748ebk.194.1214595995021; Fri, 27 Jun 2008 12:46:35 -0700 (PDT) Received: from phi.local ( [89.214.166.113]) by mx.google.com with ESMTPS id u14sm4946594gvf.6.2008.06.27.12.46.31 (version=SSLv3 cipher=RC4-MD5); Fri, 27 Jun 2008 12:46:34 -0700 (PDT) Date: Fri, 27 Jun 2008 20:44:47 +0100 From: Rui Paulo To: Matthias Apitz Message-ID: <20080627194447.GA34524@phi.local> References: <20080626075545.GA2964@rebelion.Sisis.de> <20080626231603.GC6875@phi.local> <20080627080203.GA19602@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080627080203.GA19602@rebelion.Sisis.de> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: Rui Paulo Cc: freebsd-hackers@freebsd.org, james@nighthack.org Subject: Re: eeePC 900 && turning off wireless (ath0) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 19:46:36 -0000 On Fri, Jun 27, 2008 at 10:02:03AM +0200, Matthias Apitz wrote: > Hello Rui, > > I recompiled the kernel to have if_ath out of the kernel, but as a > loaded module at boot: > > $ kldstat > Id Refs Address Size Name > 1 14 0xc0400000 8c7098 kernel > 2 1 0xc0cc8000 1242c if_ath.ko > 3 3 0xc0cdb000 46324 ath_hal.ko > 4 2 0xc0d22000 4218 ath_rate.ko > 5 1 0xc0d27000 14324 snd_hda.ko > 6 2 0xc0d3c000 4a5ac sound.ko > 7 1 0xc0d87000 6a32c acpi.ko > 8 1 0xc4394000 22000 linux.ko > > I can unload if_ath, ath_hal and ath_rate which drops the interface > ath0, but even in this case Fn+F2 has no affect at all; any idea? Oh, then I guess the 900 is different. > I've had a look into the Xandros Linux and they do it with ACPI events, > dropping the modules and others; I could provide their script > /etc/acpi/wlan.sh if someone wants to have a look into; If turning off WLAN is now done via ACPI events, then the patch I committed to HEAD will probably help. I'll MFC it in a week, but if you can give it a try, that would be great. Please contact me off-list if you need assistance. Regards, -- Rui Paulo From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 20:45:09 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D8E9106566B for ; Fri, 27 Jun 2008 20:45:09 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id 0AE958FC13 for ; Fri, 27 Jun 2008 20:45:08 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id C48C11A93DE; Fri, 27 Jun 2008 13:44:49 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vb6iyuEHfV6f; Fri, 27 Jun 2008 13:44:49 -0700 (PDT) Received: from iago.office.miralink.com (iago.office.miralink.com [10.0.0.40]) by plato.miralink.com (Postfix) with ESMTP id 81ECA1A93D9; Fri, 27 Jun 2008 13:44:49 -0700 (PDT) Message-ID: <48655154.20709@miralink.com> Date: Fri, 27 Jun 2008 13:45:08 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Sebastian_Tymk=F3w?= References: <48654287.4000508@miralink.com> <692660060806271325n45a863admbf037c50de9cf266@mail.gmail.com> In-Reply-To: <692660060806271325n45a863admbf037c50de9cf266@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Hackers Subject: Re: Error from systinstall while trying to install man page packages X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 20:45:09 -0000 Sebastian Tymków wrote: > Hi, > > You can set information in sysinstall using "Options" and setting > "Release name" > > Best regards, > > Sebastian Tymkow Thanks. What should I set the Release name to? -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 20:48:20 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AD66106567C for ; Fri, 27 Jun 2008 20:48:20 +0000 (UTC) (envelope-from sclark46@earthlink.net) Received: from elasmtp-scoter.atl.sa.earthlink.net (elasmtp-scoter.atl.sa.earthlink.net [209.86.89.67]) by mx1.freebsd.org (Postfix) with ESMTP id E66158FC15 for ; Fri, 27 Jun 2008 20:48:19 +0000 (UTC) (envelope-from sclark46@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=JBYb7u3JjO9/5yEjGcvtbHP0DKJgB0UeZBWDRkRDotcSfx6h/0vQfot6X5kD9lBW; h=Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [24.144.77.185] (helo=joker.seclark.com) by elasmtp-scoter.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KCKh9-0006oB-2P; Fri, 27 Jun 2008 16:37:23 -0400 Message-ID: <48654F81.6010500@earthlink.net> Date: Fri, 27 Jun 2008 16:37:21 -0400 From: Stephen Clark User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Niki Denev References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> <2e77fc10806221101q684baf47r9ee7208a676f59e@mail.gmail.com> In-Reply-To: <2e77fc10806221101q684baf47r9ee7208a676f59e@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec795e61f6b3257fed7c69329e9121def9d6350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.144.77.185 X-Mailman-Approved-At: Fri, 27 Jun 2008 21:20:32 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org, =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sclark46@earthlink.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 20:48:20 -0000 Niki Denev wrote: > On Sun, Jun 22, 2008 at 6:05 PM, Patrick Lamaizière > wrote: >> Le Fri, 6 Jun 2008 23:41:35 +0200, >> Patrick Lamaizière a écrit : >> >> Hello, >> >>> I'm trying to port the glxsb driver from OpenBSD to FreeBSD 7-STABLE >>> (via the NetBSD port). >>> " The glxsb driver supports the security block of the Geode LX >>> series processors. The Geode LX is a member of the AMD Geode family >>> of integrated x86 system chips. >>> >>> Driven by periodic checks for available data from the generator, >>> glxsb supplies entropy to the random(4) driver for common usage. >>> >>> glxsb also supports acceleration of AES-128-CBC operations for >>> crypto(4)." >> Well, I hope this is the final version. >> >> http://user.lamaiziere.net/patrick/glxsb-220608.tar.gz >> >> I added a patch for FreeBSD 6 but i'am not able to test it. >> >> On 7-STABLE, I've tested with hundred openssl encryptions and some flood >> pings under ipsec in the background. Looks good for me. >> >> If someone can test and review it, it would be cool. >> >> Thanks, Regards. > > It compiles on without a problem on 6.2 and loads on my Soekris > Net5501-70 running pfSense (6.2-RELEASE-p11) > > glxsb0: mem > 0xa0000000-0xa0003fff irq 10 at device 1.2 on pci0 > > Thanks!, > Niki > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > Hi, I am trying to compile it on 6.2 and get make: don't know how to make cryptodev_if.h. Stop ??? where is this file? Thanks, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 21:11:01 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07BFE1065675 for ; Fri, 27 Jun 2008 21:11:01 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.176]) by mx1.freebsd.org (Postfix) with ESMTP id C54638FC0A for ; Fri, 27 Jun 2008 21:11:00 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so229730pyb.10 for ; Fri, 27 Jun 2008 14:11:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=01JYop0RbRaLaGq//WHSc10twMbu3pLOteP+j3sv/jE=; b=H95YAcSPGKCgzGprh9Wwr5R9pAGrG95Iovv2IXZZB8rKsyOe9gOx083JDCDdwRfPAZ vDUdFHL4lpgGlCowKAvYAROTtKyczm7BN2CYfwBX1IukADb8OIeGIaUXgeSl6MYZ3ZCr Y8Gl6iK2Y4dtHaGXtLkxJgMrf5+LsK5OhDmsk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=xX5eQuhj2iOACzhq8soFKgvq6Bq77qS14cA4tcVBahnGYM6V5Ihp5aRdakmLqSsFuP qUNGAfqaCJzb1sZ9CzyR42KTdCYwTxjZ8OZs0Gp0hBA2Drezi7wQqTsmy0WtFpef/z2l IG2e8QKBjl+YJ3yAHHEQ4Pe9IlDC9zePkJlTE= Received: by 10.114.171.1 with SMTP id t1mr2014860wae.120.1214601059600; Fri, 27 Jun 2008 14:10:59 -0700 (PDT) Received: by 10.114.80.5 with HTTP; Fri, 27 Jun 2008 14:10:59 -0700 (PDT) Message-ID: <2e77fc10806271410q3205fb21r9aed15ec8b035401@mail.gmail.com> Date: Sat, 28 Jun 2008 00:10:59 +0300 From: "Niki Denev" To: sclark46@earthlink.net In-Reply-To: <48654F81.6010500@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> <2e77fc10806221101q684baf47r9ee7208a676f59e@mail.gmail.com> <48654F81.6010500@earthlink.net> X-Mailman-Approved-At: Fri, 27 Jun 2008 21:30:51 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 21:11:01 -0000 On Fri, Jun 27, 2008 at 11:37 PM, Stephen Clark wrote: > Hi, > > I am trying to compile it on 6.2 and get > make: don't know how to make cryptodev_if.h. Stop > > ??? > where is this file? > > Thanks, > Steve > Have you applied the 6.2 patch included in the latest tgz that Patrick posted? Regards, Niki From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 23:29:37 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87BF51065677 for ; Fri, 27 Jun 2008 23:29:37 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from omr7.networksolutionsemail.com (omr7.networksolutionsemail.com [205.178.146.57]) by mx1.freebsd.org (Postfix) with ESMTP id 4D4018FC12 for ; Fri, 27 Jun 2008 23:29:37 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from mail.networksolutionsemail.com (ns-omr7.mgt.hosting.dc2.netsol.com [10.49.6.70]) by omr7.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id m5RNTa0V032010 for ; Fri, 27 Jun 2008 19:29:36 -0400 Received: (qmail 29311 invoked by uid 78); 27 Jun 2008 23:29:34 -0000 Received: from unknown (HELO ?192.168.5.13?) (marteswigg@mgwigglesworth.com@68.57.94.93) by ns-omr7.lb.hosting.dc2.netsol.com with SMTP; 27 Jun 2008 23:29:34 -0000 From: Martes Wigglesworth To: freebsd-hackers@freebsd.org Content-Type: text/plain Organization: M.G. Wigglesworth, LLC Date: Fri, 27 Jun 2008 19:29:29 -0400 Message-Id: <1214609369.15425.19.camel@devstation> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0-2mdv2008.0 Content-Transfer-Encoding: 7bit Subject: Problems with ieee80211 dependencies... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: martes@mgwigglesworth.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 23:29:37 -0000 I am having a hard time compiling a new kernel when I remove the wireless aspects of the config file. I have removed all options/devices that seem to still require ieee80211 however, I still find that the network section of the compile do not work. I.E. that is where the compile stops, and indicates that an unknown reference to ieee80211 functions... What in the GENERIC config file requires ieee80211? I have included my config file below: cpu I686_CPU ident DATASERVER # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. makeoptions DEBUG=-g # Build kernel with gdb(1) options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates options UFS_ACL # Support for access control options UFS_DIRHASH # Improve performance on big options UFS_GJOURNAL # options MD_ROOT # MD is a potential root device options PROCFS # Process filesystem options PSEUDOFS # Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY options SCSI_DELAY=5000 options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI options AUDIT # Security event auditing # To make an SMP kernel, the next two lines are needed # CPU frequency control device cpufreq # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicam # ATAPI emulation? device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. device ahd options AHD_REG_PRETTY_PRINT # output. Adds ~215k to driver. device amd # AMD 53C974 (Tekram DC-390(T)) device hptiop # Highpoint RocketRaid 3xxx series device isp # Qlogic family #device ispfw device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic device sym # NCR/Symbios Logic device trm # Tekram DC395U/UW/F DC315U adapters device adv # Advansys SCSI adapters device adw # Advansys wide SCSI adapters device aha # Adaptec 154x SCSI adapters device aic # Adaptec 15[012]x SCSI adapters device bt # Buslogic/Mylex MultiMaster SCSI adapters device ncv # NCR 53C500 device nsp # Workbit Ninja SCSI-3 device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services # RAID controllers interfaced to the SCSI subsystem # RAID controllers # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device #device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to sio, uart and/or ppc drivers): #device puc # PCI Ethernet NICs. # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support device dc # DEC/Intel 21143 and various workalikes device fxp # Intel EtherExpress PRO/100B device xl # 3Com 3c90x # 'device ed' requires 'device miibus' # Wireless NIC cards # Pseudo devices. device loop # Network loopback device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Serial devices device ucom # Generic com ttys device uark # Technologies ARK3116 based serial device ubsa # Belkin F5U103 and compatible serial device ubser # BWCT console serial adapters device uftdi # For FTDI usb serial adapters device uipaq # Some WinCE based devices device uplcom # Prolific PL-2303 serial adapters device uslcom # SI Labs CP2101/CP2102 serial adapters device uvisor # Visor and Palm devices device uvscom # USB serial support for DDI pocket's PHS # USB Ethernet, requires miibus #--------------------------Firewall-Options---------------------------------# options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options DUMMYNET From owner-freebsd-hackers@FreeBSD.ORG Fri Jun 27 23:34:56 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11AB11065688 for ; Fri, 27 Jun 2008 23:34:56 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 9786D8FC19 for ; Fri, 27 Jun 2008 23:34:55 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so413069fgb.35 for ; Fri, 27 Jun 2008 16:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=WWY3/CJF3XplIyNQNHJjGy9rDipl520YskAsC9mevBI=; b=kjZ/cMGa9TnI6SDdLsMZjsfQt/siLWBM2ULhCFvMnrei8X1H/ODq0ZPySWJGBfGNEr pWYMOLDpW5amYZKYzgtV5hSzVIBxED/eCgQ3Va23JMe388vmAWiSSbGyE9F6K5/FuQri /yPA7p0keIOm5/VsARNW0TccZiid36MQF5dac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=TlLCpObAqlxJVKg4JhpBgk2DBsYmAngqIjoWSY469dUI7GcX9kqXWcbVzrgeflTYOd DbFCRvc7R/yhYIH6LMqL+GN7MAMw/LKfB9znvJVnHpxK0RqzvS+uO2uJNcOEcvaiPv54 Q3j9BREbyTruTTZR8YNMuuWEe62RAOWtJiuq0= Received: by 10.86.87.13 with SMTP id k13mr2627287fgb.38.1214609694735; Fri, 27 Jun 2008 16:34:54 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Fri, 27 Jun 2008 16:34:54 -0700 (PDT) Message-ID: <7d6fde3d0806271634r2d3d0ebbmfc791509fbcf01b9@mail.gmail.com> Date: Fri, 27 Jun 2008 16:34:54 -0700 From: "Garrett Cooper" To: "Sean Bruno" In-Reply-To: <48655154.20709@miralink.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <48654287.4000508@miralink.com> <692660060806271325n45a863admbf037c50de9cf266@mail.gmail.com> <48655154.20709@miralink.com> Cc: FreeBSD Hackers , =?ISO-8859-1?Q?Sebastian_Tymk=F3w?= Subject: Re: Error from systinstall while trying to install man page packages X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2008 23:34:56 -0000 On Fri, Jun 27, 2008 at 1:45 PM, Sean Bruno wrote: > Sebastian Tymk=F3w wrote: >> >> Hi, >> >> You can set information in sysinstall using "Options" and setting >> "Release name" >> >> Best regards, >> >> Sebastian Tymkow > > Thanks. What should I set the Release name to? According to uname above, 7.0-STABLE (IIRC). Maybe uname -r would show the appropriate value? -Garrett From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 00:07:42 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0A7B1065673 for ; Sat, 28 Jun 2008 00:07:42 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from plato.miralink.com (mail.miralink.com [70.103.185.20]) by mx1.freebsd.org (Postfix) with ESMTP id CA4748FC1B for ; Sat, 28 Jun 2008 00:07:42 +0000 (UTC) (envelope-from sbruno@miralink.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by plato.miralink.com (Postfix) with ESMTP id C83EF1A93D7; Fri, 27 Jun 2008 17:07:21 -0700 (PDT) X-Virus-Scanned: amavisd-new at X-Spam-Flag: NO X-Spam-Score: -4.399 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from plato.miralink.com ([127.0.0.1]) by localhost (plato.miralink.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r4FJ0AxzoRzC; Fri, 27 Jun 2008 17:07:21 -0700 (PDT) Received: from [10.47.1.10] (vpn.office.miralink.com [10.0.0.5]) by plato.miralink.com (Postfix) with ESMTP id 2CC491A93C3; Fri, 27 Jun 2008 17:07:21 -0700 (PDT) Message-ID: <486580CC.8040802@miralink.com> Date: Fri, 27 Jun 2008 17:07:40 -0700 From: Sean Bruno User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Garrett Cooper References: <48654287.4000508@miralink.com> <692660060806271325n45a863admbf037c50de9cf266@mail.gmail.com> <48655154.20709@miralink.com> <7d6fde3d0806271634r2d3d0ebbmfc791509fbcf01b9@mail.gmail.com> In-Reply-To: <7d6fde3d0806271634r2d3d0ebbmfc791509fbcf01b9@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Hackers , =?ISO-8859-1?Q?an_Tymk=F3w?= , =?ISO-8859-1?Q?Sebasti?= Subject: Re: Error from systinstall while trying to install man page packages X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 00:07:43 -0000 Garrett Cooper wrote: > On Fri, Jun 27, 2008 at 1:45 PM, Sean Bruno wrote: > >> Sebastian Tymków wrote: >> >>> Hi, >>> >>> You can set information in sysinstall using "Options" and setting >>> "Release name" >>> >>> Best regards, >>> >>> Sebastian Tymkow >>> >> Thanks. What should I set the Release name to? >> > > According to uname above, 7.0-STABLE (IIRC). Maybe uname -r would show > the appropriate value? > -Garrett > Everything looks fine here as far as I can tell. I still get an error from sysinstall stating that 7.0-STABLE can't be found. Since I rebuilt the kernel from src, should I buildworld on the box and see if that resolves the issue? [sbruno@ophelia ~]$ uname -r 7.0-STABLE [sbruno@ophelia ~]$ uname -a FreeBSD ophelia 7.0-STABLE FreeBSD 7.0-STABLE #9: Fri Jun 27 15:49:54 UTC 2008 sbruno@ophelia:/usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/compile/GENERIC i386 Sean From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 00:08:39 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C04A8106568C for ; Sat, 28 Jun 2008 00:08:39 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.224]) by mx1.freebsd.org (Postfix) with ESMTP id 79D798FC14 for ; Sat, 28 Jun 2008 00:08:39 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so336103wra.27 for ; Fri, 27 Jun 2008 17:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=6DpTMhl8u5tsu1YrbPsuTowjfVFszHqoI6h8yMqIPQk=; b=o5GJ/bNy/F5tGRdabkqHq+YLqvsbmPT+g81l9rJWkdzD+FrT9heQAShozEXZyPmojX zBBkUJCeTRT3habfJQ6/KU+YKA8WLao7Odr7oqsZbs+zX3TVxpm2ivfUje9jpvsrjCFv YQrN1NOiFkZrO+P5QlYtvlYAmohOLjH0LNrhI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Py4b6W8d1EUnY2/wDTzApoHuK4HSd+1A3XHf1ZaNoJLV1/dnaCCfBZ4UE9uuapboDa mub4o59MCYQVWHzvsuY1A+/+tg3LdPVn5pyYZ9mrDyZ97oYjlzwRAJuh6akuGbx9dAnl R7XCFKGlWCBJfKUFHzDhTAhrTLK7qmThnVbHs= Received: by 10.90.79.17 with SMTP id c17mr2428656agb.4.1214610003324; Fri, 27 Jun 2008 16:40:03 -0700 (PDT) Received: by 10.90.115.7 with HTTP; Fri, 27 Jun 2008 16:40:03 -0700 (PDT) Message-ID: Date: Fri, 27 Jun 2008 16:40:03 -0700 From: "Kip Macy" To: martes@mgwigglesworth.com In-Reply-To: <1214609369.15425.19.camel@devstation> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1214609369.15425.19.camel@devstation> Cc: freebsd-hackers@freebsd.org Subject: Re: Problems with ieee80211 dependencies... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 00:08:39 -0000 Nothing jumps out at me, can you send the output of the build failure? -Kip On Fri, Jun 27, 2008 at 4:29 PM, Martes Wigglesworth wrote: > I am having a hard time compiling a new kernel when I remove the > wireless aspects of the config file. I have removed all options/devices > that seem to still require ieee80211 however, I still find that the > network section of the compile do not work. I.E. that is where the > compile stops, and indicates that an unknown reference to ieee80211 > functions... > > What in the GENERIC config file requires ieee80211? I have included my > config file below: > > cpu I686_CPU > ident DATASERVER > > # To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" # Default places to look for > devices. > > makeoptions DEBUG=-g # Build kernel with gdb(1) > > options SCHED_ULE # ULE scheduler > options PREEMPTION # Enable kernel thread > preemption > options INET # InterNETworking > options INET6 # IPv6 communications protocols > options SCTP # Stream Control Transmission > options FFS # Berkeley Fast Filesystem > options SOFTUPDATES # Enable FFS soft updates > options UFS_ACL # Support for access control > options UFS_DIRHASH # Improve performance on big > options UFS_GJOURNAL # > options MD_ROOT # MD is a potential root device > options PROCFS # Process filesystem > options PSEUDOFS # Pseudo-filesystem framework > options GEOM_PART_GPT # GUID Partition Tables. > options GEOM_LABEL # Provides labelization > options COMPAT_43TTY > options SCSI_DELAY=5000 > options KTRACE # ktrace(1) support > options STACK # stack(9) support > options SYSVSHM # SYSV-style shared memory > options SYSVMSG # SYSV-style message queues > options SYSVSEM # SYSV-style semaphores > options _KPOSIX_PRIORITY_SCHEDULING > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options ADAPTIVE_GIANT # Giant mutex is adaptive. > options STOP_NMI > options AUDIT # Security event auditing > > # To make an SMP kernel, the next two lines are needed > > # CPU frequency control > device cpufreq > > # Bus support. > device eisa > device pci > > # Floppy drives > device fdc > > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device ataraid # ATA RAID drives > device atapicam # ATAPI emulation? > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID # Static device numbering > > # SCSI Controllers > device ahb # EISA AHA1742 family > device ahc # AHA2940 and onboard AIC7xxx devices > options AHC_REG_PRETTY_PRINT # Print register bitfields in > debug > # output. Adds ~128k to driver. > device ahd > options AHD_REG_PRETTY_PRINT > # output. Adds ~215k to driver. > device amd # AMD 53C974 (Tekram DC-390(T)) > device hptiop # Highpoint RocketRaid 3xxx series > device isp # Qlogic family > #device ispfw > device mpt # LSI-Logic MPT-Fusion > #device ncr # NCR/Symbios Logic > device sym # NCR/Symbios Logic > device trm # Tekram DC395U/UW/F DC315U adapters > > device adv # Advansys SCSI adapters > device adw # Advansys wide SCSI adapters > device aha # Adaptec 154x SCSI adapters > device aic # Adaptec 15[012]x SCSI adapters > device bt # Buslogic/Mylex MultiMaster SCSI > adapters > > device ncv # NCR 53C500 > device nsp # Workbit Ninja SCSI-3 > device stg # TMC 18C30/18C50 > > # SCSI peripherals > device scbus # SCSI bus (required for SCSI) > device ch # SCSI media changers > device da # Direct Access (disks) > device sa # Sequential Access (tape etc) > device cd # CD > device pass # Passthrough device (direct SCSI > access) > device ses # SCSI Environmental Services > > # RAID controllers interfaced to the SCSI subsystem > > # RAID controllers > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc # AT keyboard controller > device atkbd # AT keyboard > device psm # PS/2 mouse > > device kbdmux # keyboard multiplexer > > device vga # VGA video card driver > > > # syscons is the default console driver, resembling an SCO console > device sc > > device agp # support several AGP chipsets > > # Add suspend/resume support for the i8254. > device pmtimer > > # PCCARD (PCMCIA) support > # PCMCIA and cardbus bridge support > > # Serial (COM) ports > device sio # 8250, 16[45]50 based serial ports > device uart # Generic UART driver > > # Parallel port > device ppc > device ppbus # Parallel port bus (required) > device lpt # Printer > device plip # TCP/IP over parallel > device ppi # Parallel port interface device > #device vpo # Requires scbus and da > > # If you've got a "dumb" serial or parallel PCI card that is > # supported by the puc(4) glue driver, uncomment the following > # line to enable it (connects to sio, uart and/or ppc drivers): > #device puc > > # PCI Ethernet NICs. > > # PCI Ethernet NICs that use the common MII bus controller code. > device miibus # MII bus support > device dc # DEC/Intel 21143 and various workalikes > device fxp # Intel EtherExpress PRO/100B > device xl # 3Com 3c90x > > # 'device ed' requires 'device miibus' > > # Wireless NIC cards > > # Pseudo devices. > device loop # Network loopback > device sl # Kernel SLIP > device ppp # Kernel PPP > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif # IPv6 and IPv4 tunneling > device faith # IPv6-to-IPv4 relaying (translation) > device firmware # firmware assist module > > # The `bpf' device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > # Note that 'bpf' is required for DHCP. > device bpf # Berkeley packet filter > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB interface (USB 2.0) > device usb # USB Bus (required) > #device udbp # USB Double Bulk Pipe devices > device ugen # Generic > device uhid # "Human Interface Devices" > device ukbd # Keyboard > device ulpt # Printer > device umass # Disks/Mass storage - Requires scbus > and da > device ums # Mouse > device urio # Diamond Rio 500 MP3 player > device uscanner # Scanners > # USB Serial devices > device ucom # Generic com ttys > device uark # Technologies ARK3116 based serial > device ubsa # Belkin F5U103 and compatible serial > device ubser # BWCT console serial adapters > device uftdi # For FTDI usb serial adapters > device uipaq # Some WinCE based devices > device uplcom # Prolific PL-2303 serial adapters > device uslcom # SI Labs CP2101/CP2102 serial adapters > device uvisor # Visor and Palm devices > device uvscom # USB serial support for DDI pocket's > PHS > # USB Ethernet, requires miibus > > #--------------------------Firewall-Options---------------------------------# > options IPFIREWALL > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_VERBOSE > options DUMMYNET > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 04:48:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 222121065672 for ; Sat, 28 Jun 2008 04:48:13 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 85C6C8FC0C for ; Sat, 28 Jun 2008 04:48:12 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so459165fgb.35 for ; Fri, 27 Jun 2008 21:48:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tm7tk1T8Je7rwPWFrieuWAwKi3ixy4TzIbcaeEZ84RQ=; b=Z5B6zOnnayYXSYyWcVYyDcxWPdzyptW5VA7Khvwky8Dz3utArSe4OjYkPp62xLwXZZ uwUDSQClbLFqsuSsnzPfrUbbZ1f/b00e/h5OTED8W9ew4IbTgmi0Sdnx0FR9datXBu3g SHHmBT6IW2crgSAM1g/96uoRqEVwXfczPLLgQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FE6rBjDoQ9PhWZiyPm8HEAJ7GSSDN4AoPRoUrJiybx4F4SzGyUV/rqB4rf/qEJcqwH wVK4JSn4ptD/rEkUORHrHhQziLEzjMrDuBGE2Hd3Ah3QDr5z0aPFpxyHxAGlwaE2NtBW 77EZKJdmSJT275ATdalH/vtZRBVTTuqflUMQ0= Received: by 10.86.28.2 with SMTP id b2mr2963532fgb.78.1214628491610; Fri, 27 Jun 2008 21:48:11 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Fri, 27 Jun 2008 21:48:06 -0700 (PDT) Message-ID: <7d6fde3d0806272148p37bed7acmbbefe82c460b9deb@mail.gmail.com> Date: Fri, 27 Jun 2008 21:48:06 -0700 From: "Garrett Cooper" To: "Sean Bruno" In-Reply-To: <486580CC.8040802@miralink.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <48654287.4000508@miralink.com> <692660060806271325n45a863admbf037c50de9cf266@mail.gmail.com> <48655154.20709@miralink.com> <7d6fde3d0806271634r2d3d0ebbmfc791509fbcf01b9@mail.gmail.com> <486580CC.8040802@miralink.com> Cc: FreeBSD Hackers , =?ISO-8859-1?Q?Sebastian_Tymk=F3w?= Subject: Re: Error from systinstall while trying to install man page packages X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 04:48:13 -0000 On Fri, Jun 27, 2008 at 5:07 PM, Sean Bruno wrote: > Garrett Cooper wrote: >> >> On Fri, Jun 27, 2008 at 1:45 PM, Sean Bruno wrote: >> >>> >>> Sebastian Tymk=F3w wrote: >>> >>>> >>>> Hi, >>>> >>>> You can set information in sysinstall using "Options" and setting >>>> "Release name" >>>> >>>> Best regards, >>>> >>>> Sebastian Tymkow >>>> >>> >>> Thanks. What should I set the Release name to? >>> >> >> According to uname above, 7.0-STABLE (IIRC). Maybe uname -r would show >> the appropriate value? >> -Garrett >> > > Everything looks fine here as far as I can tell. I still get an error fr= om > sysinstall stating that 7.0-STABLE can't be found. Since I rebuilt the > kernel from src, should I buildworld on the box and see if that resolves = the > issue? > > > [sbruno@ophelia ~]$ uname -r > 7.0-STABLE > [sbruno@ophelia ~]$ uname -a > FreeBSD ophelia 7.0-STABLE FreeBSD 7.0-STABLE #9: Fri Jun 27 15:49:54 UTC > 2008 > sbruno@ophelia:/usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/com= pile/GENERIC > i386 If you're installing from the net, and don't already have the manpages, I'd do 7.0-RELEASE (or whatever it's labeled as for the release copy). If you already have the manpages and you have the source, cd /usr/src && make maninstall should do the trick. Cheers, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 05:40:12 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D638A106564A for ; Sat, 28 Jun 2008 05:40:12 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 45CA08FC15 for ; Sat, 28 Jun 2008 05:40:11 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so466050fgb.35 for ; Fri, 27 Jun 2008 22:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=qrReUM97B30igAzoi7pi9FNMUSBESv+PPvUam0mFiKg=; b=mQwbde9DVvdVFAbxMEbvrvse5fchXrVcJpomG6XCMoQf1DnNXbxzgQPMv3UdNbInah 5gL8IIH0+tjQ2HcxcP1PC6bad4YdF0f+U7obuSB3du1LKLlMTuvEMXfZPUKLOHaY2YOZ zdCAES7iYFkhaUcDBISyBJD9ZRtI6lBdFRlKk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=pgPTaZ3kzSKfw01HPd+cUrey8hGYyq0sHCXYsXvDCRJF3xzlPMcKplJ044OO7a/j6r 9X6GVQFvovLny1i9BBPW2y6nS6SKuE6NlPKshWdmNqP5JtnonAu28uKWXqhtvDO0+v0H NQnp8qau+SD8IFxcb0w7dBnTbapUB/bog7Gh0= Received: by 10.86.92.7 with SMTP id p7mr3011529fgb.72.1214631610936; Fri, 27 Jun 2008 22:40:10 -0700 (PDT) Received: by 10.86.51.1 with HTTP; Fri, 27 Jun 2008 22:40:10 -0700 (PDT) Message-ID: <7d6fde3d0806272240qdb16e5fh557ed9896b60920e@mail.gmail.com> Date: Fri, 27 Jun 2008 22:40:10 -0700 From: "Garrett Cooper" To: "FreeBSD Hackers" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Debugging kernel issue with bus code X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 05:40:12 -0000 Hi all, Due to my RAID5 array failing and my poking around trying to get stuff to work, I've come up with a deterministic means of getting the kernel to panic when it attempts to use generic_bcopy in device_attach. Unfortunately my x86 ASM is non-existent and while I'm a passable gdb user, I have not the faintest clue about how to debug the issue in ddb. So, I was wondering if anyone was willing to help me debug the issue... Thanks, -Garrett From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 10:22:05 2008 Return-Path: Delivered-To: Freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1362F106566B for ; Sat, 28 Jun 2008 10:22:05 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from omr9.networksolutionsemail.com (omr9.networksolutionsemail.com [205.178.146.59]) by mx1.freebsd.org (Postfix) with ESMTP id AC70E8FC20 for ; Sat, 28 Jun 2008 10:22:04 +0000 (UTC) (envelope-from martes@mgwigglesworth.com) Received: from mail.networksolutionsemail.com (ns-omr9.mgt.hosting.dc2.netsol.com [10.49.6.72]) by omr9.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id m5SAM3Fj017346 for ; Sat, 28 Jun 2008 06:22:03 -0400 Received: (qmail 13368 invoked by uid 78); 28 Jun 2008 10:22:00 -0000 Received: from unknown (HELO ?192.168.5.13?) (marteswigg@mgwigglesworth.com@68.57.94.93) by ns-omr9.lb.hosting.dc2.netsol.com with SMTP; 28 Jun 2008 10:22:00 -0000 From: Martes Wigglesworth To: Freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, twuug@twuug.org Content-Type: text/plain Organization: M.G. Wigglesworth, LLC Date: Sat, 28 Jun 2008 06:21:59 -0400 Message-Id: <1214648519.15425.40.camel@devstation> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0-2mdv2008.0 Content-Transfer-Encoding: 7bit Cc: Subject: [Fwd: Re: Problems with ieee80211 dependencies...] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: martes@mgwigglesworth.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 10:22:05 -0000 I had to wait for the rebuild process to error out again, however, here is the resulting segment of output. I included the parts that begin to indicates an error. kdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/src/sys/i386/compile/DATASERVER /usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c linking kernel.debug if_dc.o(.text+0x955): In function `dc_mchash_le': ../../../dev/dc/if_dc.c:1019: undefined reference to `ether_crc32_le' if_dc.o(.text+0x9f2): In function `dc_mchash_be': ../../../dev/dc/if_dc.c:1054: undefined reference to `ether_crc32_be' if_dc.o(.text+0x1df5): In function `dc_detach': ../../../dev/dc/if_dc.c:2320: undefined reference to `ether_ifdetach' if_dc.o(.text+0x42d7): In function `dc_ioctl': ../../../dev/dc/if_dc.c:3632: undefined reference to `ether_ioctl' if_dc.o(.text+0x65a5): In function `dc_attach': ../../../dev/dc/if_dc.c:2270: undefined reference to `ether_ifattach' if_dc.o(.text+0x65fc):../../../dev/dc/if_dc.c:2278: undefined reference to `ether_ifdetach' if_fxp.o(.text+0x2086): In function `fxp_detach': ../../../dev/fxp/if_fxp.c:919: undefined reference to `ether_ifdetach' if_fxp.o(.text+0x2402): In function `fxp_ioctl': ../../../dev/fxp/if_fxp.c:2467: undefined reference to `ether_ioctl' if_fxp.o(.text+0x429f): In function `fxp_attach': ../../../dev/fxp/if_fxp.c:789: undefined reference to `ether_ifattach' if_fxp.o(.text+0x431b):../../../dev/fxp/if_fxp.c:815: undefined reference to `ether_ifdetach' if.o(.text+0x1027): In function `if_setlladdr': ../../../net/if.c:2646: undefined reference to `arp_ifinit' if_gif.o(.text+0x941): In function `gif_input': ../../../net/if_gif.c:560: undefined reference to `bridge_input_p' if_gif.o(.text+0x95b):../../../net/if_gif.c:567: undefined reference to `ether_demux' ip_dummynet.o(.text+0x14db): In function `dummynet_send': ../../../netinet/ip_dummynet.c:908: undefined reference to `bridge_dn_p' ip_dummynet.o(.text+0x153b):../../../netinet/ip_dummynet.c:926: undefined reference to `ether_demux' ip_dummynet.o(.text+0x154c):../../../netinet/ip_dummynet.c:929: undefined reference to `ether_output_frame' if_xl.o(.text+0x2078): In function `xl_setmulti_hash': ../../../pci/if_xl.c:789: undefined reference to `ether_crc32_be' if_xl.o(.text+0x38f6): In function `xl_detach': ../../../pci/if_xl.c:1674: undefined reference to `ether_ifdetach' if_xl.o(.text+0x4712): In function `xl_ioctl': ../../../pci/if_xl.c:3203: undefined reference to `ether_ioctl' if_xl.o(.text+0x591d): In function `xl_attach': ../../../pci/if_xl.c:1564: undefined reference to `ether_ifattach' if_xl.o(.text+0x5970):../../../pci/if_xl.c:1570: undefined reference to `ether_ifdetach' *** Error code 1 Stop in /usr/src/sys/i386/compile/DATASERVER. >Nothing jumps out at me, can you send the output of the build failure? > >-Kip > >On Fri, Jun 27, 2008 at 4:29 PM, Martes Wigglesworth > wrote: > I am having a hard time compiling a new kernel when I remove the > wireless aspects of the config file. I have removed all options/devices > that seem to still require ieee80211 however, I still find that the > network section of the compile do not work. I.E. that is where the > compile stops, and indicates that an unknown reference to ieee80211 > functions... > > What in the GENERIC config file requires ieee80211? I have included my > config file below: > > cpu I686_CPU > ident DATASERVER > > # To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" # Default places to look for > devices. > > makeoptions DEBUG=-g # Build kernel with gdb(1) > > options SCHED_ULE # ULE scheduler > options PREEMPTION # Enable kernel thread > preemption > options INET # InterNETworking > options INET6 # IPv6 communications protocols > options SCTP # Stream Control Transmission > options FFS # Berkeley Fast Filesystem > options SOFTUPDATES # Enable FFS soft updates > options UFS_ACL # Support for access control > options UFS_DIRHASH # Improve performance on big > options UFS_GJOURNAL # > options MD_ROOT # MD is a potential root device > options PROCFS # Process filesystem > options PSEUDOFS # Pseudo-filesystem framework > options GEOM_PART_GPT # GUID Partition Tables. > options GEOM_LABEL # Provides labelization > options COMPAT_43TTY > options SCSI_DELAY=5000 > options KTRACE # ktrace(1) support > options STACK # stack(9) support > options SYSVSHM # SYSV-style shared memory > options SYSVMSG # SYSV-style message queues > options SYSVSEM # SYSV-style semaphores > options _KPOSIX_PRIORITY_SCHEDULING > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options ADAPTIVE_GIANT # Giant mutex is adaptive. > options STOP_NMI > options AUDIT # Security event auditing > > # To make an SMP kernel, the next two lines are needed > > # CPU frequency control > device cpufreq > > # Bus support. > device eisa > device pci > > # Floppy drives > device fdc > > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device ataraid # ATA RAID drives > device atapicam # ATAPI emulation? > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID # Static device numbering > > # SCSI Controllers > device ahb # EISA AHA1742 family > device ahc # AHA2940 and onboard AIC7xxx devices > options AHC_REG_PRETTY_PRINT # Print register bitfields in > debug > # output. Adds ~128k to driver. > device ahd > options AHD_REG_PRETTY_PRINT > # output. Adds ~215k to driver. > device amd # AMD 53C974 (Tekram DC-390(T)) > device hptiop # Highpoint RocketRaid 3xxx series > device isp # Qlogic family > #device ispfw > device mpt # LSI-Logic MPT-Fusion > #device ncr # NCR/Symbios Logic > device sym # NCR/Symbios Logic > device trm # Tekram DC395U/UW/F DC315U adapters > > device adv # Advansys SCSI adapters > device adw # Advansys wide SCSI adapters > device aha # Adaptec 154x SCSI adapters > device aic # Adaptec 15[012]x SCSI adapters > device bt # Buslogic/Mylex MultiMaster SCSI > adapters > > device ncv # NCR 53C500 > device nsp # Workbit Ninja SCSI-3 > device stg # TMC 18C30/18C50 > > # SCSI peripherals > device scbus # SCSI bus (required for SCSI) > device ch # SCSI media changers > device da # Direct Access (disks) > device sa # Sequential Access (tape etc) > device cd # CD > device pass # Passthrough device (direct SCSI > access) > device ses # SCSI Environmental Services > > # RAID controllers interfaced to the SCSI subsystem > > # RAID controllers > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc # AT keyboard controller > device atkbd # AT keyboard > device psm # PS/2 mouse > > device kbdmux # keyboard multiplexer > > device vga # VGA video card driver > > > # syscons is the default console driver, resembling an SCO console > device sc > > device agp # support several AGP chipsets > > # Add suspend/resume support for the i8254. > device pmtimer > > # PCCARD (PCMCIA) support > # PCMCIA and cardbus bridge support > > # Serial (COM) ports > device sio # 8250, 16[45]50 based serial ports > device uart # Generic UART driver > > # Parallel port > device ppc > device ppbus # Parallel port bus (required) > device lpt # Printer > device plip # TCP/IP over parallel > device ppi # Parallel port interface device > #device vpo # Requires scbus and da > > # If you've got a "dumb" serial or parallel PCI card that is > # supported by the puc(4) glue driver, uncomment the following > # line to enable it (connects to sio, uart and/or ppc drivers): > #device puc > > # PCI Ethernet NICs. > > # PCI Ethernet NICs that use the common MII bus controller code. > device miibus # MII bus support > device dc # DEC/Intel 21143 > device fxp # Intel EtherExpress PRO/100B > device xl # 3Com 3c90x > > # 'device ed' requires 'device miibus' > > # Wireless NIC cards > > # Pseudo devices. > device loop # Network loopback > device sl # Kernel SLIP > device ppp # Kernel PPP > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif # IPv6 and IPv4 tunneling > device faith # IPv6-to-IPv4 relaying (translation) > device firmware # firmware assist module > > # The `bpf' device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > # Note that 'bpf' is required for DHCP. > device bpf # Berkeley packet filter > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB interface (USB 2.0) > device usb # USB Bus (required) > #device udbp # USB Double Bulk Pipe devices > device ugen # Generic > device uhid # "Human Interface Devices" > device ukbd # Keyboard > device ulpt # Printer > device umass # Disks/Mass storage - Requires scbus > and da > device ums # Mouse > device urio # Diamond Rio 500 MP3 player > device uscanner # Scanners > # USB Serial devices > device ucom # Generic com ttys > device uark # Technologies ARK3116 based serial > device ubsa # Belkin F5U103 and compatible serial > device ubser # BWCT console serial adapters > device uftdi # For FTDI usb serial adapters > device uipaq # Some WinCE based devices > device uplcom # Prolific PL-2303 serial adapters > device uslcom # SI Labs CP2101/CP2102 serial adapters > device uvisor # Visor and Palm devices > device uvscom # USB serial support for DDI pocket's > PHS > # USB Ethernet, requires miibus > > #--------------------------Firewall-Options---------------------------------# > options IPFIREWALL > options IPFIREWALL_DEFAULT_TO_ACCEPT > options IPFIREWALL_VERBOSE > options DUMMYNET From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 14:23:04 2008 Return-Path: Delivered-To: Freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1C7F1065690 for ; Sat, 28 Jun 2008 14:23:04 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 7FF638FC2D for ; Sat, 28 Jun 2008 14:23:04 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so789047wfg.7 for ; Sat, 28 Jun 2008 07:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=U7h4dXe0lnc3ePaqn6nfm5tLzAeSf02jMnpjqSEcfwU=; b=WULsq31NXZvL6RdG4A9AsvffI5dK3A6YD6HVikKXjHqukkclW/gz8qMBkGHKFBtadZ bgYlXwUooAyh7bbCtO+ZDj+VIHbPzMby/LXVNyTO7pH1FP48A3Uq3jPGVghzzTeszCwa aWbuEv9haeywwsUwaRx+jQVr+Ozn7I848IZnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ObP6kVW4YvTu3HgCGXIiHKJY+qIXxamlLBjj75yRwC0PgH/jBUAvQsGKL+0j0NddfD J8WQfUNQTxPQGWrqvMch4YqbBWl5OBR0cuFy8pdY5ZeBtYDodEbJP5jTLVgKocYoTTx2 QoFbGDri36f9vNoFwP4MbW1N4EgrzMiZX7vgg= Received: by 10.142.12.14 with SMTP id 14mr998510wfl.182.1214662984016; Sat, 28 Jun 2008 07:23:04 -0700 (PDT) Received: by 10.142.199.19 with HTTP; Sat, 28 Jun 2008 07:23:03 -0700 (PDT) Message-ID: <3a142e750806280723u34e3ed7fid24c5086e9c15a9a@mail.gmail.com> Date: Sat, 28 Jun 2008 16:23:03 +0200 From: "Paul B. Mahol" To: martes@mgwigglesworth.com In-Reply-To: <1214648519.15425.40.camel@devstation> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1214648519.15425.40.camel@devstation> Cc: Freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org, twuug@twuug.org Subject: Re: [Fwd: Re: Problems with ieee80211 dependencies...] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 14:23:04 -0000 I dont have such problem with CURRENT; all ieee80211 stuff are build as modules for me, but my conf is different, firewalls and dummynet are build as modules. But I was able to reproduce problem with your config file. Probably conflict arise somewhere within your last 4 lines in conf file. On 6/28/08, Martes Wigglesworth wrote: > > I had to wait for the rebuild process to error out again, however, here > is the resulting segment of output. > > I included the parts that begin to indicates an error. > > > kdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE > -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq > -I/usr/src/sys/i386/compile/DATASERVER > /usr/src/sys/modules/zyd/../../dev/usb/if_zyd.c > linking kernel.debug > if_dc.o(.text+0x955): In function `dc_mchash_le': > ../../../dev/dc/if_dc.c:1019: undefined reference to `ether_crc32_le' > if_dc.o(.text+0x9f2): In function `dc_mchash_be': > ../../../dev/dc/if_dc.c:1054: undefined reference to `ether_crc32_be' > if_dc.o(.text+0x1df5): In function `dc_detach': > ../../../dev/dc/if_dc.c:2320: undefined reference to `ether_ifdetach' > if_dc.o(.text+0x42d7): In function `dc_ioctl': > ../../../dev/dc/if_dc.c:3632: undefined reference to `ether_ioctl' > if_dc.o(.text+0x65a5): In function `dc_attach': > ../../../dev/dc/if_dc.c:2270: undefined reference to `ether_ifattach' > if_dc.o(.text+0x65fc):../../../dev/dc/if_dc.c:2278: undefined reference > to `ether_ifdetach' > if_fxp.o(.text+0x2086): In function `fxp_detach': > ../../../dev/fxp/if_fxp.c:919: undefined reference to `ether_ifdetach' > if_fxp.o(.text+0x2402): In function `fxp_ioctl': > ../../../dev/fxp/if_fxp.c:2467: undefined reference to `ether_ioctl' > if_fxp.o(.text+0x429f): In function `fxp_attach': > ../../../dev/fxp/if_fxp.c:789: undefined reference to `ether_ifattach' > if_fxp.o(.text+0x431b):../../../dev/fxp/if_fxp.c:815: undefined > reference to `ether_ifdetach' > if.o(.text+0x1027): In function `if_setlladdr': > ../../../net/if.c:2646: undefined reference to `arp_ifinit' > if_gif.o(.text+0x941): In function `gif_input': > ../../../net/if_gif.c:560: undefined reference to `bridge_input_p' > if_gif.o(.text+0x95b):../../../net/if_gif.c:567: undefined reference to > `ether_demux' > ip_dummynet.o(.text+0x14db): In function `dummynet_send': > ../../../netinet/ip_dummynet.c:908: undefined reference to `bridge_dn_p' > ip_dummynet.o(.text+0x153b):../../../netinet/ip_dummynet.c:926: > undefined reference to `ether_demux' > ip_dummynet.o(.text+0x154c):../../../netinet/ip_dummynet.c:929: > undefined reference to `ether_output_frame' > if_xl.o(.text+0x2078): In function `xl_setmulti_hash': > ../../../pci/if_xl.c:789: undefined reference to `ether_crc32_be' > if_xl.o(.text+0x38f6): In function `xl_detach': > ../../../pci/if_xl.c:1674: undefined reference to `ether_ifdetach' > if_xl.o(.text+0x4712): In function `xl_ioctl': > ../../../pci/if_xl.c:3203: undefined reference to `ether_ioctl' > if_xl.o(.text+0x591d): In function `xl_attach': > ../../../pci/if_xl.c:1564: undefined reference to `ether_ifattach' > if_xl.o(.text+0x5970):../../../pci/if_xl.c:1570: undefined reference to > `ether_ifdetach' > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/DATASERVER. > > >>Nothing jumps out at me, can you send the output of the build failure? >> >>-Kip >> >>On Fri, Jun 27, 2008 at 4:29 PM, Martes Wigglesworth >> wrote: >> I am having a hard time compiling a new kernel when I remove the >> wireless aspects of the config file. I have removed all > options/devices >> that seem to still require ieee80211 however, I still find that the >> network section of the compile do not work. I.E. that is where the >> compile stops, and indicates that an unknown reference to ieee80211 >> functions... >> >> What in the GENERIC config file requires ieee80211? I have included my >> config file below: >> >> cpu I686_CPU >> ident DATASERVER >> >> # To statically compile in device wiring instead of /boot/device.hints >> #hints "GENERIC.hints" # Default places to look for >> devices. >> >> makeoptions DEBUG=-g # Build kernel with gdb(1) >> >> options SCHED_ULE # ULE scheduler >> options PREEMPTION # Enable kernel thread >> preemption >> options INET # InterNETworking >> options INET6 # IPv6 communications > protocols >> options SCTP # Stream Control Transmission >> options FFS # Berkeley Fast Filesystem >> options SOFTUPDATES # Enable FFS soft updates >> options UFS_ACL # Support for access control >> options UFS_DIRHASH # Improve performance on big >> options UFS_GJOURNAL # >> options MD_ROOT # MD is a potential root > device >> options PROCFS # Process filesystem >> options PSEUDOFS # Pseudo-filesystem framework >> options GEOM_PART_GPT # GUID Partition Tables. >> options GEOM_LABEL # Provides labelization >> options COMPAT_43TTY >> options SCSI_DELAY=5000 >> options KTRACE # ktrace(1) support >> options STACK # stack(9) support >> options SYSVSHM # SYSV-style shared memory >> options SYSVMSG # SYSV-style message queues >> options SYSVSEM # SYSV-style semaphores >> options _KPOSIX_PRIORITY_SCHEDULING >> options KBD_INSTALL_CDEV # install a CDEV entry in /dev >> options ADAPTIVE_GIANT # Giant mutex is adaptive. >> options STOP_NMI >> options AUDIT # Security event auditing >> >> # To make an SMP kernel, the next two lines are needed >> >> # CPU frequency control >> device cpufreq >> >> # Bus support. >> device eisa >> device pci >> >> # Floppy drives >> device fdc >> >> # ATA and ATAPI devices >> device ata >> device atadisk # ATA disk drives >> device ataraid # ATA RAID drives >> device atapicam # ATAPI emulation? >> device atapicd # ATAPI CDROM drives >> device atapifd # ATAPI floppy drives >> device atapist # ATAPI tape drives >> options ATA_STATIC_ID # Static device numbering >> >> # SCSI Controllers >> device ahb # EISA AHA1742 family >> device ahc # AHA2940 and onboard AIC7xxx devices >> options AHC_REG_PRETTY_PRINT # Print register bitfields in >> debug >> # output. Adds ~128k to > driver. >> device ahd >> options AHD_REG_PRETTY_PRINT >> # output. Adds ~215k to > driver. >> device amd # AMD 53C974 (Tekram DC-390(T)) >> device hptiop # Highpoint RocketRaid 3xxx series >> device isp # Qlogic family >> #device ispfw >> device mpt # LSI-Logic MPT-Fusion >> #device ncr # NCR/Symbios Logic >> device sym # NCR/Symbios Logic >> device trm # Tekram DC395U/UW/F DC315U adapters >> >> device adv # Advansys SCSI adapters >> device adw # Advansys wide SCSI adapters >> device aha # Adaptec 154x SCSI adapters >> device aic # Adaptec 15[012]x SCSI adapters >> device bt # Buslogic/Mylex MultiMaster SCSI >> adapters >> >> device ncv # NCR 53C500 >> device nsp # Workbit Ninja SCSI-3 >> device stg # TMC 18C30/18C50 >> >> # SCSI peripherals >> device scbus # SCSI bus (required for SCSI) >> device ch # SCSI media changers >> device da # Direct Access (disks) >> device sa # Sequential Access (tape etc) >> device cd # CD >> device pass # Passthrough device (direct SCSI >> access) >> device ses # SCSI Environmental Services >> >> # RAID controllers interfaced to the SCSI subsystem >> >> # RAID controllers >> >> # atkbdc0 controls both the keyboard and the PS/2 mouse >> device atkbdc # AT keyboard controller >> device atkbd # AT keyboard >> device psm # PS/2 mouse >> >> device kbdmux # keyboard multiplexer >> >> device vga # VGA video card driver >> >> >> # syscons is the default console driver, resembling an SCO console >> device sc >> >> device agp # support several AGP chipsets >> >> # Add suspend/resume support for the i8254. >> device pmtimer >> >> # PCCARD (PCMCIA) support >> # PCMCIA and cardbus bridge support >> >> # Serial (COM) ports >> device sio # 8250, 16[45]50 based serial ports >> device uart # Generic UART driver >> >> # Parallel port >> device ppc >> device ppbus # Parallel port bus (required) >> device lpt # Printer >> device plip # TCP/IP over parallel >> device ppi # Parallel port interface device >> #device vpo # Requires scbus and da >> >> # If you've got a "dumb" serial or parallel PCI card that is >> # supported by the puc(4) glue driver, uncomment the following >> # line to enable it (connects to sio, uart and/or ppc drivers): >> #device puc >> >> # PCI Ethernet NICs. >> >> # PCI Ethernet NICs that use the common MII bus controller code. >> device miibus # MII bus support >> device dc # DEC/Intel 21143 >> device fxp # Intel EtherExpress PRO/100B >> device xl # 3Com 3c90x >> >> # 'device ed' requires 'device miibus' >> >> # Wireless NIC cards >> >> # Pseudo devices. >> device loop # Network loopback >> device sl # Kernel SLIP >> device ppp # Kernel PPP >> device tun # Packet tunnel. >> device pty # Pseudo-ttys (telnet etc) >> device md # Memory "disks" >> device gif # IPv6 and IPv4 tunneling >> device faith # IPv6-to-IPv4 relaying (translation) >> device firmware # firmware assist module >> >> # The `bpf' device enables the Berkeley Packet Filter. >> # Be aware of the administrative consequences of enabling this! >> # Note that 'bpf' is required for DHCP. >> device bpf # Berkeley packet filter >> >> # USB support >> device uhci # UHCI PCI->USB interface >> device ohci # OHCI PCI->USB interface >> device ehci # EHCI PCI->USB interface (USB 2.0) >> device usb # USB Bus (required) >> #device udbp # USB Double Bulk Pipe devices >> device ugen # Generic >> device uhid # "Human Interface Devices" >> device ukbd # Keyboard >> device ulpt # Printer >> device umass # Disks/Mass storage - Requires scbus >> and da >> device ums # Mouse >> device urio # Diamond Rio 500 MP3 player >> device uscanner # Scanners >> # USB Serial devices >> device ucom # Generic com ttys >> device uark # Technologies ARK3116 based serial >> device ubsa # Belkin F5U103 and compatible serial >> device ubser # BWCT console serial adapters >> device uftdi # For FTDI usb serial adapters >> device uipaq # Some WinCE based devices >> device uplcom # Prolific PL-2303 serial adapters >> device uslcom # SI Labs CP2101/CP2102 serial > adapters >> device uvisor # Visor and Palm devices >> device uvscom # USB serial support for DDI pocket's >> PHS >> # USB Ethernet, requires miibus >> >> > #--------------------------Firewall-Options---------------------------------# >> options IPFIREWALL >> options IPFIREWALL_DEFAULT_TO_ACCEPT >> options IPFIREWALL_VERBOSE >> options DUMMYNET > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 17:02:28 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EE541065672 for ; Sat, 28 Jun 2008 17:02:28 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.239]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1CF8FC16 for ; Sat, 28 Jun 2008 17:02:28 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so993704rvf.43 for ; Sat, 28 Jun 2008 10:02:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=gjrPEhXK2gM2GBD3HfE5ppfhrTiyb/aXdoPl4igXVsQ=; b=MhMDv/ccXj8iD4fW9w+MEt2LvK58G+pAp7uNxeOtDJu1iQ9E+qohxUQtqqeKdtpf1d G8mEcN1cIRR6wlNeGiiXlbPTnUEbIzePLmKusMApCnBCN+UswyZ0cpUUrxIpKfsKmzUa pofoDZiGxub9StU7Xmh6xVu2Er0bSD1HWId0g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=cc/6tEafdQ712wlmkfDH7mcfjqOKHd/E2z1UMSAUvxxvwxgLDsucCkcJlChcV+rM1K 3uvazmEM4wK4nGpwYqh1Y/3eu3bug+F2D4/NQJLCmLlkpkdmOaPgE1AWFtYBPgM4oTvM X9xBorR071Dk99EjfgsRaN38NM+ke03QPB2Ic= Received: by 10.141.197.14 with SMTP id z14mr1524632rvp.283.1214670994633; Sat, 28 Jun 2008 09:36:34 -0700 (PDT) Received: by 10.141.159.2 with HTTP; Sat, 28 Jun 2008 09:36:34 -0700 (PDT) Message-ID: <9bbcef730806280936y1e669a91t2817ba7ca1de22f3@mail.gmail.com> Date: Sat, 28 Jun 2008 18:36:34 +0200 From: "Ivan Voras" Sender: ivoras@gmail.com To: hackers@freebsd.org In-Reply-To: <9bbcef730806280643h7c77d9bbo644a42752e1f59a5@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9bbcef730806280643h7c77d9bbo644a42752e1f59a5@mail.gmail.com> X-Google-Sender-Auth: 4511d6e2c1369978 Cc: Subject: Software floating point library? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 17:02:28 -0000 Does anyone know of a simple, BSD (or compatible) licensed software math library that emulates floating point numbers? Ideally, it should be a single .c file library that implements basic operations (+, -, *, /, negation, comparisons, convert to/from machine integers and strings), that uses a standard C type (int or long long) to store the value, and is usable in the kernel. Alternatively, how about a fixed-point library with the same properties? (I know it's easy to do, but don't want to reinvent the wheel again if I don't have to). Please disregard my earlier message on this subject, if you received it. From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 18:04:37 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 091FE106564A for ; Sat, 28 Jun 2008 18:04:37 +0000 (UTC) (envelope-from davidfeustel@comcast.net) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id AB2158FC12 for ; Sat, 28 Jun 2008 18:04:36 +0000 (UTC) (envelope-from davidfeustel@comcast.net) Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA06.westchester.pa.mail.comcast.net with comcast id jSKa1Z0010SCNGk560Cd00; Sat, 28 Jun 2008 17:48:35 +0000 Received: from localhost ([69.245.196.200]) by OMTA09.westchester.pa.mail.comcast.net with comcast id jVoU1Z00K4KuD453VVoVmF; Sat, 28 Jun 2008 17:48:29 +0000 X-Authority-Analysis: v=1.0 c=1 a=rGOKwc2IkUQA:10 a=7RRE4XQAWVsA:10 a=fymza44dLP4c43hyBtIA:9 a=1FEhHJUGN-mPXE51PO8A:7 a=6VUSIoP2hIlQ1Caaw1Wq0epT5UIA:4 a=mfJYqndlP_8A:10 a=LY0hPdMaydYA:10 From: dfeustel@mindspring.com To: Ivan Voras In-Reply-To: <9bbcef730806280936y1e669a91t2817ba7ca1de22f3@mail.gmail.com> Message-Id: <20080628180436.AB2158FC12@mx1.freebsd.org> Date: Sat, 28 Jun 2008 18:04:36 +0000 (UTC) Cc: hackers@freebsd.org Subject: Re: Software floating point library? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 18:04:37 -0000 On Sat, Jun 28, 2008 at 06:36:34PM +0200, Ivan Voras wrote: > Does anyone know of a simple, BSD (or compatible) licensed software > math library that emulates floating point numbers? Ideally, it should > be a single .c file library that implements basic operations (+, -, *, > /, negation, comparisons, convert to/from machine integers and > strings), that uses a standard C type (int or long long) to store the > value, and is usable in the kernel. > > Alternatively, how about a fixed-point library with the same > properties? (I know it's easy to do, but don't want to reinvent the > wheel again if I don't have to). > If you don't mind having unlimited precision, check out the math library used in the calc program from isthe.com. USING THE ARBITRARY PRECISION ROUTINES IN A C PROGRAM Part of the calc release consists of an arbitrary precision math link library. This link library is used by the calc program to perform its own calculations. If you wish, you can ignore the calc program entirely and call the arbitrary precision math routines from your own C programs. The link library is called libcalc.a, and provides routines to handle arbitrary precision arithmetic with integers, rational numbers, or complex numbers. There are also many numeric functions such as factorial and gcd, along with some transcendental functions such as sin and exp. Take a look at the sample sub-directory. It contains a few simple examples of how to use libcalc.a that might be helpful to look at after you have read this file. From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 18:01:31 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8046110656AE for ; Sat, 28 Jun 2008 18:01:31 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32701.mail.mud.yahoo.com (web32701.mail.mud.yahoo.com [68.142.207.245]) by mx1.freebsd.org (Postfix) with SMTP id 2A1DD8FC1B for ; Sat, 28 Jun 2008 18:01:30 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 80945 invoked by uid 60001); 28 Jun 2008 17:34:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=wJd9at22LbpHlAJ4SnYXpV9qLGQbgq4+iEzYiyX6yeOf2WxebujBpNrrtNEfraiu/uTEuUELLCJ6n3UaOl2fXxDz5EcK6HuL6dXXEI5TDIHlD2ewfee15sZQLQ5eGRDpDNFJmiZht8w9J2J/mWEIQPVdKuoVWUk93CZddra4uIw=; Received: from [190.157.124.75] by web32701.mail.mud.yahoo.com via HTTP; Sat, 28 Jun 2008 10:34:49 PDT X-Mailer: YahooMailWebService/0.7.199 Date: Sat, 28 Jun 2008 10:34:49 -0700 (PDT) From: pfgshield-freebsd@yahoo.com To: Ivan Voras MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <367728.80150.qm@web32701.mail.mud.yahoo.com> X-Mailman-Approved-At: Sat, 28 Jun 2008 19:34:38 +0000 Cc: hackers@freebsd.org Subject: Re: Software floating point library? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 18:01:31 -0000 Hi; I am sure NetBSD ported some variant of it but here is softfloat: http://www.jhauser.us/arithmetic/SoftFloat.html cheers, Pedro.=0A=0A=0A Hai un indirizzo email difficile da ricordare?=0AS= cegli quello che hai sempre desiderato su Yahoo! Mail=0Ahttp://it.docs.yaho= o.com/nuovo_indirizzo.html From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 28 23:42:45 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B0A0106567A for ; Sat, 28 Jun 2008 23:42:45 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: from mired.org (five.mired.org [66.92.153.75]) by mx1.freebsd.org (Postfix) with ESMTP id ED6E28FC16 for ; Sat, 28 Jun 2008 23:42:44 +0000 (UTC) (envelope-from mwm-keyword-freebsdhackers2.e313df@mired.org) Received: (qmail 55028 invoked by uid 1001); 28 Jun 2008 19:15:34 -0400 Received: from bhuda.mired.org (bhuda [192.168.195.1]) by bhuda (tmda-ofmipd) with ESMTP; Sat, 28 Jun 2008 19:15:34 -0400 Date: Sat, 28 Jun 2008 19:15:33 -0400 To: Message-ID: <20080628191533.367ad223@bhuda.mired.org> Organization: Meyer Consulting X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Mike Meyer Cc: Subject: Custom VESA modes on FreeBSD 7? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 23:42:45 -0000 I'm trying to get FreeBSD 7-RELEASE running in a VirtualBox VM to use all of my LCD panel in X. The running X is using the vesa driver, which should be cool for this, as VirtualBox has provisions for creating custom vesa modes. And in fact, the Xorg.0.log file shows that it sees the new mode - but it doesn't use it. The VirtualBox docs note that for Linux to use such a mode, you have to provide a "vga" command line option with the new mode # in it to the linux kernel. None of the FreeBSD boot parameters seem applicable here. Basically, the question is - what do I have to do to get the X.org vesa driver to use a non-standard vesa mode on FreeBSD? Is there any other information I can attach that might help with this? thanks, http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org