From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 10 05:25:57 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E403316A41C for ; Sun, 10 Jul 2005 05:25:57 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 865BE43D45 for ; Sun, 10 Jul 2005 05:25:57 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id i22so665057wra for ; Sat, 09 Jul 2005 22:25:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qpsjWSBu+M7x2qcDM4CrcclZjRjY/m+6m9il/Lxn9TKQ+HCfjutlPoQDA5ii8UbL1PZMnQO6qfgecLJYz1qXpeT5/opBW8AvYz6gXuPaafJB6i36MCik1SoL7sld9lWSTc4N/B8Vbl75WocMhakr5lD2sw5QHFcM9teeZ9vP01Q= Received: by 10.54.33.65 with SMTP id g65mr3034831wrg; Sat, 09 Jul 2005 22:25:57 -0700 (PDT) Received: by 10.54.99.11 with HTTP; Sat, 9 Jul 2005 22:25:56 -0700 (PDT) Message-ID: <319cceca0507092225317cd4e@mail.gmail.com> Date: Sun, 10 Jul 2005 05:25:57 +0000 From: Maslan To: FreeBSD Hackers Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Cross-Compiling FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maslan List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 05:25:58 -0000 hi guys what about cross-compiling freebsd-5.4 from a different BSD as openbsd or even linux. how can i accomplish this ??? --=20 I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 10 09:16:03 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 744D116A41C for ; Sun, 10 Jul 2005 09:16:03 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20F9343D45 for ; Sun, 10 Jul 2005 09:16:02 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-1.free.fr (Postfix) with ESMTP id DFD1B3185A0; Sun, 10 Jul 2005 11:16:01 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 3C633405B; Sun, 10 Jul 2005 11:16:02 +0200 (CEST) Date: Sun, 10 Jul 2005 11:16:02 +0200 From: Jeremie Le Hen To: Maslan Message-ID: <20050710091602.GU39292@obiwan.tataz.chchile.org> References: <319cceca0507092225317cd4e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <319cceca0507092225317cd4e@mail.gmail.com> User-Agent: Mutt/1.5.9i Cc: FreeBSD Hackers Subject: Re: Cross-Compiling FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 09:16:03 -0000 Hello Maslan, > hi guys > what about cross-compiling freebsd-5.4 from a different BSD as openbsd > or even linux. > how can i accomplish this ??? AFAIK, only NetBSD allows to do this with their source. I've never heard of such a thing with FreeBSD sources. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 10 13:51:18 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEC8B16A41C for ; Sun, 10 Jul 2005 13:51:18 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from sana.init-main.com (104.194.138.210.bn.2iij.net [210.138.194.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B5E43D45 for ; Sun, 10 Jul 2005 13:51:17 +0000 (GMT) (envelope-from takawata@init-main.com) Received: from init-main.com (localhost [127.0.0.1]) by sana.init-main.com (8.13.3/8.13.1) with ESMTP id j6ADoiQO052984 for ; Sun, 10 Jul 2005 22:50:44 +0900 (JST) (envelope-from takawata@init-main.com) Message-Id: <200507101350.j6ADoiQO052984@sana.init-main.com> To: freebsd-hackers@freebsd.org From: takawata@jp.freebsd.org Date: Sun, 10 Jul 2005 22:50:44 +0900 Sender: takawata@init-main.com Subject: SL811 based CF type USB host controller. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 13:51:18 -0000 Hi, I wrote a incomplete driver for CF USB host controller REX-CFU1[1], based on the NetBSD driver for X68k amature-made USB host controller[2]. This works fleaky: This does not support either bulk nor isoc transfer. It fails to recognize many devices. Sometimes it succeeded to recognize USB mouse, but it does not work properly. If you interested Please fetch http://www.init-main.com/slhci.tar.gz [1]http://www.ratocsystems.com/products/subpage/cfu1.html [2]http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/ic/sl811hs.c From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 10 21:11:46 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9726116A41C for ; Sun, 10 Jul 2005 21:11:46 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 449C343D49 for ; Sun, 10 Jul 2005 21:11:46 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from lon92-4-82-226-188-149.fbx.proxad.net (lon92-4-82-226-188-149.fbx.proxad.net [82.226.188.149]) by postfix4-2.free.fr (Postfix) with ESMTP id 47DAB3220BF for ; Sun, 10 Jul 2005 23:11:45 +0200 (CEST) From: Olivier Certner To: freebsd-hackers@freebsd.org Date: Sun, 10 Jul 2005 23:13:12 +0200 User-Agent: KMail/1.8.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507102313.12719.olivier.certner@free.fr> Subject: Bug in portupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 21:11:46 -0000 Hi, There is a bug with portupgrade when it is used to upgrade already compiled and installed ports for which some dependencies have been deleted in the package database. This causes a crash in the function 'deorigin' in pkgdb.rb. Since I don't know the internals of portupgrade, I don't know if it's normal to call 'deorigin' with its argument set to nil. If it is, then the patch below might be useful (beware, I don't know any ruby, I've just tried something and it works), if it is not, I only can provide the stack (see below) in order for maintainers to seek the faulty callers. Regards, Olivier --------------- /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1869 --------------- *** /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb~ Mon Jul 4 00:05:41 2005 --- /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb Mon Jul 4 00:09:34 2005 *************** *** 313,323 **** def deorigin(origin) open_db ! if str = @db['?' + origin] ! str.split else nil end rescue => e raise DBError, e.message end --- 313,328 ---- def deorigin(origin) open_db ! if origin != nil ! if str = @db['?' + origin] ! str.split ! else ! nil ! end else nil end + rescue => e raise DBError, e.message end From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 10 23:31:11 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1282616A41F for ; Sun, 10 Jul 2005 23:31:11 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8679C43D48 for ; Sun, 10 Jul 2005 23:31:07 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id 11BEC8D77B for ; Mon, 11 Jul 2005 01:31:06 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26135-08-2 for ; Mon, 11 Jul 2005 01:31:04 +0200 (CEST) Received: from [10.150.180.176] (r180176.olydorf.swh.mhn.de [10.150.180.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id 6BC038D759 for ; Mon, 11 Jul 2005 01:31:04 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <35bb3969927db27e1c4e34da6131622e@fs.ei.tum.de> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-7-997141954" To: FreeBSD Hackers From: Simon 'corecode' Schubert Date: Mon, 11 Jul 2005 01:31:02 +0200 X-Pgp-Agent: GPGMail 1.0.1 (v33, 10.3) X-Mailer: Apple Mail (2.622) X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: Subject: cvs crosscheck up again X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2005 23:31:11 -0000 --Apple-Mail-7-997141954 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed hey hackers, just wanted to drop a quick note that the cvscrosscheck which existed at the beginning of the year is now up again. it still needs some tweaks, but I consider it almost there where I want it to be. with the help of Andreas Hauser I implemented a small search machine for commit messages. Now it's kinda useful. I just tried it with safari, firefox, links and lynx. Tell me if there are visual artefacts with your browser. feedback appreciated! cheers simon ps: i guess openbsd and netbsd might be interessted as well, but i don't know the appropriate lists there, could somebody enlighten me? -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ --Apple-Mail-7-997141954 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFC0a+6r5S+dk6z85oRAo/lAJwOiXBKPsAPv5ODuIVrMCvAS1Po4wCg3/HY tom2XkdY9nVSj4deiuh4K4w= =HeBT -----END PGP SIGNATURE----- --Apple-Mail-7-997141954-- From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 11 01:40:41 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E32316A41C for ; Mon, 11 Jul 2005 01:40:41 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC16343D45 for ; Mon, 11 Jul 2005 01:40:40 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.13.1/8.13.1) with ESMTP id j6B1eZwK044033; Sun, 10 Jul 2005 20:40:36 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Sun, 10 Jul 2005 20:40:34 -0500 (CDT) From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: Julian Elischer In-Reply-To: <42CC388E.3000906@elischer.org> Message-ID: <20050710201812.M19677@thor.farley.org> References: <20050705205731.7147.qmail@web53305.mail.yahoo.com> <42CC388E.3000906@elischer.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-992014200-1121046034=:19677" Cc: freebsd-hackers@freebsd.org, Joe Schmoe Subject: Re: Using a logitech mx700 with scrollwheel _and_ thumb buttons X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 01:40:41 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-992014200-1121046034=:19677 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 6 Jul 2005, Julian Elischer wrote: > Joe Schmoe wrote: >> Nope. I reproduced these same settings _exactly_, and >> they produce the same results. >>=20 >> With your settings above, the scroll wheel works fine, >> and the two thumb buttons each cause the web page to >> scroll very slightly downward. This is the same thing >> they did with all the other different configurations I >> tried. >>=20 >> Why is using mouse thumb buttons under FreeBSD _rocket >> science_ ? Why is this a _hard problem_ ? >>=20 > because no-one who has the interest in fixing it has the time > to do so and visa versa. I do not know how to fix it using the psm driver, but here is what I did with the Logitech MX 1000 I bought over the weekend. I tried using the psm driver, but it claimed a maximum of seven buttons while this mouse has twelve according to one source[1]. I then tried the ums driver, yet it also claimed only seven buttons. Fortunately, I found a NetBSD PR (kern/30248 [2]) concerning the button limit in the ums driver. Since sc_buttons is an int, I just bumped up MAX_BUTTONS to 31, and the driver found 16 buttons. xorg.conf mouse section: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/ums0" Option "Buttons" "12" Option "Emulate3Buttons" "false" Option "ZAxisMapping" "9 10" EndSection Although I disabled the moused loading in /etc/usbd.conf to allow X to capture the device, moused may still work. I doubt it, but is there a way to disable a particular check via rc.conf? With the following xmodmap command, I have a fair amount of the mouse working: xmodmap -e "pointer =3D 1 2 3 9 10 6 7 8 4 5 11 12" Problems: 1. psm has a limit to the number of buttons detected. I noticed this when I used moused in debug mode to see what events were thrown from the mouse. 2. The wheel pushed to the left and right does not work. It does not show up in xev. I may need to play with xorg.conf some more. 3. I need to find a way to disable Logitech's "Cruise Control" since I want to use the scroll up button above the wheel as the paste button. Cruise Control send the button number I want (7) plus a continuous stream of the button number (4) related to the wheel. I hate pasting with a wheel; I am almost always screwing something up during the paste due to slipping on the wheel. :) 4. I have no idea what the (magic number) button positions in xmodmap correspond with. I.e., 2 means paste, but what does 4 and on mean? Would anyone like to up the MAX_BUTTONS define in ums.c to a higher number, please? Se=E1n 1. http://floam.sh.nu/index.xhtml?page=3Dguides§ion=3Dmx1000 2. http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=3D30248 --=20 sean-freebsd@farley.org --0-992014200-1121046034=:19677-- From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 11 19:53:23 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B9EE16A41C; Mon, 11 Jul 2005 19:53:23 +0000 (GMT) (envelope-from mario.lobo@ipad.com.br) Received: from recife.ipadnet.com.br (recife.ipadnet.com.br [200.249.204.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E3DA43D4C; Mon, 11 Jul 2005 19:53:19 +0000 (GMT) (envelope-from mario.lobo@ipad.com.br) Received: from marioLobo (spyketembratel.ipadnet.com.br [200.249.204.142]) (authenticated bits=0) by recife.ipadnet.com.br (8.12.8/8.12.8) with ESMTP id j6BK6C0l024633; Mon, 11 Jul 2005 17:06:34 -0300 From: "Mario Lobo" Organization: IPAD To: freebsd-hackers@freebsd.org Date: Mon, 11 Jul 2005 16:53:25 -0300 MIME-Version: 1.0 Message-ID: <42D2A405.10443.923658@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Antivirus: avast! (VPS 0528-1, 11/07/2005), Outbound message X-Antivirus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mario.lobo@ipad.com.br List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 19:53:23 -0000 Forgive me if this is off-topic. How could I force a packet to go out through an interface, despite the default route? Suppose I have two interfaces connected to the internet: 1) rl0 (real.ip.no.1) ---> ISP x 2) rl1 (real.ip.no.2) ---> ISP y ISP y is just a backup link. ISP x is the working link. Don=B4t want to load-balance them. Use 2) ONLY if 1) is out. Suppose 1) is down. I switch to 2). But I have to keep testing 1) to see when it comes back up. How could I force a packet (ping maybe?) to www.whatever.com through 1), despite the default route being 2) ? I am aready binding the ping packet to the IP I want but that=B4s not enou= gh. any suggestions? thanks, -- //| //|| // | // || -//--//---|| ARIO LOBO // // || --------------------------------- mario.lobo@ipad.com.br http://www.ipad.com.br From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 11 20:22:55 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E937816A41C; Mon, 11 Jul 2005 20:22:55 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CF2E43D45; Mon, 11 Jul 2005 20:22:55 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j6BKK60x086024; Mon, 11 Jul 2005 14:20:06 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 11 Jul 2005 14:20:06 -0600 (MDT) Message-Id: <20050711.142006.39238510.imp@bsdimp.com> To: mario.lobo@ipad.com.br From: Warner Losh In-Reply-To: <42D2A405.10443.923658@localhost> References: <42D2A405.10443.923658@localhost> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 20:22:56 -0000 > Suppose 1) is down. I switch to 2). But I have to keep testing 1) > to see when it comes back up. How could I force a packet (ping maybe?= ) = > to www.whatever.com through 1), despite the default route being 2) ? > = > I am aready binding the ping packet to the IP I want but that=B4s not= enough. > = > any suggestions? Host route for the 'www.whatever.com'? Warner From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 11 22:56:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A6EB16A41F; Mon, 11 Jul 2005 22:56:52 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from keylime.silverwraith.com (keylime.silverwraith.com [69.55.228.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E618943D48; Mon, 11 Jul 2005 22:56:51 +0000 (GMT) (envelope-from lists-freebsd@silverwraith.com) Received: from avleen by keylime.silverwraith.com with local (Exim 4.41 (FreeBSD)) id 1Ds7Ck-00068i-3V; Mon, 11 Jul 2005 15:56:50 -0700 Date: Mon, 11 Jul 2005 15:56:49 -0700 From: Avleen Vig To: Mario Lobo Message-ID: <20050711225649.GY11612@silverwraith.com> References: <42D2A405.10443.923658@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D2A405.10443.923658@localhost> User-Agent: Mutt/1.5.6i Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 22:56:52 -0000 On Mon, Jul 11, 2005 at 04:53:25PM -0300, Mario Lobo wrote: > Forgive me if this is off-topic. > How could I force a packet to go out through an interface, > despite the default route? You have a couple of options. Look at CARP in 5.4, that might do what you want best. man 4 carp Also google for: ipfw policy routing that is slightly different, but if you are going tests to see when a link goes up and down, and can change your firewall rules based on that, that would work I think. From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 02:08:41 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B96CD16A41C for ; Tue, 12 Jul 2005 02:08:41 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from srv-03.bs2.com.br (srv-03.bs2.com.br [200.203.183.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53CEF43D48 for ; Tue, 12 Jul 2005 02:08:40 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from localhost (localhost.bs2.com.br [127.0.0.1]) by srv-03.bs2.com.br (Postfix) with ESMTP id 956FB4AE26 for ; Mon, 11 Jul 2005 23:08:55 -0300 (BRT) Received: from webmail.bs2.com.br (srv-01-j01.bs2.com.br [200.203.183.38]) by srv-03.bs2.com.br (Postfix) with ESMTP id 482DB4AE25 for ; Mon, 11 Jul 2005 23:08:55 -0300 (BRT) Received: from 201.11.22.205 (SquirrelMail authenticated user gpt@tirloni.org) by webmail.bs2.com.br with HTTP; Mon, 11 Jul 2005 23:08:35 -0300 (BRT) Message-ID: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> Date: Mon, 11 Jul 2005 23:08:35 -0300 (BRT) From: "Giovanni P. Tirloni" To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 02:08:41 -0000 Hi, I've to start working on a new server right now that should use ataraid for RAID mirroring but the customer shipped a box with only one disk and the second one won't arrive soon for many reasons. I know ataraid can't build a RAID mirror without two disks and I've already checked both atacontrol.c and ata-raid.c. It's clear it needs two disks and I'm no guru to do anything about it right now since the disk would arrive before I had done any coding. But I'd like to ask if it'd theoretically be possible to create the RAID1 array (ar0) with only one disk and add the second one later? It'd work like a broken array for some time. It's just an idea :) Thanks, -- Giovanni P. Tirloni From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 02:39:32 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4ABC16A435 for ; Tue, 12 Jul 2005 02:39:32 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 946BC43D46 for ; Tue, 12 Jul 2005 02:39:28 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j6C2dFer038352; Tue, 12 Jul 2005 12:09:16 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-hackers@freebsd.org Date: Tue, 12 Jul 2005 12:09:14 +0930 User-Agent: KMail/1.8 References: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> In-Reply-To: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1181267.b3XaV6DD0K"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507121209.15018.doconnor@gsoft.com.au> X-Spam-Score: -2.82 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: "Giovanni P. Tirloni" Subject: Re: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 02:39:32 -0000 --nextPart1181267.b3XaV6DD0K Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 12 July 2005 11:38, Giovanni P. Tirloni wrote: > But I'd like to ask if it'd theoretically be possible to create the RAID1 > array (ar0) with only one disk and add the second one later? It'd work > like a broken array for some time. It's just an idea :) I haven't been able to do this :( I wish it were possible, but it doesn't not appear to be. Stupidly (at least with my RAID card) you can make a stripe array with 1 di= sk,=20 but not a mirror with 1.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1181267.b3XaV6DD0K Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD4DBQBC0y1S5ZPcIHs/zowRAnRyAJY/K6/vdbWusnuR16d+ABfN2jvNAJ9XSN7f xHZmuMpU+zrgStPOG07pDA== =ImRK -----END PGP SIGNATURE----- --nextPart1181267.b3XaV6DD0K-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 03:10:31 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F0C316A41C for ; Tue, 12 Jul 2005 03:10:31 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B18D443D46 for ; Tue, 12 Jul 2005 03:10:28 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: by zproxy.gmail.com with SMTP id s18so462941nze for ; Mon, 11 Jul 2005 20:10:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Y0oS3O5AFI370Cl1tJJHs1OOSVXevN334DxnPzfa8+dIGkvZ0RuhNzxnhAW2jXUQNCDkIMATi0zJgnVNL5Wx4Jac2dFJRghoP5inu2JKoKNAikpn/C5iG6BiOtH0wsQ2/XmFBTksil5aVnt8qPh5ydtk2SHQtJ9dMsvIraD03NY= Received: by 10.36.222.77 with SMTP id u77mr1504886nzg; Mon, 11 Jul 2005 20:10:27 -0700 (PDT) Received: by 10.36.66.2 with HTTP; Mon, 11 Jul 2005 20:10:27 -0700 (PDT) Message-ID: <18f601940507112010726ecd13@mail.gmail.com> Date: Mon, 11 Jul 2005 20:10:27 -0700 From: Aaron Glenn To: "Giovanni P. Tirloni" In-Reply-To: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> Cc: freebsd-hackers@freebsd.org Subject: Re: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Glenn List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 03:10:31 -0000 On 7/11/05, Giovanni P. Tirloni wrote: > But I'd like to ask if it'd theoretically be possible to create the RAID= 1 > array (ar0) with only one disk and add the second one later? It'd work > like a broken array for some time. It's just an idea :) What is the advantage of building a faulty array? aaron.glenn From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 03:30:41 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33CDA16A41C for ; Tue, 12 Jul 2005 03:30:41 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from srv-03.bs2.com.br (srv-03.bs2.com.br [200.203.183.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBB7543D49 for ; Tue, 12 Jul 2005 03:30:40 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from localhost (localhost.bs2.com.br [127.0.0.1]) by srv-03.bs2.com.br (Postfix) with ESMTP id 804F34AD85; Tue, 12 Jul 2005 00:30:55 -0300 (BRT) Received: from webmail.bs2.com.br (srv-01-j01.bs2.com.br [200.203.183.38]) by srv-03.bs2.com.br (Postfix) with ESMTP id 3202A4AD47; Tue, 12 Jul 2005 00:30:55 -0300 (BRT) Received: from 201.11.22.205 (SquirrelMail authenticated user gpt@tirloni.org) by webmail.bs2.com.br with HTTP; Tue, 12 Jul 2005 00:30:35 -0300 (BRT) Message-ID: <1824.201.11.22.205.1121139035.squirrel@webmail.bs2.com.br> In-Reply-To: <18f601940507112010726ecd13@mail.gmail.com> References: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> <18f601940507112010726ecd13@mail.gmail.com> Date: Tue, 12 Jul 2005 00:30:35 -0300 (BRT) From: "Giovanni P. Tirloni" To: "Aaron Glenn" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org Subject: Re: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 03:30:41 -0000 Aaron Glenn disse: > On 7/11/05, Giovanni P. Tirloni wrote: >> But I'd like to ask if it'd theoretically be possible to create the >> RAID1 >> array (ar0) with only one disk and add the second one later? It'd work >> like a broken array for some time. It's just an idea :) > > What is the advantage of building a faulty array? I'd be able to work on this server right now and add the second disk when it arrives without reinstalling everything. I'm not complaining or anything.. I know it's not a commom situation and I'm already looking for something that doesn't involve such hack (suck as waiting the second disk). It's late and I can't think about anything that would make my system installed on ad4 to become ar0 (ad4+ad6) without much work and another spare disk as a temporary storage. -- Giovanni P. Tirloni From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 03:39:28 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCE7A16A41C for ; Tue, 12 Jul 2005 03:39:28 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6340A43D46 for ; Tue, 12 Jul 2005 03:39:28 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id 50so967541wri for ; Mon, 11 Jul 2005 20:39:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EeOg7g7at7qKy4BdviKYTP560eHp7U4Kjo1Pf7/nX5t4KD5Hr81QevUYsmKgcdRj5O8RmvPEULb1DDHRgIxBpXzPb59UizV99jUbJ0y137McAwjhXotjc6qbnlXqc6NLWXKYPjG3T29Zmkuh16iWYyq3k3SZUlislTjT5zysFeQ= Received: by 10.54.36.15 with SMTP id j15mr2669394wrj; Mon, 11 Jul 2005 20:38:29 -0700 (PDT) Received: by 10.54.99.11 with HTTP; Mon, 11 Jul 2005 20:38:29 -0700 (PDT) Message-ID: <319cceca05071120383e8d0a30@mail.gmail.com> Date: Tue, 12 Jul 2005 06:38:29 +0300 From: Maslan To: Jeremie Le Hen In-Reply-To: <20050710091602.GU39292@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <319cceca0507092225317cd4e@mail.gmail.com> <20050710091602.GU39292@obiwan.tataz.chchile.org> Cc: FreeBSD Hackers Subject: Re: Cross-Compiling FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maslan List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 03:39:28 -0000 > Hello Maslan, >=20 > > hi guys > > what about cross-compiling freebsd-5.4 from a different BSD as openbsd > > or even linux. > > how can i accomplish this ??? >=20 > AFAIK, only NetBSD allows to do this with their source. I've never > heard of such a thing with FreeBSD sources. >=20 > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > >=20 i just want to compile the sys not bin and other. But if i wanted to try, what things i should put in mind : config, gcc, binutils ? --=20 I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 04:23:12 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C164E16A41C for ; Tue, 12 Jul 2005 04:23:12 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5740A43D45 for ; Tue, 12 Jul 2005 04:23:12 +0000 (GMT) (envelope-from aaron.glenn@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so464181nzf for ; Mon, 11 Jul 2005 21:23:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B+3zQ5VrxcSALE7T7+Rb+FZiLAW9aJvCVj7iJUJ/lNlWcrNDoHi4bK31y4AyVNU6xkrdhTqSRlO2Q+/Ok1H4kz/sLdCyjOQ9VZhDZIeNqadxQBQJZs8BH1r8Jg8qjwpFjZ3Jb5aM/1ATQiJj3RXsy70Y2JUQ3moAwuJMDBS6JKY= Received: by 10.36.222.28 with SMTP id u28mr1539837nzg; Mon, 11 Jul 2005 21:23:11 -0700 (PDT) Received: by 10.36.66.2 with HTTP; Mon, 11 Jul 2005 21:23:11 -0700 (PDT) Message-ID: <18f6019405071121231ab8e376@mail.gmail.com> Date: Mon, 11 Jul 2005 21:23:11 -0700 From: Aaron Glenn To: "Giovanni P. Tirloni" In-Reply-To: <1824.201.11.22.205.1121139035.squirrel@webmail.bs2.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> <18f601940507112010726ecd13@mail.gmail.com> <1824.201.11.22.205.1121139035.squirrel@webmail.bs2.com.br> Cc: freebsd-hackers@freebsd.org Subject: Re: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Aaron Glenn List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 04:23:12 -0000 On 7/11/05, Giovanni P. Tirloni wrote: > I'd be able to work on this server right now and add the second disk whe= n > it arrives without reinstalling everything. Mirroring via software (gmirror) is not an option? aaron.glenn From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 05:36:09 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F44116A41C for ; Tue, 12 Jul 2005 05:36:09 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEA4643D45 for ; Tue, 12 Jul 2005 05:36:08 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id ABB0287C8; Tue, 12 Jul 2005 08:36:07 +0300 (EEST) Received: (nullmailer pid 48123 invoked by uid 1004); Tue, 12 Jul 2005 05:36:07 -0000 Date: Tue, 12 Jul 2005 08:36:07 +0300 From: Vasil Dimov To: "Giovanni P\. Tirloni" Message-ID: <20050712053607.GA20712@sinanica.bg.datamax> References: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: freebsd-hackers@freebsd.org Subject: Re: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 05:36:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > > But I'd like to ask if it'd theoretically be possible to create the RAID1 > array (ar0) with only one disk and add the second one later? It'd work > like a broken array for some time. It's just an idea :) > Find some unused disk, plug it into the machine, build the array, see that FreeBSD is happy with ar0, then unplug that disk and you are ready. It's not what you asked for, but it is one possible solution for your issue. -----BEGIN PGP SIGNATURE----- iD8DBQFC01bHFw6SP/bBpCARAvI1AKDa17nRZ/+80N1KLjg0cwKTQ1E+lwCg3mwW D/buKaM0VKlXLEzOI9ZTql8= =V3+q -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 05:59:49 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C3A016A41C for ; Tue, 12 Jul 2005 05:59:49 +0000 (GMT) (envelope-from mats.lindberg@se.transport.bombardier.com) Received: from smtp2.transport.bombardier.com (smtp2.transport.bombardier.com [20.133.32.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED3A643D45 for ; Tue, 12 Jul 2005 05:59:48 +0000 (GMT) (envelope-from mats.lindberg@se.transport.bombardier.com) Received: from EMEAML02.UK.BOMBARDIER.TRANSPORT.COM (emea-ml02.atle.bombardier.com [10.157.248.22]) by smtp2.transport.bombardier.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j6C5xi6D018203 for ; Tue, 12 Jul 2005 07:59:45 +0200 (CEST) Sensitivity: To: hackers@freebsd.org X-Mailer: Lotus Notes Release 6.0 September 26, 2002 Message-ID: From: mats.lindberg@se.transport.bombardier.com Date: Tue, 12 Jul 2005 07:07:24 +0200 X-MIMETrack: Serialize by Router on EMEA-ML02/Server/Transport/Bombardier(Release 6.0.3|September 18, 2003) at 07/12/2005 07:01:58 MIME-Version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: base64 Cc: Subject: corefiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 05:59:49 -0000 DQoNCg0KDQpIaSBBbGwNCg0KV2hlbiBJIHRyeSB0byBjYXRjaCBTSUdURVJNIGFuZCBnZW5lcmF0 ZSBhIGNvcmUgZmlsZSB0aGUgY2FsbCBzdGFjayBpcyBjb3JydXB0ZWQgb24gRnJlZUJTRC4NCg0K WWVzIEkga25vdyB0aGF0IEkgZG8gbm90IGhhdmUgdG8gY2F0Y2ggdGhlIHNpZ25hbCwgYSBjb3Jl IGlzIGdlbmVyYXRlZCBieSBkZWZhdWx0LiBCdXQgdGhlIHJlYXNvbiBpcyB0aGF0IEkgbmVlZCB0 byBkbyBtb3JlIGF0IFNJR1RFUk0uDQoNCkV4YW1wbGUgMQ0KDQpJbiBnZGIgYmFja3RyYWNlLCB3 aHkgaXMgbW9uaXRvclNpZ25hbEhhbmRsZXJCVVMgbGlzdGVkPyBpdCBpcyBuZXZlciBjYWxsZWQh DQoNCnRlc3QxLmMNCi0tLS0tLS0tLSBjdXQgaGVyZSAtLS0tLS0tDQoNCiNpbmNsdWRlIDxzdGRp by5oPg0KI2luY2x1ZGUgPHNpZ25hbC5oPg0KDQpzdGF0aWMgdm9pZA0KbW9uaXRvclNpZ25hbEhh bmRsZXJCVVMoaW50IHNpZ25vKQ0Kew0KICAgICAgICBwcmludGYoIm1vbml0b3JTaWduYWxIYW5k bGVyQlVTXG4iKTsNCiAgICAgICAgZmZsdXNoKHN0ZG91dCk7DQp9DQpzdGF0aWMgdm9pZA0KbW9u aXRvclNpZ25hbEhhbmRsZXJURVJNKGludCBzaWdubykNCnsNCiAgICAgICAgcHJpbnRmKCJtb25p dG9yU2lnbmFsSGFuZGxlclRFUk1cbiIpOw0KICAgICAgICBmZmx1c2goc3Rkb3V0KTsNCiAgICAg ICAgYWJvcnQoKTsNCn0NCg0KaW50DQptYWluKGludCBhcmdjLCBjaGFyICoqYXJndikNCnsNCg0K ICAgICAgICBzaWduYWwoU0lHQlVTLCBtb25pdG9yU2lnbmFsSGFuZGxlckJVUyk7DQogICAgICAg IHNpZ25hbChTSUdURVJNLCBtb25pdG9yU2lnbmFsSGFuZGxlclRFUk0pOw0KDQogICAgICAgIGtp bGwoZ2V0cGlkKCksIFNJR1RFUk0pOw0KfQ0KDQotLS0tLS0tLS0gY3V0IGhlcmUgLS0tLS0tLQ0K DQoNCmlzIGNvbXBpbGVkIG9uIEZyZWVCU0QNCj5jYyAtZyB0ZXN0MS5jIC1vIHRlc3QxDQoNCj4u L3Rlc3QxDQptb25pdG9yU2lnbmFsSGFuZGxlclRFUk0NCkFib3J0IChjb3JlIGR1bXBlZCkNCg0K PmdkYiB0ZXN0MSB0ZXN0MS5jb3JlDQpHTlUgZ2RiIDYuMS4xIFtGcmVlQlNEXQ0KQ29weXJpZ2h0 IDIwMDQgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9uLCBJbmMuDQpHREIgaXMgZnJlZSBzb2Z0d2Fy ZSwgY292ZXJlZCBieSB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UsIGFuZCB5b3UgYXJl DQp3ZWxjb21lIHRvIGNoYW5nZSBpdCBhbmQvb3IgZGlzdHJpYnV0ZSBjb3BpZXMgb2YgaXQgdW5k ZXIgY2VydGFpbiBjb25kaXRpb25zLg0KVHlwZSAic2hvdyBjb3B5aW5nIiB0byBzZWUgdGhlIGNv bmRpdGlvbnMuDQpUaGVyZSBpcyBhYnNvbHV0ZWx5IG5vIHdhcnJhbnR5IGZvciBHREIuICBUeXBl ICJzaG93IHdhcnJhbnR5IiBmb3IgZGV0YWlscy4NClRoaXMgR0RCIHdhcyBjb25maWd1cmVkIGFz ICJpMzg2LW1hcmNlbC1mcmVlYnNkIi4uLg0KQ29yZSB3YXMgZ2VuZXJhdGVkIGJ5IGB0ZXN0MScu DQpQcm9ncmFtIHRlcm1pbmF0ZWQgd2l0aCBzaWduYWwgNiwgQWJvcnRlZC4NClJlYWRpbmcgc3lt Ym9scyBmcm9tIC9saWIvbGliYy5zby41Li4uZG9uZS4NCkxvYWRlZCBzeW1ib2xzIGZvciAvbGli L2xpYmMuc28uNQ0KUmVhZGluZyBzeW1ib2xzIGZyb20gL2xpYmV4ZWMvbGQtZWxmLnNvLjEuLi5k b25lLg0KTG9hZGVkIHN5bWJvbHMgZm9yIC9saWJleGVjL2xkLWVsZi5zby4xDQojMCAgMHgyODBj MjM3YiBpbiBraWxsICgpIGZyb20gL2xpYi9saWJjLnNvLjUNCihnZGIpIGJ0DQojMCAgMHgyODBj MjM3YiBpbiBraWxsICgpIGZyb20gL2xpYi9saWJjLnNvLjUNCiMxICAweDI4MGI3NDIyIGluIHJh aXNlICgpIGZyb20gL2xpYi9saWJjLnNvLjUNCiMyICAweDI4MTI5YzFiIGluIGFib3J0ICgpIGZy b20gL2xpYi9saWJjLnNvLjUNCiMzICAweDA4MDQ4NmE4IGluIG1vbml0b3JTaWduYWxIYW5kbGVy VEVSTSAoc2lnbm89MTUpIGF0IHRlc3QxLmM6MTUNCiM0ICAweGJmYmZmZjk0IGluID8/ICgpDQoj NSAgMHgwMDAwMDAwZiBpbiA/PyAoKQ0KIzYgIDB4MDAwMDAwMDAgaW4gPz8gKCkNCiM3ICAweGJm YmZlOWQwIGluID8/ICgpDQojOCAgMHgwMDAwMDAwMiBpbiA/PyAoKQ0KIzkgIDB4MDgwNDg2N2Mg aW4gbW9uaXRvclNpZ25hbEhhbmRsZXJCVVMgKCkgYXQgdGVzdDEuYzo5DQojMTAgMHgwODA0ODVh NSBpbiBfc3RhcnQgKCkNCiMxMSAweDAwMDAwMDAxIGluID8/ICgpDQooZ2RiKQ0KDQpFeGFtcGxl IDINCg0KSW4gZ2RiIGJhY2t0cmFjZSwgd2hhdCBpcyBmcmFtZV9kdW1teSA/DQoNCnRlc3QyLmMN Ci0tLS0tLS0tLSBjdXQgaGVyZSAtLS0tLS0tDQoNCiNpbmNsdWRlIDxzaWduYWwuaD4NCg0Kc3Rh dGljIHZvaWQNClNpZ25hbEhhbmRsZXIoaW50IHNpZ25vKQ0Kew0KICAgICAgICBhYm9ydCgpOw0K fQ0KDQppbnQNCm1haW4oaW50IGFyZ2MsIGNoYXIgKiphcmd2KQ0Kew0KDQogICAgICAgIHNpZ25h bChTSUdURVJNLCBTaWduYWxIYW5kbGVyKTsNCg0KICAgICAgICBraWxsKGdldHBpZCgpLCBTSUdU RVJNKTsNCn0NCg0KLS0tLS0tLS0tIGN1dCBoZXJlIC0tLS0tLS0NCg0KDQppcyBjb21waWxlZCBv biBGcmVlQlNEDQo+Y2MgLWcgdGVzdDIuYyAtbyB0ZXN0Mg0KDQo+Li90ZXN0Mg0KDQpBYm9ydCAo Y29yZSBkdW1wZWQpDQoNCj5nZGIgdGVzdDIgdGVzdDIuY29yZQ0KR05VIGdkYiA2LjEuMSBbRnJl ZUJTRF0NCkNvcHlyaWdodCAyMDA0IEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgSW5jLg0KR0RC IGlzIGZyZWUgc29mdHdhcmUsIGNvdmVyZWQgYnkgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNl bnNlLCBhbmQgeW91IGFyZQ0Kd2VsY29tZSB0byBjaGFuZ2UgaXQgYW5kL29yIGRpc3RyaWJ1dGUg Y29waWVzIG9mIGl0IHVuZGVyIGNlcnRhaW4gY29uZGl0aW9ucy4NClR5cGUgInNob3cgY29weWlu ZyIgdG8gc2VlIHRoZSBjb25kaXRpb25zLg0KVGhlcmUgaXMgYWJzb2x1dGVseSBubyB3YXJyYW50 eSBmb3IgR0RCLiAgVHlwZSAic2hvdyB3YXJyYW50eSIgZm9yIGRldGFpbHMuDQpUaGlzIEdEQiB3 YXMgY29uZmlndXJlZCBhcyAiaTM4Ni1tYXJjZWwtZnJlZWJzZCIuLi4NCkNvcmUgd2FzIGdlbmVy YXRlZCBieSBgdGVzdDInLg0KUHJvZ3JhbSB0ZXJtaW5hdGVkIHdpdGggc2lnbmFsIDYsIEFib3J0 ZWQuDQpSZWFkaW5nIHN5bWJvbHMgZnJvbSAvbGliL2xpYmMuc28uNS4uLmRvbmUuDQpMb2FkZWQg c3ltYm9scyBmb3IgL2xpYi9saWJjLnNvLjUNClJlYWRpbmcgc3ltYm9scyBmcm9tIC9saWJleGVj L2xkLWVsZi5zby4xLi4uZG9uZS4NCkxvYWRlZCBzeW1ib2xzIGZvciAvbGliZXhlYy9sZC1lbGYu c28uMQ0KIzAgIDB4MjgwYzIzN2IgaW4ga2lsbCAoKSBmcm9tIC9saWIvbGliYy5zby41DQooZ2Ri KSBidA0KIzAgIDB4MjgwYzIzN2IgaW4ga2lsbCAoKSBmcm9tIC9saWIvbGliYy5zby41DQojMSAg MHgyODBiNzQyMiBpbiByYWlzZSAoKSBmcm9tIC9saWIvbGliYy5zby41DQojMiAgMHgyODEyOWMx YiBpbiBhYm9ydCAoKSBmcm9tIC9saWIvbGliYy5zby41DQojMyAgMHgwODA0ODVjZiBpbiBTaWdu YWxIYW5kbGVyIChzaWdubz0xNSkgYXQgdGVzdDIuYzo2DQojNCAgMHhiZmJmZmY5NCBpbiA/PyAo KQ0KIzUgIDB4MDAwMDAwMGYgaW4gPz8gKCkNCiM2ICAweDAwMDAwMDAwIGluID8/ICgpDQojNyAg MHhiZmJmZTlkMCBpbiA/PyAoKQ0KIzggIDB4MDAwMDAwMDIgaW4gPz8gKCkNCiM5ICAweDA4MDQ4 NWM0IGluIGZyYW1lX2R1bW15ICgpDQojMTAgMHgwODA0ODUxOSBpbiBfc3RhcnQgKCkNCiMxMSAw eDAwMDAwMDAxIGluID8/ICgpDQooZ2RiKQ0KDQoNCg0KDQoNCl9fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KVGhpcyBlLW1haWwgY29tbXVuaWNh dGlvbiAoYW5kIGFueSBhdHRhY2htZW50L3MpIG1heSBjb250YWluIGNvbmZpZGVudGlhbCBvciBw cml2aWxlZ2VkIGluZm9ybWF0aW9uIGFuZCBpcyBpbnRlbmRlZCBvbmx5IGZvciB0aGUgaW5kaXZp ZHVhbChzKSBvcg0KZW50aXR5IG5hbWVkIGFib3ZlIGFuZCB0byBvdGhlcnMgd2hvIGhhdmUgYmVl biBzcGVjaWZpY2FsbHkgYXV0aG9yaXplZCB0byByZWNlaXZlIGl0LiBJZiB5b3UgYXJlIG5vdCB0 aGUgaW50ZW5kZWQgcmVjaXBpZW50LCBwbGVhc2UgZG8gbm90IHJlYWQsIGNvcHksDQogdXNlIG9y IGRpc2Nsb3NlIHRoZSBjb250ZW50cyBvZiB0aGlzIGNvbW11bmljYXRpb24gdG8gb3RoZXJzLiBQ bGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIgdGhhdCB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIGUtbWFp bCBpbiBlcnJvciBieSByZXBseSBlLW1haWwsDQphbmQgZGVsZXRlIHRoZSBlLW1haWwgc3Vic2Vx dWVudGx5Lg0KVGhhbmsgeW91Lg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX18NCg0KQ2UgbWVzc2FnZSAoYWluc2kgcXVlIGxlKHMpIGZpY2hp ZXIvcyksIHRyYW5zbWlzIHBhciBjb3VycmllbCwgcGV1dCBjb250ZW5pciBkZXMgcmVuc2VpZ25l bWVudHMgY29uZmlkZW50aWVscyBvdSBwcm90w6lnw6lzIGV0IGVzdCBkZXN0aW7DqSDDoCBs4oCZ dXNhZ2UNCmV4Y2x1c2lmIGR1IGRlc3RpbmF0YWlyZSBjaS1kZXNzdXMuIFRvdXRlIGF1dHJlIHBl cnNvbm5lIGVzdCBwYXIgbGVzIHByw6lzZW50ZXMgYXZpc8OpZSBxdeKAmWlsIGVzdCBzdHJpY3Rl bWVudCBpbnRlcmRpdCBkZSBsZSBkaWZmdXNlciwgbGUgZGlzdHJpYnVlciBvdQ0KbGUgcmVwcm9k dWlyZS4gU2kgdm91cyBs4oCZYXZleiByZcOndSBwYXIgaW5hZHZlcnRhbmNlLCB2ZXVpbGxleiBu b3VzIGVuIGF2aXNlciBldCBkw6l0cnVpcmUgY2UgbWVzc2FnZS4NCk1lcmNpLg0KX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCg== From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 07:47:53 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86BDA16A41C for ; Tue, 12 Jul 2005 07:47:53 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from comsys.ntu-kpi.kiev.ua (comsys.ntu-kpi.kiev.ua [195.245.194.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id B707643D46 for ; Tue, 12 Jul 2005 07:47:28 +0000 (GMT) (envelope-from simon@comsys.ntu-kpi.kiev.ua) Received: from pm514-9.comsys.ntu-kpi.kiev.ua (pm514-9.comsys.ntu-kpi.kiev.ua [10.18.54.109]) (authenticated bits=0) by comsys.ntu-kpi.kiev.ua (8.12.10/8.12.10) with ESMTP id j6C7qt61095950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jul 2005 10:52:56 +0300 (EEST) Received: by pm514-9.comsys.ntu-kpi.kiev.ua (Postfix, from userid 1000) id 8B90B384; Tue, 12 Jul 2005 10:44:44 +0300 (EEST) Date: Tue, 12 Jul 2005 10:44:44 +0300 From: Andrey Simonenko To: mats.lindberg@se.transport.bombardier.com Message-ID: <20050712074444.GA648@pm514-9.comsys.ntu-kpi.kiev.ua> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV 0.82/969/Wed Jul 6 11:53:40 2005 on comsys.ntu-kpi.kiev.ua X-Virus-Status: Clean Cc: hackers@freebsd.org Subject: Re: corefiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 07:47:53 -0000 On Tue, Jul 12, 2005 at 07:07:24AM +0200, mats.lindberg@se.transport.bombardier.com wrote: > > When I try to catch SIGTERM and generate a core file the call > stack is corrupted on FreeBSD. A process stack is not corrupted. Since a process was terminated while it was is a signal handler, it is wrong to interpreter the content of the stack as for ordinary functions calls chain. I assume that you use i386 arch and ELF executable. What you see is the content of struct sigframe{} which was pushed to the stack by machdep.c:sendsig(). > > #1 0x280b7422 in raise () from /lib/libc.so.5 > #2 0x28129c1b in abort () from /lib/libc.so.5 > #3 0x080486a8 in monitorSignalHandlerTERM (signo=15) at test1.c:15 Since registers are 32-bit long, let's interpreter this (it is better to get &signo and see other fields, for example "x &signo + 1", etc). #4 0xbfbfff94 in ?? () #5 0x0000000f in ?? () <-- sf_signum (15 -- SIGTERM) #6 0x00000000 in ?? () <-- sf_siginfo (NULL, since simple signal() was used) #7 0xbfbfe9d0 in ?? () <-- ptr to ucontext #8 0x00000002 in ?? () #9 0x0804867c in <-- pointer to the handler of SIGTERM signal Also, signal handler is called by special sigcode() function, which is "installed" to the user process memory and is "called" by a process for calling a signal handler and for restoring process context after signal handler. From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 09:50:51 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06D6516A41C for ; Tue, 12 Jul 2005 09:50:51 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15007.mail.cnb.yahoo.com (web15007.mail.cnb.yahoo.com [202.165.103.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DE0643D49 for ; Tue, 12 Jul 2005 09:50:49 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 60124 invoked by uid 60001); 12 Jul 2005 09:50:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LoWEuWCa6gNemmoVEO3sHEfevXiO3gFoyI4dUDKYvT6yd1BIomKW6a6qjJXXlrAZr0GkMpIf4g9wcbhZj7do/84CmyZlOYIV3UpbjPSJsDWOzH/Ty8ultsyZtXq0XFRfuYQrjPK/R5bc2xmUiM9bp6PqSr1MmHf9BNlWGWndp9U= ; Message-ID: <20050712095048.60122.qmail@web15007.mail.cnb.yahoo.com> Received: from [61.187.54.10] by web15007.mail.cnb.yahoo.com via HTTP; Tue, 12 Jul 2005 17:50:48 CST Date: Tue, 12 Jul 2005 17:50:48 +0800 (CST) From: Jone Jas To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 09:50:51 -0000 Hi hackers, As far as I know, there is no limit of the disk space that a jail can use. As for the Linux VServer(similar to jail), its dlimit does such thing for the "security context". I read the dlimit code and find that it achieves that by limiting the number of inodes and data blocks the vserver can get. The hooks are inserted in the functions such as ext2_new_inode, ext2_free_inode, ext2_new_block and ext2_free_block. My question is if we can do such thing to the jail. If so, where should we insert the hooks? It seems that the FreeBSD inode/block allocation/free functions are not so explicit as Linux. There are serveral places, I'm not sure which are the correct ones: for inodes: ffs_valloc, ffs_vfree for blocks: ffs_alloc, ffs_freeblk, or ufs_balloc_ufs1/2 Any reply or hints is appreciated! Regards! Jas --------------------------------- DO YOU YAHOO!? ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 11:37:51 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84BA516A41F; Tue, 12 Jul 2005 11:37:51 +0000 (GMT) (envelope-from mario.lobo@ipad.com.br) Received: from recife.ipadnet.com.br (recife.ipadnet.com.br [200.249.204.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9976743D49; Tue, 12 Jul 2005 11:37:49 +0000 (GMT) (envelope-from mario.lobo@ipad.com.br) Received: from marioLobo (spyketembratel.ipadnet.com.br [200.249.204.142]) (authenticated bits=0) by recife.ipadnet.com.br (8.12.8/8.12.8) with ESMTP id j6CBp70j007406; Tue, 12 Jul 2005 08:51:08 -0300 From: "Mario Lobo" Organization: IPAD To: "Chad Leigh -- Shire.Net LLC" Date: Tue, 12 Jul 2005 08:38:16 -0300 MIME-Version: 1.0 Message-ID: <42D38178.8740.3F340A6@localhost> Priority: normal In-reply-to: References: <20050711232642.GK39292@obiwan.tataz.chchile.org> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Antivirus: avast! (VPS 0528-1, 11/07/2005), Outbound message X-Antivirus-Status: Clean Cc: freebsd-hackers@freebsd.org, freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mario.lobo@ipad.com.br List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 11:37:51 -0000 First, thanks to all for the suggestions. Now, using the same scenario, > > 1) rl0 (real.ip.no.1) ---> ISP x > > > > 2) rl1 (real.ip.no.2) ---> ISP y Suppose 1) is down and I=B4m using 2). If I "ping www.google.com", it will go out through 2). What I really need to do is to issue the same "ping www.google.com" but make go out through 1) !! Of course I could switch the default route to 1), test, then switch it bac= k to 2), but I can=B4t do it this way because internet traffic should remain undist= urbed. That is why the "Forcing a packet..." subject. thanks -- //| //|| // | // || -//--//---|| ARIO LOBO // // || --------------------------------- mario.lobo@ipad.com.br http://www.ipad.com.br From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 11:38:35 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 528F916A41C for ; Tue, 12 Jul 2005 11:38:35 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from srv-03.bs2.com.br (srv-03.bs2.com.br [200.203.183.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5CE443D4C for ; Tue, 12 Jul 2005 11:38:34 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from localhost (localhost.bs2.com.br [127.0.0.1]) by srv-03.bs2.com.br (Postfix) with ESMTP id A66234BF9F; Tue, 12 Jul 2005 08:38:49 -0300 (BRT) Received: from [172.16.12.100] (unknown [200.138.88.6]) by srv-03.bs2.com.br (Postfix) with ESMTP id 340654BF9C; Tue, 12 Jul 2005 08:38:49 -0300 (BRT) Message-ID: <42D3ABB7.7030407@tirloni.org> Date: Tue, 12 Jul 2005 08:38:31 -0300 From: "Giovanni P. Tirloni" User-Agent: Mozilla Thunderbird 1.0.2-1.4.1.centos4 (X11/20050323) X-Accept-Language: en-us, en MIME-Version: 1.0 To: vd@datamax.bg References: <1473.201.11.22.205.1121134115.squirrel@webmail.bs2.com.br> <20050712053607.GA20712@sinanica.bg.datamax> In-Reply-To: <20050712053607.GA20712@sinanica.bg.datamax> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 11:38:35 -0000 Vasil Dimov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > >> But I'd like to ask if it'd theoretically be possible to create the RAID1 >>array (ar0) with only one disk and add the second one later? It'd work >>like a broken array for some time. It's just an idea :) >> > > > Find some unused disk, plug it into the machine, build the array, see > that FreeBSD is happy with ar0, then unplug that disk and you are ready. > > It's not what you asked for, but it is one possible solution for your > issue. If I use a 40GB disk with the 120GB one it creates a 40GB array. It seems correct but doesn't help. I thought about hacking ataraid somehow so it does the opossite but it seems ugly. -- Giovanni P. Tirloni / gpt@tirloni.org / PGP: 0xD0315C26 From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 12:12:33 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD8CF16A41C for ; Tue, 12 Jul 2005 12:12:33 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15010.mail.cnb.yahoo.com (web15010.mail.cnb.yahoo.com [202.165.103.67]) by mx1.FreeBSD.org (Postfix) with SMTP id 03A3443D45 for ; Tue, 12 Jul 2005 12:12:32 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 16764 invoked by uid 60001); 12 Jul 2005 12:12:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xYK1KPn/TkwX/HhMjOFp44ZWgnkbigUFQhIlPs9vfpiUe7025+LQJEfXlEH4OaKEw1i6QFpbQUsR406zGWG5JoIUaFFaNeXDJTRTCLAkFePKAKN0Pl6C7VVXu52q7COiLWIlZ1ZzGcq2s+ffuPdSGHJLmBFiVVoCwbNIhD2Uyis= ; Message-ID: <20050712121230.16762.qmail@web15010.mail.cnb.yahoo.com> Received: from [61.187.54.10] by web15010.mail.cnb.yahoo.com via HTTP; Tue, 12 Jul 2005 20:12:30 CST Date: Tue, 12 Jul 2005 20:12:30 +0800 (CST) From: Jone Jas To: Dominic Marks In-Reply-To: <200507121114.42653.dom@goodforbusiness.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 12:12:33 -0000 Thanks for your reply. I googled and found this method but I just did not have a try. As for the code-hacking method I mentioned, anyone with any idea is appreciated! Dominic Marks дµÀ£º On Tuesday 12 July 2005 10:50, Jone Jas wrote: > Hi hackers, > As far as I know, there is no limit of the disk space that a jail > can use. As for the Linux VServer(similar to jail), its dlimit does > such thing for the "security context". I read the dlimit code and > find that it achieves that by limiting the number of inodes and data > blocks the vserver can get. The hooks are inserted in the functions > such as ext2_new_inode, ext2_free_inode, ext2_new_block and > ext2_free_block. My question is if we can do such thing to the jail. > If so, where should we insert the hooks? It seems that the FreeBSD > inode/block allocation/free functions are not so explicit as Linux. > There are serveral places, I'm not sure which are the correct ones: > for inodes: ffs_valloc, ffs_vfree > for blocks: ffs_alloc, ffs_freeblk, > or ufs_balloc_ufs1/2 > > Any reply or hints is appreciated! > Regards! One method which does not require hacking any code: # dd if=/dev/zero of=jail.file bs=1k count=1m 1048576+0 records in 1048576+0 records out 1073741824 bytes transferred in 23.940393 secs (44850635 bytes/sec) # ls -lh jail.file -rw-r--r-- 1 dom dom 1.0G Jul 12 11:08 jail.file # mdconfig -a -t vnode -f jail.file md0 # newfs -U /dev/md0 /dev/md0: 1024.0MB (2097152 sectors) block size 16384, fragment size 2048 using 6 cylinder groups of 183.44MB, 11740 blks, 23488 inodes. with soft updates super-block backups (for fsck -b #) at: 160, 375840, 751520, 1127200, 1502880, 1878560 # mount /dev/md0 /mnt # df -ih Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/md0 989M 4.0K 910M 0% 2 140924 0% /mnt Now just install your jail into /mnt and it will be confined to the size of disc you create. Expect slightly reduced disc performance using this technique. > Jas > > > > --------------------------------- > DO YOU YAHOO!? > ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" HTH, -- Dominic Marks --------------------------------- DO YOU YAHOO!? ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 12:16:51 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 082CD16A41C for ; Tue, 12 Jul 2005 12:16:51 +0000 (GMT) (envelope-from abhijeet_sane@persistent.co.in) Received: from smtp.persistent.co.in (smtp.persistent.co.in [202.54.11.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C0D643D45 for ; Tue, 12 Jul 2005 12:16:49 +0000 (GMT) (envelope-from abhijeet_sane@persistent.co.in) Received: from mail.persistent.co.in ([10.12.0.1]) by smtp.persistent.co.in (8.12.9/8.12.9) with ESMTP id j6CCKowY014639 for ; Tue, 12 Jul 2005 17:50:52 +0530 Received: from ps2846 (ps2846.persistent.co.in [10.33.50.58]) by mail.persistent.co.in (MOS 3.6.4-CR) with ESMTP id ADM91023 (AUTH abhijeet_sane); Tue, 12 Jul 2005 17:46:37 +0530 (IST) Message-ID: <003301c586db$dd88ff70$3a32210a@persistent.co.in> From: "Abhijeet Anant Sane" To: Date: Tue, 12 Jul 2005 17:48:52 +0530 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Brightmail-Tracker: AAAAAQAAAAQ= X-Whitelist: TRUE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hi X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 12:16:51 -0000 Hello Hackers , I am doing a project where i am supposed to backport some hyperthreading = code from FreeBSD 5.x to 4.1 . I found the scheduler code in version 5.x = in the file sched_4bsd.c / sched_ule.c ( for the ULE scheduler ) where = as in FreeBSD version 4.1 I was unable to find the scheduler code. I = also found that the scheduler architecture is so much changed that = backporting will be a royal pain.=20 does some one have any idea on implementing the above code ??? ... can = any one point me where the scheduler code is in 4.1 ..=20 thanks in advance .. regards=20 abhijeet sane From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 11 23:31:05 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E5716A41C for ; Mon, 11 Jul 2005 23:31:05 +0000 (GMT) (envelope-from sean.hafeez@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59BFF43D48 for ; Mon, 11 Jul 2005 23:31:05 +0000 (GMT) (envelope-from sean.hafeez@gmail.com) Received: by zproxy.gmail.com with SMTP id f1so444562nzc for ; Mon, 11 Jul 2005 16:31:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:subject:date:to:x-mailer:from; b=OWve+8bPBfsEeRUDNmMFwWL+XZI0qIXT47ZR8R0btNpaCANcw5bCw+7QZqTVhZ/3YrWe/C7392bX71PNEhZnhCbPQqxs+CC4T26itiO0AazHKkzRN/CZfd49vFLEJGhTZ3HKv5kKBrLM7kdBmU9LxJL/3XSSv2WSbsAjyVAf8Lw= Received: by 10.36.222.39 with SMTP id u39mr1334864nzg; Mon, 11 Jul 2005 16:31:04 -0700 (PDT) Received: from ?192.168.0.112? ([67.109.14.227]) by mx.gmail.com with ESMTP id 34sm2157155nza.2005.07.11.16.31.03; Mon, 11 Jul 2005 16:31:04 -0700 (PDT) In-Reply-To: <20050711232642.GK39292@obiwan.tataz.chchile.org> References: <20050711232642.GK39292@obiwan.tataz.chchile.org> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Date: Mon, 11 Jul 2005 16:30:51 -0700 To: mario.lobo@ipad.com.br X-Mailer: Apple Mail (2.730) From: Sean Hafeez X-Mailman-Approved-At: Tue, 12 Jul 2005 12:33:11 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jul 2005 23:31:06 -0000 add a static route ping the other side of the directly connect interface ..etc.. fr On Jul 11, 2005, at 4:26 PM, Mario Lobo wrote: > Forgive me if this is off-topic. > > How could I force a packet to go out through an interface, > despite the default route? > > Suppose I have two interfaces connected to the internet: > > 1) rl0 (real.ip.no.1) ---> ISP x > > 2) rl1 (real.ip.no.2) ---> ISP y > > ISP y is just a backup link. ISP x is the working link. > Don?t want to load-balance them. Use 2) ONLY if 1) is out. > > Suppose 1) is down. I switch to 2). But I have to keep testing 1) > to see when it comes back up. How could I force a packet (ping maybe?) > to www.whatever.com through 1), despite the default route being 2) ? > > I am aready binding the ping packet to the IP I want but that?s not > enough. > > any suggestions? > > thanks, > -- > //| //|| > // | // || > -//--//---|| ARIO LOBO > // // || > --------------------------------- > mario.lobo@ipad.com.br > http://www.ipad.com.br > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers- > unsubscribe@freebsd.org" > > > ----- End forwarded message ----- > > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 10:12:18 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D88D516A41C for ; Tue, 12 Jul 2005 10:12:18 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from mail.helenmarks.co.uk (mail.helenmarks.co.uk [82.68.196.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F6F043D48 for ; Tue, 12 Jul 2005 10:12:17 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id E9C842710C03; Tue, 12 Jul 2005 11:12:16 +0100 (BST) Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67163-05; Tue, 12 Jul 2005 11:12:11 +0100 (BST) Received: from egg (egg.helenmarks.co.uk [192.168.15.3]) by mail.helenmarks.co.uk (Postfix) with ESMTP id 4779B2710C01; Tue, 12 Jul 2005 11:12:11 +0100 (BST) From: Dominic Marks To: freebsd-hackers@freebsd.org Date: Tue, 12 Jul 2005 11:14:41 +0100 User-Agent: KMail/1.8 References: <20050712095048.60122.qmail@web15007.mail.cnb.yahoo.com> In-Reply-To: <20050712095048.60122.qmail@web15007.mail.cnb.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507121114.42653.dom@goodforbusiness.co.uk> X-Virus-Scanned: By ClamAV 0.85.1 X-Mailman-Approved-At: Tue, 12 Jul 2005 12:33:11 +0000 Cc: Jone Jas Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 10:12:19 -0000 On Tuesday 12 July 2005 10:50, Jone Jas wrote: > Hi hackers, > As far as I know, there is no limit of the disk space that a jail > can use. As for the Linux VServer(similar to jail), its dlimit does > such thing for the "security context". I read the dlimit code and > find that it achieves that by limiting the number of inodes and data > blocks the vserver can get. The hooks are inserted in the functions > such as ext2_new_inode, ext2_free_inode, ext2_new_block and > ext2_free_block. My question is if we can do such thing to the jail. > If so, where should we insert the hooks? It seems that the FreeBSD > inode/block allocation/free functions are not so explicit as Linux. > There are serveral places, I'm not sure which are the correct ones: > for inodes: ffs_valloc, ffs_vfree > for blocks: ffs_alloc, ffs_freeblk, > or ufs_balloc_ufs1/2 > > Any reply or hints is appreciated! > Regards! One method which does not require hacking any code: # dd if=3D/dev/zero of=3Djail.file bs=3D1k count=3D1m 1048576+0 records in 1048576+0 records out 1073741824 bytes transferred in 23.940393 secs (44850635 bytes/sec) # ls -lh jail.file=20 =2Drw-r--r-- 1 dom dom 1.0G Jul 12 11:08 jail.file # mdconfig -a -t vnode -f jail.file=20 md0 # newfs -U /dev/md0=20 /dev/md0: 1024.0MB (2097152 sectors) block size 16384, fragment size=20 2048 using 6 cylinder groups of 183.44MB, 11740 blks, 23488 inodes. with soft updates super-block backups (for fsck -b #) at: 160, 375840, 751520, 1127200, 1502880, 1878560 # mount /dev/md0 /mnt # df -ih =46ilesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/md0 989M 4.0K 910M 0% 2 140924 0% /mnt Now just install your jail into /mnt and it will be confined to the size of disc you create. Expect slightly reduced disc performance using this technique. > Jas > > > > --------------------------------- > DO YOU YAHOO!? > =D1=C5=BB=A2=C3=E2=B7=D1G=D3=CA=CF=E4=A3=AD=D6=D0=B9=FA=B5=DA=D2=BB=BE= =F8=CE=DE=C0=AC=BB=F8=D3=CA=BC=FE=C9=A7=C8=C5=B3=AC=B4=F3=D3=CA=CF=E4 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" HTH, =2D-=20 Dominic Marks From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 13:03:35 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3D8316A41C for ; Tue, 12 Jul 2005 13:03:35 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29BDD43D48 for ; Tue, 12 Jul 2005 13:03:34 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by zproxy.gmail.com with SMTP id j2so519628nzf for ; Tue, 12 Jul 2005 06:03:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mXIMRe/x69ZL5Pli5eM65Erbf3LZHwhyoeLLgEkIfefnos6Zh25iaKeCzpsOOdi7f7mx09jJpOk2gwBTxjRnVdK3Z56AtfoWBpDSxo0aICvbLPKUNLf+g7FALwW0GNX+VJsikyAsgfb23eC5c94KH+xQXb+OpVsw43BoklOxtKY= Received: by 10.36.129.6 with SMTP id b6mr1632603nzd; Tue, 12 Jul 2005 06:03:34 -0700 (PDT) Received: by 10.36.86.4 with HTTP; Tue, 12 Jul 2005 06:03:34 -0700 (PDT) Message-ID: <79722fad0507120603528ab24c@mail.gmail.com> Date: Tue, 12 Jul 2005 16:03:34 +0300 From: Vlad GALU To: Jone Jas , freebsd-hackers@freebsd.org In-Reply-To: <20050712121230.16762.qmail@web15010.mail.cnb.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200507121114.42653.dom@goodforbusiness.co.uk> <20050712121230.16762.qmail@web15010.mail.cnb.yahoo.com> Cc: Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vlad GALU List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 13:03:35 -0000 On 7/12/05, Jone Jas wrote: > Thanks for your reply. I googled and found this method but I just > did not have a try. > As for the code-hacking method I mentioned, anyone with any idea > is appreciated! =20 See ufs_quota.c, especially chkdqchg(). It is passed a struct ucred* parameter, which contains a struct prison* pointer. So I assume you can make your decision based on that. Of course, the userland quota management tools and the jail utilities need to be made aware of the kernel changes. --=20 If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 13:54:58 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA6E716A41C for ; Tue, 12 Jul 2005 13:54:58 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D35043D49 for ; Tue, 12 Jul 2005 13:54:57 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) X-Envelope-From: stsp@stsp.in-berlin.de X-Envelope-To: Received: from stud.seeling33.de (p54BEACC0.dip0.t-ipconnect.de [84.190.172.192]) (authenticated bits=0) by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id j6CDsqs8010179 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 12 Jul 2005 15:54:54 +0200 Received: by stud.seeling33.de (Postfix, from userid 1000) id 50ADAF7A6; Tue, 12 Jul 2005 15:48:25 +0200 (CEST) Date: Tue, 12 Jul 2005 15:48:25 +0200 From: stsp@stsp.in-berlin.de To: freebsd-hackers@freebsd.org Message-ID: <20050712134825.GA949@stud.seeling33.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20050711232642.GK39292@obiwan.tataz.chchile.org> <42D38178.8740.3F340A6@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <42D38178.8740.3F340A6@localhost> User-Agent: Mutt/1.5.6i X-Spam-Score: (-1.139) AWL,BAYES_00,FORGED_RCVD_HELO,NO_REAL_NAME X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 13:54:58 -0000 On Tue, Jul 12, 2005 at 08:38:16AM -0300, Mario Lobo wrote: > First, thanks to all for the suggestions. > > Now, using the same scenario, > > > > 1) rl0 (real.ip.no.1) ---> ISP x > > > > > > 2) rl1 (real.ip.no.2) ---> ISP y > > Suppose 1) is down and I´m using 2). If I "ping www.google.com", > it will go out through 2). What I really need to do is to issue > the same "ping www.google.com" but make go out through 1) !! In case you got a static IP on rl0 from ISP x (and rl0 is up), ping -I www.google.com might help. Just a guess though. Packets might still take the default route, even with -I. Good luck, -- stefan http://stsp.in-berlin.de PGP Key: 0xF59D25F0 From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 14:20:39 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE2E316A41C; Tue, 12 Jul 2005 14:20:39 +0000 (GMT) (envelope-from mario.lobo@ipad.com.br) Received: from recife.ipadnet.com.br (recife.ipadnet.com.br [200.249.204.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A9FE43D49; Tue, 12 Jul 2005 14:20:38 +0000 (GMT) (envelope-from mario.lobo@ipad.com.br) Received: from marioLobo (spyketembratel.ipadnet.com.br [200.249.204.142]) (authenticated bits=0) by recife.ipadnet.com.br (8.12.8/8.12.8) with ESMTP id j6CEXu0j004033; Tue, 12 Jul 2005 11:33:57 -0300 From: "Mario Lobo" Organization: IPAD To: stsp@stsp.in-berlin.de Date: Tue, 12 Jul 2005 11:21:05 -0300 MIME-Version: 1.0 Message-ID: <42D3A7A1.17453.488500C@localhost> Priority: normal In-reply-to: <20050712134825.GA949@stud.seeling33.de> References: <42D38178.8740.3F340A6@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Antivirus: avast! (VPS 0528-2, 12/07/2005), Outbound message X-Antivirus-Status: Clean Cc: freebsd-hackers@freebsd.org, freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mario.lobo@ipad.com.br List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 14:20:40 -0000 Yeah Stefan. They do take the default route. That is what I am already doi= ng. I even wrote a little prog using a variation of ping to do just that. The problem lies with the fact that, there is a router between my rl0 and = the internet. 1) rl0 -----------> router ----------> antenna ------> ISPx ------> inter= net So the fact that i can ping the hop next to rl0 doesn=B4t mean the link is= up :(. That is why I NEED to ping something on the internet. Thanks, -- //| //|| // | // || -//--//---|| ARIO LOBO // // || --------------------------------- mario.lobo@ipad.com.br http://www.ipad.com.br On 12 Jul 2005 at 15:48, stsp@stsp.in-berlin.de wrote: > In case you got a static IP on rl0 from ISP x (and rl0 is up), > > ping -I www.google.com > > might help. > > Just a guess though. Packets might still take the default route, even wi= th -I. > > Good luck, > -- > stefan > http://stsp.in-berlin.de PGP Key: 0xF59D= 25F0 > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.or= g" From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 14:46:27 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CA7216A41C; Tue, 12 Jul 2005 14:46:27 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA3F143D45; Tue, 12 Jul 2005 14:46:24 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (localhost [127.0.0.1]) by beck.quonix.net (8.13.4/8.13.4) with ESMTP id j6CEkGJu053505; Tue, 12 Jul 2005 10:46:16 -0400 (EDT) Received: from localhost (essenz@localhost) by beck.quonix.net (8.13.4/8.13.4/Submit) with ESMTP id j6CEkGkO053502; Tue, 12 Jul 2005 10:46:16 -0400 (EDT) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Tue, 12 Jul 2005 10:46:16 -0400 (EDT) From: John Von Essen X-X-Sender: essenz@beck.quonix.net To: Mario Lobo In-Reply-To: <42D3A7A1.17453.488500C@localhost> Message-ID: <20050712104229.W50125@beck.quonix.net> References: <42D38178.8740.3F340A6@localhost> <42D3A7A1.17453.488500C@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SpamAssassin-3.0.3-Score: -2.82/5.8 ALL_TRUSTED X-MimeDefang-2.51: beck.quonix.net X-Scanned-By: MIMEDefang 2.51 on 146.145.66.90 Cc: freebsd-hackers@freebsd.org, stsp@stsp.in-berlin.de, freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 14:46:27 -0000 Mario, I think the only way to do what you want is to find two hosts on the internet that don't conflict with what you do on a day to day basis. Then add custom routes for those two specific hosts, and with those routes, you force traffic through each NIC. A perfect example of two public servers would be time or whois servers. Just be nice and dont ping too much (i.e., only send two "small" pings every 2 minutes or something). -john On Tue, 12 Jul 2005, Mario Lobo wrote: > Yeah Stefan. They do take the default route. That is what I am already do= ing. > > I even wrote a little prog using a variation of ping to do just that. > > The problem lies with the fact that, there is a router between my rl0 and= the internet. > > 1) rl0 -----------> router ----------> antenna ------> ISPx ------> inte= rnet > > So the fact that i can ping the hop next to rl0 doesn=B4t mean the link i= s up :(. > > That is why I NEED to ping something on the internet. > > Thanks, > -- > //| //|| > // | // || > -//--//---|| ARIO LOBO > // // || > --------------------------------- > mario.lobo@ipad.com.br > http://www.ipad.com.br > > > On 12 Jul 2005 at 15:48, stsp@stsp.in-berlin.de wrote: > > > In case you got a static IP on rl0 from ISP x (and rl0 is up), > > > > =09ping -I www.google.com > > > > might help. > > > > Just a guess though. Packets might still take the default route, even w= ith -I. > > > > Good luck, > > -- > > stefan > > http://stsp.in-berlin.de PGP Key: 0xF59= D25F0 > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > > From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 15:02:00 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BCD716A41C for ; Tue, 12 Jul 2005 15:02:00 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15009.mail.cnb.yahoo.com (web15009.mail.cnb.yahoo.com [202.165.103.66]) by mx1.FreeBSD.org (Postfix) with SMTP id 288D343D4C for ; Tue, 12 Jul 2005 15:01:58 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 32267 invoked by uid 60001); 12 Jul 2005 15:01:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2YZjPhc+S84i8SdtNzzp/X4xvb7BIYlFQEAri1wV3cjIbuHAas2HwmVWQd4BhBfmgs+shCHzCFBIqp+EdvF13p0+im6JWZD1LTuMsJwzIyZkig3xaEMFQfCOzqOZTLMJwElI5xwSZUIOHguuOrgiYqNuLT5Q3ipRA+jTt0D1FaI= ; Message-ID: <20050712150157.32265.qmail@web15009.mail.cnb.yahoo.com> Received: from [61.187.54.10] by web15009.mail.cnb.yahoo.com via HTTP; Tue, 12 Jul 2005 23:01:57 CST Date: Tue, 12 Jul 2005 23:01:57 +0800 (CST) From: Jone Jas To: Vlad GALU In-Reply-To: <79722fad0507120603528ab24c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd hackers Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 15:02:00 -0000 Vlad GALU дµÀ£º On 7/12/05, Jone Jas wrote: > Thanks for your reply. I googled and found this method but I just > did not have a try. > As for the code-hacking method I mentioned, anyone with any idea > is appreciated! See ufs_quota.c, especially chkdqchg(). It is passed a struct ucred* parameter, which contains a struct prison* pointer. So I assume you can make your decision based on that. :Yes. It seems that following the quota way may help. Actually, the "#ifdef QUOTA" is scattered in many places, so trivial work need to do. Of course, the userland quota management tools and the jail utilities need to be made aware of the kernel changes. :Yes. It may need some new user utilities, e.g. jail_conf to do the configuration jobs (configure the jail's disk space) according to the kernel changes. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. __________________________________________________ ¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä? http://cn.mail.yahoo.com From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 15:44:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FB0516A41C; Tue, 12 Jul 2005 15:44:14 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09CA243D45; Tue, 12 Jul 2005 15:44:13 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id B8AC08D791; Tue, 12 Jul 2005 17:44:09 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11046-05-2; Tue, 12 Jul 2005 17:44:07 +0200 (CEST) Received: from sweatshorts.fs.ei.tum.de (unknown [IPv6:2001:4ca0:0:fe00:0:5efe:a96:b4b4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id 6BDC68D78C; Tue, 12 Jul 2005 17:44:07 +0200 (CEST) Date: Tue, 12 Jul 2005 17:44:03 +0200 From: Simon 'corecode' Schubert To: mario.lobo@ipad.com.br Message-Id: <20050712174403.5acf8b2b.corecode@fs.ei.tum.de> In-Reply-To: <42D3A7A1.17453.488500C@localhost> References: <42D38178.8740.3F340A6@localhost> <42D3A7A1.17453.488500C@localhost> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-dragonfly1) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Tue__12_Jul_2005_17_44_03_+0200_uGR17VP0GdC3+91B" X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: freebsd-hackers@freebsd.org, stsp@stsp.in-berlin.de, freebsd-questions@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 15:44:14 -0000 --Signature=_Tue__12_Jul_2005_17_44_03_+0200_uGR17VP0GdC3+91B Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Lately "Mario Lobo" said: > The problem lies with the fact that, there is a router between my rl0 and= the internet. >=20 > 1) rl0 -----------> router ----------> antenna ------> ISPx ------> inte= rnet >=20 > So the fact that i can ping the hop next to rl0 doesn=B4t mean the link i= s up :(. use a source route to the gateway of rl0? cheers simon --=20 Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ --Signature=_Tue__12_Jul_2005_17_44_03_+0200_uGR17VP0GdC3+91B Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (DragonFly) iD8DBQFC0+VGr5S+dk6z85oRAhOZAJ48DgP0slE+1RtEw5sDEVHOw5PbcACgoXaP hkybHltL62eWkWAOMN5FxBo= =rRCO -----END PGP SIGNATURE----- --Signature=_Tue__12_Jul_2005_17_44_03_+0200_uGR17VP0GdC3+91B-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 15:59:35 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D648C16A41C for ; Tue, 12 Jul 2005 15:59:35 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 584D343D49 for ; Tue, 12 Jul 2005 15:59:35 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id D1BB411518 for ; Tue, 12 Jul 2005 18:00:49 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85981-01 for ; Tue, 12 Jul 2005 18:00:44 +0200 (CEST) Received: from [192.168.20.108] (unknown [217.15.95.90]) by smtp.xbsd.org (Postfix) with ESMTP id 52D381147A for ; Tue, 12 Jul 2005 18:00:44 +0200 (CEST) Message-ID: <42D3E8D9.6020105@xbsd.org> Date: Tue, 12 Jul 2005 17:59:21 +0200 From: Florent Thoumie User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 0.92.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3C6B09C03EFBFA5B95BD190C" X-Virus-Scanned: amavisd-new at xbsd.org Subject: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 15:59:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3C6B09C03EFBFA5B95BD190C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm currently working on OpenBGPd port update and I'm facing a little problem that is actually quite painful to deal with. I need some macros from OpenBSD sys/queue.h which aren't present in FreeBSD. I can replace #include with #include "queue.h" and copy the file in the working directory but this leads to having more than 10 patches. Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden "dependency" (by hidden, I mean it's included by an included header file, and doesn't show up directly in the source file). So, could somebody consider merging these SIMPLEQ_* macros or even synchronize FreeBSD and OpenBSD versions ? Regards. Note: This could have been posted to -current, I wasn't sure which mailing list was the best. -- Florent Thoumie flz@xbsd.org --------------enig3C6B09C03EFBFA5B95BD190C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFC0+jfMxEkbVFH3PQRAh+xAJ4zt9U7erXYk8Go6NbX+rBMnUit4wCeLArC AYMh+hgtYmnsoeuquvw29ns= =Fi8E -----END PGP SIGNATURE----- --------------enig3C6B09C03EFBFA5B95BD190C-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 16:55:33 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06B8E16A41C for ; Tue, 12 Jul 2005 16:55:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C6A43D45 for ; Tue, 12 Jul 2005 16:55:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 97DAA514C4; Tue, 12 Jul 2005 12:55:30 -0400 (EDT) Date: Tue, 12 Jul 2005 12:55:30 -0400 From: Kris Kennaway To: Olivier Certner Message-ID: <20050712165530.GA5475@xor.obsecurity.org> References: <200507102313.12719.olivier.certner@free.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <200507102313.12719.olivier.certner@free.fr> User-Agent: Mutt/1.4.2.1i Cc: freebsd-hackers@freebsd.org Subject: Re: Bug in portupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 16:55:33 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 10, 2005 at 11:13:12PM +0200, Olivier Certner wrote: > Hi, >=20 > There is a bug with portupgrade when it is used to upgrade already compi= led=20 > and installed ports for which some dependencies have been deleted in the= =20 > package database. This causes a crash in the function 'deorigin' in pkgdb= .rb. >=20 > Since I don't know the internals of portupgrade, I don't know if it's no= rmal=20 > to call 'deorigin' with its argument set to nil. If it is, then the patch= =20 > below might be useful (beware, I don't know any ruby, I've just tried=20 > something and it works), if it is not, I only can provide the stack (see= =20 > below) in order for maintainers to seek the faulty callers. Please talk to the port maintainer. Kris --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC0/YCWry0BWjoQKURApbvAJ97NA6Nj7maICLliXBNu0vtx6l33gCg9IzA VPQQTSGG0iuS5ddSbUT5/PI= =kc8f -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 17:31:35 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C00916A41C for ; Tue, 12 Jul 2005 17:31:35 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from srv-03.bs2.com.br (srv-03.bs2.com.br [200.203.183.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id C56C343D45 for ; Tue, 12 Jul 2005 17:31:34 +0000 (GMT) (envelope-from gpt@tirloni.org) Received: from localhost (localhost.bs2.com.br [127.0.0.1]) by srv-03.bs2.com.br (Postfix) with ESMTP id B56A94AD4E; Tue, 12 Jul 2005 14:31:49 -0300 (BRT) Received: from webmail.bs2.com.br (srv-01-j01.bs2.com.br [200.203.183.38]) by srv-03.bs2.com.br (Postfix) with ESMTP id 4B2E04AD47; Tue, 12 Jul 2005 14:31:49 -0300 (BRT) Received: from 200.138.88.6 (proxying for 172.16.12.100) (SquirrelMail authenticated user gpt@tirloni.org) by webmail.bs2.com.br with HTTP; Tue, 12 Jul 2005 14:31:28 -0300 (BRT) Message-ID: <53301.200.138.88.6.1121189488.squirrel@webmail.bs2.com.br> In-Reply-To: <00c401c586e8$f6173d60$c901a8c0@workdog> References: <1824.201.11.22.205.1121139035.squirrel@webmail.bs2.com.br> <00c401c586e8$f6173d60$c901a8c0@workdog> Date: Tue, 12 Jul 2005 14:31:28 -0300 (BRT) From: "Giovanni P. Tirloni" To: "Gayn Winters" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-hackers@freebsd.org Subject: RE: Odd ataraid situation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 17:31:35 -0000 Gayn Winters disse: > Gmirror (geom) will do it in anticipation of the second disk. In fact, > it is the recommended way to bootstrap a software mirror. Just do the > first couple steps of: > http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ > > Alternatively, do the first few steps of: > http://people.freebsd.org/~rse/mirror/ That worked, thank you and everybody that took the time to read this thread. -- Giovanni P. Tirloni From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 17:39:53 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4F8516A41C for ; Tue, 12 Jul 2005 17:39:53 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E21443D48 for ; Tue, 12 Jul 2005 17:39:52 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 371CC116F7; Tue, 12 Jul 2005 19:41:08 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 85981-10; Tue, 12 Jul 2005 19:41:02 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 5045911504; Tue, 12 Jul 2005 19:41:02 +0200 (CEST) From: Florent Thoumie To: Kris Kennaway In-Reply-To: <20050712165530.GA5475@xor.obsecurity.org> References: <200507102313.12719.olivier.certner@free.fr> <20050712165530.GA5475@xor.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-l+NeGjuVaVbPzyMqIbWO" Date: Tue, 12 Jul 2005 19:39:46 +0200 Message-Id: <1121189986.6598.1.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: Bug in portupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 17:39:53 -0000 --=-l+NeGjuVaVbPzyMqIbWO Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Le Mardi 12 juillet 2005 =E0 12:55 -0400, Kris Kennaway a =E9crit : > On Sun, Jul 10, 2005 at 11:13:12PM +0200, Olivier Certner wrote: > > Hi, > >=20 > > There is a bug with portupgrade when it is used to upgrade already com= piled=20 > > and installed ports for which some dependencies have been deleted in th= e=20 > > package database. This causes a crash in the function 'deorigin' in pkg= db.rb. > >=20 > > Since I don't know the internals of portupgrade, I don't know if it's = normal=20 > > to call 'deorigin' with its argument set to nil. If it is, then the pat= ch=20 > > below might be useful (beware, I don't know any ruby, I've just tried=20 > > something and it works), if it is not, I only can provide the stack (se= e=20 > > below) in order for maintainers to seek the faulty callers. >=20 > Please talk to the port maintainer. Yeah, and good luck :) Otherwise, he can try to pkgdb -F or remove pkgdb.rb and re-run=20 portupgrade. --=20 Florent Thoumie flz@xbsd.org --=-l+NeGjuVaVbPzyMqIbWO Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC1ABiMxEkbVFH3PQRApU1AJ0berI2vVL1EGZJx+4OtyTZ7gFLdwCfU3yp zsylrkQbQ4TCRdDZUg2KbZA= =fut6 -----END PGP SIGNATURE----- --=-l+NeGjuVaVbPzyMqIbWO-- From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 19:33:25 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D67216A41C for ; Tue, 12 Jul 2005 19:33:25 +0000 (GMT) (envelope-from lists@nbux.com) Received: from smtp7.wanadoo.fr (smtp7.wanadoo.fr [193.252.22.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D48F43D48 for ; Tue, 12 Jul 2005 19:33:23 +0000 (GMT) (envelope-from lists@nbux.com) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0707.wanadoo.fr (SMTP Server) with ESMTP id 7BA491800090 for ; Tue, 12 Jul 2005 21:33:22 +0200 (CEST) Received: from daneel.nbux.com (LNeuilly-152-22-15-131.w82-127.abo.wanadoo.fr [82.127.94.131]) by mwinf0707.wanadoo.fr (SMTP Server) with ESMTP id 5C2AC1800088 for ; Tue, 12 Jul 2005 21:33:22 +0200 (CEST) X-ME-UUID: 20050712193322377.5C2AC1800088@mwinf0707.wanadoo.fr Received: from webmail.nbux.com (daneel.nbux.com [192.168.42.2]) by daneel.nbux.com (Postfix) with ESMTP id 94A42164C1E for ; Tue, 12 Jul 2005 21:33:08 +0200 (CEST) Received: from 192.168.42.2 (SquirrelMail authenticated user lists) by webmail.nbux.com with HTTP; Tue, 12 Jul 2005 21:33:08 +0200 (CEST) Message-ID: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> Date: Tue, 12 Jul 2005 21:33:08 +0200 (CEST) From: "Christophe Yayon" To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at nbux.com Subject: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 19:33:25 -0000 Hi all, i know that we add already discuss about this problem, but is there any solution for this problem ? --- What's section on nagios website "FreeBSD and threads. On FreeBSD there's a native user-level implementation of threads called 'pthread' and there's also an optional ports collection 'linuxthreads' that uses kernel hooks. Some folks from Yahoo! have reported that using the pthread library causes Nagios to pause under heavy I/O load, causing some service check results to be lost. Switching to linuxthreads seems to help this problem, but not fix it. The lock happens in liblthread's __pthread_acquire() - it can't ever acquire the spinlock. It happens when the main thread forks to execute an active check. On the second fork to create the grandchild, the grandchild is created by fork, but never returns from liblthread's fork wrapper, because it's stuck in __pthread_acquire(). Maybe some FreeBSD users can help out with this problem." --- I have just upgraded to 5.4-STABLE but i encountered again the problem. Sometimes, there is a nagios forked child process which consume 100% of CPU. i have heard that there was perhaps a problem with libc_r reported by Luigi Rizzo on this list 06/22/2005, but no news since this date... My workaround is to have a cron job which run every hour and check if there is a bad nagios process and kill it... i know it's very ugly... Do you any solution or what could i do to get more trace when it happen ? sorry, but i am not familiar with ktrace like tools... If someone could help me to help nagios community on freebsd ;-) ? Thanks in advance. From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 21:24:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0970B16A41C for ; Tue, 12 Jul 2005 21:24:26 +0000 (GMT) (envelope-from mlobo@ocp.nlink.com.br) Received: from ocp.nlink.com.br (ocp.nlink.com.br [201.12.61.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A70943D48 for ; Tue, 12 Jul 2005 21:24:23 +0000 (GMT) (envelope-from mlobo@ocp.nlink.com.br) Received: (qmail 11574 invoked from network); 12 Jul 2005 21:24:15 -0000 Received: from unknown (HELO studio-too) (192.168.1.2) by ocp.nlink.com.br with SMTP; 12 Jul 2005 21:24:15 -0000 From: "Mario Lobo" To: John Von Essen Date: Tue, 12 Jul 2005 18:26:31 -0300 MIME-Version: 1.0 Message-ID: <42D40B57.2968.2A42E0@localhost> Priority: normal In-reply-to: <20050712104229.W50125@beck.quonix.net> References: <42D3A7A1.17453.488500C@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: Quoted-printable Content-description: Mail message body X-Antivirus: avast! (VPS 0528-2, 12/07/2005), Outbound message X-Antivirus-Status: Clean Cc: freebsd-hackers@freebsd.org, stsp@stsp.in-berlin.de, freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 21:24:26 -0000 That sounds close to what I need !! > > 1) rl0 -----------> router ----------> antenna ------> ISPx ------> i= nternet So would it be something like: route add -host ${ip.of.public.host} netmask 255.255.255.255 gateway ${ip.= of.rl0} is that correct? In this case that host will be "sacrificed", if rl0 is down. Do you have any suggestions on time or whois servers? Don't worry because the pings I send are standard 56 bytes long. Thanks John ! P.S. - I'm replying to your post from my home e-mail. I made the post from= my work e-mail. -- //| //|| // | // || -//--//--|| ARIO LOBO // // || --------------------------------- mlobo@ocp.nlink.com.br http://mariolobo.70d.com http://www.mallavoodoo.com.br > Mario, > > I think the only way to do what you want is to find two hosts on the > internet that don't conflict with what you do on a day to day basis. The= n > add custom routes for those two specific hosts, and with those routes, y= ou > force traffic through each NIC. > > A perfect example of two public servers would be time or whois servers. > Just be nice and dont ping too much (i.e., only send two "small" pings > every 2 minutes or something). > > -john > > On Tue, 12 Jul 2005, Mario Lobo wrote: > > > Yeah Stefan. They do take the default route. That is what I am already= doing. > > > > I even wrote a little prog using a variation of ping to do just that. > > > > The problem lies with the fact that, there is a router between my rl0 = and the internet. > > > > > > So the fact that i can ping the hop next to rl0 doesn=B4t mean the lin= k is up :(. > > > > That is why I NEED to ping something on the internet. > > > > Thanks, > > -- > > //| //|| > > // | // || > > -//--//---|| ARIO LOBO > > // // || > > --------------------------------- > > mario.lobo@ipad.com.br > > http://www.ipad.com.br > > > > > > On 12 Jul 2005 at 15:48, stsp@stsp.in-berlin.de wrote: > > > > > In case you got a static IP on rl0 from ISP x (and rl0 is up), > > > > > > ping -I www.google.com > > > > > > might help. > > > > > > Just a guess though. Packets might still take the default route, eve= n with -I. > > > > > > Good luck, > > > -- > > > stefan > > > http://stsp.in-berlin.de PGP Key: 0x= F59D25F0 > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebs= d.org" > > > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.= org" > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.or= g" > From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 21:37:55 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61C5C16A41C; Tue, 12 Jul 2005 21:37:55 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08A4143D46; Tue, 12 Jul 2005 21:37:54 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (localhost [127.0.0.1]) by beck.quonix.net (8.13.4/8.13.4) with ESMTP id j6CLbmSl070247; Tue, 12 Jul 2005 17:37:48 -0400 (EDT) Received: from localhost (essenz@localhost) by beck.quonix.net (8.13.4/8.13.4/Submit) with ESMTP id j6CLbmCt070244; Tue, 12 Jul 2005 17:37:48 -0400 (EDT) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Tue, 12 Jul 2005 17:37:48 -0400 (EDT) From: John Von Essen X-X-Sender: essenz@beck.quonix.net To: Mario Lobo In-Reply-To: <42D40B57.2968.2A42E0@localhost> Message-ID: <20050712173538.I60899@beck.quonix.net> References: <42D3A7A1.17453.488500C@localhost> <42D40B57.2968.2A42E0@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SpamAssassin-3.0.3-Score: -2.82/5.8 ALL_TRUSTED X-MimeDefang-2.51: beck.quonix.net X-Scanned-By: MIMEDefang 2.51 on 146.145.66.90 Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 21:37:55 -0000 Yep, that'll do it. Just choose two time servers that you would never need to use in real life. From google, you should be able to find a list of nearby public time servers. -john On Tue, 12 Jul 2005, Mario Lobo wrote: > That sounds close to what I need !! > > > > 1) rl0 -----------> router ----------> antenna ------> ISPx ------> = internet > > So would it be something like: > route add -host ${ip.of.public.host} netmask 255.255.255.255 gateway ${ip= =2Eof.rl0} > > is that correct? > > In this case that host will be "sacrificed", if rl0 is down. > > Do you have any suggestions on time or whois servers? Don't worry > because the pings I send are standard 56 bytes long. > > Thanks John ! > > P.S. - I'm replying to your post from my home e-mail. I made the post fro= m my work e-mail. > -- > //| //|| > // | // || > -//--//--|| ARIO LOBO > // // || > --------------------------------- > mlobo@ocp.nlink.com.br > http://mariolobo.70d.com > http://www.mallavoodoo.com.br > > > > Mario, > > > > I think the only way to do what you want is to find two hosts on the > > internet that don't conflict with what you do on a day to day basis. Th= en > > add custom routes for those two specific hosts, and with those routes, = you > > force traffic through each NIC. > > > > A perfect example of two public servers would be time or whois servers. > > Just be nice and dont ping too much (i.e., only send two "small" pings > > every 2 minutes or something). > > > > -john > > > > On Tue, 12 Jul 2005, Mario Lobo wrote: > > > > > Yeah Stefan. They do take the default route. That is what I am alread= y doing. > > > > > > I even wrote a little prog using a variation of ping to do just that. > > > > > > The problem lies with the fact that, there is a router between my rl0= and the internet. > > > > > > > > > > So the fact that i can ping the hop next to rl0 doesn=B4t mean the li= nk is up :(. > > > > > > That is why I NEED to ping something on the internet. > > > > > > Thanks, > > > -- > > > //| //|| > > > // | // || > > > -//--//---|| ARIO LOBO > > > // // || > > > --------------------------------- > > > mario.lobo@ipad.com.br > > > http://www.ipad.com.br > > > > > > > > > On 12 Jul 2005 at 15:48, stsp@stsp.in-berlin.de wrote: > > > > > > > In case you got a static IP on rl0 from ISP x (and rl0 is up), > > > > > > > > =09ping -I www.google.com > > > > > > > > might help. > > > > > > > > Just a guess though. Packets might still take the default route, ev= en with -I. > > > > > > > > Good luck, > > > > -- > > > > stefan > > > > http://stsp.in-berlin.de PGP Key: 0= xF59D25F0 > > > > _______________________________________________ > > > > freebsd-hackers@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freeb= sd.org" > > > > > > > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd= =2Eorg" > > > > > > > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" > > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > > From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 21:46:45 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7825A16A41C for ; Tue, 12 Jul 2005 21:46:45 +0000 (GMT) (envelope-from mlobo@ocp.nlink.com.br) Received: from ocp.nlink.com.br (ocp.nlink.com.br [201.12.61.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 7ECC543D46 for ; Tue, 12 Jul 2005 21:46:44 +0000 (GMT) (envelope-from mlobo@ocp.nlink.com.br) Received: (qmail 12323 invoked from network); 12 Jul 2005 21:46:42 -0000 Received: from unknown (HELO studio-too) (192.168.1.2) by ocp.nlink.com.br with SMTP; 12 Jul 2005 21:46:42 -0000 From: "Mario Lobo" To: freebsd-hackers@freebsd.org Date: Tue, 12 Jul 2005 18:48:59 -0300 MIME-Version: 1.0 Message-ID: <42D4109B.26476.3ED76D@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Antivirus: avast! (VPS 0528-2, 12/07/2005), Outbound message X-Antivirus-Status: Clean Subject: Re: Forcing a packet through an interface (OT?) (RESOLVED) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 21:46:45 -0000 Thanks to all that helped !! -- //| //|| // | // || -//--//--|| ARIO LOBO // // || --------------------------------- mlobo@ocp.nlink.com.br http://mariolobo.70d.com http://www.mallavoodoo.com.br From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 22:13:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7903B16A41C for ; Tue, 12 Jul 2005 22:13:56 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E21343D46 for ; Tue, 12 Jul 2005 22:13:55 +0000 (GMT) (envelope-from olivier.certner@free.fr) Received: from lon92-4-82-226-188-149.fbx.proxad.net (lon92-4-82-226-188-149.fbx.proxad.net [82.226.188.149]) by postfix4-1.free.fr (Postfix) with ESMTP id 1C8AB3187AE; Wed, 13 Jul 2005 00:13:54 +0200 (CEST) From: Olivier Certner To: Florent Thoumie Date: Wed, 13 Jul 2005 00:15:31 +0200 User-Agent: KMail/1.8.1 References: <200507102313.12719.olivier.certner@free.fr> <20050712165530.GA5475@xor.obsecurity.org> <1121189986.6598.1.camel@cream.xbsd.org> In-Reply-To: <1121189986.6598.1.camel@cream.xbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507130015.31521.olivier.certner@free.fr> Cc: freebsd-hackers@freebsd.org, koma2@lovepeers.org, Kris Kennaway Subject: Re: Bug in portupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 22:13:56 -0000 Le Mardi 12 Juillet 2005 19:39, Florent Thoumie a =E9crit=A0: > Le Mardi 12 juillet 2005 =E0 12:55 -0400, Kris Kennaway a =E9crit : > > On Sun, Jul 10, 2005 at 11:13:12PM +0200, Olivier Certner wrote: > > > Hi, > > > > > > There is a bug with portupgrade when it is used to upgrade already > > > compiled and installed ports for which some dependencies have been > > > deleted in the package database. This causes a crash in the function > > > 'deorigin' in pkgdb.rb. > > > > > > Since I don't know the internals of portupgrade, I don't know if it's > > > normal to call 'deorigin' with its argument set to nil. If it is, then > > > the patch below might be useful (beware, I don't know any ruby, I've > > > just tried something and it works), if it is not, I only can provide > > > the stack (see below) in order for maintainers to seek the faulty > > > callers. > > > > Please talk to the port maintainer. > > Yeah, and good luck :) > > Otherwise, he can try to pkgdb -F or remove pkgdb.rb and re-run > portupgrade. This doesn't work in fact. I'm forwarding these mails to the maintainer. Thanks, Olivier From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 22:14:51 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80BE716A41C for ; Tue, 12 Jul 2005 22:14:51 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9364543D46 for ; Tue, 12 Jul 2005 22:14:50 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from gothmog.gr (patr530-a178.otenet.gr [212.205.215.178]) by kane.otenet.gr (8.13.4/8.13.4/Debian-1) with ESMTP id j6CMEjwW025547; Wed, 13 Jul 2005 01:14:46 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j6CMEiBa001199; Wed, 13 Jul 2005 01:14:44 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j6CMEiJi001198; Wed, 13 Jul 2005 01:14:44 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Wed, 13 Jul 2005 01:14:44 +0300 From: Giorgos Keramidas To: Florent Thoumie Message-ID: <20050712221444.GA1180@gothmog.gr> References: <42D3E8D9.6020105@xbsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D3E8D9.6020105@xbsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 22:14:51 -0000 On 2005-07-12 17:59, Florent Thoumie wrote: > I'm currently working on OpenBGPd port update and I'm facing a little > problem that is actually quite painful to deal with. > > I need some macros from OpenBSD sys/queue.h which aren't present in > FreeBSD. I can replace #include with #include "queue.h" > and copy the file in the working directory but this leads to having > more than 10 patches. > > Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden > "dependency" (by hidden, I mean it's included by an included header > file, and doesn't show up directly in the source file). > > So, could somebody consider merging these SIMPLEQ_* macros or even > synchronize FreeBSD and OpenBSD versions ? OpenBSD tries to keep this header in sync with NetBSD, AFAICT from the cvs logs in their tree. I have the queue.h headers from all three on my disk and I'm already looking at the differences, so if you don't mind waiting 1-2 days so that I can run any changes through a buildworld I'll give it a try. If you have changes that depend on SIMPLEQ_* that could serve as a test case that you can share, it would be nice too :-) - Giorgos From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 05:06:26 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AD8516A41C; Wed, 13 Jul 2005 05:06:26 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4ED243D55; Wed, 13 Jul 2005 05:06:25 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id AC1521193A; Wed, 13 Jul 2005 07:07:44 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 92777-09; Wed, 13 Jul 2005 07:07:35 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id DD29211582; Wed, 13 Jul 2005 07:07:34 +0200 (CEST) From: Florent Thoumie To: Giorgos Keramidas In-Reply-To: <20050712221444.GA1180@gothmog.gr> References: <42D3E8D9.6020105@xbsd.org> <20050712221444.GA1180@gothmog.gr> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-4Qma1zTmtqFTHKQQvrKg" Date: Wed, 13 Jul 2005 07:06:16 +0200 Message-Id: <1121231176.6598.13.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 05:06:26 -0000 --=-4Qma1zTmtqFTHKQQvrKg Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Le Mercredi 13 juillet 2005 =E0 01:14 +0300, Giorgos Keramidas a =E9crit : > On 2005-07-12 17:59, Florent Thoumie wrote: > > I'm currently working on OpenBGPd port update and I'm facing a little > > problem that is actually quite painful to deal with. > > > > I need some macros from OpenBSD sys/queue.h which aren't present in > > FreeBSD. I can replace #include with #include "queue.h" > > and copy the file in the working directory but this leads to having > > more than 10 patches. > > > > Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden > > "dependency" (by hidden, I mean it's included by an included header > > file, and doesn't show up directly in the source file). > > > > So, could somebody consider merging these SIMPLEQ_* macros or even > > synchronize FreeBSD and OpenBSD versions ? >=20 > OpenBSD tries to keep this header in sync with NetBSD, AFAICT from the > cvs logs in their tree. >=20 > I have the queue.h headers from all three on my disk and I'm already > looking at the differences, so if you don't mind waiting 1-2 days so > that I can run any changes through a buildworld I'll give it a try. >=20 > If you have changes that depend on SIMPLEQ_* that could serve as a test > case that you can share, it would be nice too :-) I looked at the manual pages too quickly and like Kevin said,=20 they are the same as FreeBSD STAILQ_* macros. Thanks for volunteering anyway :) --=20 Florent Thoumie flz@xbsd.org --=-4Qma1zTmtqFTHKQQvrKg Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC1KFIMxEkbVFH3PQRAikUAJ9Wur6lO1sAxhvwiCGcQYxD/p/4PwCdGXw/ wSV+V/7luwADm6XPEyhUAsQ= =v6i/ -----END PGP SIGNATURE----- --=-4Qma1zTmtqFTHKQQvrKg-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 06:14:56 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB63316A41C for ; Wed, 13 Jul 2005 06:14:56 +0000 (GMT) (envelope-from kevlo@kevlo.org) Received: from ns.kpvs.tp.edu.tw (wiki.kpvs.tp.edu.tw [203.72.253.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7CC343D45 for ; Wed, 13 Jul 2005 06:14:55 +0000 (GMT) (envelope-from kevlo@kevlo.org) Received: from [192.168.3.122] (220-130-133-26.HINET-IP.hinet.net [220.130.133.26]) (authenticated bits=0) by ns.kpvs.tp.edu.tw (8.13.3/8.13.3) with ESMTP id j6DE3ci5024494 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 13 Jul 2005 14:03:54 GMT From: Kevin Lo To: freebsd-hackers@freebsd.org In-Reply-To: <42D3E8D9.6020105@xbsd.org> References: <42D3E8D9.6020105@xbsd.org> Content-Type: text/plain Date: Wed, 13 Jul 2005 14:16:22 +0800 Message-Id: <1121235382.3132.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) Content-Transfer-Encoding: 7bit Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 06:14:56 -0000 Florent Thoumie wrote: > I'm currently working on OpenBGPd port update and I'm facing a > little problem that is actually quite painful to deal with. > > I need some macros from OpenBSD sys/queue.h which aren't present > in FreeBSD. I can replace #include with #include > "queue.h" and copy the file in the working directory but this > leads to having more than 10 patches. > > Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a > hidden "dependency" (by hidden, I mean it's included by an > included header file, and doesn't show up directly in the source > file). > > So, could somebody consider merging these SIMPLEQ_* macros or > even synchronize FreeBSD and OpenBSD versions ? Aren't those SIMPLEQ_* macros the same with FreeBSD's STAILQ_* macros? > Regards. > > Note: This could have been posted to -current, I wasn't sure > which mailing list was the best. Kevin From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 09:51:03 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD32216A41C for ; Wed, 13 Jul 2005 09:51:03 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B70E43D4C for ; Wed, 13 Jul 2005 09:51:02 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id 0881E32211C; Wed, 13 Jul 2005 11:51:01 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id E0688405B; Wed, 13 Jul 2005 11:50:59 +0200 (CEST) Date: Wed, 13 Jul 2005 11:50:59 +0200 From: Jeremie Le Hen To: Christophe Yayon Message-ID: <20050713095059.GS39292@obiwan.tataz.chchile.org> References: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> User-Agent: Mutt/1.5.9i Cc: freebsd-hackers@freebsd.org Subject: Re: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 09:51:03 -0000 Hi Christophe, a quick glance at the archives whould have helped you. > i know that we add already discuss about this problem, but is there any > solution for this problem ? > > --- > What's section on nagios website > "FreeBSD and threads. On FreeBSD there's a native user-level > implementation of threads called 'pthread' and there's also an optional > ports collection 'linuxthreads' that uses kernel hooks. Some folks from > Yahoo! have reported that using the pthread library causes Nagios to pause > under heavy I/O load, causing some service check results to be lost. > Switching to linuxthreads seems to help this problem, but not fix it. The > lock happens in liblthread's __pthread_acquire() - it can't ever acquire > the spinlock. It happens when the main thread forks to execute an active > check. On the second fork to create the grandchild, the grandchild is > created by fork, but never returns from liblthread's fork wrapper, because > it's stuck in __pthread_acquire(). Maybe some FreeBSD users can help out > with this problem." > --- > > > I have just upgraded to 5.4-STABLE but i encountered again the problem. > Sometimes, there is a nagios forked child process which consume 100% of > CPU. > i have heard that there was perhaps a problem with libc_r reported by > Luigi Rizzo on this list 06/22/2005, but no news since this date... > > My workaround is to have a cron job which run every hour and check if > there is a bad nagios process and kill it... i know it's very ugly... > > Do you any solution or what could i do to get more trace when it happen ? > sorry, but i am not familiar with ktrace like tools... If someone could > help me to help nagios community on freebsd ;-) ? > > Thanks in advance. This thread should countain some answers : http://lists.freebsd.org/pipermail/freebsd-hackers/2005-June/012435.html Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 10:16:15 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EF6916A41C for ; Wed, 13 Jul 2005 10:16:15 +0000 (GMT) (envelope-from ravikrish@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0563C43D45 for ; Wed, 13 Jul 2005 10:16:14 +0000 (GMT) (envelope-from ravikrish@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so81380nzp for ; Wed, 13 Jul 2005 03:16:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uh6kY2TguoFrAyb/6I3p+NVxbaNcJ6joqDzMS6S2A2PPdovDS1iIOaRm8zt8JHCSS5o7+bWQS37rygGcdqXmAl9Rdwv5Wb3jUpEXf6muBi7cTf+EbK84WfqbNqItaANbfgkt73bqFKoiL43uMV053/59BKP98ncmmfd4VplrA68= Received: by 10.36.147.15 with SMTP id u15mr749426nzd; Wed, 13 Jul 2005 03:16:14 -0700 (PDT) Received: by 10.36.10.12 with HTTP; Wed, 13 Jul 2005 03:16:14 -0700 (PDT) Message-ID: <6669fd8605071303166b8c7f5a@mail.gmail.com> Date: Wed, 13 Jul 2005 15:46:14 +0530 From: Ravi Krishna To: freebsd-hackers@freebsd.org In-Reply-To: <85e04aca050712225152451d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <85e04aca050712093228e131da@mail.gmail.com> <85e04aca050712225152451d@mail.gmail.com> Subject: QLogic ISP 2322 driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ravi Krishna List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 10:16:15 -0000 Hi, I am running FreeBSD 5.3 and have recently added QLogic ISP 2322 PCI FC-AL Adapter to the system to add a Fibre Channel shelf but I am not able to find a suitable driver for it. I tried using isp.ko which works for ISP 2312 for this device but landed up with this error: isp0: port 0x2100-0x21ff mem 0xc02c1000-0xc02c1fff irq 52 at device 2.0 on pci3 isp0: [GIANT-LOCKED] NMI watchdog detects starvation on cpu with count 16 handling NMI in trap as a fault kernel trap 19 with interrupts disabled NMI ... going to debugger Is there any other driver (MP-safe) available for this device? I am running Intel Xeon 2.4GHz machine (HT enabled) with 1GB of RAM Thanks and Regards, Ravi From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 10:23:39 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A9B516A41C for ; Wed, 13 Jul 2005 10:23:39 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15007.mail.cnb.yahoo.com (web15007.mail.cnb.yahoo.com [202.165.103.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 4001E43D55 for ; Wed, 13 Jul 2005 10:23:37 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 45804 invoked by uid 60001); 13 Jul 2005 10:23:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JpL9hFbHqfvQDyxRbmheEGES/UkP6L64zGgQuM9mqAPT62Nj8+lLmA/w5hYN+7Wydq3F3kZptdpYTW+urP5F+1AJGG9dYF+eleuCydrWTYGD8o/aGhgaqc+Jp7OPA7G1JpvGjE1BmAzwsg/X9YEXW7IvfouAy6g3A4KqIiEF/Es= ; Message-ID: <20050713102336.45802.qmail@web15007.mail.cnb.yahoo.com> Received: from [61.187.54.10] by web15007.mail.cnb.yahoo.com via HTTP; Wed, 13 Jul 2005 18:23:36 CST Date: Wed, 13 Jul 2005 18:23:36 +0800 (CST) From: Jone Jas To: Alex Lyashkov In-Reply-To: <1121231035.4344.10.camel@berloga.shadowland> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd hackers Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 10:23:39 -0000 Alex Lyashkov дµÀ£º §£ §³§â§Õ, 13.07.2005, §Ó 06:42, Jone Jas §á§Ú§ê§Ö§ä: > > Alex Lyashkov дµÀ£º > §£ §£§ä§â, 12.07.2005, §Ó 16:03, Vlad GALU §á§Ú§ê§Ö§ä: > > On 7/12/05, Jone Jas wrote: > > > Thanks for your reply. I googled and found this method but > I just > > > did not have a try. > > > As for the code-hacking method I mentioned, anyone with > any idea > > > is appreciated! > > > > > > See ufs_quota.c, especially chkdqchg(). It is passed a > struct > > ucred* parameter, which contains a struct prison* pointer. > So I assume > > you can make your decision based on that. Of course, the > userland > > quota management tools and the jail utilities need to be > made aware of > > the kernel changes. > > > > -- > >if you compile kernel without QUOTA support it been disabled. > >I think, more correctly way implement jail disk limit as > parallel >for disk quota function. > > > IMHO, we can use a sysctl variable to control the > functionality. >option QUOTA? or jail disklimit? I mean jail disk limit >for jail disklimit more easy create tools who controled all limits >for jail. >Look to LinuxVServer project (www.linux-vserver.org) or >FreeVPS. Sure. The tools may control all limits such as cpu time, memory, bandwidth, disk space, etc. I have read the Linux VServer dlimit code. But I am not very sure where to put the hooks for inode/blocks control of jail in FreeBSD. This is why I open this thread. Vlad GALU said I can look to the quota method. I will try. Thanks. -- FreeVPS Developers Team http://www.freevps.com --------------------------------- DO YOU YAHOO!? ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 10:38:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1466B16A41C for ; Wed, 13 Jul 2005 10:38:37 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id A730F43D45 for ; Wed, 13 Jul 2005 10:38:36 +0000 (GMT) (envelope-from vladgalu@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so86629nzk for ; Wed, 13 Jul 2005 03:38:36 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D6L8fDYMsMOM2Bi6X466XPc4mqi8BzGaeRsBZYFeiZI8RV6nxJ/STqzJHWbimTaJFCOSiIR/HvSHfeatb7iYIqGi6zUdi+EmUqya2sKMRqg0H7cP805B2v+nKGkvQkI8qhHuWJhGzmzS397GBTT7Dw91DsHClkp68coAo6Kq4qY= Received: by 10.36.103.20 with SMTP id a20mr687549nzc; Wed, 13 Jul 2005 03:38:35 -0700 (PDT) Received: by 10.36.86.4 with HTTP; Wed, 13 Jul 2005 03:38:35 -0700 (PDT) Message-ID: <79722fad05071303383a75e685@mail.gmail.com> Date: Wed, 13 Jul 2005 13:38:35 +0300 From: Vlad GALU To: Jone Jas In-Reply-To: <20050713102336.45802.qmail@web15007.mail.cnb.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <1121231035.4344.10.camel@berloga.shadowland> <20050713102336.45802.qmail@web15007.mail.cnb.yahoo.com> Cc: freebsd hackers , Alex Lyashkov Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vlad GALU List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 10:38:37 -0000 T24gNy8xMy8wNSwgSm9uZSBKYXMgPGphc19hcmxlcnJAeWFob28uY29tLmNuPiB3cm90ZToKPiAK PiAKPiBBbGV4IEx5YXNoa292IDxzaGFkb3dAcHNvZnQubmV0PiDQtLXAo7oKPiCnoyCns6fip9Us IDEzLjA3LjIwMDUsIKfTIDA2OjQyLCBKb25lIEphcyCn4afap+qn1qfkOgo+ID4KPiA+IEFsZXgg THlhc2hrb3Yg0LS1wKO6Cj4gPiCnoyCno6fkp+IsIDEyLjA3LjIwMDUsIKfTIDE2OjAzLCBWbGFk IEdBTFUgp+Gn2qfqp9an5DoKPiA+ID4gT24gNy8xMi8wNSwgSm9uZSBKYXMgd3JvdGU6Cj4gPiA+ ID4gVGhhbmtzIGZvciB5b3VyIHJlcGx5LiBJIGdvb2dsZWQgYW5kIGZvdW5kIHRoaXMgbWV0aG9k IGJ1dAo+ID4gSSBqdXN0Cj4gPiA+ID4gZGlkIG5vdCBoYXZlIGEgdHJ5Lgo+ID4gPiA+IEFzIGZv ciB0aGUgY29kZS1oYWNraW5nIG1ldGhvZCBJIG1lbnRpb25lZCwgYW55b25lIHdpdGgKPiA+IGFu eSBpZGVhCj4gPiA+ID4gaXMgYXBwcmVjaWF0ZWQhCj4gPiA+Cj4gPiA+Cj4gPiA+IFNlZSB1ZnNf cXVvdGEuYywgZXNwZWNpYWxseSBjaGtkcWNoZygpLiBJdCBpcyBwYXNzZWQgYQo+ID4gc3RydWN0 Cj4gPiA+IHVjcmVkKiBwYXJhbWV0ZXIsIHdoaWNoIGNvbnRhaW5zIGEgc3RydWN0IHByaXNvbiog cG9pbnRlci4KPiA+IFNvIEkgYXNzdW1lCj4gPiA+IHlvdSBjYW4gbWFrZSB5b3VyIGRlY2lzaW9u IGJhc2VkIG9uIHRoYXQuIE9mIGNvdXJzZSwgdGhlCj4gPiB1c2VybGFuZAo+ID4gPiBxdW90YSBt YW5hZ2VtZW50IHRvb2xzIGFuZCB0aGUgamFpbCB1dGlsaXRpZXMgbmVlZCB0byBiZQo+ID4gbWFk ZSBhd2FyZSBvZgo+ID4gPiB0aGUga2VybmVsIGNoYW5nZXMuCj4gPiA+Cj4gPiA+IC0tCj4gPiA+ aWYgeW91IGNvbXBpbGUga2VybmVsIHdpdGhvdXQgUVVPVEEgc3VwcG9ydCBpdCBiZWVuIGRpc2Fi bGVkLgo+ID4gPkkgdGhpbmssIG1vcmUgY29ycmVjdGx5IHdheSBpbXBsZW1lbnQgamFpbCBkaXNr IGxpbWl0IGFzCj4gPiBwYXJhbGxlbCA+Zm9yIGRpc2sgcXVvdGEgZnVuY3Rpb24uCj4gPgo+ID4K PiA+IElNSE8sIHdlIGNhbiB1c2UgYSBzeXNjdGwgdmFyaWFibGUgdG8gY29udHJvbCB0aGUKPiA+ IGZ1bmN0aW9uYWxpdHkuCj4gCj4gCj4gPm9wdGlvbiBRVU9UQT8gb3IgamFpbCBkaXNrbGltaXQ/ Cj4gSSBtZWFuIGphaWwgZGlzayBsaW1pdAo+IAo+ID5mb3IgamFpbCBkaXNrbGltaXQgbW9yZSBl YXN5IGNyZWF0ZSB0b29scyB3aG8gY29udHJvbGVkIGFsbCBsaW1pdHMgPmZvciBqYWlsLgo+ID5M b29rIHRvIExpbnV4VlNlcnZlciBwcm9qZWN0ICh3d3cubGludXgtdnNlcnZlci5vcmcpIG9yID5G cmVlVlBTLgo+IFN1cmUuIFRoZSB0b29scyBtYXkgY29udHJvbCBhbGwgbGltaXRzIHN1Y2ggYXMg Y3B1IHRpbWUsIG1lbW9yeSwgYmFuZHdpZHRoLCBkaXNrIHNwYWNlLCBldGMuIEkgaGF2ZSByZWFk IHRoZSBMaW51eCBWU2VydmVyIGRsaW1pdCBjb2RlLiBCdXQgSSBhbSBub3QgdmVyeSBzdXJlIHdo ZXJlIHRvIHB1dCB0aGUgaG9va3MgZm9yIGlub2RlL2Jsb2NrcyBjb250cm9sIG9mIGphaWwgaW4g RnJlZUJTRC4gVGhpcyBpcyB3aHkgSSBvcGVuIHRoaXMgdGhyZWFkLiBWbGFkIEdBTFUgc2FpZCBJ IGNhbiBsb29rIHRvIHRoZSBxdW90YSBtZXRob2QuIEkgd2lsbCB0cnkuIFRoYW5rcy4KCiAgIEl0 IHdpbGwgbW9zdCBwcm9iYWJseSBiZSB0cmlja3ksIGJlY2F1c2UgeW91IGNhbiBwcmFjdGljYWxs eSBoYXZlCnRoZSBzYW1lIHVpZCBpbiBib3RoIHdvcmxkcyAodGhlIGhvc3QgYW5kIHRoZSBqYWls KSB3aXRoIGRpZmZlcmVudApxdW90YSBzZXR0aW5ncyBtYXBwZWQgdG8gaXQuIFNvIHVwb24gZ3Jh bnRpbmcgZnMgcmVzb3VyY2VzIHlvdSdkIGhhdmUKdG8gY2hlY2sgd2hpY2ggJ3dvcmxkJyB0aGUg cmVxdWVzdCBjYW1lIGZyb20uIElmIHRoZSBxdW90YSBmb3IgdGhhdAp3b3JsZCBpc24ndCBvdmVy ZHVlLCB5b3UgY2hlY2sgZm9yIHRoYXQgdWlkJ3MgcXVvdGEgaW5zaWRlIHRoYXQgd29ybGQKYW5k IGlmIHRoYXQncyBzdGlsbCBPSyB5b3UgZ3JhbnQgdGhlIHJlc291cmNlLiBZb3Ugd2lsbCBwcm9i YWJseSBoYXZlCnRvIGFkZCBhbiBleHRyYSBtZW1iZXIgdG8gdGhlIHByaXNvbiBzdHJ1Y3R1cmUs IHRvIGhvbGQgdGhlIGdsb2JhbApxdW90YSBmb3IgdGhhdCBqYWlsLgoKPiAtLQo+IEZyZWVWUFMg RGV2ZWxvcGVycyBUZWFtIGh0dHA6Ly93d3cuZnJlZXZwcy5jb20KPiAKPiAKPiAKPiAKPiAKPiAt LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0KPiBETyBZT1UgWUFIT08hPwo+ICAg0cW7 osPit9FH08rP5KOt1tC5+rXa0ru++M7ewKy7+NPKvP7Jp8jFs6y089PKz+QKPiBfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwo+IGZyZWVic2QtaGFja2Vyc0Bm cmVlYnNkLm9yZyBtYWlsaW5nIGxpc3QKPiBodHRwOi8vbGlzdHMuZnJlZWJzZC5vcmcvbWFpbG1h bi9saXN0aW5mby9mcmVlYnNkLWhhY2tlcnMKPiBUbyB1bnN1YnNjcmliZSwgc2VuZCBhbnkgbWFp bCB0byAiZnJlZWJzZC1oYWNrZXJzLXVuc3Vic2NyaWJlQGZyZWVic2Qub3JnIgo+IAoKCi0tIApJ ZiBpdCdzIHRoZXJlLCBhbmQgeW91IGNhbiBzZWUgaXQsIGl0J3MgcmVhbC4KSWYgaXQncyBub3Qg dGhlcmUsIGFuZCB5b3UgY2FuIHNlZSBpdCwgaXQncyB2aXJ0dWFsLgpJZiBpdCdzIHRoZXJlLCBh bmQgeW91IGNhbid0IHNlZSBpdCwgaXQncyB0cmFuc3BhcmVudC4KSWYgaXQncyBub3QgdGhlcmUs IGFuZCB5b3UgY2FuJ3Qgc2VlIGl0LCB5b3UgZXJhc2VkIGl0Lgo= From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 13:24:42 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 463BB16A41C for ; Tue, 12 Jul 2005 13:24:42 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from mail.helenmarks.co.uk (mail.helenmarks.co.uk [82.68.196.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AB943D48 for ; Tue, 12 Jul 2005 13:24:40 +0000 (GMT) (envelope-from dom@goodforbusiness.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id 144BB2710C01; Tue, 12 Jul 2005 14:24:40 +0100 (BST) Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 68216-07; Tue, 12 Jul 2005 14:24:37 +0100 (BST) Received: from egg (egg.helenmarks.co.uk [192.168.15.3]) by mail.helenmarks.co.uk (Postfix) with ESMTP id DB5822710C03; Tue, 12 Jul 2005 14:24:36 +0100 (BST) From: Dominic Marks To: Robert Atkinson Date: Tue, 12 Jul 2005 14:27:07 +0100 User-Agent: KMail/1.8 References: <20050712095048.60122.qmail@web15007.mail.cnb.yahoo.com> <200507121114.42653.dom@goodforbusiness.co.uk> <6fb2b46505071205442c5b79b@mail.gmail.com> In-Reply-To: <6fb2b46505071205442c5b79b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507121427.07823.dom@goodforbusiness.co.uk> X-Virus-Scanned: By ClamAV 0.85.1 X-Mailman-Approved-At: Wed, 13 Jul 2005 12:13:28 +0000 Cc: freebsd-hackers@freebsd.org, Jone Jas Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 13:24:42 -0000 On Tuesday 12 July 2005 13:44, Robert Atkinson wrote: > On 7/12/05, Dominic Marks wrote: > > On Tuesday 12 July 2005 10:50, Jone Jas wrote: > > > Hi hackers, > > > As far as I know, there is no limit of the disk space that a jail > > > can use. As for the Linux VServer(similar to jail), its dlimit > > > does such thing for the "security context". I read the dlimit > > > code and find that it achieves that by limiting the number of > > > inodes and data blocks the vserver can get. The hooks are > > > inserted in the functions such as ext2_new_inode, > > > ext2_free_inode, ext2_new_block and ext2_free_block. My question > > > is if we can do such thing to the jail. If so, where should we > > > insert the hooks? It seems that the FreeBSD inode/block > > > allocation/free functions are not so explicit as Linux. There are > > > serveral places, I'm not sure which are the correct ones: for > > > inodes: ffs_valloc, ffs_vfree > > > for blocks: ffs_alloc, ffs_freeblk, > > > or ufs_balloc_ufs1/2 > > > > > > Any reply or hints is appreciated! > > > Regards! > > > > One method which does not require hacking any code: > > > > # dd if=3D/dev/zero of=3Djail.file bs=3D1k count=3D1m > > 1048576+0 records in > > 1048576+0 records out > > 1073741824 bytes transferred in 23.940393 secs (44850635 bytes/sec) > > > > # ls -lh jail.file > > -rw-r--r-- 1 dom dom 1.0G Jul 12 11:08 jail.file > > > > # mdconfig -a -t vnode -f jail.file > > md0 > > > > # newfs -U /dev/md0 > > /dev/md0: 1024.0MB (2097152 sectors) block size 16384, fragment > > size 2048 > > using 6 cylinder groups of 183.44MB, 11740 blks, 23488 inodes. > > with soft updates > > super-block backups (for fsck -b #) at: > > 160, 375840, 751520, 1127200, 1502880, 1878560 > > > > # mount /dev/md0 /mnt > > > > # df -ih > > Filesystem Size Used Avail Capacity iused ifree %iused Mounted on > > /dev/md0 989M 4.0K 910M 0% 2 140924 0% /mnt > > > > Now just install your jail into /mnt and it will be confined to the > > size of disc you create. Expect slightly reduced disc performance > > using this technique. > > Under 4.X there doesn't appear to be much loss at all, but with 5.X > the difference is -huge-. =46or most (of my) applications the limiting factor is not sequential IO. It is not ideal, but I think you'll find that most jails performance is not impacted too much by this, I suppose it all depends what you are doing in your jails. If you need full-speed access there is a workaround. Create your jail-in-a-file system, before 'booting' it use a nullfs mount to map a local filesystem inside your jail. Use this filesystem for your IO heavy tasks. This way you can fit each jail-in-a-file system in 128MB or 256MB depending on how many packages you require. The area you map in should be its own partition which is sized appropriately, or you get back to where you started. That is not to say that I wouldn't like it to be fixed. > A topic came in about a month ago, and I saw a long list of > performance tests that 4.X seemed to have nearly twice the speed of 5 > (VN versus MD). > > Nothing we tried was able to get MD up to par. > > > Jas > > > > > --------------------------------- > > > DO YOU YAHOO!? > > > =E9=9B=85=E8=99=8E=E5=85=8D=E8=B4=B9G=E9=82=AE=E7=AE=B1=EF=BC=8D=E4= =B8=AD=E5=9B=BD=E7=AC=AC=E4=B8=80=E7=BB=9D=E6=97=A0=E5=9E=83=E5=9C=BE=E9=82= =AE=E4=BB=B6=E9=AA=9A=E6=89=B0=E8=B6=85=E5=A4=A7=E9=82=AE=E7=AE=B1 > > > _______________________________________________ > > > freebsd-hackers@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > > To unsubscribe, send any mail to > > > "freebsd-hackers-unsubscribe@freebsd.org" > > > > HTH, > > -- > > Dominic Marks > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org" =2D-=20 Dominic Marks From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 15:18:14 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CFD716A41C; Tue, 12 Jul 2005 15:18:14 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id D596243D4C; Tue, 12 Jul 2005 15:18:13 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out4.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 12 Jul 2005 16:18:56 +0100 Message-ID: <42D3DF33.9090709@dial.pipex.com> Date: Tue, 12 Jul 2005 16:18:11 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: mario.lobo@ipad.com.br References: <42D38178.8740.3F340A6@localhost> <42D3A7A1.17453.488500C@localhost> In-Reply-To: <42D3A7A1.17453.488500C@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 12 Jul 2005 15:18:56.0069 (UTC) FILETIME=[051AF750:01C586F5] X-Mailman-Approved-At: Wed, 13 Jul 2005 12:13:28 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-questions Question Subject: Re: Forcing a packet through an interface (OT?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 15:18:14 -0000 Mario Lobo wrote: >Yeah Stefan. They do take the default route. That is what I am already d= oing. > >I even wrote a little prog using a variation of ping to do just that. > >The problem lies with the fact that, there is a router between my rl0 an= d the internet. > >1) rl0 -----------> router ----------> antenna ------> ISPx ------> int= ernet > >So the fact that i can ping the hop next to rl0 doesn=B4t mean the link = is up :(. > >That is why I NEED to ping something on the internet. > =20 > I don't think so. You can follow Chad Leigh's advice and ping a router=20 on your ISP. Figure out where your packets through ISP1 are routed (try = traceroute) and then add a static route through ethernet1 to that=20 router. You can do similar for ISP2. Then a ping of either router will = always try to go through the network card appropriate to that ISP. --Alex From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 12 16:40:40 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C9716A41C for ; Tue, 12 Jul 2005 16:40:40 +0000 (GMT) (envelope-from mathurank@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 156BC43D49 for ; Tue, 12 Jul 2005 16:40:39 +0000 (GMT) (envelope-from mathurank@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so1057329wri for ; Tue, 12 Jul 2005 09:40:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VXuWdhveqc9S1/Ida31cKyZXw8uLffzJBQp3SWTUFRiOODcRp/IyqEYWat8lzo/+bphgp8Cx30K/yfDKp2IGvRPYFrxnyhj4Emz112jYevzzbHsQstQ0D4vmZQ3OgxeZoINt89nR9GesLxrF2k5TJIWji0IOJdW+XmFYwEapT8o= Received: by 10.54.32.69 with SMTP id f69mr3105761wrf; Tue, 12 Jul 2005 09:32:22 -0700 (PDT) Received: by 10.54.115.18 with HTTP; Tue, 12 Jul 2005 09:32:22 -0700 (PDT) Message-ID: <85e04aca050712093228e131da@mail.gmail.com> Date: Tue, 12 Jul 2005 22:02:22 +0530 From: Ankit Mathur To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Mailman-Approved-At: Wed, 13 Jul 2005 12:13:28 +0000 Subject: QLogic ISP 2322 driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ankit Mathur List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 16:40:40 -0000 Hi, I am running FreeBSD 5.3 and have recently added QLogic ISP 2322 PCI FC-AL Adapter to the system to add a Fibre Channel shelf but I am not able to find a suitable driver for it. I tried using isp.ko which works for ISP 2312 for this device but landed up with this error: isp0: port 0x2100-0x21ff mem 0xc02c1000-0xc02c1fff irq 52 at device 2.0 on pci3 isp0: [GIANT-LOCKED] NMI watchdog detects starvation on cpu with count 16 handling NMI in trap as a fault kernel trap 19 with interrupts disabled NMI ... going to debugger Is there any other driver (MP-safe) available for this device? I am running Intel Xeon 2.4GHz machine (HT enabled) with 1GB of RAM Thanks and Regards, Ankit From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 12:17:24 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FE9816A41F for ; Wed, 13 Jul 2005 12:17:24 +0000 (GMT) (envelope-from lists@nbux.com) Received: from smtp6.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5A1943D49 for ; Wed, 13 Jul 2005 12:17:23 +0000 (GMT) (envelope-from lists@nbux.com) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0602.wanadoo.fr (SMTP Server) with ESMTP id 5F9FE1C000D6 for ; Wed, 13 Jul 2005 14:17:22 +0200 (CEST) Received: from daneel.nbux.com (LNeuilly-152-22-15-131.w82-127.abo.wanadoo.fr [82.127.94.131]) by mwinf0602.wanadoo.fr (SMTP Server) with ESMTP id 3A10B1C000C8; Wed, 13 Jul 2005 14:17:22 +0200 (CEST) X-ME-UUID: 20050713121722237.3A10B1C000C8@mwinf0602.wanadoo.fr Received: from webmail.nbux.com (daneel.nbux.com [192.168.42.2]) by daneel.nbux.com (Postfix) with ESMTP id 7BECE167CEC; Wed, 13 Jul 2005 14:17:15 +0200 (CEST) Received: from 194.51.215.62 (SquirrelMail authenticated user lists) by webmail.nbux.com with HTTP; Wed, 13 Jul 2005 14:17:15 +0200 (CEST) Message-ID: <44776.194.51.215.62.1121257035.squirrel@webmail.nbux.com> In-Reply-To: <20050713095059.GS39292@obiwan.tataz.chchile.org> References: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> <20050713095059.GS39292@obiwan.tataz.chchile.org> Date: Wed, 13 Jul 2005 14:17:15 +0200 (CEST) From: "Christophe Yayon" To: "Jeremie Le Hen" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at nbux.com Cc: freebsd-hackers@freebsd.org, Christophe Yayon Subject: Re: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 12:17:24 -0000 Hi, Yes but if i understand, there is a bug in libc_r on FreeBSD ? > Hi Christophe, > > a quick glance at the archives whould have helped you. > >> i know that we add already discuss about this problem, but is there any >> solution for this problem ? >> >> --- >> What's section on nagios website >> "FreeBSD and threads. On FreeBSD there's a native user-level >> implementation of threads called 'pthread' and there's also an optional >> ports collection 'linuxthreads' that uses kernel hooks. Some folks from >> Yahoo! have reported that using the pthread library causes Nagios to >> pause >> under heavy I/O load, causing some service check results to be lost. >> Switching to linuxthreads seems to help this problem, but not fix it. >> The >> lock happens in liblthread's __pthread_acquire() - it can't ever acquire >> the spinlock. It happens when the main thread forks to execute an active >> check. On the second fork to create the grandchild, the grandchild is >> created by fork, but never returns from liblthread's fork wrapper, >> because >> it's stuck in __pthread_acquire(). Maybe some FreeBSD users can help out >> with this problem." >> --- >> >> >> I have just upgraded to 5.4-STABLE but i encountered again the problem. >> Sometimes, there is a nagios forked child process which consume 100% of >> CPU. >> i have heard that there was perhaps a problem with libc_r reported by >> Luigi Rizzo on this list 06/22/2005, but no news since this date... >> >> My workaround is to have a cron job which run every hour and check if >> there is a bad nagios process and kill it... i know it's very ugly... >> >> Do you any solution or what could i do to get more trace when it happen >> ? >> sorry, but i am not familiar with ktrace like tools... If someone could >> help me to help nagios community on freebsd ;-) ? >> >> Thanks in advance. > > This thread should countain some answers : > http://lists.freebsd.org/pipermail/freebsd-hackers/2005-June/012435.html > > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 12:47:02 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEB1316A41C for ; Wed, 13 Jul 2005 12:47:02 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 539AD43D48 for ; Wed, 13 Jul 2005 12:47:02 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id 36423322018; Wed, 13 Jul 2005 14:47:00 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 33A5A405B; Wed, 13 Jul 2005 14:46:58 +0200 (CEST) Date: Wed, 13 Jul 2005 14:46:58 +0200 From: Jeremie Le Hen To: Christophe Yayon Message-ID: <20050713124658.GU39292@obiwan.tataz.chchile.org> References: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> <20050713095059.GS39292@obiwan.tataz.chchile.org> <44776.194.51.215.62.1121257035.squirrel@webmail.nbux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44776.194.51.215.62.1121257035.squirrel@webmail.nbux.com> User-Agent: Mutt/1.5.9i Cc: freebsd-hackers@freebsd.org Subject: Re: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 12:47:02 -0000 Christophe, > Yes but if i understand, there is a bug in libc_r on FreeBSD ? libc_r indeed has some kind of bug, I don't know. Anyhow, you are using RELENG_5, so you should be using native threads with either libpthread (libkse, M:N) or libthr (1:1). I don't know what Nagios does just after fork(2), it would be worth to check. It appears that fork(2)ing without exec(2)ing or _exit(2)ing in a pthreaded program is not a "valid" behaviour, regarding to SUSv3 [1]. I don't want to avoid admitting there is a problem in FreeBSD threading library, I don't know how other OSes handle this, but Nagios folks should really avoid doing what is explicitely dissuaded in SUSv3. For now, it doesn't resolve your problem unfortunately. [1] http://www.opengroup.org/onlinepubs/009695399/functions/pthread_atfork.html (look at the "RATIONALE" section) -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 12:51:48 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 359B316A41C for ; Wed, 13 Jul 2005 12:51:48 +0000 (GMT) (envelope-from c0de@bsdmail.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EDB243D55 for ; Wed, 13 Jul 2005 12:51:46 +0000 (GMT) (envelope-from c0de@bsdmail.com) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 9D7C9180013F for ; Wed, 13 Jul 2005 12:51:46 +0000 (GMT) X-OB-Received: from unknown (205.158.62.133) by wfilter.us4.outblaze.com; 13 Jul 2005 12:51:46 -0000 Received: by ws5-3.us4.outblaze.com (Postfix, from userid 1001) id 900DD23D05; Wed, 13 Jul 2005 12:51:46 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Received: from [194.146.123.161] by ws5-3.us4.outblaze.com with http for c0de@bsdmail.com; Wed, 13 Jul 2005 20:51:46 +0800 From: "john wu" To: freebsd-hackers@freebsd.org Date: Wed, 13 Jul 2005 20:51:46 +0800 X-Originating-Ip: 194.146.123.161 X-Originating-Server: ws5-3.us4.outblaze.com Message-Id: <20050713125146.900DD23D05@ws5-3.us4.outblaze.com> Subject: ieee80211_send_mgmt / ieee80211_mgmt_output X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 12:51:48 -0000 hello list, i want to write a userland program for sending ieee80211 mgmt packets. this= idea is not new, first seen around 2002 by dachb0denlabs with openbsd kern= el patches.=20 (ok, first seen, there was this linux lib by packetfactory ;) the last years more and more stuff was released in the linux sector, void11= ...bla... i didn't have succ. with porting of the dachb0denlabs kernel patches for op= enbsd to freebsd(around 2002), the beast did sent out s.o.m.e.t.h.i.n.g but= not realy what i wanted it to. so now its time for me to try it aggain. well, i think the most answers i might get here to this post ll be somethin= g like, "uargh, dude - the kernel handels this stuff, and this it good, so = leave it as it is", "guess why you can't do ifunit() from userland"... etc. I TOTALY AGREE WITH THAT ! ;) so i need a Quick/Fast/Dirty hack for this purpose, using or rape most of t= he "already there" kernel functions like ieee80211_send_mgmt(). - please, any ideas (where to place the scalpel) best ? - would it be easier to patch the bpf write, so that it supports not only E= thernet and Slip writes Links ? ps. i lost the dachb0denlabs patches over the years, i think they've never = been officialy released, so it might also help if anyone can make them avar= ible for me... pps. sorry for bad english ANY ideas welcome --=20 _______________________________________________ Get your free email from http://mymail.bsdmail.com From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 13:23:01 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A26816A41C for ; Wed, 13 Jul 2005 13:23:01 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15006.mail.cnb.yahoo.com (web15006.mail.cnb.yahoo.com [202.165.103.63]) by mx1.FreeBSD.org (Postfix) with SMTP id 92D5D43D48 for ; Wed, 13 Jul 2005 13:22:59 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 2924 invoked by uid 60001); 13 Jul 2005 13:22:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hTKvsQ9O43y+waBqsVDlOP5TmZXLw6s9trYuTjhcuB5zjNw/jKECKDG8MSoj6469uLpidDXEbBVQVvXuzWgb794Yh23zaduSaYMxMwQ1vCOxK/5TIGMKsxU0RPWcp/qNW58Er4GOBzmqt78hIST4PUXkPywNp831Vb8psn+Nilo= ; Message-ID: <20050713132258.2922.qmail@web15006.mail.cnb.yahoo.com> Received: from [61.187.54.10] by web15006.mail.cnb.yahoo.com via HTTP; Wed, 13 Jul 2005 21:22:58 CST Date: Wed, 13 Jul 2005 21:22:58 +0800 (CST) From: Jone Jas To: Alex Lyashkov In-Reply-To: <1121251419.8832.14.camel@berloga.shadowland> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd hackers Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 13:23:01 -0000 Alex Lyashkov дµÀ£º > >option QUOTA? or jail disklimit? > I mean jail disk limit > > >for jail disklimit more easy create tools who controled all > limits >for jail. > >Look to LinuxVServer project (www.linux-vserver.org) or > >FreeVPS. > Sure. The tools may control all limits such as cpu time, > memory, bandwidth, disk space, etc. I have read the Linux > VServer dlimit code. But I am not very sure where to put the > hooks for inode/blocks control of jail in FreeBSD. This is why > I open this thread. Vlad GALU said I can look to the quota > method. I will try. Thanks. > -- >If you look into quota function you can see it called from >inode/blocks allocation/deallocation code at same points you >can install disklimits hooks. >I can`t find any benefit add new quota type (total size used at >jail) - this way was used at early version Linux VServer but >have are one problem - more difficult create separated per jail >diskquota. I am really not aware of this. Are there some conflicts? >If you create disklimit separated from quota code you can >easy add quota hash ptr into prison structure and switch >hashes when work. >Next problem - where store jail id for dinode struct. >rwantson@ say we need use xattr for this, but my opinion use >reserved fields in dinode. Yes. My opinion is the same with yours. -- FreeVPS Developers Team http://www.freevps.com __________________________________________________ ¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä? http://cn.mail.yahoo.com From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 13:34:51 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57FD416A41C for ; Wed, 13 Jul 2005 13:34:51 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15003.mail.cnb.yahoo.com (web15003.mail.cnb.yahoo.com [202.165.103.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 6AF4A43D53 for ; Wed, 13 Jul 2005 13:34:44 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 73083 invoked by uid 60001); 13 Jul 2005 13:34:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FbBYreKMVLOuUjUrvP42QJiZE+sQpwRncQbTuD2vDSMtX9n4RDnP5Bmaiiq4I/2yD6cWnTGjbabzblAKtdaTD5qA+56U/WfSWCyCBlpVxJQx7PaFLWR3r9eHeKygOYTKWqX6zoKN64D1yI9FVNrvSysBO1IRZghPa+BAvLNQkPA= ; Message-ID: <20050713133443.73081.qmail@web15003.mail.cnb.yahoo.com> Received: from [61.187.54.10] by web15003.mail.cnb.yahoo.com via HTTP; Wed, 13 Jul 2005 21:34:43 CST Date: Wed, 13 Jul 2005 21:34:43 +0800 (CST) From: Jone Jas To: Vlad GALU In-Reply-To: <79722fad05071303383a75e685@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd hackers Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 13:34:51 -0000 Vlad GALU дµÀ£º > Sure. The tools may control all limits such as cpu time, >memory, bandwidth, disk space, etc. I have read the Linux >VServer dlimit code. But I am not very sure where to put the >hooks for inode/blocks control of jail in FreeBSD. This is why I >open this thread. Vlad GALU said I can look to the quota >method. I will try. Thanks. >It will most probably be tricky, because you can practically >have the same uid in both worlds (the host and the jail) with >different quota settings mapped to it. So upon granting fs >resources you'd have to check which 'world' the request came >from. If the quota for that world isn't overdue, you check for >that uid's quota inside that world and if that's still OK you >grant the resource. If we use different start number for users in jails and in the host as said on some wikis (i.e., increase the start uid for jail users), the different quota mapping will not be confused. >You will probably have to add an extra member to the prison >structure, to hold the global quota for that jail. Yes, I do think so. --------------------------------- DO YOU YAHOO!? ÑÅ»¢ÓÊÏ䳬ǿÔöÖµ·þÎñ£­2G³¬´ó¿Õ¼ä¡¢pop3ÊÕÐÅ¡¢ÎÞÏÞÁ¿ÓʼþÌáÐÑ From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 13:53:03 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36EE616A41C for ; Wed, 13 Jul 2005 13:53:03 +0000 (GMT) (envelope-from lists@nbux.com) Received: from smtp9.wanadoo.fr (smtp9.wanadoo.fr [193.252.22.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DD8843D53 for ; Wed, 13 Jul 2005 13:53:02 +0000 (GMT) (envelope-from lists@nbux.com) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0909.wanadoo.fr (SMTP Server) with ESMTP id CFFC02400136 for ; Wed, 13 Jul 2005 15:53:00 +0200 (CEST) Received: from daneel.nbux.com (LNeuilly-152-22-15-131.w82-127.abo.wanadoo.fr [82.127.94.131]) by mwinf0909.wanadoo.fr (SMTP Server) with ESMTP id A11322400135; Wed, 13 Jul 2005 15:53:00 +0200 (CEST) X-ME-UUID: 20050713135300660.A11322400135@mwinf0909.wanadoo.fr Received: from webmail.nbux.com (daneel.nbux.com [192.168.42.2]) by daneel.nbux.com (Postfix) with ESMTP id 7624E167DD2; Wed, 13 Jul 2005 15:52:53 +0200 (CEST) Received: from 194.51.215.62 (SquirrelMail authenticated user lists) by webmail.nbux.com with HTTP; Wed, 13 Jul 2005 15:52:53 +0200 (CEST) Message-ID: <39921.194.51.215.62.1121262773.squirrel@webmail.nbux.com> In-Reply-To: <20050713124658.GU39292@obiwan.tataz.chchile.org> References: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> <20050713095059.GS39292@obiwan.tataz.chchile.org> <44776.194.51.215.62.1121257035.squirrel@webmail.nbux.com> <20050713124658.GU39292@obiwan.tataz.chchile.org> Date: Wed, 13 Jul 2005 15:52:53 +0200 (CEST) From: "Christophe Yayon" To: "Jeremie Le Hen" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at nbux.com Cc: freebsd-hackers@freebsd.org, Christophe Yayon Subject: Re: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 13:53:03 -0000 Thanks Jeremie, I will asked nagios developpers how to use libpthread, if there is a configure option when compiling... Bye. > Christophe, > >> Yes but if i understand, there is a bug in libc_r on FreeBSD ? > > libc_r indeed has some kind of bug, I don't know. > > Anyhow, you are using RELENG_5, so you should be using native threads > with either libpthread (libkse, M:N) or libthr (1:1). > > I don't know what Nagios does just after fork(2), it would be worth to > check. It appears that fork(2)ing without exec(2)ing or _exit(2)ing > in a pthreaded program is not a "valid" behaviour, regarding to > SUSv3 [1]. I don't want to avoid admitting there is a problem in > FreeBSD threading library, I don't know how other OSes handle this, > but Nagios folks should really avoid doing what is explicitely > dissuaded in SUSv3. > > For now, it doesn't resolve your problem unfortunately. > > [1] > http://www.opengroup.org/onlinepubs/009695399/functions/pthread_atfork.html > (look at the "RATIONALE" section) > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 15:46:16 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0788016A41C for ; Wed, 13 Jul 2005 15:46:16 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15003.mail.cnb.yahoo.com (web15003.mail.cnb.yahoo.com [202.165.103.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 4344143D46 for ; Wed, 13 Jul 2005 15:46:15 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 93422 invoked by uid 60001); 13 Jul 2005 15:46:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3kHz7Hp3YRt49RVBgsbmb6XZZUcFX7Qz4zr8z726oIhg+/Yd15L6KY+2OtyOZubk6Md41XG7ot1GtcOazU8bDSqRH8IFvg51q88Z+Gl1DDUrMJoQz1m5s0EAMN/KWbheKjPVl/bMsUMDLX5l0bmJLQGVcSirHBJfbD2jFQoPQ/g= ; Message-ID: <20050713154613.93420.qmail@web15003.mail.cnb.yahoo.com> Received: from [61.187.54.13] by web15003.mail.cnb.yahoo.com via HTTP; Wed, 13 Jul 2005 23:46:13 CST Date: Wed, 13 Jul 2005 23:46:13 +0800 (CST) From: Jone Jas To: Alex Lyashkov In-Reply-To: <1121262869.8832.41.camel@berloga.shadowland> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd hackers Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 15:46:16 -0000 Alex Lyashkov дµÀ£º §£ §³§â§Õ, 13.07.2005, §Ó 16:22, Jone Jas §á§Ú§ê§Ö§ä: > Alex Lyashkov дµÀ£º > > >option QUOTA? or jail disklimit? > > I mean jail disk limit > > > > >for jail disklimit more easy create tools who controled all > > limits >for jail. > > >Look to LinuxVServer project (www.linux-vserver.org) or > > >FreeVPS. > > Sure. The tools may control all limits such as cpu time, > > memory, bandwidth, disk space, etc. I have read the Linux > > VServer dlimit code. But I am not very sure where to put the > > hooks for inode/blocks control of jail in FreeBSD. This is > why > > I open this thread. Vlad GALU said I can look to the quota > > method. I will try. Thanks. > > -- > >If you look into quota function you can see it called from > >inode/blocks allocation/deallocation code at same points you > >can install disklimits hooks. > >I can`t find any benefit add new quota type (total size used > at >jail) - this way was used at early version Linux VServer > but >have are one problem - more difficult create separated > per jail >diskquota. > > I am really not aware of this. Are there some conflicts? > >In case of undivided diskquota hash you will have to make >superfluous comparisons at searching. It may be too many >objects with the same uid/gid, but different jid. If you will divide >diskquota hash, you need to add parameter in macro >DQHASH. I understand. > > >If you create disklimit separated from quota code you can > >easy add quota hash ptr into prison structure and switch > >hashes when work. > >Next problem - where store jail id for dinode struct. > >rwantson@ say we need use xattr for this, but my opinion > >usereserved fields in dinode. > > Yes. My opinion is the same with yours. > >You want add reference pointer to prison struct from a inode >struct or store at inode struct prison id? I mean just jid. I think that is enough. >PS >if interested, i tried to port freevps structure to freebsd jail - >resulting patch available >http://www.freevps.com/download/freebsd/. It >have same functionality with jail and add only total process >limit in jail. Thanks for your patch. I have taken a glance and I will read it carefully in my spare time. I think it will help me a lot. -- FreeVPS Developers Team http://www.freevps.com --------------------------------- DO YOU YAHOO!? ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 16:42:43 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C0BA16A41C for ; Wed, 13 Jul 2005 16:42:43 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C9AB43D45 for ; Wed, 13 Jul 2005 16:42:42 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id 5E51CC06D; Wed, 13 Jul 2005 18:42:41 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id B7F95405B; Wed, 13 Jul 2005 18:42:38 +0200 (CEST) Date: Wed, 13 Jul 2005 18:42:38 +0200 From: Jeremie Le Hen To: Michal Mertl Message-ID: <20050713164238.GZ39292@obiwan.tataz.chchile.org> References: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> <20050713095059.GS39292@obiwan.tataz.chchile.org> <1121270425.1088.12.camel@genius1.i.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1121270425.1088.12.camel@genius1.i.cz> User-Agent: Mutt/1.5.9i Cc: freebsd-hackers@freebsd.org, Christophe Yayon Subject: Re: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 16:42:43 -0000 Hi Michal, > I also experienced the problem and read the thread. I don't believe > anybody found and shared a way to solve it. The conclusion of the thread > was that the problem is more in the application then in FreeBSD - the > application does things not well defined in POSIX threading environment. > > The right fix is probably a non trivial change to Nagios. That is exactly my feeling. I think Nagios got pthread support lately and therefore has to lug its historic architectural choices. This problem, in conjunction to the fact that most open-source developpers test their products under Linux only, leads to have a misbehaviour when ran on other Unices, like FreeBSD. Some brave people with appropriate skills and motivation should try to patch Nagios and then try to convince Nagios developpers to integrate this change. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 19:26:36 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAFCC16A41F; Wed, 13 Jul 2005 19:26:36 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E2043D49; Wed, 13 Jul 2005 19:26:36 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] ([66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j6DJQSms088450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 Jul 2005 12:26:30 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42D56C15.2070400@errno.com> Date: Wed, 13 Jul 2005 12:31:33 -0700 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050327) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Giorgos Keramidas References: <42D3E8D9.6020105@xbsd.org> <20050712221444.GA1180@gothmog.gr> In-Reply-To: <20050712221444.GA1180@gothmog.gr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Florent Thoumie Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 19:26:36 -0000 Giorgos Keramidas wrote: > On 2005-07-12 17:59, Florent Thoumie wrote: > >>I'm currently working on OpenBGPd port update and I'm facing a little >>problem that is actually quite painful to deal with. >> >>I need some macros from OpenBSD sys/queue.h which aren't present in >>FreeBSD. I can replace #include with #include "queue.h" >>and copy the file in the working directory but this leads to having >>more than 10 patches. >> >>Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden >>"dependency" (by hidden, I mean it's included by an included header >>file, and doesn't show up directly in the source file). >> >>So, could somebody consider merging these SIMPLEQ_* macros or even >>synchronize FreeBSD and OpenBSD versions ? > > > OpenBSD tries to keep this header in sync with NetBSD, AFAICT from the > cvs logs in their tree. > > I have the queue.h headers from all three on my disk and I'm already > looking at the differences, so if you don't mind waiting 1-2 days so > that I can run any changes through a buildworld I'll give it a try. > > If you have changes that depend on SIMPLEQ_* that could serve as a test > case that you can share, it would be nice too :-) trouble% grep STAILQ /sys/dev/ubsec/ubsec.c #define SIMPLEQ_HEAD STAILQ_HEAD #define SIMPLEQ_ENTRY STAILQ_ENTRY #define SIMPLEQ_INIT STAILQ_INIT #define SIMPLEQ_INSERT_TAIL STAILQ_INSERT_TAIL #define SIMPLEQ_EMPTY STAILQ_EMPTY #define SIMPLEQ_FIRST STAILQ_FIRST #define SIMPLEQ_REMOVE_HEAD STAILQ_REMOVE_HEAD_UNTIL #define SIMPLEQ_FOREACH STAILQ_FOREACH Not sure who's to blaim for this but it'd be nice to unify the names so drivers don't need portability shims like this. Sam From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 19:43:09 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7365D16A41F; Wed, 13 Jul 2005 19:43:09 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC1E443D45; Wed, 13 Jul 2005 19:43:08 +0000 (GMT) (envelope-from flz@xbsd.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 11BC411958; Wed, 13 Jul 2005 21:44:35 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 98697-04; Wed, 13 Jul 2005 21:44:29 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 1F90E11930; Wed, 13 Jul 2005 21:44:29 +0200 (CEST) From: Florent Thoumie To: Sam Leffler In-Reply-To: <42D56C15.2070400@errno.com> References: <42D3E8D9.6020105@xbsd.org> <20050712221444.GA1180@gothmog.gr> <42D56C15.2070400@errno.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BvQLNbzNCIrizSIGJy3J" Date: Wed, 13 Jul 2005 21:43:07 +0200 Message-Id: <1121283787.25962.7.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org Cc: freebsd-hackers@freebsd.org, Giorgos Keramidas Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 19:43:09 -0000 --=-BvQLNbzNCIrizSIGJy3J Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Le Mercredi 13 juillet 2005 =E0 12:31 -0700, Sam Leffler a =E9crit : > Giorgos Keramidas wrote: > > On 2005-07-12 17:59, Florent Thoumie wrote: > >=20 > >>I'm currently working on OpenBGPd port update and I'm facing a little > >>problem that is actually quite painful to deal with. > >> > >>I need some macros from OpenBSD sys/queue.h which aren't present in > >>FreeBSD. I can replace #include with #include "queue.h" > >>and copy the file in the working directory but this leads to having > >>more than 10 patches. > >> > >>Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a hidden > >>"dependency" (by hidden, I mean it's included by an included header > >>file, and doesn't show up directly in the source file). > >> > >>So, could somebody consider merging these SIMPLEQ_* macros or even > >>synchronize FreeBSD and OpenBSD versions ? > >=20 > >=20 > > OpenBSD tries to keep this header in sync with NetBSD, AFAICT from the > > cvs logs in their tree. > >=20 > > I have the queue.h headers from all three on my disk and I'm already > > looking at the differences, so if you don't mind waiting 1-2 days so > > that I can run any changes through a buildworld I'll give it a try. > >=20 > > If you have changes that depend on SIMPLEQ_* that could serve as a test > > case that you can share, it would be nice too :-) >=20 > trouble% grep STAILQ /sys/dev/ubsec/ubsec.c > #define SIMPLEQ_HEAD STAILQ_HEAD > #define SIMPLEQ_ENTRY STAILQ_ENTRY > #define SIMPLEQ_INIT STAILQ_INIT > #define SIMPLEQ_INSERT_TAIL STAILQ_INSERT_TAIL > #define SIMPLEQ_EMPTY STAILQ_EMPTY > #define SIMPLEQ_FIRST STAILQ_FIRST > #define SIMPLEQ_REMOVE_HEAD STAILQ_REMOVE_HEAD_UNTIL > #define SIMPLEQ_FOREACH STAILQ_FOREACH >=20 > Not sure who's to blaim for this but it'd be nice to unify the names so=20 > drivers don't need portability shims like this. Not sure if we (or OpenBSD/NetBSD) will change STAILQ for=20 SIMPLEQ (or the opposite), but having STAILQ_REMOVE_HEAD instead of STAILQ_REMOVE_HEAD_UNTIL would be nice so that there are no=20 special case (actually, I just sed 's/SIMPLEQ/STAILQ' since it=20 doesn't seem to use SIMPLEQ_REMOVE_HEAD). --=20 Florent Thoumie flz@xbsd.org --=-BvQLNbzNCIrizSIGJy3J Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC1W7LMxEkbVFH3PQRAshJAJ41Bq7gsR5czTj34WEhL0IjPNdf/wCghU2z m6trEgyMziZyjKYh8RiLbN8= =E/ra -----END PGP SIGNATURE----- --=-BvQLNbzNCIrizSIGJy3J-- From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 21:09:55 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 754FC16A41C for ; Wed, 13 Jul 2005 21:09:55 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from nic.ach.sch.gr (nic.sch.gr [194.63.238.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3F8B43D45 for ; Wed, 13 Jul 2005 21:09:54 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: (qmail 1303 invoked by uid 207); 13 Jul 2005 21:09:48 -0000 Received: from keramida@freebsd.org by nic by uid 201 with qmail-scanner-1.21 (sophie: 3.04/2.19/3.81. Clear:RC:1(81.186.70.54):. Processed in 0.690511 secs); 13 Jul 2005 21:09:48 -0000 Received: from dialup54.ach.sch.gr (HELO gothmog.gr) ([81.186.70.54]) (envelope-sender ) by nic.sch.gr (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 13 Jul 2005 21:09:47 -0000 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.4/8.13.4) with ESMTP id j6DL9gxd000938; Thu, 14 Jul 2005 00:09:42 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from giorgos@localhost) by gothmog.gr (8.13.4/8.13.4/Submit) id j6DL9giJ000937; Thu, 14 Jul 2005 00:09:42 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Thu, 14 Jul 2005 00:09:42 +0300 From: Giorgos Keramidas To: Sam Leffler Message-ID: <20050713210941.GA841@gothmog.gr> References: <42D3E8D9.6020105@xbsd.org> <20050712221444.GA1180@gothmog.gr> <42D56C15.2070400@errno.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D56C15.2070400@errno.com> Cc: freebsd-hackers@freebsd.org, Florent Thoumie Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 21:09:55 -0000 On 2005-07-13 12:31, Sam Leffler wrote: > Giorgos Keramidas wrote: > >OpenBSD tries to keep this header in sync with NetBSD, AFAICT from > >the cvs logs in their tree. > > > >I have the queue.h headers from all three on my disk and I'm already > >looking at the differences, so if you don't mind waiting 1-2 days so > >that I can run any changes through a buildworld I'll give it a try. > > > >If you have changes that depend on SIMPLEQ_* that could serve as a > >test case that you can share, it would be nice too :-) > > trouble% grep STAILQ /sys/dev/ubsec/ubsec.c > #define SIMPLEQ_HEAD STAILQ_HEAD > #define SIMPLEQ_ENTRY STAILQ_ENTRY > #define SIMPLEQ_INIT STAILQ_INIT > #define SIMPLEQ_INSERT_TAIL STAILQ_INSERT_TAIL > #define SIMPLEQ_EMPTY STAILQ_EMPTY > #define SIMPLEQ_FIRST STAILQ_FIRST > #define SIMPLEQ_REMOVE_HEAD STAILQ_REMOVE_HEAD_UNTIL > #define SIMPLEQ_FOREACH STAILQ_FOREACH > > Not sure who's to blaim for this but it'd be nice to unify the names > so drivers don't need portability shims like this. I couldn't agree more. Helping source-level compatibility, as much as this can be accomplished for kernel code, is definitely a plus. This is partly the reason why I noted that OpenBSD synchronized their queue.h header with NetBSD a few times in the past. I just didn't propose something like this because I'm not sure I can convince any of the three BSD teams to s/SIMPLEQ/STAILQ/ or vice versa :-) - Giorgos From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 21:18:15 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A20016A41C; Wed, 13 Jul 2005 21:18:15 +0000 (GMT) (envelope-from aman@chamkila.org) Received: from manak.chamkila.org (c-24-4-168-13.hsd1.ca.comcast.net [24.4.168.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5581443D45; Wed, 13 Jul 2005 21:18:14 +0000 (GMT) (envelope-from aman@chamkila.org) Received: from [192.168.96.202] ([69.36.228.194]) by manak.chamkila.org (8.12.10/8.12.10) with ESMTP id j6DLCr7V024739; Wed, 13 Jul 2005 14:12:53 -0700 Message-ID: <42D58447.9090600@chamkila.org> Date: Wed, 13 Jul 2005 14:14:47 -0700 From: Amandeep User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 21:18:15 -0000 Hi all, Is there a way to reset the root passwd without reinstalling FreeBSD 4.7. Thanks in advance Aman From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 21:33:28 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B491516A41C for ; Wed, 13 Jul 2005 21:33:28 +0000 (GMT) (envelope-from estover@nativenerds.com) Received: from mail.nativenerds.com (host-70-0-111-24.midco.net [24.111.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1FF643D53 for ; Wed, 13 Jul 2005 21:33:27 +0000 (GMT) (envelope-from estover@nativenerds.com) Received: from mail.nativenerds.com (localhost.nativenerds.com [127.0.0.1]) by mail.nativenerds.com (8.12.11/8.12.11) with ESMTP id j6DLp5mg095229 for ; Wed, 13 Jul 2005 15:51:05 -0600 (MDT) (envelope-from estover@nativenerds.com) Received: (from www@localhost) by mail.nativenerds.com (8.12.11/8.12.11/Submit) id j6DLp59n095228; Wed, 13 Jul 2005 15:51:05 -0600 (MDT) (envelope-from estover@nativenerds.com) X-Authentication-Warning: mail.nativenerds.com: www set sender to estover@nativenerds.com using -f Received: from 169.203.127.194 (SquirrelMail authenticated user estover); by mail.nativenerds.com with HTTP; Wed, 13 Jul 2005 15:51:05 -0600 (MDT) Message-ID: <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> In-Reply-To: <42D58447.9090600@chamkila.org> References: <42D58447.9090600@chamkila.org> Date: Wed, 13 Jul 2005 15:51:05 -0600 (MDT) From: estover@nativenerds.com To: freebsd-hackers@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV 0.85.1/977/Tue Jul 12 16:53:40 2005 on mail.nativenerds.com X-Virus-Status: Clean X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mail.nativenerds.com Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 21:33:28 -0000 > Hi all, > > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7. > > Thanks in advance > > Aman > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > boot into single user mode mount drives set password for root. reboot From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 01:37:24 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94A9D16A41F for ; Thu, 14 Jul 2005 01:37:24 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED9B43D49 for ; Thu, 14 Jul 2005 01:37:22 +0000 (GMT) (envelope-from john@essenz.com) Received: from [192.168.1.100] (pool-71-242-16-137.phil.east.verizon.net [71.242.16.137]) by beck.quonix.net (8.13.4/8.13.4) with ESMTP id j6E1bEb4019773 for ; Wed, 13 Jul 2005 21:37:14 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v622) In-Reply-To: <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3447e5c6e159524801b5814e10badc8f@essenz.com> Content-Transfer-Encoding: 7bit From: John Von Essen Date: Wed, 13 Jul 2005 21:34:30 -0400 To: hackers@freebsd.org X-Mailer: Apple Mail (2.622) X-SpamAssassin-3.0.3-Score: -2.82/5.8 ALL_TRUSTED X-MimeDefang-2.51: beck.quonix.net X-Scanned-By: MIMEDefang 2.51 on 146.145.66.90 Cc: Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 01:37:24 -0000 boot single user... mount -u / mount -a Then use vipw or passwd to clear out or change root password. If you shutdown the system un-cleanly, you may have to do an fsck / as fragmentation will prevent the filesystem from being mounted read-write-able. -john On Jul 13, 2005, at 5:51 PM, estover@nativenerds.com wrote: >> Hi all, >> >> Is there a way to reset the root passwd without reinstalling FreeBSD >> 4.7. >> >> Thanks in advance >> >> Aman >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" >> > boot into single user mode > mount drives > set password for root. > reboot > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 06:24:04 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93AEB16A41C; Thu, 14 Jul 2005 06:24:04 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E16F43D45; Thu, 14 Jul 2005 06:24:04 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j6E6MXmZ023049; Thu, 14 Jul 2005 00:22:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 14 Jul 2005 00:22:47 -0600 (MDT) Message-Id: <20050714.002247.82101613.imp@bsdimp.com> To: keramida@freebsd.org From: "M. Warner Losh" In-Reply-To: <20050713210941.GA841@gothmog.gr> References: <20050712221444.GA1180@gothmog.gr> <42D56C15.2070400@errno.com> <20050713210941.GA841@gothmog.gr> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sam@errno.com, flz@xbsd.org, freebsd-hackers@freebsd.org Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 06:24:04 -0000 In message: <20050713210941.GA841@gothmog.gr> Giorgos Keramidas writes: : I couldn't agree more. Helping source-level compatibility, as much as : this can be accomplished for kernel code, is definitely a plus. This is : partly the reason why I noted that OpenBSD synchronized their queue.h : header with NetBSD a few times in the past. I just didn't propose : something like this because I'm not sure I can convince any of the three : BSD teams to s/SIMPLEQ/STAILQ/ or vice versa :-) Yea, but adding the #defines to sys/queue.h in both directions likely wouldn't hurt. Warner From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 06:37:58 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF86016A41C for ; Thu, 14 Jul 2005 06:37:57 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: from web15005.mail.cnb.yahoo.com (web15005.mail.cnb.yahoo.com [202.165.103.62]) by mx1.FreeBSD.org (Postfix) with SMTP id 123C243D48 for ; Thu, 14 Jul 2005 06:37:56 +0000 (GMT) (envelope-from jas_arlerr@yahoo.com.cn) Received: (qmail 4603 invoked by uid 60001); 14 Jul 2005 06:37:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gRX5w4oAFeWic120aRpKOcpKNMbCuUNCbju9Ive746ta9qot3uL129JUpz9OPDS6kouihpKa7UExczlc8wbKgtvMzktauhLQZ2tYU/O8jGt+WAC9B4iQlJqxsl5RHCrGGzFm+K2zCOrAqYRPtcHivDgbsQPJQE2Eay5YV3qn0vw= ; Message-ID: <20050714063755.4601.qmail@web15005.mail.cnb.yahoo.com> Received: from [61.187.54.9] by web15005.mail.cnb.yahoo.com via HTTP; Thu, 14 Jul 2005 14:37:55 CST Date: Thu, 14 Jul 2005 14:37:55 +0800 (CST) From: Jone Jas To: Alex Lyashkov In-Reply-To: <1121271947.8832.62.camel@berloga.shadowland> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd hackers , Vlad GALU Subject: Re: limit jail disk space X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 06:37:58 -0000 Alex Lyashkov дµÀ£º §£ §³§â§Õ, 13.07.2005, §Ó 18:46, Jone Jas §á§Ú§ê§Ö§ä: > Alex Lyashkov дµÀ£º > §£ §³§â§Õ, 13.07.2005, §Ó 16:22, Jone Jas §á§Ú§ê§Ö§ä: > > Alex Lyashkov дµÀ£º > > > >option QUOTA? or jail disklimit? > > > I mean jail disk limit > > > > > > >for jail disklimit more easy create tools who controled > all > > > limits >for jail. > > > >Look to LinuxVServer project (www.linux-vserver.org) or > > > >FreeVPS. > > > Sure. The tools may control all limits such as cpu time, > > > memory, bandwidth, disk space, etc. I have read the Linux > > > VServer dlimit code. But I am not very sure where to put > the > > > hooks for inode/blocks control of jail in FreeBSD. This is > > why > > > I open this thread. Vlad GALU said I can look to the quota > > > method. I will try. Thanks. > > > -- > > >If you look into quota function you can see it called from > > >inode/blocks allocation/deallocation code at same points > you> >can install disklimits hooks. > > >I can`t find any benefit add new quota type (total size > used > > at >jail) - this way was used at early version Linux VServer > > but >have are one problem - more difficult create separated > > per jail >diskquota. > > > > I am really not aware of this. Are there some conflicts? > > > >In case of undivided diskquota hash you will have to make > >superfluous comparisons at searching. It may be too many > >objects with the same uid/gid, but different jid. If you will > divide >diskquota hash, you need to add parameter in macro > >DQHASH. > I understand. >look into ufs_quota.c:dqget(). >I say about situation with same uid/gid at different jails. For >me more right map disk device id then map uid to different >value. >At you way you need modify >LIST_FOREACH(dq, dqh, dq_hash) { >if (dq->dq_id != id || >dq->dq_ump->um_quotas[dq->dq_type] != dqvp) >continue; >to >LIST_FOREACH(dq, dqh, dq_hash) { >if (dq->dq_id != id || dq->dq_jid != jid || >dq->dq_ump->um_quotas[dq->dq_type] != dqvp) >continue; >.. >but at my way (used at freevps and last linux-vserver) >need only >- dqh = DQHASH(dqvp, id); >+ dqh = DQHASH(map_dqvp, id); Sounds good! Seems more simple and efficient than my way. Btw, which FreeBSD version is your patch against? 5.3 or 5.4? > > > > >If you create disklimit separated from quota code you can > > >easy add quota hash ptr into prison structure and switch > > >hashes when work. > > >Next problem - where store jail id for dinode struct. > > >rwantson@ say we need use xattr for this, but my opinion > > >usereserved fields in dinode. > > > > Yes. My opinion is the same with yours. > > > >You want add reference pointer to prison struct from a inode > >struct or store at inode struct prison id? > I mean just jid. I think that is enough. > > > >PS > >if interested, i tried to port freevps structure to freebsd > jail - > >resulting patch available > >http://www.freevps.com/download/freebsd/. It > >have same functionality with jail and add only total process > >limit in jail. > > Thanks for your patch. I have taken a glance and I will read > it carefully in my spare time. I think it will help me a lot. > -- FreeVPS Developers Team http://www.freevps.com --------------------------------- DO YOU YAHOO!? ÑÅ»¢Ãâ·ÑGÓÊÏ䣭ÖйúµÚÒ»¾øÎÞÀ¬»øÓʼþɧÈų¬´óÓÊÏä From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 10:14:45 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8043416A41C for ; Thu, 14 Jul 2005 10:14:45 +0000 (GMT) (envelope-from freebsd@rea.mbslab.kiae.ru) Received: from rea.mbslab.kiae.ru (rea.mbslab.kiae.ru [144.206.177.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0052043D45 for ; Thu, 14 Jul 2005 10:14:43 +0000 (GMT) (envelope-from freebsd@rea.mbslab.kiae.ru) Received: by rea.mbslab.kiae.ru (Postfix, from userid 1000) id 57039BED6; Thu, 14 Jul 2005 14:14:42 +0400 (MSD) Date: Thu, 14 Jul 2005 14:14:42 +0400 From: "Eygene A. Ryabinkin" To: hackers@freebsd.org Message-ID: <20050714101442.GI16608@rea.mbslab.kiae.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.9i Cc: Subject: /etc/opiekeys permissions? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 10:14:45 -0000 Good day. Playing with OPIE I've noticed that the /etc/opiekeys have mode 644. As I remember there was a vulnurability related to this permissions for S/Key. But at that times that file was named /etc/skeykeys and it was created with permissions 600, so FreeBSD was not vulnerable to the disctionary attack. But now it seems to be vulnurable again. Are there any programs that are run in non-root mode and they do want to use OPIE? If there is no such programs, why the permissions are so strange? -- rea From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 10:16:42 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C08416A41C for ; Thu, 14 Jul 2005 10:16:42 +0000 (GMT) (envelope-from bsdforfree@rambler.ru) Received: from sotelrostov.ru (sotelrostov.ru [213.27.18.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0490443D45 for ; Thu, 14 Jul 2005 10:16:40 +0000 (GMT) (envelope-from bsdforfree@rambler.ru) Received: (qmail 10897 invoked by uid 98); 14 Jul 2005 14:17:29 +0400 Received: from 192.168.0.4 by mail.sotelrostov.ru (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.86.1/977. Clear:RC:1(192.168.0.4):. Processed in 0.137643 secs); 14 Jul 2005 10:17:29 -0000 X-Qmail-Scanner-Mail-From: bsdforfree@rambler.ru via mail.sotelrostov.ru X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.0.4):. Processed in 0.137643 secs) Received: from unknown (HELO ?192.168.0.4?) (192.168.0.4) by sotelrostov.ru with AES256-SHA encrypted SMTP; 14 Jul 2005 14:17:28 +0400 Message-ID: <42D63B7F.8010803@rambler.ru> Date: Thu, 14 Jul 2005 14:16:31 +0400 From: Vyacheslav Sotnikov User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: ru-ru, ru MIME-Version: 1.0 References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> In-Reply-To: <3447e5c6e159524801b5814e10badc8f@essenz.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: hackers@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 10:16:42 -0000 John Von Essen пишет: > boot single user... > > mount -u / > mount -a > > Then use vipw or passwd to clear out or change root password. If you > shutdown the system un-cleanly, you may have to do an fsck / as > fragmentation will prevent the filesystem from being mounted > read-write-able. > > -john but what to do if i have "console insecure" in /etc/ttys? From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 10:52:16 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 283E916A41C for ; Thu, 14 Jul 2005 10:52:16 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DF4343D46 for ; Thu, 14 Jul 2005 10:52:14 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [82.41.37.55] ([82.41.37.55]) by smtp-out2.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Thu, 14 Jul 2005 11:52:57 +0100 Message-ID: <42D643DD.1040103@dial.pipex.com> Date: Thu, 14 Jul 2005 11:52:13 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.8) Gecko/20050530 X-Accept-Language: en, en-us, pl MIME-Version: 1.0 To: Vyacheslav Sotnikov References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> In-Reply-To: <42D63B7F.8010803@rambler.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jul 2005 10:52:57.0764 (UTC) FILETIME=[320A5E40:01C58862] Cc: hackers@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 10:52:16 -0000 Vyacheslav Sotnikov wrote: > but what to do if i have "console insecure" in /etc/ttys? I believe you can Boot cdrom Pick "Change system manager's password" Type the new password. Worked fine from /stand/sysinstall, but you have to be root to do that from the command line :-) --Alex From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 11:49:03 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E55616A41C for ; Thu, 14 Jul 2005 11:49:03 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id D646A43D45 for ; Thu, 14 Jul 2005 11:49:02 +0000 (GMT) (envelope-from keramida@freebsd.org) Received: from beatrix.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226]) by rosebud.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j6EBmmeX029152; Thu, 14 Jul 2005 14:48:48 +0300 Received: from beatrix.daedalusnetworks.priv (localhost [127.0.0.1]) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3) with ESMTP id j6EBmleg027091; Thu, 14 Jul 2005 14:48:47 +0300 (EEST) Received: (from keramida@localhost) by beatrix.daedalusnetworks.priv (8.13.3+Sun/8.13.3/Submit) id j6EBmiMt027090; Thu, 14 Jul 2005 14:48:44 +0300 (EEST) X-Authentication-Warning: beatrix.daedalusnetworks.priv: keramida set sender to keramida@freebsd.org using -f Date: Thu, 14 Jul 2005 14:48:44 +0300 From: Giorgos Keramidas To: "M. Warner Losh" Message-ID: <20050714114844.GD26821@beatrix.daedalusnetworks.priv> References: <20050712221444.GA1180@gothmog.gr> <42D56C15.2070400@errno.com> <20050713210941.GA841@gothmog.gr> <20050714.002247.82101613.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050714.002247.82101613.imp@bsdimp.com> Cc: sam@errno.com, freebsd-hackers@freebsd.org, flz@xbsd.org Subject: Re: SIMPLEQ_* macros from OpenBSD sys/queue.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 11:49:03 -0000 On 2005-07-14 00:22, "M. Warner Losh" wrote: > In message: <20050713210941.GA841@gothmog.gr> > Giorgos Keramidas writes: > : I couldn't agree more. Helping source-level compatibility, as much as > : this can be accomplished for kernel code, is definitely a plus. This is > : partly the reason why I noted that OpenBSD synchronized their queue.h > : header with NetBSD a few times in the past. I just didn't propose > : something like this because I'm not sure I can convince any of the three > : BSD teams to s/SIMPLEQ/STAILQ/ or vice versa :-) > > Yea, but adding the #defines to sys/queue.h in both directions likely > wouldn't hurt. Surely. Great idea! As long as there *is* an equivalent macro that exactly matches the expected behavior, this can work nicely. From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 11:53:48 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3B4F16A41C for ; Thu, 14 Jul 2005 11:53:48 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ADFD43D48 for ; Thu, 14 Jul 2005 11:53:47 +0000 (GMT) (envelope-from stsp@stsp.in-berlin.de) X-Envelope-From: stsp@stsp.in-berlin.de X-Envelope-To: Received: from stud.seeling33.de (p54BE8740.dip0.t-ipconnect.de [84.190.135.64]) (authenticated bits=0) by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id j6EBrivF009844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 14 Jul 2005 13:53:45 +0200 Received: by stud.seeling33.de (Postfix, from userid 1000) id AADE5F7A6; Thu, 14 Jul 2005 13:47:18 +0200 (CEST) Date: Thu, 14 Jul 2005 13:47:18 +0200 From: stsp@stsp.in-berlin.de To: freebsd-hackers@freebsd.org Message-ID: <20050714114718.GA1472@stud.seeling33.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42D63B7F.8010803@rambler.ru> User-Agent: Mutt/1.5.6i X-Spam-Score: (-1.132) AWL,BAYES_00,FORGED_RCVD_HELO,NO_REAL_NAME X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 11:53:48 -0000 On Thu, Jul 14, 2005 at 02:16:31PM +0400, Vyacheslav Sotnikov wrote: > but what to do if i have "console insecure" in /etc/ttys? In the linux world, you would simply boot a live cd like knoppix, open a root shell in the live system and chroot into your installed system to get root access without a password. I guess you could do similar tricks with FreeSBIE, or however that's spelled... -- stefan http://stsp.in-berlin.de PGP Key: 0xF59D25F0 From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 16:00:29 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5810716A41C for ; Wed, 13 Jul 2005 16:00:29 +0000 (GMT) (envelope-from michal.mertl@i.cz) Received: from vidle.i.cz (vidle.i.cz [193.179.36.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E550B43D48 for ; Wed, 13 Jul 2005 16:00:28 +0000 (GMT) (envelope-from michal.mertl@i.cz) Received: from ns.i.cz (brana.i.cz [193.179.36.134]) by vidle.i.cz (Postfix) with ESMTP id 223EC2E014; Wed, 13 Jul 2005 18:00:27 +0200 (CEST) Received: from localhost (localhost.i.cz [127.0.0.1]) by ns.i.cz (Postfix) with SMTP id 00B21F4B02; Wed, 13 Jul 2005 18:00:27 +0200 (CEST) X-AV-Checked: Wed Jul 13 18:00:27 2005 ns.i.cz Received: from genius1.i.cz (genius1.i.cz [192.168.17.49]) by ns.i.cz (Postfix) with ESMTP id E922EF4B01; Wed, 13 Jul 2005 18:00:26 +0200 (CEST) From: Michal Mertl To: Jeremie Le Hen In-Reply-To: <20050713095059.GS39292@obiwan.tataz.chchile.org> References: <61087.192.168.42.2.1121196788.squirrel@webmail.nbux.com> <20050713095059.GS39292@obiwan.tataz.chchile.org> Content-Type: text/plain Date: Wed, 13 Jul 2005 18:00:25 +0200 Message-Id: <1121270425.1088.12.camel@genius1.i.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 14 Jul 2005 12:28:58 +0000 Cc: freebsd-hackers@freebsd.org, Christophe Yayon Subject: Re: nagios and pthreads X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 16:00:29 -0000 Jeremie Le Hen wrote: > Hi Christophe, > > a quick glance at the archives whould have helped you. I also experienced the problem and read the thread. I don't believe anybody found and shared a way to solve it. The conclusion of the thread was that the problem is more in the application then in FreeBSD - the application does things not well defined in POSIX threading environment. The right fix is probably a non trivial change to Nagios. > > i know that we add already discuss about this problem, but is there any > > solution for this problem ? > > > > --- > > What's section on nagios website > > "FreeBSD and threads. On FreeBSD there's a native user-level > > implementation of threads called 'pthread' and there's also an optional > > ports collection 'linuxthreads' that uses kernel hooks. Some folks from > > Yahoo! have reported that using the pthread library causes Nagios to pause > > under heavy I/O load, causing some service check results to be lost. > > Switching to linuxthreads seems to help this problem, but not fix it. The > > lock happens in liblthread's __pthread_acquire() - it can't ever acquire > > the spinlock. It happens when the main thread forks to execute an active > > check. On the second fork to create the grandchild, the grandchild is > > created by fork, but never returns from liblthread's fork wrapper, because > > it's stuck in __pthread_acquire(). Maybe some FreeBSD users can help out > > with this problem." > > --- > > > > > > I have just upgraded to 5.4-STABLE but i encountered again the problem. > > Sometimes, there is a nagios forked child process which consume 100% of > > CPU. > > i have heard that there was perhaps a problem with libc_r reported by > > Luigi Rizzo on this list 06/22/2005, but no news since this date... > > > > My workaround is to have a cron job which run every hour and check if > > there is a bad nagios process and kill it... i know it's very ugly... > > > > Do you any solution or what could i do to get more trace when it happen ? > > sorry, but i am not familiar with ktrace like tools... If someone could > > help me to help nagios community on freebsd ;-) ? > > > > Thanks in advance. > > This thread should countain some answers : > http://lists.freebsd.org/pipermail/freebsd-hackers/2005-June/012435.html > > Regards, From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 13 22:03:42 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E26A16A41C for ; Wed, 13 Jul 2005 22:03:42 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from tower.berklix.org (port-83-236-223-114.static.qsc.de [83.236.223.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B82743D45 for ; Wed, 13 Jul 2005 22:03:38 +0000 (GMT) (envelope-from jhs@flat.berklix.net) Received: from js.berklix.net (p549A6B49.dip.t-dialin.net [84.154.107.73]) (authenticated bits=0) by tower.berklix.org (8.12.9p2/8.12.9) with ESMTP id j6DM3Rxr021521; Thu, 14 Jul 2005 00:03:33 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (fire.jhs.private [192.168.91.41]) by js.berklix.net (8.12.11/8.12.11) with ESMTP id j6DM3LN4002906; Thu, 14 Jul 2005 00:03:26 +0200 (CEST) (envelope-from jhs@flat.berklix.net) Received: from fire.jhs.private (localhost.jhs.private [127.0.0.1]) by fire.jhs.private (8.13.1/8.13.3) with ESMTP id j6DM3LRd020116; Thu, 14 Jul 2005 00:03:21 +0200 (CEST) (envelope-from jhs@fire.jhs.private) Message-Id: <200507132203.j6DM3LRd020116@fire.jhs.private> To: Amandeep In-Reply-To: Message from Amandeep of "Wed, 13 Jul 2005 14:14:47 PDT." <42D58447.9090600@chamkila.org> Date: Thu, 14 Jul 2005 00:03:21 +0200 From: "Julian H. Stacey" X-Mailman-Approved-At: Thu, 14 Jul 2005 12:31:29 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jul 2005 22:03:42 -0000 Amandeep wrote: > Hi all, First, please do Not cross post, we have a rule about that ! ... so I dropped cc freebsd-questions@freebsd.org, > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7. > > Thanks in advance > > Aman passwd root [ Except maybe ] Various things get crippled now, in the name of avoiding `shooting self in the foot' accidents by neophytes. So maybe if you're running at a higher kernel security level you might need to turn that off. Don't know how though, I never cripple my root access. (& similarly hate eg fdisk -a being similarly crippled by sysctl, in the same name of neophyte foot shooting prevention ) -- Julian Stacey Consultant Systems Engineer, Munich. http://berklix.com Mail in Ascii (Html = Spam). Ihr Rauch = mein allergischer Kopfschmerz. From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 13:55:25 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C29B716A41C for ; Thu, 14 Jul 2005 13:55:25 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (beck.quonix.net [146.145.66.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E53C43D45 for ; Thu, 14 Jul 2005 13:55:25 +0000 (GMT) (envelope-from john@essenz.com) Received: from beck.quonix.net (localhost [127.0.0.1]) by beck.quonix.net (8.13.4/8.13.4) with ESMTP id j6EDtG7F036019; Thu, 14 Jul 2005 09:55:16 -0400 (EDT) Received: from localhost (essenz@localhost) by beck.quonix.net (8.13.4/8.13.4/Submit) with ESMTP id j6EDtGSV036016; Thu, 14 Jul 2005 09:55:16 -0400 (EDT) X-Authentication-Warning: beck.quonix.net: essenz owned process doing -bs Date: Thu, 14 Jul 2005 09:55:16 -0400 (EDT) From: John Von Essen X-X-Sender: essenz@beck.quonix.net To: Vyacheslav Sotnikov In-Reply-To: <42D63B7F.8010803@rambler.ru> Message-ID: <20050714095217.Q35893@beck.quonix.net> References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SpamAssassin-3.0.3-Score: -1.32/5.8 ALL_TRUSTED,BODY_8BITS X-MimeDefang-2.51: beck.quonix.net X-Scanned-By: MIMEDefang 2.51 on 146.145.66.90 Cc: hackers@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 13:55:25 -0000 Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you have to manually mount the / filesystem and edit passwd (just clear out the passwd, root::). However, do an fsck on the device first (you may have to reboot afterwards) since if you have any fragmentation following an unclean shutdown, you will not be able to mount the device. -john On Thu, 14 Jul 2005, Vyacheslav Sotnikov wrote: > John Von Essen =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > boot single user... > > > > mount -u / > > mount -a > > > > Then use vipw or passwd to clear out or change root password. If you > > shutdown the system un-cleanly, you may have to do an fsck / as > > fragmentation will prevent the filesystem from being mounted > > read-write-able. > > > > -john > > > but what to do if i have "console=09insecure" in /etc/ttys? > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " > From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 19:16:47 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E1BE16A41F; Thu, 14 Jul 2005 19:16:47 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90FC943D45; Thu, 14 Jul 2005 19:16:46 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3DEA1.dip.t-dialin.net [84.163.222.161] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwh2-1Dt9CP001Y-000612; Thu, 14 Jul 2005 21:16:44 +0200 From: Max Laier To: freebsd-current@freebsd.org Date: Thu, 14 Jul 2005 21:16:35 +0200 User-Agent: KMail/1.8 References: <200507061624.09477.max@love2party.net> In-Reply-To: <200507061624.09477.max@love2party.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2492647.JvBzrJ7ffY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507142116.42991.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-hackers@freebsd.org Subject: Re: Call for FreeBSD status reports X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 19:16:47 -0000 --nextPart2492647.JvBzrJ7ffY Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This is a friendly reminder that we are collecting status reports. =20 Submissions are due tomorrow (July 15). If you are planning to submit=20 something, but won't be able to make the formal deadline - please let us=20 know, we are willing to extend the deadline a bit for a broader turnout. Looking forward to receiving your reports! On Wednesday 06 July 2005 16:24, I wrote: > All, > > Three month of fruitful development have passed since the last round of > FreeBSD status reports, and the release of FreeBSD 6.0 is on the > doorstep. =A0We hope that you made good progress on your projects and have > interesting news to share. =A0Please do so by sending a status report to > monthly@freebsd.org Submissions are due by July 15, 2005. > > Reports should cover activities during May to June, but may of course cov= er > earlier work as well. =A0In addition we encourage you to use the "Open Ta= sks" > section to recruit help for your project and point out future direction. > > Submissions are *not* limited to FreeBSD developers with commit rights! = =A0It > is open to everybody who is doing FreeBSD related work and wants to share > progress with the community. =A0The status reports are also a good vehicl= e to > gather interested people for you WIP. > > We have introduced a new category called "soc" to pool reports related to > Google Summer of Code. =A0We hope for interesting news from that corner! > > To help you with fileing your report you will find a webform or > xml-template linked from http://www.freebsd.org/news/status/ (as soon as > the www build completes). > > Submissions are due on July 15. =A0Thanks a lot, and we are hoping for a = big > turn-out. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2492647.JvBzrJ7ffY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC1roaXyyEoT62BG0RAlclAJ9tGsVewSaXxK077Xk60WJb+KUpaQCfS8PE lkzoTJ+QdOLT+nritZUEceM= =QnqM -----END PGP SIGNATURE----- --nextPart2492647.JvBzrJ7ffY-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 01:11:12 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AEC816A41C for ; Fri, 15 Jul 2005 01:11:12 +0000 (GMT) (envelope-from mwm-keyword-hackers.e471b2@mired.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F82943D46 for ; Fri, 15 Jul 2005 01:11:12 +0000 (GMT) (envelope-from mwm-keyword-hackers.e471b2@mired.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id CE6AD1F8583 for ; Thu, 14 Jul 2005 18:11:11 -0700 (PDT) Received: from mired.org (mwm@idiom [216.240.32.1]) by idiom.com (8.12.11/8.12.11) with SMTP id j6F1BAOn015620 for ; Thu, 14 Jul 2005 18:11:11 -0700 (PDT) (envelope-from mwm-keyword-hackers.e471b2@mired.org) Received: (qmail 51172 invoked by uid 1001); 15 Jul 2005 01:11:57 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Thu, 14 Jul 2005 21:11:57 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17111.3421.235276.995166@bhuda.mired.org> Date: Thu, 14 Jul 2005 21:11:57 -0400 To: John Von Essen In-Reply-To: <20050714095217.Q35893@beck.quonix.net> References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> <20050714095217.Q35893@beck.quonix.net> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer Cc: hackers@freebsd.org, Vyacheslav Sotnikov Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 01:11:12 -0000 In <20050714095217.Q35893@beck.quonix.net>, John Von Essen typed: > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). You an boot the second CD directly. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 06:44:29 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9357B16A41C for ; Fri, 15 Jul 2005 06:44:29 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EAF143D45 for ; Fri, 15 Jul 2005 06:44:28 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id 4CB1487C8; Fri, 15 Jul 2005 09:44:27 +0300 (EEST) Received: (nullmailer pid 7842 invoked by uid 1004); Fri, 15 Jul 2005 06:44:35 -0000 Date: Fri, 15 Jul 2005 09:44:35 +0300 From: Vasil Dimov To: John Von Essen Message-ID: <20050715064435.GA83687@sinanica.bg.datamax> References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> <20050714095217.Q35893@beck.quonix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20050714095217.Q35893@beck.quonix.net> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: hackers@freebsd.org, Vyacheslav Sotnikov Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 06:44:29 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there you > have to manually mount the / filesystem and edit passwd (just clear out > the passwd, root::). However, do an fsck on the device first (you may have > to reboot afterwards) since if you have any fragmentation following an > unclean shutdown, you will not be able to mount the device. >=20 Simply editing /etc/passwd won't do the work (this is not Linux, eah) /etc/master.passwd must be edited and then pwd_mkdb /etc/master.passwd must be run. --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFC11tTFw6SP/bBpCARAj6MAJ4vSmQsrXTm5/gzYhNpy8ZTYjCfrgCeOuBp 3WEWDyhNphH43LVDm1Av+u4= =vV92 -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 08:26:16 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A99816A42B for ; Fri, 15 Jul 2005 08:26:16 +0000 (GMT) (envelope-from jmp.lists@alvorlig.dk) Received: from cauchy.aub.dk (mail.aub.dk [195.24.1.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA53A43D48 for ; Fri, 15 Jul 2005 08:26:13 +0000 (GMT) (envelope-from jmp.lists@alvorlig.dk) Received: from localhost (localhost [127.0.0.1]) by cauchy.aub.dk (Postfix) with ESMTP id 9B41C119AE for ; Fri, 15 Jul 2005 10:26:11 +0200 (CEST) Received: from cauchy.aub.dk ([127.0.0.1]) by localhost (cauchy.aub.dk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 40150-02 for ; Fri, 15 Jul 2005 10:26:11 +0200 (CEST) Received: from [10.1.4.50] (jmp.aub.dk [10.1.4.50]) by cauchy.aub.dk (Postfix) with ESMTP id 680F81197A for ; Fri, 15 Jul 2005 10:26:11 +0200 (CEST) Message-ID: <42D77323.7030903@alvorlig.dk> Date: Fri, 15 Jul 2005 10:26:11 +0200 From: "J. Martin Petersen" User-Agent: Mozilla Thunderbird 1.0.5 (X11/20050714) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at aub.dk Subject: Per CPU load statistics X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 08:26:16 -0000 Hi Is it possible to get per CPU (load) statistics? It seems cp_time is a sum for all the CPUs, so is there another way to get this information? I looked through the source, but I'm not quite sure what to look for. Cheers, Martin From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 09:41:55 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D35D16A41C for ; Fri, 15 Jul 2005 09:41:55 +0000 (GMT) (envelope-from roam@ringlet.net) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id F170943D45 for ; Fri, 15 Jul 2005 09:41:52 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 7152 invoked from network); 15 Jul 2005 09:41:47 -0000 Received: from unknown (HELO straylight.ringlet.net) (213.16.36.102) by gandalf.online.bg with SMTP; 15 Jul 2005 09:41:47 -0000 Received: (qmail 31619 invoked by uid 1000); 15 Jul 2005 12:41:48 +0300 Date: Fri, 15 Jul 2005 12:41:48 +0300 From: Peter Pentchev To: Vasil Dimov Message-ID: <20050715094148.GA19992@straylight.m.ringlet.net> Mail-Followup-To: Vasil Dimov , hackers@freebsd.org References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> <20050714095217.Q35893@beck.quonix.net> <20050715064435.GA83687@sinanica.bg.datamax> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: <20050715064435.GA83687@sinanica.bg.datamax> User-Agent: Mutt/1.5.9i Cc: hackers@freebsd.org Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 09:41:55 -0000 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2005 at 09:44:35AM +0300, Vasil Dimov wrote: > On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there y= ou > > have to manually mount the / filesystem and edit passwd (just clear out > > the passwd, root::). However, do an fsck on the device first (you may h= ave > > to reboot afterwards) since if you have any fragmentation following an > > unclean shutdown, you will not be able to mount the device. > >=20 >=20 > Simply editing /etc/passwd won't do the work (this is not Linux, eah) > /etc/master.passwd must be edited and then pwd_mkdb /etc/master.passwd > must be run. Much easier to just chroot(8) into the mounted filesystem and use the 'passwd root' command, as others have already suggested - after booting =66rom the fixit CD, of course. [Cc list snipped, eek] G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 The rest of this sentence is written in Thailand, on --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC14Tc7Ri2jRYZRVMRAm4HAJ9zI58mbl0JkTELndzAsgnh/eRRwwCfQrZP an6y4j4TNvymZ1kGNNmpPAg= =uRWG -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 10:09:32 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9877316A41C for ; Fri, 15 Jul 2005 10:09:32 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from jengal.datamax.bg (jengal.datamax.bg [82.103.104.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 168DB43D48 for ; Fri, 15 Jul 2005 10:09:32 +0000 (GMT) (envelope-from vd@datamax.bg) Received: from sinanica.bg.datamax (sinanica.bg.datamax [192.168.10.1]) by jengal.datamax.bg (Postfix) with QMQP id 0480487C8 for ; Fri, 15 Jul 2005 13:09:31 +0300 (EEST) Received: (nullmailer pid 53843 invoked by uid 1004); Fri, 15 Jul 2005 10:09:39 -0000 Date: Fri, 15 Jul 2005 13:09:39 +0300 From: Vasil Dimov To: hackers@freebsd.org Message-ID: <20050715100939.GA53820@sinanica.bg.datamax> References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> <20050714095217.Q35893@beck.quonix.net> <20050715064435.GA83687@sinanica.bg.datamax> <20050715094148.GA19992@straylight.m.ringlet.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20050715094148.GA19992@straylight.m.ringlet.net> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i Cc: Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vd@datamax.bg List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 10:09:32 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2005 at 12:41:48PM +0300, Peter Pentchev wrote: > On Fri, Jul 15, 2005 at 09:44:35AM +0300, Vasil Dimov wrote: > > On Thu, Jul 14, 2005 at 09:55:16AM -0400, John Von Essen wrote: > > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From there= you > > > have to manually mount the / filesystem and edit passwd (just clear o= ut > > > the passwd, root::). However, do an fsck on the device first (you may= have > > > to reboot afterwards) since if you have any fragmentation following an > > > unclean shutdown, you will not be able to mount the device. > > >=20 > >=20 > > Simply editing /etc/passwd won't do the work (this is not Linux, eah) > > /etc/master.passwd must be edited and then pwd_mkdb /etc/master.passwd > > must be run. >=20 > Much easier to just chroot(8) into the mounted filesystem and use > the 'passwd root' command, as others have already suggested - after booti= ng > from the fixit CD, of course. >=20 Yes, ofcourse. I was just mentioning that "Simply editing /etc/passwd won't do the work". --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- iD8DBQFC14tjFw6SP/bBpCARAtyBAJ9VKISG8VF6TMTaDjaaVCYEgmU1hQCgnWZN ErRbtyW/nWYY+Xz2sx6muQM= =NGBG -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 10:56:52 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DE0816A41C; Fri, 15 Jul 2005 10:56:52 +0000 (GMT) (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 1FE1943D46; Fri, 15 Jul 2005 10:56:51 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.3/8.13.3) with ESMTP id j6FB1pY7083270; Fri, 15 Jul 2005 05:01:51 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <42D79676.6040606@samsco.org> Date: Fri, 15 Jul 2005 04:56:54 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.8) Gecko/20050615 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org Cc: Subject: FreeBSD 6.0-BETA1 Available X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 10:56:52 -0000 Announcement ------------ The FreeBSD Release Engineering Team is pleased to announce the availability of FreeBSD 6.0-BETA1, which marks the beginning of the FreeBSD 6.0 Release Cycle. FreeBSD 6.0 will be a much less dramatic step from the FreeBSD 5 branch than the FreeBSD 5 branch was from FreeBSD 4. Much of the work that has gone into 6.0 development has focused on polishing and improving the work from 5.x These changes include streamlining direct device access in the kernel, providing a multi-threaded SMP-safe UFS/VFS filesystem layer, implementing WPA and Host-AP 802.11 features, as well as countless bugfixes and device driver improvements. Major updates and improvements have been made to ACPI power and thermal management, ATA, and many aspects of the network infrastructure. 32bit application support for AMD64 is also greatly improved, as is compatiblity with certain Athlon64 motherboards. This release is also the first to feature experimental PowerPC support for the Macintosh G3 and G4 platforms. This BETA1 release is in the same basic format as the Monthly Snapshots. For most of the architectures only the ISO images are available though the FTP install tree is available for a couple of the architectures. We encourage people to help with testing so any final bugs can be identified and worked out. Availability of ISO images is given below. If you have an older system you want to update using the normal CVS/cvsup source based upgrade the branch tag to use is RELENG_6 (though that will change for the Release Candidates later). Problem reports can be submitted using the send-pr(1) command. The list of open issues and things still being worked on are on the todo list: http://www.freebsd.org/releases/6.0R/todo.html Since this is the first release of a new branch we only have a rough idea for some of the dates. The current rough schedule is available but most dates are still listed as "TBD - To Be Determined": http://www.freebsd.org/releases/6.0R/schedule.html Known Issues ------------ For the PowerPC architecture /etc/fstab isn't written out properly, so the first boot throws you into the mountroot> prompt. You will need to manually enter where the root partition is and fix /etc/fstab. Also the GEM driver is listed as 'unknown' in the network config dialog. For all architectures a kernel rebuild might be needed to get some FreeBSD 5 applications to run. Add "options COMPAT_FREEBSD5" to the kernel configuration file if you have problems with FreeBSD 5 executables. Availability ------------ The BETA1 ISOs and FTP support are available on most of the FreeBSD Mirror sites. A list of the mirror sites is available here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html The MD5s are: MD5 (6.0-BETA1-alpha-bootonly.iso) = eabda0a086e5492fe43626ce5be1d7e1 MD5 (6.0-BETA1-alpha-disc1.iso) = d7fe900bb3d5f259cc3cc565c4f303e4 MD5 (6.0-BETA1-amd64-bootonly.iso) = 9b04cb2f68300071c717f4aa4220bdac MD5 (6.0-BETA1-amd64-disc1.iso) = cb0f21feaf8b7dd9621f82a8157f6ed8 MD5 (6.0-BETA1-amd64-disc2.iso) = 84d40bc291a9ed5cd69dfa717445eeb5 MD5 (6.0-BETA1-i386-bootonly.iso) = 38e0b202ee7d279bae002b883f7074ec MD5 (6.0-BETA1-i386-disc1.iso) = b2baa8c18d4637ef02822a0da6717408 MD5 (6.0-BETA1-i386-disc2.iso) = 2b151a3cea8843d322c75ff76779ffcf MD5 (6.0-BETA1-ia64-bootonly.iso) = 97800ec7d4b29927a8e66a2b53e987fb MD5 (6.0-BETA1-ia64-disc1.iso) = 7d29cd9317997136507078971762a0d8 MD5 (6.0-BETA1-ia64-livefs.iso) = 6ff974e60a3964cf16fcec05925c14e9 MD5 (6.0-BETA1-pc98-disc1.iso) = 40a3134cce89bd5f7033d8b9181edf91 MD5 (6.0-BETA1-powerpc-bootonly.iso) = 2f64974e9bd5adcf813f5d35ff742443 MD5 (6.0-BETA1-powerpc-disc1.iso) = b2562c38414ff4866f5ed8b3a38683c8 MD5 (6.0-BETA1-sparc64-bootonly.iso) = ae9610aeb1169d2cc649628606014441 MD5 (6.0-BETA1-sparc64-disc1.iso) = af21752630b13cf60c9498fbf7f793b6 MD5 (6.0-BETA1-sparc64-disc2.iso) = 3241af814bfe93a97707c7a964c57718 Thanks to Ken Smith, Marcel Moolenaar, Wilko Bulte, and Takahashi Yoshihiro, and Peter Grehan for doing the sparc64, ia64, alpha, pc98, and ppc builds, respectively. Thanks also to Ken Smith for his help on writing much of this announcement. From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 11:16:59 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 570C016A41C for ; Fri, 15 Jul 2005 11:16:59 +0000 (GMT) (envelope-from stefan@aeschbacher.ch) Received: from mx.nts.ch (mail.nts.ch [212.103.67.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8A85943D49 for ; Fri, 15 Jul 2005 11:16:57 +0000 (GMT) (envelope-from stefan@aeschbacher.ch) Received: (qmail 8137 invoked by uid 7650); 15 Jul 2005 11:16:59 -0000 Received: from stefan@aeschbacher.ch by bernoulli by uid 64011 with qmail-scanner-1.21 (f-prot: 4.4.1/3.14.11. spamassassin: 2.63. Clear:RC:1(212.103.64.3):. Processed in 0.019075 secs); 15 Jul 2005 11:16:59 -0000 Received: from localhost ([212.103.64.3]) by mx.nts.ch ([192.168.123.34]) with ESMTP via TCP; 15 Jul 2005 11:16:59 -0000 Received: from ftp.nts.ch (ftp.nts.ch [212.103.67.6]) by horde.nts.ch (IMP) with HTTP for ; Fri, 15 Jul 2005 13:17:17 +0200 Message-ID: <1121426237.42d79b3dcf954@horde.nts.ch> Date: Fri, 15 Jul 2005 13:17:17 +0200 From: stefan@aeschbacher.ch To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.3-cvs X-Originating-IP: 212.103.67.6 Cc: Subject: rc.d ppp dependency X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 11:16:59 -0000 Hi when using ppp together with pf there seems to exist a dependency problem. I start ppp and pf with : ppp_enable="YES" and pf_enable="YES" in rc.conf. At startup when the pf rulefile is loaded, the tun0 (which I use in the pf config) device does not yet exist and therefore the rules can not load. I noticed that in /etc/rc.d/ppp-user, ipfilter is resynced after ppp has started. Shouldn't the same be done for pf? thanks Stefan P.S. a similar problem exists with sshd when a ListenAddress directive is used with an address configured to tun0 From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 12:21:30 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D74C16A421 for ; Fri, 15 Jul 2005 12:21:30 +0000 (GMT) (envelope-from dmitry.mityugov@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DF3A43D48 for ; Fri, 15 Jul 2005 12:21:29 +0000 (GMT) (envelope-from dmitry.mityugov@gmail.com) Received: by wproxy.gmail.com with SMTP id i1so599142wra for ; Fri, 15 Jul 2005 05:21:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=js61Cxi2COjMgkrx3U8ONHCUC/GP1Yr9p2cPY1mkDq8nfY3JCn1UaRJ425/jaqcu2Cz2L2TCg/i9/5a0ev0x1PdPa430neqei+lt2a+hHu3mO0p85Im/gogkin4qUOaPMCNG2k2gE0iHxmSD7laSziFL5ZQW4GzCnso9vsdd51I= Received: by 10.54.86.1 with SMTP id j1mr1066142wrb; Fri, 15 Jul 2005 05:21:28 -0700 (PDT) Received: by 10.54.56.33 with HTTP; Fri, 15 Jul 2005 05:21:28 -0700 (PDT) Message-ID: Date: Fri, 15 Jul 2005 16:21:28 +0400 From: Dmitry Mityugov To: hackers@freebsd.org In-Reply-To: <17111.3421.235276.995166@bhuda.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42D58447.9090600@chamkila.org> <19556.169.203.127.194.1121291465.squirrel@169.203.127.194> <3447e5c6e159524801b5814e10badc8f@essenz.com> <42D63B7F.8010803@rambler.ru> <20050714095217.Q35893@beck.quonix.net> <17111.3421.235276.995166@bhuda.mired.org> Cc: Mike Meyer , John Von Essen Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Mityugov List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 12:21:30 -0000 On 7/15/05, Mike Meyer wrote: > In <20050714095217.Q35893@beck.quonix.net>, John Von Essen typed: > > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). >=20 > You an boot the second CD directly. Fixit Shell does not need the 2nd CD in FreeBSD 5.4 anymore. --=20 Dmitry "We live less by imagination than despite it" - Rockwell Kent, "N by E" From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 14 13:21:58 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 067F216A41C for ; Thu, 14 Jul 2005 13:21:58 +0000 (GMT) (envelope-from mwm-dated-1122211364.986f92@mired.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF30E43D45 for ; Thu, 14 Jul 2005 13:21:57 +0000 (GMT) (envelope-from mwm-dated-1122211364.986f92@mired.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id 42DC51586CF for ; Thu, 14 Jul 2005 06:21:57 -0700 (PDT) Received: from mired.org (mwm@idiom [216.240.32.1]) by idiom.com (8.12.11/8.12.11) with SMTP id j6EDLtFY016910 for ; Thu, 14 Jul 2005 06:21:56 -0700 (PDT) (envelope-from mwm-dated-1122211364.986f92@mired.org) Received: (qmail 38988 invoked by uid 1001); 14 Jul 2005 13:22:44 -0000 Received: by bhuda.mired.org (tmda-sendmail, from uid 1001); Thu, 14 Jul 2005 09:22:44 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17110.26404.262204.999520@bhuda.mired.org> Date: Thu, 14 Jul 2005 09:22:44 -0400 To: "Julian H. Stacey" In-Reply-To: <200507132203.j6DM3LRd020116@fire.jhs.private> References: <42D58447.9090600@chamkila.org> <200507132203.j6DM3LRd020116@fire.jhs.private> X-Mailer: VM 7.17 under 21.4 (patch 17) "Jumbo Shrimp" XEmacs Lucid X-Primary-Address: mwm@mired.org X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ X-Delivery-Agent: TMDA/1.0.3 (Seattle Slew) From: Mike Meyer X-Mailman-Approved-At: Fri, 15 Jul 2005 13:06:51 +0000 Cc: freebsd-hackers@freebsd.org, Amandeep Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2005 13:21:58 -0000 In <200507132203.j6DM3LRd020116@fire.jhs.private>, Julian H. Stacey typed: > Amandeep wrote: > > Hi all, > > First, please do Not cross post, we have a rule about that ! > > ... so I dropped cc freebsd-questions@freebsd.org, > > > Is there a way to reset the root passwd without reinstalling FreeBSD 4.7. > > > > Thanks in advance > > > > Aman > > passwd root Except you have to know the root password for that to work. > [ Except maybe ] > Various things get crippled now, in the name of avoiding > `shooting self in the foot' accidents by neophytes. So maybe > if you're running at a higher kernel security level you > might need to turn that off. Don't know how though, I never > cripple my root access. (& similarly hate eg fdisk -a being > similarly crippled by sysctl, in the same name of neophyte > foot shooting prevention ) I always looked at that as a security feature, not a neophyte protection feature. I turn it on for my goats. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 14:56:37 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07B9016A41C for ; Fri, 15 Jul 2005 14:56:37 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from wjv.com (fl-65-40-24-38.sta.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5502543D45 for ; Fri, 15 Jul 2005 14:56:35 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.13.1) with ESMTP id j6FEuWn5076544 for ; Fri, 15 Jul 2005 10:56:33 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.13.1/Submit) id j6FEuWRj076543 for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 10:56:32 -0400 (EDT) (envelope-from bv) Date: Fri, 15 Jul 2005 10:56:32 -0400 From: Bill Vermillion To: freebsd-hackers@freebsd.org Message-ID: <20050715145632.GB76303@wjv.com> References: <20050715120023.5C38E16A41C@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050715120023.5C38E16A41C@hub.freebsd.org> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.0.4 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on bilver.wjv.com Subject: Re: How to reset root passwd FreeBSd4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bv@wjv.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 14:56:37 -0000 While normally not able to pour water out of a boot with instructions on the heel, on Fri, Jul 15, 2005 at 12:00 our dear friend freebsd-hackers-request@freebsd.org uttered this load of codswallop: > Message: 3 > Date: Thu, 14 Jul 2005 09:55:16 -0400 (EDT) > From: John Von Essen > Subject: Re: How to reset root passwd FreeBSdD4.7 > Boot with 1st CD, goto the Fixit Shell (will need 2nd CD). From > there you have to manually mount the / filesystem and edit > passwd (just clear out the passwd, root::). However, do an fsck > on the device first (you may have to reboot afterwards) since if > you have any fragmentation following an unclean shutdown, you > will not be able to mount the device. Just a short comment. 'Fragmentation' has nothing to do with this. An bad shutdown fails to sync the data and thus requiring and fsck to ensure the filesystem is in an stable state. The 'fragments' you see referenced in the fsck only reference the number of files that are stored in fragments - eg not occupying a full block allocation. Bill Bill -- Bill Vermillion - bv @ wjv . com From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 15:05:03 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86ADF16A41C for ; Fri, 15 Jul 2005 15:05:03 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from gateway.layern.com (gateway.britestream.com [207.191.53.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EB6943D46 for ; Fri, 15 Jul 2005 15:05:02 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from pineapple.layern.com (pineapple.layern.com [192.168.1.233]) by gateway.layern.com (8.12.11/8.12.11) with ESMTP id j6FF51Fb026276 for ; Fri, 15 Jul 2005 10:05:01 -0500 Received: from ryan by pineapple.layern.com with local (Exim 4.50) id 1DtRkL-0005Gq-0b for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 10:05:01 -0500 Date: Fri, 15 Jul 2005 10:05:01 -0500 From: Ryan Nowakowski To: freebsd-hackers@freebsd.org Message-ID: <20050715150500.GA19897@pineapple.britestream.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline Organization: Britestream Networks User-Agent: Mutt/1.5.9i X-Scanned-By: MIMEDefang 2.43 Subject: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 15:05:03 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'd like to bootstrap a FreeBSD 5.4 install from GRUB or another harddrive-based bootloader without using PXEboot. Problem: GRUB will boot the FreeBSD loader, however I can't get the loader to read a kernel from any of my existing partitions(ext2, reiserfs, fat16). I know it can load a kernel from UFS but I have to have FreeBSD installed to create a UFS partition(catch-22). Is there a way to get a non-pxeboot loader to grab the kernel from a non-UFS filesystem or perhaps the network(NFS or TFTP)? Suggestions? --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC19CcJ5jv18RIIpgRAgj2AKCoe0s3zZ1zOx+kWXEpvSLS8ZmdIwCglN0o c9mP3mhmGc9H57csx16mt3U= =QAIX -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 15:08:06 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A5D516A41C for ; Fri, 15 Jul 2005 15:08:06 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1393243D46 for ; Fri, 15 Jul 2005 15:08:05 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[65.202.103.25]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Fri, 15 Jul 2005 11:22:14 -0400 From: John Baldwin To: freebsd-hackers@freebsd.org Date: Fri, 15 Jul 2005 08:59:18 -0400 User-Agent: KMail/1.8 References: <42D77323.7030903@alvorlig.dk> In-Reply-To: <42D77323.7030903@alvorlig.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507150859.19270.jhb@FreeBSD.org> Cc: "J. Martin Petersen" Subject: Re: Per CPU load statistics X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 15:08:06 -0000 On Friday 15 July 2005 04:26 am, J. Martin Petersen wrote: > Hi > > Is it possible to get per CPU (load) statistics? It seems cp_time is a > sum for all the CPUs, so is there another way to get this information? I > looked through the source, but I'm not quite sure what to look for. > > Cheers, Martin Not currently, no. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 15:19:24 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D996016A424 for ; Fri, 15 Jul 2005 15:19:23 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from stella.fs.ei.tum.de (stella.fs.ei.tum.de [129.187.54.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B0DF43D49 for ; Fri, 15 Jul 2005 15:19:19 +0000 (GMT) (envelope-from corecode@fs.ei.tum.de) Received: from localhost (localhost [127.0.0.1]) by localhost.fs.ei.tum.de (Postfix) with ESMTP id B96CD8D764; Fri, 15 Jul 2005 17:19:17 +0200 (CEST) Received: from stella.fs.ei.tum.de ([127.0.0.1]) by localhost (stella [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08656-03-2; Fri, 15 Jul 2005 17:19:16 +0200 (CEST) Received: from [IPv6:2001:4ca0:0:fe00:0:5efe:a96:b4b4] (unknown [IPv6:2001:4ca0:0:fe00:0:5efe:a96:b4b4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by stella.fs.ei.tum.de (Postfix) with ESMTP id 11AD48D757; Fri, 15 Jul 2005 17:19:16 +0200 (CEST) Message-ID: <42D7D3ED.7030504@fs.ei.tum.de> Date: Fri, 15 Jul 2005 17:19:09 +0200 From: Simon 'corecode' Schubert User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050715) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Nowakowski References: <20050715150500.GA19897@pineapple.britestream.com> In-Reply-To: <20050715150500.GA19897@pineapple.britestream.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at fs.ei.tum.de Cc: freebsd-hackers@freebsd.org Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 15:19:25 -0000 Ryan Nowakowski wrote: > I'd like to bootstrap a FreeBSD 5.4 install from GRUB or another > harddrive-based bootloader without using PXEboot. > > Problem: GRUB will boot the FreeBSD loader, however I can't get > the loader to read a kernel from any of my existing partitions(ext2, > reiserfs, fat16). I know it can load a kernel from UFS but I have to > have FreeBSD installed to create a UFS partition(catch-22). Is there a > way to get a non-pxeboot loader to grab the kernel from a non-UFS > filesystem or perhaps the network(NFS or TFTP)? > > Suggestions? First time load the kernel via grub, not the loader. The kernel will complain, yet still work. After you're done installing, you can switch grub to use the loader. cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \ From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 16:13:31 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97A7F16A41C for ; Fri, 15 Jul 2005 16:13:31 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from gateway.layern.com (gateway.britestream.com [207.191.53.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0330E43D48 for ; Fri, 15 Jul 2005 16:13:30 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from pineapple.layern.com (pineapple.layern.com [192.168.1.233]) by gateway.layern.com (8.12.11/8.12.11) with ESMTP id j6FGDMNj030923 for ; Fri, 15 Jul 2005 11:13:22 -0500 Received: from ryan by pineapple.layern.com with local (Exim 4.50) id 1DtSoU-0005b3-2t for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 11:13:22 -0500 Date: Fri, 15 Jul 2005 11:13:22 -0500 From: Ryan Nowakowski To: freebsd-hackers@freebsd.org Message-ID: <20050715161321.GA20287@pineapple.britestream.com> References: <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS" Content-Disposition: inline In-Reply-To: <42D7D3ED.7030504@fs.ei.tum.de> Organization: Britestream Networks User-Agent: Mutt/1.5.9i X-Scanned-By: MIMEDefang 2.43 Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 16:13:31 -0000 --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 15, 2005 at 05:19:09PM +0200, Simon 'corecode' Schubert wrote: > Ryan Nowakowski wrote: > >I'd like to bootstrap a FreeBSD 5.4 install from GRUB or another > >harddrive-based bootloader without using PXEboot. > > > >Problem: GRUB will boot the FreeBSD loader, however I can't get > >the loader to read a kernel from any of my existing partitions(ext2, > >reiserfs, fat16). I know it can load a kernel from UFS but I have to > >have FreeBSD installed to create a UFS partition(catch-22). Is there a > >way to get a non-pxeboot loader to grab the kernel from a non-UFS > >filesystem or perhaps the network(NFS or TFTP)? > > > >Suggestions? >=20 > First time load the kernel via grub, not the loader. The kernel will=20 > complain, yet still work. After you're done installing, you can switch=20 > grub to use the loader. > Any idea what the grub parameters should be? Right now I'm booting this and getting a "Fatal Trap 9" kernel crash during pci init. root (hd0,0) kernel /boot/kernel/kernel root=3D/boot/mfsroot.gz --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1+ChJ5jv18RIIpgRApH9AKDRkWOkd4pyNlkakk3ssPYGMPn/UwCg2sma e48aGO8DIYh0uNntb82pH8k= =JQER -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 16:44:22 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFC0016A41C for ; Fri, 15 Jul 2005 16:44:22 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4180543D45 for ; Fri, 15 Jul 2005 16:44:22 +0000 (GMT) (envelope-from maslanbsd@gmail.com) Received: by wproxy.gmail.com with SMTP id i20so669899wra for ; Fri, 15 Jul 2005 09:44:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JeslzF5AgmuuXJY7+dvd2zVKUZS16cJT9BkAT9YIgE0QHTeAW2AeyAIOXJMHRE5WmggiAHnsGaqAkc6HDXZJnHhXt80/LUJ7FJI+1FGFpz9ZRqyWQeN78jAnuIA9xs6GibmIpFysFwClAtwVE+8xRN0pDTVgZPlPnv0jUpFoUgo= Received: by 10.54.50.48 with SMTP id x48mr1158208wrx; Fri, 15 Jul 2005 09:44:21 -0700 (PDT) Received: by 10.54.99.11 with HTTP; Fri, 15 Jul 2005 09:44:21 -0700 (PDT) Message-ID: <319cceca05071509443dca4199@mail.gmail.com> Date: Fri, 15 Jul 2005 16:44:21 +0000 From: Maslan To: Ryan Nowakowski In-Reply-To: <20050715161321.GA20287@pineapple.britestream.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> <20050715161321.GA20287@pineapple.britestream.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maslan List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 16:44:22 -0000 You can chian load your BSD. root (hd0,0,a) # if hd0,0 is your kernel's UFS chainloader +1 boot or you can load the loader root (hd0,0,a) kernel /boot/loader boot On 7/15/05, Ryan Nowakowski wrote: > On Fri, Jul 15, 2005 at 05:19:09PM +0200, Simon 'corecode' Schubert wrote= : > > Ryan Nowakowski wrote: > > >I'd like to bootstrap a FreeBSD 5.4 install from GRUB or another > > >harddrive-based bootloader without using PXEboot. > > > > > >Problem: GRUB will boot the FreeBSD loader, however I can't get > > >the loader to read a kernel from any of my existing partitions(ext2, > > >reiserfs, fat16). I know it can load a kernel from UFS but I have to > > >have FreeBSD installed to create a UFS partition(catch-22). Is there = a > > >way to get a non-pxeboot loader to grab the kernel from a non-UFS > > >filesystem or perhaps the network(NFS or TFTP)? > > > > > >Suggestions? > > > > First time load the kernel via grub, not the loader. The kernel will > > complain, yet still work. After you're done installing, you can switch > > grub to use the loader. > > > Any idea what the grub parameters should be? Right now I'm booting > this and getting a "Fatal Trap 9" kernel crash during pci init. >=20 > root (hd0,0) > kernel /boot/kernel/kernel root=3D/boot/mfsroot.gz >=20 >=20 >=20 >=20 >=20 > BodyID:5353954.2.n.logpart (stored separately) >=20 >=20 --=20 I'm Searching For Perfection, So Even If U Need Portability U've To Use Assembly ;-) http://www.maslanlab.org From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 18:45:24 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C4B716A421 for ; Fri, 15 Jul 2005 18:45:24 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB81E43D46 for ; Fri, 15 Jul 2005 18:45:23 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id j6FIj6xO026290; Fri, 15 Jul 2005 11:45:06 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id j6FIj56k026289; Fri, 15 Jul 2005 11:45:05 -0700 (PDT) (envelope-from jmg) Date: Fri, 15 Jul 2005 11:45:04 -0700 From: John-Mark Gurney To: Mike Meyer Message-ID: <20050715184504.GH37261@funkthat.com> Mail-Followup-To: Mike Meyer , "Julian H. Stacey" , freebsd-hackers@freebsd.org, Amandeep References: <42D58447.9090600@chamkila.org> <200507132203.j6DM3LRd020116@fire.jhs.private> <17110.26404.262204.999520@bhuda.mired.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17110.26404.262204.999520@bhuda.mired.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p1 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org, Amandeep , "Julian H. Stacey" Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 18:45:24 -0000 Mike Meyer wrote this message on Thu, Jul 14, 2005 at 09:22 -0400: > > passwd root > > Except you have to know the root password for that to work. root is never asked what the old password is... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 18:51:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A7F416A42B for ; Fri, 15 Jul 2005 18:51:34 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94CFD43D58 for ; Fri, 15 Jul 2005 18:51:33 +0000 (GMT) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by smtp-vbr3.xs4all.nl (8.13.3/8.13.3) with ESMTP id j6FIpCpB012810; Fri, 15 Jul 2005 20:51:12 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.13.3/8.13.3) with ESMTP id j6FIpCmV006082; Fri, 15 Jul 2005 20:51:12 +0200 (CEST) (envelope-from wb@freebie.xs4all.nl) Received: (from wb@localhost) by freebie.xs4all.nl (8.13.3/8.13.1/Submit) id j6FIpCDk006081; Fri, 15 Jul 2005 20:51:12 +0200 (CEST) (envelope-from wb) Date: Fri, 15 Jul 2005 20:51:12 +0200 From: Wilko Bulte To: Mike Meyer , "Julian H. Stacey" , freebsd-hackers@freebsd.org, Amandeep Message-ID: <20050715185111.GA6063@freebie.xs4all.nl> References: <42D58447.9090600@chamkila.org> <200507132203.j6DM3LRd020116@fire.jhs.private> <17110.26404.262204.999520@bhuda.mired.org> <20050715184504.GH37261@funkthat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050715184504.GH37261@funkthat.com> X-OS: FreeBSD 5.4-STABLE User-Agent: Mutt/1.5.9i X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Subject: Re: How to reset root passwd FreeBSdD4.7 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 18:51:34 -0000 On Fri, Jul 15, 2005 at 11:45:04AM -0700, John-Mark Gurney wrote.. > Mike Meyer wrote this message on Thu, Jul 14, 2005 at 09:22 -0400: > > > passwd root > > > > Except you have to know the root password for that to work. > > root is never asked what the old password is... Why isn't this whole thread moved to -questions or wherever? -- Wilko Bulte wilko@FreeBSD.org From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 19:57:24 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BFBD16A41C for ; Fri, 15 Jul 2005 19:57:24 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from people.fsn.hu (people.fsn.hu [195.228.252.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9595E43D45 for ; Fri, 15 Jul 2005 19:57:22 +0000 (GMT) (envelope-from bra@fsn.hu) Received: from localhost (localhost [127.0.0.1]) by people.fsn.hu (Postfix) with ESMTP id 9A99384426 for ; Fri, 15 Jul 2005 21:57:21 +0200 (CEST) Received: from people.fsn.hu ([127.0.0.1]) by localhost (people.fsn.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 14516-06-2 for ; Fri, 15 Jul 2005 21:57:16 +0200 (CEST) Received: from [172.16.164.1] (fw.axelero.hu [195.228.243.120]) by people.fsn.hu (Postfix) with ESMTP id E8EBD84423 for ; Fri, 15 Jul 2005 21:57:15 +0200 (CEST) Message-ID: <42D8151A.2070402@fsn.hu> Date: Fri, 15 Jul 2005 21:57:14 +0200 From: Attila Nagy User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <42D79676.6040606@samsco.org> In-Reply-To: <42D79676.6040606@samsco.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at fsn.hu Subject: Re: FreeBSD 6.0-BETA1 Available X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 19:57:24 -0000 Hello, Scott Long wrote: > The FreeBSD Release Engineering Team is pleased to announce the > availability of FreeBSD 6.0-BETA1, which marks the beginning of the > FreeBSD 6.0 Release Cycle. I don't know whether it's my machine (HP DL145G2) or this new release, but without USB compiled in the kernel, the machine doesn't boot. The kernel freezes after trying to initialize the AT keyboard. With USB, everything works OK. -- Attila Nagy e-mail: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 371 3536 ISOs: http://www.fsn.hu/?f=download cell.: +3630 306 6758 From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 20:38:08 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82FCC16A41C for ; Fri, 15 Jul 2005 20:38:08 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from gateway.layern.com (gateway.britestream.com [207.191.53.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13FCA43D4C for ; Fri, 15 Jul 2005 20:38:07 +0000 (GMT) (envelope-from ryan@britestream.com) Received: from pineapple.layern.com (pineapple.layern.com [192.168.1.233]) by gateway.layern.com (8.12.11/8.12.11) with ESMTP id j6FKc4hY020886 for ; Fri, 15 Jul 2005 15:38:04 -0500 Received: from ryan by pineapple.layern.com with local (Exim 4.50) id 1DtWwd-00064Q-W6 for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 15:38:03 -0500 Date: Fri, 15 Jul 2005 15:38:03 -0500 From: Ryan Nowakowski To: freebsd-hackers@freebsd.org Message-ID: <20050715203803.GD20287@pineapple.britestream.com> References: <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> <20050715161321.GA20287@pineapple.britestream.com> <319cceca05071509443dca4199@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XvKFcGCOAo53UbWW" Content-Disposition: inline In-Reply-To: <319cceca05071509443dca4199@mail.gmail.com> Organization: Britestream Networks User-Agent: Mutt/1.5.9i X-Scanned-By: MIMEDefang 2.43 Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 20:38:08 -0000 --XvKFcGCOAo53UbWW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FreeBSD loader doesn't load a kernel from ext2, fat16/32, or network so it's not usable in this case. On Fri, Jul 15, 2005 at 04:44:21PM +0000, Maslan wrote: > You can chian load your BSD. > root (hd0,0,a) # if hd0,0 is your kernel's UFS > chainloader +1 > boot > or you can load the loader > root (hd0,0,a) > kernel /boot/loader > boot >=20 >=20 > On 7/15/05, Ryan Nowakowski wrote: > > On Fri, Jul 15, 2005 at 05:19:09PM +0200, Simon 'corecode' Schubert wro= te: > > > Ryan Nowakowski wrote: > > > >I'd like to bootstrap a FreeBSD 5.4 install from GRUB or another > > > >harddrive-based bootloader without using PXEboot. > > > > > > > >Problem: GRUB will boot the FreeBSD loader, however I can't get > > > >the loader to read a kernel from any of my existing partitions(ext2, > > > >reiserfs, fat16). I know it can load a kernel from UFS but I have to > > > >have FreeBSD installed to create a UFS partition(catch-22). Is ther= e a > > > >way to get a non-pxeboot loader to grab the kernel from a non-UFS > > > >filesystem or perhaps the network(NFS or TFTP)? > > > > > > > >Suggestions? > > > > > > First time load the kernel via grub, not the loader. The kernel will > > > complain, yet still work. After you're done installing, you can switch > > > grub to use the loader. > > > > > Any idea what the grub parameters should be? Right now I'm booting > > this and getting a "Fatal Trap 9" kernel crash during pci init. > >=20 > > root (hd0,0) > > kernel /boot/kernel/kernel root=3D/boot/mfsroot.gz > >=20 > >=20 > >=20 > >=20 > >=20 > > BodyID:5353954.2.n.logpart (stored separately) > >=20 > >=20 >=20 >=20 > --=20 > I'm Searching For Perfection, > So Even If U Need Portability U've To Use Assembly ;-) > http://www.maslanlab.org > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --XvKFcGCOAo53UbWW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC2B6rJ5jv18RIIpgRAm6UAKCt9GdebiSUAh2CeFQcY5jDfsy9BgCggh4l rSI5hBduh72VqqMKkKByCxE= =nGkZ -----END PGP SIGNATURE----- --XvKFcGCOAo53UbWW-- From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 21:05:43 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CB1D16A41C for ; Fri, 15 Jul 2005 21:05:43 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from voodoo.oberon.net (voodoo.oberon.net [212.118.165.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FC9643D48 for ; Fri, 15 Jul 2005 21:05:42 +0000 (GMT) (envelope-from igor@doom.homeunix.org) Received: from dialup84116-26.ip.peterstar.net ([84.204.116.26] helo=doom.homeunix.org) by voodoo.oberon.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DtXMq-0004um-BA for freebsd-hackers@freebsd.org; Fri, 15 Jul 2005 23:05:09 +0200 Received: from doom.homeunix.org (localhost [127.0.0.1]) by doom.homeunix.org (8.13.3/8.13.3) with ESMTP id j6FL0w0a002576; Sat, 16 Jul 2005 01:01:01 +0400 (MSD) (envelope-from igor@doom.homeunix.org) Received: (from igor@localhost) by doom.homeunix.org (8.13.3/8.13.3/Submit) id j6FKxFm0002571; Sat, 16 Jul 2005 00:59:15 +0400 (MSD) (envelope-from igor) Date: Sat, 16 Jul 2005 00:58:47 +0400 From: Igor Pokrovsky To: Olivier Certner Message-ID: <20050715205847.GA2533@doom.homeunix.org> Mail-Followup-To: Olivier Certner , Florent Thoumie , freebsd-hackers@freebsd.org, koma2@lovepeers.org, Kris Kennaway References: <200507102313.12719.olivier.certner@free.fr> <20050712165530.GA5475@xor.obsecurity.org> <1121189986.6598.1.camel@cream.xbsd.org> <200507130015.31521.olivier.certner@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200507130015.31521.olivier.certner@free.fr> User-Agent: Mutt/1.4.2.1i Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by doom.homeunix.org id j6FL0w0a002576 Cc: freebsd-hackers@freebsd.org, Kris Kennaway , koma2@lovepeers.org, Florent Thoumie Subject: Re: Bug in portupgrade X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 21:05:43 -0000 On Wed, Jul 13, 2005 at 12:15:31AM +0200, Olivier Certner wrote: > Le Mardi 12 Juillet 2005 19:39, Florent Thoumie a ?crit=9A: > > Le Mardi 12 juillet 2005 ? 12:55 -0400, Kris Kennaway a ?crit : > > > On Sun, Jul 10, 2005 at 11:13:12PM +0200, Olivier Certner wrote: > > > > Hi, > > > > > > > > There is a bug with portupgrade when it is used to upgrade alrea= dy > > > > compiled and installed ports for which some dependencies have bee= n > > > > deleted in the package database. This causes a crash in the funct= ion > > > > 'deorigin' in pkgdb.rb. > > > > > > > > Since I don't know the internals of portupgrade, I don't know if= it's > > > > normal to call 'deorigin' with its argument set to nil. If it is,= then > > > > the patch below might be useful (beware, I don't know any ruby, I= 've > > > > just tried something and it works), if it is not, I only can prov= ide > > > > the stack (see below) in order for maintainers to seek the faulty > > > > callers. > > > > > > Please talk to the port maintainer. > > > > Yeah, and good luck :) > > > > Otherwise, he can try to pkgdb -F or remove pkgdb.rb and re-run > > portupgrade. >=20 > This doesn't work in fact. I'm forwarding these mails to the maintaine= r. Same here. I raised this problem on mailing list some time ago but withou= t luck. -ip --=20 After things have gone from bad to worse, the cycle will repeat itself. From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 15 21:29:09 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B30116A41C for ; Fri, 15 Jul 2005 21:29:09 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dagobah.rfc1149.org (dagobah.rfc1149.org [217.160.170.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD55743D46 for ; Fri, 15 Jul 2005 21:29:08 +0000 (GMT) (envelope-from arne@rfc2549.org) Received: from dsl-213-023-200-138.arcor-ip.net ([213.23.200.138] helo=[192.168.0.42]) by dagobah.rfc1149.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1DtXjz-0001sc-I1; Fri, 15 Jul 2005 23:29:06 +0200 Message-ID: <42D82A7C.2010901@rfc2549.org> Date: Fri, 15 Jul 2005 23:28:28 +0200 From: Arne Schwabe User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050524) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ryan Nowakowski References: <20050715150500.GA19897@pineapple.britestream.com> <42D7D3ED.7030504@fs.ei.tum.de> <20050715161321.GA20287@pineapple.britestream.com> <319cceca05071509443dca4199@mail.gmail.com> <20050715203803.GD20287@pineapple.britestream.com> In-Reply-To: <20050715203803.GD20287@pineapple.britestream.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-RFC-Spam-Score: -2.0 (--) Cc: freebsd-hackers@freebsd.org Subject: Re: Bootstrapping install from GRUB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2005 21:29:09 -0000 Ryan Nowakowski wrote: >FreeBSD loader doesn't load a kernel from ext2, fat16/32, or network so >it's not usable in this case. > > you can load the kernel from network via tftp at least with pxe loader loads the kernel via tftp. Arne From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 16 13:12:34 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D581916A41C for ; Sat, 16 Jul 2005 13:12:34 +0000 (GMT) (envelope-from creep@daedalus.desk.pl) Received: from daedalus.desk.pl (daedalus.desk.pl [62.233.238.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4496D43D46 for ; Sat, 16 Jul 2005 13:12:34 +0000 (GMT) (envelope-from creep@daedalus.desk.pl) Received: from localhost (localhost [127.0.0.1]) by daedalus.desk.pl (Postfix) with ESMTP id 14D0336673A for ; Sat, 16 Jul 2005 15:03:44 +0200 (CEST) Received: from daedalus.desk.pl ([127.0.0.1]) by localhost (daedalus [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19552-10 for ; Sat, 16 Jul 2005 15:03:42 +0200 (CEST) Received: by daedalus.desk.pl (Postfix, from userid 1023) id DBD37366734; Sat, 16 Jul 2005 15:03:42 +0200 (CEST) Date: Sat, 16 Jul 2005 15:03:42 +0200 From: Marcin Koziej To: freebsd-hackers@freebsd.org Message-ID: <20050716130342.GA18875@daedalus.desk.pl> References: <20050716120022.A86C716A41C@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20050716120022.A86C716A41C@hub.freebsd.org> User-Agent: Mutt/1.4.1i X-Antivirus: Skaner Antywirusowy DESK.pl Subject: Advice on psm driver interface ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 13:12:34 -0000 Hello Hackers, I'm playing with the psm driver and a symantics touchpad - I'd like to send the touch pressure along with x/y coordinates/buttons and then chenge the behaviour of mouse in moused using the pressure. What would be better: 1. Extend the struct mousestatus with additional pressure field. 2. Use the mousestatus's z axis movement (dz field). It in fact IS the third dimension, right? The whole concept of z being used for scrolling at times, and at times scrolling being just additional buttons is odd to me. 3. Use another ioctl like MOUSE_SYN_GETHWINFO to fetch the pressure value. What would be best? m. From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 16 13:13:01 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BA3716A41C; Sat, 16 Jul 2005 13:13:01 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7DA843D46; Sat, 16 Jul 2005 13:13:00 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3D1A6.dip.t-dialin.net [84.163.209.166] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0ML29c-1DtmTT0NvJ-0003Tj; Sat, 16 Jul 2005 15:12:59 +0200 From: Max Laier To: freebsd-current@freebsd.org Date: Sat, 16 Jul 2005 15:12:49 +0200 User-Agent: KMail/1.8 References: <200507061624.09477.max@love2party.net> <200507142116.42991.max@love2party.net> In-Reply-To: <200507142116.42991.max@love2party.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1416782.Sa0JntOn4s"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507161512.57626.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-hackers@freebsd.org Subject: LAST: Call for FreeBSD status reports X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 13:13:01 -0000 --nextPart1416782.Sa0JntOn4s Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline All, turn-out is steadily increasing. We are still waiting for a couple of late= =20 entries. If you plan to submit, please do so asap. Thanks a lot! The final deadline is: July 18, 2005 - 20:00 GMT > On Wednesday 06 July 2005 16:24, I wrote: > > All, > > > > Three month of fruitful development have passed since the last round of > > FreeBSD status reports, and the release of FreeBSD 6.0 is on the > > doorstep. =A0We hope that you made good progress on your projects and h= ave > > interesting news to share. =A0Please do so by sending a status report to > > monthly@freebsd.org Submissions are due by July 15, 2005. > > > > Reports should cover activities during May to June, but may of course > > cover earlier work as well. =A0In addition we encourage you to use the > > "Open Tasks" section to recruit help for your project and point out > > future direction. > > > > Submissions are *not* limited to FreeBSD developers with commit rights! > > =A0It is open to everybody who is doing FreeBSD related work and wants = to > > share progress with the community. =A0The status reports are also a good > > vehicle to gather interested people for you WIP. > > > > We have introduced a new category called "soc" to pool reports related = to > > Google Summer of Code. =A0We hope for interesting news from that corner! > > > > To help you with fileing your report you will find a webform or > > xml-template linked from http://www.freebsd.org/news/status/ (as soon as > > the www build completes). > > > > Submissions are due on July 15. =A0Thanks a lot, and we are hoping for a > > big turn-out. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1416782.Sa0JntOn4s Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC2QfZXyyEoT62BG0RAu4pAJ9XZwlbBXbzlCwKEYzYGtcLuSNqegCfY7UE /m6/CCRiSNGoK+UEJmsbqFs= =9iXt -----END PGP SIGNATURE----- --nextPart1416782.Sa0JntOn4s-- From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 16 11:06:08 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27A2516A41C; Sat, 16 Jul 2005 11:06:08 +0000 (GMT) (envelope-from oystein@holmen.cc) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D57C43D49; Sat, 16 Jul 2005 11:06:07 +0000 (GMT) (envelope-from oystein@holmen.cc) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IJP004VJW7UZRA0@osl1smout1.broadpark.no>; Sat, 16 Jul 2005 13:07:06 +0200 (CEST) Received: from [192.168.1.3] ([84.48.131.57]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IJP00BBZWBZ1MK0@osl1sminn1.broadpark.no>; Sat, 16 Jul 2005 13:09:36 +0200 (CEST) Date: Sat, 16 Jul 2005 13:06:05 +0200 From: =?ISO-8859-1?Q?=D8ystein_Holmen?= In-reply-to: <42D79676.6040606@samsco.org> To: freebsd-stable@freebsd.org Message-id: <1DE73C33-06AD-4569-A90C-370484EB6019@holmen.cc> MIME-version: 1.0 X-Mailer: Apple Mail (2.733) Content-type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-transfer-encoding: quoted-printable References: <42D79676.6040606@samsco.org> X-Mailman-Approved-At: Sat, 16 Jul 2005 15:00:04 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 6.0-BETA1 Available X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 11:06:08 -0000 I was looking for a place to download 6.0-BETA1-powerpc-bootonly.iso =20 to test om my PowerMac G4. But I cannot find it on any of the ftp-=20 sites og mirrors. Where can I download it? Sincerely, =D8ystein Holmen Den 15. jul. 2005 kl. 12:56 skrev Scott Long: > Announcement > ------------ > > The FreeBSD Release Engineering Team is pleased to announce the > availability of FreeBSD 6.0-BETA1, which marks the beginning of the > FreeBSD 6.0 Release Cycle. > > FreeBSD 6.0 will be a much less dramatic step from the FreeBSD 5 =20 > branch > than the FreeBSD 5 branch was from FreeBSD 4. Much of the work =20 > that has > gone into 6.0 development has focused on polishing and improving the > work from 5.x These changes include streamlining direct device access > in the kernel, providing a multi-threaded SMP-safe UFS/VFS filesystem > layer, implementing WPA and Host-AP 802.11 features, as well as > countless bugfixes and device driver improvements. Major updates and > improvements have been made to ACPI power and thermal management, ATA, > and many aspects of the network infrastructure. 32bit application > support for AMD64 is also greatly improved, as is compatiblity with > certain Athlon64 motherboards. This release is also the first to > feature experimental PowerPC support for the Macintosh G3 and G4 > platforms. > > This BETA1 release is in the same basic format as the Monthly =20 > Snapshots. > For most of the architectures only the ISO images are available though > the FTP install tree is available for a couple of the architectures. > > We encourage people to help with testing so any final bugs can be =20 > identified and worked out. Availability of ISO images is given =20 > below. If you have an older system you want to update using the =20 > normal CVS/cvsup source based upgrade the branch tag to use is =20 > RELENG_6 (though that will change for the Release Candidates =20 > later). Problem reports can be submitted using the send-pr(1) =20 > command. > > The list of open issues and things still being worked on are on the > todo list: > > http://www.freebsd.org/releases/6.0R/todo.html > > Since this is the first release of a new branch we only have a rough > idea for some of the dates. The current rough schedule is available > but most dates are still listed as "TBD - To Be Determined": > > http://www.freebsd.org/releases/6.0R/schedule.html > > Known Issues > ------------ > > For the PowerPC architecture /etc/fstab isn't written out properly, so > the first boot throws you into the mountroot> prompt. You will need > to manually enter where the root partition is and fix /etc/fstab. =20 > Also > the GEM driver is listed as 'unknown' in the network config dialog. > > For all architectures a kernel rebuild might be needed to get some > FreeBSD 5 applications to run. Add "options COMPAT_FREEBSD5" to the > kernel configuration file if you have problems with FreeBSD 5 =20 > executables. > > > Availability > ------------ > > The BETA1 ISOs and FTP support are available on most of the FreeBSD =20= > Mirror sites. A list of the mirror sites is available here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-=20 > ftp.html > > The MD5s are: > > MD5 (6.0-BETA1-alpha-bootonly.iso) =3D = eabda0a086e5492fe43626ce5be1d7e1 > MD5 (6.0-BETA1-alpha-disc1.iso) =3D d7fe900bb3d5f259cc3cc565c4f303e4 > > MD5 (6.0-BETA1-amd64-bootonly.iso) =3D = 9b04cb2f68300071c717f4aa4220bdac > MD5 (6.0-BETA1-amd64-disc1.iso) =3D cb0f21feaf8b7dd9621f82a8157f6ed8 > MD5 (6.0-BETA1-amd64-disc2.iso) =3D 84d40bc291a9ed5cd69dfa717445eeb5 > > MD5 (6.0-BETA1-i386-bootonly.iso) =3D 38e0b202ee7d279bae002b883f7074ec > MD5 (6.0-BETA1-i386-disc1.iso) =3D b2baa8c18d4637ef02822a0da6717408 > MD5 (6.0-BETA1-i386-disc2.iso) =3D 2b151a3cea8843d322c75ff76779ffcf > > MD5 (6.0-BETA1-ia64-bootonly.iso) =3D 97800ec7d4b29927a8e66a2b53e987fb > MD5 (6.0-BETA1-ia64-disc1.iso) =3D 7d29cd9317997136507078971762a0d8 > MD5 (6.0-BETA1-ia64-livefs.iso) =3D 6ff974e60a3964cf16fcec05925c14e9 > > MD5 (6.0-BETA1-pc98-disc1.iso) =3D 40a3134cce89bd5f7033d8b9181edf91 > > MD5 (6.0-BETA1-powerpc-bootonly.iso) =3D =20 > 2f64974e9bd5adcf813f5d35ff742443 > MD5 (6.0-BETA1-powerpc-disc1.iso) =3D b2562c38414ff4866f5ed8b3a38683c8 > > MD5 (6.0-BETA1-sparc64-bootonly.iso) =3D =20 > ae9610aeb1169d2cc649628606014441 > MD5 (6.0-BETA1-sparc64-disc1.iso) =3D af21752630b13cf60c9498fbf7f793b6 > MD5 (6.0-BETA1-sparc64-disc2.iso) =3D 3241af814bfe93a97707c7a964c57718 > > > Thanks to Ken Smith, Marcel Moolenaar, Wilko Bulte, and Takahashi > Yoshihiro, and Peter Grehan for doing the sparc64, ia64, alpha, pc98, > and ppc builds, respectively. Thanks also to Ken Smith for his =20 > help on > writing much of this announcement. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-=20 > unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 16 16:43:25 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE17116A41C for ; Sat, 16 Jul 2005 16:43:25 +0000 (GMT) (envelope-from vladimir.terziev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [62.176.125.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543B243D45 for ; Sat, 16 Jul 2005 16:43:25 +0000 (GMT) (envelope-from vladimir.terziev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id C52BE34196; Sat, 16 Jul 2005 18:43:20 +0200 (CEST) Received: from sun-fish.com (fs.cmotd.com [192.168.3.253]) by blah.sun-fish.com (Postfix) with ESMTP id 8F6BE34194 for ; Sat, 16 Jul 2005 18:43:20 +0200 (CEST) Received: from sun-fish.com (localhost.cmotd.com [127.0.0.1]) by sun-fish.com (Postfix) with ESMTP id 3E8263840A for ; Sat, 16 Jul 2005 18:43:20 +0200 (CEST) Received: from daemon.cmotd.com (daemon.cmotd.com [192.168.3.104]) by sun-fish.com (Postfix) with SMTP id CB5F438409 for ; Sat, 16 Jul 2005 18:43:19 +0200 (CEST) Date: Sat, 16 Jul 2005 19:43:19 +0300 From: Vladimir Terziev To: freebsd-hackers@freebsd.org Message-Id: <20050716194319.4375451a.vlady@sun-fish.com> Organization: SunFish Ltd., Sofia X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.4.0; i386-unknown-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV X-AV-Checked: ClamAV SF1 Subject: Remove Heimdal Kerberos from my FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 16:43:25 -0000 Hi, i've just installed a fresh FreeBSD 5.4 on my PC i saw i have Heimdal Kerberos installed on it. I don't want Heimdal Kerberos on my syetem! Could someone point me to a easy way to remove it and rebuild all software (telnet, ssh, etc) which depends on it? Thanks in advance! Vladimir From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 16 17:21:58 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BA9FE16A41C for ; Sat, 16 Jul 2005 17:21:58 +0000 (GMT) (envelope-from vladimir.terziev@sun-fish.com) Received: from blah.sun-fish.com (blah.sun-fish.com [62.176.125.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE8843D46 for ; Sat, 16 Jul 2005 17:21:57 +0000 (GMT) (envelope-from vladimir.terziev@sun-fish.com) Received: from blah.sun-fish.com (localhost [127.0.0.1]) by blah.sun-fish.com (Postfix) with ESMTP id 4E6BE3418C; Sat, 16 Jul 2005 19:21:56 +0200 (CEST) Received: from sun-fish.com (fs.cmotd.com [192.168.3.253]) by blah.sun-fish.com (Postfix) with ESMTP id 1797B34170; Sat, 16 Jul 2005 19:21:56 +0200 (CEST) Received: from sun-fish.com (localhost.cmotd.com [127.0.0.1]) by sun-fish.com (Postfix) with ESMTP id B586D38406; Sat, 16 Jul 2005 19:21:55 +0200 (CEST) Received: from daemon.cmotd.com (daemon.cmotd.com [192.168.3.104]) by sun-fish.com (Postfix) with SMTP id 7D9E738404; Sat, 16 Jul 2005 19:21:55 +0200 (CEST) Date: Sat, 16 Jul 2005 20:21:55 +0300 From: Vladimir Terziev To: Dominic Marks Message-Id: <20050716202155.1d808565.vlady@sun-fish.com> In-Reply-To: <200507161756.58334.dom@goodforbusiness.co.uk> References: <20050716194319.4375451a.vlady@sun-fish.com> <200507161756.58334.dom@goodforbusiness.co.uk> Organization: SunFish Ltd., Sofia X-Mailer: Sylpheed version 1.9.12 (GTK+ 2.4.0; i386-unknown-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV X-AV-Checked: ClamAV SF1 Cc: freebsd-hackers@freebsd.org Subject: Re: Remove Heimdal Kerberos from my FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jul 2005 17:21:58 -0000 Thanks, for the suggestion. I hope it will help me. Why exactly Heimdal Kerberos had been incorporated into the base system? Why not MIT Kerberos ? Vladimir On Sat, 16 Jul 2005 17:56:57 +0100 Dominic Marks wrote: > On Saturday 16 July 2005 17:43, Vladimir Terziev wrote: > > Hi, > > > > i've just installed a fresh FreeBSD 5.4 on my PC i saw i have > > Heimdal Kerberos installed on it. I don't want Heimdal Kerberos on my > > syetem! Could someone point me to a easy way to remove it and rebuild > > all software (telnet, ssh, etc) which depends on it? > > In /etc/make.conf put > > NO_KERBEROS=yes > > Then build a new world. That should do the trick. > > I think freebsd-questions@freebsd.org would have been a more > appropriate place to ask this question. > > > Thanks in advance! > > > > Vladimir > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org" > > -- > Dominic Marks