From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 03:46:49 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3EAF1065673 for ; Sun, 10 Aug 2008 03:46:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 715C78FC19 for ; Sun, 10 Aug 2008 03:46:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m7A3hY6D077266; Sat, 9 Aug 2008 21:43:34 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 09 Aug 2008 21:43:57 -0600 (MDT) Message-Id: <20080809.214357.1707063132.imp@bsdimp.com> To: antab@valka.is From: "M. Warner Losh" In-Reply-To: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 03:46:49 -0000 In message: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> Arnar Mar Sig writes: : I have been working on porting FreeBSD to AVR32 for the past few : weeks, and now i have a bootable kernel although there is still a lot : of work to be done. COOL! Very COOL! : AVR32 is a modern RISC architecture from Atmel, the board i'm using is : ngw100 with AT32AP7000 SoC. : AT32AP7000 has many of the same chip peripheral that AT9 has (also : from Atmel), so many of the drivers can be shared between thous archs. Excellent. I think have a board... : If anyone is intrested in helping with the port then I can provide : patches and howto install the gcc toolchain, the avr32 port of gcc is : still not in upstream gcc and is a bit of a mess to get working on : freebsd. I would be most interested in this. : Boot message from FreeBSD booting on ngw100: : Filename 'kernel.uboot'. : Load address: 0x10400000 : Loading: : ################################################################# : : ################################################################# : : ################################################################# : ############################## : done : Bytes transferred = 1148336 (1185b0 hex) : ## Booting image at 10400000 ... : Image Name: FreeBSD : Image Type: AVR32 Unknown OS Kernel Image (uncompressed) : Data Size: 1148272 Bytes = 1.1 MB : Load Address: 90000000 : Entry Point: 90000000 : Verifying Checksum ... OK : OK : : Starting kernel at 90000000 (params at 11f73008)... : : VERBOSE_SYSINIT: DDB not enabled, symbol lookups disabled. : 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 #22: Sat Aug 9 19:33:32 GMT 2008 : antab@farm.antab.is:/home/antab/freebsd/obj/avr32/home/antab/ : freebsd/avr32/trunk/sys/NGW100 : subsystem 900000 : 0x9002d0e4(0)... done. : subsystem 1000000 : 0x900bf384(0)... pmap_map: needs implementing Cool... Please, I'm very interested... Warner : Greets : Arnar Mar Sig : Valka ehf : : _______________________________________________ : freebsd-current@freebsd.org mailing list : http://lists.freebsd.org/mailman/listinfo/freebsd-current : To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" : From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 07:49:13 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90A721065671 for ; Sun, 10 Aug 2008 07:49:13 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outA.internet-mail-service.net (outa.internet-mail-service.net [216.240.47.224]) by mx1.freebsd.org (Postfix) with ESMTP id 7CD808FC13 for ; Sun, 10 Aug 2008 07:49:13 +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 50CCC24A8; Sun, 10 Aug 2008 00:49:13 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 9760F2D6081; Sun, 10 Aug 2008 00:49:12 -0700 (PDT) Message-ID: <489E9D75.4060002@elischer.org> Date: Sun, 10 Aug 2008 00:49:09 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: "M. Warner Losh" References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> <20080809.214357.1707063132.imp@bsdimp.com> In-Reply-To: <20080809.214357.1707063132.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: antab@valka.is, current@FreeBSD.org Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 07:49:13 -0000 M. Warner Losh wrote: > In message: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> > Arnar Mar Sig writes: > : I have been working on porting FreeBSD to AVR32 for the past few > : weeks, and now i have a bootable kernel although there is still a lot > : of work to be done. > > COOL! Very COOL! > I assume this is the part WITH an MMU you are supporting? > : Valka ehf > : > : _______________________________________________ > : freebsd-current@freebsd.org mailing list > : http://lists.freebsd.org/mailman/listinfo/freebsd-current > : To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > : > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 13:47:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFC8C1065676; Sun, 10 Aug 2008 13:47:36 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [91.121.44.19]) by mx1.freebsd.org (Postfix) with ESMTP id 75C5D8FC08; Sun, 10 Aug 2008 13:47:36 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from baby-jane.lamaiziere.net (111.158.192-77.rev.gaoland.net [77.192.158.111]) by smtp.lamaiziere.net (Postfix) with ESMTPA id 2ECA9633662; Sun, 10 Aug 2008 15:40:36 +0200 (CEST) Received: from baby-jane-lamaiziere-net.local (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 16255599F48; Sun, 10 Aug 2008 15:47:33 +0200 (CEST) Date: Sun, 10 Aug 2008 15:47:32 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= To: Pawel Jakub Dawidek Message-ID: <20080810154732.4f8ed1de@baby-jane-lamaiziere-net.local> In-Reply-To: <20080809202225.GA1363@garage.freebsd.pl> References: <20080808115152.GF89712@carrot.paeps.cx> <20080809180719.5415955f@baby-jane-lamaiziere-net.local> <20080809202225.GA1363@garage.freebsd.pl> Organization: /dave/nulle X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-apple-darwin9.3.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Cc: current@freebsd.org Subject: Re: Committing glxsb - any objections? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 13:47:36 -0000 Le Sat, 9 Aug 2008 22:22:25 +0200, Pawel Jakub Dawidek a écrit : > On Sat, Aug 09, 2008 at 06:07:19PM +0200, Patrick Lamaizi?re wrote: > > Le Fri, 8 Aug 2008 13:51:52 +0200, > > Philip Paeps a écrit : > > > > > So, I've been running with glxsb for a while now on my soekris > > > boxes, and it looks like it actually works. I get some pretty > > > nice results from it too. > > > > > > Does anyone have any plans to commit this? Would anyone object > > > if I committed it? > > > > Oh, it was committed today :-) > > > > I just want to thank you all. > > Many thanks, best regards. > > Could you review some further improvements? > > http://people.freebsd.org/~pjd/patches/glxsb.patch Cool, works fine here. Thank you. I missed few things in style(9) (oups). What is the recommended maximum length of one line ? Regards. From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 16:04:42 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6421065684 for ; Sun, 10 Aug 2008 16:04:42 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (l95h.icis.pcz.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 848438FC1A for ; Sun, 10 Aug 2008 16:04:41 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (l95h.icis.pcz.pl [212.87.224.105]) by freebsd.czest.pl (8.14.2/8.14.2) with ESMTP id m7AF4qaH030935; Sun, 10 Aug 2008 15:04:52 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.2/8.14.2/Submit) id m7AF4qZT030934; Sun, 10 Aug 2008 15:04:52 GMT (envelope-from wkoszek) Date: Sun, 10 Aug 2008 15:04:52 +0000 From: "Wojciech A. Koszek" To: Arnar Mar Sig Message-ID: <20080810150451.GB29016@FreeBSD.org> Mail-Followup-To: Arnar Mar Sig , current@freebsd.org References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0 (freebsd.czest.pl [212.87.224.105]); Sun, 10 Aug 2008 15:04:52 +0000 (UTC) Cc: current@freebsd.org Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 16:04:42 -0000 On Sat, Aug 09, 2008 at 08:33:27PM +0000, Arnar Mar Sig wrote: > Hi folks > > I have been working on porting FreeBSD to AVR32 for the past few weeks, and > now i have a bootable kernel although there is still a lot of work to be > done. > [..] > > antab@farm.antab.is:/home/antab/freebsd/obj/avr32/home/antab/freebsd/avr32/trunk/sys/NGW100 > subsystem 900000 > 0x9002d0e4(0)... done. > subsystem 1000000 > 0x900bf384(0)... pmap_map: needs implementing Some header files related to AVR32 are here: http://people.freebsd.org/~wkoszek/avr32/ pmap.h needs finishing and other files lack tweaking, but if it's usefull, I think we can cooperate. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.org http://people.freebsd.org/~wkoszek/ From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 17:44:34 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B44F1065685 for ; Sun, 10 Aug 2008 17:44:34 +0000 (UTC) (envelope-from antab@valka.is) Received: from vxout-2.c.is (vxout-2.c.is [213.176.128.14]) by mx1.freebsd.org (Postfix) with ESMTP id DE8E18FC1A for ; Sun, 10 Aug 2008 17:44:33 +0000 (UTC) (envelope-from antab@valka.is) Received: from mail.internet.is (mail.aknet.is [193.4.194.58]) by vxout-2.c.is (Postfix) with ESMTP id B028E4F3DBC; Sun, 10 Aug 2008 17:44:28 +0000 (GMT) Received: from [192.168.1.69] (buttbuddies.cannabis.is [85.197.203.197]) by mail.internet.is (Postfix) with ESMTP id 3D88510E2; Sun, 10 Aug 2008 17:44:07 +0000 (CUT) Message-Id: <15037888-362B-43BD-9736-4F7D2C76D762@valka.is> From: Arnar Mar Sig To: Julian Elischer In-Reply-To: <489E9D75.4060002@elischer.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Sun, 10 Aug 2008 17:44:06 +0000 References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> <20080809.214357.1707063132.imp@bsdimp.com> <489E9D75.4060002@elischer.org> X-Mailer: Apple Mail (2.926) X-Vodafone-MailScanner-Information: Virusskannad hja Vodafone X-Vodafone-MailScanner: Found to be clean - Enginn virus fannst X-Vodafone-MailScanner-SpamCheck: ekki ruslpostur, SpamAssassin (notcached, stigagjof=0, required 5, autolearn=disabled) X-MailScanner-From: antab@valka.is Cc: current@FreeBSD.org, "M. Warner Losh" Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 17:44:34 -0000 On Aug 10, 2008, at 7:49 AM, Julian Elischer wrote: > M. Warner Losh wrote: >> In message: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> >> Arnar Mar Sig writes: >> : I have been working on porting FreeBSD to AVR32 for the past >> few : weeks, and now i have a bootable kernel although there is >> still a lot : of work to be done. >> COOL! Very COOL! > > I assume this is the part WITH an MMU you are supporting? Yes full MMU. The TLB is managed by software so page table layout can be implemented whatever way one wants. I was going to use the same layout that x86 uses pd->pt->entry and 4K pages, but i'm open to any suggestions. Greets Arnar Mar Sig Valka ehf From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 17:49:52 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 089BF1065673; Sun, 10 Aug 2008 17:49:52 +0000 (UTC) (envelope-from antab@valka.is) Received: from vxout-2.c.is (vxout-2.c.is [213.176.128.14]) by mx1.freebsd.org (Postfix) with ESMTP id C2E168FC13; Sun, 10 Aug 2008 17:49:51 +0000 (UTC) (envelope-from antab@valka.is) Received: from mail.internet.is (mail.aknet.is [193.4.194.58]) by vxout-2.c.is (Postfix) with ESMTP id E27524F3E06; Sun, 10 Aug 2008 17:49:39 +0000 (GMT) Received: from [192.168.1.69] (buttbuddies.cannabis.is [85.197.203.197]) by mail.internet.is (Postfix) with ESMTP id 9780410E3; Sun, 10 Aug 2008 17:49:37 +0000 (CUT) Message-Id: <449CB5A8-1C67-45F0-9B1A-97E68EE08921@valka.is> From: Arnar Mar Sig To: Wojciech A. Koszek In-Reply-To: <20080810150451.GB29016@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Sun, 10 Aug 2008 17:49:37 +0000 References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> <20080810150451.GB29016@FreeBSD.org> X-Mailer: Apple Mail (2.926) X-Vodafone-MailScanner-Information: Virusskannad hja Vodafone X-Vodafone-MailScanner: Found to be clean - Enginn virus fannst X-Vodafone-MailScanner-SpamCheck: ekki ruslpostur, SpamAssassin (notcached, stigagjof=0, required 5, autolearn=disabled) X-MailScanner-From: antab@valka.is Cc: current@freebsd.org Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 17:49:52 -0000 On Aug 10, 2008, at 3:04 PM, Wojciech A. Koszek wrote: > On Sat, Aug 09, 2008 at 08:33:27PM +0000, Arnar Mar Sig wrote: >> Hi folks >> >> I have been working on porting FreeBSD to AVR32 for the past few >> weeks, and >> now i have a bootable kernel although there is still a lot of work >> to be >> done. >> > > [..] > >> >> antab@farm.antab.is:/home/antab/freebsd/obj/avr32/home/antab/ >> freebsd/avr32/trunk/sys/NGW100 >> subsystem 900000 >> 0x9002d0e4(0)... done. >> subsystem 1000000 >> 0x900bf384(0)... pmap_map: needs implementing > > Some header files related to AVR32 are here: > > http://people.freebsd.org/~wkoszek/avr32/ > > pmap.h needs finishing and other files lack tweaking, > but if it's usefull, I think we can cooperate. Thanks, i'm going to copy most of the pmap file. Isin't it possible to define the address range for peripheral in a hints file instead? > Thanks, > > -- > Wojciech A. Koszek > wkoszek@FreeBSD.org > http://people.freebsd.org/~wkoszek/ Greets Arnar Mar Sig Valka ehf From owner-freebsd-current@FreeBSD.ORG Sun Aug 10 19:40:49 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1344106568B for ; Sun, 10 Aug 2008 19:40:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id BCC7B8FC13 for ; Sun, 10 Aug 2008 19:40:49 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m7AJc5vI093674; Sun, 10 Aug 2008 13:38:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 10 Aug 2008 13:38:24 -0600 (MDT) Message-Id: <20080810.133824.420515665.imp@bsdimp.com> To: antab@valka.is From: "M. Warner Losh" In-Reply-To: <15037888-362B-43BD-9736-4F7D2C76D762@valka.is> References: <20080809.214357.1707063132.imp@bsdimp.com> <489E9D75.4060002@elischer.org> <15037888-362B-43BD-9736-4F7D2C76D762@valka.is> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: julian@elischer.org, current@FreeBSD.org Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2008 19:40:50 -0000 In message: <15037888-362B-43BD-9736-4F7D2C76D762@valka.is> Arnar Mar Sig writes: : : On Aug 10, 2008, at 7:49 AM, Julian Elischer wrote: : : > M. Warner Losh wrote: : >> In message: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> : >> Arnar Mar Sig writes: : >> : I have been working on porting FreeBSD to AVR32 for the past : >> few : weeks, and now i have a bootable kernel although there is : >> still a lot : of work to be done. : >> COOL! Very COOL! : > : > I assume this is the part WITH an MMU you are supporting? : : Yes full MMU. The TLB is managed by software so page table layout can : be implemented whatever way one wants. I was going to use the same : layout that x86 uses pd->pt->entry and 4K pages, but i'm open to any : suggestions. This is very similar to how the MIPS ports does things. Since the TLB structure of the AVR32 is similar to MIPS, maybe looking at how it does its thing might be helpful. Of course, this conclusion was reached by just glancing a the AVR32 spec some months ago, so some discretion might be needed :-). Warner From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 14:49:35 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 016E3106566B; Mon, 11 Aug 2008 14:49:35 +0000 (UTC) (envelope-from antab@valka.is) Received: from vxout-1.c.is (vxout-1.c.is [213.176.128.13]) by mx1.freebsd.org (Postfix) with ESMTP id 8C0D68FC20; Mon, 11 Aug 2008 14:49:34 +0000 (UTC) (envelope-from antab@valka.is) Received: from mail.internet.is (mail.aknet.is [193.4.194.58]) by vxout-1.c.is (Postfix) with ESMTP id 14084538E1B; Mon, 11 Aug 2008 14:49:25 +0000 (GMT) Received: from [192.168.1.127] (buttbuddies.cannabis.is [85.197.203.197]) by mail.internet.is (Postfix) with ESMTP id 52CE53A3C4; Mon, 11 Aug 2008 14:49:21 +0000 (CUT) Message-Id: <4E6DF728-C81C-43F9-B99C-12DD0BD4A570@valka.is> From: Arnar Mar Sig To: current@FreeBSD.org In-Reply-To: <20080809.214357.1707063132.imp@bsdimp.com> Content-Type: multipart/mixed; boundary=Apple-Mail-21--359207516 Mime-Version: 1.0 (Apple Message framework v926) Date: Mon, 11 Aug 2008 14:49:20 +0000 References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> <20080809.214357.1707063132.imp@bsdimp.com> X-Mailer: Apple Mail (2.926) X-Vodafone-MailScanner-Information: Virusskannad hja Vodafone X-Vodafone-MailScanner: Found to be clean - Enginn virus fannst X-Vodafone-MailScanner-SpamCheck: ekki ruslpostur, SpamAssassin (notcached, stigagjof=0, required 5, autolearn=disabled) X-MailScanner-From: antab@valka.is Cc: "Wojciech A. Koszek" , "M. Warner Losh" , Hans Petter Selasky Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 14:49:35 -0000 --Apple-Mail-21--359207516 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Attached are instruction how to get binutils, gcc and uboot mkimage for avr32 working on FreeBSD. Dont be put off by the avr32-linux target, the avr32 target is broken or at last i haven't been able to get it working, and it dosen't matter because no linux specific code is included in the end. I have no intrest in trying to get the toolchain into the freebsd tree until Atmel has submitted they're changes upstream, and the fact that some Atmel gcc patches seem to break other arch builds. I will post patches for FreeBSD/AVR32 later today. --Apple-Mail-21--359207516 Content-Disposition: attachment; filename=build-avr32-gcc.txt Content-Type: text/plain; x-unix-mode=0644; name="build-avr32-gcc.txt" Content-Transfer-Encoding: 7bit Assuming all files are downloaded to the same folder and toolchain will be installed to /crosstools and that /crosstools/bin is in you PATH. At the moment i got a hardcoded paths to /crosstools to build the kernel. Downloads for binutils: http://avr32linux.org/twiki/pub/Main/BinutilsPatches/binutils-2.17.atmel.1.2.6.tar.bz2 http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD Downloads for gcc: http://avr32linux.org/twiki/pub/Main/GccPatches/gcc-4.2.2.atmel.1.0.8.tar.bz2 http://avr32linux.org/twiki/pub/Main/GccPatches/901-avr32-fix-no-cond-exec-before-reload.patch http://avr32linux.org/twiki/pub/Main/GccPatches/902-avr32-fix-sync-insn-instructions.patch http://avr32linux.org/twiki/pub/Main/GccPatches/903-avr32-fix-removal-of-redundant-cast-operations.patch Download for uboot: http://avr32linux.org/twiki/pub/Main/UbootPatches/u-boot-1.3.1.atmel.1.tar.bz2 Building bintuils: $ tar xvjf binutils-2.17.atmel.1.2.6.tar.bz2 Move config.sub and config.guess into binutils-2.17.atmel.1.2.6/ $ mkdir binutils-build $ cd binutils-build $ ../binutils-2.17.atmel.1.2.6/configure --target=avr32-linux --prefix=/crosstools $ gmake $ gmake install Building gcc: $ tar xvjf gcc-4.2.2.atmel.1.0.8.tar.bz2 $ cd gcc-4.2.2.atmel.1.0.8 $ patch -p1 < ../901-avr32-fix-no-cond-exec-before-reload.patch $ patch -p1 < ../902-avr32-fix-sync-insn-instructions.patch $ patch -p1 < ../903-avr32-fix-removal-of-redundant-cast-operations.patch $ cd .. $ mkdir gcc-build $ cd gcc-build $ ../gcc-4.2.2.atmel.1.0.8/configure --target=avr32-linux --prefix=/crosstools --with-gmp=/usr/local --with-mpfr=/usr/local --enable-shared --disable-nls --with-system-zlib --disable-threads --enable-languages=c --disable-libmudflap --disable-libssp --disable-libgomp $ gmake $ gmake install Building uboot: $ tar xvjf u-boot-1.3.1.atmel.1.tar.bz2 $ cd u-boot-1.3.1.atmel.1 $ gmake atngw100_config It will probably fail with some linking errors, it dosen't matter if tools/mkimage has been built. $ cp tools/mkimage /crosstools/bin Other: GDB can be built on freebsd but it dosen't do you any good at the moment, you still need avr32gdbproxy to use JTAG, and that app is closed source and only avilable for linux and windows. Maybe it works with the linux emulation, but i haven't been able to get it working on amd64 (only 32bit binaries avilable, but 64bit binaries are one the way). If you wanna try then the avr32gdbproxy app is avilable from atmels site (included in the toolchain packages) and more info about how to use it on: http://avr32linux.org/twiki/bin/view/Main/KernelDebugging --Apple-Mail-21--359207516 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Greets Arnar Mar Sig Valka ehf --Apple-Mail-21--359207516-- From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 16:01:07 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9000D106564A; Mon, 11 Aug 2008 16:01:07 +0000 (UTC) (envelope-from rohit.x.tripathi@jpmchase.com) Received: from sj6.svr.bankone.net (sj6.jpmchase.com [159.53.110.162]) by mx1.freebsd.org (Postfix) with ESMTP id 594CB8FC17; Mon, 11 Aug 2008 16:01:06 +0000 (UTC) (envelope-from rohit.x.tripathi@jpmchase.com) Received: from se6.svr.bankone.net (se6.svr.bankone.net [155.180.234.127]) by sj6.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id m7BG219n029020 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL); Mon, 11 Aug 2008 12:02:01 -0400 Received: from svr.bankone.net (cssnat232.bankone.net [172.18.0.232]) by se6.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id m7BG13Tj008024; Mon, 11 Aug 2008 12:01:03 -0400 Received: from ([169.81.34.42]) by imf1.svr.bankone.net with ESMTP id KP-BRATB.89697795; Mon, 11 Aug 2008 12:00:38 -0400 In-Reply-To: <20080809153916.GR99951@hoeg.nl> To: Ed Schouten MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 CCH5 September 12, 2005 Message-ID: From: rohit.x.tripathi@jpmchase.com Date: Mon, 11 Aug 2008 12:00:37 -0400 X-MIMETrack: Serialize by Router on PHLMS133/JPMCHASE(Release 6.5.6FP2|October 17, 2007) at 08/11/2008 12:00:37, Serialize complete at 08/11/2008 12:00:37 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Current , Rohit Tripathi , owner-freebsd-current@freebsd.org Subject: Re: [O/T] svn co fails for usr.bin/window X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 16:01:07 -0000 Thank you, it checks out fine now under linux and freebsd now, but under windows with tortoise svn throws the following error (due to unknown reasons, might be something with my environment): "Error: Can't check path 'C:\Documents and Settings\rohit\Desktop\freebsd\usr.bin\mail\aux.c': The parameter is incorrect." -Rohit P.S. Please pardon the lengthy disclaimer under my email, it is appended to all outgoing emails by the JP Morgan mail servers. Ed Schouten Sent by: owner-freebsd-current@freebsd.org 08/09/2008 11:39 AM To Rohit Tripathi cc FreeBSD Current Subject Re: [O/T] svn co fails for usr.bin/window * Ed Schouten wrote: > * Rohit Tripathi wrote: > > svn: Can't open file 'window/.svn/tmp/text-base/:ww.svn-base': Invalid argument > > I was looking at those files some time ago - the :foo files in the > window directory don't seem to be used (look at Makefile). Maybe I > should nuke them? I've deleted these files in r181466. Can you confirm if you can now perform a full checkout of the source tree on your system? -- Ed Schouten WWW: http://80386.nl/ [attachment "attpc806.dat" deleted by Rohit X Tripathi/JPMCHASE] ----------------------------------------- This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 16:07:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB7A71065672; Mon, 11 Aug 2008 16:07:08 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id 98D488FC15; Mon, 11 Aug 2008 16:07:08 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K5G00JOM23VSI70@asmtp014.mac.com>; Mon, 11 Aug 2008 09:07:08 -0700 (PDT) Message-id: <5AAD5E78-5AEE-4415-B557-0D3D1FE7A736@mac.com> From: Marcel Moolenaar To: rohit.x.tripathi@jpmchase.com In-reply-to: Date: Mon, 11 Aug 2008 09:07:07 -0700 References: X-Mailer: Apple Mail (2.928.1) Cc: Ed Schouten , FreeBSD Current , Rohit Tripathi , owner-freebsd-current@freebsd.org Subject: Re: [O/T] svn co fails for usr.bin/window X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 16:07:08 -0000 On Aug 11, 2008, at 9:00 AM, rohit.x.tripathi@jpmchase.com wrote: > Thank you, it checks out fine now under linux and freebsd now, but > under > windows with tortoise svn throws the following error (due to unknown > reasons, might be something with my environment): > > "Error: Can't check path 'C:\Documents and > Settings\rohit\Desktop\freebsd\usr.bin\mail\aux.c': The parameter is > incorrect." aux* is special under Windows as well. -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 17:23:42 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65CA7106564A for ; Mon, 11 Aug 2008 17:23:42 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from gw.sandvine.com (gw.sandvine.com [199.243.201.138]) by mx1.freebsd.org (Postfix) with ESMTP id 055888FC1D for ; Mon, 11 Aug 2008 17:23:40 +0000 (UTC) (envelope-from emaste@freebsd.org) Received: from labgw2.phaedrus.sandvine.com ([192.168.3.11]) by gw.sandvine.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Aug 2008 13:11:25 -0400 Received: by labgw2.phaedrus.sandvine.com (Postfix, from userid 12627) id 108A811700; Mon, 11 Aug 2008 13:11:25 -0400 (EDT) Date: Mon, 11 Aug 2008 13:11:24 -0400 From: Ed Maste To: Marcel Moolenaar Message-ID: <20080811171124.GA70159@sandvine.com> References: <5AAD5E78-5AEE-4415-B557-0D3D1FE7A736@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5AAD5E78-5AEE-4415-B557-0D3D1FE7A736@mac.com> User-Agent: Mutt/1.4.2.1i X-OriginalArrivalTime: 11 Aug 2008 17:11:25.0503 (UTC) FILETIME=[49375CF0:01C8FBD5] Cc: Ed Schouten , rohit.x.tripathi@jpmchase.com, FreeBSD Current , Rohit Tripathi Subject: Re: [O/T] svn co fails for usr.bin/window X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 17:23:42 -0000 On Mon, Aug 11, 2008 at 09:07:07AM -0700, Marcel Moolenaar wrote: > > On Aug 11, 2008, at 9:00 AM, rohit.x.tripathi@jpmchase.com wrote: > > >Thank you, it checks out fine now under linux and freebsd now, but > >under > >windows with tortoise svn throws the following error (due to unknown > >reasons, might be something with my environment): > > > >"Error: Can't check path 'C:\Documents and > >Settings\rohit\Desktop\freebsd\usr.bin\mail\aux.c': The parameter is > >incorrect." > > aux* is special under Windows as well. As is con.* as in the following files: sys/dev/digi/con.CX-IBM.h sys/dev/digi/con.CX.h sys/dev/digi/con.EPCX.h sys/dev/digi/con.MBank.h There's also quite a few cases of two files with the same name, differing only in case. For example: src/share/man/man9/vfs_mount.9 src/share/man/man9/VFS_MOUNT.9 Some windows filesystems also get upset on: src/share/doc/psd/15.yacc/ss.. -Ed From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 18:47:44 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E39E106566B for ; Mon, 11 Aug 2008 18:47:44 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045140.chello.pl [87.206.45.140]) by mx1.freebsd.org (Postfix) with ESMTP id 99CB68FC14 for ; Mon, 11 Aug 2008 18:47:43 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 0A8B245B36; Mon, 11 Aug 2008 20:47:42 +0200 (CEST) Received: from localhost (chello087206045140.chello.pl [87.206.45.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 31FF04569A; Mon, 11 Aug 2008 20:47:38 +0200 (CEST) Date: Mon, 11 Aug 2008 20:47:47 +0200 From: Pawel Jakub Dawidek To: Patrick Lamaizi?re Message-ID: <20080811184747.GC1595@garage.freebsd.pl> References: <20080808115152.GF89712@carrot.paeps.cx> <20080809180719.5415955f@baby-jane-lamaiziere-net.local> <20080809202225.GA1363@garage.freebsd.pl> <20080810154732.4f8ed1de@baby-jane-lamaiziere-net.local> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gr/z0/N6AeWAPJVB" Content-Disposition: inline In-Reply-To: <20080810154732.4f8ed1de@baby-jane-lamaiziere-net.local> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: current@freebsd.org Subject: Re: Committing glxsb - any objections? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 18:47:44 -0000 --gr/z0/N6AeWAPJVB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 10, 2008 at 03:47:32PM +0200, Patrick Lamaizi?re wrote: > What is the recommended maximum length of one line ? I use 80 characters. Some use less, so diff also fits in 80 characters terminals. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --gr/z0/N6AeWAPJVB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIoIlSForvXbEpPzQRAqcDAKDRI/dWYXDjY8dKmPyGxQED/3cJ1gCg6f5O +BKzo6neYrTvWBp8d1PTGH8= =Fmvc -----END PGP SIGNATURE----- --gr/z0/N6AeWAPJVB-- From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 22:50:07 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDFB5106567A; Mon, 11 Aug 2008 22:50:07 +0000 (UTC) (envelope-from antab@valka.is) Received: from vxout-1.c.is (vxout-1.c.is [213.176.128.13]) by mx1.freebsd.org (Postfix) with ESMTP id 88C128FC08; Mon, 11 Aug 2008 22:50:07 +0000 (UTC) (envelope-from antab@valka.is) Received: from mail.internet.is (xs.heimsnet.is [193.4.194.50]) by vxout-1.c.is (Postfix) with ESMTP id 7D60A53A982; Mon, 11 Aug 2008 22:50:01 +0000 (GMT) Received: from [192.168.1.69] (buttbuddies.cannabis.is [85.197.203.197]) by mail.internet.is (Postfix) with ESMTP id D7B0210E9; Mon, 11 Aug 2008 22:50:00 +0000 (CUT) Message-Id: <665C9C96-E70E-4B07-87AD-494A121DB213@valka.is> From: Arnar Mar Sig To: current@FreeBSD.org In-Reply-To: <4E6DF728-C81C-43F9-B99C-12DD0BD4A570@valka.is> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Date: Mon, 11 Aug 2008 22:50:00 +0000 References: <67389BC1-FBD5-4D39-97CA-056FFC3B3B01@valka.is> <20080809.214357.1707063132.imp@bsdimp.com> <4E6DF728-C81C-43F9-B99C-12DD0BD4A570@valka.is> X-Mailer: Apple Mail (2.926) X-Vodafone-MailScanner-Information: Virusskannad hja Vodafone X-Vodafone-MailScanner: Found to be clean - Enginn virus fannst X-Vodafone-MailScanner-SpamCheck: ekki ruslpostur, SpamAssassin (notcached, stigagjof=0, required 5, autolearn=disabled) X-MailScanner-From: antab@valka.is Cc: "Wojciech A. Koszek" , "M. Warner Losh" , Hans Petter Selasky Subject: Re: FreeBSD/AVR32 port X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 22:50:08 -0000 Here: http://buttbuddies.cannabis.is/freebsd/freebsd-avr32.patch Is the patch to bring AVR32 into the tree. Patch over a copy of - CURRENT as of today, this patch will break other archs at the moment. Patch with: patch -p1 < freebsd-avr32.patch. Build with the "build" script that is in the source root. Make sure to have avr32-linux-* tools and mkimage are in your PATH. Kernel is downloaded with tftp to the board, you will need to configure tftpd so you can download kernel.uboot, found in NGW100 objdir after build My U-Boot variables for booting: bootfile=kernel.uboot bootcmd=tftpboot; bootm fileaddr=10400000 ipaddr= serverip= At the moment i'm working on pmap and exception handling. I'm learning about freebsd internals as i work on this port so i welcome any help with pmap On Aug 11, 2008, at 2:49 PM, Arnar Mar Sig wrote: > Attached are instruction how to get binutils, gcc and uboot mkimage > for avr32 working on FreeBSD. > Dont be put off by the avr32-linux target, the avr32 target is > broken or at last i haven't been able to get it working, and it > dosen't matter because no linux specific code is included in the end. > > I have no intrest in trying to get the toolchain into the freebsd > tree until Atmel has submitted they're changes upstream, and the > fact that some Atmel gcc patches seem to break other arch builds. > > I will post patches for FreeBSD/AVR32 later today. > > > > Greets > Arnar Mar Sig > Valka ehf > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > " Greets Arnar Mar Sig Valka ehf From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 23:04:53 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7D5E1065676 for ; Mon, 11 Aug 2008 23:04:53 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 8E0008FC21 for ; Mon, 11 Aug 2008 23:04:53 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3670096rvf.43 for ; Mon, 11 Aug 2008 16:04:53 -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=zuFPaimtX0mGUsOwcbYtB8OgIkkYDICbQ9266eHGgv8=; b=J3DMZ7Dg+j6lOtqIma3u0s2QNyF39Y/qYR9fGY65aQLRFbUgoHciCTAZXNC+OQgWxt CRpV3RGNZMLLPA4Eo5wQzbGqJ99JFZb+XAGSO8APZXlF+bexegS5sNlgx9gRUyJYQLpj vnCbZxAMWTDsETxqo1jT/hbtNdOSWFwQtumcM= 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=Z1K5NFnquvl11cUaLklKbCgchuNmEeR3ewLiBIsJ2rV6Ji4lq8gPlaY1mRcn7/HQ4b aBZ7JoUcyAwYFotKB5uWc8Usn30mr6BZ4xg5ZCLtc5KQGlP6vnHv3zyTHc62mjetryma +m6BY7kNLt6ZqeKByap7O+qLCUhXg4N5mpmD8= Received: by 10.141.50.11 with SMTP id c11mr3882557rvk.222.1218495893327; Mon, 11 Aug 2008 16:04:53 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Mon, 11 Aug 2008 16:04:53 -0700 (PDT) Message-ID: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> Date: Mon, 11 Aug 2008 19:04:53 -0400 From: "Rohit Tripathi" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: cannot delete libc.so.7 from build directories X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 23:04:53 -0000 I tried this from runlevel 1 as root and still can't seem to get rid of these rm: obj.old/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted rm: obj.old/usr/src/lib32/usr/lib32/libcrypt.so.4: Operation not permitted rm: obj.old/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted rm: obj.old/usr/src/lib32/usr/lib32/libkse.so.3: Operation not permitted rm: obj.old/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted rm: obj.old/usr/src/lib32/usr/lib32: Directory not empty rm: obj.old/usr/src/lib32/usr: Directory not empty rm: obj.old/usr/src/lib32: Directory not empty rm: obj.old/usr/src: Directory not empty rm: obj.old/usr: Directory not empty rm: obj.old: Directory not empty rm: obj.old2/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted rm: obj.old2/usr/src/lib32/usr/lib32/libcrypt.so.4: Operation not permitted rm: obj.old2/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted rm: obj.old2/usr/src/lib32/usr/lib32/libkse.so.3: Operation not permitted rm: obj.old2/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted rm: obj.old2/usr/src/lib32/usr/lib32: Directory not empty rm: obj.old2/usr/src/lib32/usr: Directory not empty rm: obj.old2/usr/src/lib32: Directory not empty rm: obj.old2/usr/src: Directory not empty rm: obj.old2/usr: Directory not empty rm: obj.old2: Directory not empty From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 23:08:06 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501C11065688 for ; Mon, 11 Aug 2008 23:08:06 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id BF1158FC15 for ; Mon, 11 Aug 2008 23:08:05 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m7BN8hD4088622; Mon, 11 Aug 2008 18:08:43 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m7BN8hi3088621; Mon, 11 Aug 2008 18:08:43 -0500 (CDT) (envelope-from brooks) Date: Mon, 11 Aug 2008 18:08:43 -0500 From: Brooks Davis To: Rohit Tripathi Message-ID: <20080811230843.GA88605@lor.one-eyed-alien.net> References: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org Subject: Re: cannot delete libc.so.7 from build directories X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 23:08:06 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 11, 2008 at 07:04:53PM -0400, Rohit Tripathi wrote: > I tried this from runlevel 1 as root and still can't seem to get rid of t= hese >=20 > rm: obj.old/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted > rm: obj.old/usr/src/lib32/usr/lib32/libcrypt.so.4: Operation not permitted > rm: obj.old/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted > rm: obj.old/usr/src/lib32/usr/lib32/libkse.so.3: Operation not permitted > rm: obj.old/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted > rm: obj.old/usr/src/lib32/usr/lib32: Directory not empty > rm: obj.old/usr/src/lib32/usr: Directory not empty > rm: obj.old/usr/src/lib32: Directory not empty > rm: obj.old/usr/src: Directory not empty > rm: obj.old/usr: Directory not empty > rm: obj.old: Directory not empty > rm: obj.old2/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted > rm: obj.old2/usr/src/lib32/usr/lib32/libcrypt.so.4: Operation not permitt= ed > rm: obj.old2/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted > rm: obj.old2/usr/src/lib32/usr/lib32/libkse.so.3: Operation not permitted > rm: obj.old2/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted > rm: obj.old2/usr/src/lib32/usr/lib32: Directory not empty > rm: obj.old2/usr/src/lib32/usr: Directory not empty > rm: obj.old2/usr/src/lib32: Directory not empty > rm: obj.old2/usr/src: Directory not empty > rm: obj.old2/usr: Directory not empty > rm: obj.old2: Directory not empty Certain critical files are marked with the schg flag to prevent accidental deletion. You can remove them by running: chflags -R noschge obj.old obj.old2 rm -rf obj.old obj.old2 -- Brooks --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFIoMZ6XY6L6fI4GtQRAgHsAJ9uhRXv2QIjPJV1ExpXLxWb+S54zACgjPmw PhPGHnxmdm5d+rkRF6fzZp4= =BBWF -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 23:08:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B67C6106564A for ; Mon, 11 Aug 2008 23:08:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 7D01A8FC16 for ; Mon, 11 Aug 2008 23:08:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.2/8.14.2) with ESMTP id m7BN88Ih065758; Mon, 11 Aug 2008 16:08:08 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.2/8.14.2/Submit) id m7BN88Re065757; Mon, 11 Aug 2008 16:08:08 -0700 (PDT) (envelope-from sgk) Date: Mon, 11 Aug 2008 16:08:08 -0700 From: Steve Kargl To: Rohit Tripathi Message-ID: <20080811230808.GA65690@troutmask.apl.washington.edu> References: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <33615c8e0808111604x117e9eddpdbe971e33112a12b@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: cannot delete libc.so.7 from build directories X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2008 23:08:08 -0000 On Mon, Aug 11, 2008 at 07:04:53PM -0400, Rohit Tripathi wrote: > I tried this from runlevel 1 as root and still can't seem to get rid of these > > rm: obj.old/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted man chflags See description of schg -- Steve From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 07:15:52 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AD1A106566B; Tue, 12 Aug 2008 07:15:52 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 19AFE8FC08; Tue, 12 Aug 2008 07:15:52 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id BF9DE15604B; Tue, 12 Aug 2008 02:58:35 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 12 Aug 2008 02:58:35 -0400 X-Sasl-enc: 2XF4Itui4XAk0xd0LKaekahjRotaxJ7jU0i2z4k5dCZz 1218524315 Received: from [192.168.1.235] (76-191-150-176.dsl.dynamic.sonic.net [76.191.150.176]) by mail.messagingengine.com (Postfix) with ESMTPSA id 1C7D11B7FE; Tue, 12 Aug 2008 02:58:35 -0400 (EDT) Message-ID: <48A134FA.3000003@freebsd.org> Date: Tue, 12 Aug 2008 00:00:10 -0700 From: Darren Reed User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Max Laier References: <200808041127.25511.beech@freebsd.org> <200808042130.26025.max@love2party.net> In-Reply-To: <200808042130.26025.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Beech Rintoul Subject: Re: IPFilter build failure X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 07:15:52 -0000 Max Laier wrote: > On Monday 04 August 2008 21:27:22 Beech Rintoul wrote: > > I've been getting the following trying to build current. I > > nuked /usr/obj and have downloaded fresh sources: > > > > ipftest/../../../contrib/ipfilter > > -I/usr/src/sbin/ipf/ipftest/../../../contrib/ipfilter/tools > > -I/usr/src/sbin/ipf/ipftest/../../../sys > > -I/usr/src/sbin/ipf/ipftest/../../../sys/contrib/ipfilter -DSTATETOP > > -D__UIO_EXPOSE -fstack-protector -Wno-pointer-sign -static -o ipftest > > ipftest.o fil.o ip_frag.o ip_state.o ip_nat.o ip_proxy.o > > ip_auth.o ip_htable.o ip_lookup.o ip_pool.o ip_scan.o ip_sync.o > > ip_rules.o ip_fil.o ip_log.o ippool_y.o ippool_l.o ipf_y.o ipf_l.o > > ipnat_y.o ipnat_l.o md5.o radix.o > > bpf_filter.o /usr/obj/usr/src/sbin/ipf/ipftest/../libipf/libipf.a -lkvm > > /usr/obj/usr/src/tmp/usr/lib/libc.a(arc4random.o)(.text+0x240): In > > > > function `arc4random': > > : multiple definition of `arc4random' > > > > ip_fil.o(.text+0x80): first defined here > > /usr/obj/usr/src/tmp/usr/bin/ld: Warning: size of symbol `arc4random' > > changed from 43 in ip_fil.o to 421 > > in /usr/obj/usr/src/tmp/usr/lib/libc.a(arc4random.o) > > *** Error code 1 > > > > uname -a: > > FreeBSD stargate.alaskaparadise.com 8.0-CURRENT FreeBSD 8.0-CURRENT > > #31: Sun Jul 27 02:48:49 AKDT 2008 > > > > Anyone have a clue how to fix this? > > Please test the attached ... sent it to a similar report in cvs@ a few days > back, but did not get any feedback. Are you using WITHOUT_DYNAMICROOT? > Apologies for letting this slip, my attention has been elsewhere and thanks for committing the fix. This problem didn't showup when I was compiling, so I'll double check what's been committed is correct. It turned out that I didn't want arc4random used at all in ipftest, so I need to get in there and try and sort out that mess, but it got carried over as part of the "generic set of changes." Darren (yes, I hate the #Ifdef mess too...blah) From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 12:25:53 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EE9F106566B for ; Tue, 12 Aug 2008 12:25:53 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 42E318FC17 for ; Tue, 12 Aug 2008 12:25:53 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EC451207F; Tue, 12 Aug 2008 14:25:51 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id D8EB684497; Tue, 12 Aug 2008 14:25:51 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Dimitry Andric References: <200808041330.m74DUsg9075683@lurza.secnetix.de> <48970C5E.6000406@andric.com> <20080804230919.H1629@plexi.pun-pun.prv> <20080805013704.GA90232@over-yonder.net> <48981B7A.6080205@andric.com> Date: Tue, 12 Aug 2008 14:25:51 +0200 In-Reply-To: <48981B7A.6080205@andric.com> (Dimitry Andric's message of "Tue, 05 Aug 2008 11:20:58 +0200") Message-ID: <864p5q4dyo.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: randy@psg.com, freebsd-current@FreeBSD.ORG, "Matthew D. Fuller" Subject: Re: termcap under single luser X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 12:25:53 -0000 Dimitry Andric writes: > Indeed, it would be much better to only put /boot in a separate > filesystem, if that were possible without none-too-clean hacks. :) It would be trivial if boot1 and loader were smart enough to detect when loader is in / instead of /boot/. Implementation is left as an exercise to the reader. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 12:28:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A89331065682; Tue, 12 Aug 2008 12:28:18 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6E2538FC30; Tue, 12 Aug 2008 12:28:18 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 9F0052049; Tue, 12 Aug 2008 14:28:17 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 9146B84497; Tue, 12 Aug 2008 14:28:17 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: rohit.x.tripathi@jpmchase.com References: Date: Tue, 12 Aug 2008 14:28:17 +0200 In-Reply-To: (rohit x. tripathi's message of "Mon, 11 Aug 2008 12:00:37 -0400") Message-ID: <86zlni2za6.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Ed Schouten , FreeBSD Current , Rohit Tripathi , owner-freebsd-current@freebsd.org Subject: Re: [O/T] svn co fails for usr.bin/window X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 12:28:18 -0000 rohit.x.tripathi@jpmchase.com writes: > Thank you, it checks out fine now under linux and freebsd now, but > under windows [...] Friends don't let friends do Windows. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 14:12:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2F561065670; Tue, 12 Aug 2008 14:12:30 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 554108FC2A; Tue, 12 Aug 2008 14:12:30 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id C6A79A068F; Tue, 12 Aug 2008 15:51:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id BA115A068E; Tue, 12 Aug 2008 15:51:43 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id A2C6CA0684; Tue, 12 Aug 2008 15:51:43 +0200 (CEST) Received: from wep4017.physik.uni-wuerzburg.de ([132.187.37.17]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008081215514276-21457 ; Tue, 12 Aug 2008 15:51:42 +0200 Received: by wep4017.physik.uni-wuerzburg.de (sSMTP sendmail emulation); Tue, 12 Aug 2008 15:51:42 +0200 From: "Alexey Shuvaev" Date: Tue, 12 Aug 2008 15:51:42 +0200 To: ed@freebsd.org Message-ID: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/12/2008 03:51:42 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/12/2008 03:51:43 PM, Serialize complete at 08/12/2008 03:51:43 PM Content-Type: multipart/mixed; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: POSIX compliant termios.h? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 14:12:30 -0000 --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello! I have just tried to unBROKEN cad/brlcad and noticed that FreeBSD termios.h is missing some POSIX mandatory flags. In this case, TAB3 output processing flag (expand TABs on output == OXTABS). Are there any plans to fix it in the base? Attached is the workaround patch for cad/brlcad. Should I push it into the ports (via PR, etc...) or it is better to wait a little for a fix in the base? Thanks, Alexey. --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-src-libtermio-termio.c" --- src/libtermio/termio.c.orig 2008-03-11 22:19:25.000000000 +0100 +++ src/libtermio/termio.c 2008-08-12 14:35:42.000000000 +0200 @@ -29,13 +29,10 @@ # include #endif -#if HAVE_SYS_IOCTL_COMPAT_H -# include -# define TAB3 (TAB1|TAB2) -# if !defined(OCRNL) -# define OCRNL 0000010 -# endif -#endif +/* + * XXX: Should FreeBSD have POSIX compliant flags (TAB3, for example)? + */ +#define TAB3 OXTABS /* --5mCyUwZo2JvN/JJP-- From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 14:47:09 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E32B106566B for ; Tue, 12 Aug 2008 14:47:09 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 3BFFC8FC15 for ; Tue, 12 Aug 2008 14:47:09 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 8ED331CC63; Tue, 12 Aug 2008 16:47:08 +0200 (CEST) Date: Tue, 12 Aug 2008 16:47:08 +0200 From: Ed Schouten To: Alexey Shuvaev Message-ID: <20080812144708.GY99951@hoeg.nl> References: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8fFQOkr0mRRE6sJ/" Content-Disposition: inline In-Reply-To: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current Subject: Re: POSIX compliant termios.h? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 14:47:09 -0000 --8fFQOkr0mRRE6sJ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Alexey, * Alexey Shuvaev wrote: > I have just tried to unBROKEN cad/brlcad and noticed that FreeBSD > termios.h is missing some POSIX mandatory flags. In this case, > TAB3 output processing flag (expand TABs on output =3D=3D OXTABS). > Are there any plans to fix it in the base? >=20 > Attached is the workaround patch for cad/brlcad. Should I push it > into the ports (via PR, etc...) or it is better to wait a little > for a fix in the base? Until very recently, it wasn't really possible to properly add TAB3 to , because TAB3 was also used inside the interface. Now that is no longer accessible by userspace applications, we could commit the following patch to -CURRENT, but we cannot safely backport it to RELENG_*: | --- sys/sys/termios.h | +++ sys/sys/termios.h | @@ -109,6 +109,9 @@ | #ifndef _POSIX_SOURCE | #define ONLCR 0x00000002 /* map NL to CR-NL (ala CRMOD) */ | #define OXTABS 0x00000004 /* expand tabs to spaces */ | +#ifndef _KERNEL | +#define TAB3 OXTABS | +#endif /* !_KERNEL */ | #define ONOEOT 0x00000008 /* discard EOT's (^D) on output) */ | #define OCRNL 0x00000010 /* map CR to NL on output */ | #define ONOCR 0x00000020 /* no CR output at column 0 */ In the mean time, you'd better use the following cpp tricks: | #ifndef TAB3 | #ifdef OXTABS | #define TAB3 OXTABS | #else | #define TAB3 0 | #endif | #endif --=20 Ed Schouten WWW: http://80386.nl/ --8fFQOkr0mRRE6sJ/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkihomwACgkQ52SDGA2eCwXUdgCfUeyXgfxTT6mODdsdvhN2qk5X 0TAAn0wqz2sKvlhFRHtQX9CD8RFzRfen =QST8 -----END PGP SIGNATURE----- --8fFQOkr0mRRE6sJ/-- From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 15:10:40 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 004EC10656C3 for ; Tue, 12 Aug 2008 15:10:39 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id C328E8FC12 for ; Tue, 12 Aug 2008 15:10:39 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id EF0541CC63; Tue, 12 Aug 2008 17:10:38 +0200 (CEST) Date: Tue, 12 Aug 2008 17:10:38 +0200 From: Ed Schouten To: Alexey Shuvaev Message-ID: <20080812151038.GA99951@hoeg.nl> References: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Z2IdzX9mnvzeYuwT" Content-Disposition: inline In-Reply-To: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current Subject: Re: POSIX compliant termios.h? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 15:10:40 -0000 --Z2IdzX9mnvzeYuwT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Alexey Shuvaev wrote: > I have just tried to unBROKEN cad/brlcad and noticed that FreeBSD > termios.h is missing some POSIX mandatory flags. In this case, > TAB3 output processing flag (expand TABs on output =3D=3D OXTABS). > Are there any plans to fix it in the base? >=20 > Attached is the workaround patch for cad/brlcad. Should I push it > into the ports (via PR, etc...) or it is better to wait a little > for a fix in the base? Wait wait wait... Deja vu. brlcad is broken? I submitted a patch for it in December 2007, which got committed in February. http://bugs.freebsd.org/119096 I even contacted the maintainer of brlcad to make sure a portable version of it got integrated. Gah! --=20 Ed Schouten WWW: http://80386.nl/ --Z2IdzX9mnvzeYuwT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkihp+4ACgkQ52SDGA2eCwXNawCfejHpGdg+mNCtqDp/H+gzAA2i t18An3GrVKAqP345e+yX05cZnvwT9M4K =3zJN -----END PGP SIGNATURE----- --Z2IdzX9mnvzeYuwT-- From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 15:35:48 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F6361065675 for ; Tue, 12 Aug 2008 15:35:48 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2288FC13 for ; Tue, 12 Aug 2008 15:35:48 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 5A4301CC63; Tue, 12 Aug 2008 17:35:47 +0200 (CEST) Date: Tue, 12 Aug 2008 17:35:47 +0200 From: Ed Schouten To: Alexey Shuvaev Message-ID: <20080812153547.GB99951@hoeg.nl> References: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> <20080812144708.GY99951@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m7GK0ytKUM7VScCy" Content-Disposition: inline In-Reply-To: <20080812144708.GY99951@hoeg.nl> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Current Subject: Re: POSIX compliant termios.h? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 15:35:48 -0000 --m7GK0ytKUM7VScCy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello all, Sorry everyone for spamming the lists. ;-) * Ed Schouten wrote: > Until very recently, it wasn't really possible to properly add TAB3 to > , because TAB3 was also used inside the interface. > Now that is no longer accessible by userspace applications, we > could commit the following patch to -CURRENT, but we cannot safely > backport it to RELENG_*: It turns out I was mistaken, because we never supported TAB3 in the first place. I thought we just defined it to (TAB1|TAB2) inside sys/ioctl_compat.h. I've just fixed this in the MPSAFETTY tree: http://perforce.freebsd.org/changeView.cgi?CH=3D147234 This means on August 20, FreeBSD will support TAB3 like it should. I won't MFC this change back, because I suspect some ports might break if I do so. We've lived without TAB3 for many years now, so I guess it won't hurt to leave RELENG_[67] the way they are. --=20 Ed Schouten WWW: http://80386.nl/ --m7GK0ytKUM7VScCy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkihrdMACgkQ52SDGA2eCwV+YgCfX3285OFkMnuIGXEM2IdVqOS/ K1kAnRnmX7ileNTWUthS5cHTRnD68SR4 =XPFH -----END PGP SIGNATURE----- --m7GK0ytKUM7VScCy-- From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 15:40:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6368106568F for ; Tue, 12 Aug 2008 15:40:50 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 89E828FC1C for ; Tue, 12 Aug 2008 15:40:50 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4237826rvf.43 for ; Tue, 12 Aug 2008 08:40: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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pQCNeP3X2m+kFzjyKGfpbfE3MIdUhM8c+fJGSPJwC+E=; b=S0gDdM5QWZ/OsncCcaWWkFoFzlvhJDXACLT8aYwJhYzvo/9iWzY0WMFgq+DNf5NsFU lOg1RYyXPq6K0YhejMhq9xdioHEa6bEnLujUefWGbRGZuTiDOiymdbojzHbfLneI2Wrk HyIql8gQ94K879hMbaEjX4M+7nTqnLSdHolVA= 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=pHJ0cVGnroW/dlJ8OphQEBopuD4qsPpwLQfT6++msBn9eZDRWnsqDJ8IQPRceKVpMp plXLCkQYK6wcehraGxSuXvHNKsn64mLusNserxgSfSyGKLg2BJa5eZDiXsdsga8tIo1g PNFIL5uL0DNWy+ejHNdHYvFsPT6NTNqLMhZ18= Received: by 10.141.88.3 with SMTP id q3mr4479302rvl.94.1218555650076; Tue, 12 Aug 2008 08:40:50 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Tue, 12 Aug 2008 08:40:50 -0700 (PDT) Message-ID: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> Date: Tue, 12 Aug 2008 11:40:50 -0400 From: "Rohit Tripathi" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 15:40:50 -0000 Hi, I configured an amd64 kernel with iwn option and set the license variable in loader.conf. My make.conf specifies cputype of nocona Upon trying to bring up iwn0 I get a SIOCS80211 error. My machine is a Lenovo t61p. Do I need to play around with ioctls ? I'm somewhat new to debugging the kernel :) -Rohit From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 15:52:51 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1C64106566B for ; Tue, 12 Aug 2008 15:52:51 +0000 (UTC) (envelope-from rohit.x.tripathi@jpmchase.com) Received: from sb4.jpmchase.com (sb4.jpmchase.com [170.148.48.190]) by mx1.freebsd.org (Postfix) with ESMTP id 5EA2E8FC0C for ; Tue, 12 Aug 2008 15:52:50 +0000 (UTC) (envelope-from rohit.x.tripathi@jpmchase.com) Received: from se3.svr.bankone.net (internalhost.FCNBD.com [155.180.234.122] (may be forged)) by sb4.jpmchase.com (Switch-3.1.8/Switch-3.1.7) with ESMTP id m7CFqq1N020636 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=FAIL) for ; Tue, 12 Aug 2008 11:52:52 -0400 Received: from jpmchase.com ([10.246.2.155]) by se3.svr.bankone.net (Switch-3.1.8/Switch-3.1.7) with ESMTP id m7CFqgdS016938 for ; Tue, 12 Aug 2008 11:52:42 -0400 Received: from ([169.81.34.42]) by imb1.jpmchase.com with ESMTP id KP-BRCGX.79653097; Tue, 12 Aug 2008 11:51:26 -0400 In-Reply-To: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> To: "Rohit Tripathi" MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 CCH5 September 12, 2005 Message-ID: From: rohit.x.tripathi@jpmchase.com Date: Tue, 12 Aug 2008 11:52:15 -0400 X-MIMETrack: Serialize by Router on PHLMS133/JPMCHASE(Release 6.5.6FP2|October 17, 2007) at 08/12/2008 11:52:18, Serialize complete at 08/12/2008 11:52:18 Content-Type: text/plain; charset="US-ASCII" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 15:52:51 -0000 I forgot to mention that I read the following thread before posting my question: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-06/msg00556.html Followed the instructions to create wlan0 but kept getting the same errors. regards, Rohit "Rohit Tripathi" Sent by: owner-freebsd-current@freebsd.org 08/12/2008 11:40 AM To freebsd-current@freebsd.org cc Subject [iwn driver] SIOCS80211 error on 4965AGN Hi, I configured an amd64 kernel with iwn option and set the license variable in loader.conf. My make.conf specifies cputype of nocona Upon trying to bring up iwn0 I get a SIOCS80211 error. My machine is a Lenovo t61p. Do I need to play around with ioctls ? I'm somewhat new to debugging the kernel :) -Rohit _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" ----------------------------------------- This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to UK legal entities. From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 20:05:01 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4EDF106567A for ; Tue, 12 Aug 2008 20:05:00 +0000 (UTC) (envelope-from jamesfrancistoy@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id BA4B18FC22 for ; Tue, 12 Aug 2008 20:05:00 +0000 (UTC) (envelope-from jamesfrancistoy@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4388501rvf.43 for ; Tue, 12 Aug 2008 13:05: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:sender :to:subject:cc:in-reply-to:mime-version:content-type:references :x-google-sender-auth; bh=Aa+9LCl8TOmFKfX14VfL83hSHRaCh7j+ZaPlYgsOdko=; b=FKf5lBNJLeTOUSxIopjMOV0B6fz+0lL5dUonCWYa4D9mBr9a9nwU3vXF9vy1YzTpOI +HM5mOLuF6AllJIEl3jn6/1z8HDGox99S54LucJRgyhD1dGd4qh0hhfbTa822GA56H+d qfXZ5gbrBdJTJhP0UNoYBW2p2fY5JmVsf0En4= 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=GKmmYdqV3ThylyZTJPZ7fHtAHfFnEV28Fwd8M+HCogU/l1sESBPKNMBT8S1SOZP8rA Rsy6Fkb65BvfEu2dm8k36Gn/DxvJzW89M2dYmJJ/GMxMbOKpQtayorg4up2o3sAcXOfX 8ezH7QA2XJGOLWfnQcsKOPpGmaQlUk2nCCrXs= Received: by 10.141.168.16 with SMTP id v16mr4651749rvo.233.1218569804158; Tue, 12 Aug 2008 12:36:44 -0700 (PDT) Received: by 10.141.145.4 with HTTP; Tue, 12 Aug 2008 12:36:44 -0700 (PDT) Message-ID: <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> Date: Tue, 12 Aug 2008 15:36:44 -0400 From: jt Sender: jamesfrancistoy@gmail.com To: rohit.x.tripathi@jpmchase.com In-Reply-To: MIME-Version: 1.0 References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> X-Google-Sender-Auth: 2ff46581e77ec2f4 X-Mailman-Approved-At: Tue, 12 Aug 2008 20:26:43 +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-current@freebsd.org, Rohit Tripathi Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 20:05:01 -0000 Rohit, a few things -- i assume that you are running current? -- have you set the machine up following /usr/src/UPDATING? if not -- this entry might be of some service -- 20080420: The 802.11 wireless support was redone to enable multi-bss operation on devices that are capable. The underlying device is no longer used directly but instead wlanX devices are cloned with ifconfig. This requires changes to rc.conf files. For example, change: ifconfig_ath0="WPA DHCP" to wlans_ath0=wlan0 ifconfig_wlan0="WPA DHCP" see rc.conf(5) for more details. In addition, mergemaster of /etc/rc.d is highly recommended. Simultaneous update of userland and kernel wouldn't hurt either. As part of the multi-bss changes the wlan_scan_ap and wlan_scan_sta modules were merged into the base wlan module. All references to these modules (e.g. in kernel config files) must be removed. hope this helps, /jT lk dev On Tue, Aug 12, 2008 at 11:52 AM, wrote: > I forgot to mention that I read the following thread before posting my > question: > > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-06/msg00556.html > Followed the instructions to create wlan0 but kept getting the same > errors. > > regards, > Rohit > > > > > > "Rohit Tripathi" > Sent by: owner-freebsd-current@freebsd.org > 08/12/2008 11:40 AM > > To > freebsd-current@freebsd.org > cc > > Subject > [iwn driver] SIOCS80211 error on 4965AGN > > > > > > > Hi, > > I configured an amd64 kernel with iwn option and set the license > variable in loader.conf. My make.conf specifies cputype of nocona > > Upon trying to bring up iwn0 I get a SIOCS80211 error. My machine is a > Lenovo t61p. > Do I need to play around with ioctls ? I'm somewhat new to debugging > the kernel :) > > -Rohit > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > ----------------------------------------- > This communication is for informational purposes only. It is not > intended as an offer or solicitation for the purchase or sale of > any financial instrument or as an official confirmation of any > transaction. All market prices, data and other information are not > warranted as to completeness or accuracy and are subject to change > without notice. Any comments or statements made herein do not > necessarily reflect those of JPMorgan Chase & Co., its subsidiaries > and affiliates. > > This transmission may contain information that is privileged, > confidential, legally privileged, and/or exempt from disclosure > under applicable law. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, distribution, or > use of the information contained herein (including any reliance > thereon) is STRICTLY PROHIBITED. Although this transmission and any > attachments are believed to be free of any virus or other defect > that might affect any computer system into which it is received and > opened, it is the responsibility of the recipient to ensure that it > is virus free and no responsibility is accepted by JPMorgan Chase & > Co., its subsidiaries and affiliates, as applicable, for any loss > or damage arising in any way from its use. If you received this > transmission in error, please immediately contact the sender and > destroy the material in its entirety, whether in electronic or hard > copy format. Thank you. > > Please refer to http://www.jpmorgan.com/pages/disclosures for > disclosures relating to UK legal entities. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- jt From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 23:35:48 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E873106567D for ; Tue, 12 Aug 2008 23:35:48 +0000 (UTC) (envelope-from mikej@confluenttech.com) Received: from mx2.confluenttech.com (mx2.confluentasp.com [216.26.153.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2D8368FC08 for ; Tue, 12 Aug 2008 23:35:47 +0000 (UTC) (envelope-from mikej@confluenttech.com) Received: from calvin.pai.local (calvin.pai.local [10.0.6.33]) by mx2.confluenttech.com (8.14.1/8.13.8) with ESMTP id m7CKxrYv047684 for ; Tue, 12 Aug 2008 16:59:53 -0400 (EDT) (envelope-from mikej@confluenttech.com) Authentication-Results: mx2.confluenttech.com from=mikej@confluenttech.com; sender-id=neutral; spf=neutral X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: Tue, 12 Aug 2008 16:59:48 -0400 Message-ID: X-MS-Has-Attach: Importance: normal Priority: normal X-MS-TNEF-Correlator: Thread-Topic: LOR's on boot Thread-Index: Acj8uXWBr3AWy4iKS9uUS6icDt03XgABLQDg From: "Michael Jung" To: X-Mailman-Approved-At: Tue, 12 Aug 2008 23:44:31 +0000 Subject: LOR's on boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2008 23:35:48 -0000 Hi: I could not find a PR - I get three LOR on boot, system runs fine. Filesystem Size Used Avail Capacity Mounted on /dev/twed0s1a 97G 29G 61G 32% / devfs 1.0K 1.0K 0B 100% /dev /dev/twed0s3d 576G 4.0K 530G 0% /export0 tank 558G 3.2G 555G 1% /tank LOR's at end of dmesg. Stock generic kernel other than: #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident BIG options KVA_PAGES=512 nothing in /boot/loader.conf - I load the zfs module and mount that file system manually. Thanks --mikej 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 #1: Mon Aug 11 21:10:25 UTC 2008 mikej@big0.mikej.com:/usr/obj/usr/src/sys/BIG WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz (2660.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400 real memory = 3622043648 (3454 MB) avail memory = 3542003712 (3377 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, d7e00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xac00-0xac7f mem 0xe0000000-0xefffffff,0xfd9c0000-0xfd9fffff irq 16 at device 0.0 on pci1 uhci0: port 0xe000-0xe01f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe400-0xe41f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe800-0xe81f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xec00-0xec1f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xfebffc00-0xfebfffff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 em0: port 0xbc00-0xbc3f mem 0xfeae0000-0xfeafffff,0xfeac0000-0xfeadffff irq 18 at device 0.0 on pci2 em0: [FILTER] em0: Ethernet address: 00:1b:21:10:1d:55 twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xb800-0xb80f mem 0xfea9fc00-0xfea9fc0f,0xfe000000-0xfe7fffff irq 19 at device 1.0 on pci2 twe0: [GIANT-LOCKED] twe0: [ITHREAD] twe0: 4 ports, Firmware FE7X 1.05.00.068, BIOS BE7X 1.08.00.048 pci2: at device 3.0 (no driver attached) rl0: port 0xb000-0xb0ff mem 0xfea9f800-0xfea9f8ff irq 22 at device 5.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:50:2c:a4:f7:b3 rl0: [ITHREAD] isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.5 (no driver attached) acpi_button0: on acpi0 acpi_button1: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 p4tcc0: on cpu0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xd0000-0xd0fff,0xd1000-0xd1fff,0xd2800-0xd37ff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> uart0: <16550 or compatible> at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 uart0: [FILTER] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2660009976 Hz quality 800 Timecounters tick every 1.000 msec ad0: 194479MB at ata0-master UDMA100 ad1: 194481MB at ata0-slave UDMA100 acd0: DVDR at ata1-master UDMA33 ad3: 194481MB at ata1-slave UDMA100 twed0: on twe0 twed0: 715422MB (1465185024 sectors) WARNING: WITNESS option enabled, expect reduced performance. lock order reversal: (sleepable after non-sleepable) 1st 0x86bf401c struct mount mtx (struct mount mtx) @ /usr/src/sys/kern/vfs_subr.c:346 2nd 0x86bf4000 vfslock (vfslock) @ /usr/src/sys/kern/vfs_subr.c:373 KDB: stack backtrace: db_trace_self_wrapper(80b51a9a,86665b60,807e453e,80b542fb,86bf4000,...) at db_trace_self_wrapper+0x26 kdb_backtrace(80b542fb,86bf4000,80b5a29f,80b5a29f,80b5a844,...) at kdb_backtrace+0x29 witness_checkorder(86bf4000,1,80b5a844,175,80797f94,...) at witness_checkorder+0x6de __lockmgr_args(86bf4000,200100,86bf401c,0,0,...) at __lockmgr_args+0x230 vfs_busy(86bf4000,200,0,868a2d20,1,...) at vfs_busy+0x1bc vfs_mount_alloc(0,80c1f8a0,80b5a5ea,868a2d20,80822b20,...) at vfs_mount_alloc+0x78 vfs_mountroot(80c90e90,4,80b493af,264,868a2d20,...) at vfs_mountroot+0x26c start_init(0,86665d38,80b4ad92,322,868a0d0c,...) at start_init+0x65 fork_exit(8076c1e0,0,86665d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0x86665d70, ebp = 0 --- lock order reversal: (sleepable after non-sleepable) 1st 0x86a50e10 vnode interlock (vnode interlock) @ /usr/src/sys/fs/devfs/devfs_vnops.c:288 2nd 0x86a50df4 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2044 KDB: stack backtrace: db_trace_self_wrapper(80b51a9a,86665a84,807e453e,80b542fb,86a50df4,...) at db_trace_self_wrapper+0x26 kdb_backtrace(80b542fb,86a50df4,80b44cdb,80b44cdb,80b5a844,...) at kdb_backtrace+0x29 witness_checkorder(86a50df4,9,80b5a844,7fc,157,...) at witness_checkorder+0x6de __lockmgr_args(86a50df4,80100,86a50e10,0,0,...) at __lockmgr_args+0x790 vop_stdlock(86665b88,807e2fab,80b44e91,80100,86a50d9c,...) at vop_stdlock+0x62 VOP_LOCK1_APV(80c1f980,86665b88,80c5e140,86a50d9c,80100,...) at VOP_LOCK1_APV+0xa5 _vn_lock(86a50d9c,80100,80b5a844,7fc,8,...) at _vn_lock+0x5e vget(86a50d9c,80100,868a2d20,121,80b44e2e,...) at vget+0xc9 devfs_allocv(86bf1a80,86bf4000,86665c20,868a2d20,868a2dc4,...) at devfs_allocv+0x11a devfs_root(86bf4000,80000,80ce5b54,868a2d20,4,...) at devfs_root+0x51 set_rootvnode(80ce5b40,0,80b5a1a1,5f4,80822b20,...) at set_rootvnode+0x2d vfs_mountroot(80c90e90,4,80b493af,264,868a2d20,...) at vfs_mountroot+0x34c start_init(0,86665d38,80b4ad92,322,868a0d0c,...) at start_init+0x65 fork_exit(8076c1e0,0,86665d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0x86665d70, ebp = 0 --- Trying to mount root from ufs:/dev/twed0s1a lock order reversal: (sleepable after non-sleepable) 1st 0x86a50b20 bufobj interlock (bufobj interlock) @ /usr/src/sys/kern/vfs_bio.c:2429 2nd 0x9a8e5c80 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2443 KDB: stack backtrace: db_trace_self_wrapper(80b51a9a,86665780,807e453e,80b542fb,9a8e5c80,...) at db_trace_self_wrapper+0x26 kdb_backtrace(80b542fb,9a8e5c80,80b5916a,80b5916a,80b58719,...) at kdb_backtrace+0x29 witness_checkorder(9a8e5c80,9,80b58719,98b,80797f94,...) at witness_checkorder+0x6de __lockmgr_args(9a8e5c80,81900,86a50b20,80b590c6,50,...) at __lockmgr_args+0x790 getblk(86a50a78,0,0,800,0,...) at getblk+0x153 breadn(86a50a78,0,0,800,0,...) at breadn+0x44 bread(86a50a78,0,0,800,0,...) at bread+0x4c ffs_blkatoff(86a50a78,0,0,0,866659a4,...) at ffs_blkatoff+0xd1 ufs_lookup(866659e8,86a50a78,86665b38,86a50a78,86665a08,...) at ufs_lookup+0x2e6 VOP_CACHEDLOOKUP_APV(80c46240,866659e8,86665b38,86665b24,868a7800,...) at VOP_CACHEDLOOKUP_APV+0xa5 vfs_cache_lookup(86665a68,86665a68,500000c,80000,86a50a78,...) at vfs_cache_lookup+0xd0 VOP_LOOKUP_APV(80c46240,86665a68,80b59f4f,1b0,86665b24,...) at VOP_LOOKUP_APV+0xa5 lookup(86665b0c,80b59f4f,d8,c0,8687222c,...) at lookup+0x57e namei(86665b0c,86665b24,807e3d1c,868a2d20,80b5a5e6,...) at namei+0x44b kern_unlinkat(868a2d20,ffffff9c,80b5a5e6,1,86665c5c,...) at kern_unlinkat+0x46 kern_unlink(868a2d20,80b5a5e6,1,62f,0,...) at kern_unlink+0x27 vfs_mountroot_try(80b5a7a0,80b4806a,80b40131,1,80822b20,...) at vfs_mountroot_try+0x482 vfs_mountroot(80c90e90,4,80b493af,264,868a2d20,...) at vfs_mountroot+0x40e start_init(0,86665d38,80b4ad92,322,868a0d0c,...) at start_init+0x65 fork_exit(8076c1e0,0,86665d38) at fork_exit+0xb8 fork_trampoline() at fork_trampoline+0x8 --- trap 0, eip = 0, esp = 0x86665d70, ebp = 0 --- This module (opensolaris) contains code covered by the Common Development and Distribution License (CDDL) see http://opensolaris.org/os/licensing/opensolaris_license/ WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior. Consider tuning vm.kmem_size and vm.kmem_size_max in /boot/loader.conf. ZFS filesystem version 6 ZFS storage pool version 6 Michael Jung Payment Alliance International 11857 Commonwealth Drive Louisville, KY 40299 502-212-4045 Work Voice 502-212-4004 Work Faxcimile CONFIDENTIALITY NOTE: This message is intended only for the use of the individual or entity to whom it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this transmission in error, please notify us by telephone at (502) 212-4001 or notify us at PAI , Dept. 99, 11857 Commonwealth Drive, Louisville, KY 40299. Thank you. From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 00:32:39 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0229B106566C for ; Wed, 13 Aug 2008 00:32:39 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8618FC16 for ; Wed, 13 Aug 2008 00:32:38 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E3492198DF1; Wed, 13 Aug 2008 02:32:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id D6D9A198DEF; Wed, 13 Aug 2008 02:32:36 +0200 (CEST) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C09AD198DEE; Wed, 13 Aug 2008 02:32:36 +0200 (CEST) Received: from localhost.my.domain ([80.129.162.115]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.1HF110) with ESMTP id 2008081302323568-23188 ; Wed, 13 Aug 2008 02:32:35 +0200 Received: by localhost.my.domain (sSMTP sendmail emulation); Wed, 13 Aug 2008 02:36:27 +0200 Date: Wed, 13 Aug 2008 02:36:26 +0200 From: Alexey Shuvaev To: Ed Schouten Message-ID: <20080813003626.GA1007@localhost.my.domain> Mail-Followup-To: Ed Schouten , freebsd-current@freebsd.org References: <20080812135142.GA1033@wep4017.physik.uni-wuerzburg.de> <20080812151038.GA99951@hoeg.nl> Mime-Version: 1.0 In-Reply-To: <20080812151038.GA99951@hoeg.nl> User-Agent: Mutt/1.4.2.3i Organization: Universitaet Wuerzburg X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/13/2008 02:32:35 AM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.1HF110 | April 11, 2008) at 08/13/2008 02:32:36 AM, Serialize complete at 08/13/2008 02:32:36 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: POSIX compliant termios.h? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 00:32:39 -0000 On Tue, Aug 12, 2008 at 05:10:38PM +0200, Ed Schouten wrote: > Wait wait wait... Deja vu. brlcad is broken? I submitted a patch for it > in December 2007, which got committed in February. > > http://bugs.freebsd.org/119096 > > I even contacted the maintainer of brlcad to make sure a portable > version of it got integrated. Gah! > Yes, I think it is committed upstream. But it was about src/vas4/vas_io.c. Now it is time to look at src/libtermio/termio.c. Namely, the following used to work: 31 32 #if HAVE_SYS_IOCTL_COMPAT_H 33 # include 34 # define TAB3 (TAB1|TAB2) 35 # if !defined(OCRNL) 36 # define OCRNL 0000010 37 # endif 38 #endif 39 I think, this peace of code is obsolete on CURRENT now. Compiler says that neither TAB1 or TAB2 are declared. As it is CURRENT we can wait a while for the things to settle down. FYI, the brlcad code is picking up the HAVE_TERMIOS_H case: 40 41 /* 42 * This file will work IFF one of these three flags is set: 43 * HAVE_TERMIOS_H use POXIX termios and tcsetattr() call with XOPE N flags 44 * SYSV use SysV Rel3 termio and TCSETA ioctl 45 * BSD use Version 7 / BSD sgttyb and TIOCSETP ioctl 46 */ 47 [skip] 286 #ifdef HAVE_TERMIOS_H 287 curr_tio[fd].c_oflag |= TAB3; /* Tab expansion ON. */ 288 (void)tcsetattr( fd, TCSANOW, &curr_tio[fd] ); 289 #endif [skip] 310 #ifdef HAVE_TERMIOS_H 311 curr_tio[fd].c_oflag &= ~TAB3; /* Tab expans. OFF. */ 312 (void)tcsetattr( fd, TCSANOW, &curr_tio[fd] ); 313 #endif Alexey. From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 09:58:59 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9F3D1065673 for ; Wed, 13 Aug 2008 09:58:59 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.236]) by mx1.freebsd.org (Postfix) with ESMTP id A64698FC28 for ; Wed, 13 Aug 2008 09:58:59 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so4823819rvf.43 for ; Wed, 13 Aug 2008 02:58:59 -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=O//KNs373nToOqOQBi8LFC1SSJiAI2kuZbIWa08sxA4=; b=CZZuL7XvuH3g5+s0broAXmlZpBNDqZJa79qy7TklwMrj3gpNBwRFhitZJ1DOfC4Y1v lqIKs8UDBwWltq4O/yWAdwlBuMrK5N5Dsx0sOF2WhtyoNVpAahdI0jIqGOsPMT67W6Xh Ce19S+WtfNS0AWGhW3E6jy699C2NeA+Ah2zVA= 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=l1bNIoLebaW+/wwsqtHAHMgZhMVoqXxJzsZmCSNNHSk2I7oU/j4c1COEwdDGiIlThT qseJZQQvjh3QpV8jC9BSS5XN4+iiJH7aaAQDH5o3t99ylfE8Eis9IXnjg+57kqqWZFJd zEG3jkTX3uMyRyRohiqbC+VelnApBAuUfHdww= Received: by 10.140.208.17 with SMTP id f17mr4699774rvg.218.1218621539350; Wed, 13 Aug 2008 02:58:59 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Wed, 13 Aug 2008 02:58:59 -0700 (PDT) Message-ID: <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> Date: Wed, 13 Aug 2008 05:58:59 -0400 From: "Rohit Tripathi" To: jt In-Reply-To: <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 09:59:00 -0000 On Tue, Aug 12, 2008 at 3:36 PM, jt wrote: > Rohit, > > a few things -- i assume that you are running current? -- have you set the > machine up following /usr/src/UPDATING? > > if not -- this entry might be of some service -- > > 20080420: Yes, I'm running current and have compiled both GENERIC for amd64 and a custom kernel with debugging disabled and iwn driver built in but neither worked. I have also followed instructions in both networking-wireless.html and the above entry. Putting the line wlans_iwn0=wlan0 in /etc/rc.conf seems to do nothing, if I type ifconfig, it still only shows em0, iwn0, and loopback. -Rohit From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 13:46:17 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB089106567E for ; Wed, 13 Aug 2008 13:46:17 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1348FC2D for ; Wed, 13 Aug 2008 13:46:17 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KTGfz-0003GW-Qp for freebsd-current@freebsd.org; Wed, 13 Aug 2008 13:46:11 +0000 Received: from xdsl-10260.wroclaw.dialog.net.pl ([84.40.242.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Aug 2008 13:46:11 +0000 Received: from mwisnicki+freebsd by xdsl-10260.wroclaw.dialog.net.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Aug 2008 13:46:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Marcin Wisnicki Date: Wed, 13 Aug 2008 13:45:58 +0000 (UTC) Lines: 15 Message-ID: References: <20080809153916.GR99951@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: xdsl-10260.wroclaw.dialog.net.pl User-Agent: Pan/0.132 (Waxed in Black) Sender: news Subject: Re: [O/T] svn co fails for usr.bin/window X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 13:46:17 -0000 On Mon, 11 Aug 2008 12:00:37 -0400, rohit.x.tripathi wrote: > Thank you, it checks out fine now under linux and freebsd now, but under > windows with tortoise svn throws the following error (due to unknown > reasons, might be something with my environment): > If you really need to use windows, try cygwin with managed mounts: mkdir c:/cygwin/usr/src.managed mount -o managed c:/cygwin/usr/src.managed /usr/src This will give you full unix semantics within /usr/src. Obviously it works only with cygwin apps (windows will only see url- encoded file names), so you can forget about tortoise. From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 16:59:52 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71DC9106566B; Wed, 13 Aug 2008 16:59:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 540CF8FC08; Wed, 13 Aug 2008 16:59:52 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id A126746BB4; Wed, 13 Aug 2008 12:59:51 -0400 (EDT) Date: Wed, 13 Aug 2008 17:59:51 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org Message-ID: User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: arch@FreeBSD.org Subject: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 16:59:52 -0000 Dear all: This weekend is the FreeBSD Developer Summit in Cambridge, UK, and one of the focuses of the meetings will be the on-going network stack virtualization. We hope to have several days in a row to focus on known issues, understand (and possible address) various concerns about the approach, and possibly expand the focus to further subsystems. We also hope to explore doing some amount of virtualization below the language level, and hopefully have the right set of people there to talk about that. With all this in mind, it may well be that we begin some of the heavy lifting on virtualization in the base Subversion tree, whereas to date this work has occurred almost entirely in Perforce. The outcome of the meetings will depend a lot on what we find and what progress we make, so this isn't exactly a "HEADS UP: Virtualization going into SVN", but it could well be that there is quite a bit of committing going on. Thanks, Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 17:48:30 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997F7106566B; Wed, 13 Aug 2008 17:48:30 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 514988FC08; Wed, 13 Aug 2008 17:48:30 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from max.local (rrcs-74-218-226-253.se.biz.rr.com [74.218.226.253]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id m7DHmTVD008968; Wed, 13 Aug 2008 13:48:29 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-current@freebsd.org Date: Wed, 13 Aug 2008 13:48:57 -0400 User-Agent: KMail/1.9.7 References: <20080727125413.GG1345@garage.freebsd.pl> <200807281139.45771.lists@jnielsen.net> In-Reply-To: <200807281139.45771.lists@jnielsen.net> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808131348.57683.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org, Pawel Jakub Dawidek Subject: Re: ZFS patches. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 17:48:30 -0000 On Monday 28 July 2008, John Nielsen wrote: > On Monday 28 July 2008, David Grochowski wrote: > > Hey, > > > > On Sun, Jul 27, 2008 at 11:24 PM, Adam McDougall > > wrote: > > > On Sun, Jul 27, 2008 at 02:54:13PM +0200, Pawel Jakub Dawidek wrote: > > > > Hi. > > > > > > > > > > > > http://people.freebsd.org/~pjd/patches/zfs_20080727.patch.bz2 > > > > > > Stop in /usr/src. > > > > I had the same issue. Try deleting > > "/usr/src/sys/cddl/compat/opensolaris/sys/acl.h" and > > "/usr/src/sys/cddl/compat/opensolaris/sys/callb.h" (make sure that > > these files have a length of zero first!). When patching, these files > > are supposed to be deleted, but were instead left as empty files. > > Since these files are included before the actual ones in > > "/usr/src/sys/cddl/contrib/opensolaris/uts/common/sys", this will > > cause a problem. > > > > Also, I would like to note that the patch has been working for me > > without any problems. > > Thanks for pointing this out David, I had been scratching my head too. > (Also thanks to those who posted reminders to use patch -p0). > > I'm now up and running with the patch and an upgraded zpool. No issues > thus far. I even tried to reproduce the UDP NFS write lockup issue I > reported recently and was unable to. Thanks PJD! I experienced a couple panics yesterday while working with some video files The panics didn't happen until after an hour or two of sustained activity (heavy reading and writing to/from multiple files about 2GB in size). The panic message (most recent) probably looks familiar: panic:kmem_malloc(65536): kmem_map too small: 757669888 total allocated This is on an i386 8-CURRENT box w/ the recent ZFS mega-patch applied: %uname -a FreeBSD stealth.jnielsen.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jul 28 09:17:49 EDT 2008 john@stealth.jnielsen.net:/usr/obj/usr/src8/src/sys/STEALTH i386 %zfs upgrade This system is currently running ZFS filesystem version 3. All filesystems are formatted with the current version. %zpool upgrade This system is currently running ZFS pool version 11. All pools are formatted using this version. The box has 1.25 GB RAM. The kernel is compiled with KVA_PAGES=384 and vm.kmem_size and kmem_size_max are set to 768M. Since the last panic I have set vfs.zfs.arc_max to 160M and I haven't gotten another one, but I haven't had the same sustained activity since then either. I'll keep an eye on it. Just thought I'd send a report since I'm not sure if this is still expected behavior with the new patch. I am of course also open to tuning suggestions, though I have read the wiki and kept up on the mailing lists and am willing to experiment to see what ends up working best for this system. Thanks, JN From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 18:56:03 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7D331065678; Wed, 13 Aug 2008 18:56:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id AD5ED8FC1F; Wed, 13 Aug 2008 18:56:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smarthost2.sentex.ca (8.14.2/8.14.2) with ESMTP id m7DIu1UO006571; Wed, 13 Aug 2008 14:56:01 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.14.2/8.14.2) with ESMTP id m7DIu0go042097; Wed, 13 Aug 2008 14:56:01 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id B88E373039; Wed, 13 Aug 2008 14:56:00 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20080813185600.B88E373039@freebsd-current.sentex.ca> Date: Wed, 13 Aug 2008 14:56:00 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on clamscanner2 X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 205.211.164.50 Cc: Subject: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 18:56:04 -0000 TB --- 2008-08-13 18:55:00 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2008-08-13 18:55:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2008-08-13 18:55:00 - cleaning the object tree TB --- 2008-08-13 18:55:53 - cvsupping the source tree TB --- 2008-08-13 18:55:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /tinderbox/HEAD/amd64/amd64/supfile TB --- 2008-08-13 18:56:00 - building world (CFLAGS=-O -pipe) TB --- 2008-08-13 18:56:00 - cd /src TB --- 2008-08-13 18:56:00 - /usr/bin/make -B buildworld TB --- 2008-08-13 18:56:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2008-08-13 18:56:00 - ERROR: failed to build world TB --- 2008-08-13 18:56:00 - tinderbox aborted TB --- 2.38 user 4.29 system 60.01 real http://tinderbox.des.no/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 02:11:27 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 400AC1065671; Thu, 14 Aug 2008 02:11:27 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id F2E138FC21; Thu, 14 Aug 2008 02:11:26 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id EE9C82085; Thu, 14 Aug 2008 04:11:25 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id E28BD844D9; Thu, 14 Aug 2008 04:11:25 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: FreeBSD Tinderbox References: <20080813185600.B88E373039@freebsd-current.sentex.ca> Date: Thu, 14 Aug 2008 04:11:25 +0200 In-Reply-To: <20080813185600.B88E373039@freebsd-current.sentex.ca> (FreeBSD Tinderbox's message of "Wed, 13 Aug 2008 14:56:00 -0400 (EDT)") Message-ID: <86abfgs5v6.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: current@freebsd.org Subject: Re: [head tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 02:11:27 -0000 FreeBSD Tinderbox writes: > TB --- 2008-08-13 18:55:00 - tinderbox 2.3 running on freebsd-current.sen= tex.ca > TB --- 2008-08-13 18:55:00 - starting HEAD tinderbox run for amd64/amd64 > TB --- 2008-08-13 18:55:00 - cleaning the object tree > TB --- 2008-08-13 18:55:53 - cvsupping the source tree > TB --- 2008-08-13 18:55:53 - /usr/bin/csup -r 3 -g -L 1 -h localhost -s /= tinderbox/HEAD/amd64/amd64/supfile > TB --- 2008-08-13 18:56:00 - building world (CFLAGS=3D-O -pipe) > TB --- 2008-08-13 18:56:00 - cd /src > TB --- 2008-08-13 18:56:00 - /usr/bin/make -B buildworld > TB --- 2008-08-13 18:56:00 - WARNING: /usr/bin/make returned exit code 1= =20 > TB --- 2008-08-13 18:56:00 - ERROR: failed to build world > TB --- 2008-08-13 18:56:00 - tinderbox aborted > TB --- 2.38 user 4.29 system 60.01 real The following code in src/Makefile: STARTTIME!=3D LC_ALL=3DC date CHECK_TIME!=3D find ${.CURDIR}/sys/sys/param.h -mtime -0 .if !empty(CHECK_TIME) .error check your date/time: ${STARTTIME} .endif incorrectly assumes that the build cannot possibly start less than a second after sys/sys/param.h is updated. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 03:50:52 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FD7E1065680 for ; Thu, 14 Aug 2008 03:50:52 +0000 (UTC) (envelope-from rohit.trip@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 DAA318FC0A for ; Thu, 14 Aug 2008 03:50:51 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so176098yxb.13 for ; Wed, 13 Aug 2008 20:50:51 -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=XPU9onh87Lc4/QGnzAtR0GsOyixzpIZ3WCKUQMGl1Ko=; b=CwF8E+uWqJ9x/lFjRZyiey+aZwLYNz/Fxp1Eoeqw160oTvsAOAa8ldVp5PocYRyF2P /iXqnalYCoqstz4AljxDz9cYaiKjQrkSPW6ww8wOD4FF+nlZMhHzpOp7lNJT476G9Fb9 FGcwQHCsGj+6ub7JxIirVK0tCga3lnRkj10IY= 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=D5qFzty2xk4I/icU1pEHdSEH1gNVXs0dxaufmTrTz9dPnHzNuvAviywpaON2kFPRjc KIlVrBqrVmaMXqA1tCXksBYFChCcu6OH60Brcy2JEEQpkPFqvQIANbRq9L/QB39nzcVW ucooUXB5EwvDivEd1c79P/UrU5+mcBa2sDwmk= Received: by 10.140.164.6 with SMTP id m6mr352152rve.210.1218685850459; Wed, 13 Aug 2008 20:50:50 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Wed, 13 Aug 2008 20:50:50 -0700 (PDT) Message-ID: <33615c8e0808132050s765a17acu4b4d63a5e3d133a7@mail.gmail.com> Date: Wed, 13 Aug 2008 23:50:50 -0400 From: "Rohit Tripathi" To: jt In-Reply-To: <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 03:50:52 -0000 > Yes, I'm running current and have compiled both GENERIC for amd64 and > a custom kernel with debugging disabled and iwn driver built in but > neither worked. I have also followed instructions in both > networking-wireless.html and the above entry. > > Putting the line > > wlans_iwn0=wlan0 > I tried something else today....manually build and install iwn firmware from sys/modules/iwn, checked that loader.conf has the line legal.intel_iwn.license_ack=1, the device is recognized as iwn0 but I tried to set both wlans_iwn0 and wlans_ath0 to wlan0, but still no luck :( Can someone provide the actual command that is used to create wlan0 alias? Another difference I noticed between 7.0 release and current: my Symbol spectrum 24 card was detected correctly under 7.0 as the interface wi0, but under current (after enabling firmware option for symbol) it is not. regards, Rohit From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 04:05:45 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39F1F106567E for ; Thu, 14 Aug 2008 04:05:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0C60E8FC16 for ; Thu, 14 Aug 2008 04:05:44 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m7E45iRe024185 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Aug 2008 21:05:44 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48A3AF18.7090708@freebsd.org> Date: Wed, 13 Aug 2008 21:05:44 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: Rohit Tripathi References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> <33615c8e0808132050s765a17acu4b4d63a5e3d133a7@mail.gmail.com> In-Reply-To: <33615c8e0808132050s765a17acu4b4d63a5e3d133a7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: jt , freebsd-current@freebsd.org Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 04:05:45 -0000 Rohit Tripathi wrote: >> Yes, I'm running current and have compiled both GENERIC for amd64 and >> a custom kernel with debugging disabled and iwn driver built in but >> neither worked. I have also followed instructions in both >> networking-wireless.html and the above entry. >> >> Putting the line >> >> wlans_iwn0=wlan0 >> >> > > I tried something else today....manually build and install iwn > firmware from sys/modules/iwn, checked that loader.conf has the line > legal.intel_iwn.license_ack=1, the device is recognized as iwn0 but I > tried to set both wlans_iwn0 and wlans_ath0 to wlan0, but still no > luck :( Can someone provide the actual command that is used to create > wlan0 alias? > ifconfig wlan create wlandev iwn0 ifconfig iwn0 up dhclient iwn0 > Another difference I noticed between 7.0 release and current: my > Symbol spectrum 24 card was detected correctly under 7.0 as the > interface wi0, but under current (after enabling firmware option for > symbol) it is not. > > wi no longer supports symbol cards. Folks are welcome to add support. Sam From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 04:41:55 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6F841065677 for ; Thu, 14 Aug 2008 04:41:55 +0000 (UTC) (envelope-from rohit.trip@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 793E58FC14 for ; Thu, 14 Aug 2008 04:41:55 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so185274yxb.13 for ; Wed, 13 Aug 2008 21:41: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=/cckjupgTtpej+5Fiz3BMG/GAJdE2NUSdRycF9blxhg=; b=OxInq1dcHgSi4w/NwAX2l+Gxl9a2FCGr0CgCKFNkjfcs1MNOxvr8zwn7cxAEzxGBLT A/MCR7pGsc8F7AFRHqfROwQkbZ00DOVS7LJUNwA7Sk9tpEmle61M/2q5kGtbjSsGgACh Je1CHp7yhApB/DehPrCuK19z1T9/+T5toPwaM= 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=hnZLtdB8/Vg2be+BkcY8moPrGyv5S0QNR9Yw5F3x5Zm+PTBOWEcxZnLuR2/4zpQmMJ KlUXCPffxAunFxjfriwXF3WqraxuE5h++elnHHRLHVmU5O2L6GUM/Hgb5H9M7OrnuA+y Zh3mNaQZo1qZvim3OmtRdClZEQQW0AhzVPwFk= Received: by 10.141.136.8 with SMTP id o8mr361188rvn.271.1218688914216; Wed, 13 Aug 2008 21:41:54 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Wed, 13 Aug 2008 21:41:54 -0700 (PDT) Message-ID: <33615c8e0808132141x25f03f03u6f65e828aca85bf8@mail.gmail.com> Date: Thu, 14 Aug 2008 00:41:54 -0400 From: "Rohit Tripathi" To: "Andrew Thompson" In-Reply-To: <20080814041318.GL45850@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> <33615c8e0808132050s765a17acu4b4d63a5e3d133a7@mail.gmail.com> <48A3AF18.7090708@freebsd.org> <20080814041318.GL45850@citylink.fud.org.nz> Cc: jt , Sam Leffler , freebsd-current@freebsd.org Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 04:41:55 -0000 > That shoud be... :) > > ifconfig wlan create wlandev iwn0 Great! I ran the above and wlan0 was created without any issues. Next I tried to setup wlan0 with: ssid HAM authmod shared wepmode on weptxkey 1 wepkey blahblah DHCP and I first noticed ifconfig complain: "authmod: bad value", "missing or corrupted regdomain database" and the os complain: "iwn0: need multicast update callback" ( Here's what came up with a google search on the last error http://lists.freebsd.org/pipermail/freebsd-current/2008-April/085152.html http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-04/msg00554.html ) From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 04:43:46 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 400221065676 for ; Thu, 14 Aug 2008 04:43:46 +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 EC04E8FC08 for ; Thu, 14 Aug 2008 04:43:45 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 8BD2E2BC9A; Thu, 14 Aug 2008 16:13:25 +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 VK1sdOPBO3Et; Thu, 14 Aug 2008 16:13:21 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Thu, 14 Aug 2008 16:13:21 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id CBA951142F; Thu, 14 Aug 2008 16:13:18 +1200 (NZST) Date: Wed, 13 Aug 2008 21:13:18 -0700 From: Andrew Thompson To: Sam Leffler Message-ID: <20080814041318.GL45850@citylink.fud.org.nz> References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> <33615c8e0808132050s765a17acu4b4d63a5e3d133a7@mail.gmail.com> <48A3AF18.7090708@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48A3AF18.7090708@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: jt , freebsd-current@freebsd.org, Rohit Tripathi Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 04:43:46 -0000 On Wed, Aug 13, 2008 at 09:05:44PM -0700, Sam Leffler wrote: > Rohit Tripathi wrote: >>> Yes, I'm running current and have compiled both GENERIC for amd64 and >>> a custom kernel with debugging disabled and iwn driver built in but >>> neither worked. I have also followed instructions in both >>> networking-wireless.html and the above entry. >>> >>> Putting the line >>> >>> wlans_iwn0=wlan0 >>> >>> >> >> I tried something else today....manually build and install iwn >> firmware from sys/modules/iwn, checked that loader.conf has the line >> legal.intel_iwn.license_ack=1, the device is recognized as iwn0 but I >> tried to set both wlans_iwn0 and wlans_ath0 to wlan0, but still no >> luck :( Can someone provide the actual command that is used to create >> wlan0 alias? >> > > ifconfig wlan create wlandev iwn0 > ifconfig iwn0 up > dhclient iwn0 That shoud be... :) ifconfig wlan create wlandev iwn0 ifconfig wlan0 up dhclient wlan0 From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 04:51:12 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4A94106568D; Thu, 14 Aug 2008 04:51:12 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id B13AB8FC14; Thu, 14 Aug 2008 04:51:12 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-4.local ([10.0.0.194]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m7E4pC9E024429 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Aug 2008 21:51:12 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48A3B9C0.4040805@freebsd.org> Date: Wed, 13 Aug 2008 21:51:12 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Rohit Tripathi References: <33615c8e0808120840l5e6f47b9gaac8f672b5a1af04@mail.gmail.com> <9f8af95f0808121236s6c349a3aqb9a696b739ade50a@mail.gmail.com> <33615c8e0808130258h4947f8a2x9032ee8b591c1ae6@mail.gmail.com> <33615c8e0808132050s765a17acu4b4d63a5e3d133a7@mail.gmail.com> <48A3AF18.7090708@freebsd.org> <20080814041318.GL45850@citylink.fud.org.nz> <33615c8e0808132141x25f03f03u6f65e828aca85bf8@mail.gmail.com> In-Reply-To: <33615c8e0808132141x25f03f03u6f65e828aca85bf8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-Misty-Metrics: ebb.errno.com; whitelist Cc: jt , freebsd-current@freebsd.org, Andrew Thompson Subject: Re: [iwn driver] SIOCS80211 error on 4965AGN X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 04:51:13 -0000 Rohit Tripathi wrote: >> That shoud be... :) >> >> ifconfig wlan create wlandev iwn0 > > Great! I ran the above and wlan0 was created without any issues. Next > I tried to setup wlan0 with: > > ssid HAM authmod shared wepmode on weptxkey 1 wepkey blahblah DHCP > > and I first noticed ifconfig complain: "authmod: bad value", "missing > or corrupted regdomain database" and the os complain: "iwn0: need > multicast update callback" > > ( Here's what came up with a google search on the last error > http://lists.freebsd.org/pipermail/freebsd-current/2008-April/085152.html > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2008-04/msg00554.html > ) man ifconfig for most of this. The regdomain database complaint means you don't have /etc/regdomain.xml installed which means your system is not installed properly. The iwn complaint can be ignored. I would not be at all surprised if iwn does not implemented shared key auth wep correctly as it's a really bad idea and so likely not tested. If wep is your only option I'd just turn it off entirely; it provides zero security. Sam From owner-freebsd-current@FreeBSD.ORG Thu Aug 14 20:30:00 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF8501065694 for ; Thu, 14 Aug 2008 20:30:00 +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 234668FC40 for ; Thu, 14 Aug 2008 20:29:59 +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 m7EKTvti087805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 14 Aug 2008 22:29:58 +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 m7EKToGx003104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Aug 2008 22:29:50 +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 m7EKTohe034130; Thu, 14 Aug 2008 22:29:50 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id m7EKTngH034129; Thu, 14 Aug 2008 22:29:49 +0200 (CEST) (envelope-from ticso) Date: Thu, 14 Aug 2008 22:29:49 +0200 From: Bernd Walter To: freebsd-current@freebsd.org Message-ID: <20080814202949.GA34094@cicely7.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED=-1.8, AWL=0.092, BAYES_00=-2.599 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on spamd.cicely.de Cc: Bernd Walter Subject: __tls_get_addr problem with recent current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2008 20:30:00 -0000 After updating the kernel and before installworld processes randomly crash on startup. Userland is ~2 months old amd64 current. I wonder if this is because of the OS mix or a general problem right now. It seems that process only crash if I'm logged in via ssh/telnet but not on console, so I might be able to installworld from console. One example: [59]cicely14# gdb /bin/cat cat.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `cat'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000800505523 in __tls_get_addr () from /libexec/ld-elf.so.1 (gdb) bt #0 0x0000000800505523 in __tls_get_addr () from /libexec/ld-elf.so.1 #1 0x00000008006b34c1 in free () from /lib/libc.so.7 #2 0x00000008006b4a8e in malloc () from /lib/libc.so.7 #3 0x00000008006a9600 in regfree () from /lib/libc.so.7 #4 0x00000008006a918e in regfree () from /lib/libc.so.7 #5 0x00000008006a6500 in __detect_path_locale () from /lib/libc.so.7 #6 0x0000000000401b6a in ?? () #7 0x0000000000401035 in ?? () #8 0x000000080052f000 in ?? () -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 14:25:51 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3818106567F; Fri, 15 Aug 2008 14:25:51 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 66B8D8FC0A; Fri, 15 Aug 2008 14:25:51 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 42F91158B2D; Fri, 15 Aug 2008 10:09:55 -0400 (EDT) Received: from web6.messagingengine.com ([10.202.2.215]) by compute2.internal (MEProxy); Fri, 15 Aug 2008 10:09:55 -0400 Received: by web6.messagingengine.com (Postfix, from userid 99) id 2424F7453F; Fri, 15 Aug 2008 10:09:54 -0400 (EDT) Message-Id: <1218809394.10612.1268815905@webmail.messagingengine.com> X-Sasl-Enc: yxJT5xInxqlYrTbjB+mKOJcp2us/6NFDy8EGjlHVnPc2 1218809394 From: "Darren Reed" To: "Robert Watson" , current@FreeBSD.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface References: In-Reply-To: Date: Fri, 15 Aug 2008 16:09:54 +0200 Cc: arch@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: darrenr@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 14:25:51 -0000 Robert, Do you have any more information about what the details of this virtualization work will be? e.g. will it be similar to what Solaris has with zones? The reason that I ask is that I've just finished getting the ipfilter code (non-Sun code) converted to being zone aware. What does that mean? Lots of global variables are gone, replaced by soft-context structures that are allocated and free'd when zones come alive/die. For BSD, while all of the code paths are the same, I'm currently only using a single soft context and just pass around a pointer to it. If you're going to be doing similar work for FreeBSD, I will try and get this into the tree sooner, rather than later, so that there's one less component that you need to worry about. Cheers, Darren -- Darren Reed darrenr@fastmail.net From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 14:29:47 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ACBB1065699 for ; Fri, 15 Aug 2008 14:29:47 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id EEA848FC08 for ; Fri, 15 Aug 2008 14:29:46 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from 64.3.1.253.ptr.us.xo.net ([64.3.1.253]:25289 helo=LROSENMAN) by thebighonker.lerctr.org with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KU0JF-000HIS-6z for freebsd-current@freebsd.org; Fri, 15 Aug 2008 09:29:46 -0500 From: "Larry Rosenman" To: Date: Fri, 15 Aug 2008 09:29:35 -0500 Message-ID: <00b101c8fee3$5d0be0f0$1723a2d0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acj0BE0QpDcg9E8JS3ejKLLt/3hgdAK3tInw Content-Language: en-us X-Spam-Score: -2.5 (--) X-LERCTR-Spam-Score: -2.5 (--) X-Spam-Report: SpamScore (-2.5/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, TVD_RCVD_IP=1.931 X-LERCTR-Spam-Report: SpamScore (-2.5/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, TVD_RCVD_IP=1.931 DomainKey-Status: no signature Subject: FW: /dev/sg* for AMD64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 14:29:47 -0000 Can I get a response from SOMEONE on getting /dev/sg* working for the amd64 platform so that tools such as Seagate's seatools linux32 binary will work on FreeBSD? (I was able to get a replacement drive without it this time, but sometimes seagate, and other manufacturers get pissy about running THEIR tool). Thanks! -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Larry Rosenman Sent: Friday, August 01, 2008 1:17 PM To: scottl@freebsd.org Cc: freebsd-current@freebsd.org Subject: /dev/sg* for AMD64 Scott, Back before 7.0, you added /dev/sg* for linux compatibility, but the 64 bit stuff didn't work. Has there been any progress on getting it work with amd64? I have a seagate drive that's giving me flack, and they want me to run their linux tool, but it won't run on my box due to the above. If I need to file a PR, please let me know. I'm on 7-STABLE. Thanks! -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 15:43:10 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 544A71065676; Fri, 15 Aug 2008 15:43:10 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 0117C8FC15; Fri, 15 Aug 2008 15:43:09 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 22AE5207F; Fri, 15 Aug 2008 17:43:09 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 086B3844A8; Fri, 15 Aug 2008 17:43:09 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: darrenr@freebsd.org References: <1218809394.10612.1268815905@webmail.messagingengine.com> Date: Fri, 15 Aug 2008 17:43:08 +0200 In-Reply-To: <1218809394.10612.1268815905@webmail.messagingengine.com> (Darren Reed's message of "Fri, 15 Aug 2008 16:09:54 +0200") Message-ID: <86fxp6wagj.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: arch@FreeBSD.org, Robert Watson , current@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 15:43:10 -0000 "Darren Reed" writes: > Do you have any more information about what the details of this > virtualization work will be? This has been discussed extensively on various mailing lists and at various BSD conferences over the past ~5 years. Search the archives for "vimage". DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 15:55:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBDE2106566B; Fri, 15 Aug 2008 15:55:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 591E78FC0A; Fri, 15 Aug 2008 15:55:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A558C1.dip.t-dialin.net [84.165.88.193]) by redbull.bpaserver.net (Postfix) with ESMTP id 97AA82E06D; Fri, 15 Aug 2008 17:30:34 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 3218D7099A; Fri, 15 Aug 2008 17:30:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1218814230; bh=FDWbE/6TSuPv3VTq7LHb+d+cogyA4pszx ysy+UDK9CQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To: References:Mime-Version:Content-Type:Content-Transfer-Encoding; b=ITm3HdHBpTTNn8Ppov4oDARmHs6iwbumY5ZqiUQGhv3lYHrleCLTCwn8gRdiG1G++ /QDIEzCuHtqboCRs/TlWFbepQ7KkX9IyTueGsTLtNpu1mWEC5gucRxGKTZmnyiBK8yi VWJ3TG2Hi/LoLNFv1PegKtltgCqDnxKD8hnhDwc1ECrxknzQ0RrLKqB05JG11X4Ll60 xq/D7DLuJGlFbMDaJ1xgbXb/z704XKjuv6MjsbScMECQqUK8Hg7px5dkQmIveS0XXOR ctE3f2uCkeKOR0xRRBe2UGiaGqU0luEzsDeyr6XTlTr1l7REIV/98w8a9AVZucJZXfi th7LOstYg== Date: Fri, 15 Aug 2008 17:30:29 +0200 From: Alexander Leidinger To: darrenr@freebsd.org Message-ID: <20080815173029.4a9a9f59@deskjail> In-Reply-To: <1218809394.10612.1268815905@webmail.messagingengine.com> References: <1218809394.10612.1268815905@webmail.messagingengine.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 97AA82E06D.5BB45 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: arch@FreeBSD.org, Robert Watson , current@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 15:55:36 -0000 Quoting "Darren Reed" (Fri, 15 Aug 2008 16:09:54 +0200): > Robert, > > Do you have any more information about what the details of > this virtualization work will be? e.g. will it be similar > to what Solaris has with zones? It's like the Solaris Crossbow project. Virtual network stacks. I don't know if you refer to this or to the normal operation of zones since Solaris 10. The later one we will get for jails too, but this is just a side effect (sort of, there are patches floating around to get multi-IPs into jails in a different way before the VNET stuff, so that we can have the multi-IPS for jails in 7.x too). Bye, Alexander. -- "Planet Express: our crew is replaceable, your package isn't." -Advertisement http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 15:57:29 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A4671065688 for ; Fri, 15 Aug 2008 15:57:29 +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 E84928FC1B for ; Fri, 15 Aug 2008 15:57:28 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 2EF3068BC96; Fri, 15 Aug 2008 17:56:04 +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 51kQzLSTFTgb; Fri, 15 Aug 2008 17:56:01 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 856B968BC90; Fri, 15 Aug 2008 17:56:01 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m7FFu0bm076621; Fri, 15 Aug 2008 17:56:00 +0200 (CEST) (envelope-from rdivacky) Date: Fri, 15 Aug 2008 17:56:00 +0200 From: Roman Divacky To: Larry Rosenman Message-ID: <20080815155600.GA76360@freebsd.org> References: <00b101c8fee3$5d0be0f0$1723a2d0$@org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00b101c8fee3$5d0be0f0$1723a2d0$@org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: FW: /dev/sg* for AMD64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 15:57:29 -0000 On Fri, Aug 15, 2008 at 09:29:35AM -0500, Larry Rosenman wrote: > Can I get a response from SOMEONE on getting /dev/sg* working for the amd64 > platform so > that tools such as Seagate's seatools linux32 binary will work on FreeBSD? > > (I was able to get a replacement drive without it this time, but sometimes > seagate, and other manufacturers get pissy about running THEIR tool). > > Thanks! > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 512-248-2683 E-Mail: ler@lerctr.org > US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 > > > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Larry Rosenman > Sent: Friday, August 01, 2008 1:17 PM > To: scottl@freebsd.org > Cc: freebsd-current@freebsd.org > Subject: /dev/sg* for AMD64 > > Scott, > Back before 7.0, you added /dev/sg* for linux compatibility, but the > 64 bit stuff didn't work. Has there been any progress on getting it > work with amd64? > I have a seagate drive that's giving me flack, and they want me to > run their linux tool, but it won't run on my box due to the above. > > If I need to file a PR, please let me know. > > I'm on 7-STABLE. what exactly is the problem? please be a little more specific, can you provide a ktrace/linux_kdump of whats going on? does it crush? does it just dont use the sg* device? what is the problem? From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 16:00:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2D2010656A3 for ; Fri, 15 Aug 2008 16:00:13 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF3F8FC1E for ; Fri, 15 Aug 2008 16:00:13 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from 64.3.1.253.ptr.us.xo.net ([64.3.1.253]:44912 helo=LROSENMAN) by thebighonker.lerctr.org with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KU1il-000IBt-DX; Fri, 15 Aug 2008 11:00:13 -0500 From: "Larry Rosenman" To: "'Roman Divacky'" References: <00b101c8fee3$5d0be0f0$1723a2d0$@org> <20080815155600.GA76360@freebsd.org> In-Reply-To: <20080815155600.GA76360@freebsd.org> Date: Fri, 15 Aug 2008 11:00:01 -0500 Message-ID: <013a01c8feef$ff50bfa0$fdf23ee0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acj+76dyQWfgD6RoQ+q/aovD64CgwwAAC8WA Content-Language: en-us X-Spam-Score: -2.5 (--) X-LERCTR-Spam-Score: -2.5 (--) X-Spam-Report: SpamScore (-2.5/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, TVD_RCVD_IP=1.931 X-LERCTR-Spam-Report: SpamScore (-2.5/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, TVD_RCVD_IP=1.931 DomainKey-Status: no signature Cc: freebsd-current@freebsd.org Subject: RE: FW: /dev/sg* for AMD64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 16:00:13 -0000 The device driver just doesn't work. There was mail traffic about it, and ScottL said that he needed to redo some stuff in it. I can give access to a relatively recent box with seagate drives in it if you want... -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 -----Original Message----- From: Roman Divacky [mailto:rdivacky@freebsd.org] Sent: Friday, August 15, 2008 10:56 AM To: Larry Rosenman Cc: freebsd-current@freebsd.org Subject: Re: FW: /dev/sg* for AMD64 On Fri, Aug 15, 2008 at 09:29:35AM -0500, Larry Rosenman wrote: > Can I get a response from SOMEONE on getting /dev/sg* working for the amd64 > platform so > that tools such as Seagate's seatools linux32 binary will work on FreeBSD? > > (I was able to get a replacement drive without it this time, but sometimes > seagate, and other manufacturers get pissy about running THEIR tool). > > Thanks! > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 512-248-2683 E-Mail: ler@lerctr.org > US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 > > > -----Original Message----- > From: owner-freebsd-current@freebsd.org > [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Larry Rosenman > Sent: Friday, August 01, 2008 1:17 PM > To: scottl@freebsd.org > Cc: freebsd-current@freebsd.org > Subject: /dev/sg* for AMD64 > > Scott, > Back before 7.0, you added /dev/sg* for linux compatibility, but the > 64 bit stuff didn't work. Has there been any progress on getting it > work with amd64? > I have a seagate drive that's giving me flack, and they want me to > run their linux tool, but it won't run on my box due to the above. > > If I need to file a PR, please let me know. > > I'm on 7-STABLE. what exactly is the problem? please be a little more specific, can you provide a ktrace/linux_kdump of whats going on? does it crush? does it just dont use the sg* device? what is the problem? From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 16:13:12 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14CD61065671; Fri, 15 Aug 2008 16:13:12 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [192.147.25.65]) by mx1.freebsd.org (Postfix) with ESMTP id D695E8FC12; Fri, 15 Aug 2008 16:13:11 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from 64.3.1.253.ptr.us.xo.net ([64.3.1.253]:49136 helo=LROSENMAN) by thebighonker.lerctr.org with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KU1vJ-000IJq-SV; Fri, 15 Aug 2008 11:13:11 -0500 From: "Larry Rosenman" To: "'Roman Divacky'" References: <00b101c8fee3$5d0be0f0$1723a2d0$@org> <20080815155600.GA76360@freebsd.org> In-Reply-To: <20080815155600.GA76360@freebsd.org> Date: Fri, 15 Aug 2008 11:12:59 -0500 Message-ID: <014a01c8fef1$cf51b0f0$6df512d0$@org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: Acj+76dyQWfgD6RoQ+q/aovD64CgwwAAhEWw Content-Language: en-us X-Spam-Score: -2.5 (--) X-LERCTR-Spam-Score: -2.5 (--) X-Spam-Report: SpamScore (-2.5/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, TVD_RCVD_IP=1.931 X-LERCTR-Spam-Report: SpamScore (-2.5/5.0) ALL_TRUSTED=-1.8, BAYES_00=-2.599, TVD_RCVD_IP=1.931 DomainKey-Status: no signature Cc: freebsd-current@freebsd.org Subject: RE: FW: /dev/sg* for AMD64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 16:13:12 -0000 Here's an example: $ sudo ./st -i /dev/sg2 /dev/sg2 Vendor = SEAGATE Product = ST3146707LC Version = 0004 Serial Number = 3KS2NFJG Copyright = Copyright (c) 2005 Seagate All rights reserved SCSI Firmware = 06070004 Servo RAM Release = 2005CB5A Servo ROM Release = 00000000 Servo RAM Date = CB5A Servo ROM Date = 2005 Blocksize = 512, Highblock = 286749487, Capacity = 143375 MB -this is a Seagate drive -this drive supports DST -short DST time = 120 seconds -long DST time = 2726 seconds -Mode Page Settings [current value (default)]: -WCE bit = 1 (1) -RCD bit = 0 (0) -AWRE bit = 1 (1) -ARRE bit = 1 (1) -DExcpt bit = 0 (0) -Number of cache segments = 32 (32) -PM bit = 0 (0) -DLM bit = 0 (0) -DTOLI bit = 0 (0) -JIT bit 0 = 1 (1) -JIT bit 1 = 1 (1) -JIT bit 2 = 1 (1) -JIT bit 3 = 1 (1) $ sudo ./st -t 10 /dev/sg2 Starting 10 % short DST on drive/dev/sg2 read_capacity (SG_IO) error: Bad address DST test FAILED on drive /dev/sg2 (Sense data = 00/20/00) $ -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 512-248-2683 E-Mail: ler@lerctr.org US Mail: 430 Valona Loop, Round Rock, TX 78681-3893 From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 16:50:22 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE9781065675; Fri, 15 Aug 2008 16:50:22 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7CF8FC16; Fri, 15 Aug 2008 16:50:22 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id B6C8A2090; Fri, 15 Aug 2008 18:50:21 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 9AA87844A8; Fri, 15 Aug 2008 18:50:21 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Sam Fourman Jr." References: <1218809394.10612.1268815905@webmail.messagingengine.com> <86fxp6wagj.fsf@ds4.des.no> <11167f520808150930h7b1e307eu8b7f5032d177fcbe@mail.gmail.com> Date: Fri, 15 Aug 2008 18:50:21 +0200 In-Reply-To: <11167f520808150930h7b1e307eu8b7f5032d177fcbe@mail.gmail.com> (Sam Fourman, Jr.'s message of "Fri, 15 Aug 2008 11:30:28 -0500") Message-ID: <86y72yuss2.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: darrenr@freebsd.org, arch@freebsd.org, Robert Watson , current@freebsd.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 16:50:22 -0000 "Sam Fourman Jr." writes: > I am confused, is vimage actually in -CURRENT now? my guess is no > because there is no man page No, this is why Robert was saying we were going to work on it this weekend. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 16:54:29 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43068106566C for ; Fri, 15 Aug 2008 16:54:29 +0000 (UTC) (envelope-from sfourman@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 04ED78FC15 for ; Fri, 15 Aug 2008 16:54:28 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1626340rvf.43 for ; Fri, 15 Aug 2008 09:54: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=cCcMxzuvFW/4KhnV8Ze3jBLW+bvTa07+qeU/1Sigows=; b=f44KvcmvK3xBgw6aywhnp2tTY1xEgKfBdsHeB3X668xzNI0PLDsOjYvua47BOIT0gH WcwY4o+y2NXqQCr4MkOg+ZXcb234bFJosuF8lYL67wuJV7/x31kRmBOjoDAjg9t8qExL yzlcjZkaCPvJsREn6ZPzFMX+0GOJn5Eg0Y+bE= 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=wfYsYnVwH6JDt94XW9TrSWOqF+9ihWzCnODoS26RoGOtpj9OmzG26ez+nfQq5nwvmi 3KxD62ZEeTCs5kEViwB6JKnx4qOZFVPAdWUIu9IpoDOBQEAamleNUD769cpIgrkJ6CHS ge2Lg7eSx5gzgdGCZaOivOMpufPTgUeBWcnUc= Received: by 10.141.170.10 with SMTP id x10mr1622937rvo.140.1218817828672; Fri, 15 Aug 2008 09:30:28 -0700 (PDT) Received: by 10.141.186.2 with HTTP; Fri, 15 Aug 2008 09:30:28 -0700 (PDT) Message-ID: <11167f520808150930h7b1e307eu8b7f5032d177fcbe@mail.gmail.com> Date: Fri, 15 Aug 2008 11:30:28 -0500 From: "Sam Fourman Jr." To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86fxp6wagj.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1218809394.10612.1268815905@webmail.messagingengine.com> <86fxp6wagj.fsf@ds4.des.no> Cc: darrenr@freebsd.org, arch@freebsd.org, Robert Watson , current@freebsd.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 16:54:29 -0000 > This has been discussed extensively on various mailing lists and at > various BSD conferences over the past ~5 years. Search the archives for > "vimage". I am confused, is vimage actually in -CURRENT now? my guess is no because there is no man page Sam Fourman Jr. From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 18:10:16 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FB5A1065672; Fri, 15 Aug 2008 18:10:16 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from proofpoint3.lanl.gov (proofpoint3.lanl.gov [204.121.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2CB8FC1F; Fri, 15 Aug 2008 18:10:16 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by proofpoint3.lanl.gov (8.13.8/8.13.8) with ESMTP id m7FHaK0p031589; Fri, 15 Aug 2008 11:36:20 -0600 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 17D8815C9802; Fri, 15 Aug 2008 11:36:20 -0600 (MDT) X-CTN-5-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Received: from mailrelay2.lanl.gov (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 0386615C9803; Fri, 15 Aug 2008 11:36:20 -0600 (MDT) Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 00C6615C9802; Fri, 15 Aug 2008 11:36:20 -0600 (MDT) Received: from p25dual1.lanl.gov (p25dual1.lanl.gov [128.165.86.60]) by oppie-mail.lanl.gov (Postfix) with ESMTP id E7D431F8003; Fri, 15 Aug 2008 11:36:14 -0600 (MDT) Message-ID: <48A5BE8E.4070808@lanl.gov> Date: Fri, 15 Aug 2008 11:36:14 -0600 From: James Harrison User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: ipfreak@yahoo.com References: <407385.56133.qm@web52109.mail.re2.yahoo.com> In-Reply-To: <407385.56133.qm@web52109.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.7161:2.4.4, 1.2.40, 4.0.164 definitions=2008-08-15_05:2008-08-12, 2008-08-15, 2008-08-15 signatures=0 X-Mailman-Approved-At: Fri, 15 Aug 2008 18:17:21 +0000 Cc: free bsd , freebsd general questions Subject: Re: desktop wireless card X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 18:10:16 -0000 gahn wrote: > Hello: > > Could anyone recommend a desktop wireless card for freebsd 6.2? Just moved in new place and only wireless in the house. > > Thanks in advance > > > I use whatever was the cheapest linksys wireless G card I could find; plugs in to PCI slot and works wonderfully. From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 18:33:19 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65519106567A for ; Fri, 15 Aug 2008 18:33:19 +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 47D8F8FC17 for ; Fri, 15 Aug 2008 18:33:19 +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 193C22385; Fri, 15 Aug 2008 11:33:19 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 653A72D6093; Fri, 15 Aug 2008 11:33:18 -0700 (PDT) Message-ID: <48A5CBEE.6090603@elischer.org> Date: Fri, 15 Aug 2008 11:33:18 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: darrenr@freebsd.org References: <1218809394.10612.1268815905@webmail.messagingengine.com> In-Reply-To: <1218809394.10612.1268815905@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@FreeBSD.org, Robert Watson , current@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 18:33:19 -0000 Darren Reed wrote: > Robert, > > Do you have any more information about what the details of > this virtualization work will be? e.g. will it be similar > to what Solaris has with zones? > > The reason that I ask is that I've just finished getting > the ipfilter code (non-Sun code) converted to being zone > aware. What does that mean? Lots of global variables are > gone, replaced by soft-context structures that are allocated > and free'd when zones come alive/die. For BSD, while all > of the code paths are the same, I'm currently only using > a single soft context and just pass around a pointer to > it. > > If you're going to be doing similar work for FreeBSD, I > will try and get this into the tree sooner, rather than > later, so that there's one less component that you need > to worry about. > > Cheers, > Darren look at the following document: http://perforce.freebsd.org/fileLogView.cgi?FSPC=//depot/projects/vimage/porting_to_vimage.txt sorry if that wraps there are patches at: also look at the patches in the ipfilter files in that branch. If you are doingthe work for zones then that will be applicable. BTW you might look at dropping all teh suport for freeBSD 3.x in your files :-) the aggregate diff can be found at: http://www.freebsd.org/~julian/vimage.diff. If you want to handle ipfilter yourself then we'd be happy to let you do it. From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 19:45:21 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7B511065689 for ; Fri, 15 Aug 2008 19:45:21 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from n9.bullet.mail.ac4.yahoo.com (n9.bullet.mail.ac4.yahoo.com [76.13.13.237]) by mx1.freebsd.org (Postfix) with SMTP id 5D80B8FC23 for ; Fri, 15 Aug 2008 19:45:21 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from [76.13.13.26] by n9.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 19:32:53 -0000 Received: from [76.13.10.177] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 19:32:53 -0000 Received: from [127.0.0.1] by omp118.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 19:32:53 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 343740.20354.bm@omp118.mail.ac4.yahoo.com Received: (qmail 7272 invoked by uid 60001); 15 Aug 2008 19:32:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=HO1iucpUUBEd3fobOsuC0ygIb1HlVj2dN0Vs1UulUiCkF6/P6nIuq5dnh2QYNcoROrTcxZ+DBV5f9QCgLbxybCNenWcnI0ru83yrRmwFi/Ih0nQx3teGFIGPlmHxk/1qiqSNYkI8H4yuFnywlsyNURRVu5dn9NByhXzxNj5tbFk=; Received: from [96.228.60.223] by web45201.mail.sp1.yahoo.com via HTTP; Fri, 15 Aug 2008 12:32:52 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 12:32:52 -0700 (PDT) From: Erol Akarsu To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <576375.24650.qm@web45201.mail.sp1.yahoo.com> Subject: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 19:45:21 -0000 I am testing Freeswitch on FreBSD. I have Dell Precision workstation with Xeon quad processor 2.66 Ghz. I have installed the latest bsd. Then I compiled freeswitch on it and made load test. I am sending 800 simultaneous originate calls. Then, FBSD can create only 1400 threads and the rest of calls are dropped. I have run small utility to test how many maximum threads this box can reach to. I have got only 1400 threads. Later on, I ulimit everything to maximum with ulimit -c unlimited ulimit -d unlimited ulimit -f unlimited ulimit -i unlimited ulimit -n 999999 ulimit -q unlimited ulimit -u unlimited ulimit -v unlimited ulimit -x unlimited ulimit -s 244 ulimit -l unlimited ulimit -a but the result is same, only 1400 threads maximum. how can I increate this limit? By the way, an ubuntu on old amd processor can reach up to 15000 threads. How can I tune this quad box? Thanks Erol Akarsu From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 20:44:01 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 835131065675 for ; Fri, 15 Aug 2008 20:44:01 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 1D4208FC16 for ; Fri, 15 Aug 2008 20:44:00 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so906620nfh.33 for ; Fri, 15 Aug 2008 13:43:59 -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=D51VK1Qh+K2aAOyZPVuCdVbepkE2oq/WBKfmFe+34X8=; b=fxj/AECPFvkRTLcEU6ZwWGplSY58kv7ziAJLDkIjzcoNZdu6dPAkqJZRwK80/3hOwV JLflwEBT07jBg8dhPCK7MaINBEFG2SStdIuaeMLlwTkcGw7FmNMauVfx/DVKm+TiOHsh +n7wFg2HARt7bYRWrEPOnXL8pbMmm5SG1/KYk= 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=mu4yU/cBE6k0IYWKw1sQ08UKv4S9MIdowlReeTU9zZk3KPbHHg2d44j8wFQ+rZbgyk 2Cu3+h/e/WtzpcbAqWwTuwvHoZojl0YUchlHCUrlvbZ2rB5mBroX1dH2ag27GaAwq7nA oxvhfPVsYzs5Ds7QJuwTPTKPL+KLZ0cz/UZXQ= Received: by 10.210.48.14 with SMTP id v14mr3666353ebv.96.1218831562969; Fri, 15 Aug 2008 13:19:22 -0700 (PDT) Received: from epsilon.local ( [89.214.139.56]) by mx.google.com with ESMTPS id g9sm5874910gvc.0.2008.08.15.13.19.18 (version=SSLv3 cipher=RC4-MD5); Fri, 15 Aug 2008 13:19:20 -0700 (PDT) Date: Fri, 15 Aug 2008 21:19:12 +0100 From: Rui Paulo To: Erol Akarsu Message-ID: <20080815201912.GA172@epsilon.local> References: <576375.24650.qm@web45201.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <576375.24650.qm@web45201.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Rui Paulo Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 20:44:01 -0000 On Fri, Aug 15, 2008 at 12:32:52PM -0700, Erol Akarsu wrote: > I am testing Freeswitch on FreBSD. > > I have Dell Precision workstation with Xeon quad processor 2.66 Ghz. I have installed the latest bsd. > Then I compiled freeswitch on it and made load test. I am sending 800 simultaneous originate calls. > Then, FBSD can create only 1400 threads and the rest of calls are dropped. > > I have run small utility to test how many maximum threads this box can reach to. I have got only 1400 threads. Later on, I ulimit everything to maximum with > ulimit -c unlimited > ulimit -d unlimited > ulimit -f unlimited > ulimit -i unlimited > ulimit -n 999999 > ulimit -q unlimited > ulimit -u unlimited > ulimit -v unlimited > ulimit -x unlimited > ulimit -s 244 > ulimit -l unlimited > ulimit -a > > but the result is same, only 1400 threads maximum. > > how can I increate this limit? You have to increase kern.threads.max_threads_per_proc sysctl. Regards, -- Rui Paulo From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 20:50:36 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02E801065671 for ; Fri, 15 Aug 2008 20:50:36 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: from web63901.mail.re1.yahoo.com (web63901.mail.re1.yahoo.com [69.147.97.116]) by mx1.freebsd.org (Postfix) with SMTP id 9847F8FC1C for ; Fri, 15 Aug 2008 20:50:35 +0000 (UTC) (envelope-from barney_cordoba@yahoo.com) Received: (qmail 95590 invoked by uid 60001); 15 Aug 2008 20:50:35 -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:MIME-Version:Content-Type:Message-ID; b=GoOO+gULE+c2/qfWJF7ciIO7Vm0bbymjl1phM5VGX8xRc46VJi0wD7y4wXxqrLPlVkf7XmvPiSyJ1KoHvQJnU+TUwwIXghFLS9tHyP8zhu2xvCAt525gUypD0qWVueNj5h7YvWqEC+yJJIE7Y5ytNF2BrATBo+fnxGse4qFqieg=; Received: from [98.203.28.38] by web63901.mail.re1.yahoo.com via HTTP; Fri, 15 Aug 2008 13:50:34 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 13:50:34 -0700 (PDT) From: Barney Cordoba To: current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <976425.95447.qm@web63901.mail.re1.yahoo.com> Cc: Subject: Max Kernel Memory? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: barney_cordoba@yahoo.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 20:50:36 -0000 Setting vm.kmem_size to what seem to be usable values causes all kinds of memory allocations on boot. For example setting it to 1GB with 2GB installed results in a failure. What is the maximum amount of memory that can be allocated to the kernel, and why can't 1/2 of the system's memory be allocated safely? We have a module with a potentially very large dynamic lookup table, with little going on in userland, so we want to allocate as much as possible to the kernel. Barney From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 22:43:18 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23E5B106567E for ; Fri, 15 Aug 2008 22:43:18 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from n5.bullet.mail.ac4.yahoo.com (n5.bullet.mail.ac4.yahoo.com [76.13.13.27]) by mx1.freebsd.org (Postfix) with SMTP id D4CE08FC19 for ; Fri, 15 Aug 2008 22:43:17 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from [76.13.13.26] by n5.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 22:43:17 -0000 Received: from [76.13.10.162] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 22:43:17 -0000 Received: from [127.0.0.1] by omp103.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 22:43:17 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 262980.20893.bm@omp103.mail.ac4.yahoo.com Received: (qmail 98467 invoked by uid 60001); 15 Aug 2008 22:43:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=EHIAGESpXXcj+3CUjjuOaPCT8n4rAOha3fe4B/VVlC/WKsezcvi0iPUuG+yPu76twoY/RswM4KuIlZJalWXyVBU+/81GjD4n1YYxiyfCyz24aBMffoYDpjYwgkqTPAAPT4LdWNAH97ciFMppqOofljEuhiFDV1jov5ssnewRs+o=; Received: from [96.228.60.223] by web45210.mail.sp1.yahoo.com via HTTP; Fri, 15 Aug 2008 15:43:15 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 15:43:15 -0700 (PDT) From: Erol Akarsu To: Rui Paulo MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <266307.97521.qm@web45210.mail.sp1.yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 22:43:18 -0000 Rui, I appreciate our answer. How will I increase? Can you you give the syntax? Thanks ----- Original Message ---- From: Rui Paulo To: Erol Akarsu Cc: freebsd-current@freebsd.org Sent: Friday, August 15, 2008 4:19:12 PM Subject: Re: Freeswitch on latest FBSD On Fri, Aug 15, 2008 at 12:32:52PM -0700, Erol Akarsu wrote: > I am testing Freeswitch on FreBSD. > > I have Dell Precision workstation with Xeon quad processor 2.66 Ghz. I have installed the latest bsd. > Then I compiled freeswitch on it and made load test. I am sending 800 simultaneous originate calls. > Then, FBSD can create only 1400 threads and the rest of calls are dropped. > > I have run small utility to test how many maximum threads this box can reach to. I have got only 1400 threads. Later on, I ulimit everything to maximum with > ulimit -c unlimited > ulimit -d unlimited > ulimit -f unlimited > ulimit -i unlimited > ulimit -n 999999 > ulimit -q unlimited > ulimit -u unlimited > ulimit -v unlimited > ulimit -x unlimited > ulimit -s 244 > ulimit -l unlimited > ulimit -a > > but the result is same, only 1400 threads maximum. > > how can I increate this limit? You have to increase kern.threads.max_threads_per_proc sysctl. Regards, -- Rui Paulo _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:18:04 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C087D1065734 for ; Fri, 15 Aug 2008 23:18:03 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id CD2E08FC1D for ; Fri, 15 Aug 2008 23:18:02 +0000 (UTC) (envelope-from davidn04@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so491323wra.27 for ; Fri, 15 Aug 2008 16:18:01 -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=EySnmL+MnIZrmq6Lmj7X7v5LHRggS78A/4fIaKJZdxE=; b=if58sdAvFPLXxyni7Z4yx+kULHzHiWy/1gukIc+9JOn463o/AsR1i5QocF0YXQ32Lr o3lXaN1Lfzl9tBmQPfUEDLGllWeezBusBIw7JILNihN7EFV8GEhe8BXx8I5J2ej4/DWY zOkiJPbC5fIvT4DJPS6y+/IvWQ3Q3NELVvJOg= 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=PeapcIJo0NPjfhKm4r5M3CrdANyRVgjvNzGoQfIQ+CBaIICq5zDq7P48JOKvRPv6/+ UPWmSzxIfT12qqeIpNRbxCC0UQFk0Vb3w1hebIz9EtqGCOBV+AZkjDqNaaJXChpPueBQ YnCrKw/e74y6xhODhzaZlYJSYOO2ZP9oJANsI= Received: by 10.90.32.14 with SMTP id f14mr887239agf.116.1218840567598; Fri, 15 Aug 2008 15:49:27 -0700 (PDT) Received: by 10.70.44.7 with HTTP; Fri, 15 Aug 2008 15:49:27 -0700 (PDT) Message-ID: <4d7dd86f0808151549r39c6f1f8webbcc5f8ffb487eb@mail.gmail.com> Date: Sat, 16 Aug 2008 08:49:27 +1000 From: "David N" To: "Erol Akarsu" In-Reply-To: <266307.97521.qm@web45210.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <266307.97521.qm@web45210.mail.sp1.yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 23:18:04 -0000 2008/8/16 Erol Akarsu : > Rui, > > I appreciate our answer. > How will I increase? > Can you you give the syntax? > > Thanks > > > > ----- Original Message ---- > From: Rui Paulo > To: Erol Akarsu > Cc: freebsd-current@freebsd.org > Sent: Friday, August 15, 2008 4:19:12 PM > Subject: Re: Freeswitch on latest FBSD > > On Fri, Aug 15, 2008 at 12:32:52PM -0700, Erol Akarsu wrote: >> I am testing Freeswitch on FreBSD. >> >> I have Dell Precision workstation with Xeon quad processor 2.66 Ghz. I have installed the latest bsd. >> Then I compiled freeswitch on it and made load test. I am sending 800 simultaneous originate calls. >> Then, FBSD can create only 1400 threads and the rest of calls are dropped. >> >> I have run small utility to test how many maximum threads this box can reach to. I have got only 1400 threads. Later on, I ulimit everything to maximum with >> ulimit -c unlimited >> ulimit -d unlimited >> ulimit -f unlimited >> ulimit -i unlimited >> ulimit -n 999999 >> ulimit -q unlimited >> ulimit -u unlimited >> ulimit -v unlimited >> ulimit -x unlimited >> ulimit -s 244 >> ulimit -l unlimited >> ulimit -a >> >> but the result is same, only 1400 threads maximum. >> >> how can I increate this limit? > > You have to increase kern.threads.max_threads_per_proc sysctl. > > Regards, > -- > Rui Paulo > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > sysctl kern.threads.max_threads_per_proc= eg. sysctl kern.threads.max_threads_per_proc=2000 David N From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:20:02 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFB031065680 for ; Fri, 15 Aug 2008 23:20:02 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id A595A8FC18 for ; Fri, 15 Aug 2008 23:20:02 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 845B1352A2; Sat, 16 Aug 2008 01:00:05 +0200 (CEST) Date: Sat, 16 Aug 2008 01:00:04 +0200 From: cpghost To: Erol Akarsu Message-ID: <20080815230004.GA29965@epia-2.farid-hajji.net> References: <266307.97521.qm@web45210.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <266307.97521.qm@web45210.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 23:20:03 -0000 On Fri, Aug 15, 2008 at 03:43:15PM -0700, Erol Akarsu wrote: > > You have to increase kern.threads.max_threads_per_proc sysctl. > How will I increase? > Can you you give the syntax? Please don't top-post. To experiment with sysctl values, try this: # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 1500 # sysctl kern.threads.max_threads_per_proc=2000 kern.threads.max_threads_per_proc: 1500 -> 2000 # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 2000 Just experiment until your program behaves as needed, and once you've found the right value, add it to /etc/sysctl.conf with a line like this: kern.threads.max_threads_per_proc=2000 This will take effect as soon as you reboot. Of course you don't need to reboot: sysctl the value manually as shown above will do just fine. ;) -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:23:41 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 234BD106566B for ; Fri, 15 Aug 2008 23:23:41 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from n4a.bullet.mail.ac4.yahoo.com (n4a.bullet.mail.ac4.yahoo.com [76.13.13.67]) by mx1.freebsd.org (Postfix) with SMTP id D3F008FC08 for ; Fri, 15 Aug 2008 23:23:40 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from [76.13.13.26] by n4.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 23:23:40 -0000 Received: from [76.13.10.172] by t3.bullet.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 23:23:40 -0000 Received: from [127.0.0.1] by omp113.mail.ac4.yahoo.com with NNFMP; 15 Aug 2008 23:23:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 279904.9268.bm@omp113.mail.ac4.yahoo.com Received: (qmail 1086 invoked by uid 60001); 15 Aug 2008 23:23:39 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=ccju52JUp/h0Vhk/iZ6XOf81PufUbnGE8dZFyEhDN22GGFjPt2ZOT6U0MzM5r2FVS9xfrys+PFpZX62w3hlvTdw07z4HSQhaWZaH8RGgPcevwlj1GffhZxOmp5xwWlZhc46scg+Vnb75JTDxU9YpW7wxl02auTGByzBLneVgTfs=; Received: from [96.228.60.223] by web45213.mail.sp1.yahoo.com via HTTP; Fri, 15 Aug 2008 16:23:39 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 16:23:39 -0700 (PDT) From: Erol Akarsu To: cpghost MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <526028.329.qm@web45213.mail.sp1.yahoo.com> Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 23:23:41 -0000 Dear cpghost, I appreciate your detailed answer, Can you help me on setting other limits? I did the following but it did not change. I would like this like I do in linux: ulimit -c unlimited ulimit -d unlimited ulimit -f unlimited ulimit -i unlimited ulimit -n 999999 ulimit -q unlimited ulimit -u unlimited ulimit -v unlimited ulimit -x unlimited ulimit -s 244 ulimit -l unlimited Could you please tell me how I will do it on FreeBSD? Thanks ----- Original Message ---- From: cpghost To: Erol Akarsu Cc: freebsd-current@freebsd.org Sent: Friday, August 15, 2008 7:00:04 PM Subject: Re: Freeswitch on latest FBSD On Fri, Aug 15, 2008 at 03:43:15PM -0700, Erol Akarsu wrote: > > You have to increase kern.threads.max_threads_per_proc sysctl. > How will I increase? > Can you you give the syntax? Please don't top-post. To experiment with sysctl values, try this: # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 1500 # sysctl kern.threads.max_threads_per_proc=2000 kern.threads.max_threads_per_proc: 1500 -> 2000 # sysctl kern.threads.max_threads_per_proc kern.threads.max_threads_per_proc: 2000 Just experiment until your program behaves as needed, and once you've found the right value, add it to /etc/sysctl.conf with a line like this: kern.threads.max_threads_per_proc=2000 This will take effect as soon as you reboot. Of course you don't need to reboot: sysctl the value manually as shown above will do just fine. ;) -. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 23:42:09 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB641065677 for ; Fri, 15 Aug 2008 23:42:09 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id DEE4D8FC08 for ; Fri, 15 Aug 2008 23:42:08 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from epia-2.farid-hajji.net (epia-2 [192.168.254.11]) by fw.farid-hajji.net (Postfix) with ESMTP id 6FBA934BD9; Sat, 16 Aug 2008 01:42:06 +0200 (CEST) Date: Sat, 16 Aug 2008 01:42:05 +0200 From: cpghost To: Erol Akarsu Message-ID: <20080815234205.GB29965@epia-2.farid-hajji.net> References: <526028.329.qm@web45213.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <526028.329.qm@web45213.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 23:42:09 -0000 On Fri, Aug 15, 2008 at 04:23:39PM -0700, Erol Akarsu wrote: > Can you help me on setting other limits? I did the following but it > did not change. I would like this like I do in linux: > > ulimit -c unlimited > > Could you please tell me how I will do it on FreeBSD? Which shell are your using? With csh/tcsh: # limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 7092 memorylocked unlimited maxproc 3546 sbsize unlimited # limit stacksize stacksize 65536 kbytes # limit stacksize 32000 # limit stacksize stacksize 32000 kbytes # limit stacksize unlimited # limit stacksize stacksize 65536 kbytes With /bin/sh: # ulimit -a cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 3546 open files (-n) 7092 virtual mem size (kbytes, -v) unlimited sbsize (bytes, -b) unlimited # ulimit -s 32200 # ulimit -s 32200 # ulimit -s unlimited # ulimit -s 65536 If you need to rise other limits (say, open files, etc...), you'll need to crank up the sysctl value. You can get a list of all sysctl values like this: # sysctl -a | more > Thanks -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 01:14:56 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 835601065671 for ; Sat, 16 Aug 2008 01:14:56 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from n14.bullet.mail.mud.yahoo.com (n14.bullet.mail.mud.yahoo.com [68.142.206.41]) by mx1.freebsd.org (Postfix) with SMTP id 560CF8FC12 for ; Sat, 16 Aug 2008 01:14:56 +0000 (UTC) (envelope-from eakarsu_33@yahoo.com) Received: from [68.142.200.227] by n14.bullet.mail.mud.yahoo.com with NNFMP; 16 Aug 2008 01:01:15 -0000 Received: from [76.13.13.25] by t8.bullet.mud.yahoo.com with NNFMP; 16 Aug 2008 01:01:15 -0000 Received: from [76.13.10.169] by t4.bullet.mail.ac4.yahoo.com with NNFMP; 16 Aug 2008 01:01:15 -0000 Received: from [127.0.0.1] by omp110.mail.ac4.yahoo.com with NNFMP; 16 Aug 2008 01:01:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 9466.56617.bm@omp110.mail.ac4.yahoo.com Received: (qmail 7051 invoked by uid 60001); 16 Aug 2008 01:01:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=CdB+JNvrmTxcNXja5yBZ6end0MlLuhaJ9dOmY7ZZwoerJIoXliNMLmUS6CWXVUiDu8xPcklPNfgapYXBCYHOYqmpPg5vTOlrrkw84S6PQN5hT1Ysns8n299X5xhpH+0Gd3h7YOOnI9FQMhW8MvwsoIry/JbkAZf6UoODnjqw7Nk=; Received: from [96.228.60.223] by web45211.mail.sp1.yahoo.com via HTTP; Fri, 15 Aug 2008 18:01:14 PDT X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218 Date: Fri, 15 Aug 2008 18:01:14 -0700 (PDT) From: Erol Akarsu To: cpghost MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <136625.5517.qm@web45211.mail.sp1.yahoo.com> Cc: freebsd-current@freebsd.org Subject: Limiting icmp unreach response fron 348 to 200 packets/sec X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 01:14:56 -0000 Hi, Thanks for helping this. Now, I am getting "Limiting icmp unreach response fron 348 to 200 packets/sec" In which conditions can we get this? does this effect functionality of the system? How can I solve this issue? Thanks Erol Akarsu ----- Original Message ---- From: cpghost To: Erol Akarsu Cc: freebsd-current@freebsd.org Sent: Friday, August 15, 2008 7:42:05 PM Subject: Re: Freeswitch on latest FBSD On Fri, Aug 15, 2008 at 04:23:39PM -0700, Erol Akarsu wrote: > Can you help me on setting other limits? I did the following but it > did not change. I would like this like I do in linux: > > ulimit -c unlimited > > Could you please tell me how I will do it on FreeBSD? Which shell are your using? With csh/tcsh: # limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 7092 memorylocked unlimited maxproc 3546 sbsize unlimited # limit stacksize stacksize 65536 kbytes # limit stacksize 32000 # limit stacksize stacksize 32000 kbytes # limit stacksize unlimited # limit stacksize stacksize 65536 kbytes With /bin/sh: # ulimit -a cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 3546 open files (-n) 7092 virtual mem size (kbytes, -v) unlimited sbsize (bytes, -b) unlimited # ulimit -s 32200 # ulimit -s 32200 # ulimit -s unlimited # ulimit -s 65536 If you need to rise other limits (say, open files, etc...), you'll need to crank up the sysctl value. You can get a list of all sysctl values like this: # sysctl -a | more > Thanks -cpghost. -- Cordula's Web. http://www.cordula.ws/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 01:22:08 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02C6D106566B for ; Sat, 16 Aug 2008 01:22:08 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id DB1EC8FC17 for ; Sat, 16 Aug 2008 01:22:07 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost1.sentex.ca (8.14.2/8.14.2) with ESMTP id m7G1M4jE098244; Fri, 15 Aug 2008 21:22:05 -0400 (EDT) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id m7G1M4od052103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Aug 2008 21:22:04 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200808160122.m7G1M4od052103@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Fri, 15 Aug 2008 21:22:00 -0400 To: Erol Akarsu From: Mike Tancsa In-Reply-To: <136625.5517.qm@web45211.mail.sp1.yahoo.com> References: <136625.5517.qm@web45211.mail.sp1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-current@freebsd.org Subject: Re: Limiting icmp unreach response fron 348 to 200 packets/sec X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 01:22:08 -0000 At 09:01 PM 8/15/2008, Erol Akarsu wrote: >Hi, > >Thanks for helping this. > >Now, I am getting "Limiting icmp unreach response fron 348 to 200 packets/sec" Hi, These questions are better asked on freebsd-questions@freebsd.org. But the above indicates processes are hitting your freebsd server on ports where nothing is listenting and the FreeBSD box is sending out "port unreachable" messages at a limit of 200 per second, but if it were to answer all bogus requests the rate would have been 348 per second. >In which conditions can we get this? does this effect functionality >of the system? other hosts are accessing ports on your server where nothing is listening. >How can I solve this issue? sysctl -w net.inet.tcp.blackhole=1 sysctl -w net.inet.udp.blackhole=1 to stop all the port unreachable messages, but ultimately find out why your program / application is not listening on that port. ---Mike From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 01:23:23 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58CAD106564A for ; Sat, 16 Aug 2008 01:23:23 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outL.internet-mail-service.net (outl.internet-mail-service.net [216.240.47.235]) by mx1.freebsd.org (Postfix) with ESMTP id 5AA618FC19 for ; Sat, 16 Aug 2008 01:23:23 +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 5DF5221F0; Fri, 15 Aug 2008 18:23:23 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 7670A2D60CE; Fri, 15 Aug 2008 18:23:22 -0700 (PDT) Message-ID: <48A62C09.4090004@elischer.org> Date: Fri, 15 Aug 2008 18:23:21 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Erol Akarsu References: <136625.5517.qm@web45211.mail.sp1.yahoo.com> In-Reply-To: <136625.5517.qm@web45211.mail.sp1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, cpghost Subject: Re: Limiting icmp unreach response fron 348 to 200 packets/sec X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 01:23:23 -0000 Erol Akarsu wrote: > Hi, > > Thanks for helping this. > > Now, I am getting "Limiting icmp unreach response fron 348 to 200 packets/sec" > > In which conditions can we get this? does this effect functionality of the system? > How can I solve this issue? > It means something in your network is not working well and the system is being tempted to send lots of ICMP packets in complaint, but it is only sending200 complaints per second because it has been told to limit itself to that number. Using tcpdump to see what ICMP packets ARE being sent would be a good place ot start. Also FreeBSD has a good set of man pages unlike many Linux distributions. So try the man pages and google when you hit a problem.. e.g. man -k icmp will give you a list of man pages that hace something to do with icmp man -k sysctl man 1 intro man 2 intro man 3 intro man 4 intro man 9 intro are also good starting places. man man is worth a look too. > Thanks > > Erol Akarsu > > > > > ----- Original Message ---- > From: cpghost > To: Erol Akarsu > Cc: freebsd-current@freebsd.org > Sent: Friday, August 15, 2008 7:42:05 PM > Subject: Re: Freeswitch on latest FBSD > > On Fri, Aug 15, 2008 at 04:23:39PM -0700, Erol Akarsu wrote: >> Can you help me on setting other limits? I did the following but it >> did not change. I would like this like I do in linux: >> >> ulimit -c unlimited >> >> Could you please tell me how I will do it on FreeBSD? > > Which shell are your using? > > With csh/tcsh: > > # limit > cputime unlimited > filesize unlimited > datasize 524288 kbytes > stacksize 65536 kbytes > coredumpsize unlimited > memoryuse unlimited > vmemoryuse unlimited > descriptors 7092 > memorylocked unlimited > maxproc 3546 > sbsize unlimited > > # limit stacksize > stacksize 65536 kbytes > > # limit stacksize 32000 > # limit stacksize > stacksize 32000 kbytes > > # limit stacksize unlimited > # limit stacksize > stacksize 65536 kbytes > > With /bin/sh: > > # ulimit -a > cpu time (seconds, -t) unlimited > file size (512-blocks, -f) unlimited > data seg size (kbytes, -d) 524288 > stack size (kbytes, -s) 65536 > core file size (512-blocks, -c) unlimited > max memory size (kbytes, -m) unlimited > locked memory (kbytes, -l) unlimited > max user processes (-u) 3546 > open files (-n) 7092 > virtual mem size (kbytes, -v) unlimited > sbsize (bytes, -b) unlimited > > # ulimit -s 32200 > # ulimit -s > 32200 > > # ulimit -s unlimited > # ulimit -s > 65536 > > If you need to rise other limits (say, open files, etc...), you'll > need to crank up the sysctl value. You can get a list of all sysctl > values like this: > > # sysctl -a | more > >> Thanks > > -cpghost. > From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 03:40:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D18D1106566B for ; Sat, 16 Aug 2008 03:40:50 +0000 (UTC) (envelope-from vehemens@verizon.net) Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by mx1.freebsd.org (Postfix) with ESMTP id C4DA08FC16 for ; Sat, 16 Aug 2008 03:40:50 +0000 (UTC) (envelope-from vehemens@verizon.net) Received: from sam ([71.107.11.239]) by vms173001.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0K5O00CWEA2U2TT7@vms173001.mailsrvcs.net> for freebsd-current@freebsd.org; Fri, 15 Aug 2008 21:40:07 -0500 (CDT) Date: Fri, 15 Aug 2008 19:45:50 -0700 From: vehemens To: freebsd-current@freebsd.org Message-id: <200808151945.50696.vehemens@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.9.7 Subject: kernel memory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 03:40:50 -0000 I'm going to ask this question as I have not seen this rule written down anywhere. So don't shoot me please :> Do kernel memory memory routines such as malloc always return a region of memory that is locked to a physical page? From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 03:51:19 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48E8F1065682 for ; Sat, 16 Aug 2008 03:51:19 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id 0B6498FC21 for ; Sat, 16 Aug 2008 03:51:18 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.local ([192.168.254.200]) (authenticated bits=0) by pooker.samsco.org (8.14.2/8.14.2) with ESMTP id m7G3pF5p075246; Fri, 15 Aug 2008 21:51:15 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <48A64EB3.80204@samsco.org> Date: Fri, 15 Aug 2008 21:51:15 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080313 SeaMonkey/1.1.9 MIME-Version: 1.0 To: vehemens References: <200808151945.50696.vehemens@verizon.net> In-Reply-To: <200808151945.50696.vehemens@verizon.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=3.8 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-current@freebsd.org Subject: Re: kernel memory X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 03:51:19 -0000 vehemens wrote: > I'm going to ask this question as I have not seen this rule written down > anywhere. So don't shoot me please :> > > Do kernel memory memory routines such as malloc always return a region of > memory that is locked to a physical page? Malloc does, yes, as does the UMA zone allocator. If all you want is an virtual address range, but no backing pages, use kmem_alloc_nofault(kernel_map, size). To later associate it with a physical page, you can use something like pmap_kenter(va, pa) Scott From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 08:32:34 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A11F106564A for ; Sat, 16 Aug 2008 08:32:34 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (ns.haidundneu23.net [213.133.108.24]) by mx1.freebsd.org (Postfix) with ESMTP id 040E28FC22 for ; Sat, 16 Aug 2008 08:32:33 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id D8B79682C2; Sat, 16 Aug 2008 10:02:25 +0200 (CEST) X-Spam-Scanned: by amavisd-new at haidundneu23.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.haidundneu23.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fxkH+lVntn1W; Sat, 16 Aug 2008 10:02:25 +0200 (CEST) Received: from storage.haidundneu23.net (p5B2DF908.dip.t-dialin.net [91.45.249.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "storage.haidundneu23.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTP; Sat, 16 Aug 2008 10:02:25 +0200 (CEST) Received: from elch.haidundneu23.net (elch.haidundneu23.net [10.0.42.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.haidundneu23.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by storage.haidundneu23.net (Postfix) with ESMTP id CC0DA181637; Sat, 16 Aug 2008 10:02:24 +0200 (CEST) Received: by elch.haidundneu23.net (Postfix, from userid 1000) id A90215641D; Sat, 16 Aug 2008 10:02:23 +0200 (CEST) Date: Sat, 16 Aug 2008 10:02:23 +0200 From: Christoph Moench-Tegeder To: Erol Akarsu Message-ID: <20080816080223.GA1745@elch.haidundneu23.net> References: <526028.329.qm@web45213.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <526028.329.qm@web45213.mail.sp1.yahoo.com> X-PGP-Key: RSA/2048 0xB816EBBD X-PGP-Fingerprint: 89 2E 6D 05 95 B8 D7 1F 7C 1D C3 1E 95 A0 9B 5D X-GPG: supported User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: freebsd-current@freebsd.org Subject: Re: Freeswitch on latest FBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 08:32:34 -0000 ## Erol Akarsu (eakarsu_33@yahoo.com): > Can you help me on setting other limits? I did the following but it did > not change. > I would like this like I do in linux: When using ulimit, you have to be aware of two things: First, ulimit is a shell builtin, so usage may differ slightly from shell to shell. Check your shell's documentation for details, especially if you are not using bash on FreeBSD. Second, the maximum settings might be limited by entries in /etc/login.conf and/or kernel tunables not available via sysctl (they are set via /boot/loader.conf). On the former, see login.conf(5), on the latter, see tuning(7) and loader(8) and related for details. Regards, Christoph -- Spare Space From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 10:21:02 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D69541065687; Sat, 16 Aug 2008 10:21:02 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 91B368FC08; Sat, 16 Aug 2008 10:21:02 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 4025941C65E; Sat, 16 Aug 2008 12:05:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id USOyyJ33SDDV; Sat, 16 Aug 2008 12:05:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 7E31A41C64C; Sat, 16 Aug 2008 12:05:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 0DE1844487F; Sat, 16 Aug 2008 10:01:54 +0000 (UTC) Date: Sat, 16 Aug 2008 10:01:54 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: FreeBSD current mailing list Message-ID: <20080816094619.G88849@maildrop.int.zabbadoz.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-virtualization@freebsd.org Subject: V_HEADS UP (at short notice) kinda headsup.. (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 10:21:03 -0000 Hi, this is THE HEADS UP in addition to Julian's HEADS UP a few weeks ago and Robert's mini-HEADS UP a few days ago. Your private changes for HEAD might be screwed by the the of this day (BST) as the first step of the VImage work should go in. You have been warned, we are going to accept the risk, talk to Peter in case you want to stop is this or sink the Isle of Albion within a few hours;-) /bz PS: if you are unlucky we'll prepare the 2nd stage for/on Monday. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game. ---------- Forwarded message ---------- Date: Sun, 08 Jun 2008 22:58:40 -0700 From: Julian Elischer To: FreeBSD Current , freebsd-virtualization@freebsd.org, Marko Zec Subject: kinda headsup.. At the BSDCAn devsummit we discussed how to proceed with committing Vimage to -current. the Milestones included something like: June 8 (today) Headsup.... June 15 commit changes that add macros for vnet (network module) and vinet(inet virtualisation) with macros defined in such a way to make 0 actual differences. provable by md5 etc. Documentat s/hostname/g//V_hostname/ #define V_hostname hostname 2 weeks settle time, next step prepared, tested and reviewed. June 29 Add changes to convert all globals to members of per-module structures. Done in a reversible way (i.e. compilable out). Macros defined so that depending on compile options structures or globals are used (one global structure). Performance implications of using structures are evaluated. Structures possibly tuned. Initialisation routines added, checked and tuned. example: #if VIMAGE_USE_STRUCTS #define V_hostname sys_globals.hostname ... #else #define V_hostname hostname ... #endif July 13 globals removed in vnet, vinet. ifdefs and compile option removed or scaled back to make code clean to read again. Destructor routines added where needed. Remaining "NULL Macros" (compile to nothing at this point) committed to reduce the size of the MEAT diffs. Review of Meat diffs formally under way for final comment. example: #define INIT_VNET_INET(x) /* nothing */ add "INIT_VNET_INET(curvnet);"(and similar) where needed. remove globals (e.g. 'hostname') July 21 JAIL+Vimage framework committed. e.g. add new syscall, program, etc. (part one of meat diffs) structures still only global instances. vimage inhansed jails can be created but act jus tlike normal jails? July 28 Ability to created > 1 vimage enabled. Vimage enhanced jails now have private network stacks etc. August start on converting more modules as needed and time allows. Marko and I have been working towards splitting up the current diffs (which do the whole thing) so allow this schedule to be followed. We may or may not be ready for the June 15 step by then, but if not it may be a week there-after. So this should be considered the heads-up. discussion will be on freebsd-virtualization@ and the perforce branch that we have as a current working system is branch 'vimage'. //depot/projects/vimage/... diffs can be found at: http://www.freebsd.org/~julian/vimage.diff and it are usually fairly up to date. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 13:05:33 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E66D106566B; Sat, 16 Aug 2008 13:05:33 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5879E8FC08; Sat, 16 Aug 2008 13:05:33 +0000 (UTC) (envelope-from darrenr@freebsd.org) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id CFFAA1589C2; Sat, 16 Aug 2008 09:05:31 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Sat, 16 Aug 2008 09:05:31 -0400 X-Sasl-enc: B5VDFt4auON9J5ARbzCZag+MydjGxuxeqPjkhBYqSYTx 1218891931 Received: from [192.168.1.235] (76-191-150-176.dsl.dynamic.sonic.net [76.191.150.176]) by mail.messagingengine.com (Postfix) with ESMTPSA id CAB4722968; Sat, 16 Aug 2008 09:05:30 -0400 (EDT) Message-ID: <48A6D104.2010704@freebsd.org> Date: Sat, 16 Aug 2008 06:07:16 -0700 From: Darren Reed User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Julian Elischer References: <1218809394.10612.1268815905@webmail.messagingengine.com> <48A5CBEE.6090603@elischer.org> In-Reply-To: <48A5CBEE.6090603@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@FreeBSD.org, Robert Watson , current@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 13:05:33 -0000 Julian Elischer wrote: > Darren Reed wrote: >> Robert, >> >> Do you have any more information about what the details of >> this virtualization work will be? e.g. will it be similar >> to what Solaris has with zones? >> >> The reason that I ask is that I've just finished getting >> the ipfilter code (non-Sun code) converted to being zone >> aware. What does that mean? Lots of global variables are >> gone, replaced by soft-context structures that are allocated >> and free'd when zones come alive/die. For BSD, while all >> of the code paths are the same, I'm currently only using >> a single soft context and just pass around a pointer to >> it. >> >> If you're going to be doing similar work for FreeBSD, I >> will try and get this into the tree sooner, rather than >> later, so that there's one less component that you need >> to worry about. >> >> Cheers, >> Darren > > > > look at the following document: > > http://perforce.freebsd.org/fileLogView.cgi?FSPC=//depot/projects/vimage/porting_to_vimage.txt > > > sorry if that wraps > > there are patches at: > > also look at the patches in the ipfilter files in that branch. So the only changes I could see are V_* things for inet global variables that ipfilter abuses. Was there something else that I'm missing? > If you are doingthe work for zones then that will be applicable. It's now close to complete. There are 3 "layers" of data structure initilisation to get it running: - load (initialise all of the globals) - create (create the soft context structure) - init (build tables, register callbacks to get packets, etc.) > ... > the aggregate diff can be found at: > > http://www.freebsd.org/~julian/vimage.diff. > > If you want to handle ipfilter yourself then we'd be happy to let you > do it. At the moment, those diffs for IPFIlter only have some V_* changes for dealing with the global inet variables that it abuses. Is there more hidden somewhere? To get a proper idea of the changes I've been working on you should download this guy: http://coombs.anu.edu.au/~avalon/ip_fil5.0.3.tar.gz Nearly all of the global variables are gone, with bits and pieces hanging off ipf_*_softc_t structures now. So far as ipfilter/ipfw/pf go, for them to be meaningfully virtualised, the pfil code that currently supports them needs to be enhanced further such that they can "listen" for the creation of vimages, etc...that is if people want to delegate (partial) control of such to vimages. Darren From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 14:03:23 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E0F9106566B; Sat, 16 Aug 2008 14:03:23 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E25D48FC0A; Sat, 16 Aug 2008 14:03:22 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 29BA7207E; Sat, 16 Aug 2008 16:03:22 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id 0370B844AB; Sat, 16 Aug 2008 16:03:22 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Julian Elischer References: <1218809394.10612.1268815905@webmail.messagingengine.com> <48A5CBEE.6090603@elischer.org> Date: Sat, 16 Aug 2008 16:03:21 +0200 In-Reply-To: <48A5CBEE.6090603@elischer.org> (Julian Elischer's message of "Fri, 15 Aug 2008 11:33:18 -0700") Message-ID: <863al583bq.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: darrenr@freebsd.org, arch@FreeBSD.org, Robert Watson , current@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 14:03:23 -0000 Julian Elischer writes: > the aggregate diff can be found at: > > http://www.freebsd.org/~julian/vimage.diff. > > If you want to handle ipfilter yourself then we'd be happy to let you > do it. There are a number of issues with the ipfilter parts of the vimage patch. I will commit an improved version to p4 shortly. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 16:35:10 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89E9D1065671 for ; Sat, 16 Aug 2008 16:35:10 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id 549BE8FC14 for ; Sat, 16 Aug 2008 16:35:10 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2236951rvf.43 for ; Sat, 16 Aug 2008 09:35:09 -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=YOS6cuy6pOj9VwAMy0uC4qOWLPnHhYV/ig/Rr1SQDu0=; b=BPdPC5VCsnfoOyNlHZ9eOW3U0uabyIcRsQLWP8zCgHOXw3F0OBiGyU2BU2p9Ju5t5I KpoNY78kN72X1/qp+JF8nCljfxFepUzN5kb1AmarvtxTqWdPyr5WyawwwI4pOXXbPsVv v+f4K37H6Ofl2+KTsNqzlLchuXUzwZxImKv74= 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=L9Tb3wUqPcyYIVThMPfr4rEXQJWbOWY04ZRKLQDyeizodurbsT3Q3E4qlBmfMsRbvu Dt++WhGY+jy+4yfb5lX/yMJrYO3ZqsyDDu9vGHjGfZkdVFJlvuGCl5oZwI/xf7vaXb08 lTJ4eCKJgdebD1TZ3aAmy52RhgNdCBnBcBbZk= Received: by 10.141.113.6 with SMTP id q6mr2221034rvm.36.1218904509654; Sat, 16 Aug 2008 09:35:09 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Sat, 16 Aug 2008 09:35:09 -0700 (PDT) Message-ID: <33615c8e0808160935r377566a2k3df1d256526f56f@mail.gmail.com> Date: Sat, 16 Aug 2008 12:35:09 -0400 From: "Rohit Tripathi" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: uninitialized "width" in st_parse.c ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 16:35:10 -0000 I found a build error under cddl/contrib/opensolaris/tools/ctf/cvt and saw that width (line 779) was declared but not initialized. Is this intentional? After setting it to 64 the build proceeded fine. -Rohit From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 16:41:24 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67A4E106567C for ; Sat, 16 Aug 2008 16:41:24 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id 3303B8FC1C for ; Sat, 16 Aug 2008 16:41:24 +0000 (UTC) (envelope-from rohit.trip@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2239780rvf.43 for ; Sat, 16 Aug 2008 09:41:23 -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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=f4OfKJQ+0phvDTplI6e4jaCFceAzuq3H4/h6WETuZac=; b=PelAYgF2FOVQTY+RnTEWyGdX7kwy0/Q/+3JKP2SXhpCCdQEcWs7y6k6Oou0IwffJnw YN1iWvgpX+3kLCOPADIJsRw7Go+kjMGr1eIDcxXt0UwcyMsxM0XRrDtC2sxuxDnNEOlm 9aV4lC4emZb35mbkafcAYqNdTygZg0QDZjkO0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=A7cFU79rsZiOcig60dc6897Es2EE9u1TBmo9gIR2KU9N37NqrGgYEForjrSCRzdbxn znkY47aOS4i3TNtV9XqGJiijPLd4DqHbIQJvl4rSG4yGk3wEA5VPfoP90YI/FH7cSMkV 9CDshuu0IM36C6+1/5wd5w3kk65ZR8jRdPxn4= Received: by 10.140.172.21 with SMTP id u21mr2222308rve.262.1218904883719; Sat, 16 Aug 2008 09:41:23 -0700 (PDT) Received: by 10.141.42.5 with HTTP; Sat, 16 Aug 2008 09:41:23 -0700 (PDT) Message-ID: <33615c8e0808160941p47d56e8anc0d666b34a8fbf41@mail.gmail.com> Date: Sat, 16 Aug 2008 12:41:23 -0400 From: "Rohit Tripathi" To: freebsd-current@freebsd.org In-Reply-To: <33615c8e0808160935r377566a2k3df1d256526f56f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <33615c8e0808160935r377566a2k3df1d256526f56f@mail.gmail.com> Subject: Re: uninitialized "width" in st_parse.c ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 16:41:24 -0000 Jumped the gun here, width need not be initialized: static char * number(char *cp, int *n) { char *next; *n = (int)strtol(cp, &next, 10); if (next == cp) expected("number", "", cp); return (next); } On Sat, Aug 16, 2008 at 12:35 PM, Rohit Tripathi wrote: > I found a build error under cddl/contrib/opensolaris/tools/ctf/cvt and > saw that width (line 779) was declared but not initialized. Is this > intentional? After setting it to 64 the build proceeded fine. > > -Rohit > From owner-freebsd-current@FreeBSD.ORG Sat Aug 16 23:26:59 2008 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA5C4106564A for ; Sat, 16 Aug 2008 23:26:59 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE108FC16 for ; Sat, 16 Aug 2008 23:26:59 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.2/8.14.2) with ESMTP id m7GMrVhl094064; Sat, 16 Aug 2008 18:53:31 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.2/8.14.2/Submit) id m7GMrVrL094063; Sat, 16 Aug 2008 18:53:31 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Sat, 16 Aug 2008 18:53:31 -0400 From: David Schultz To: Barney Cordoba Message-ID: <20080816225331.GA93918@zim.MIT.EDU> Mail-Followup-To: Barney Cordoba , current@FreeBSD.ORG References: <976425.95447.qm@web63901.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <976425.95447.qm@web63901.mail.re1.yahoo.com> Cc: current@FreeBSD.ORG Subject: Re: Max Kernel Memory? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2008 23:26:59 -0000 On Fri, Aug 15, 2008, Barney Cordoba wrote: > Setting vm.kmem_size to what seem to be usable values causes all kinds of memory allocations on boot. For example setting it to 1GB with 2GB installed results in a failure. > > What is the maximum amount of memory that can be allocated to the kernel, and why can't 1/2 of the system's memory be allocated safely? We have a module with a potentially very large dynamic lookup table, with little going on in userland, so we want to allocate as much as possible to the kernel. As I recall, you also need to tweak KVA_PAGES on i386. The kernel map can't be bigger than the total amount of address space alotted to the kernel.