From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 07:48:59 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB27B16A4C2; Sun, 25 Jun 2006 07:48:59 +0000 (UTC) (envelope-from pcasidy@casidy.com) Received: from spock.galacsys.net (spock.galacsys.net [217.24.82.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8121143D62; Sun, 25 Jun 2006 07:48:58 +0000 (GMT) (envelope-from pcasidy@casidy.com) Received: from smtp.casidy.net (lns-bzn-51f-81-56-135-122.adsl.proxad.net [81.56.135.122]) by spock.galacsys.net (Postfix) with ESMTP id 5E940101EA; Sun, 25 Jun 2006 09:48:27 +0200 (CEST) Received: from [192.168.1.14] (unknown [192.168.1.14]) by smtp.casidy.net (Postfix) with ESMTP id 11FACB86C; Sun, 25 Jun 2006 09:55:15 +0200 (CEST) Message-ID: <449E5C2A.5000601@casidy.com> Date: Sun, 25 Jun 2006 09:49:30 +0000 From: Philippe CASIDY User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050827) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <20060620034229.GA48515@dragon.NUXI.org> In-Reply-To: <20060620034229.GA48515@dragon.NUXI.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Often experiencing nfs server foo:/bar: not responding X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 07:49:00 -0000 David O'Brien wrote: > I am getting these errors all the time now (now being -CURRENT newer than > Dec'05-Jan'06 time frame). Are there some known issues in UDP or NFS > serving since then? This is on a virtually zero loaded 100Mbit network. > Both the NFS server and client are FreeBSD-CURRENT systems. > > I can trivially trigger this on all my FreeBSD-CURRENT NFS clients, > simply by exiting Vim. Did something change sometime in 2006 that would > affect the default NFS mounts? > I experience this problem from now and then too. The problem was gone when I upgraded my server to from 5.1 to 5.5-PRELEASE. Before that, I added an entry in the server's crontab to launch a script that does : #!/bin/sh /sbin/ifconfig re0 mtu 1490 /bin/sleep 15 /sbin/ifconfig re0 mtu 1500 I had then bad network performances but no more NFS lockdown. Recently, I installed a new laptop with a 6.1-STABLE (three weeks ago) and the problem reappeared. But I am not using much that laptop yet. Here is my testimony on this issue, for what it's worth ;-) Phil. From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 08:08:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8FEC16A54E for ; Sun, 25 Jun 2006 08:08:25 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DEA843D69 for ; Sun, 25 Jun 2006 08:08:23 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5P86EsS072191; Sun, 25 Jun 2006 02:06:14 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 25 Jun 2006 02:06:16 -0600 (MDT) Message-Id: <20060625.020616.2040338822.imp@bsdimp.com> To: jrh29@eecs.cwru.edu From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: ~/.hosts patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 08:08:25 -0000 In message: Justin Hibbits writes: : Hey folks, got an interesting patch. This adds a ~/.hosts file : (personal version of /etc/hosts). It was written against 6-STABLE : about a week before 6.1 was released, and has been sitting collecting : dust for the last month and a half. Currently it augments /etc/hosts : instead of replacing it or prepending it. Any comments? One : suggestion that was made was to make it an nss module so that it : could be controlled by the admin. It probably could use some cleanup : as well, just putting it out here for proof of concept for now, and : some direction. I specifically disabled similar functionality for setuid programs when I was security officer. It was for HOSTALIAS files. These are files that are read through the HOSTALIAS environment variable. this was implemented in resolv/res_query.c. similar to what you've listed here. Your check for setuid is insuffient. You should use issetugid() rather than the tests against euid and uid which can fail and doesn't take groups into account at all. http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/3524 contains all the details, such as it is. Warner From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 09:23:41 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40CEB16A401 for ; Sun, 25 Jun 2006 09:23:41 +0000 (UTC) (envelope-from ticso@cicely12.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99CBF43D66 for ; Sun, 25 Jun 2006 09:23:38 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de ([10.1.1.7]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id k5P9NZoA000397; Sun, 25 Jun 2006 11:23:35 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [10.1.1.14]) by cicely5.cicely.de (8.13.4/8.13.4) with ESMTP id k5P9NVfm065956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jun 2006 11:23:31 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.13.4/8.13.3) with ESMTP id k5P9NVjB033530; Sun, 25 Jun 2006 11:23:31 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.13.4/8.13.3/Submit) id k5P9NUYu033529; Sun, 25 Jun 2006 11:23:30 +0200 (CEST) (envelope-from ticso) Date: Sun, 25 Jun 2006 11:23:30 +0200 From: Bernd Walter To: Philippe CASIDY Message-ID: <20060625092329.GI27372@cicely12.cicely.de> References: <20060620034229.GA48515@dragon.NUXI.org> <449E5C2A.5000601@casidy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449E5C2A.5000601@casidy.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.4-STABLE alpha User-Agent: Mutt/1.5.9i X-Spam-Status: No, score=-4.4 required=5.0 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on cicely12.cicely.de Cc: freebsd-current@freebsd.org Subject: Re: Often experiencing nfs server foo:/bar: not responding X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 09:23:41 -0000 On Sun, Jun 25, 2006 at 09:49:30AM +0000, Philippe CASIDY wrote: > David O'Brien wrote: > >I am getting these errors all the time now (now being -CURRENT newer than > >Dec'05-Jan'06 time frame). Are there some known issues in UDP or NFS > >serving since then? This is on a virtually zero loaded 100Mbit network. > >Both the NFS server and client are FreeBSD-CURRENT systems. > > > >I can trivially trigger this on all my FreeBSD-CURRENT NFS clients, > >simply by exiting Vim. Did something change sometime in 2006 that would > >affect the default NFS mounts? > > > > I experience this problem from now and then too. > The problem was gone when I upgraded my server to from 5.1 to > 5.5-PRELEASE. Before that, I added an entry in the server's crontab to > launch a script that does : > > #!/bin/sh > /sbin/ifconfig re0 mtu 1490 > /bin/sleep 15 > /sbin/ifconfig re0 mtu 1500 > > I had then bad network performances but no more NFS lockdown. This is likely a different story - re chips have broken hardware checksum offloading. All retransmission get the same defect until you force a different pattern with the MTU change. The feature was turned off by default later. -- B.Walter http://www.bwct.de http://www.fizon.de bernd@bwct.de info@bwct.de support@fizon.de From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 11:48:20 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2282C16A400; Sun, 25 Jun 2006 11:48:20 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3638D43D60; Sun, 25 Jun 2006 11:48:13 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D2B1.dip.t-dialin.net [84.165.210.177]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5PBgE6K099905; Sun, 25 Jun 2006 13:42:15 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5PBmDVe067990; Sun, 25 Jun 2006 13:48:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (Andro-Beta.Leidinger.net [192.168.1.42]) by webmail.leidinger.net (Horde MIME library) with HTTP; Sun, 25 Jun 2006 13:48:12 +0200 Message-ID: <20060625134812.a0rm7fbd2wwg0g84@netchild.homeip.net> X-Priority: 3 (Normal) Date: Sun, 25 Jun 2006 13:48:12 +0200 From: Alexander Leidinger To: Norikatsu Shigemura References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <20060623013106.d4397e26.nork@FreeBSD.org> <20060622230416.3907a848@kan.dnsalias.net> <20060625191405.d0e78240.nork@FreeBSD.org> In-Reply-To: <20060625191405.d0e78240.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: deischen@FreeBSD.org, Alexander Kabaev , current@FreeBSD.org Subject: Re: Linux-flashplugin7 & rtld - RFC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 11:48:20 -0000 Quoting Norikatsu Shigemura (from Sun, 25 Jun 2006 =20 19:14:05 +0900): > Case of current LPW approch: > > =09If You use following setting: > /etc/libmap.conf ----------------------------------------------- > [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] > libpthread.so.0=09=09=09?????????????? > libdl.so.2=09=09=09?????????????? > libz.so.1=09=09=09libz.so.3 > libm.so.6=09=09=09?????????????? > libc.so.6=09=09=09?????????????? > /etc/libmap.conf ----------------------------------------------- > =09(*) ?????????????? is nork-flash7.so or deischen-flash7.so or > =09 libc.so.7/libm.so.4/libpthread.so.2. > > > =09You can get following result: > > | wrapper | wrapper/glibc w/o | wrapper/glibc w/ | none > ---------------+-----------+---------------------+------------------+----- > libc | NG | NG | may be NG | ng > libc/glibc-ver | ng | may be NG | may be NG | ng > libc/glibc | ok | may be OK | may be OK | OK > > NOTE #1 ----------------------------------------------------------------- > libc:=09=09=09src/lib/libc without SYMVER_ENABLED > libc/glibc-ver:=09=09src/lib/libc with SYMVER_ENABLED + GLIBC Versions.def > libc/glibc:=09=09src/lib/libc with SYMVER_ENABLED > =09=09=09=09+ GLIBC Versions.def + GLIBC Functions > NOTE #2 ----------------------------------------------------------------- > wrapper:=09=09nork's LPW > wrapper/glibc w/o:=09(deischen's LPW)++. > =09=09=09I saw deischen's LPW, and I think that deischen's > =09=09=09approch almost works. > wrapper/glibc w/:=09(deischen's LPW)++ with libc/libm/libptread > > NOTE #3 ------------------------------------------------------------------= -- > OK:=09=09I confirmed that this is good works. > ok:=09=09I considered that this is good works. > may be OK:=09I didn't confirmed, but I think that this is good works. > may be NG:=09I didn't confirmed, but I think that this is not works. > ng:=09=09I considered that this is not works. > NG:=09=09I confirmed that this is not works. Did you try to use LD_PRELOAD=3Dlibglibcwrapper in the firefox start =20 script (or in the shell for testing)? The libglibcwrapper should =20 contain the version information and glibc symbols. Does/could/should =20 this work? Bye, Alexander. --=20 It's amazing how much "mature wisdom" resembles being too tired. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 17:12:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BF1116A408; Sun, 25 Jun 2006 17:12:54 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9783343D67; Sun, 25 Jun 2006 17:12:49 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.7/8.13.7) with ESMTP id k5PHBOSk068138; Sun, 25 Jun 2006 10:11:24 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.7/8.13.7/Submit) id k5PHBO37068137; Sun, 25 Jun 2006 10:11:24 -0700 (PDT) (envelope-from sgk) Date: Sun, 25 Jun 2006 10:11:24 -0700 From: Steve Kargl To: Chuck Lever Message-ID: <20060625171124.GA68108@troutmask.apl.washington.edu> References: <20060620205617.GR83482@over-yonder.net> <20060620223115.21443.qmail@web30803.mail.mud.yahoo.com> <20060620225118.GA98667@troutmask.apl.washington.edu> <76bd70e30606201723k1b561970ra8f7b516c89acbca@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76bd70e30606201723k1b561970ra8f7b516c89acbca@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Robert Watson , Mohan Srinivasan , "Matthew D. Fuller" Subject: Re: Often experiencing nfs server foo:/bar: not responding X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 17:12:54 -0000 On Tue, Jun 20, 2006 at 05:23:38PM -0700, Chuck Lever wrote: > > Has anyone who has seen this issue tried using the dumb timer mount option? > Mohan fixed the problem on 22 Jun 06 in -current. He left on vacation, but the commit message says merge to RELENG_6 in 2 weeks. dumb timer is irrelevant. -- Steve From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 19:39:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D14C16A403; Sun, 25 Jun 2006 19:39:28 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 861D343D79; Sun, 25 Jun 2006 19:39:20 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.185.140] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1FuaRw2yK6-0005A9; Sun, 25 Jun 2006 21:39:17 +0200 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Sun, 25 Jun 2006 21:39:05 +0200 User-Agent: KMail/1.9.1 X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<%}*_BD U_or=\mOZf764&nYj=JYbR1PW0ud>|!~, , CPC.1-D$FG@0h3#'5"k{V]a~. X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-current@freebsd.org Subject: Call for Status Reports: 07/07 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: monthly@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 19:39:28 -0000 --nextPart1398267.Hxm7ZuClBA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline All, it's time for the Status Reports for the second quater of 2006. During the= =20 last three month a lot of progress has been made. FreeBSD 6.1 and 5.5 are= =20 released, a new round of Google's Summer of Code has been started, and a ve= ry=20 productive Developer Summit took place during BSDCan. On top of that, we a= re=20 now running on Sun's new architecture and a lot of progress has been made f= or=20 the arm platform, making FreeBSD more viable in the embedded market. We hope that all your projects made good progress as well and would like to= =20 hear about it. Please share your news and progress over the last three mon= th=20 with us. Submission are due by 7 July, 2006. Once again, submissions are not limited to FreeBSD developers. We will=20 happily include non-code projects of any kind as long as it is FreeBSD=20 related. =46or previous reports and submission details, please see: =20 http://www.freebsd.org/news/status/ =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 --nextPart1398267.Hxm7ZuClBA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEnuZjXyyEoT62BG0RAqCeAJ9YxkEXCfLDyisbur9XHKy/ynT/MQCdGAKe ZocfScHFyedG0M4angP46Lg= =0Iw1 -----END PGP SIGNATURE----- --nextPart1398267.Hxm7ZuClBA-- From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 22:16:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FD9616A47B; Sun, 25 Jun 2006 22:16:53 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A141F43D6B; Sun, 25 Jun 2006 22:16:47 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 25 Jun 2006 18:16:42 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,173,1149480000"; d="scan'208"; a="38744381:sNHT15729129" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5PMGfGu080181; Sun, 25 Jun 2006 18:16:41 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 25 Jun 2006 18:16:41 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5PMGeER080180; Sun, 25 Jun 2006 18:16:40 -0400 (EDT) (envelope-from jr) Date: Sun, 25 Jun 2006 18:16:40 -0400 From: "J.R. Oldroyd" To: Rong-en Fan Message-ID: <20060625221640.GI48766@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, peter@freebsd.org Subject: Re: Updating ncurses in base X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 22:16:53 -0000 On Jun 09, 22:06, Rong-en Fan wrote: > Hi, > > As you may know, the current ncurses in the base system is rather old > (it is 4 years old). I have been working on updating ncurses to the latest > version 5.5 and enable wide character as default. I have put the > description, > goal, issues, current status, and tarball for test at the following URL: > > http://www.rafan.org/FreeBSD/ncurses/ > I have some notes about Unicode support on FreeBSD here: http://opal.com/freebsd/unicode.html put together about 9-12 months or so ago. Those notes discuss how to enable wide-character support for various libraries, system tools and ports. Any work to make the base ncurses have wide-character support will simplify life a lot as this stuff needs to be redone after every system or ports upgrade. -jr From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 22:46:56 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A8E2316A400; Sun, 25 Jun 2006 22:46:56 +0000 (UTC) (envelope-from nate@root.org) Received: from pimout5-ext.prodigy.net (pimout5-ext.prodigy.net [207.115.63.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D0D343D66; Sun, 25 Jun 2006 22:46:55 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [71.139.62.134] Received: from [10.0.5.51] (ppp-71-139-62-134.dsl.snfc21.pacbell.net [71.139.62.134]) by pimout5-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k5PMkqmi050528; Sun, 25 Jun 2006 18:46:52 -0400 Message-ID: <449EAED3.7000706@root.org> Date: Sun, 25 Jun 2006 08:42:11 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 22:46:56 -0000 kbdmux does not currently support ddb and mountroot in both -current and 6-stable. This means that if you get a panic, no backtrace or other interaction is possible. Also, if your /etc/fstab is wrong, no way to specify an alternate root. Are there any plans to improve this? What needs to be completed to get back to previous support for these features? Thanks, -- Nate From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 23:19:19 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DA1E16A400; Sun, 25 Jun 2006 23:19:19 +0000 (UTC) (envelope-from nate@root.org) Received: from pimout6-ext.prodigy.net (pimout6-ext.prodigy.net [207.115.63.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 769A044092; Sun, 25 Jun 2006 23:19:18 +0000 (GMT) (envelope-from nate@root.org) X-ORBL: [71.139.62.134] Received: from [10.0.5.51] (ppp-71-139-62-134.dsl.snfc21.pacbell.net [71.139.62.134]) by pimout6-ext.prodigy.net (8.13.6 out.dk/8.13.6) with ESMTP id k5PNJGXF217918; Sun, 25 Jun 2006 19:19:17 -0400 Message-ID: <449EB711.30509@root.org> Date: Sun, 25 Jun 2006 09:17:21 -0700 From: Nate Lawson User-Agent: Thunderbird 1.5.0.2 (X11/20060501) MIME-Version: 1.0 To: Maxim Sobolev References: <449EAED3.7000706@root.org> <449F18D9.2000109@FreeBSD.org> In-Reply-To: <449F18D9.2000109@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 23:19:19 -0000 Maxim Sobolev wrote: > Works here to specify alternate root just fine. I am missing something? > > -Maxim > > Nate Lawson wrote: >> kbdmux does not currently support ddb and mountroot in both -current >> and 6-stable. This means that if you get a panic, no backtrace or >> other interaction is possible. Also, if your /etc/fstab is wrong, no >> way to specify an alternate root. >> >> Are there any plans to improve this? What needs to be completed to >> get back to previous support for these features? >> >> Thanks, I'm using a PS/2 keyboard on one machine (RELENG_6) and a built-in PS/2 keyboard on my laptop. Neither register any keystrokes in DDB or with alternate root unless I disable kbdmux with the tunable. -- Nate From owner-freebsd-current@FreeBSD.ORG Sun Jun 25 23:23:04 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A05F16A400 for ; Sun, 25 Jun 2006 23:23:04 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 603254408C for ; Sun, 25 Jun 2006 23:23:00 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.5] (S0106000f3d63befd.vs.shawcable.net [70.71.19.119]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k5PNMvoP001139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jun 2006 16:22:59 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <449F1ACF.5060101@FreeBSD.org> Date: Sun, 25 Jun 2006 16:22:55 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Nate Lawson References: <449EAED3.7000706@root.org> <449F18D9.2000109@FreeBSD.org> <449EB711.30509@root.org> In-Reply-To: <449EB711.30509@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jun 2006 23:23:04 -0000 Nate Lawson wrote: > Maxim Sobolev wrote: >> Works here to specify alternate root just fine. I am missing something? >> >> -Maxim >> >> Nate Lawson wrote: >>> kbdmux does not currently support ddb and mountroot in both -current >>> and 6-stable. This means that if you get a panic, no backtrace or >>> other interaction is possible. Also, if your /etc/fstab is wrong, no >>> way to specify an alternate root. >>> >>> Are there any plans to improve this? What needs to be completed to >>> get back to previous support for these features? >>> >>> Thanks, > > I'm using a PS/2 keyboard on one machine (RELENG_6) and a built-in PS/2 > keyboard on my laptop. Neither register any keystrokes in DDB or with > alternate root unless I disable kbdmux with the tunable. USB keyboard works just fine here (7-CURRENT) for alternate root selection via kbdmux. I don't know if there are some differences in kbdmux behavior between RELENG_6 and HEAD. -Maxim From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 00:38:00 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 660BE16A400; Mon, 26 Jun 2006 00:38:00 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3A954478D; Mon, 26 Jun 2006 00:37:59 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.236] (really [70.32.199.60]) by mta11.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060626003758.GWOD23502.mta11.adelphia.net@[192.168.1.236]>; Sun, 25 Jun 2006 20:37:58 -0400 Message-ID: <449F2CE0.3030403@savvis.net> Date: Sun, 25 Jun 2006 17:40:00 -0700 From: maksim yevmenkin User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: current@FreeBSD.org References: <449EAED3.7000706@root.org> <449F18D9.2000109@FreeBSD.org> <449EB711.30509@root.org> <449F1ACF.5060101@FreeBSD.org> In-Reply-To: <449F1ACF.5060101@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Maxim Sobolev , Nate Lawson Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 00:38:00 -0000 Maxim Sobolev wrote: > Nate Lawson wrote: >> Maxim Sobolev wrote: >>> Works here to specify alternate root just fine. I am missing something? >>> >>> -Maxim >>> >>> Nate Lawson wrote: >>>> kbdmux does not currently support ddb and mountroot in both -current >>>> and 6-stable. This means that if you get a panic, no backtrace or >>>> other interaction is possible. Also, if your /etc/fstab is wrong, >>>> no way to specify an alternate root. >>>> >>>> Are there any plans to improve this? What needs to be completed to >>>> get back to previous support for these features? >>>> >>>> Thanks, >> >> I'm using a PS/2 keyboard on one machine (RELENG_6) and a built-in >> PS/2 keyboard on my laptop. Neither register any keystrokes in DDB or >> with alternate root unless I disable kbdmux with the tunable. > > USB keyboard works just fine here (7-CURRENT) for alternate root > selection via kbdmux. I don't know if there are some differences in > kbdmux behavior between RELENG_6 and HEAD. yes, there is a known problem with atkbd(4) keyboards and kbdmux(4) with ddb, geli, mountroot etc. i believe that atkbd(4) does not handle "polled" mode correctly. when system drops into ddb interrupts are disabled, atkbd(4) interrupt handler is not called and thus kbdmux(4) is not getting any input from slave atkbd(4) keyboard. i'm not convinced that this is kbdmux(4) bug. i think that its the job of the low level keyboard driver to deal with "polled" mode correctly. a while ago, i sent (to current@) a quick and dirty hack (patch) for atkbd(4) to work around this problem, i.e. poll i/o ports and call interrupt handler if there is a char pending. that works fine with kbdmux(4), atkbd(4) and ddb, geli etc. however, this hack introduces a regression, i.e. when kbdmux(4) in NOT enabled, atkbd(4) often generates duplicate chars when in ddb mode. so, i believe that atkbd(4) must be enhanced to properly deal with "polled" mode (i.e. when interrupts are disabled). ukbd(4), for example, does this, and, there is no such problem with kbdmux(4) and ukbd(4). unfortunately, due to the office move, i've temporarily lost all my test/development boxes. thanks, max From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 02:19:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5826A16A4CA for ; Mon, 26 Jun 2006 02:19:54 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6339144684 for ; Mon, 26 Jun 2006 01:49:41 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 6123E261; Sun, 25 Jun 2006 20:49:40 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id A695061C2B; Sun, 25 Jun 2006 20:49:39 -0500 (CDT) Date: Sun, 25 Jun 2006 20:49:39 -0500 From: "Matthew D. Fuller" To: "J.R. Oldroyd" Message-ID: <20060626014939.GA74292@over-yonder.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060625221640.GI48766@linwhf.opal.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-current@freebsd.org Subject: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 02:19:54 -0000 On Sun, Jun 25, 2006 at 06:16:40PM -0400 I heard the voice of J.R. Oldroyd, and lo! it spake thus: > > I have some notes about Unicode support on FreeBSD here: > > http://opal.com/freebsd/unicode.html Oddly enough, I took this as an excuse to try fiddling with running UTF-8 again. Interestingly, that page actually got mutt working right (my previous tries involved using slang instead of ncurses, which is SUPPOSED to work, but never did). However, I still hit an issue with xterm. I set the fonts, turn off the 'locale' and on the 'utf8' resources (these steps being necessary to get it to work right). And then, it seems to work as long as I DON'T set the locale in the shell invoking it. Compare what I see from your linked utf8demo.txt from `xterm`[0] versus `env LANG=en_US.UTF-8 xterm`[1]. [0] http://www.over-yonder.net/~fullermd/dl/wc/works.png [1] http://www.over-yonder.net/~fullermd/dl/wc/doesnt.png -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 08:28:37 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DB0816A400; Mon, 26 Jun 2006 08:28:37 +0000 (UTC) (envelope-from dsh@vlink.ru) Received: from vlink.ru (rigel.internal.vlink.ru [85.172.168.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB2DB43D82; Mon, 26 Jun 2006 08:28:36 +0000 (GMT) (envelope-from dsh@vlink.ru) Received: from smtp.smtp.vlink.ru (clamav.smtp.vlink.ru [192.168.4.1]) by deliver.smtp.vlink.ru (Postfix) with ESMTP id DA8BCFED578; Mon, 26 Jun 2006 12:28:34 +0400 (MSD) Received: from neva.vlink.ru (neva.vlink.ru [85.172.168.66]) by smtp.smtp.vlink.ru (Postfix) with ESMTP id 993031009808; Mon, 26 Jun 2006 12:28:32 +0400 (MSD) Received: from neva.vlink.ru (localhost [127.0.0.1]) by neva.vlink.ru (8.13.6/8.13.6) with ESMTP id k5Q8SV5t069395; Mon, 26 Jun 2006 12:28:32 +0400 (MSD) (envelope-from dsh@vlink.ru) Received: (from dsh@localhost) by neva.vlink.ru (8.13.6/8.13.6/Submit) id k5Q8SVOU069392; Mon, 26 Jun 2006 12:28:31 +0400 (MSD) (envelope-from dsh@vlink.ru) X-Comment-To: Garance A Drosehn To: Garance A Drosehn References: <87bqspwap1.fsf@neva.vlink.ru> From: Denis Shaposhnikov Date: Mon, 26 Jun 2006 12:28:31 +0400 In-Reply-To: (Garance A. Drosehn's message of "Mon, 19 Jun 2006 09:45:41 -0400") Message-ID: <87wtb4pbgw.fsf@neva.vlink.ru> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@FreeBSD.org Subject: Re: patch to newsyslog: run command instead of to sent signal X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 08:28:37 -0000 Hi! >>>>> "Garance" == Garance A Drosehn writes: Garance> It happens that I do plan to do some work on newsyslog this Garance> week, so I will look into your patch while doing that work. This is updated version of my patch. From newsyslog.conf(5): R indicates that the file specified by path_to_pid_file should be executed when this log file is rotated instead of to send signal. You can use quote symbols to limit command or file name which contain spaces. Here is an example from my newsyslog.conf: /var/log/asterisk/*_log asterisk: 644 5 * $W6D0 JBGR '/usr/local/sbin/asterisk -r -x "logger reload"' /var/log/asterisk/messages asterisk: 644 5 * $W6D0 JR '/usr/local/sbin/asterisk -r -x "logger reload"' diff -Nru usr.sbin/newsyslog.orig/newsyslog.c usr.sbin/newsyslog/newsyslog.c --- usr.sbin/newsyslog.orig/newsyslog.c Thu Jun 22 14:43:00 2006 +++ usr.sbin/newsyslog/newsyslog.c Thu Jun 22 14:41:45 2006 @@ -111,6 +111,8 @@ /* process when trimming this file. */ #define CE_CREATE 0x0100 /* Create the log file if it does not exist. */ #define CE_NODUMP 0x0200 /* Set 'nodump' on newly created log file. */ +#define CE_RUNCMD 0x0400 /* Execute program on rotate instead */ + /* of signal. */ #define MIN_PID 5 /* Don't touch pids lower than this */ #define MAX_PID 99999 /* was lower, see /usr/include/sys/proc.h */ @@ -144,6 +146,7 @@ SLIST_ENTRY(sigwork_entry) sw_nextp; int sw_signum; /* the signal to send */ int sw_pidok; /* true if pid value is valid */ + int sw_runcmd; /* true if we going to run prog. */ pid_t sw_pid; /* the process id from the PID file */ const char *sw_pidtype; /* "daemon" or "process group" */ char sw_fname[1]; /* file the PID was read from */ @@ -1348,6 +1351,9 @@ case 'n': working->flags |= CE_NOSIGNAL; break; + case 'r': + working->flags |= CE_RUNCMD; + break; case 'u': working->flags |= CE_SIGNALGROUP; break; @@ -1375,6 +1381,17 @@ parse = son(parse); if (!*parse) eol = 1; + if (q && *q) { + if (*q == '"' || *q == '\'') { + char *qo; + + qo = strchr(q + 1, (char) *q); + if (qo != NULL) { + parse = qo; + q++; + } + } + } *parse = '\0'; } @@ -1702,7 +1719,7 @@ struct sigwork_entry *nextsig; int kres, secs; - if (!(swork->sw_pidok) || swork->sw_pid == 0) + if (!(swork->sw_pidok) || (swork->sw_pid == 0 && !swork->sw_runcmd)) return; /* no work to do... */ /* @@ -1743,7 +1760,11 @@ return; } - kres = kill(swork->sw_pid, swork->sw_signum); + if (swork->sw_runcmd) + kres = system(swork->sw_fname); + else + kres = kill(swork->sw_pid, swork->sw_signum); + if (kres != 0) { /* * Assume that "no such process" (ESRCH) is something @@ -1754,12 +1775,22 @@ */ if (errno != ESRCH) swork->sw_pidok = 0; - warn("can't notify %s, pid %d", swork->sw_pidtype, - (int)swork->sw_pid); + if (swork->sw_runcmd) + warn("can't notify %s by %s", swork->sw_pidtype, + swork->sw_fname); + else + warn("can't notify %s, pid %d", swork->sw_pidtype, + (int)swork->sw_pid); } else { - if (verbose) - printf("Notified %s pid %d = %s\n", swork->sw_pidtype, - (int)swork->sw_pid, swork->sw_fname); + if (verbose) { + if (swork->sw_runcmd) + printf("Notified %s by %s\n", + swork->sw_pidtype, swork->sw_fname); + else + printf("Notified %s pid %d = %s\n", + swork->sw_pidtype, (int)swork->sw_pid, + swork->sw_fname); + } if (secs > 0) { if (verbose) printf("Pause %d second(s) between signals\n", @@ -1956,6 +1987,12 @@ swork->sw_pidok = 0; swork->sw_pid = 0; swork->sw_pidtype = "daemon"; + swork->sw_runcmd = 0; + if (ent->flags & CE_RUNCMD) { + swork->sw_pidok = swork->sw_runcmd = 1; + return; + } + if (ent->flags & CE_SIGNALGROUP) { /* * If we are expected to signal a process-group when diff -Nru usr.sbin/newsyslog.orig/newsyslog.conf.5 usr.sbin/newsyslog/newsyslog.conf.5 --- usr.sbin/newsyslog.orig/newsyslog.conf.5 Thu Jun 22 14:43:00 2006 +++ usr.sbin/newsyslog/newsyslog.conf.5 Mon Jun 26 12:22:08 2006 @@ -290,6 +290,12 @@ .It Cm N indicates that there is no process which needs to be signaled when this log file is rotated. +.It Cm R +indicates that the file specified by +.Ar path_to_pid_file +should be executed when this log file is rotated instead of to send +signal. You can use quote symbols to limit command or file name which +contain spaces. .It Cm U indicates that the file specified by .Ar path_to_pid_file -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet xmpp:dsh@vlink.ru mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/ From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 09:16:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6146916A56F for ; Mon, 26 Jun 2006 09:16:39 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC17E44403 for ; Mon, 26 Jun 2006 08:51:20 +0000 (GMT) (envelope-from michiel@boland.org) Received: from brakkenstein.nijmegen.internl.net by neerbosch.nijmegen.internl.net via brakkenstein.nijmegen.internl.net [217.149.193.41] with ESMTP for id k5Q8pJ7V015974 (8.13.4/1.4); Mon, 26 Jun 2006 10:51:19 +0200 (MEST) Received: from localhost by brakkenstein.nijmegen.internl.net via mboland@localhost with ESMTP for id k5Q8pJJ6003479 (8.13.2/2.02); Mon, 26 Jun 2006 10:51:19 +0200 (MEST) X-Authentication-Warning: brakkenstein.nijmegen.internl.net: mboland owned process doing -bs Date: Mon, 26 Jun 2006 10:51:18 +0200 (MEST) From: Michiel Boland To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-758783491-1151310601=:1832" Content-ID: Subject: crash in tcp6_usr_accept X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 09:16:39 -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. ---559023410-758783491-1151310601=:1832 Content-Type: TEXT/PLAIN; CHARSET=iso-8859-1; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: Hi. I returned from holidays only to find my work machine had crashed. Looks like the following line is the culprit. static int tcp6_usr_accept(struct socket *so, struct sockaddr **nam) { [...] if (so->so_state & SS_ISDISCONNECTED) { error = ECONNABORTED; goto out; } [...] out: [...] INP_UNLOCK(inp); ^^^ inp has not been initialized at this stage quick fix: --- netinet/tcp_usrreq.c.orig Thu Jun 8 17:28:23 2006 +++ netinet/tcp_usrreq.c Mon Jun 26 10:29:00 2006 @@ -647,10 +647,8 @@ int v4 = 0; TCPDEBUG0; - if (so->so_state & SS_ISDISCONNECTED) { - error = ECONNABORTED; - goto out; - } + if (so->so_state & SS_ISDISCONNECTED) + return ECONNABORTED; inp = sotoinpcb(so); KASSERT(inp != NULL, ("tcp6_usr_accept: inp == NULL")); FreeBSD 7.0-CURRENT #1: Fri Jun 16 00:19:30 CEST 2006 root@leefnet.office.internl.net:/usr/obj/usr/src/sys/LEEFNET Fatal trap 12: page fault while in kernel mode fault virtual address = 0xa0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc0573d7e stack pointer = 0x28:0xd6ec7c08 frame pointer = 0x28:0xd6ec7c2c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 766 (httpd) trap number = 12 panic: page fault KDB: stack backtrace: kdb_backtrace(100,c215dd80,28,d6ec7bc8,c) at kdb_backtrace+0x29 panic(c063640e,c0644b03,0,fffff,c226e69b) at panic+0xa8 trap_fatal(d6ec7bc8,a0,c215dd80,0,2) at trap_fatal+0x2a6 trap_pfault(d6ec7bc8,0,a0) at trap_pfault+0x1eb trap(c04b0008,c25a0028,c2150028,0,35) at trap+0x3b5 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc0573d7e, esp = 0xd6ec7c08, ebp = 0xd6ec7c2c --- tcp6_usr_accept(c25d1bac,d6ec7c54,d6ec7c58,d6ec7c7c,c0522193) at tcp6_usr_accept+0xc2 soaccept(c25d1bac,d6ec7c54,c25ac900,0,0) at soaccept+0x7d accept1(c215dd80,d6ec7d04,0,d6ec7d30,c0612946) at accept1+0x42f accept(c215dd80,d6ec7d04,3,206,c0670028) at accept+0x10 syscall(3b,3b,3b,82063b0,83dc050) at syscall+0x2ee Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (30, FreeBSD ELF32, accept), eip = 0x283c37ff, esp = 0xbfbfec0c, ebp = 0xbfbfec38 --- Uptime: 7d11h16m47s Physical memory: 505 MB Dumping 127 MB: 112 96 80 64 48 32 16 (kgdb) f 7 #7 0xc0573d7e in tcp6_usr_accept (so=0xc215dd80, nam=0xd6ec7c54) at atomic.h:149 149 __asm __volatile ( (kgdb) info locals inp = (struct inpcb *) 0x0 error = 53 addr = {s_addr = 3256212864} addr6 = {__u6_addr = {__u6_addr8 = "\000\000\000\0004|ìÖ\232kNÀNé2Â", __u6_addr16 = {0, 0, 31796, 55020, 27546, 49230, 59726, 49714}, __u6_addr32 = {0, 3605822516, 3226364826, 3258116430}}} port = 0 v4 = 0 ---559023410-758783491-1151310601=:1832-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 09:23:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CB9316A402 for ; Mon, 26 Jun 2006 09:23:55 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D44E43D90 for ; Mon, 26 Jun 2006 09:23:51 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1296621nzn for ; Mon, 26 Jun 2006 02:23:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ukr+JHJfCQJPkC6zD796+ZsdFVIpNfFTyUXMOALm4dYl/et/Fil0YFECcD9DgbBKq2iGsc1VX+t+2cp79z8jk6Z9iuUByvAzJhrp6wEFASgFklwPqSadh1pXcDsW2rNKEqtOF/Zb5zlKDbMLJ5Fprj00hn+pnDrJ1Ho4AGu+Uec= Received: by 10.37.21.4 with SMTP id y4mr7721542nzi; Mon, 26 Jun 2006 02:23:51 -0700 (PDT) Received: by 10.36.247.35 with HTTP; Mon, 26 Jun 2006 02:23:51 -0700 (PDT) Message-ID: Date: Mon, 26 Jun 2006 17:23:51 +0800 From: "Jiawei Ye" To: "FreeBSD Current" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: tun0 unsuitable for nmap? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 09:23:55 -0000 Not sure where the problem is, so I just ask it here. nmap has not been working for me since I switched to using user-ppp with tun0. Though I am connected to the unternet, nmap would report: leafy@chihiro:~$ sudo nmap -v -sS Starting Nmap 4.10 ( http://www.insecure.org/nmap/ ) at 2006-06-26 17:22 CST WARNING: Unable to find appropriate interface for system route to nexthost: failed to determine route to QUITTING! Routing table shows: leafy@chihiro:~$ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 203-70-98-1.adsl.d UGS 0 984046 tun0 localhost localhost UH 0 239838 lo0 192.168.0 link#2 UC 0 0 fxp1 203-70-98-1.adsl.d 203-70-98-57.adsl. UH 1 0 tun0 Is there anyway I can make this work? Regards, Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 09:38:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEA2816A401 for ; Mon, 26 Jun 2006 09:38:32 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5940443D66 for ; Mon, 26 Jun 2006 09:38:24 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id A21F946B86; Mon, 26 Jun 2006 05:38:24 -0400 (EDT) Date: Mon, 26 Jun 2006 10:38:24 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Michiel Boland In-Reply-To: Message-ID: <20060626103804.A24406@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1779895857-1151314704=:24406" Cc: freebsd-current@freebsd.org Subject: Re: crash in tcp6_usr_accept X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 09:38:33 -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-1779895857-1151314704=:24406 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 26 Jun 2006, Michiel Boland wrote: > Hi. I returned from holidays only to find my work machine had crashed. Lo= oks=20 > like the following line is the culprit. Indeed -- committed your patch, thanks! Robert N M Watson Computer Laboratory University of Cambridge > > static int > tcp6_usr_accept(struct socket *so, struct sockaddr **nam) > { > [...] > if (so->so_state & SS_ISDISCONNECTED) { > error =3D ECONNABORTED; > goto out; > } > [...] > out: > [...] > INP_UNLOCK(inp); > > ^^^ inp has not been initialized at this stage > > > quick fix: > > --- netinet/tcp_usrreq.c.orig=09Thu Jun 8 17:28:23 2006 > +++ netinet/tcp_usrreq.c=09Mon Jun 26 10:29:00 2006 > @@ -647,10 +647,8 @@ > =09int v4 =3D 0; > =09TCPDEBUG0; > > -=09if (so->so_state & SS_ISDISCONNECTED) { > -=09=09error =3D ECONNABORTED; > -=09=09goto out; > -=09} > +=09if (so->so_state & SS_ISDISCONNECTED) > +=09=09return ECONNABORTED; > > =09inp =3D sotoinpcb(so); > =09KASSERT(inp !=3D NULL, ("tcp6_usr_accept: inp =3D=3D NULL")); > > > FreeBSD 7.0-CURRENT #1: Fri Jun 16 00:19:30 CEST 2006 > root@leefnet.office.internl.net:/usr/obj/usr/src/sys/LEEFNET > > Fatal trap 12: page fault while in kernel mode > fault virtual address=09=3D 0xa0 > fault code=09=09=3D supervisor write, page not present > instruction pointer=09=3D 0x20:0xc0573d7e > stack pointer=09 =3D 0x28:0xd6ec7c08 > frame pointer=09 =3D 0x28:0xd6ec7c2c > code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b > =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 > processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 > current process=09=09=3D 766 (httpd) > trap number=09=09=3D 12 > panic: page fault > KDB: stack backtrace: > kdb_backtrace(100,c215dd80,28,d6ec7bc8,c) at kdb_backtrace+0x29 > panic(c063640e,c0644b03,0,fffff,c226e69b) at panic+0xa8 > trap_fatal(d6ec7bc8,a0,c215dd80,0,2) at trap_fatal+0x2a6 > trap_pfault(d6ec7bc8,0,a0) at trap_pfault+0x1eb > trap(c04b0008,c25a0028,c2150028,0,35) at trap+0x3b5 > calltrap() at calltrap+0x5 > --- trap 0xc, eip =3D 0xc0573d7e, esp =3D 0xd6ec7c08, ebp =3D 0xd6ec7c2c = --- > tcp6_usr_accept(c25d1bac,d6ec7c54,d6ec7c58,d6ec7c7c,c0522193) at=20 > tcp6_usr_accept+0xc2 > soaccept(c25d1bac,d6ec7c54,c25ac900,0,0) at soaccept+0x7d > accept1(c215dd80,d6ec7d04,0,d6ec7d30,c0612946) at accept1+0x42f > accept(c215dd80,d6ec7d04,3,206,c0670028) at accept+0x10 > syscall(3b,3b,3b,82063b0,83dc050) at syscall+0x2ee > Xint0x80_syscall() at Xint0x80_syscall+0x1f > --- syscall (30, FreeBSD ELF32, accept), eip =3D 0x283c37ff, esp =3D 0xbf= bfec0c,=20 > ebp =3D 0xbfbfec38 --- > Uptime: 7d11h16m47s > Physical memory: 505 MB > Dumping 127 MB: 112 96 80 64 48 32 16 > > (kgdb) f 7 > #7 0xc0573d7e in tcp6_usr_accept (so=3D0xc215dd80, nam=3D0xd6ec7c54) > at atomic.h:149 > 149 __asm __volatile ( > (kgdb) info locals > inp =3D (struct inpcb *) 0x0 > error =3D 53 > addr =3D {s_addr =3D 3256212864} > addr6 =3D {__u6_addr =3D {__u6_addr8 =3D "\000\000\000\0004|=EC=D6\232kN= =C0N=E92=C2", > __u6_addr16 =3D {0, 0, 31796, 55020, 27546, 49230, 59726, 49714}, > __u6_addr32 =3D {0, 3605822516, 3226364826, 3258116430}}} > port =3D 0 > v4 =3D 0 --0-1779895857-1151314704=:24406-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 09:58:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0FE416A5F0 for ; Mon, 26 Jun 2006 09:58:58 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 691BE43D90 for ; Mon, 26 Jun 2006 09:58:41 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D4F7.dip.t-dialin.net [84.165.212.247]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5Q9qV1P007066; Mon, 26 Jun 2006 11:52:32 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5Q9wejV062823; Mon, 26 Jun 2006 11:58:40 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 26 Jun 2006 11:58:40 +0200 Message-ID: <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 26 Jun 2006 11:58:40 +0200 From: Alexander Leidinger To: "Matthew D. Fuller" References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> In-Reply-To: <20060626014939.GA74292@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 09:58:58 -0000 Quoting "Matthew D. Fuller" (from Sun, 25 =20 Jun 2006 20:49:39 -0500): [xterm and UTF-8] > I set the fonts, turn off the 'locale' and on the 'utf8' resources > (these steps being necessary to get it to work right). And then, it > seems to work as long as I DON'T set the locale in the shell invoking > it. Compare what I see from your linked utf8demo.txt from `xterm`[0] > versus `env LANG=3Den_US.UTF-8 xterm`[1]. At the time I switched to UTF-8 I was using xterm too. It dodn't =20 worked as expected. I noticed that there's "uxterm" (installed with =20 xterm). I tried it and I think it was a little bit better than plain =20 xterm itself. But maybe it just defaults to what you did by hand above. I was not satisified and switched to the gnome terminal. It works =20 without problems for me (but I didn't tried the example you tried). Summary: maybe most people just use something else in case they =20 need/want UTF-8, and they don't bother to fight with xterm because =20 they just want something which works. So don't be surprised if this is =20 a bug in xterm. Bye, Alexander. --=20 'Why?' he [Rincewind] said. The world is going to end. 'What, again?' (Sourcery) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 10:27:27 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5949216A400 for ; Mon, 26 Jun 2006 10:27:27 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9481444AA for ; Mon, 26 Jun 2006 10:27:26 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QARP3F019303; Mon, 26 Jun 2006 06:27:25 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QAROvJ019299; Mon, 26 Jun 2006 06:27:24 -0400 (EDT) Date: Mon, 26 Jun 2006 06:27:24 -0400 From: Thomas Dickey To: Alexander Leidinger Message-ID: <20060626102724.GA17962@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" , "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 10:27:27 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 11:58:40AM +0200, Alexander Leidinger wrote: >=20 > Summary: maybe most people just use something else in case they =20 > need/want UTF-8, and they don't bother to fight with xterm because =20 > they just want something which works. So don't be surprised if this is = =20 > a bug in xterm. then again - considering the source, perhaps not. (xterm inherits its locale from the environment - as a cursory reading of uxterm would reveal -) --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEn7aJtIqByHxlDocRAjDSAJ9XmU5Ok0ofyVHCyv3mduqgvzKa6QCfcDBf 2C1vV0RYZeSL/Xn2tt1xGAQ= =vVTn -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 10:56:12 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25A2716A408; Mon, 26 Jun 2006 10:56:12 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28547444A3; Mon, 26 Jun 2006 10:22:58 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from mail.ninth-nine.com (melfina.ninth-nine.com [192.168.36.6]) (authenticated bits=0) by sakura.ninth-nine.com (8.13.6/8.13.6/NinthNine) with ESMTP id k5PAEBGa017721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jun 2006 19:14:12 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Sun, 25 Jun 2006 19:14:05 +0900 From: Norikatsu Shigemura To: deischen@FreeBSD.org, Alexander Kabaev Message-Id: <20060625191405.d0e78240.nork@FreeBSD.org> In-Reply-To: <20060622230416.3907a848@kan.dnsalias.net> References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <20060623013106.d4397e26.nork@FreeBSD.org> <20060622230416.3907a848@kan.dnsalias.net> X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.19; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Sun, 25 Jun 2006 19:14:14 +0900 (JST) Cc: Alexander@Leidinger.net, nork@FreeBSD.org, current@FreeBSD.org Subject: Re: Linux-flashplugin7 & rtld - RFC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 10:56:12 -0000 On Thu, 22 Jun 2006 23:04:16 -0400 Alexander Kabaev wrote: > On Thu, 22 Jun 2006 12:49:59 -0400 (EDT) > Daniel Eischen wrote: > > On Fri, 23 Jun 2006, Norikatsu Shigemura wrote: > > > On Wed, 21 Jun 2006 12:39:09 -0400 (EDT) > > > > spamming? junk symbols? Humm... I don't think so, but it > > > is POLICY that I think. Althought I'm working, I want to > > > merge 'Userland COMPAT_LINUX technology' to FreeBSD source > > > tree. I hope that you do consent. So I hope to discuss > > > @GLIBC_2.* symbols:-). > > No, I would still oppose that. I think separate libraries > > are the way to go. deischen: Sorry, I didn't read 'separate libraries'. > ... and I will support Daniel's objection if it will come to that. > Sorry, but Linux symbols in FreeBSD native libraries amount to only one > thing - pollution and nothing else. Humm.. Even if GLIBC version information in Version.def, should I say that it was polluted or not.... =============================================================================== Case of current LPW approch: If You use following setting: /etc/libmap.conf ----------------------------------------------- [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] libpthread.so.0 ?????????????? libdl.so.2 ?????????????? libz.so.1 libz.so.3 libm.so.6 ?????????????? libc.so.6 ?????????????? /etc/libmap.conf ----------------------------------------------- (*) ?????????????? is nork-flash7.so or deischen-flash7.so or libc.so.7/libm.so.4/libpthread.so.2. You can get following result: | wrapper | wrapper/glibc w/o | wrapper/glibc w/ | none ---------------+-----------+---------------------+------------------+----- libc | NG | NG | may be NG | ng libc/glibc-ver | ng | may be NG | may be NG | ng libc/glibc | ok | may be OK | may be OK | OK NOTE #1 ----------------------------------------------------------------- libc: src/lib/libc without SYMVER_ENABLED libc/glibc-ver: src/lib/libc with SYMVER_ENABLED + GLIBC Versions.def libc/glibc: src/lib/libc with SYMVER_ENABLED + GLIBC Versions.def + GLIBC Functions NOTE #2 ----------------------------------------------------------------- wrapper: nork's LPW wrapper/glibc w/o: (deischen's LPW)++. I saw deischen's LPW, and I think that deischen's approch almost works. wrapper/glibc w/: (deischen's LPW)++ with libc/libm/libptread NOTE #3 -------------------------------------------------------------------- OK: I confirmed that this is good works. ok: I considered that this is good works. may be OK: I didn't confirmed, but I think that this is good works. may be NG: I didn't confirmed, but I think that this is not works. ng: I considered that this is not works. NG: I confirmed that this is not works. ------------------------------------------------------------------------- ERROR PATTERN #1: LoadPlugin: failed to initialize shared library /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so [/lib/libc.so.7: version GLIBC_2.1 required by /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so not found] ERROR PATTERN #2: LoadPlugin: failed to initialize shared library /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so: Undefined symbol "open"] =============================================================================== Case of current LPW + [firefox-bin] approch: If You use following setting: /etc/libmap.conf ----------------------------------------------- [firefox-bin] libc.so.7 ?????????????? libm.so.4 ?????????????? libpthread.so.2 ?????????????? [/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so] libpthread.so.0 ?????????????? libdl.so.2 ?????????????? libz.so.1 libz.so.3 libm.so.6 ?????????????? libc.so.6 ?????????????? /etc/libmap.conf ----------------------------------------------- (*) ?????????????? is nork-flash7.so or deischen-flash7.so or libc.so.7/libm.so.4/libpthread.so.2. You can get following result: | wrapper | wrapper/glibc w/o | wrapper/glibc w/ | none ---------------+-----------+---------------------+------------------+----- libc | NG | NG | may be NG | ng libc/glibc-ver | ng | may be OK | may be OK | ng libc/glibc | ok | may be OK | may be OK | OK ERROR PATTERN #1: nothing =============================================================================== * Can we separate library to use Linux-flash7? Yes, we need following conditions (1 or more): 1. Following error should be banished. [/lib/libc.so.7: version GLIBC_2.1 required by /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so not found] 1-a. To banish, I think that following code should be fixed at check_object_provided_version in src/libexec/rtld-elf/rtld.c. if (vd == NULL) { _rtld_error("%s: version %s required by %s not defined", depobj->path, vername, refobj->path); return (-1); } I tried to remove 'return (-1);', but I don't know side-effects. 1-b. Add GLIBC Version.def to libc/libm/libpthread. 2. firefox doesn't use libc/libm/libpthread. But wrapper has libc/libm/libpthread all codes. /etc/libmap.conf ----------------------------------------------- [firefox-bin] libc.so.7 wrapper.so libm.so.4 wrapper.so libpthread.so.2 wrapper.so /etc/libmap.conf ----------------------------------------------- So I think that glibc functions are integrated to libc/m/pthread. But above issue will be fixed, I may think that separate libraries are good way. From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 10:56:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA97F16A492 for ; Mon, 26 Jun 2006 10:56:26 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7F2E43D90 for ; Mon, 26 Jun 2006 10:56:25 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D4F7.dip.t-dialin.net [84.165.212.247]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5QAoF7F007264; Mon, 26 Jun 2006 12:50:16 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5QAuP6O071190; Mon, 26 Jun 2006 12:56:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 26 Jun 2006 12:56:25 +0200 Message-ID: <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 26 Jun 2006 12:56:25 +0200 From: Alexander Leidinger To: Thomas Dickey References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> In-Reply-To: <20060626102724.GA17962@saltmine.radix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" , "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 10:56:26 -0000 Quoting Thomas Dickey (from Mon, 26 Jun 2006 =20 06:27:24 -0400): > On Mon, Jun 26, 2006 at 11:58:40AM +0200, Alexander Leidinger wrote: >> >> Summary: maybe most people just use something else in case they >> need/want UTF-8, and they don't bother to fight with xterm because >> they just want something which works. So don't be surprised if this is >> a bug in xterm. > > then again - considering the source, perhaps not. > > (xterm inherits its locale from the environment - as a cursory reading > of uxterm would reveal -) In my case the environment consists of a gnome session started with =20 gdm, LANG set to de_DE.UTF-8 and LC_NUMMERIC set to C. Starting an =20 uxterm didn't satisfy me (AFAIR: ugly font rendering, too much spaces =20 between characters for all fonts I tried), starting a gnome terminal =20 did (sort of, IMHO it's too large, but I got around it). Both =20 terminals did show the same locale related content in "printenv". Bye, Alexander. --=20 Bradley's Bromide: =09If computers get too powerful, we can organize them into a committee -- that will do them in. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 11:11:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FCA116A401 for ; Mon, 26 Jun 2006 11:11:03 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1970143D67 for ; Mon, 26 Jun 2006 11:11:02 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QBB13F005384; Mon, 26 Jun 2006 07:11:01 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QBB1MU005383; Mon, 26 Jun 2006 07:11:01 -0400 (EDT) Date: Mon, 26 Jun 2006 07:11:01 -0400 From: Thomas Dickey To: Alexander Leidinger Message-ID: <20060626111100.GA1808@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" , "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 11:11:03 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 12:56:25PM +0200, Alexander Leidinger wrote: > >(xterm inherits its locale from the environment - as a cursory reading > >of uxterm would reveal -) >=20 > In my case the environment consists of a gnome session started with =20 > gdm, LANG set to de_DE.UTF-8 and LC_NUMMERIC set to C. Starting an =20 > uxterm didn't satisfy me (AFAIR: ugly font rendering, too much spaces =20 > between characters for all fonts I tried), starting a gnome terminal =20 > did (sort of, IMHO it's too large, but I got around it). Both =20 That sounds as if you overrode the font resources to use a proportional fon= t, or attempted to use TrueType fonts without having them setup properly. (gnome uses separate configuration data for the latter). > terminals did show the same locale related content in "printenv". =2E..also (it would be nice to have documentation for gnome-terminal), I've observed that it tries to setup UTF-8 support whether or not the locale is set for UTF-8. (This makes it fail number of screens in vttest in interesting ways). --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --jI8keyz6grp/JLjh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEn8DCtIqByHxlDocRAo0UAJ9aPXdt1VBDQNZXwc/a7ORg4ICNrACgmGzn 6Nv24737zFAUBNGrI3rJz9U= =xJDb -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 11:22:05 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C753016A402 for ; Mon, 26 Jun 2006 11:22:04 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FE8343FF8 for ; Sun, 25 Jun 2006 23:14:39 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.5] (S0106000f3d63befd.vs.shawcable.net [70.71.19.119]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k5PNEaHu000953 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 25 Jun 2006 16:14:37 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <449F18D9.2000109@FreeBSD.org> Date: Sun, 25 Jun 2006 16:14:33 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Nate Lawson References: <449EAED3.7000706@root.org> In-Reply-To: <449EAED3.7000706@root.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 11:22:05 -0000 Works here to specify alternate root just fine. I am missing something? -Maxim Nate Lawson wrote: > kbdmux does not currently support ddb and mountroot in both -current and > 6-stable. This means that if you get a panic, no backtrace or other > interaction is possible. Also, if your /etc/fstab is wrong, no way to > specify an alternate root. > > Are there any plans to improve this? What needs to be completed to get > back to previous support for these features? > > Thanks, From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 12:09:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 809E016A562 for ; Mon, 26 Jun 2006 12:09:12 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608BE43D93 for ; Mon, 26 Jun 2006 12:05:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D4F7.dip.t-dialin.net [84.165.212.247]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5QBxVDC007477; Mon, 26 Jun 2006 13:59:33 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5QC5fN3010352; Mon, 26 Jun 2006 14:05:41 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 26 Jun 2006 14:05:41 +0200 Message-ID: <20060626140541.y4vreq8vpcs804sk@netchild.homeip.net> X-Priority: 3 (Normal) Date: Mon, 26 Jun 2006 14:05:41 +0200 From: Alexander Leidinger To: Thomas Dickey References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> <20060626111100.GA1808@saltmine.radix.net> In-Reply-To: <20060626111100.GA1808@saltmine.radix.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" , "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 12:09:12 -0000 Quoting Thomas Dickey (from Mon, 26 Jun 2006 =20 07:11:01 -0400): > On Mon, Jun 26, 2006 at 12:56:25PM +0200, Alexander Leidinger wrote: >> >(xterm inherits its locale from the environment - as a cursory reading >> >of uxterm would reveal -) >> >> In my case the environment consists of a gnome session started with >> gdm, LANG set to de_DE.UTF-8 and LC_NUMMERIC set to C. Starting an >> uxterm didn't satisfy me (AFAIR: ugly font rendering, too much spaces >> between characters for all fonts I tried), starting a gnome terminal >> did (sort of, IMHO it's too large, but I got around it). Both > > That sounds as if you overrode the font resources to use a proportional fo= nt, > or attempted to use TrueType fonts without having them setup properly. > (gnome uses separate configuration data for the latter). I did use the same font as previously with xterm and LANG set to =20 de_DE.ISO8849-15. I have to look up the fontname at home. Bye, Alexander. --=20 Stability itself is nothing else than a more sluggish motion. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 12:23:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C586716A402 for ; Mon, 26 Jun 2006 12:23:17 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AD9043D45 for ; Mon, 26 Jun 2006 12:23:17 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QCNG3F005740; Mon, 26 Jun 2006 08:23:16 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QCNDeT005693; Mon, 26 Jun 2006 08:23:13 -0400 (EDT) Date: Mon, 26 Jun 2006 08:23:13 -0400 From: Thomas Dickey To: Alexander Leidinger Message-ID: <20060626122313.GA988@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> <20060626111100.GA1808@saltmine.radix.net> <20060626140541.y4vreq8vpcs804sk@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: <20060626140541.y4vreq8vpcs804sk@netchild.homeip.net> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" , "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 12:23:17 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 02:05:41PM +0200, Alexander Leidinger wrote: > Quoting Thomas Dickey (from Mon, 26 Jun 2006 =20 > 07:11:01 -0400): >=20 > >On Mon, Jun 26, 2006 at 12:56:25PM +0200, Alexander Leidinger wrote: > >>>(xterm inherits its locale from the environment - as a cursory reading > >>>of uxterm would reveal -) > >> > >>In my case the environment consists of a gnome session started with > >>gdm, LANG set to de_DE.UTF-8 and LC_NUMMERIC set to C. Starting an > >>uxterm didn't satisfy me (AFAIR: ugly font rendering, too much spaces > >>between characters for all fonts I tried), starting a gnome terminal > >>did (sort of, IMHO it's too large, but I got around it). Both > > > >That sounds as if you overrode the font resources to use a proportional= =20 > >font, > >or attempted to use TrueType fonts without having them setup properly. > >(gnome uses separate configuration data for the latter). >=20 > I did use the same font as previously with xterm and LANG set to =20 > de_DE.ISO8849-15. I have to look up the fontname at home. (perhaps you mean de_DE.ISO8859-15 - 8849 refers to something else).=20 ok - but bear in mind that there are different fonts used for uxterm. Generally xterm (not in UTF-8 mode) uses the ISO-8859-x fonts, and uxterm uses the ISO-10646-x fonts. That's for the bitmap fonts of course. Aside from users setting resoures that inadvertantly pick up one when the other is meant, I don't recall problems with those. For TrueType - that's different (I use configurations that other people setup). I understand from observation and reading reports that if they're not setup properly, in some cases their sizes do not work properly. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --9amGYk9869ThD9tj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEn9GttIqByHxlDocRAkCWAKCKf7uO0mIpIDYzG58zglK+uBIQbACggNfb g44TZqlxuun07b5IPmn+uQg= =HQw4 -----END PGP SIGNATURE----- --9amGYk9869ThD9tj-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 13:09:33 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DECD16A4CE for ; Mon, 26 Jun 2006 13:09:33 +0000 (UTC) (envelope-from scottro@nyc.rr.com) Received: from ms-smtp-01.rdc-nyc.rr.com (ms-smtp-01.rdc-nyc.rr.com [24.29.109.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2EE844175 for ; Mon, 26 Jun 2006 12:42:00 +0000 (GMT) (envelope-from scottro@nyc.rr.com) Received: from localhost (cpe-68-175-68-211.nyc.res.rr.com [68.175.68.211]) by ms-smtp-01.rdc-nyc.rr.com (8.13.6/8.13.6) with ESMTP id k5QCfwtC011907 for ; Mon, 26 Jun 2006 08:41:59 -0400 (EDT) Date: Mon, 26 Jun 2006 08:41:58 -0400 From: Scott Robbins To: freebsd-current@freebsd.org Message-ID: <20060626124158.GA7801@mail.scottro.net> Mail-Followup-To: freebsd-current@freebsd.org References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 13:09:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Jun 26, 2006 at 11:58:40AM +0200, Alexander Leidinger wrote: > Quoting "Matthew D. Fuller" (from Sun, 25 Jun > 2006 20:49:39 -0500): > > > At the time I switched to UTF-8 I was using xterm too. It dodn't worked as > expected. I noticed that there's "uxterm" (installed with xterm). I tried > it and I think it was a little bit better than plain xterm itself. But > maybe it just defaults to what you did by hand above. > Th > I was not satisified and switched to the gnome terminal. It works without > problems for me (but I didn't tried the example you tried). > > Summary: maybe most people just use something else in case they need/want > UTF-8, and they don't bother to fight with xterm because they just want > something which works. So don't be surprised if this is a bug in xterm. > I believe uxterm is xterm with luit scripts (I don't know enough about this to be sure, however.) I'm one of the people who use something else, switching between urxvt (rxvt-unicode) and mlterm. I think you are correct however--being involved on various Japanese language lists, I would say the majority of people don't even bother with xterm if they want UTF-8. - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Xander: Oh, hey, do you want to come to our place for dinner? Mom's making her famous phone call to the Chinese place. Willow: Xander, do you guys even have a stove? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEn9YW+lTVdes0Z9YRAlutAJ9titRWZqLZsUb8OZR/NZM0ITXbnACggmlS RJ5TpaIutednvieYCKtSk+I= =Q5cQ -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 15:10:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0435216A4D8 for ; Mon, 26 Jun 2006 15:10:31 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8683644FCA for ; Mon, 26 Jun 2006 14:48:48 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QEml3F015603; Mon, 26 Jun 2006 10:48:47 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QEmkfo015596; Mon, 26 Jun 2006 10:48:46 -0400 (EDT) Date: Mon, 26 Jun 2006 10:48:46 -0400 From: Thomas Dickey To: "J.R. Oldroyd" Message-ID: <20060626144846.GA12481@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> <20060626111100.GA1808@saltmine.radix.net> <20060626140541.y4vreq8vpcs804sk@netchild.homeip.net> <20060626122313.GA988@saltmine.radix.net> <20060626143559.GJ48766@linwhf.opal.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <20060626143559.GJ48766@linwhf.opal.com> User-Agent: Mutt/1.3.27i Cc: Alexander Leidinger , freebsd-current@freebsd.org, "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 15:10:31 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 10:35:59AM -0400, J.R. Oldroyd wrote: =20 > but note that that font does not have all of the characters in the > utf8demo.txt file, so some things display as dotted boxes. You'll > have to experiment with different fonts to find one that has the > characters you need. yes - for instance I find that the largest font setting in uxterm's resource file does not work well for East Asian text. The second largest works reasonably well for me (ymmv). --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEn/NvtIqByHxlDocRAiTkAJ9xzb8O1w7nbRibGPjsN1Hci0FFMwCgm0Lx Fir3mge6yOPDPg/LYrkmHJQ= =AVDv -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 15:11:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E9816A5EB for ; Mon, 26 Jun 2006 15:11:54 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBAA743F93 for ; Mon, 26 Jun 2006 14:36:04 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 26 Jun 2006 10:36:04 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,176,1149480000"; d="scan'208"; a="38862793:sNHT19982754" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5QEa2Ok099091; Mon, 26 Jun 2006 10:36:02 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 26 Jun 2006 10:36:02 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5QEZxvu099090; Mon, 26 Jun 2006 10:35:59 -0400 (EDT) (envelope-from jr) Date: Mon, 26 Jun 2006 10:35:59 -0400 From: "J.R. Oldroyd" To: Thomas Dickey Message-ID: <20060626143559.GJ48766@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> <20060626111100.GA1808@saltmine.radix.net> <20060626140541.y4vreq8vpcs804sk@netchild.homeip.net> <20060626122313.GA988@saltmine.radix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8sldprk+5E/pDEv" Content-Disposition: inline In-Reply-To: <20060626122313.GA988@saltmine.radix.net> User-Agent: Mutt/1.4.2.1i Cc: Alexander Leidinger , freebsd-current@freebsd.org, "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 15:11:54 -0000 --a8sldprk+5E/pDEv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Since I posted the link to that document, I'd better add a comment. I'm using xterm myself, right now as I type this, in fact, and it works fine. And it's been fine since I put those notes together many months ago, i.e., it's been working on several earlier versions of the system. I have: unset LANG LC_COLLATE=POSIX LC_CTYPE=en_US.UTF-8 In .Xdefaults: xterm*vt100.font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 xterm*vt100.utf8Fonts.font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 This font has all the UTF-8 characters in the utf8demo.txt file, and is fine on a 1600x1200 display. For a smaller, say 1280x1024, display, I use: -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1 but note that that font does not have all of the characters in the utf8demo.txt file, so some things display as dotted boxes. You'll have to experiment with different fonts to find one that has the characters you need. Of course, to get to use this usefully for things like email, you'll need to get ncurses and xterm working and then also a mailer and an editor. Mutt and nvi work fine in UTF-8 for me. -jr --a8sldprk+5E/pDEv Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRJ/wz0kkqUax7f6FAQJEsAYAlbibhsEY8mWNgWJnnq4U13Qh/14M7FoB EF5/ndRwaKkPwN4qLu5BfFhVaoU4fMJ61SAHpBKvGX4Hq0LRaOiCGF3xGg0nA8rv fK0Pski/muXQmVDWFPXpWw5IUEGX7VZIQyw6+iPtOHDruqCFa4PZS0ZO2U1XbrVY pt73Gi+HM30CY3tAbenC1/jztSb4UPI9O02rvVu59+qXlhuQ6xKnNl+S8rfF5CAY /ejarjNzR2cXbIYKFesaB9aOYPB/DIvr =WSu7 -----END PGP SIGNATURE----- --a8sldprk+5E/pDEv-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 15:40:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D88C16A400 for ; Mon, 26 Jun 2006 15:40:08 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95B2845409 for ; Mon, 26 Jun 2006 15:40:06 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 954A1261; Mon, 26 Jun 2006 10:40:05 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id B8C8161C2B; Mon, 26 Jun 2006 10:40:04 -0500 (CDT) Date: Mon, 26 Jun 2006 10:40:04 -0500 From: "Matthew D. Fuller" To: "J.R. Oldroyd" Message-ID: <20060626154004.GB74292@over-yonder.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626102724.GA17962@saltmine.radix.net> <20060626125625.s899sqa99wcg8ssw@netchild.homeip.net> <20060626111100.GA1808@saltmine.radix.net> <20060626140541.y4vreq8vpcs804sk@netchild.homeip.net> <20060626122313.GA988@saltmine.radix.net> <20060626143559.GJ48766@linwhf.opal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060626143559.GJ48766@linwhf.opal.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: Alexander Leidinger , freebsd-current@freebsd.org, Thomas Dickey Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 15:40:08 -0000 On Mon, Jun 26, 2006 at 10:35:59AM -0400 I heard the voice of J.R. Oldroyd, and lo! it spake thus: > > I have: > unset LANG > LC_COLLATE=POSIX > LC_CTYPE=en_US.UTF-8 Doing this (even just LC_CTYPE) gives me the same problem as just setting LANG; those combined characters aren't combined. > In .Xdefaults: > xterm*vt100.font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 > xterm*vt100.utf8Fonts.font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 I actually use -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1, which doesn't have all the chars (the Ethiopian shows up as boxes), but it's about the only semicondensed font I can find that works. Normal width is just WAY too wide for my eye. I do wish I could find a better semicondensed, though... > Of course, to get to use this usefully for things like email, you'll > need to get ncurses and xterm working and then also a mailer and an > editor. Mutt and nvi work fine in UTF-8 for me. Fortunately, those parts seem to work (in this quick tests I've done) :) -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 17:08:49 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C46216A537 for ; Mon, 26 Jun 2006 17:08:49 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 964BE45A82 for ; Mon, 26 Jun 2006 16:02:48 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 26 Jun 2006 12:02:46 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,176,1149480000"; d="scan'208"; a="38878651:sNHT18521424" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5QG2jqG099789 for ; Mon, 26 Jun 2006 12:02:45 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 26 Jun 2006 12:02:45 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5QG2jku099788 for freebsd-current@freebsd.org; Mon, 26 Jun 2006 12:02:45 -0400 (EDT) (envelope-from jr) Date: Mon, 26 Jun 2006 12:02:45 -0400 From: "J.R. Oldroyd" To: freebsd-current@freebsd.org Message-ID: <20060626160245.GM48766@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FUFe+yI/t+r3nyH4" Content-Disposition: inline In-Reply-To: <20060626014939.GA74292@over-yonder.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 17:08:49 -0000 --FUFe+yI/t+r3nyH4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Is it time to consider making the utf-8 encoding the default character encoding in FreeBSD? Most other OSs have moved to utf-8 over the last few years. We remain somewhat behind in this respect, which is odd, considering the wide international participation in the FreeBSD community. It's not much work to do this. The notes in the link I posted and the earlier message which started this thread suggest where work still needs to be done: - ncurses in the base system will need updating to a current version with wide-character support - we may need to update the base fonts so that more iso10646 ones have more complete character support - some work will need to be done to fix wide-character related bugs in a few utilities, e.g., nvi - utf-8 will have to be made the default character encoding in startup scripts for the various utilities and ports that are affected - there may be a number of files on the system which will need iconv'ing from iso8859 to utf-8 - the FreeBSD Handbook will need updating Such a change would be transparent for folk still using only 7-bit text. Folk with 8-bit text stored as 8859 will have to convert all such files to utf-8 so they'll need some sort of head's up when we change the system default. If there's interest, I can help coordinate a ToDo list to track what needs to be done. -jr --FUFe+yI/t+r3nyH4 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKAFJUkkqUax7f6FAQLiGQYAoPqzEmWvKLF+ods82zk4S+5b1AdFZmuB CWUISZi6/dnhU31daTuB2Jg4pIs09mU9eUhJhgHH+SwgpIS1LBk2DjYfUuUEbZNm wDX7I4P38ZhItxKSsg+AWBVs2fLeedamUSN4rXnNfMiFi3IC9x/s+3+ZOzBkksIy rghFjL6hnYz2fG+rZozNGlisK/NQw/IgxXqnYWUlaAGfpmoiyjhPYC2d+LN3SxZf jk4NffCveNu4/rrXB0O7I5xeoEuldxe6 =OsBc -----END PGP SIGNATURE----- --FUFe+yI/t+r3nyH4-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 17:10:25 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5724216A598; Mon, 26 Jun 2006 17:10:25 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D376345AF5; Mon, 26 Jun 2006 16:03:23 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [192.168.0.14] (dsl-63-249-90-35.cruzio.com [63.249.90.35]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id BXP43332 (AUTH peterg@ptree32.com.au); Tue, 27 Jun 2006 02:03:18 +1000 (EST) Message-ID: <44A00544.1000904@freebsd.org> Date: Mon, 26 Jun 2006 09:03:16 -0700 From: Peter Grehan User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: current@freebsd.org, maksim yevmenkin Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Maxim Sobolev , Nate Lawson Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: grehan@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 17:10:25 -0000 > yes, there is a known problem with atkbd(4) keyboards and kbdmux(4) > with ddb, geli, mountroot etc. I have the same problem with a USB keyboard on freebsd/ppc, -HEAD. Goes away when kbdmux is disabled, so I think it's a generic problem and not just atkbd-related. later, Peter. From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 17:38:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8519A16A40B for ; Mon, 26 Jun 2006 17:38:34 +0000 (UTC) (envelope-from master@preved.cn) Received: from mail.mccolo.com (mc79.mccolo.com [208.66.192.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D18C440DE for ; Mon, 26 Jun 2006 17:12:31 +0000 (GMT) (envelope-from master@preved.cn) Received: (qmail 51189 invoked by uid 89); 20 Jun 2006 12:46:28 -0000 Received: from unknown (HELO ?192.0.0.1?) (tarasov@mccolo.com@62.140.244.50) by mail.mccolo.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Jun 2006 12:46:28 -0000 Message-ID: <4497EE1B.6090904@preved.cn> Date: Tue, 20 Jun 2006 16:46:19 +0400 From: Tarasov Alexey User-Agent: Thunderbird 1.5.0.4 (X11/20060618) MIME-Version: 1.0 To: current@freebsd.org, Pawel Jakub Dawidek References: <20060619131101.GD1130@garage.freebsd.pl> In-Reply-To: <20060619131101.GD1130@garage.freebsd.pl> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Journaling UFS with gjournal. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 17:38:34 -0000 Hello! GJournal is very interesting. Are you going to make a installation image (like image with DTrace) to test it as root filesystem? Thanks. Best regards, Tarasov Alexey. From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 18:37:08 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A84F16A506 for ; Mon, 26 Jun 2006 18:37:08 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh2.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2789D460C0 for ; Mon, 26 Jun 2006 17:25:57 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.1/8.13.1) with ESMTP id k5QHPr6Y054650; Mon, 26 Jun 2006 12:25:54 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44A018B0.4080901@centtech.com> Date: Mon, 26 Jun 2006 12:26:08 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: current@freebsd.org References: <44A00544.1000904@freebsd.org> In-Reply-To: <44A00544.1000904@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1564/Mon Jun 26 09:55:16 2006 on mh2.centtech.com X-Virus-Status: Clean Cc: Nate Lawson Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 18:37:08 -0000 Peter Grehan wrote: >> yes, there is a known problem with atkbd(4) keyboards and kbdmux(4) >> with ddb, geli, mountroot etc. > > I have the same problem with a USB keyboard on freebsd/ppc, -HEAD. Goes > away when kbdmux is disabled, so I think it's a generic problem and not > just atkbd-related. Me too.. (on i386) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 18:46:04 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E84E716A400 for ; Mon, 26 Jun 2006 18:46:04 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D2C4476B for ; Mon, 26 Jun 2006 13:54:04 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QDs23F020651 for ; Mon, 26 Jun 2006 09:54:03 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QDs2Tk020649 for freebsd-current@freebsd.org; Mon, 26 Jun 2006 09:54:02 -0400 (EDT) Date: Mon, 26 Jun 2006 09:54:02 -0400 From: Thomas Dickey To: freebsd-current@freebsd.org Message-ID: <20060626135402.GA18977@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2fHTh5uZTiUOsy+g" Content-Disposition: inline In-Reply-To: <20060626124158.GA7801@mail.scottro.net> User-Agent: Mutt/1.3.27i Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 18:46:05 -0000 --2fHTh5uZTiUOsy+g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 08:41:58AM -0400, Scott Robbins wrote: > I believe uxterm is xterm with luit scripts (I don't know enough about > this to be sure, however.) I can usually rely on people making comments like that. (Though why someone would make assertions without knowing what they're talking about is something left for another thread). xterm may use luit - if it's mapping from a non-ISO-8859-1 encoding. (luit is an application, not a script - I understand it has a manpage). > I'm one of the people who use something else, switching between urxvt > (rxvt-unicode) and mlterm. >=20 > I think you are correct however--being involved on various Japanese > language lists, I would say the majority of people don't even bother > with xterm if they want UTF-8. that's possible - but since you've already made one comment without knowing what you're talking about, I'll file those with the rest of yours. bye --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --2fHTh5uZTiUOsy+g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEn+butIqByHxlDocRAv4OAKCCeQaV9l0afmSfSHaDsjKK+Kd/AACZAeTT WBifVesw1WAMZto0ecxpFSE= =RK3s -----END PGP SIGNATURE----- --2fHTh5uZTiUOsy+g-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 18:46:10 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A87EE16A590 for ; Mon, 26 Jun 2006 18:46:10 +0000 (UTC) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id B645744092 for ; Mon, 26 Jun 2006 18:32:20 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.7/8.13.7) with ESMTP id k5QIWIcn022822; Mon, 26 Jun 2006 22:32:18 +0400 (MSD) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.7/8.13.7/Submit) id k5QIWIXJ022821; Mon, 26 Jun 2006 22:32:18 +0400 (MSD) (envelope-from ache) Date: Mon, 26 Jun 2006 22:32:18 +0400 From: Andrey Chernov To: "J.R. Oldroyd" Message-ID: <20060626183217.GA22766@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , "J.R. Oldroyd" , freebsd-current@FreeBSD.ORG References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626160245.GM48766@linwhf.opal.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20060626160245.GM48766@linwhf.opal.com> User-Agent: Mutt/1.5.11 Cc: freebsd-current@FreeBSD.ORG Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 18:46:10 -0000 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 12:02:45PM -0400, J.R. Oldroyd wrote: > Is it time to consider making the utf-8 encoding the default character > encoding in FreeBSD? Not right now. Collating is not implemented in all UTF-8 locales. --=20 http://ache.pp.ru/ --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iQCVAwUBRKAoMeJgpPLZnQjrAQIVUgP/WhmtdJWlWTm0M+KRkykWNbmzcRgBASyx xfx/WpN1jOFwcQGU/rd1J3fdkB2Leip8k3+1QfOmNaat7rRS3gq1etKxG04ywZgD gHPw8+yANABd+ONsR2D17mmmViU04ZGddddSJOWPOUH+OV7VOu8Kte/wMAT5zl5u 9Gx884UWmEg= =poDt -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 19:39:52 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBB4616A507; Mon, 26 Jun 2006 19:39:52 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 217D545A4F; Mon, 26 Jun 2006 19:06:35 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.13.6/8.13.6/NETPLEX) with ESMTP id k5QJ6Xjg004852; Mon, 26 Jun 2006 15:06:34 -0400 (EDT) Date: Mon, 26 Jun 2006 15:06:33 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Norikatsu Shigemura In-Reply-To: <20060625191405.d0e78240.nork@FreeBSD.org> Message-ID: References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <20060623013106.d4397e26.nork@FreeBSD.org> <20060622230416.3907a848@kan.dnsalias.net> <20060625191405.d0e78240.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) Cc: Alexander@Leidinger.net, Alexander Kabaev , current@freebsd.org Subject: Re: Linux-flashplugin7 & rtld - RFC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 19:39:53 -0000 On Sun, 25 Jun 2006, Norikatsu Shigemura wrote: > On Thu, 22 Jun 2006 23:04:16 -0400 > Alexander Kabaev wrote: >> On Thu, 22 Jun 2006 12:49:59 -0400 (EDT) >> Daniel Eischen wrote: >>> On Fri, 23 Jun 2006, Norikatsu Shigemura wrote: >>>> On Wed, 21 Jun 2006 12:39:09 -0400 (EDT) >> >>>> spamming? junk symbols? Humm... I don't think so, but it >>>> is POLICY that I think. Althought I'm working, I want to >>>> merge 'Userland COMPAT_LINUX technology' to FreeBSD source >>>> tree. I hope that you do consent. So I hope to discuss >>>> @GLIBC_2.* symbols:-). >>> No, I would still oppose that. I think separate libraries >>> are the way to go. > > deischen: Sorry, I didn't read 'separate libraries'. > >> ... and I will support Daniel's objection if it will come to that. >> Sorry, but Linux symbols in FreeBSD native libraries amount to only one >> thing - pollution and nothing else. > > Humm.. Even if GLIBC version information in Version.def, > should I say that it was polluted or not.... Yes, any GLIBC symbols in our stock libraries would be pollution IMHO. > =============================================================================== > * Can we separate library to use Linux-flash7? > Yes, we need following conditions (1 or more): > > 1. Following error should be banished. > [/lib/libc.so.7: version GLIBC_2.1 required by /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so not found] > > 1-a. To banish, I think that following code should be fixed at > check_object_provided_version in src/libexec/rtld-elf/rtld.c. > > if (vd == NULL) { > _rtld_error("%s: version %s required by %s not defined", > depobj->path, vername, refobj->path); > return (-1); > } > > I tried to remove 'return (-1);', but I don't know side-effects. I think that rtld needs to be fixed so that we fully respect libmap.conf. If flashplayer.so requires (Linux) library libc.so.7, and libc.so.7 is mapped to wrapper.so, then any versioned symbols should be pulled from wrapper.so, not our own native libc.so.7. The check for the object providing the correct version should still be done, but it needs to be checking the correct (libmap'd) object. -- DE From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 20:21:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4A8F16A401; Mon, 26 Jun 2006 20:21:51 +0000 (UTC) (envelope-from faber@ISI.EDU) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94D5C43D4C; Mon, 26 Jun 2006 20:21:51 +0000 (GMT) (envelope-from faber@ISI.EDU) Received: from hut.isi.edu (hut.isi.edu [128.9.168.160]) by boreas.isi.edu (8.11.6p2+0917/8.11.2) with ESMTP id k5QKL7p21644; Mon, 26 Jun 2006 13:21:07 -0700 (PDT) Received: (from faber@localhost) by hut.isi.edu (8.13.7/8.13.7/Submit) id k5QKL6sr001713; Mon, 26 Jun 2006 13:21:06 -0700 (PDT) (envelope-from faber) Date: Mon, 26 Jun 2006 13:21:06 -0700 From: Ted Faber To: freebsd-current@freebsd.org Message-ID: <20060626202102.GA1148@hut.isi.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-url: http://www.isi.edu/~faber X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: faber@hut.isi.edu Cc: anholt@freebsd.org Subject: OOOPs sys/pci/agp_i810.c with wrong chiptypes. Patch attached. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 20:21:52 -0000 --BwCQnh7xodEAoBMC Content-Type: multipart/mixed; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable It looks like in the reorg of sys/pci/agp_i810.c a couple chips got the wrong chiptype in the big table (including mine :-(). Those chips (oe at least mine) did not properly initialize because of it. I've attached a patch that fixes this for me - just swapping the chiptypes. The patch is relative to /sys. --=20 Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.= asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#= SIG --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch --- pci/agp_i810.c.orig Mon Jun 26 13:08:46 2006 +++ pci/agp_i810.c Mon Jun 26 11:42:24 2006 @@ -113,9 +113,9 @@ "Intel 82815 (i815 GMCH) SVGA controller"}, {0x35778086, CHIP_I830, 0x00020000, "Intel 82830M (830M GMCH) SVGA controller"}, - {0x35828086, CHIP_I830, 0x00020000, + {0x35828086, CHIP_I855, 0x00020000, "Intel 82852/5"}, - {0x25728086, CHIP_I830, 0x00020000, + {0x25728086, CHIP_I855, 0x00020000, "Intel 82865G (865G GMCH) SVGA controller"}, {0x25828086, CHIP_I915, 0x00020000, "Intel 82915G (915G GMCH) SVGA controller"}, --LQksG6bCIzRHxTLp-- --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEoEGuaUz3f+Zf+XsRAqiMAJ9k+Hqy8vzSXXr/mkOSXC/kzGOy0QCffC2T LgCle0TwSMOHclZB8L8mGgA= =cnI2 -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC-- From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 21:26:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBA7616A405 for ; Mon, 26 Jun 2006 21:26:19 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74CD543D78 for ; Mon, 26 Jun 2006 21:26:11 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id F10703E4 for ; Mon, 26 Jun 2006 14:18:08 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3F06161C2B; Mon, 26 Jun 2006 14:18:08 -0500 (CDT) Date: Mon, 26 Jun 2006 14:18:08 -0500 From: "Matthew D. Fuller" To: freebsd-current@freebsd.org Message-ID: <20060626191808.GC74292@over-yonder.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060626124158.GA7801@mail.scottro.net> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 21:26:19 -0000 On Mon, Jun 26, 2006 at 08:41:58AM -0400 I heard the voice of Scott Robbins, and lo! it spake thus: > > I believe uxterm is xterm with luit scripts (I don't know enough > about this to be sure, however.) Well, uxterm is just a shell script, an so amenable to quick tests. Running it with sh -x basically yields (trimming uninteresting bits) + LC_CTYPE=en_US.UTF-8 + export LC_CTYPE + exec xterm -class UXTerm -title uxterm -u8 which is what triggers my problem when I do it manually (`env LC_CTYPE=... xterm`). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-current@FreeBSD.ORG Mon Jun 26 22:58:33 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AEF716A403 for ; Mon, 26 Jun 2006 22:58:33 +0000 (UTC) (envelope-from maksim.yevmenkin@savvis.net) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id A600343D73 for ; Mon, 26 Jun 2006 22:58:28 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [192.168.1.236] (really [70.32.199.60]) by mta10.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060626225827.TEUV8020.mta10.adelphia.net@[192.168.1.236]>; Mon, 26 Jun 2006 18:58:27 -0400 Message-ID: <44A0670D.7040101@savvis.net> Date: Mon, 26 Jun 2006 16:00:29 -0700 From: maksim yevmenkin User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: current@freebsd.org References: <44A00544.1000904@freebsd.org> <44A018B0.4080901@centtech.com> In-Reply-To: <44A018B0.4080901@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Nate Lawson Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jun 2006 22:58:33 -0000 Eric Anderson wrote: > Peter Grehan wrote: >>> yes, there is a known problem with atkbd(4) keyboards and kbdmux(4) >>> with ddb, geli, mountroot etc. >> >> I have the same problem with a USB keyboard on freebsd/ppc, -HEAD. >> Goes away when kbdmux is disabled, so I think it's a generic problem >> and not just atkbd-related. > > Me too.. (on i386) is your usb controller uhci(4), ohci(4) or ehci(4)? thanks, max From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 00:22:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4844516A4CC for ; Tue, 27 Jun 2006 00:22:48 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 074EF4480D for ; Mon, 26 Jun 2006 23:54:40 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5QNsd3F012877; Mon, 26 Jun 2006 19:54:40 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5QNsdfv012876; Mon, 26 Jun 2006 19:54:39 -0400 (EDT) Date: Mon, 26 Jun 2006 19:54:39 -0400 From: Thomas Dickey To: "Matthew D. Fuller" Message-ID: <20060626235439.GA11403@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline In-Reply-To: <20060626191808.GC74292@over-yonder.net> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 00:22:48 -0000 --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 02:18:08PM -0500, Matthew D. Fuller wrote: > Well, uxterm is just a shell script, an so amenable to quick tests. > Running it with sh -x basically yields (trimming uninteresting bits) >=20 > + LC_CTYPE=3Den_US.UTF-8 > + export LC_CTYPE > + exec xterm -class UXTerm -title uxterm -u8 >=20 > which is what triggers my problem when I do it manually (`env > LC_CTYPE=3D... xterm`). The -u8 option in combination with the locale setting is needed to make xterm process UTF-8 (and also the -class option helps it to find the proper fonts). Oddly enough (depending on your perspective of course), there are people who use xterm in UTF-8 with/without the initial locale settings. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEoHO9tIqByHxlDocRAlEUAKCjN5lA4NtdSTuGVOyZ5lRGdBFzMACfX6Xb WVHmzbAJAyhN6wr+BhQGxyc= =LBvw -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 00:32:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EC3C16A400 for ; Tue, 27 Jun 2006 00:32:24 +0000 (UTC) (envelope-from bill@billxu.com) Received: from sina3-198.sina.net (sina3-199.sina.net [202.108.3.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id B112C43D58 for ; Tue, 27 Jun 2006 00:32:23 +0000 (GMT) (envelope-from bill@billxu.com) Received: (qmail 39903 invoked from network); 27 Jun 2006 00:32:22 -0000 Received: from unknown (HELO ?10.217.12.56?) (10.217.12.56) by 10.54.2.149 with SMTP; 27 Jun 2006 00:32:22 -0000 Message-ID: <44A07CB6.50604@billxu.com> Date: Tue, 27 Jun 2006 08:32:54 +0800 From: Bill Xu User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 27 Jun 2006 00:53:08 +0000 Subject: the errors when updating FreeBSD from 6.0-RELEASE to 7.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 00:32:24 -0000 Dear all, I installed FreeBSD 6.0-RELEASE, and then upgraded to 7.0-CURRENT. After # make buildworld and # make buildkernel, I run # make installkernel, during this stage, it'll use kldxref to generate hints for the kernel loader, but at that time the kldxref in FreeBSD 6.0 can't do this, it must use the kldxref from -CURRENT, so I have to install the new version kldxref manually. This is a contradiction. :(. But after I install kldxref, it didn't work still, because kldxref will use libc.so.7...... and then, I have to rum "# make installworld" before "# make installkernel". that's too bad. Bill Xu From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 00:53:12 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFECA16A414 for ; Tue, 27 Jun 2006 00:53:12 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A86D043D62 for ; Tue, 27 Jun 2006 00:53:09 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 26 Jun 2006 20:53:06 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,178,1149480000"; d="scan'208"; a="38980014:sNHT18356967" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5R0r5cQ043770; Mon, 26 Jun 2006 20:53:05 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 26 Jun 2006 20:53:05 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5R0r5d0043769; Mon, 26 Jun 2006 20:53:05 -0400 (EDT) (envelope-from jr) Date: Mon, 26 Jun 2006 20:53:05 -0400 From: "J.R. Oldroyd" To: Thomas Dickey Message-ID: <20060627005305.GE8825@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Kj7319i9nmIyA2yE" Content-Disposition: inline In-Reply-To: <20060626235439.GA11403@saltmine.radix.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 00:53:13 -0000 --Kj7319i9nmIyA2yE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 26, 19:54, Thomas Dickey wrote: > On Mon, Jun 26, 2006 at 02:18:08PM -0500, Matthew D. Fuller wrote: > > Well, uxterm is just a shell script, an so amenable to quick tests. > > Running it with sh -x basically yields (trimming uninteresting bits) > >=20 > > + LC_CTYPE=3Den_US.UTF-8 > > + export LC_CTYPE > > + exec xterm -class UXTerm -title uxterm -u8 > >=20 > > which is what triggers my problem when I do it manually (`env > > LC_CTYPE=3D... xterm`). >=20 > The -u8 option in combination with the locale setting is needed to make > xterm process UTF-8 (and also the -class option helps it to find the > proper fonts). >=20 > Oddly enough (depending on your perspective of course), > there are people who use xterm in UTF-8 with/without > the initial locale settings. >=20 > --=20 > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net I believe the problem Matt's seeing is due to an error in the UTF-8.src file that's distributed with FreeBSD. I have a patch to fix this. Unfortunately, documentation of this patch was not previously included in the unicode.html notes, an omission I have now corrected. The error in the UTF-8.src file is that the combining character ranges (there are three) are listed with SWIDTH1; they should have SWIDTH0. Folk who are interested can see details in the updated unicode.html file here: http://opal.com/freebsd/unicode.html#lcctype -jr --Kj7319i9nmIyA2yE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKCBcUkkqUax7f6FAQJ3rQX/eBjTwuJ8A+l4y+pyKytN42qudm5dEHgA 03+OJ7KbgHvsSJQbUro4XR0lqClCQu5a15nEHcchxKR7+ApY3BFTmwSrZQb4gkuF nfv3Pa7kgjigQsc0oUpNRt3jWwhqxvY0vxO5kOEu8ftfIavxkgsaGO/Y1Zf3hKVf jEm/Z7UAnoiCSpQa97AZ9bPqY3eF24d8pdyZChUN+kFCyD0uPCJipNeCAZY2FSvq RcPqZ37daqxyQaG9srbHX6lN9XNsR/NG =YUEq -----END PGP SIGNATURE----- --Kj7319i9nmIyA2yE-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 01:21:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5562A16A401 for ; Tue, 27 Jun 2006 01:21:15 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AB774447A for ; Tue, 27 Jun 2006 01:21:12 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 2EF8C261; Mon, 26 Jun 2006 20:21:10 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 72C7361C2B; Mon, 26 Jun 2006 20:21:09 -0500 (CDT) Date: Mon, 26 Jun 2006 20:21:09 -0500 From: "Matthew D. Fuller" To: Thomas Dickey Message-ID: <20060627012109.GK74292@over-yonder.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> <20060627005305.GE8825@linwhf.opal.com> <20060627005849.GA3672@saltmine.radix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060627005849.GA3672@saltmine.radix.net> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 01:21:15 -0000 On Mon, Jun 26, 2006 at 08:58:49PM -0400 I heard the voice of Thomas Dickey, and lo! it spake thus: > On Mon, Jun 26, 2006 at 08:53:05PM -0400, J.R. Oldroyd wrote: > > > > I believe the problem Matt's seeing is due to an error in the > > UTF-8.src file that's distributed with FreeBSD. I have a patch to > > fix this. Unfortunately, documentation of this patch was not > > previously included in the unicode.html notes, an omission I have > > now corrected. > > thanks - that hadn't occurred to me. It hadn't occured to me either, but that's probably more because I don't know what I'm doing; I'm just tired of seeing so many ?'s in my email 8-} With that patch, it seems to work right with the env var set in the shell invoking xterm. I can also take out the locale: false I had in .Xresources, since that seems to be another facet of the same deal. If somebody who knows more than I do about the subject could review and commit that patch, it would be great. > xterm also has optional width-tables which may be helpful: Is this something we should look at (given the above), or is it more a workaround for the problem that patch solves? -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 01:29:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B12F416A494 for ; Tue, 27 Jun 2006 01:29:15 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id B107E43FB0 for ; Tue, 27 Jun 2006 00:58:58 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5R0wo3F005537; Mon, 26 Jun 2006 20:58:50 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5R0woU1005536; Mon, 26 Jun 2006 20:58:50 -0400 (EDT) Date: Mon, 26 Jun 2006 20:58:49 -0400 From: Thomas Dickey To: "J.R. Oldroyd" Message-ID: <20060627005849.GA3672@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> <20060627005305.GE8825@linwhf.opal.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <20060627005305.GE8825@linwhf.opal.com> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org, "Matthew D. Fuller" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 01:29:15 -0000 --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 08:53:05PM -0400, J.R. Oldroyd wrote: > I believe the problem Matt's seeing is due to an error in the > UTF-8.src file that's distributed with FreeBSD. I have a patch to > fix this. Unfortunately, documentation of this patch was not > previously included in the unicode.html notes, an omission I have > now corrected. thanks - that hadn't occurred to me. xterm also has optional width-tables which may be helpful: mkWidth (class MkWidth) Specifies whether xterm should use a built-in version of the wide character width calculation. The default is ``false.'' =20 --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --T4sUOijqQbZv57TR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEoILItIqByHxlDocRApOIAKCnYotOl0O+6r6cWugl3sHBwBMBWgCfSzjI ibTF7eaKSSTawcPB+KljrLk= =aVzh -----END PGP SIGNATURE----- --T4sUOijqQbZv57TR-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 01:54:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 836CF16A40B for ; Tue, 27 Jun 2006 01:54:13 +0000 (UTC) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (tarc.po.cs.msu.su [158.250.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41E9A43D49 for ; Tue, 27 Jun 2006 01:54:11 +0000 (GMT) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (localhost [127.0.0.1]) by tarc.po.cs.msu.su (8.13.4/8.13.4) with ESMTP id k5R1s8lx082208; Tue, 27 Jun 2006 05:54:08 +0400 (MSD) (envelope-from tarc@tarc.po.cs.msu.su) Received: (from tarc@localhost) by tarc.po.cs.msu.su (8.13.4/8.13.4/Submit) id k5R1s7BV082207; Tue, 27 Jun 2006 05:54:07 +0400 (MSD) (envelope-from tarc) Date: Tue, 27 Jun 2006 05:54:05 +0400 From: Arseny Nasokin To: Bill Xu Message-ID: <20060627015405.GQ32801@tarc.po.cs.msu.su> References: <44A07CB6.50604@billxu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44A07CB6.50604@billxu.com> User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: freebsd-current@freebsd.org Subject: Re: the errors when updating FreeBSD from 6.0-RELEASE to 7.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 01:54:13 -0000 On Tue, Jun 27, 2006 at 08:32:54AM +0800, Bill Xu wrote: > Dear all, > > I installed FreeBSD 6.0-RELEASE, and then upgraded to 7.0-CURRENT. After > # make buildworld and # make buildkernel, I run # make installkernel, > during this stage, it'll use kldxref to generate hints for the kernel > loader, but at that time the kldxref in FreeBSD 6.0 can't do this, it > must use the kldxref from -CURRENT, so I have to install the new version > kldxref manually. This is a contradiction. :(. But after I install > kldxref, it didn't work still, because kldxref will use libc.so.7...... > > and then, I have to rum "# make installworld" before "# make > installkernel". that's too bad. > > Bill Xu > You need fresh install. AFAIK, kldxref(8) can be runned _after_ booting in single mode. I use "fresh install" with all system updates(minor & major). I do it because -CURRENT changes too fast. simple sheme is: * * update buildworld buildkernel * installworld installkernel -DDESTDIR=/path/to/new/place * etc merging (for example, by etcmerge(1)) * boot fixing * (optionally) port installing in chroot (or jail) with new system * reboot -- Best regards, Arseny Nasokin From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 03:15:16 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD15F16A412 for ; Tue, 27 Jun 2006 03:15:16 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED9C043D70 for ; Tue, 27 Jun 2006 03:14:57 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 26 Jun 2006 23:14:56 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,178,1149480000"; d="scan'208"; a="38997521:sNHT22696236" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5R3EtYx045791; Mon, 26 Jun 2006 23:14:55 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 26 Jun 2006 23:14:55 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5R3EtD9045790; Mon, 26 Jun 2006 23:14:55 -0400 (EDT) (envelope-from jr) Date: Mon, 26 Jun 2006 23:14:55 -0400 From: "J.R. Oldroyd" To: "Matthew D. Fuller" Message-ID: <20060627031454.GB45513@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> <20060627005305.GE8825@linwhf.opal.com> <20060627005849.GA3672@saltmine.radix.net> <20060627012109.GK74292@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: <20060627012109.GK74292@over-yonder.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, Thomas Dickey Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 03:15:16 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 26, 20:21, Matthew D. Fuller wrote: >=20 > If somebody who knows more than I do about the subject could review > and commit that patch, it would be great. >=20 Indeed it would. I've not submitted the patch to gnats because we've never had any peer review of this stuff and I suspect that there are omissions. In fact, there are! Now that I look back at that patch, I realize I'd only made the patch for combining characters which were specifically noted as such in the file. In fact, there are lots more combining and non-spacing characters, all of which need to be listed with SWIDTH0 in the UTF-8.src file. So I've just gone back and added SWIDTH0 for the non-spacing and combining characters that I know of in Thai, Cyrillic, Hiragana and the music symbols and updated the patch for these. Since I know none of these languages, I did this with reference to various Unicode tables one the net, but it sure would be good for a few other folk to review what I've done and in particular, check to see if there are even more that need adding. Related to this, I've been asked how to get combining characters to work when displaying fonts in the firefox or opera browsers. I don't know. It may just be a question of playing with the browser's fonts, but it could also be that there are browser rendering problems. Anyone have any insight here? -jr --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKCirkkkqUax7f6FAQLeLwYAkloF21nq1JY4MdcS5Hvi3+stjOzbtH5L h+pC838jv98lKK2zryW5fJt5Z/n3jX9rbiwFoIDN+rTVpyqzuGRJ7JO9V87a6Y4r EIlX9Wo0EnWboQbzHk7E16KSDAR9gEL23W6Jkqn0m10EKIMno6yejW9yb8aVaDhw Z/x5rExnlUP1+lB+BWWn5FgE4895IC9jwve3Ka4NsznNi0OMELEYKuwFRUHYicDg ZGH0MYsrNOL/U6L789Ip2Z829zJSaz3I =f9iE -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 03:29:24 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BA5416A400 for ; Tue, 27 Jun 2006 03:29:24 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BE8C43D53 for ; Tue, 27 Jun 2006 03:29:20 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [192.168.42.24] (andersonbox4.centtech.com [192.168.42.24]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k5R3TJEp067876; Mon, 26 Jun 2006 22:29:19 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44A0A61D.9030807@centtech.com> Date: Mon, 26 Jun 2006 22:29:33 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: maksim yevmenkin References: <44A00544.1000904@freebsd.org> <44A018B0.4080901@centtech.com> <44A0670D.7040101@savvis.net> In-Reply-To: <44A0670D.7040101@savvis.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1564/Mon Jun 26 09:55:16 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: current@freebsd.org, Nate Lawson Subject: Re: kbdmux support for ddb and mountroot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 03:29:24 -0000 maksim yevmenkin wrote: > Eric Anderson wrote: >> Peter Grehan wrote: >>>> yes, there is a known problem with atkbd(4) keyboards and kbdmux(4) >>>> with ddb, geli, mountroot etc. >>> >>> I have the same problem with a USB keyboard on freebsd/ppc, -HEAD. >>> Goes away when kbdmux is disabled, so I think it's a generic problem >>> and not just atkbd-related. >> >> Me too.. (on i386) > > is your usb controller uhci(4), ohci(4) or ehci(4)? > > thanks, > max I think UHCI, but could be EHCI.. You can look at a verbose dmesg here: http://www.googlebit.com/freebsd/200606262115/ Thanks - let me know if there is anything else I can provide.. Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 04:32:42 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 993DD16A4D4 for ; Tue, 27 Jun 2006 04:32:42 +0000 (UTC) (envelope-from dave@dogwood.com) Received: from ms-smtp-03.socal.rr.com (ms-smtp-03.socal.rr.com [66.75.162.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2E01444A0 for ; Tue, 27 Jun 2006 04:13:58 +0000 (GMT) (envelope-from dave@dogwood.com) Received: from white.dogwood.com (white.dogwood.com [66.91.140.178]) by ms-smtp-03.socal.rr.com (8.13.6/8.13.6) with ESMTP id k5R4Dvsr014099 for ; Mon, 26 Jun 2006 21:13:58 -0700 (PDT) Received: from white.dogwood.com (localhost.dogwood.com [127.0.0.1]) by white.dogwood.com (8.13.4/8.13.4) with ESMTP id k5R4DsOg064048 for ; Mon, 26 Jun 2006 18:13:54 -1000 (HST) (envelope-from dave@white.dogwood.com) Received: (from dave@localhost) by white.dogwood.com (8.13.4/8.13.1/Submit) id k5R4DsIv064047 for freebsd-current@freebsd.org; Mon, 26 Jun 2006 18:13:54 -1000 (HST) (envelope-from dave) From: Dave Cornejo Message-Id: <200606270413.k5R4DsIv064047@white.dogwood.com> To: freebsd-current@freebsd.org Date: Mon, 26 Jun 2006 18:13:54 -1000 (HST) X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (white.dogwood.com [127.0.0.1]); Mon, 26 Jun 2006 18:13:54 -1000 (HST) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Mailman-Approved-At: Tue, 27 Jun 2006 05:08:58 +0000 Subject: multiple interfaces and hostapd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 04:32:42 -0000 Hi, I was hoping someone could tell me if hostapd can be made to work with two wireless interfaces, and if so how? I've take a stab at a couple of things, and reading the code for the configuration file it looks like it takes the last interface statement in hostapd.conf as the one interface it supports. Can you run two instances? thanks, dave c From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 09:42:45 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D67C516A407; Tue, 27 Jun 2006 09:42:45 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DC643D69; Tue, 27 Jun 2006 09:42:44 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.183.95] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis), id 0ML29c-1FvA5i40T4-0003F1; Tue, 27 Jun 2006 11:42:43 +0200 From: Max Laier Organization: FreeBSD To: freebsd-hackers@freebsd.org Date: Tue, 27 Jun 2006 11:42:35 +0200 User-Agent: KMail/1.9.1 References: <200606252139.15862.max@love2party.net> In-Reply-To: <200606252139.15862.max@love2party.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart42660691.lkNVKz3v7n"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606271142.42396.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: freebsd-current@freebsd.org Subject: Re: Call for Status Reports: 07/07 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 09:42:46 -0000 --nextPart42660691.lkNVKz3v7n Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Seems I haven't been clear enough about how to submit reports. Please use = the=20 XML template or XML creator provided at:=20 http://www.freebsd.org/cgi/monthly.cgi=20 http://www.freebsd.org/news/status/report-sample.xml Thanks. On Sunday 25 June 2006 21:39, I wrote: > All, > > it's time for the Status Reports for the second quater of 2006. During t= he > last three month a lot of progress has been made. FreeBSD 6.1 and 5.5 are > released, a new round of Google's Summer of Code has been started, and a > very productive Developer Summit took place during BSDCan. On top of tha= t, > we are now running on Sun's new architecture and a lot of progress has be= en > made for the arm platform, making FreeBSD more viable in the embedded > market. > > We hope that all your projects made good progress as well and would like = to > hear about it. Please share your news and progress over the last three > month with us. Submission are due by 7 July, 2006. > > Once again, submissions are not limited to FreeBSD developers. We will > happily include non-code projects of any kind as long as it is FreeBSD > related. > > For previous reports and submission details, please see: > http://www.freebsd.org/news/status/ =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 --nextPart42660691.lkNVKz3v7n Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEoP2SXyyEoT62BG0RAvabAJsHgJVBHxm9Xs0df64LAWGiXxNu3QCfXbYj kFdbJqNgDVvW9AeaTOOB12g= =eDD3 -----END PGP SIGNATURE----- --nextPart42660691.lkNVKz3v7n-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 10:39:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13B0C16A401 for ; Tue, 27 Jun 2006 10:39:08 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F75043D45 for ; Tue, 27 Jun 2006 10:39:01 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k5RAcxIR038740 for ; Tue, 27 Jun 2006 14:38:59 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k5RAcxQF038739 for freebsd-current@freebsd.org; Tue, 27 Jun 2006 14:38:59 +0400 (MSD) (envelope-from yar) Date: Tue, 27 Jun 2006 14:38:58 +0400 From: Yar Tikhiy To: freebsd-current@freebsd.org Message-ID: <20060627103858.GD36941@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: Logging to serial console broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 10:39:08 -0000 Hi all, For quite a while syslogd has been failing to log messages to a serial console on my CURRENT system. Sometimes the date/time part of a message appears only, sometimes the first letter of the month only, but mostly nothing appears on the console, albeit logging to /var/log/messages is OK. I had used to blame my console null-modem cable until I tried to restart syslogd. It began to log to the console OK when restarted. Can the serial console be in a special state confusing syslogd during the boot sequence? According to fstat, /dev/console isn't opened by syslogd until restarted, but syslogd complains of no errors at the boot time even if put in debug mode. Moreover, it tells in its debug output it's logging to the console: %logger -p user.err test_message %tail syslog.out logmsg: pri 13, flags 0, from dg, msg Jun 27 14:23:06 yar: test_message Logging to CONSOLE /dev/console Logging to FILE /var/log/messages logmsg: pri 166, flags 17, from dg, msg Jun 27 14:23:06 dg yar: test_message No such problem seen on the vty console. Did anybody see anything similar? -- Yar From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 10:47:34 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DFBD16A409 for ; Tue, 27 Jun 2006 10:47:34 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EDF843D68 for ; Tue, 27 Jun 2006 10:47:25 +0000 (GMT) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id k5RAlM3F023083; Tue, 27 Jun 2006 06:47:24 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id k5RAlLhP023064; Tue, 27 Jun 2006 06:47:21 -0400 (EDT) Date: Tue, 27 Jun 2006 06:47:21 -0400 From: Thomas Dickey To: "Matthew D. Fuller" Message-ID: <20060627104721.GA21299@saltmine.radix.net> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> <20060627005305.GE8825@linwhf.opal.com> <20060627005849.GA3672@saltmine.radix.net> <20060627012109.GK74292@over-yonder.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <20060627012109.GK74292@over-yonder.net> User-Agent: Mutt/1.3.27i Cc: freebsd-current@freebsd.org, "J.R. Oldroyd" Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 10:47:34 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 26, 2006 at 08:21:09PM -0500, Matthew D. Fuller wrote: > On Mon, Jun 26, 2006 at 08:58:49PM -0400 I heard the voice of > Thomas Dickey, and lo! it spake thus: > > xterm also has optional width-tables which may be helpful: >=20 > Is this something we should look at (given the above), or is it more a > workaround for the problem that patch solves? I think the latter - my understanding of the patch is that it applies to system tables that xterm would generally use. At runtime, xterm does a quick check comparing its builtin tables to the system, and defaults to the system tables if they're "close" (allows for the assumption that the system tables might be more accurate). If the given resource is set, xterm just uses its own tables. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --5vNYLRcllDrimb99 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iD8DBQFEoQyutIqByHxlDocRAklYAJ4gV5+WG5H2B4spP9MNRWX9sTYtfQCfYHTH Mwqu+Z5+moTcDxFter93uTY= =1no/ -----END PGP SIGNATURE----- --5vNYLRcllDrimb99-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 11:13:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D22316A401 for ; Tue, 27 Jun 2006 11:13:25 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B315A43D5C for ; Tue, 27 Jun 2006 11:13:14 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D3DA.dip.t-dialin.net [84.165.211.218]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5RB6qe9012420; Tue, 27 Jun 2006 13:06:52 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5RBDELN013066; Tue, 27 Jun 2006 13:13:14 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 27 Jun 2006 13:13:13 +0200 Message-ID: <20060627131313.2lvy38lg08kwo008@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 27 Jun 2006 13:13:13 +0200 From: Alexander Leidinger To: "J.R. Oldroyd" References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626160245.GM48766@linwhf.opal.com> In-Reply-To: <20060626160245.GM48766@linwhf.opal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 11:13:25 -0000 Quoting "J.R. Oldroyd" (from Mon, 26 Jun 2006 12:02:45 -0400= ): > Is it time to consider making the utf-8 encoding the default character > encoding in FreeBSD? > > Most other OSs have moved to utf-8 over the last few years. We > remain somewhat behind in this respect, which is odd, considering > the wide international participation in the FreeBSD community. > > It's not much work to do this. The notes in the link I posted > and the earlier message which started this thread suggest where > work still needs to be done: > > =09- ncurses in the base system will need updating to a > =09 current version with wide-character support > > =09- we may need to update the base fonts so that more > =09 iso10646 ones have more complete character support If there's not a BSD licensed replacement with at least the same =20 quality, this may be the hardest part. > =09- some work will need to be done to fix wide-character > =09 related bugs in a few utilities, e.g., nvi > > =09- utf-8 will have to be made the default character > =09 encoding in startup scripts for the various utilities > =09 and ports that are affected Why? The start scripts are written in english and I doubt we will =20 start to use translated ones. So all they use is/should be 7-bit =20 clean. Wy do we need to make UTF-8 the default for them? If someone =20 wants to use UTF-8, he can set the locale accordingly, but for the =20 rest of the system I don't see a point in switching. Bye, Alexander. --=20 Sometimes I live in the country, And sometimes I live in town. And sometimes I have a great notion, To jump in the river and drown. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 11:13:46 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BE19C16A40F; Tue, 27 Jun 2006 11:13:46 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C5C843D62; Tue, 27 Jun 2006 11:13:42 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k5RBDa0d039813; Tue, 27 Jun 2006 15:13:37 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k5RBDZZa039811; Tue, 27 Jun 2006 15:13:36 +0400 (MSD) (envelope-from yar) Date: Tue, 27 Jun 2006 15:13:35 +0400 From: Yar Tikhiy To: Denis Shaposhnikov Message-ID: <20060627111334.GE36941@comp.chem.msu.su> References: <87fyhwf6z0.fsf@neva.vlink.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87fyhwf6z0.fsf@neva.vlink.ru> User-Agent: Mutt/1.5.9i Cc: freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 11:13:46 -0000 On Fri, Jun 23, 2006 at 03:26:43PM +0400, Denis Shaposhnikov wrote: > Hi! > > I've got a kernel panic on yesterday's current: > > # ifconfig carp3 vhid 3 advskew 100 pass XXXXXXXX 10.10.8.7/26 > > Fatal trap 12: page fault while in kernel mode > cpuid = 1; apic id = 06 > fault virtual address = 0x0 > fault code = supervisor write, page not present > instruction pointer = 0x20:0xc0546fb3 > stack pointer = 0x28:0xe4b38ae8 > cframe pointer = 0x28:0xe4b38b14 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 53 (ifconfig) > trap number = 12 > panic: page fault > cpuid = 1 > arp_input: packet received on non-carp interface: lan0 > carp_input: packet received on non-carp interface: lan0 > carp_input: packet received on non-carp interface: lan0 > Uptime: 2m52s > Cannot dump. No dump device defined. > Automatic reboot in 15 seconds - press a key on the console to abort Acknowledged. Let's notify Gleb Smirnoff about this; adding him to Cc:. More info on the panic attached. -- Yar Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc054733a stack pointer = 0x28:0xc76fdad4 frame pointer = 0x28:0xc76fdb04 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 39 (ifconfig) panic: from debugger Uptime: 6s Physical memory: 121 MB Dumping 13 MB: #0 doadump () at pcpu.h:166 166 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt full #0 doadump () at pcpu.h:166 No locals. #1 0xc04c8454 in boot (howto=260) at ../../../kern/kern_shutdown.c:409 first_buf_printf = 1 #2 0xc04c86ff in panic (fmt=0xc060d52b "from debugger") at ../../../kern/kern_shutdown.c:565 td = (struct thread *) 0xc1165780 bootopt = 260 newpanic = 1 ap = 0xc76fd88c "<ÙoÇl£EÀ:sTÀ" buf = "from debugger", '\0' #3 0xc045a3d5 in db_panic (addr=-1068207302, have_addr=0, count=-1, modif=0xc76fd8b0 "") at ../../../ddb/db_command.c:426 No locals. #4 0xc045a36c in db_command (last_cmdp=0xc066a824, cmd_table=0x0) at ../../../ddb/db_command.c:395 cmd = (struct command *) 0xc0602f80 t = 0 modif = "\000ØoÇÄØoÇ\211\a\000\000\211\a\000\000Ï\a\000\000\000\000\000\000\000ÈmÀ\r\000\000\000\000ÈmÀ\000ÈmÀ\r\000\000\000\001\000\000\000\000ÙoÇ\v­]À\000ÙoÇ$­]À@\227lÀÀ\233kÀx\000\000\000 ±fÀ\f\000\000\000 ÙoÇüÃEÀ¬\221aÀÔÀEÀ\f\000\000\000 ±fÀ\206¸EÀ ±fÀ`¨fÀ" addr = -1068207302 count = -1 have_addr = 0 result = 0 #5 0xc045a42a in db_command_loop () at ../../../ddb/db_command.c:446 No locals. #6 0xc045c041 in db_trap (type=12, code=0) at ../../../ddb/db_main.c:221 jb = {{_jb = {-948971168, -948971188, -948971116, -948970860, 12, -1069170726, 12, -948971092, -1068608069, -1067229443, -1068607936, -948971112}}} prev_jb = (void *) 0x0 bkpt = 0 #7 0xc04e3b59 in kdb_trap (type=12, code=0, tf=0x0) at ../../../kern/subr_kdb.c:502 handled = 0 #8 0xc05f55d1 in trap_fatal (frame=0xc76fda94, eva=0) at ../../../i386/i386/trap.c:860 code = 2 type = 12 ss = 40 esp = 0 softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 3, ssd_def32 = 1, ssd_gran = 1} msg = 0x0 #9 0xc05f5333 in trap_pfault (frame=0xc76fda94, usermode=0, eva=0) at ../../../i386/i386/trap.c:778 va = 0 vm = (struct vmspace *) 0x0 map = 0xc1167a28 rv = 1 ftype = 1 '\001' td = (struct thread *) 0xc1165780 p = (struct proc *) 0xc1293000 #10 0xc05f4f51 in trap (frame= {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1055540224, tf_esi = -1054194432, tf_ebp = -948970748, tf_isp = -948970816, tf_ebx = -1054273536, tf_edx = 0, tf_ecx = -1055540212, tf_eax = -1053789472, tf_trapno = 12, tf_err = 0, tf_eip = -1068207302, tf_cs = 32, tf_eflags = 66118, tf_esp = -948970764, tf_ss = -1054273536}) at ../../../i386/i386/trap.c:463 td = (struct thread *) 0xc1165780 p = (struct proc *) 0xc1293000 i = 0 ucode = 0 type = 12 code = 2 addr = -948970932 eva = 0 ksi = {ksi_link = {tqe_next = 0xc061cf41, tqe_prev = 0x6b5}, ksi_info = {si_signo = -1066976812, si_errno = 0, si_code = -1067331775, si_pid = 1714, si_uid = 3228277308, si_status = -948970900, si_addr = 0xc04ef542, si_value = { sival_int = -1066689992, sival_ptr = 0xc06b9a38}, _reason = {_fault = {_trapno = 582}, _timer = {_timerid = 582, _overrun = -1067153852}, _mesgq = {_mqd = 582}, _poll = {_band = 582}, __spare__ = {__spare1__ = 582, __spare2__ = { -1067153852, -1066684056, 1016, -1067298956, -948970864, -1068760600, -1066684056}}}}, ksi_flags = 1, ksi_sigq = 0xc061821a} #11 0xc05e5f1a in calltrap () at ../../../i386/i386/exception.s:138 No locals. #12 0xc054733a in carp_set_addr (sc=0xc115bc00, sin=0x0) at ../../../netinet/ip_carp.c:1439 ifp = (struct ifnet *) 0xc1291000 cif = (struct carp_if *) 0x6b5 ia = (struct in_ifaddr *) 0xc12a4500 ia_if = (struct in_ifaddr *) 0xc1291000 imo = (struct ip_moptions *) 0xc115bc0c addr = {s_addr = 301990112} iaddr = 3239427084 own = 0 error = -1066976812 #13 0xc0547e08 in carp_ioctl (ifp=0xc13072e0, cmd=0, addr=0xc12b4400 "¸D+ÁÈD+ÁØD+Á") at ../../../netinet/ip_carp.c:1770 sc = (struct carp_softc *) 0xc115bc00 vr = (struct carp_softc *) 0x0 carpr = {carpr_state = 582, carpr_vhid = -1066976812, carpr_advskew = -948970688, carpr_advbase = -1068760204, carpr_key = "\b×gÀdÛoÇî÷NÀÔ9gÀ\000\000\000"} ifa = (struct ifaddr *) 0xc12b4400 ifr = (struct ifreq *) 0xc12b4400 ifra = (struct ifaliasreq *) 0xc12b4400 locked = 0 error = 0 #14 0xc05447b9 in in_ifinit (ifp=0xc121d000, ia=0xc12b4400, sin=0xc115bc0c, scrub=0) at ../../../netinet/in.c:708 i = 168430180 oldaddr = {sin_len = 0 '\0', sin_family = 0 '\0', sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"} flags = 1 error = -1054129028 #15 0xc0543c56 in in_control (so=0xc1308a60, cmd=1, data=0xc1305900 "carp3", ifp=0xc121d000, td=0xc1165780) at ../../../netinet/in.c:439 ifr = (struct ifreq *) 0xc1305900 ia = (struct in_ifaddr *) 0xc12b4400 iap = (struct in_ifaddr *) 0x0 ifa = (struct ifaddr *) 0x0 dst = {s_addr = 1678379530} ifra = (struct in_aliasreq *) 0xc1305900 oldaddr = {sin_len = 0 '\0', sin_family = 208 'Ð', sin_port = 49441, sin_addr = {s_addr = 3241171200}, sin_zero = "\000Y0Á\bÜoÇ"} error = 0 hostIsNew = 1 iaIsNew = 1 maskIsNew = 0 #16 0xc0537d30 in ifioctl (so=0xc1308a60, cmd=2151704858, data=0xc1305900 "carp3", td=0xc1165780) at ../../../net/if.c:1777 ifp = (struct ifnet *) 0xc121d000 ifr = (struct ifreq *) 0xc121d000 error = -3 oif_flags = 8 #17 0xc04f6147 in soo_ioctl (fp=0xc13072e0, cmd=2151704858, data=0xc1305900, active_cred=0xc115dd00, td=0xc1165780) at ../../../kern/sys_socket.c:214 so = (struct socket *) 0xc1308a60 error = 0 #18 0xc04f0e10 in ioctl (td=0xc1165780, uap=0xc76fdd04) at file.h:265 fp = (struct file *) 0xc12be558 fdp = (struct filedesc *) 0x0 com = 2151704858 error = 0 size = 64 data = 0xc1305900 "carp3" memp = 0xc1305900 "carp3" tmp = 49 #19 0xc05f58ee in syscall (frame= {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134571648, tf_esi = 134580800, tf_ebp = -1077940760, tf_isp = -948970140, tf_ebx = -2143262438, tf_edx = 134583582, tf_ecx = 134571648, tf_eax = 54, tf_trapno = 0, tf_err = 2, tf_eip = 672494519, tf_cs = 51, tf_eflags = 646, tf_esp = -1077942884, tf_ss = 59}) at ../../../i386/i386/trap.c:1015 params = 0xbfbfe5a0
callp = (struct sysent *) 0xc0643e48 td = (struct thread *) 0xc1165780 p = (struct proc *) 0xc1293000 orig_tf_eflags = 646 error = 0 narg = 3 args = {3, -2143262438, 134580800, -948970196, -1067483570, -1067038688, -948970184, 671596824} code = 54 ksi = {ksi_link = {tqe_next = 0xc0664820, tqe_prev = 0xc115dc80}, ksi_info = {si_signo = -1055500416, si_errno = -948970292, si_code = 70, si_pid = -1066543480, si_uid = 3239466880, si_status = -1067038688, si_addr = 0xc115dc80, si_value = {sival_int = -948970252, sival_ptr = 0xc76fdcf4}, _reason = {_fault = { _trapno = -1068644505}, _timer = {_timerid = -1068644505, _overrun = -1066998992}, _mesgq = {_mqd = -1068644505}, _poll = {_band = -1068644505}, __spare__ = {__spare1__ = -1068644505, __spare2__ = {-1066998992, 2, -1067341680, 625, 0, -948970224, -1067539996}}}}, ksi_flags = 0, ksi_sigq = 0xc1165780} #20 0xc05e5f6f in Xint0x80_syscall () at ../../../i386/i386/exception.s:191 No locals. #21 0x00000033 in ?? () No symbol table info available. Previous frame inner to this frame (corrupt stack?) (kgdb) frame 12 #12 0xc054733a in carp_set_addr (sc=0xc115bc00, sin=0x0) at ../../../netinet/ip_carp.c:1439 1439 if ((imo->imo_membership[0] = in_addmulti(&addr, ifp)) == NULL) %%% END %%% From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 11:55:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5FF5416A405; Tue, 27 Jun 2006 11:55:51 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA38B43D58; Tue, 27 Jun 2006 11:55:49 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k5RBtcS9044420; Tue, 27 Jun 2006 15:55:38 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Tue, 27 Jun 2006 15:55:38 +0400 (MSD) From: Maxim Konovalov To: Yar Tikhiy In-Reply-To: <20060627111334.GE36941@comp.chem.msu.su> Message-ID: <20060627155452.B87634@mp2.macomnet.net> References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Denis Shaposhnikov , freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 11:55:51 -0000 On Tue, 27 Jun 2006, 15:13+0400, Yar Tikhiy wrote: > On Fri, Jun 23, 2006 at 03:26:43PM +0400, Denis Shaposhnikov wrote: > > Hi! > > > > I've got a kernel panic on yesterday's current: > > > > # ifconfig carp3 vhid 3 advskew 100 pass XXXXXXXX 10.10.8.7/26 > > > > Fatal trap 12: page fault while in kernel mode > > cpuid = 1; apic id = 06 > > fault virtual address = 0x0 > > fault code = supervisor write, page not present > > instruction pointer = 0x20:0xc0546fb3 > > stack pointer = 0x28:0xe4b38ae8 > > cframe pointer = 0x28:0xe4b38b14 > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, def32 1, gran 1 > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 53 (ifconfig) > > trap number = 12 > > panic: page fault > > cpuid = 1 > > arp_input: packet received on non-carp interface: lan0 > > carp_input: packet received on non-carp interface: lan0 > > carp_input: packet received on non-carp interface: lan0 > > Uptime: 2m52s > > Cannot dump. No dump device defined. > > Automatic reboot in 15 seconds - press a key on the console to abort > > Acknowledged. Let's notify Gleb Smirnoff about this; adding him to Cc:. > > More info on the panic attached. See my email to cvs-all. -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 12:16:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 874EE16A400; Tue, 27 Jun 2006 12:16:11 +0000 (UTC) (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 58AA643D64; Tue, 27 Jun 2006 12:16:01 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.183.95] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1FvCTX1Gmv-0005By; Tue, 27 Jun 2006 14:15:32 +0200 From: Max Laier Organization: FreeBSD To: freebsd-current@freebsd.org Date: Tue, 27 Jun 2006 14:15:17 +0200 User-Agent: KMail/1.9.1 References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> <20060627155452.B87634@mp2.macomnet.net> In-Reply-To: <20060627155452.B87634@mp2.macomnet.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart10777043.kqXVjQPqU8"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606271415.26559.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Denis Shaposhnikov , Yar Tikhiy , Gleb Smirnoff , bms@freebsd.org Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 12:16:11 -0000 --nextPart10777043.kqXVjQPqU8 Content-Type: multipart/mixed; boundary="Boundary-01=_aFSoE5GjQtl/nzU" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_aFSoE5GjQtl/nzU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 27 June 2006 13:55, Maxim Konovalov wrote: > On Tue, 27 Jun 2006, 15:13+0400, Yar Tikhiy wrote: > > On Fri, Jun 23, 2006 at 03:26:43PM +0400, Denis Shaposhnikov wrote: > > > Hi! > > > > > > I've got a kernel panic on yesterday's current: > > > > > > # ifconfig carp3 vhid 3 advskew 100 pass XXXXXXXX 10.10.8.7/26 > > > > > > Fatal trap 12: page fault while in kernel mode > > > cpuid =3D 1; apic id =3D 06 > > > fault virtual address =3D 0x0 =2E.. > See my email to cvs-all. Please try the attached patch and let me know if that fixes things for you. =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 --Boundary-01=_aFSoE5GjQtl/nzU Content-Type: text/x-diff; charset="iso-8859-1"; name="ip_carp.imo.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ip_carp.imo.diff" Index: ip_carp.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/store/mlaier/fcvs/src/sys/netinet/ip_carp.c,v retrieving revision 1.40 diff -u -r1.40 ip_carp.c =2D-- ip_carp.c 2 Jun 2006 19:59:33 -0000 1.40 +++ ip_carp.c 27 Jun 2006 12:11:41 -0000 @@ -375,6 +375,10 @@ #ifdef INET6 sc->sc_im6o.im6o_multicast_hlim =3D CARP_DFLTTL; #endif + sc->sc_imo.imo_membership =3D (struct in_multi **)malloc( + (sizeof(struct in_multi *) * IP_MIN_MEMBERSHIPS), M_CARP, + M_WAITOK); + sc->sc_imo.imo_max_memberships =3D IP_MIN_MEMBERSHIPS; =20 callout_init(&sc->sc_ad_tmo, NET_CALLOUT_MPSAFE); callout_init(&sc->sc_md_tmo, NET_CALLOUT_MPSAFE); @@ -415,6 +419,7 @@ bpfdetach(ifp); if_detach(ifp); if_free_type(ifp, IFT_ETHER); + free(sc->sc_imo.imo_membership, M_CARP); free(sc, M_CARP); } =20 --Boundary-01=_aFSoE5GjQtl/nzU-- --nextPart10777043.kqXVjQPqU8 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEoSFeXyyEoT62BG0RAgM/AJ9HrEeqBpwyE8uxbWuF/QuxobFqxQCfR8PX 1gCWpvkz86uOle91ewOXX+I= =0n0O -----END PGP SIGNATURE----- --nextPart10777043.kqXVjQPqU8-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 12:26:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44E2316A404; Tue, 27 Jun 2006 12:26:22 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DFA843D73; Tue, 27 Jun 2006 12:26:19 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k5RCQ3c6045373; Tue, 27 Jun 2006 16:26:04 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Tue, 27 Jun 2006 16:26:03 +0400 (MSD) From: Maxim Konovalov To: Max Laier In-Reply-To: <200606271415.26559.max@love2party.net> Message-ID: <20060627162331.K87634@mp2.macomnet.net> References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> <20060627155452.B87634@mp2.macomnet.net> <200606271415.26559.max@love2party.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Denis Shaposhnikov , Yar Tikhiy , freebsd-current@freebsd.org, bms@freebsd.org, Gleb Smirnoff Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 12:26:22 -0000 On Tue, 27 Jun 2006, 14:15+0200, Max Laier wrote: > On Tuesday 27 June 2006 13:55, Maxim Konovalov wrote: > > On Tue, 27 Jun 2006, 15:13+0400, Yar Tikhiy wrote: > > > On Fri, Jun 23, 2006 at 03:26:43PM +0400, Denis Shaposhnikov wrote: > > > > Hi! > > > > > > > > I've got a kernel panic on yesterday's current: > > > > > > > > # ifconfig carp3 vhid 3 advskew 100 pass XXXXXXXX 10.10.8.7/26 > > > > > > > > Fatal trap 12: page fault while in kernel mode > > > > cpuid = 1; apic id = 06 > > > > fault virtual address = 0x0 > ... > > See my email to cvs-all. > > Please try the attached patch and let me know if that fixes things > for you. A test script just works. To be honest I am not a carp(4) user, just help Denis to debug the problem so I leave a real testing to real users :-) Not sure M_CARP is correct malloc type but it seems we don't have many options here. Thanks, Max! -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 12:33:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA1016A40A for ; Tue, 27 Jun 2006 12:33:02 +0000 (UTC) (envelope-from frank@pinky.sax.de) Received: from pinky.frank-behrens.de (pinky.frank-behrens.de [82.139.199.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F9BA43D5A for ; Tue, 27 Jun 2006 12:32:55 +0000 (GMT) (envelope-from frank@pinky.sax.de) Received: from [192.168.20.32] (sun.behrens [192.168.20.32]) by pinky.frank-behrens.de (8.13.6/8.13.4) with ESMTP id k5RCWqV4042089 for ; Tue, 27 Jun 2006 14:32:52 +0200 (CEST) (envelope-from frank@pinky.sax.de) Message-Id: <200606271232.k5RCWqV4042089@pinky.frank-behrens.de> From: "Frank Behrens" To: freebsd-current@freebsd.org Date: Tue, 27 Jun 2006 14:32:46 +0200 MIME-Version: 1.0 Priority: normal X-mailer: Pegasus Mail for Windows (4.31, DE v4.31 R1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: sio(4) should on probe return BUS_PROBE_GENERIC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 12:33:02 -0000 Dear FreeBSD experts and committers, I would like to direct your attention to a PR again, because I believe between 6.1 and 6.2 release you have time to read this mail ;-) I plan to public release my EIB driver as a port, but it does not run yet on an unpatched system. So solve this problem I created a PR several months ago: http://www.freebsd.org/cgi/query-pr.cgi?pr=87845 Discussion about the topic was already in http://docs.freebsd.org/cgi/mid.cgi?200510210835.j9L8Zn2P001846 http://docs.freebsd.org/cgi/mid.cgi?20051022.103242.98606517.imp and referenced messages, but nothing was changed in sio driver. Now I ask for information: Is it possible to commit this changes? I have been using this patch on RELENG_6 since Aug- 2005 without problems. I would like to have this (or equivalent) patch commited in CURRENT and MFCed to RELENG_6 before 6.2-release. If there are objections against this patch how should I solve my problem? Regards, Frank -- Frank Behrens, Osterwieck, Germany PGP-key 0x5B7C47ED on public servers available. From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 12:34:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3779316A413; Tue, 27 Jun 2006 12:34:15 +0000 (UTC) (envelope-from dsh@vlink.ru) Received: from vlink.ru (rigel.internal.vlink.ru [85.172.168.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id E993243D53; Tue, 27 Jun 2006 12:34:09 +0000 (GMT) (envelope-from dsh@vlink.ru) Received: from smtp.smtp.vlink.ru (clamav.smtp.vlink.ru [192.168.4.1]) by deliver.smtp.vlink.ru (Postfix) with ESMTP id DF533FED13E; Tue, 27 Jun 2006 16:34:08 +0400 (MSD) Received: from neva.vlink.ru (neva.vlink.ru [85.172.168.66]) by smtp.smtp.vlink.ru (Postfix) with ESMTP id B199410099BD; Tue, 27 Jun 2006 16:34:08 +0400 (MSD) Received: from neva.vlink.ru (localhost [127.0.0.1]) by neva.vlink.ru (8.13.6/8.13.6) with ESMTP id k5RCY9me001162; Tue, 27 Jun 2006 16:34:09 +0400 (MSD) (envelope-from dsh@vlink.ru) Received: (from dsh@localhost) by neva.vlink.ru (8.13.6/8.13.6/Submit) id k5RCY9OF001159; Tue, 27 Jun 2006 16:34:09 +0400 (MSD) (envelope-from dsh@vlink.ru) X-Comment-To: Max Laier To: Max Laier References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> <20060627155452.B87634@mp2.macomnet.net> <200606271415.26559.max@love2party.net> From: Denis Shaposhnikov Date: Tue, 27 Jun 2006 16:34:09 +0400 In-Reply-To: <200606271415.26559.max@love2party.net> (Max Laier's message of "Tue, 27 Jun 2006 14:15:17 +0200") Message-ID: <8764imsrpa.fsf@neva.vlink.ru> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: ClamAV using ClamSMTP Cc: Yar Tikhiy , freebsd-current@freebsd.org, bms@freebsd.org, Gleb Smirnoff Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 12:34:15 -0000 >>>>> "Max" == Max Laier writes: Max> Please try the attached patch and let me know if that fixes Max> things for you. Thank you! It seems that it fixes the panic. I've successfully done # ifconfig fxp0 inet 10.10.14.8/24 # ifconfig carp0 create # ifconfig carp0 vhid 1 pass 12345678 10.10.14.4/24 It reports that fxp0 is in promiscuous mode. I don't know is it OK? -- DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet xmpp:dsh@vlink.ru mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/ From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 12:47:14 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B60516A404; Tue, 27 Jun 2006 12:47:14 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35D7B43D73; Tue, 27 Jun 2006 12:47:11 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k5RCkpwi095683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 Jun 2006 16:46:52 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k5RCkpup095682; Tue, 27 Jun 2006 16:46:51 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 27 Jun 2006 16:46:51 +0400 From: Gleb Smirnoff To: Denis Shaposhnikov Message-ID: <20060627124651.GI86439@cell.sick.ru> References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> <20060627155452.B87634@mp2.macomnet.net> <200606271415.26559.max@love2party.net> <8764imsrpa.fsf@neva.vlink.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <8764imsrpa.fsf@neva.vlink.ru> User-Agent: Mutt/1.5.6i Cc: Max Laier , freebsd-current@FreeBSD.org, bms@FreeBSD.org, Yar Tikhiy Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 12:47:14 -0000 On Tue, Jun 27, 2006 at 04:34:09PM +0400, Denis Shaposhnikov wrote: D> >>>>> "Max" == Max Laier writes: D> D> Max> Please try the attached patch and let me know if that fixes D> Max> things for you. D> D> Thank you! It seems that it fixes the panic. I've successfully done D> D> # ifconfig fxp0 inet 10.10.14.8/24 D> # ifconfig carp0 create D> # ifconfig carp0 vhid 1 pass 12345678 10.10.14.4/24 D> D> It reports that fxp0 is in promiscuous mode. I don't know is it OK? This is OK for carp. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 13:10:00 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A49516A412; Tue, 27 Jun 2006 13:10:00 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A32E43D77; Tue, 27 Jun 2006 13:09:00 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k5RD8uAk041434; Tue, 27 Jun 2006 17:08:56 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k5RD8sIm041433; Tue, 27 Jun 2006 17:08:54 +0400 (MSD) (envelope-from yar) Date: Tue, 27 Jun 2006 17:08:53 +0400 From: Yar Tikhiy To: Gleb Smirnoff Message-ID: <20060627130853.GA40621@comp.chem.msu.su> References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> <20060627155452.B87634@mp2.macomnet.net> <200606271415.26559.max@love2party.net> <8764imsrpa.fsf@neva.vlink.ru> <20060627124651.GI86439@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060627124651.GI86439@cell.sick.ru> User-Agent: Mutt/1.5.9i Cc: Denis Shaposhnikov , Max Laier , freebsd-current@FreeBSD.org, bms@FreeBSD.org Subject: Re: carp kernel trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 13:10:00 -0000 On Tue, Jun 27, 2006 at 04:46:51PM +0400, Gleb Smirnoff wrote: > On Tue, Jun 27, 2006 at 04:34:09PM +0400, Denis Shaposhnikov wrote: > D> >>>>> "Max" == Max Laier writes: > D> > D> Max> Please try the attached patch and let me know if that fixes > D> Max> things for you. > D> > D> Thank you! It seems that it fixes the panic. I've successfully done > D> > D> # ifconfig fxp0 inet 10.10.14.8/24 > D> # ifconfig carp0 create > D> # ifconfig carp0 vhid 1 pass 12345678 10.10.14.4/24 > D> > D> It reports that fxp0 is in promiscuous mode. I don't know is it OK? > > This is OK for carp. ...but a possible to-do item is to program the reception filter in smart NICs so that they receive frames destined to the CARP unicast address(es) without having to go completely promiscuous. -- Yar From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 13:18:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6115916A4C4; Tue, 27 Jun 2006 13:18:09 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id B706543DB2; Tue, 27 Jun 2006 13:17:36 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k5RDHGj6046449; Tue, 27 Jun 2006 17:17:16 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Tue, 27 Jun 2006 17:17:15 +0400 (MSD) From: Maxim Konovalov To: Yar Tikhiy In-Reply-To: <20060627111334.GE36941@comp.chem.msu.su> Message-ID: <20060627171415.V87634@mp2.macomnet.net> References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Denis Shaposhnikov , freebsd-current@freebsd.org, Gleb Smirnoff Subject: broken stack trace (Was: carp kernel trap) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 13:18:09 -0000 Btw, Yar, while working on this panic I noticed the trace is not correct. gdb shows sin=0x0 but oviously it is not. Any ideas why? > #12 0xc054733a in carp_set_addr (sc=0xc115bc00, sin=0x0) at ../../../netinet/ip_carp.c:1439 > ifp = (struct ifnet *) 0xc1291000 > cif = (struct carp_if *) 0x6b5 > ia = (struct in_ifaddr *) 0xc12a4500 > ia_if = (struct in_ifaddr *) 0xc1291000 > imo = (struct ip_moptions *) 0xc115bc0c > addr = {s_addr = 301990112} > iaddr = 3239427084 > own = 0 > error = -1066976812 -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 13:34:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14D0816A406; Tue, 27 Jun 2006 13:34:51 +0000 (UTC) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60E1B43D72; Tue, 27 Jun 2006 13:34:48 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.4/8.13.3) with ESMTP id k5RDYkMx041748; Tue, 27 Jun 2006 17:34:47 +0400 (MSD) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.4/8.13.3/Submit) id k5RDYkaI041747; Tue, 27 Jun 2006 17:34:46 +0400 (MSD) (envelope-from yar) Date: Tue, 27 Jun 2006 17:34:46 +0400 From: Yar Tikhiy To: Maxim Konovalov Message-ID: <20060627133446.GB40621@comp.chem.msu.su> References: <87fyhwf6z0.fsf@neva.vlink.ru> <20060627111334.GE36941@comp.chem.msu.su> <20060627171415.V87634@mp2.macomnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060627171415.V87634@mp2.macomnet.net> User-Agent: Mutt/1.5.9i Cc: Denis Shaposhnikov , freebsd-current@freebsd.org, Gleb Smirnoff Subject: Re: broken stack trace (Was: carp kernel trap) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 13:34:51 -0000 On Tue, Jun 27, 2006 at 05:17:15PM +0400, Maxim Konovalov wrote: > Btw, Yar, while working on this panic I noticed the trace is not > correct. gdb shows sin=0x0 but oviously it is not. Any ideas why? > > > #12 0xc054733a in carp_set_addr (sc=0xc115bc00, sin=0x0) at ../../../netinet/ip_carp.c:1439 > > ifp = (struct ifnet *) 0xc1291000 > > cif = (struct carp_if *) 0x6b5 > > ia = (struct in_ifaddr *) 0xc12a4500 > > ia_if = (struct in_ifaddr *) 0xc1291000 > > imo = (struct ip_moptions *) 0xc115bc0c > > addr = {s_addr = 301990112} > > iaddr = 3239427084 > > own = 0 > > error = -1066976812 It must be fallout from optimization by gcc. Alas, absolutely reliable debugging of function arguments and automatic variables is possible only after -O0 was specified explicitly to gcc, according to my experience with gcc and gdb. -- Yar From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 14:14:54 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6BC616A415 for ; Tue, 27 Jun 2006 14:14:54 +0000 (UTC) (envelope-from anholt@FreeBSD.org) Received: from camus.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF8AD43D46 for ; Tue, 27 Jun 2006 14:14:52 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by camus.anholt.net (Postfix) with ESMTP id 072F138112A; Tue, 27 Jun 2006 07:14:51 -0700 (PDT) From: Eric Anholt To: Ted Faber In-Reply-To: <20060626202102.GA1148@hut.isi.edu> References: <20060626202102.GA1148@hut.isi.edu> Content-Type: text/plain Date: Tue, 27 Jun 2006 16:13:20 +0200 Message-Id: <1151417600.4923.8.camel@vonnegut> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: OOOPs sys/pci/agp_i810.c with wrong chiptypes. Patch attached. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 14:14:54 -0000 On Mon, 2006-06-26 at 13:21 -0700, Ted Faber wrote: > It looks like in the reorg of sys/pci/agp_i810.c a couple chips got the > wrong chiptype in the big table (including mine :-(). Those chips (oe > at least mine) did not properly initialize because of it. I've attached > a patch that fixes this for me - just swapping the chiptypes. > > The patch is relative to /sys. Sorry about that. Committed, plus a little fix for detecting if the device is disabled as well. Thanks! -- Eric Anholt anholt@FreeBSD.org eric@anholt.net eric.anholt@intel.com From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 14:29:44 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 044DD16A40E; Tue, 27 Jun 2006 14:29:44 +0000 (UTC) (envelope-from faber@ISI.EDU) Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id A319743D70; Tue, 27 Jun 2006 14:29:43 +0000 (GMT) (envelope-from faber@ISI.EDU) Received: from hut.isi.edu (hut.isi.edu [128.9.168.160]) by boreas.isi.edu (8.11.6p2+0917/8.11.2) with ESMTP id k5RESop00481; Tue, 27 Jun 2006 07:28:50 -0700 (PDT) Received: (from faber@localhost) by hut.isi.edu (8.13.7/8.13.7/Submit) id k5RESnnB066644; Tue, 27 Jun 2006 07:28:49 -0700 (PDT) (envelope-from faber) Date: Tue, 27 Jun 2006 07:28:49 -0700 From: Ted Faber To: Eric Anholt Message-ID: <20060627142849.GA66516@hut.isi.edu> References: <20060626202102.GA1148@hut.isi.edu> <1151417600.4923.8.camel@vonnegut> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LZvS9be/3tNcYl/X" Content-Disposition: inline In-Reply-To: <1151417600.4923.8.camel@vonnegut> User-Agent: Mutt/1.4.2.1i X-url: http://www.isi.edu/~faber X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: faber@hut.isi.edu Cc: freebsd-current@FreeBSD.org Subject: Re: OOOPs sys/pci/agp_i810.c with wrong chiptypes. Patch attached. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 14:29:44 -0000 --LZvS9be/3tNcYl/X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 27, 2006 at 04:13:20PM +0200, Eric Anholt wrote: > On Mon, 2006-06-26 at 13:21 -0700, Ted Faber wrote: > > It looks like in the reorg of sys/pci/agp_i810.c a couple chips got the > > wrong chiptype in the big table (including mine :-(). Those chips (oe > > at least mine) did not properly initialize because of it. I've attached > > a patch that fixes this for me - just swapping the chiptypes. > >=20 > > The patch is relative to /sys. >=20 > Sorry about that. Committed, plus a little fix for detecting if the > device is disabled as well. Thanks! My pleasure. Thanks for the speedy commit. --=20 Ted Faber http://www.isi.edu/~faber PGP: http://www.isi.edu/~faber/pubkeys.= asc Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#= SIG --LZvS9be/3tNcYl/X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEoUChaUz3f+Zf+XsRAtJNAJ96CyIVwnumN4XIfw2ApKijMCIlAACdHteX tNBLW7JIuWl0cT7IgFhT6r4= =a1hp -----END PGP SIGNATURE----- --LZvS9be/3tNcYl/X-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 14:47:18 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 730FE16A506; Tue, 27 Jun 2006 14:47:18 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.232.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7575E43D69; Tue, 27 Jun 2006 14:47:17 +0000 (GMT) (envelope-from daichi@freebsd.org) Received: from [192.168.1.101] (dullmdaler.ongs.co.jp [202.216.232.62]) by natial.ongs.co.jp (Postfix) with ESMTP id 45D66244C44; Tue, 27 Jun 2006 23:47:16 +0900 (JST) Message-ID: <44A144F1.1090909@freebsd.org> Date: Tue, 27 Jun 2006 23:47:13 +0900 From: Daichi GOTO User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, freebsd-fs@freebsd.org, rodrigc@crodrigues.org Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: daichi@freebsd.org, ozawa@ongs.co.jp Subject: [ANN] unionfs =?iso-2022-jp?b?cGF0Y2hzZXQtMRskQiM1GyhCIHJlbGVh?= =?iso-2022-jp?b?c2UsIGl0IGlzIHJlYWR5IGZvciB0aGUgbWVyZ2U=?= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 14:47:18 -0000 Hi Guys! It is my pleasure and honor to announce the availability of the unionfs patchset-15. The p15 is an important milestone. It is ready for the merge. Patchset-15: For 7-current http://people.freebsd.org/~daichi/unionfs/unionfs-p15.diff For 6.x http://people.freebsd.org/~daichi/unionfs/unionfs6-p15.diff Changes in unionfs-p15.diff - deleted -r option in limbo and updated ount_unionfs.8 - changed source code style and naming rules for fitting to FreeBSD kernel src style The documents of those unionfs patches: http://people.freebsd.org/~daichi/unionfs/ (English) http://people.freebsd.org/~daichi/unionfs/index-ja.html (Japanese) We think that patchset-15 is ready for the merge to FreeBSD base system. It has extensive trials, good stability and source code quality enough to get the merge. I'll commit it to FreeBSD base system after my mentor's check. Thanks HEADS UP: to Mr. Rodrigues (rodrigc) Please check the unionfs patchset-15. After your mention, I'll do the commit work :) -- Daichi GOTO, http://people.freebsd.org/~daichi From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 15:19:26 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D21516A400 for ; Tue, 27 Jun 2006 15:19:26 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5AE244695 for ; Tue, 27 Jun 2006 15:19:25 +0000 (GMT) (envelope-from minimarmot@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1586788uge for ; Tue, 27 Jun 2006 08:19:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jR5CINnr6Loa7JeTUB3N86s8BtREU8HZXr0qd2E/WjUyZhaT8TrWFTXlvVR0N904hzNQqNKZUKOiKOlK0CzQ4UdvK3Zwi8ftw3HUcZ39xpVxn6oIIzOkzDX0qdpfrmepHR/tWvvqUxGwIHEeH1iNDN4xrF2VpsdA1KOhtasIleM= Received: by 10.78.140.17 with SMTP id n17mr2550634hud; Tue, 27 Jun 2006 08:19:24 -0700 (PDT) Received: by 10.78.47.1 with HTTP; Tue, 27 Jun 2006 08:19:24 -0700 (PDT) Message-ID: <47d0403c0606270819g3767e60ckc3828bfcc1067fb2@mail.gmail.com> Date: Tue, 27 Jun 2006 10:19:24 -0500 From: "Ben Kaduk" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: kernel: 15.fd776bda402b4e72 too short X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 15:19:26 -0000 Hi all, I recently acquired an old (original) pentium box at 200 MHz, with 32 MB RAM and a 4 GB disk (garage sale, $1). Naturally, I installed FreeBSD, from a current snapshot, of 200606. Upon building a new kernel and rebooting, I see the messages: 15.fd776bda402b4e72 too short 15.fd774bb6af6d3572 too short My grep-fu is not good enough to find where in the code is producing this kernel message, so I was wondering if anyone knew off the top of their head what this means. The box is not yet on a network, so only exerpts of (verbose) dmesg are available at the moment. Thanks, Ben Kaduk From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 15:23:09 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5241C16A414; Tue, 27 Jun 2006 15:23:09 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFB544107; Tue, 27 Jun 2006 14:57:08 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 27 Jun 2006 10:57:07 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,182,1149480000"; d="scan'208"; a="39142474:sNHT19807578" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5REv6Y3056810; Tue, 27 Jun 2006 10:57:06 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 27 Jun 2006 10:57:06 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5REv6fj056809; Tue, 27 Jun 2006 10:57:06 -0400 (EDT) (envelope-from jr) Date: Tue, 27 Jun 2006 10:57:06 -0400 From: "J.R. Oldroyd" To: Andrey Chernov , freebsd-current@freebsd.org Message-ID: <20060627145706.GC45513@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626160245.GM48766@linwhf.opal.com> <20060626183217.GA22766@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V0207lvV8h4k8FAm" Content-Disposition: inline In-Reply-To: <20060626183217.GA22766@nagual.pp.ru> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 15:23:09 -0000 --V0207lvV8h4k8FAm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 26, 22:32, Andrey Chernov wrote: > On Mon, Jun 26, 2006 at 12:02:45PM -0400, J.R. Oldroyd wrote: > > Is it time to consider making the utf-8 encoding the default character > > encoding in FreeBSD? >=20 > Not right now. Collating is not implemented in all UTF-8 locales. >=20 How many of the locales don't have collation yet? A few? Many? All? I have to admit, that looking at my own setup, I do use: LC_CTYPE=3Den_US.UTF-8 LC_COLLATE=3DPOSIX which suggests this was a problem for me too (I don't remember for sure - it's been a while since I switched to UTF-8 and I don't recall now exactly why I needed this). I.e., is this an obstacle that only affects a few locales and therefore shouldn't be a show-stopper for everyone else, is it a problem with an easy work-around such as the above, or is this really a reason not to move ahead right now? -jr --V0207lvV8h4k8FAm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKFHQUkkqUax7f6FAQIkiwX/f9LMlo7KK1xk2MN2eSD8LCgmxviQUAZv OACabUL0WFGv616ajtwyw2aq0H1eYJjVRNIGfi2pl8aAU95at+6Asub9hV4sxSj7 SEE5P+e9VpRG1+0PIQuphgqAJ7geFt6BKmW2heT7w86w3qboz5/1Unzc61mWGLib uiviFG4x8CCps260PSSH5dQn3ZkTdk04qRlIktp1mWqk5uUX1IWTPXH9NscEksch RDGIebNGdNRPiQlpdXTdddCy6W1/B64G =G0pD -----END PGP SIGNATURE----- --V0207lvV8h4k8FAm-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 15:56:24 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 992DE16A51B for ; Tue, 27 Jun 2006 15:56:24 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C8C43DAB for ; Tue, 27 Jun 2006 15:22:49 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id B66221703F; Tue, 27 Jun 2006 15:22:48 +0000 (UTC) To: "Ben Kaduk" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 27 Jun 2006 10:19:24 EST." <47d0403c0606270819g3767e60ckc3828bfcc1067fb2@mail.gmail.com> Date: Tue, 27 Jun 2006 15:22:45 +0000 Message-ID: <61781.1151421765@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-current@freebsd.org Subject: Re: kernel: 15.fd776bda402b4e72 too short X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 15:56:24 -0000 In message <47d0403c0606270819g3767e60ckc3828bfcc1067fb2@mail.gmail.com>, "Ben Kaduk" writes: >Hi all, > >I recently acquired an old (original) pentium box at 200 MHz, with 32 >MB RAM and a 4 GB disk (garage sale, $1). Naturally, I installed >FreeBSD, from a current snapshot, of 200606. > >Upon building a new kernel and rebooting, I see the messages: >15.fd776bda402b4e72 too short >15.fd774bb6af6d3572 too short It's not important. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 16:45:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0376C16A4CB for ; Tue, 27 Jun 2006 16:45:58 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EEF644982 for ; Tue, 27 Jun 2006 15:40:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D3DA.dip.t-dialin.net [84.165.211.218]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k5RFYL2A013272; Tue, 27 Jun 2006 17:34:21 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k5RFejFt051755; Tue, 27 Jun 2006 17:40:45 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 27 Jun 2006 17:40:45 +0200 Message-ID: <20060627174045.7u0t8qv1cg4ggooc@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 27 Jun 2006 17:40:45 +0200 From: Alexander Leidinger To: "J.R. Oldroyd" References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626160245.GM48766@linwhf.opal.com> <20060627131313.2lvy38lg08kwo008@netchild.homeip.net> <20060627150913.GD45513@linwhf.opal.com> In-Reply-To: <20060627150913.GD45513@linwhf.opal.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-current@freebsd.org Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 16:45:58 -0000 Quoting "J.R. Oldroyd" (from Tue, 27 Jun 2006 11:09:13 -0400): > On Jun 27, 13:13, Alexander Leidinger wrote: >> > >> > - we may need to update the base fonts so that more >> > iso10646 ones have more complete character support >> >> If there's not a BSD licensed replacement with at least the same >> quality, this may be the hardest part. >> > I believe our 10646 fonts are those developed my Markus Kuhn at > Cambridge, UK and documented here: > http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html > I'm not sure if ours are up-to-date or not. So you are thinking about the fonts in X11? I thought you are talking about our console font. Bye, Alexander. -- The giraffe you thought you offended last week is willing to be nuzzled today. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 17:30:35 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46F9816A409 for ; Tue, 27 Jun 2006 17:30:35 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A7B3443D8 for ; Tue, 27 Jun 2006 17:30:34 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 27 Jun 2006 13:30:33 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,183,1149480000"; d="scan'208"; a="39178451:sNHT34260426" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5RHUWkF058291; Tue, 27 Jun 2006 13:30:32 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 27 Jun 2006 13:30:32 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5RHUWPN058290; Tue, 27 Jun 2006 13:30:32 -0400 (EDT) (envelope-from jr) Date: Tue, 27 Jun 2006 13:30:32 -0400 From: "J.R. Oldroyd" To: Alexander Leidinger Message-ID: <20060627173031.GI45513@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626160245.GM48766@linwhf.opal.com> <20060627131313.2lvy38lg08kwo008@netchild.homeip.net> <20060627150913.GD45513@linwhf.opal.com> <20060627174045.7u0t8qv1cg4ggooc@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sXc4Kmr5FA7axrvy" Content-Disposition: inline In-Reply-To: <20060627174045.7u0t8qv1cg4ggooc@netchild.homeip.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 17:30:35 -0000 --sXc4Kmr5FA7axrvy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 27, 17:40, Alexander Leidinger wrote: >=20 > So you are thinking about the fonts in X11? I thought you are talking =20 > about our console font. >=20 Well, I was thinking of the X11 ones. Yes, I realize they are loaded from a port of the x.org stuff, so it's x.org's responsibility to keep these current, and hopefully they are. But if we ever switch to utf-8 as a default charset, we should confirm they are up-to-date. Markus Kuhn is regularly adding=20 new characters to these fonts and I do not follow how fast x.org tracks these updates. Now you mention it, though, the console support also needs to be current. That's one area I/we never checked for utf-8 support here. You'll notice "to be completed" in the unicode.html notes in the console section. If anyone investigates this and discovers that something doesn't work by default and a config change needs documenting, feel free to email me and I'll add details to the unicode.html notes file. -jr --sXc4Kmr5FA7axrvy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKFrN0kkqUax7f6FAQK7eQX+JN5EcEuhONBnOd5wFODpuyuj8Ha72s2a jfjI2+2bPF597kt/11RE31c6yFfmYRzMxzdviaQeoOEpfUqfdsTe8tjrmocDZuxm YxtinrP80f+Ty6h7ZSgdiWgB8Y+GQ+EBDghSFNsbNS6V9NJPQT7T8d/5Pqr0NEkL JOPxF4nAaAPAWLepqD7SjXIxewWDh3OAzr24G3oHBwk2rqPm+Hmy1H2vLgVFDXkC zpg2LHLWMZccUzcPT6ItafQrtoxvLc07 =pJMt -----END PGP SIGNATURE----- --sXc4Kmr5FA7axrvy-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 18:07:18 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F148F16A414 for ; Tue, 27 Jun 2006 18:07:18 +0000 (UTC) (envelope-from wyt168@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CD4044A15 for ; Tue, 27 Jun 2006 18:07:16 +0000 (GMT) (envelope-from wyt168@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1676309uge for ; Tue, 27 Jun 2006 11:07:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=G+3ucJTkL4AtLxv8nW5Wa19fCNPN994jdd1/5A1s82sChZi72FwSk5/AOtHJCazmNlg9jOlnfZ8ezspKlOS7chgpom5YAb7HjVbIHdYdydfMbS/8bY56oPH/5FYuQvHlNMRm7VFu3xB4+6YBT8yhAXEG3M+sidcnQRANvnD5QMo= Received: by 10.78.185.7 with SMTP id i7mr2606129huf; Tue, 27 Jun 2006 11:07:15 -0700 (PDT) Received: by 10.78.67.4 with HTTP; Tue, 27 Jun 2006 11:07:15 -0700 (PDT) Message-ID: <3dcda0520606271107y2ebad874g2e481efaf3a70061@mail.gmail.com> Date: Tue, 27 Jun 2006 11:07:15 -0700 From: Winston To: freebsd-current@freebsd.org, freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mailman-Approved-At: Tue, 27 Jun 2006 18:11:09 +0000 Cc: Subject: Booting problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 18:07:19 -0000 I tried to boot via a serial console, so I modified/added the following config files: --------------------------- /boot/loader.conf: boot_multicons="YES" boot_serial="YES" console="comconsole" ------------------------------- /boot.config # wyt: added -Dh ------------------------------- Changed /etc/ttys: ttyd0 "/usr/libexec/getty std.9600" dialup off secure to ttyd0 "/usr/libexec/getty std.9600" xterm on secure However, I got the following messages while booting: /boot.config: # FreeBSD/i386 boot Default: 0:ad(0,a)boot boot: I think I prob. made a mistake by putting a line of comment "#wyt: added" at the beginning of /boot.conf and the boot loader doesn't like it. But if I specify /boot/kernel/kernel after the line boot: I got a bunch of reg dumps and finally: BTX halted The kernel was booting fine before I make the changes. I now have the chicken and egg problem: I need to get rid of the line of comment in boot.conf for it to boot, but I can't access it without booting into it. Any hint? WT From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 18:50:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 091D016A409 for ; Tue, 27 Jun 2006 18:50:04 +0000 (UTC) (envelope-from wyt168@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F31143E25 for ; Tue, 27 Jun 2006 18:50:00 +0000 (GMT) (envelope-from wyt168@gmail.com) Received: by ug-out-1314.google.com with SMTP id m3so1700929uge for ; Tue, 27 Jun 2006 11:49:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HwkuPnQhZA4INv/d11zNo45f9su2G5kwHseQB0ZjZaqessmBV0yo/YBdxwfsXJ7kxoQ7PcNzNpkLZz+ZJK2Vh4X9rmsU+F6TOpEi2qQbI3ju0Y6414UjT5UesTkTEzE7FikqUBqRLV4SAsUyS6Z++KwkV9E0uMdWxjJLlWTxNtY= Received: by 10.78.157.15 with SMTP id f15mr2628899hue; Tue, 27 Jun 2006 11:49:59 -0700 (PDT) Received: by 10.78.67.4 with HTTP; Tue, 27 Jun 2006 11:49:59 -0700 (PDT) Message-ID: <3dcda0520606271149x778e7f58i573911c1143ad8f0@mail.gmail.com> Date: Tue, 27 Jun 2006 11:49:59 -0700 From: Winston To: freebsd-questions@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Boot problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 18:50:05 -0000 I tried to boot via a serial console, so I modified/added the following config files: --------------------------- /boot/loader.conf: boot_multicons="YES" boot_serial="YES" console="comconsole" ------------------------------- /boot.config # wyt: added -Dh ------------------------------- Changed /etc/ttys: ttyd0 "/usr/libexec/getty std.9600" dialup off secure to ttyd0 "/usr/libexec/getty std.9600" xterm on secure However, I got the following messages while booting: /boot.config: # FreeBSD/i386 boot Default: 0:ad(0,a)boot boot: I think I prob. made a mistake by putting a line of comment "#wyt: added" at the beginning of /boot.conf and the boot loader doesn't like it. But if I specify /boot/kernel/kernel after the line boot: I got a bunch of reg dumps and finally: BTX halted The kernel was booting fine before I make the changes. I now have the chicken and egg problem: I need to get rid of the line of comment in boot.conf for it to boot, but I can't access it without booting into it. Any hint? WT From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 18:56:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1BE516A400; Tue, 27 Jun 2006 18:56:17 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65C8943DA8; Tue, 27 Jun 2006 18:56:16 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.7/8.13.7) with ESMTP id k5RIsWcE023233; Tue, 27 Jun 2006 11:54:32 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.7/8.13.7/Submit) id k5RIsVPO023232; Tue, 27 Jun 2006 11:54:31 -0700 (PDT) (envelope-from sgk) Date: Tue, 27 Jun 2006 11:54:31 -0700 From: Steve Kargl To: Winston Message-ID: <20060627185431.GA23066@troutmask.apl.washington.edu> References: <3dcda0520606271149x778e7f58i573911c1143ad8f0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3dcda0520606271149x778e7f58i573911c1143ad8f0@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Boot problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 18:56:17 -0000 On Tue, Jun 27, 2006 at 11:49:59AM -0700, Winston wrote: > > Any hint? > Find a live cd and boot it. Mount partition and edit files that you munged. -- Steve From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 20:56:21 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51E0516A553 for ; Tue, 27 Jun 2006 20:56:21 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26EB8454C0 for ; Tue, 27 Jun 2006 19:53:52 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 27 Jun 2006 15:53:47 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,183,1149480000"; d="scan'208"; a="39210056:sNHT18405297" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5RJrkB5059438 for ; Tue, 27 Jun 2006 15:53:46 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 27 Jun 2006 15:53:46 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5RJrjeB059437 for freebsd-current@freebsd.org; Tue, 27 Jun 2006 15:53:45 -0400 (EDT) (envelope-from jr) Date: Tue, 27 Jun 2006 15:53:45 -0400 From: "J.R. Oldroyd" To: freebsd-current@freebsd.org Message-ID: <20060627195345.GJ45513@linwhf.opal.com> References: <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626115840.vrmox3wo0gg08gog@netchild.homeip.net> <20060626124158.GA7801@mail.scottro.net> <20060626191808.GC74292@over-yonder.net> <20060626235439.GA11403@saltmine.radix.net> <20060627005305.GE8825@linwhf.opal.com> <20060627005849.GA3672@saltmine.radix.net> <20060627012109.GK74292@over-yonder.net> <20060627031454.GB45513@linwhf.opal.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7CZp05NP8/gJM8Cl" Content-Disposition: inline In-Reply-To: <20060627031454.GB45513@linwhf.opal.com> User-Agent: Mutt/1.4.2.1i Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 20:56:21 -0000 --7CZp05NP8/gJM8Cl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 26, 23:14, J.R. Oldroyd wrote: >=20 > [ stuff about the lcctype.patch ] ... I'm impressed at the number of downloads this patch is getting. Obviously there's plenty of interest in this topic. Folk who use the hexdump(1)/od(1) utility (in particular "od -c") to examine files will encounter a problem after applying the lcctype.patch. There's an assert check in hexdump/conv.c:137 that verifies that the character has (width > 0). This assertion is no longer valid once you've listed bunches of characters with SWIDTH0. If you run "od -c" on a file containing utf-8 combining characters, the assert test will fail causing od to dump core. I also have a patch for this and this patch is now documented here: http://opal.com/freebsd/unicode.html#hexdump Enjoy, -jr --7CZp05NP8/gJM8Cl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKGMyUkkqUax7f6FAQJrIAYAuaovQa7ZTxnSJLjU0o78rgky2XS3f/Ju CQ+Nhig9WsngcLoUQID9CRB/gStE91gmM77ccYuwKC1JO8mNs29GWbZakT0keFQc JvZo51wehvYoaEGAfhwC+dHyap1ziI5PXOoeY5kaWZTXsFu+qjDuH+c6nP1sT0Vw NLpdVCXpsVnp/ykbzbgvSRXFqvaIRXscDOvqSf9mA9uVS3vpLCm2R5PXxKegMCcT skQ+xO13YiOKjUo3GFBP68/SYEQlj6H5 =4Txc -----END PGP SIGNATURE----- --7CZp05NP8/gJM8Cl-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 20:57:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A0A416A59E for ; Tue, 27 Jun 2006 20:57:13 +0000 (UTC) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net (smtp.vzavenue.net [66.171.59.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0999044654 for ; Tue, 27 Jun 2006 15:09:15 +0000 (GMT) (envelope-from jr@opal.com) Received: from 118.79.171.66.subscriber.vzavenue.net (HELO linwhf.opal.com) ([66.171.79.118]) by smtp.vzavenue.net with ESMTP; 27 Jun 2006 11:09:14 -0400 X-REPUTATION: -0.7 X-REMOTE-IP: 66.171.79.118 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="4.06,182,1149480000"; d="scan'208"; a="39144645:sNHT18925317" Received: from linwhf.opal.com (localhost [127.0.0.1]) by linwhf.opal.com (8.13.6/8.13.6) with ESMTP id k5RF9EkG056903; Tue, 27 Jun 2006 11:09:14 -0400 (EDT) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam; 27 Jun 2006 11:09:14 -0400 Received: (from jr@localhost) by linwhf.opal.com (8.13.6/8.13.6/Submit) id k5RF9Dvn056902; Tue, 27 Jun 2006 11:09:13 -0400 (EDT) (envelope-from jr) Date: Tue, 27 Jun 2006 11:09:13 -0400 From: "J.R. Oldroyd" To: Alexander Leidinger Message-ID: <20060627150913.GD45513@linwhf.opal.com> References: <6eb82e0606091906j7d9f69aarcf1f9738c7565677@mail.gmail.com> <20060625221640.GI48766@linwhf.opal.com> <20060626014939.GA74292@over-yonder.net> <20060626160245.GM48766@linwhf.opal.com> <20060627131313.2lvy38lg08kwo008@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t0UkRYy7tHLRMCai" Content-Disposition: inline In-Reply-To: <20060627131313.2lvy38lg08kwo008@netchild.homeip.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: Unicode (was Re: Updating ncurses in base) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 20:57:13 -0000 --t0UkRYy7tHLRMCai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 27, 13:13, Alexander Leidinger wrote: > > > > - we may need to update the base fonts so that more > > iso10646 ones have more complete character support >=20 > If there's not a BSD licensed replacement with at least the same =20 > quality, this may be the hardest part. >=20 I believe our 10646 fonts are those developed my Markus Kuhn at Cambridge, UK and documented here: http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html I'm not sure if ours are up-to-date or not. > > - utf-8 will have to be made the default character > > encoding in startup scripts for the various utilities > > and ports that are affected >=20 > Why? The start scripts are written in english and I doubt we will =20 > start to use translated ones. So all they use is/should be 7-bit =20 > clean. Wy do we need to make UTF-8 the default for them? If someone =20 > wants to use UTF-8, he can set the locale accordingly, but for the =20 > rest of the system I don't see a point in switching. >=20 Perhaps I wasn't clear with this comment. What I meant was that defaults for tools like the apache web server will need to change. Since apache can serve text and html files which users will edit with their editor and which will therefore now contain UTF-8-encoded characters, apache's default will also need to be UTF-8. Same for things like cups/groff and any other tool/server that processes files which might contain 8-bit characters and which care about the encoding. -jr --t0UkRYy7tHLRMCai Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iQDVAwUBRKFKGUkkqUax7f6FAQKtQgX9G2VTZLzwhpojUPsO4scR8D3JzuoorjZH unF+jxZiJpzMA8jK5rOFTpMt/RuhkqLEyKzFmZgBRME+sHBqSut+LEjwDZqzORG7 8/jWogl0JB554LenHKia9Qrv62j/wcqaMVEVnXq2rcYdtRz1JmPC6gXvw3zq12ui v8xdREDL6PvVuKDIPRq6Gpqs3V3kQdtImX+OJ+W+QwrNYbRzwUmWr4iTUE40sIvD ZK9EjmYVNNDcSP3fmSQf+PK0eYymAfBY =ctah -----END PGP SIGNATURE----- --t0UkRYy7tHLRMCai-- From owner-freebsd-current@FreeBSD.ORG Tue Jun 27 21:21:53 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DB0916A50C for ; Tue, 27 Jun 2006 21:21:53 +0000 (UTC) (envelope-from nuno.antunes@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id C924244D57 for ; Tue, 27 Jun 2006 19:13:16 +0000 (GMT) (envelope-from nuno.antunes@gmail.com) Received: by nz-out-0102.google.com with SMTP id i1so2359229nzh for ; Tue, 27 Jun 2006 12:13:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=leihlzAruNFKtIDTPW5jFL6C5vHRw3lLNpR0GMcNI2jfaDrAit/VX+w1tPzVvmyBmUOFEBkRyq1P+aDJJhSvexzTAYIki7HKYwznFFmyKk1mV9Nb3VX/qrGtnJi7lmOrVrcsTup5GZS83RD09U4HBJsU34iBX3ei+sNed+8Jhnk= Received: by 10.37.13.37 with SMTP id q37mr47287nzi; Tue, 27 Jun 2006 12:13:05 -0700 (PDT) Received: by 10.36.5.6 with HTTP; Tue, 27 Jun 2006 12:13:05 -0700 (PDT) Message-ID: <262949390606271213q6c253aadm11277d3cf6e9ba83@mail.gmail.com> Date: Tue, 27 Jun 2006 20:13:05 +0100 From: "Nuno Antunes" To: "Daichi GOTO" In-Reply-To: <44A144F1.1090909@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44A144F1.1090909@freebsd.org> Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, ozawa@ongs.co.jp, rodrigc@crodrigues.org Subject: =?iso-2022-jp?b?UmU6IFtBTk5dIHVuaW9uZnMgcGF0Y2hzZXQtMRskQiM1GyhC?= =?iso-2022-jp?b?IHJlbGVhc2UsIGl0IGlzIHJlYWR5IGZvciB0aGUgbWVyZ2U=?= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 21:21:53 -0000 On 6/27/06, Daichi GOTO wrote: > Hi Guys! > > It is my pleasure and honor to announce the availability of > the unionfs patchset-15. The p15 is an important milestone. > It is ready for the merge. > > Patchset-15: > For 7-current > http://people.freebsd.org/~daichi/unionfs/unionfs-p15.diff > > For 6.x > http://people.freebsd.org/~daichi/unionfs/unionfs6-p15.diff > > Changes in unionfs-p15.diff > - deleted -r option in limbo and updated ount_unionfs.8 > - changed source code style and naming rules for fitting > to FreeBSD kernel src style > > The documents of those unionfs patches: > > http://people.freebsd.org/~daichi/unionfs/ (English) > http://people.freebsd.org/~daichi/unionfs/index-ja.html (Japanese) > > We think that patchset-15 is ready for the merge to FreeBSD base > system. It has extensive trials, good stability and source code > quality enough to get the merge. > > I'll commit it to FreeBSD base system after my mentor's check. > > Thanks > > > HEADS UP: to Mr. Rodrigues (rodrigc) > Please check the unionfs patchset-15. After your mention, I'll > do the commit work :) > > -- > Daichi GOTO, http://people.freebsd.org/~daichi > _______________________________________________ > 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" > Many thanks for the excelent work! Your patchsets made it possible to start and run jails with unionfs mounted userland :-) Can't wait to see it commited. Thanks, Nuno From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 02:29:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D73616A4B3 for ; Wed, 28 Jun 2006 02:29:37 +0000 (UTC) (envelope-from dcornejo@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4477344A1C for ; Wed, 28 Jun 2006 02:08:44 +0000 (GMT) (envelope-from dcornejo@gmail.com) Received: by py-out-1112.google.com with SMTP id t32so42647pyc for ; Tue, 27 Jun 2006 19:08:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CxdENmhXGQrWu4y7K0K6LWl6XvYcnbv/u+tQ6LQWKKvENnz2eZzWgFwHFymfZPlPmfNzaAkqDUMnNhSIE2gz/YNwwD+jxuDhJ2fGAF6H6rnr6YZYwT7bBsqZFRfidGU2ypyHwAYEI4QsUUjTaKqWWYsXkCh7Eo8+a8FXv6XXALQ= Received: by 10.35.34.18 with SMTP id m18mr310321pyj; Tue, 27 Jun 2006 19:08:43 -0700 (PDT) Received: by 10.35.95.18 with HTTP; Tue, 27 Jun 2006 19:08:43 -0700 (PDT) Message-ID: <6b8e8f4f0606271908l6ed78759mbd455091d10261cd@mail.gmail.com> Date: Tue, 27 Jun 2006 16:08:43 -1000 From: spoggle To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: if_bridge and hostapd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 02:29:37 -0000 Hi, I've run into a problem with hostapd and if_bridge: the kernel is 7.0 CURRENT dated Thu Jun 22 10:24:56 HST 2006 I have a WRAP board with 2 ath and 1 sis, and I'm bridging them all together. The ath are configured as hostap, 1 running 11g and the other 11a. I tried running this with WEP, and things work well, I can reboot and things come back up and I can ping a wireless station from the LAN. Now, I'm trying to add in WPA and I've run into this problem. If I start hostapd from the command line, the connections work ok, the stations authenticate and everybody is happy. If I configure hostapd to start at boot time, it looks like the stations authenticate - ifconfig ath0 list sta shows the right thing but no packets are passed, ifconfig in this state: zazu# ifconfig ath0: flags=8943 mtu 2290 inet6 fe80::20b:6bff:fe35:a9b%ath0 prefixlen 64 scopeid 0x1 ether 00:0b:6b:35:0a:9b media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated ssid dogwood-gx channel 11 bssid 00:0b:6b:35:0a:9b authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpowmax 40 protmode CTS burst dtimperiod 1 bintval 100 sis0: flags=8943 mtu 1500 options=8 inet6 fe80::20d:b9ff:fe00:945c%sis0 prefixlen 64 scopeid 0x2 inet 192.168.231.214 netmask 0xffffff00 broadcast 192.168.231.255 ether 00:0d:b9:00:94:5c media: Ethernet autoselect (100baseTX ) status: active ath1: flags=8943 mtu 1500 inet6 fe80::20b:6bff:fe34:8ad8%ath1 prefixlen 64 scopeid 0x3 ether 00:0b:6b:34:8a:d8 media: IEEE 802.11 Wireless Ethernet autoselect mode 11a status: associated ssid dogwood-a channel 56 bssid 00:0b:6b:34:8a:d8 authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 38 burst dtimperiod 1 bintval 100 pflog0: flags=0<> mtu 33208 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff000000 pfsync0: flags=0<> mtu 2020 syncpeer: 224.0.0.240 maxupd: 128 bridge0: flags=8043 mtu 1500 ether 4a:1d:b0:a6:7a:58 priority 32768 hellotime 2 fwddelay 15 maxage 20 member: ath1 flags=7 port 3 priority 128 path cost 55 forwarding member: ath0 flags=7 port 1 priority 128 path cost 55 blocking member: sis0 flags=7 port 2 priority 128 path cost 55 blocking zazu# ifconfig ath0 list sta ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS ERP 00:0b:6b:33:68:60 1 11 54M 32 15 5 50768 EPS 0 WPA zazu# so it looks like ath0 & ath1 are in blocking state, and the station is authenticated, which is obviously bad. leaving things alone for several minutes does not help. i can solve the problem by ifconfig bridge0 down and then up after which ifconfig for the bridge shows all interfaces in the bridge go through listening, learning, and then finally forwarding state and then packets pass as expected. so am i doing something wrong, is this a bug, and short of firing off a up/down of the bridge after boot up does anyone have any suggestions? thanks, dave c From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 05:21:35 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D296C16A407 for ; Wed, 28 Jun 2006 05:21:35 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from grunt5.ihug.co.nz (grunt5.ihug.co.nz [203.109.254.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66ED043D8D for ; Wed, 28 Jun 2006 05:21:35 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from 203-109-251-39.static.bliink.ihug.co.nz (heff.fud.org.nz) [203.109.251.39] by grunt5.ihug.co.nz with esmtp (Exim 3.35 #1 (Debian)) id 1FvSUW-00025K-00; Wed, 28 Jun 2006 17:21:32 +1200 Received: by heff.fud.org.nz (Postfix, from userid 1001) id 4187F1CC1F; Wed, 28 Jun 2006 17:21:32 +1200 (NZST) Date: Wed, 28 Jun 2006 17:21:32 +1200 From: Andrew Thompson To: spoggle Message-ID: <20060628052132.GA60004@heff.fud.org.nz> Mail-Followup-To: Andrew Thompson , spoggle , freebsd-current@freebsd.org References: <6b8e8f4f0606271908l6ed78759mbd455091d10261cd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b8e8f4f0606271908l6ed78759mbd455091d10261cd@mail.gmail.com> User-Agent: Mutt/1.5.11 Cc: freebsd-current@freebsd.org Subject: Re: if_bridge and hostapd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 05:21:35 -0000 On Tue, Jun 27, 2006 at 04:08:43PM -1000, spoggle wrote: > Hi, > > I've run into a problem with hostapd and if_bridge: > > the kernel is 7.0 CURRENT dated Thu Jun 22 10:24:56 HST 2006 > > I have a WRAP board with 2 ath and 1 sis, and I'm bridging them all > together. The ath are configured as hostap, 1 running 11g and the > other 11a. > > I tried running this with WEP, and things work well, I can reboot and > things come back up and I can ping a wireless station from the LAN. > > Now, I'm trying to add in WPA and I've run into this problem. If I > start hostapd from the command line, the connections work ok, the > stations authenticate and everybody is happy. If I configure hostapd > to start at boot time, it looks like the stations authenticate - > ifconfig ath0 list sta shows the right thing but no packets are > passed, > Would you be able to send me your hostapd.conf, rc.conf and anything else I may need to try and reproduce this problem. The ports are blocking rather than disabled which indicates that the stp code is active for those ports. cheers, Andrew From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 10:26:25 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19AD616A408; Wed, 28 Jun 2006 10:26:25 +0000 (UTC) (envelope-from joao@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B63144634; Wed, 28 Jun 2006 10:26:23 +0000 (GMT) (envelope-from joao@matik.com.br) Received: from ap-h.matik.com.br (ap-h.matik.com.br [200.152.83.36]) by msrv.matik.com.br (8.13.6/8.13.1) with ESMTP id k5SAQL46017600; Wed, 28 Jun 2006 07:26:21 -0300 (BRT) (envelope-from joao@matik.com.br) From: JoaoBR Organization: Infomatik To: Andrew Thompson , spoggle , freebsd-current@freebsd.org Date: Wed, 28 Jun 2006 07:26:56 -0300 User-Agent: KMail/1.9.3 References: <6b8e8f4f0606271908l6ed78759mbd455091d10261cd@mail.gmail.com> <20060628052132.GA60004@heff.fud.org.nz> In-Reply-To: <20060628052132.GA60004@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606280726.57590.joao@matik.com.br> X-Filter-Version: 1.11a (msrv.matik.com.br) X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on msrv.matik.com.br X-Virus-Status: Clean Cc: Subject: Re: if_bridge and hostapd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 10:26:25 -0000 On Wednesday 28 June 2006 02:21, Andrew Thompson wrote: > On Tue, Jun 27, 2006 at 04:08:43PM -1000, spoggle wrote: > > Hi, > > > > I've run into a problem with hostapd and if_bridge: > > > > Would you be able to send me your hostapd.conf, rc.conf and anything > else I may need to try and reproduce this problem. The ports are > blocking rather than disabled which indicates that the stp code is > active for those ports. > > Hi=20 the same problem occurres running standard ath hostap mode with and without= =20 WEP. I do not know on current because I use releng_6 I changed one of the ath cards using a prism card and the problem persists.= =20 This happens for me under load and I can bring it back by ifconfig down/up= =20 Then I switched back to bridge (not if_bridge) and the problem still persis= ts=20 but not so often. This thing definitly do not happen on releng_5 when booti= ng=20 the exactly same hardware and configurations. Could it be possible that the bridge blocks after the wl card did some rat= e=20 shifting or any speed negociation with the client stations? when this happens under load then there is still upload traffic for a long= =20 time while download is zero then. This I mean out to client zero, in from=20 client still goes through. Jo=E3o =2D-=20 Jo=E3o A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 02:29:39 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9F3616A4C9 for ; Wed, 28 Jun 2006 02:29:39 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1894344A5D for ; Wed, 28 Jun 2006 02:10:00 +0000 (GMT) (envelope-from kabaev@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1785876nzp for ; Tue, 27 Jun 2006 19:09:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=X0zxPac7oruo4sPvN63YMaMn/j12lnLdp81c9GV84805htAEN9rKELkRExpZHnPRWYClKk0HfqKdCJC9L7++MHBnh0PHbyyFi03pBixmKJoZQU3vL2UjbIhKVPkY+hrR95ei7LlM11hN+E2ifYAudEmHJqgnJOfMgmXUE6RlVZ0= Received: by 10.65.84.18 with SMTP id m18mr421844qbl; Tue, 27 Jun 2006 19:09:59 -0700 (PDT) Received: from kan.dnsalias.net ( [24.63.93.195]) by mx.gmail.com with ESMTP id f14sm345646qba.2006.06.27.19.09.58; Tue, 27 Jun 2006 19:09:58 -0700 (PDT) Date: Tue, 27 Jun 2006 22:09:53 -0400 From: Alexander Kabaev To: Norikatsu Shigemura Message-ID: <20060627220953.24a8e7fe@kan.dnsalias.net> In-Reply-To: <20060625191405.d0e78240.nork@FreeBSD.org> References: <44986777.6070601@FreeBSD.org> <20060621061437.GA53019@fit.vutbr.cz> <2265.211.18.249.19.1150871779.squirrel@mail.ninth-nine.com> <20060621121114.h6udocel5wsgg8sg@netchild.homeip.net> <2692.219.127.74.121.1150885501.squirrel@mail.ninth-nine.com> <20060621155053.d6lseiz8z4ow8wo8@netchild.homeip.net> <20060623013106.d4397e26.nork@FreeBSD.org> <20060622230416.3907a848@kan.dnsalias.net> <20060625191405.d0e78240.nork@FreeBSD.org> X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_4oAHThvnwabdCvBkqC.I6QH; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Wed, 28 Jun 2006 11:34:50 +0000 Cc: deischen@FreeBSD.org, Alexander@Leidinger.net, nork@FreeBSD.org, current@FreeBSD.org Subject: Re: Linux-flashplugin7 & rtld - RFC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 02:29:39 -0000 --Sig_4oAHThvnwabdCvBkqC.I6QH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 25 Jun 2006 19:14:05 +0900 Norikatsu Shigemura wrote: > 1. Following error should be banished. > [/lib/libc.so.7: version GLIBC_2.1 required > by /usr/X11R6/lib/linux-flashplugin7/libflashplayer.so not found] >=20 > 1-a. To banish, I think that following code should be fixed at > check_object_provided_version in > src/libexec/rtld-elf/rtld.c. >=20 > if (vd =3D=3D NULL) { > _rtld_error("%s: version %s required by %s > not defined", depobj->path, vername, refobj->path); > return (-1); > } >=20 > I tried to remove 'return (-1);', but I don't know > side-effects. Nobody will banish anything. _Proper_ pathches to make rtld handle libmapped libraries more completely are welcome though.=20 > 1-b. Add GLIBC Version.def to libc/libm/libpthread. >=20 > 2. firefox doesn't use libc/libm/libpthread. But wrapper has > libc/libm/libpthread all codes. > /etc/libmap.conf ----------------------------------------------- > [firefox-bin] > libc.so.7 wrapper.so > libm.so.4 wrapper.so > libpthread.so.2 wrapper.so > /etc/libmap.conf ----------------------------------------------- >=20 > So I think that glibc functions are integrated to > libc/m/pthread. But above issue will be fixed, I may think that > separate libraries are good way. glibc functions integrated into libc/m/pthread will never hit the tree. --=20 Alexander Kabaev --Sig_4oAHThvnwabdCvBkqC.I6QH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEoeT1Q6z1jMm+XZYRAsB4AKC9Q70NHS0SEl7lZ10Wb1s+uTa+WQCgqZ1W ZpYtm4+kepURq+xZ3fe+d18= =nlF3 -----END PGP SIGNATURE----- --Sig_4oAHThvnwabdCvBkqC.I6QH-- From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 15:33:22 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EB6816A492 for ; Wed, 28 Jun 2006 15:33:22 +0000 (UTC) (envelope-from michiel@boland.org) Received: from neerbosch.nijmegen.internl.net (neerbosch.nijmegen.internl.net [217.149.193.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BC86449A5 for ; Wed, 28 Jun 2006 15:14:06 +0000 (GMT) (envelope-from michiel@boland.org) Received: from brakkenstein.nijmegen.internl.net by neerbosch.nijmegen.internl.net via brakkenstein.nijmegen.internl.net [217.149.193.41] with ESMTP for id k5SFE6kh026508 (8.13.4/1.4); Wed, 28 Jun 2006 17:14:06 +0200 (MEST) Received: from localhost by brakkenstein.nijmegen.internl.net via mboland@localhost with ESMTP for id k5SFE5cL029874 (8.13.2/2.02); Wed, 28 Jun 2006 17:14:05 +0200 (MEST) X-Authentication-Warning: brakkenstein.nijmegen.internl.net: mboland owned process doing -bs Date: Wed, 28 Jun 2006 17:14:05 +0200 (MEST) From: Michiel Boland To: freebsd-current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: rev 1.80 of kern/sysv_sem.c breaks postgresql X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 15:33:22 -0000 [apologies if you get this message twice] Hi. After today's kernel upgrade, postgresql no longer starts: FATAL: could not create semaphores: No space left on device DETAIL: Failed system call was semget(5432004, 17, 03600). I guess this has something to do with today's changes to /sys/kern/sysv_sem.c? If I replace that file with the previous revision (1.79) there are no problems. Cheers Michiel From owner-freebsd-current@FreeBSD.ORG Wed Jun 28 18:11:03 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A90F216A408 for ; Wed, 28 Jun 2006 18:11:03 +0000 (UTC) (envelope-from dcornejo@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5169243ED8 for ; Wed, 28 Jun 2006 18:10:57 +0000 (GMT) (envelope-from dcornejo@gmail.com) Received: by py-out-1112.google.com with SMTP id t32so243197pyc for ; Wed, 28 Jun 2006 11:10:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Xqf+qrV1DzbxaBRb94WZxtt3HzFl0Hkl7cFo3lGOlb977BTmGBVZ6JpaU4HHTjkxad5JwdIWU37WXfXgFiL9+zDCh8hPpDbZ2jPI5uZ/QecBKvfgT6s51bsF/6fcFTszS5kegWvink3bJqzwELCMf8jeYOFHM96oYNfb82aTwZw= Received: by 10.35.99.14 with SMTP id b14mr470637pym; Wed, 28 Jun 2006 11:10:56 -0700 (PDT) Received: by 10.35.95.18 with HTTP; Wed, 28 Jun 2006 11:10:56 -0700 (PDT) Message-ID: <6b8e8f4f0606281110t776903d9pcd45845dd566454c@mail.gmail.com> Date: Wed, 28 Jun 2006 08:10:56 -1000 From: spoggle To: "Andrew Thompson" , spoggle , freebsd-current@freebsd.org In-Reply-To: <20060628052132.GA60004@heff.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6b8e8f4f0606271908l6ed78759mbd455091d10261cd@mail.gmail.com> <20060628052132.GA60004@heff.fud.org.nz> Cc: Subject: Re: if_bridge and hostapd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 18:11:03 -0000 Per Andrews suggestion, I tried turning off STP and the ports do not block, though you do lose loop prevention. dave c On 6/27/06, Andrew Thompson wrote: > On Tue, Jun 27, 2006 at 04:08:43PM -1000, spoggle wrote: > > Hi, > > > > I've run into a problem with hostapd and if_bridge: > > > > the kernel is 7.0 CURRENT dated Thu Jun 22 10:24:56 HST 2006 > > > > I have a WRAP board with 2 ath and 1 sis, and I'm bridging them all > > together. The ath are configured as hostap, 1 running 11g and the > > other 11a. > > > > I tried running this with WEP, and things work well, I can reboot and > > things come back up and I can ping a wireless station from the LAN. > > > > Now, I'm trying to add in WPA and I've run into this problem. If I > > start hostapd from the command line, the connections work ok, the > > stations authenticate and everybody is happy. If I configure hostapd > > to start at boot time, it looks like the stations authenticate - > > ifconfig ath0 list sta shows the right thing but no packets are > > passed, > > > > Would you be able to send me your hostapd.conf, rc.conf and anything > else I may need to try and reproduce this problem. The ports are > blocking rather than disabled which indicates that the stp code is > active for those ports. > > > cheers, > Andrew > From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 00:59:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 74BFF16A50A; Thu, 29 Jun 2006 00:59:44 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao02.cox.net (eastrmmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD97C44BD7; Thu, 29 Jun 2006 00:29:27 +0000 (GMT) (envelope-from conrads@cox.net) Received: from serene.no-ip.org ([72.200.25.154]) by eastrmmtao02.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060629002926.IXGY15470.eastrmmtao02.cox.net@serene.no-ip.org>; Wed, 28 Jun 2006 20:29:26 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.7/8.13.7) with ESMTP id k5T0SutY029348; Wed, 28 Jun 2006 19:29:06 -0500 (CDT) (envelope-from conrads@cox.net) Date: Wed, 28 Jun 2006 19:28:46 -0500 From: "Conrad J. Sabatier" To: Pawel Jakub Dawidek Message-ID: <20060628192846.3099b6f5@serene.no-ip.org> In-Reply-To: <200606271132.k5RBW9bx024087@repoman.freebsd.org> References: <200606271132.k5RBW9bx024087@repoman.freebsd.org> Organization: A Rag-Tag Band of Drug-Crazed Hippies X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_descrip.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 00:59:44 -0000 On Tue, 27 Jun 2006 11:32:09 +0000 (UTC), Pawel Jakub Dawidek wrote: > pjd 2006-06-27 11:32:09 UTC > > FreeBSD src repository > > Modified files: > sys/kern kern_descrip.c > Log: > Compress direct cr_ruid comparsion and jailed() call to > suser_cred(9). > Reviewed by: rwatson > > Revision Changes Path > 1.295 +4 -2 src/sys/kern/kern_descrip.c > _______________________________________________ > cvs-src@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/cvs-src > To unsubscribe, send any mail to "cvs-src-unsubscribe@freebsd.org" > I'm getting a kernel build error now under amd64: cc -c -O2 -pipe -DNO_MALLOC_EXTRAS -fno-strict-aliasing -march=athlon64 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wno-error /usr/src/sys/kern/kern_descrip.c {standard input}: Assembler messages: {standard input}:3742: Error: invalid character '_' in mnemonic *** Error code 1 Stop in /usr/obj/usr/src/sys/CUSTOM. -- Conrad J. Sabatier -- "In Unix veritas" From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 07:40:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 1DB3916A403 for ; Thu, 29 Jun 2006 07:40:19 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: current@freebsd.org Date: Thu, 29 Jun 2006 15:39:41 +0800 User-Agent: KMail/1.8.2 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200606291539.41718.davidxu@freebsd.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Subject: sysv semaphore broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 07:40:20 -0000 Is sysv semaphore broken ? all super-smack processes are stucked at "semwai" state now. David Xu From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 09:20:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40C5D16A7F7; Thu, 29 Jun 2006 09:20:38 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id F10E244599; Thu, 29 Jun 2006 08:48:39 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k5T8mcgY031549; Thu, 29 Jun 2006 12:48:38 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Thu, 29 Jun 2006 12:48:38 +0400 (MSD) From: Maxim Konovalov To: David Xu In-Reply-To: <200606291539.41718.davidxu@freebsd.org> Message-ID: <20060629123238.K11503@mp2.macomnet.net> References: <200606291539.41718.davidxu@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: current@freebsd.org Subject: Re: sysv semaphore broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 09:20:38 -0000 On Thu, 29 Jun 2006, 15:39+0800, David Xu wrote: > Is sysv semaphore broken ? all super-smack processes are > stucked at "semwai" state now. There was a report that recent commit broke sysv sems. Looking at it ATM. [root@fujic /usr/src/tools/regression/sysvsem]# make regress semtest: semctl IPC_STAT: Invalid argument semtest: semctl IPC_RMID: Invalid argument FAIL -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 11:06:41 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EDE916A412; Thu, 29 Jun 2006 11:06:41 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id A974A43DAD; Thu, 29 Jun 2006 11:06:39 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k5TB6Ypi059710; Thu, 29 Jun 2006 15:06:34 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Thu, 29 Jun 2006 15:06:33 +0400 (MSD) From: Maxim Konovalov To: David Xu In-Reply-To: <20060629123238.K11503@mp2.macomnet.net> Message-ID: <20060629150601.V59695@mp2.macomnet.net> References: <200606291539.41718.davidxu@freebsd.org> <20060629123238.K11503@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Michiel Boland , current@freebsd.org Subject: Re: sysv semaphore broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 11:06:41 -0000 On Thu, 29 Jun 2006, 12:48+0400, Maxim Konovalov wrote: > On Thu, 29 Jun 2006, 15:39+0800, David Xu wrote: > > > Is sysv semaphore broken ? all super-smack processes are > > stucked at "semwai" state now. > > There was a report that recent commit broke sysv sems. Looking at it > ATM. > > [root@fujic /usr/src/tools/regression/sysvsem]# make regress > semtest: semctl IPC_STAT: Invalid argument > semtest: semctl IPC_RMID: Invalid argument > FAIL Something like that should fix the issue: Index: sysv_sem.c =================================================================== RCS file: /home/ncvs/src/sys/kern/sysv_sem.c,v retrieving revision 1.80 diff -u -p -r1.80 sysv_sem.c --- sysv_sem.c 27 Jun 2006 18:28:50 -0000 1.80 +++ sysv_sem.c 29 Jun 2006 11:00:43 -0000 @@ -586,7 +586,7 @@ kern_semctl(struct thread *td, int semid { u_short *array; struct ucred *cred = td->td_ucred; - int i, rval, error; + int i, rval, error, savedid; struct semid_ds sbuf; struct semid_kernel *semakptr; struct mtx *sema_mtxp; @@ -632,6 +632,7 @@ kern_semctl(struct thread *td, int semid return (error); } + savedid = semid; semid = IPCID_TO_IX(semid); if (semid < 0 || semid >= seminfo.semmni) return (EINVAL); @@ -655,7 +656,7 @@ kern_semctl(struct thread *td, int semid switch (cmd) { case IPC_RMID: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_M))) goto done2; @@ -687,7 +688,7 @@ kern_semctl(struct thread *td, int semid } else bcopy(arg->buf, &sbuf, sizeof(sbuf)); mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_M))) goto done2; @@ -700,7 +701,7 @@ kern_semctl(struct thread *td, int semid case IPC_STAT: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_R))) goto done2; @@ -715,7 +716,7 @@ kern_semctl(struct thread *td, int semid case GETNCNT: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_R))) goto done2; @@ -728,7 +729,7 @@ kern_semctl(struct thread *td, int semid case GETPID: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_R))) goto done2; @@ -741,7 +742,7 @@ kern_semctl(struct thread *td, int semid case GETVAL: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_R))) goto done2; @@ -764,7 +765,7 @@ kern_semctl(struct thread *td, int semid array = malloc(sizeof(*array) * semakptr->u.sem_nsems, M_TEMP, M_WAITOK); mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_R))) goto done2; @@ -777,7 +778,7 @@ kern_semctl(struct thread *td, int semid case GETZCNT: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_R))) goto done2; @@ -790,7 +791,7 @@ kern_semctl(struct thread *td, int semid case SETVAL: mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; if ((error = ipcperm(td, &semakptr->u.sem_perm, IPC_W))) goto done2; @@ -819,7 +820,7 @@ kern_semctl(struct thread *td, int semid return (EINVAL); mtx_lock(sema_mtxp); raced: - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; count = semakptr->u.sem_nsems; mtx_unlock(sema_mtxp); @@ -828,7 +829,7 @@ raced: if (error) break; mtx_lock(sema_mtxp); - if ((error = semvalid(semid, semakptr)) != 0) + if ((error = semvalid(savedid, semakptr)) != 0) goto done2; /* we could have raced? */ if (count != semakptr->u.sem_nsems) { %%% -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 11:13:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D9A516A410; Thu, 29 Jun 2006 11:13:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D2B843D58; Thu, 29 Jun 2006 11:13:27 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k5TBDPo9034002; Thu, 29 Jun 2006 07:13:26 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 29 Jun 2006 07:13:24 -0400 User-Agent: KMail/1.9.1 References: <200606291539.41718.davidxu@freebsd.org> <20060629123238.K11503@mp2.macomnet.net> In-Reply-To: <20060629123238.K11503@mp2.macomnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606290713.25447.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Thu, 29 Jun 2006 07:13:26 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1575/Thu Jun 29 04:50:14 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: David Xu Subject: Re: sysv semaphore broken X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 11:13:28 -0000 On Thursday 29 June 2006 04:48, Maxim Konovalov wrote: > On Thu, 29 Jun 2006, 15:39+0800, David Xu wrote: > > > Is sysv semaphore broken ? all super-smack processes are > > stucked at "semwai" state now. > > There was a report that recent commit broke sysv sems. Looking at it > ATM. > > [root@fujic /usr/src/tools/regression/sysvsem]# make regress > semtest: semctl IPC_STAT: Invalid argument > semtest: semctl IPC_RMID: Invalid argument > FAIL I'll fix it in a bit. :( -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 11:13:28 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3311B16A415; Thu, 29 Jun 2006 11:13:28 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36F6143D55; Thu, 29 Jun 2006 11:13:26 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k5TBDPo8034002; Thu, 29 Jun 2006 07:13:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-current@freebsd.org Date: Thu, 29 Jun 2006 07:08:24 -0400 User-Agent: KMail/1.9.1 References: <3dcda0520606271107y2ebad874g2e481efaf3a70061@mail.gmail.com> In-Reply-To: <3dcda0520606271107y2ebad874g2e481efaf3a70061@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606290708.25109.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Thu, 29 Jun 2006 07:13:25 -0400 (EDT) X-Virus-Scanned: ClamAV 0.87.1/1575/Thu Jun 29 04:50:14 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Winston , freebsd-questions@freebsd.org Subject: Re: Booting problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 11:13:28 -0000 On Tuesday 27 June 2006 14:07, Winston wrote: > I tried to boot via a serial console, so I modified/added the > following config files: > --------------------------- > /boot/loader.conf: > boot_multicons="YES" > boot_serial="YES" > console="comconsole" > ------------------------------- > /boot.config > # wyt: added > -Dh > ------------------------------- > Changed /etc/ttys: > ttyd0 "/usr/libexec/getty std.9600" dialup off secure > to > ttyd0 "/usr/libexec/getty std.9600" xterm on secure > > However, I got the following messages while booting: > /boot.config: # > FreeBSD/i386 boot > Default: 0:ad(0,a)boot > boot: > > I think I prob. made a mistake by putting a line of comment "#wyt: > added" at the beginning of /boot.conf and the boot loader doesn't like > it. > > But if I specify /boot/kernel/kernel after the line boot: > I got a bunch of reg dumps and finally: > BTX halted > > The kernel was booting fine before I make the changes. I now have the > chicken and egg problem: I need to get rid of the line of comment in > boot.conf for it to boot, but I can't access it without booting into > it. > > Any hint? Use /boot/loader rather than /boot/kernel/kernel at the boot2 prompt. -- John Baldwin From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 11:55:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 044D316A407 for ; Thu, 29 Jun 2006 11:55:10 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 743EB44B0A for ; Thu, 29 Jun 2006 11:55:09 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Fvv6s-0001Nd-KZ for freebsd-current@freebsd.org; Thu, 29 Jun 2006 13:55:02 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jun 2006 13:55:02 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jun 2006 13:55:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Thu, 29 Jun 2006 13:52:02 +0200 Lines: 2 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en Sender: news Subject: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 11:55:11 -0000 What is kern/sched_core.c? Is it a new scheduler? If so, what are its characteristics - are there any papers on its design? From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 11:58:15 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8F4016A410 for ; Thu, 29 Jun 2006 11:58:15 +0000 (UTC) (envelope-from maxim@macomnet.ru) Received: from mp2.macomnet.net (mp2.macomnet.net [195.128.64.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AE3B44B0A for ; Thu, 29 Jun 2006 11:58:14 +0000 (GMT) (envelope-from maxim@macomnet.ru) Received: from localhost (localhost.int.ru [127.0.0.1] (may be forged)) by mp2.macomnet.net (8.13.7/8.13.3) with ESMTP id k5TBwCru061457; Thu, 29 Jun 2006 15:58:12 +0400 (MSD) (envelope-from maxim@macomnet.ru) Date: Thu, 29 Jun 2006 15:58:12 +0400 (MSD) From: Maxim Konovalov To: Ivan Voras In-Reply-To: Message-ID: <20060629155737.C61436@mp2.macomnet.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 11:58:15 -0000 On Thu, 29 Jun 2006, 13:52+0200, Ivan Voras wrote: > What is kern/sched_core.c? Is it a new scheduler? Have you read sched_core(4)? > If so, what are its characteristics - are there any papers on its design? -- Maxim Konovalov From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 12:02:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDE4316A403 for ; Thu, 29 Jun 2006 12:02:17 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE7644B0B for ; Thu, 29 Jun 2006 12:02:17 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k5TC277D002700; Thu, 29 Jun 2006 14:02:08 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <44A3C13F.8070700@fer.hr> Date: Thu, 29 Jun 2006 14:02:07 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Konovalov References: <20060629155737.C61436@mp2.macomnet.net> In-Reply-To: <20060629155737.C61436@mp2.macomnet.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 12:02:17 -0000 Maxim Konovalov wrote: > On Thu, 29 Jun 2006, 13:52+0200, Ivan Voras wrote: > >>What is kern/sched_core.c? Is it a new scheduler? > > Have you read sched_core(4)? No, I don't have a machine with -current running (thus, no man page), but I'll go look it up from CVS. From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 11:09:19 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6690716A407 for ; Thu, 29 Jun 2006 11:09:19 +0000 (UTC) (envelope-from Lena@lena.kiev.ua) Received: from mx.uatele.com (mx.uatele.com [62.80.178.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id B38AC43D55 for ; Thu, 29 Jun 2006 11:09:18 +0000 (GMT) (envelope-from Lena@lena.kiev.ua) Received: from bedside.lena.kiev.ua (c.229.174.a516.dyn.adsl.cyfra.net [62.80.174.229]) by mx.uatele.com (8.13.6/8.13.6) with ESMTP id k5TB9Fvb023507; Thu, 29 Jun 2006 14:09:15 +0300 Received: from bedside.lena.kiev.ua (localhost.lena.kiev.ua [127.0.0.1]) by bedside.lena.kiev.ua (8.13.7/8.13.7) with ESMTP id k5TB9FvK001432; Thu, 29 Jun 2006 14:09:15 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Received: (from lena@localhost) by bedside.lena.kiev.ua (8.13.7/8.13.7/Submit) id k5TB9E1A001431; Thu, 29 Jun 2006 14:09:14 +0300 (EEST) (envelope-from Lena@lena.kiev.ua) Date: Thu, 29 Jun 2006 14:09:14 +0300 From: Lena@lena.kiev.ua To: freebsd-current@freebsd.org Message-ID: <20060629110914.GA534@lena.kiev> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44615A46.6020009@FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.87, clamav-milter version 0.87 on mx.uatele.com X-Virus-Status: Clean X-Mailman-Approved-At: Thu, 29 Jun 2006 12:25:47 +0000 Subject: Re: kbdmux oddity ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 11:09:19 -0000 On Tue, May 09, 2006 at 05:01:30PM -0700, Pascal Hofstee wrote: > Today i got to actually installing a kbdmux enabled kernel and came to > the conclusion that even though keys like Capslock, Numlock and > Scrolllock perform the functions they're supposed to do, the keyboard > leds seem to arbitrarily decide wether or not they want to toggle > on/off. > > on console i noticed that usually after hitting e.g. caps lock a few > times the leds decdide to "work with me again" and toggle on/off > accordingly .. until i hit any actual textual input .. at which point > the previous eratic behavior has resurfaced. > > Similar problems exist in X as well ... though seem to be even more > eratic there. > > Removing kbdmux from my kernel seems to restore normality again. Emil Mikulic wrote: > I'm seeing a similar (but different?) problem - I get an interrupt storm > every time I hit Caps Lock or Num Lock, or flip VTs in text mode. If > XMMS is running, the music skips. > > Normally, if I'm hitting letter keys, I never see any irq1: atkbd0 > interrupts. If I bounce on the Caps Lock, I can get it as high as > 72/sec. > > Running top(1), I can get system time up to about 50% by pounding away > at Caps Lock. Normal typing doesn't affect the system time much, it > fluctuates between 0% and 1%. > > This is with 7-CURRENT, GENERIC, on x86, from yesterday. And it's on a > Dell GX280 with a USB keyboard. I've seen similar issues on a Dell > Poweredge SC430, again with a USB keyboard. > If I add hint.atkbd.0.disabled="1" to /boot/loader.conf, > I no longer see this problem. Maksim Yevmenkin wrote on May 10, 2006: > i can not reproduce it here with dell latitude d610 laptop. i think, > that this maybe particular usb keyboard/bios fault. kbdmux(4) really > does not do anything except switching slave keyboards into "raw" mode > and pass all scancodes to the upper layers. it seems like kbdmux(4) > exposes all the little problems with low level keyboard drivers. > > again, i'm looking into this, but i do not have much time right now. FreeBSD 6.1-RELEASE-p2, Abit BE6-II motherboard made in 2000 or 2001, PS/2 keyboard, no USB keyboard. In console the Caps Lock key works, but the Caps Lock LED doesn't lit up at all. In X the LED works OK. Adding hint.kbdmux.0.disabled="1" to /boot/device.hints made the Caps Lock LED to work in console again. Lena From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 16:01:06 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CC3E16A6AE for ; Thu, 29 Jun 2006 16:01:06 +0000 (UTC) (envelope-from fcash@ocis.net) Received: from smtp.sd73.bc.ca (smtp.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4E1043E3E for ; Thu, 29 Jun 2006 15:27:45 +0000 (GMT) (envelope-from fcash@ocis.net) Received: from localhost (localhost [127.0.0.1]) by localhost.sd73.bc.ca (Postfix) with ESMTP id 8647F8A0055; Thu, 29 Jun 2006 08:34:38 -0700 (PDT) Received: from smtp.sd73.bc.ca ([127.0.0.1]) by localhost (smtp.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19541-03-51; Thu, 29 Jun 2006 08:34:32 -0700 (PDT) Received: from webmail.sd73.bc.ca (unknown [10.10.10.17]) by smtp.sd73.bc.ca (Postfix) with ESMTP id 3413F8A0050; Thu, 29 Jun 2006 08:34:25 -0700 (PDT) Received: from webmail.sd73.bc.ca (localhost.localdomain [127.0.0.1]) by webmail.sd73.bc.ca (Postfix) with ESMTP id 11A4A9000615; Thu, 29 Jun 2006 08:27:32 -0700 (PDT) Received: from 192.168.0.10 (SquirrelMail authenticated user fcash) by webmail.sd73.bc.ca with HTTP; Thu, 29 Jun 2006 08:27:32 -0700 (PDT) Message-ID: <49091.192.168.0.10.1151594852.squirrel@webmail.sd73.bc.ca> In-Reply-To: <44A3C13F.8070700@fer.hr> References: <20060629155737.C61436@mp2.macomnet.net> <44A3C13F.8070700@fer.hr> Date: Thu, 29 Jun 2006 08:27:32 -0700 (PDT) From: "Freddie Cash" To: "Ivan Voras" User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca Cc: current@freebsd.org Subject: Re: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fcash@ocis.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 16:01:06 -0000 On Thu, June 29, 2006 5:02 am, Ivan Voras wrote: > Maxim Konovalov wrote: >> On Thu, 29 Jun 2006, 13:52+0200, Ivan Voras wrote: >>> What is kern/sched_core.c? Is it a new scheduler? >> Have you read sched_core(4)? > No, I don't have a machine with -current running (thus, no man page), > but I'll go look it up from CVS. http://www.freebsd.org/cgi/man.cgi Man pages for every release of FreeBSD (as well as OpenBSD, NetBSD, Red Hat Linux, and a few others). ---- Freddie Cash fcash@ocis.net From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 16:01:08 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63B1616A6C3 for ; Thu, 29 Jun 2006 16:01:08 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01C4F443CE for ; Thu, 29 Jun 2006 15:39:38 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4BCE251884; Thu, 29 Jun 2006 17:39:36 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D6A0850E81; Thu, 29 Jun 2006 17:39:30 +0200 (CEST) Date: Thu, 29 Jun 2006 17:36:41 +0200 From: Pawel Jakub Dawidek To: "Conrad J. Sabatier" Message-ID: <20060629153641.GC6070@garage.freebsd.pl> References: <200606271132.k5RBW9bx024087@repoman.freebsd.org> <20060628192846.3099b6f5@serene.no-ip.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="//IivP0gvsAy3Can" Content-Disposition: inline In-Reply-To: <20060628192846.3099b6f5@serene.no-ip.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: cvs commit: src/sys/kern kern_descrip.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 16:01:08 -0000 --//IivP0gvsAy3Can Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 28, 2006 at 07:28:46PM -0500, Conrad J. Sabatier wrote: > On Tue, 27 Jun 2006 11:32:09 +0000 (UTC), Pawel Jakub Dawidek > wrote: > > pjd 2006-06-27 11:32:09 UTC > >=20 > > FreeBSD src repository > >=20 > > Modified files: > > sys/kern kern_descrip.c=20 > > Log: > > Compress direct cr_ruid comparsion and jailed() call to > > suser_cred(9).=20 > > Reviewed by: rwatson > > =20 > > Revision Changes Path > > 1.295 +4 -2 src/sys/kern/kern_descrip.c >=20 > I'm getting a kernel build error now under amd64: >=20 > cc -c -O2 -pipe -DNO_MALLOC_EXTRAS -fno-strict-aliasing -march=3Dathlon64 > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -fformat-extensions -std=3Dc99 -nostdinc -I- -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -fno-common -finline-limit=3D8000 --param > inline-unit-growth=3D100 --param large-function-growth=3D1000 > -mcmodel=3Dkernel -mno-red-zone -mfpmath=3D387 -mno-sse -mno-sse2 -mno-m= mx > -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > -Wno-error /usr/src/sys/kern/kern_descrip.c > {standard input}: Assembler messages:=20 > {standard input}:3742: Error: invalid character '_' in mnemonic *** > Error code 1 >=20 > Stop in /usr/obj/usr/src/sys/CUSTOM. I tried to reproduce it on a native amd64 machine by merging the change to RELENG_6, but no luck. It compiles fine here. Do you use some non-standard compilation flags? Do you use -DNO_CLEAN? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --//IivP0gvsAy3Can Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEo/OJForvXbEpPzQRAhjaAKCZCMx/axBSXBCk+cFtAqM0y6/awACdGtbY sC90jVlbRSSz8IgS19As+iU= =qIvE -----END PGP SIGNATURE----- --//IivP0gvsAy3Can-- From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 16:05:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BAEE16A403 for ; Thu, 29 Jun 2006 16:05:30 +0000 (UTC) (envelope-from arr@watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3FA643D55 for ; Thu, 29 Jun 2006 16:05:22 +0000 (GMT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.13.6/8.13.6) with ESMTP id k5TG5C6G042789; Thu, 29 Jun 2006 12:05:12 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.13.6/8.13.6/Submit) with ESMTP id k5TG5CTP042786; Thu, 29 Jun 2006 12:05:12 -0400 (EDT) (envelope-from arr@watson.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Thu, 29 Jun 2006 12:05:12 -0400 (EDT) From: "Andrew R. Reiter" To: Ivan Voras In-Reply-To: Message-ID: <20060629120456.T42436@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 16:05:30 -0000 On Thu, 29 Jun 2006, Ivan Voras wrote: :What is kern/sched_core.c? Is it a new scheduler? :If so, what are its characteristics - are there any papers on its design? : Read back a few weeks in your mail queue. -- arr@watson.org From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 18:33:14 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7356616A47C for ; Thu, 29 Jun 2006 18:33:14 +0000 (UTC) (envelope-from arr@watson.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E658E44C5E for ; Thu, 29 Jun 2006 18:33:11 +0000 (GMT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.13.6/8.13.6) with ESMTP id k5TIX2m3051771; Thu, 29 Jun 2006 14:33:02 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost) by fledge.watson.org (8.13.6/8.13.6/Submit) with ESMTP id k5TIX2vO051768; Thu, 29 Jun 2006 14:33:02 -0400 (EDT) (envelope-from arr@watson.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Thu, 29 Jun 2006 14:33:02 -0400 (EDT) From: "Andrew R. Reiter" To: Ivan Voras In-Reply-To: <44A41944.5010800@fer.hr> Message-ID: <20060629143143.X49398@fledge.watson.org> References: <20060629120456.T42436@fledge.watson.org> <44A41944.5010800@fer.hr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org Subject: Re: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 18:33:14 -0000 On Thu, 29 Jun 2006, Ivan Voras wrote: :Andrew R. Reiter wrote: :> On Thu, 29 Jun 2006, Ivan Voras wrote: :> :> :What is kern/sched_core.c? Is it a new scheduler? :> :If so, what are its characteristics - are there any papers on its design? :> :> Read back a few weeks in your mail queue. : :Which list? Can't find anything in current@, architecture@ or smp@ (at least :not when searching for "core" or "sched"). : Anyone who subscribes to the commit logs. See notes under revision 1.1 in CVS: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sched_core.c Cheers, Andrew -- arr@watson.org From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 18:49:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B75CE16A403 for ; Thu, 29 Jun 2006 18:49:05 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from lara.cc.fer.hr (lara.cc.fer.hr [161.53.72.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8EC0A441EF for ; Thu, 29 Jun 2006 18:17:58 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [127.0.0.1] (localhost.cc.fer.hr [127.0.0.1]) by lara.cc.fer.hr (8.13.6/8.13.4) with ESMTP id k5TIHeAt003508; Thu, 29 Jun 2006 20:17:43 +0200 (CEST) (envelope-from ivoras@fer.hr) Message-ID: <44A41944.5010800@fer.hr> Date: Thu, 29 Jun 2006 20:17:40 +0200 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew R. Reiter" References: <20060629120456.T42436@fledge.watson.org> In-Reply-To: <20060629120456.T42436@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: kern/sched_core.c? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 18:49:05 -0000 Andrew R. Reiter wrote: > On Thu, 29 Jun 2006, Ivan Voras wrote: > > :What is kern/sched_core.c? Is it a new scheduler? > :If so, what are its characteristics - are there any papers on its design? > > Read back a few weeks in your mail queue. Which list? Can't find anything in current@, architecture@ or smp@ (at least not when searching for "core" or "sched"). From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 19:33:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1209816A417 for ; Thu, 29 Jun 2006 19:33:51 +0000 (UTC) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78C66447A9 for ; Thu, 29 Jun 2006 19:33:47 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.6/8.13.6) with ESMTP id k5TJXk9k002613 for ; Thu, 29 Jun 2006 12:33:46 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.6/8.13.1/Submit) id k5TJXkIS002612 for freebsd-current@freebsd.org; Thu, 29 Jun 2006 12:33:46 -0700 (PDT) (envelope-from obrien) Date: Thu, 29 Jun 2006 12:33:46 -0700 From: "David O'Brien" To: freebsd-current@freebsd.org Message-ID: <20060629193346.GA2548@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.11 Subject: Still getting 'calcru: runtime went backwards' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 19:33:51 -0000 I'm still often getting calcru output. This is with FreeBSD anh-thu.NUXI.org 7.0-CURRENT #44: Tue Jun 27 09:30:45 PDT 2006 amd64 I'm using the default time source (ACPI). What's the latest theories of the cause of this? calcru: runtime went backwards from 542 usec to 271 usec for pid 142 (adjkerntz) calcru: runtime went backwards from 48 usec to 35 usec for pid 24 (usb2) calcru: runtime went backwards from 27 usec to 23 usec for pid 21 (usb0) calcru: runtime went backwards from 5267 usec to 2633 usec for pid 7 (acpi_task_2) calcru: runtime went backwards from 4132 usec to 2066 usec for pid 6 (acpi_task_1) calcru: runtime went backwards from 226 usec to 159 usec for pid 15 (swi6: task queue) calcru: runtime went backwards from 46257 usec to 45630 usec for pid 4 (g_down) calcru: runtime went backwards from 5380 usec to 5271 usec for pid 1 (init) calcru: runtime went backwards from 1709697 usec to 1131474 usec for pid 1 (init) calcru: runtime went backwards from 503 usec to 251 usec for pid 0 (swapper) -- -- David (obrien@FreeBSD.org) Q: Because it reverses the logical flow of conversation. A: Why is top-posting (putting a reply at the top of the message) frowned upon? From owner-freebsd-current@FreeBSD.ORG Thu Jun 29 20:10:10 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BE8A16A49E; Thu, 29 Jun 2006 20:10:09 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C8A94494A; Thu, 29 Jun 2006 19:51:17 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 9A1351703F; Thu, 29 Jun 2006 19:51:15 +0000 (UTC) To: obrien@freebsd.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 29 Jun 2006 12:33:46 MST." <20060629193346.GA2548@dragon.NUXI.org> Date: Thu, 29 Jun 2006 19:51:12 +0000 Message-ID: <3903.1151610672@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-current@freebsd.org Subject: Re: Still getting 'calcru: runtime went backwards' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2006 20:10:10 -0000 In message <20060629193346.GA2548@dragon.NUXI.org>, "David O'Brien" writes: >I'm still often getting calcru output. This is with >FreeBSD anh-thu.NUXI.org 7.0-CURRENT #44: Tue Jun 27 09:30:45 PDT 2006 amd64 >I'm using the default time source (ACPI). What's the latest theories of >the cause of this? Does this machine change the cpu clock rate ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 00:20:35 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F73716A596 for ; Fri, 30 Jun 2006 00:20:35 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF12243E11 for ; Thu, 29 Jun 2006 23:30:09 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465 for ; Thu, 29 Jun 2006 16:30:04 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 0188145043 for ; Thu, 29 Jun 2006 16:30:03 -0700 (PDT) To: current@freebsd.org Date: Thu, 29 Jun 2006 16:30:02 -0700 From: "Kevin Oberman" Message-Id: <20060629233003.0188145043@ptavv.es.net> Cc: Subject: Unable to build acpi_asus module on current today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 00:20:35 -0000 Today I tried rebuilding my laptop running current. Building the kernel module acpi_asus, the build bombed with the error: ===> acpi_asus (all) cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/usr/src/sys/modules/acpi/acpi_asus/../../../contrib/dev/acpica -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /usr/src/sys/modules /acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c: In function `acpi_asus_attach': /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c:584: error: 'for' loop initial declaration used outside C99 mode But this module has not been touched since April and I have built all of it many times since then. Several other modules seem to have the same problem of declaring a variable in a for statement. I moved the declaration to its own statement before the "for" and it compiles fine. Did some compiler default recently change? I have no compile options on my make.conf. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 00:36:38 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A523A16A522 for ; Fri, 30 Jun 2006 00:36:38 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8FA544C68 for ; Thu, 29 Jun 2006 23:45:17 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id IBA74465 for ; Thu, 29 Jun 2006 16:45:17 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 4138145043 for ; Thu, 29 Jun 2006 16:45:17 -0700 (PDT) To: current@freebsd.org Date: Thu, 29 Jun 2006 16:45:17 -0700 From: "Kevin Oberman" Message-Id: <20060629234517.4138145043@ptavv.es.net> Cc: Subject: More module build problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 00:36:38 -0000 When I build the kernel modules, now I am getting an error in arcmsr: cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c /usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c: In function `arcmsr_build_srb': /usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c:808: warning: integer constant is too large for "long" type /usr/src/sys/modules/arcmsr/../../dev/arcmsr/arcmsr.c:811: warning: integer constant is too large for "long" type *** Error code 1 span4G is declared as LONG64, not as an integer, so I really don't understand this. Any clues as to what is wrong? My buildworld was clean and the kernel built fine, but the modules are doing very strange things. Once again,no changes in my config file and no compile options in make.conf. src.conf simply block building a bunch of stuff I don't need: profile libs, sendmail, atm, gpib, ib4 ipx, nis, and pcvt (guess I can remove that one). -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 01:26:49 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA41816A529 for ; Fri, 30 Jun 2006 01:26:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6551844760 for ; Fri, 30 Jun 2006 01:00:19 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id k5U100Q7067080; Thu, 29 Jun 2006 21:00:00 -0400 (EDT) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-current@FreeBSD.org Date: Thu, 29 Jun 2006 20:59:45 -0400 User-Agent: KMail/1.6.2 References: <20060629233003.0188145043@ptavv.es.net> In-Reply-To: <20060629233003.0188145043@ptavv.es.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200606292059.47722.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/1577/Thu Jun 29 16:18:18 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: Unable to build acpi_asus module on current today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 01:26:49 -0000 On Thursday 29 June 2006 07:30 pm, Kevin Oberman wrote: > Today I tried rebuilding my laptop running current. Building the > kernel module acpi_asus, the build bombed with the error: > ===> acpi_asus (all) > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE > -nostdinc -I- > -I/usr/src/sys/modules/acpi/acpi_asus/../../../contrib/dev/acpica > -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 > -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -fformat-extensions -c /usr/src/sys/modules > /acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c > /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_ >asus.c: In function `acpi_asus_attach': > /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_ >asus.c:584: error: 'for' loop initial declaration used outside C99 > mode > > But this module has not been touched since April and I have built > all of it many times since then. Several other modules seem to have > the same problem of declaring a variable in a for statement. > > I moved the declaration to its own statement before the "for" and > it compiles fine. > > Did some compiler default recently change? I have no compile > options on my make.conf. Yes: http://docs.freebsd.org/cgi/mid.cgi?200606292115.k5TLFQch022605 A quick fix: Index: sys/conf/kmod.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kmod.mk,v retrieving revision 1.208 diff -u -r1.208 kmod.mk --- sys/conf/kmod.mk 27 May 2006 16:32:05 -0000 1.208 +++ sys/conf/kmod.mk 30 Jun 2006 00:57:37 -0000 @@ -85,8 +85,10 @@ .if ${CC} == "icc" NOSTDINC= -X .else +C_DIALECT= -std=c99 NOSTDINC= -nostdinc .endif +CFLAGS+= ${C_DIALECT} CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} -I- ${INCLMAGIC} ${CFLAGS:M-I*} .if defined(KERNBUILDDIR) CFLAGS+= -DHAVE_KERNEL_OPTION_HEADERS -include ${KERNBUILDDIR}/opt_global.h Jung-uk Kim From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 01:40:03 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48EA416A407 for ; Fri, 30 Jun 2006 01:40:03 +0000 (UTC) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (tarc.po.cs.msu.su [158.250.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B9A543D48 for ; Fri, 30 Jun 2006 01:40:00 +0000 (GMT) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (localhost [127.0.0.1]) by tarc.po.cs.msu.su (8.13.4/8.13.4) with ESMTP id k5U1fDNH017864; Fri, 30 Jun 2006 05:41:13 +0400 (MSD) (envelope-from tarc@tarc.po.cs.msu.su) Received: (from tarc@localhost) by tarc.po.cs.msu.su (8.13.4/8.13.4/Submit) id k5U1fDbR017863; Fri, 30 Jun 2006 05:41:13 +0400 (MSD) (envelope-from tarc) Date: Fri, 30 Jun 2006 05:41:11 +0400 From: Arseny Nasokin To: Kevin Oberman Message-ID: <20060630014111.GI74776@tarc.po.cs.msu.su> References: <20060629234517.4138145043@ptavv.es.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20060629234517.4138145043@ptavv.es.net> User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: current@freebsd.org Subject: Re: More module build problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 01:40:03 -0000 On Thu, Jun 29, 2006 at 04:45:17PM -0700, Kevin Oberman wrote: > [...] > > span4G is declared as LONG64, not as an integer, so I really don't > understand this. Any clues as to what is wrong? My buildworld was clean > and the kernel built fine, but the modules are doing very strange > things. > shold be constant type be forced? for example 0x100000000l or 0x100000000ll ? -- Best regards, Arseny Nasokin From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 02:11:11 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D587516A403 for ; Fri, 30 Jun 2006 02:11:11 +0000 (UTC) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail3.its.rmit.edu.au (its-mu-mail3.its.rmit.edu.au [131.170.1.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C72243D45 for ; Fri, 30 Jun 2006 02:11:10 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail3.its.rmit.edu.au (8.13.7/8.13.7/mail3) with ESMTP id k5U24roq008437; Fri, 30 Jun 2006 12:11:07 +1000 (EST) Received: from goanna.cs.rmit.edu.au (root@goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id k5U1sMtr028438; Fri, 30 Jun 2006 11:54:22 +1000 (EST) Received: from goanna.cs.rmit.edu.au (emil@localhost [127.0.0.1]) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.4/csnode) with ESMTP id k5U1sL6O023168; Fri, 30 Jun 2006 11:54:21 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.3/Submit) id k5U1sKgp023167; Fri, 30 Jun 2006 11:54:20 +1000 (EST) Date: Fri, 30 Jun 2006 11:54:20 +1000 From: Emil Mikulic To: Lena@lena.kiev.ua Message-ID: <20060630015420.GA22721@cs.rmit.edu.au> References: <44615A46.6020009@FreeBSD.org> <20060629110914.GA534@lena.kiev> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060629110914.GA534@lena.kiev> X-Operating-System: SunOS 5.10 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.44 Cc: freebsd-current@freebsd.org Subject: Re: kbdmux oddity ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 02:11:11 -0000 On Thu, Jun 29, 2006 at 02:09:14PM +0300, Lena@lena.kiev.ua wrote: > FreeBSD 6.1-RELEASE-p2, Abit BE6-II motherboard made in 2000 or 2001, > PS/2 keyboard, no USB keyboard. In console the Caps Lock key works, > but the Caps Lock LED doesn't lit up at all. In X the LED works OK. > > Adding hint.kbdmux.0.disabled="1" to /boot/device.hints > made the Caps Lock LED to work in console again. Funny you should mention this... I still have hint.atkbd.0.disabled="1" and with a kernel from about Jun 23 my keyboard LEDs only work in text mode, not in X. So wacky... --Emil From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 02:57:50 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 425FB16A415; Fri, 30 Jun 2006 02:57:50 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7BC643D68; Fri, 30 Jun 2006 02:57:49 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Thu, 29 Jun 2006 19:57:42 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 31BCD45047; Thu, 29 Jun 2006 19:57:42 -0700 (PDT) To: Jung-uk Kim In-reply-to: Your message of "Thu, 29 Jun 2006 20:59:45 EDT." <200606292059.47722.jkim@FreeBSD.org> Date: Thu, 29 Jun 2006 19:57:42 -0700 From: "Kevin Oberman" Message-Id: <20060630025742.31BCD45047@ptavv.es.net> Cc: freebsd-current@FreeBSD.org Subject: Re: Unable to build acpi_asus module on current today X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 02:57:50 -0000 > From: Jung-uk Kim > Date: Thu, 29 Jun 2006 20:59:45 -0400 > > On Thursday 29 June 2006 07:30 pm, Kevin Oberman wrote: > > Today I tried rebuilding my laptop running current. Building the > > kernel module acpi_asus, the build bombed with the error: > > ===> acpi_asus (all) > > cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE > > -nostdinc -I- > > -I/usr/src/sys/modules/acpi/acpi_asus/../../../contrib/dev/acpica > > -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > > inline-unit-growth=100 --param large-function-growth=1000 > > -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 > > -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding > > -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > -fformat-extensions -c /usr/src/sys/modules > > /acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c > > /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_ > >asus.c: In function `acpi_asus_attach': > > /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_ > >asus.c:584: error: 'for' loop initial declaration used outside C99 > > mode > > > > But this module has not been touched since April and I have built > > all of it many times since then. Several other modules seem to have > > the same problem of declaring a variable in a for statement. > > > > I moved the declaration to its own statement before the "for" and > > it compiles fine. > > > > Did some compiler default recently change? I have no compile > > options on my make.conf. > > Yes: > > http://docs.freebsd.org/cgi/mid.cgi?200606292115.k5TLFQch022605 > > A quick fix: > > Index: sys/conf/kmod.mk > =================================================================== > RCS file: /home/ncvs/src/sys/conf/kmod.mk,v > retrieving revision 1.208 > diff -u -r1.208 kmod.mk > --- sys/conf/kmod.mk 27 May 2006 16:32:05 -0000 1.208 > +++ sys/conf/kmod.mk 30 Jun 2006 00:57:37 -0000 > @@ -85,8 +85,10 @@ > .if ${CC} == "icc" > NOSTDINC= -X > .else > +C_DIALECT= -std=c99 > NOSTDINC= -nostdinc > .endif > +CFLAGS+= ${C_DIALECT} > CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} -I- ${INCLMAGIC} ${CFLAGS:M-I*} > .if defined(KERNBUILDDIR) > CFLAGS+= -DHAVE_KERNEL_OPTION_HEADERS -include ${KERNBUILDDIR}/opt_global.h Jung-uk, Thanks you so much. I might have found this, but it would have taken a long time! Looks like this needs to be fixed in the base system or all of the modules need to be checked and fixed to compile with the new flags. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 05:18:23 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26C6B16A40F; Fri, 30 Jun 2006 05:18:23 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9C3243D48; Fri, 30 Jun 2006 05:18:22 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.6/8.13.6) with ESMTP id k5U5ILw4024889; Fri, 30 Jun 2006 01:18:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.13.4P/8.13.4) with ESMTP id k5U5ILs3057681; Fri, 30 Jun 2006 01:18:21 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 300807302F; Fri, 30 Jun 2006 01:18:21 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20060630051821.300807302F@freebsd-current.sentex.ca> Date: Fri, 30 Jun 2006 01:18:21 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on clamscanner3 X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 05:18:23 -0000 TB --- 2006-06-30 03:45:44 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-06-30 03:45:44 - starting HEAD tinderbox run for i386/i386 TB --- 2006-06-30 03:45:44 - cleaning the object tree TB --- 2006-06-30 03:46:18 - checking out the source tree TB --- 2006-06-30 03:46:18 - cd /tinderbox/HEAD/i386/i386 TB --- 2006-06-30 03:46:18 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-06-30 03:54:16 - building world (CFLAGS=-O2 -pipe) TB --- 2006-06-30 03:54:16 - cd /src TB --- 2006-06-30 03:54:16 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2006-06-30 05:01:30 - generating LINT kernel config TB --- 2006-06-30 05:01:30 - cd /src/sys/i386/conf TB --- 2006-06-30 05:01:30 - /usr/bin/make -B LINT TB --- 2006-06-30 05:01:30 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2006-06-30 05:01:30 - cd /src TB --- 2006-06-30 05:01:30 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jun 30 05:01:31 UTC 2006 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] touch export_syms awk -f /src/sys/modules/acpi/acpi/../../../conf/kmod_syms.awk acpi.kld export_syms | xargs -J% objcopy % acpi.kld ld -Bshareable -d -warn-common -o acpi.ko acpi.kld objcopy --strip-debug acpi.ko ===> acpi/acpi_asus (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I/src/sys/modules/acpi/acpi_asus/../../../contrib/dev/acpica -DHAVE_KERNEL_OPTION_HEADERS -include /obj/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/obj/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c /src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c: In function `acpi_asus_attach': /src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c:584: error: 'for' loop initial declaration used outside C99 mode *** Error code 1 Stop in /src/sys/modules/acpi/acpi_asus. *** Error code 1 Stop in /src/sys/modules/acpi. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2006-06-30 05:18:20 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-06-30 05:18:20 - ERROR: failed to build lint kernel TB --- 2006-06-30 05:18:20 - tinderbox aborted TB --- 1.16 user 5.89 system 5556.95 real From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 06:29:44 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C4216A403 for ; Fri, 30 Jun 2006 06:29:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C19B943E85 for ; Fri, 30 Jun 2006 06:29:43 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [IPv6:::1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k5U6SOeA085625; Fri, 30 Jun 2006 00:28:25 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 30 Jun 2006 00:28:25 -0600 (MDT) Message-Id: <20060630.002825.-345494538.imp@bsdimp.com> To: frank@pinky.sax.de From: "M. Warner Losh" In-Reply-To: <200606271232.k5RCWqV4042089@pinky.frank-behrens.de> References: <200606271232.k5RCWqV4042089@pinky.frank-behrens.de> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: sio(4) should on probe return BUS_PROBE_GENERIC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 06:29:44 -0000 In message: <200606271232.k5RCWqV4042089@pinky.frank-behrens.de> "Frank Behrens" writes: : Dear FreeBSD experts and committers, : : I would like to direct your attention to a PR again, because I believe between 6.1 and 6.2 : release you have time to read this mail ;-) : : I plan to public release my EIB driver as a port, but it does not run yet on an unpatched : system. So solve this problem I created a PR several months ago: : http://www.freebsd.org/cgi/query-pr.cgi?pr=87845 : : Discussion about the topic was already in : http://docs.freebsd.org/cgi/mid.cgi?200510210835.j9L8Zn2P001846 : http://docs.freebsd.org/cgi/mid.cgi?20051022.103242.98606517.imp : and referenced messages, but nothing was changed in sio driver. : : Now I ask for information: : Is it possible to commit this changes? I have been using this patch on RELENG_6 since Aug- : 2005 without problems. I would like to have this (or equivalent) patch commited in CURRENT : and MFCed to RELENG_6 before 6.2-release. : If there are objections against this patch how should I solve my problem? I think you are right. A quick audit seems to indicate that while sio sets stuff in its probe routine, it is all re-set in the attach routine. A more complete audit might reveal something else... Warner From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 06:48:09 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7974F16A412; Fri, 30 Jun 2006 06:48:09 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1876A43D48; Fri, 30 Jun 2006 06:48:08 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9]) by smarthost2.sentex.ca (8.13.6/8.13.4) with ESMTP id k5U6m7ep055842; Fri, 30 Jun 2006 02:48:07 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.13.6/8.13.6) with ESMTP id k5U6m8QZ025788; Fri, 30 Jun 2006 02:48:08 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C6A917302F; Fri, 30 Jun 2006 02:48:07 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20060630064807.C6A917302F@freebsd-current.sentex.ca> Date: Fri, 30 Jun 2006 02:48:07 -0400 (EDT) X-Virus-Scanned: ClamAV version 0.88.1, clamav-milter version 0.88.1 on clamscanner3 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on i386/pc98 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 06:48:09 -0000 TB --- 2006-06-30 05:18:21 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2006-06-30 05:18:21 - starting HEAD tinderbox run for i386/pc98 TB --- 2006-06-30 05:18:21 - cleaning the object tree TB --- 2006-06-30 05:18:52 - checking out the source tree TB --- 2006-06-30 05:18:52 - cd /tinderbox/HEAD/i386/pc98 TB --- 2006-06-30 05:18:52 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2006-06-30 05:26:05 - building world (CFLAGS=-O2 -pipe) TB --- 2006-06-30 05:26:05 - cd /src TB --- 2006-06-30 05:26:05 - /usr/bin/make -B buildworld >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything TB --- 2006-06-30 06:33:16 - generating LINT kernel config TB --- 2006-06-30 06:33:16 - cd /src/sys/pc98/conf TB --- 2006-06-30 06:33:16 - /usr/bin/make -B LINT TB --- 2006-06-30 06:33:16 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2006-06-30 06:33:16 - cd /src TB --- 2006-06-30 06:33:16 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jun 30 06:33:17 UTC 2006 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ld -Bshareable -d -warn-common -o atacbus.ko atacbus.kld objcopy --strip-debug atacbus.ko ===> ata/atapci (all) cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /obj/pc98/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/obj/pc98/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /src/sys/modules/ata/atapci/../../../dev/ata/ata-pci.c cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /obj/pc98/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/obj/pc98/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /src/sys/modules/ata/atapci/../../../dev/ata/ata-dma.c cc -O2 -pipe -DPC98 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /obj/pc98/src/sys/LINT/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -I/obj/pc98/src/sys/LINT -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c /src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c: In function `ata_marvell_begin_transaction': /src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:2515: warning: integer constant is too large for "long" type *** Error code 1 Stop in /src/sys/modules/ata/atapci. *** Error code 1 Stop in /src/sys/modules/ata. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/pc98/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2006-06-30 06:48:07 - WARNING: /usr/bin/make returned exit code 1 TB --- 2006-06-30 06:48:07 - ERROR: failed to build lint kernel TB --- 2006-06-30 06:48:07 - tinderbox aborted TB --- 1.04 user 5.80 system 5386.37 real From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 06:59:35 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B99C16A40F for ; Fri, 30 Jun 2006 06:59:35 +0000 (UTC) (envelope-from crapsh@MonkeyBrains.NET) Received: from mail.monkeybrains.net (mail.simplestar.com [207.7.142.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F29F441DE for ; Fri, 30 Jun 2006 06:59:33 +0000 (GMT) (envelope-from crapsh@MonkeyBrains.NET) Received: from [10.0.1.6] (c-71-198-108-137.hsd1.ca.comcast.net [71.198.108.137]) (authenticated bits=0) by mail.monkeybrains.net (8.13.7/8.13.7) with ESMTP id k5U6xVCH047472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 29 Jun 2006 23:59:32 -0700 (PDT) (envelope-from crapsh@MonkeyBrains.NET) Message-ID: <44A4CBE1.9060205@MonkeyBrains.NET> Date: Thu, 29 Jun 2006 23:59:45 -0700 From: MonkeyBrains User-Agent: Thunderbird 1.5.0.4 (Macintosh/20060530) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on mail.monkeybrains.net X-Virus-Status: Clean Subject: one liner to clean up your /usr/ports/distfiles X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 06:59:35 -0000 Ever notice your /usr/ports/distfiles bloats after several years of updating the same box? You know those 5 year old drives are about to fail, but, if you want to clean them up a bit, I like this: cd /usr/ports/distfiles perl -e 'while (<*>) { chomp(); $p = $_; $p =~ s/\-\d+\..*// or next; unlink $X if $X =~ /^$p/; $X = $_;}' Removes the lower version number of 'double' source files, like these: -rw-r--r-- 1 root wheel 1282627 Sep 12 2005 tiff-3.7.4.tar.gz -rw-r--r-- 1 root wheel 1336295 Mar 23 07:15 tiff-3.8.2.tar.gz Rudy From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 07:49:59 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87AEC16A514 for ; Fri, 30 Jun 2006 07:49:59 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A9644401 for ; Fri, 30 Jun 2006 07:28:25 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.92] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.6/8.13.6) with ESMTP id k5U7SMVf056149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Jun 2006 00:28:23 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <44A4D28D.6090305@FreeBSD.org> Date: Fri, 30 Jun 2006 00:28:13 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: MonkeyBrains References: <44A4CBE1.9060205@MonkeyBrains.NET> In-Reply-To: <44A4CBE1.9060205@MonkeyBrains.NET> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org Subject: Re: one liner to clean up your /usr/ports/distfiles X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 07:49:59 -0000 That's why we have ports/Tools/scripts/distclean.sh for 5 years now. -Maxim MonkeyBrains wrote: > > Ever notice your /usr/ports/distfiles bloats after several years of > updating the same box? > You know those 5 year old drives are about to fail, but, if you want to > clean them up a bit, I like this: > > cd /usr/ports/distfiles > perl -e 'while (<*>) { chomp(); $p = $_; $p =~ s/\-\d+\..*// or next; > unlink $X if $X =~ /^$p/; $X = $_;}' > > Removes the lower version number of 'double' source files, like these: > -rw-r--r-- 1 root wheel 1282627 Sep 12 2005 tiff-3.7.4.tar.gz > -rw-r--r-- 1 root wheel 1336295 Mar 23 07:15 tiff-3.8.2.tar.gz > > Rudy > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 09:00:06 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A12216A47E for ; Fri, 30 Jun 2006 09:00:06 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 629BE4482E for ; Fri, 30 Jun 2006 09:00:04 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k5U8xvQS078292; Fri, 30 Jun 2006 11:59:57 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Fri, 30 Jun 2006 11:59:57 +0300 (EEST) From: Dmitry Pryanishnikov To: MonkeyBrains In-Reply-To: <44A4CBE1.9060205@MonkeyBrains.NET> Message-ID: <20060630115131.E65713@atlantis.atlantis.dp.ua> References: <44A4CBE1.9060205@MonkeyBrains.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org Subject: Re: one liner to clean up your /usr/ports/distfiles X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 09:00:06 -0000 Hello! On Thu, 29 Jun 2006, MonkeyBrains wrote: > Ever notice your /usr/ports/distfiles bloats after several years of updating > the same box? > You know those 5 year old drives are about to fail, but, if you want to > clean them up a bit, I like this: > > cd /usr/ports/distfiles > perl -e 'while (<*>) { chomp(); $p = $_; $p =~ s/\-\d+\..*// or next; unlink > $X if $X =~ /^$p/; $X = $_;}' > > Removes the lower version number of 'double' source files, like these: > -rw-r--r-- 1 root wheel 1282627 Sep 12 2005 tiff-3.7.4.tar.gz > -rw-r--r-- 1 root wheel 1336295 Mar 23 07:15 tiff-3.8.2.tar.gz 1. FreeBSD-ports@freebsd.org list suits better for such a letter. 2. Your approach is not correct, because there are many ports which _do_ refer different versions of the same product. Just now: Port name Distfiles lang/gcc33 gcc-core-3.3.6.tar.bz2 ... lang/gcc34 gcc-core-3.4.6.tar.bz2 ... lang/gcc40 gcc-core-4.0-20060622.tar.bz2 ... lang/gcc41 gcc-core-4.1-20060623.tar.bz2 ... For the _correct_ approach, see, e.g., portsclean -D which comes with the port sysutils/portupgrade. > Rudy Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 09:09:17 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6530516A40F for ; Fri, 30 Jun 2006 09:09:17 +0000 (UTC) (envelope-from mb@imp.ch) Received: from smtp.imp.ch (mx2.imp.ch [157.161.9.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0BCD4482E for ; Fri, 30 Jun 2006 09:09:15 +0000 (GMT) (envelope-from mb@imp.ch) Received: from godot.imp.ch (godot.imp.ch [157.161.4.8]) by smtp.imp.ch (8.13.7/8.13.7/Submit) with ESMTP id k5U99Am6083596 for ; Fri, 30 Jun 2006 11:09:14 +0200 (CEST) (envelope-from mb@imp.ch) Date: Fri, 30 Jun 2006 11:09:09 +0200 (CEST) From: Martin Blapp To: freebsd-current@freebsd.org Message-ID: <20060630101132.S14714@godot.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.57 on 157.161.9.65 Subject: Please help reviewing ! Got another crash because of the ttymodem() / ttyclose() race X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 09:09:17 -0000 Hi all, This time its FreeBSD 5.5 RELEASE. Same code is in 6.X (which crashed on a different server 5 days ago) and CURRENT. #25 0xc064f4bd in ttymodem () #26 0xc06532bd in ptcclose () #27 0xc05e4e14 in spec_close () #28 0xc05e3edf in spec_vnoperate () #29 0xc06815e0 in vn_close () #30 0xc06825f2 in vn_closefile () #31 0xc0601ba4 in fdrop_locked () #32 0xc0601af1 in fdrop () #33 0xc060015b in closef () #34 0xc05fd5e5 in close () #35 0xc07c5e97 in syscall () Can PLEASE PLEASE someone help me fix this problem and review the patch ? The patch is based on Max Laiers tty.t_pgrp patch. http://mx.imp.ch/patch-tty.t_pgrp.diff Especially the part in ttyinfo() needs to be reviewed carefully. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 07:57:50 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9288816A403 for ; Fri, 30 Jun 2006 07:57:50 +0000 (UTC) (envelope-from vadimnuclight@tpu.ru) Received: from relay1.tpu.ru (relay1.tpu.ru [213.183.112.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77F9D43D45 for ; Fri, 30 Jun 2006 07:57:49 +0000 (GMT) (envelope-from vadimnuclight@tpu.ru) Received: by relay1.tpu.ru (Postfix, from userid 501) id EE44211C309; Fri, 30 Jun 2006 14:57:46 +0700 (NOVST) Received: from mail.main.tpu.ru (mail.main.tpu.ru [10.0.0.3]) by relay1.tpu.ru (Postfix) with ESMTP id D4F7011C305; Fri, 30 Jun 2006 14:57:46 +0700 (NOVST) Received: from mail.tpu.ru ([213.183.112.105]) by mail.main.tpu.ru with Microsoft SMTPSVC(6.0.3790.1830); Fri, 30 Jun 2006 14:57:46 +0700 Received: from nuclight.avtf.net ([82.117.64.107]) by mail.tpu.ru over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 30 Jun 2006 14:57:45 +0700 To: MonkeyBrains , freebsd-current@freebsd.org References: <44A4CBE1.9060205@MonkeyBrains.NET> Message-ID: From: "Vadim Goncharov" Organization: AVTF TPU Hostel Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Fri, 30 Jun 2006 14:56:49 +0700 In-Reply-To: <44A4CBE1.9060205@MonkeyBrains.NET> User-Agent: Opera M2/7.54 (Win32, build 3865) X-OriginalArrivalTime: 30 Jun 2006 07:57:46.0164 (UTC) FILETIME=[DFA1BF40:01C69C1A] X-Mailman-Approved-At: Fri, 30 Jun 2006 11:43:38 +0000 Cc: Subject: Re: one liner to clean up your /usr/ports/distfiles X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 07:57:50 -0000 30.06.06 @ 13:59 MonkeyBrains wrote: > Ever notice your /usr/ports/distfiles bloats after several years of > updating the same box? > You know those 5 year old drives are about to fail, but, if you want to > clean them up a bit, I like this: > > cd /usr/ports/distfiles > perl -e 'while (<*>) { chomp(); $p = $_; $p =~ s/\-\d+\..*// or next; > unlink $X if $X =~ /^$p/; $X = $_;}' > > Removes the lower version number of 'double' source files, like these: > -rw-r--r-- 1 root wheel 1282627 Sep 12 2005 tiff-3.7.4.tar.gz > -rw-r--r-- 1 root wheel 1336295 Mar 23 07:15 tiff-3.8.2.tar.gz portsclean -D This one-liner removes even more older distfiles. -- WBR, Vadim Goncharov From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 08:30:57 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D36816A407 for ; Fri, 30 Jun 2006 08:30:57 +0000 (UTC) (envelope-from casper@mail.web.am) Received: from mx1.web.am (mx1.web.am [217.113.0.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 913F844288 for ; Fri, 30 Jun 2006 08:30:55 +0000 (GMT) (envelope-from casper@mail.web.am) Received: from antispam (localhost.web.am [127.0.0.1]) by localhost (Postfix) with ESMTP id CEDFE61C59 for ; Fri, 30 Jun 2006 13:30:18 +0500 (AMST) Received: from localhost (localhost.web.am [127.0.0.1]) by localhost (Postfix) with SMTP id 234F561C57; Fri, 30 Jun 2006 13:30:18 +0500 (AMST) Received: from [192.168.2.123] (host-195-250-88-228.customer.arminco.com [195.250.88.228]) by mx1.web.am (Postfix) with ESMTP id 8351C61C50; Fri, 30 Jun 2006 13:30:16 +0500 (AMST) Message-ID: <44A4E135.8070708@mail.web.am> Date: Fri, 30 Jun 2006 13:30:45 +0500 From: Gaspar Chilingarov User-Agent: Thunderbird 1.5.0.2 (X11/20060528) MIME-Version: 1.0 To: Maxim Sobolev References: <44A4CBE1.9060205@MonkeyBrains.NET> <44A4D28D.6090305@FreeBSD.org> In-Reply-To: <44A4D28D.6090305@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx1.web.am X-Spam-Status: No, hits=0.0 required=7.5 tests=none autolearn=no version=2.60 X-Spam-Level: X-Mailman-Approved-At: Fri, 30 Jun 2006 11:43:58 +0000 Cc: freebsd-current@FreeBSD.org, MonkeyBrains Subject: Re: one liner to clean up your /usr/ports/distfiles X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 08:30:57 -0000 there is also portsclean from portupdate port /Gaspar From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 13:33:42 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17A3116A412 for ; Fri, 30 Jun 2006 13:33:42 +0000 (UTC) (envelope-from jonathan@fosburgh.org) Received: from pop-borzoi.atl.sa.earthlink.net (pop-borzoi.atl.sa.earthlink.net [207.69.195.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id AADB244DEA for ; Fri, 30 Jun 2006 13:33:41 +0000 (GMT) (envelope-from jonathan@fosburgh.org) Received: from user-0cet64e.cable.mindspring.com ([24.238.152.142] helo=gw.fosburgh.org) by pop-borzoi.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1FwJ7t-0004Wa-00 for current@freebsd.org; Fri, 30 Jun 2006 09:33:41 -0400 Received: by gw.fosburgh.org (Postfix, from userid 1001) id B783950; Fri, 30 Jun 2006 08:34:35 -0500 (CDT) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on gw.fosburgh.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.3 Received: from jef-nt.mdacc.tmc.edu (jef-nt.mdacc.tmc.edu [143.111.32.188]) by gw.fosburgh.org (Postfix) with ESMTP id 19BEA3D for ; Fri, 30 Jun 2006 08:34:34 -0500 (CDT) From: Jonathan Fosburgh To: current@freebsd.org Date: Fri, 30 Jun 2006 08:33:25 -0500 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1982179.eHYooFHnMA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606300833.36152.jonathan@fosburgh.org> Cc: Subject: Build failure on -HEAD this morning X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 13:33:42 -0000 --nextPart1982179.eHYooFHnMA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I am trying to update my system running -CURRENT but right now I am getting= a=20 build failure in the kernel. Here is there relevent section... =3D=3D=3D> 3dfx (all) =3D=3D=3D> 3dfx_linux (all) =3D=3D=3D> aac (all) =3D=3D=3D> aac/aac_linux (all) =3D=3D=3D> accf_data (all) =3D=3D=3D> accf_http (all) =3D=3D=3D> acpi (all) =3D=3D=3D> acpi/acpi (all) =3D=3D=3D> acpi/acpi_asus (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc = =2DI- -I/usr/src/sys/modules/acpi/acpi_asus/../../../contrib/dev/acpica -D= HAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/vmbsd/opt_global.h= -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param=20 inline-unit-growth=3D100 --param=20 large-function-growth=3D1000 -fno-common -g -I/usr/obj/usr/src/sys/vmbsd -m= no-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -= mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested= =2Dexterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winli= ne -Wcast-qual -Wundef -fformat-extensions -c /usr/src/sys/modules/acpi/ac= pi_asus/../../../dev/acpi_support/acpi_asus.c /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c: = In=20 function `acpi_asus_attach': /usr/src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c:5= 84:=20 error: 'for' loop initial declaration used outside C99 mode *** Error code 1 I do not immediately see anything wrong with this section of the file. =20 =2D-=20 Jonathan Fosburgh AIX and Storage Administrator UT MD Anderson Cancer Center Houston, TX --nextPart1982179.eHYooFHnMA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEpSgwqUvQmqp7omYRAhA0AJ9FSLWkVQw1H5roocvP/DOjcbjHPgCfcrms +65a9E+f7reVrOf2vQvy4+g= =eU0S -----END PGP SIGNATURE----- --nextPart1982179.eHYooFHnMA-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 16:40:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 62F6416A407 for ; Fri, 30 Jun 2006 16:40:13 +0000 (UTC) (envelope-from rrs@cisco.com) Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3328143D6E for ; Fri, 30 Jun 2006 16:40:11 +0000 (GMT) (envelope-from rrs@cisco.com) Received: from sj-dkim-1.cisco.com ([171.71.179.21]) by sj-iport-6.cisco.com with ESMTP; 30 Jun 2006 09:40:11 -0700 Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id k5UGeBdi010943 for ; Fri, 30 Jun 2006 09:40:11 -0700 Received: from xbh-sjc-211.amer.cisco.com (xbh-sjc-211.cisco.com [171.70.151.144]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id k5UGe6kw002331 for ; Fri, 30 Jun 2006 09:40:10 -0700 (PDT) Received: from xfe-sjc-211.amer.cisco.com ([171.70.151.174]) by xbh-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 30 Jun 2006 09:40:10 -0700 Received: from [127.0.0.1] ([171.68.225.134]) by xfe-sjc-211.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 30 Jun 2006 09:40:09 -0700 Message-ID: <44A553E9.6090802@cisco.com> Date: Fri, 30 Jun 2006 12:40:09 -0400 From: Randall Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Jun 2006 16:40:09.0921 (UTC) FILETIME=[D9F78310:01C69C63] DKIM-Signature: a=rsa-sha1; q=dns; l=642; t=1151685611; x=1152549611; c=relaxed/simple; s=sjdkim1001; h=From:Subject; d=cisco.com; i=rrs@cisco.com; z=From:Randall=20Stewart=20 |Subject:SCTP=20patch; X=v=3Dcisco.com=3B=20h=3D2HteYJA4XHnBDXLXdf3z1H7UNrQ=3D; b=k0r+wFO82ghOolpwkBaBH2BIucDkCM5KFVV3rlM18VzmcZcvtb4FPHAAbaMQWo+vIChWkJnj cxmX/5EBNKaGnBP/obBfVncg0sMKp1fl5f0VLIO2UyYARJRhebXfgvV2; Authentication-Results: sj-dkim-1.cisco.com; header.From=rrs@cisco.com; dkim=pass ( sig from cisco.com verified; ); Cc: Subject: SCTP patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 16:40:13 -0000 Hi all: Please find a patch http://www.sctp.org/cvs_diff_6_30.bz2 that will add SCTP to your current view.. it compiles (at least the SCTP stuff .. up to this morning's breakage)... I compiled the whole lot yesterday.. but that was before I updated :-D You will want to make sysent in kern to get all the syscall's in order... If you want the libsctp.a send me an email (the extended socket api calls for sctp)... I have not yet figured out where it belongs :-D And if you have any problem with the patch let me know.. R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 815-342-5222 (cell) From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 17:44:04 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7350C16A403; Fri, 30 Jun 2006 17:44:04 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97A5443D4; Fri, 30 Jun 2006 17:44:03 +0000 (GMT) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id k5UHi3vb058024; Fri, 30 Jun 2006 10:44:03 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id k5UHi3AE058023; Fri, 30 Jun 2006 10:44:03 -0700 (PDT) (envelope-from david) Date: Fri, 30 Jun 2006 10:44:02 -0700 From: David Wolfskill To: FreeBSD Tinderbox Message-ID: <20060630174402.GB16552@bunrab.catwhisker.org> Mail-Followup-To: David Wolfskill , FreeBSD Tinderbox , current@freebsd.org, i386@freebsd.org References: <20060630051821.300807302F@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BeiMt4EphvRJ5ehf" Content-Disposition: inline In-Reply-To: <20060630051821.300807302F@freebsd-current.sentex.ca> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org, i386@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 17:44:04 -0000 --BeiMt4EphvRJ5ehf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 30, 2006 at 01:18:21AM -0400, FreeBSD Tinderbox wrote: > ... > /src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c:584= : error: 'for' loop initial declaration used outside C99 mode > *** Error code 1 OK; I got that with thsi morning's build on my laptop, but not on yesterday's. I don't have a fix, but here's a complete list of each file that changed in the interim on my laptop: share/man/man4/sched_core.4 sys/conf/files.ia64 sys/conf/kern.mk sys/conf/kern.pre.mk sys/dev/puc/puc.c sys/dev/puc/puc_cfg.c sys/dev/puc/puc_pccard.c sys/dev/puc/puc_pci.c sys/dev/puc/pucdata.c sys/dev/sio/sio.c sys/ia64/ia64/emulate.c sys/ia64/ia64/trap.c sys/ia64/include/md_var.h sys/kern/kern_thread.c sys/kern/sched_4bsd.c sys/kern/sched_core.c sys/kern/sysv_sem.c sys/net/if.c sys/net/if_atmsubr.c sys/net/if_stf.c sys/net/if_tun.c sys/netinet/if_ether.c sys/netinet/in_pcb.c sys/netinet/ip_divert.c sys/netinet/ip_fw2.c sys/netinet/ip_output.c sys/netinet/tcp_input.c sys/netinet6/in6.c sys/netinet6/in6_pcb.c sys/netinet6/in6_var.h sys/nfsclient/bootp_subr.c sys/nfsclient/nfs_diskless.c usr.bin/tail/extern.h usr.bin/tail/forward.c usr.bin/tail/tail.1 usr.bin/tail/tail.c Of those, I suspect that the man pages can likely be excluded as suspects, as may many others. :-} But I need to get back to my paying job at the moment.... Peace, david --=20 David H. Wolfskill david@catwhisker.org Doing business with spammers only encourages them. Please boycott spammers. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --BeiMt4EphvRJ5ehf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkSlYuEACgkQmprOCmdXAD06owCeOsnvgk4hLoq3wJiV5HxC2wOL y90AnRbnyHXdUzGF9/xdpFbj6zs2otyR =V02I -----END PGP SIGNATURE----- --BeiMt4EphvRJ5ehf-- From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 18:11:05 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5538E16A403; Fri, 30 Jun 2006 18:11:05 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F9743D55; Fri, 30 Jun 2006 18:11:04 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id IBA74465; Fri, 30 Jun 2006 11:10:59 -0700 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id BDCD345047; Fri, 30 Jun 2006 11:10:58 -0700 (PDT) To: David Wolfskill In-reply-to: Your message of "Fri, 30 Jun 2006 10:44:02 PDT." <20060630174402.GB16552@bunrab.catwhisker.org> Date: Fri, 30 Jun 2006 11:10:58 -0700 From: "Kevin Oberman" Message-Id: <20060630181058.BDCD345047@ptavv.es.net> Cc: i386@freebsd.org, FreeBSD Tinderbox , current@freebsd.org Subject: Re: [head tinderbox] failure on i386/i386 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 18:11:05 -0000 > Date: Fri, 30 Jun 2006 10:44:02 -0700 > From: David Wolfskill > Sender: owner-freebsd-current@freebsd.org > > On Fri, Jun 30, 2006 at 01:18:21AM -0400, FreeBSD Tinderbox wrote: > > ... > > /src/sys/modules/acpi/acpi_asus/../../../dev/acpi_support/acpi_asus.c:584> : error: 'for' loop initial declaration used outside C99 mode > > *** Error code 1 > > OK; I got that with thsi morning's build on my laptop, but not on > yesterday's. > > I don't have a fix, but here's a complete list of each file that changed > in the interim on my laptop: > > share/man/man4/sched_core.4 > sys/conf/files.ia64 > sys/conf/kern.mk > sys/conf/kern.pre.mk > sys/dev/puc/puc.c > sys/dev/puc/puc_cfg.c > sys/dev/puc/puc_pccard.c > sys/dev/puc/puc_pci.c > sys/dev/puc/pucdata.c > sys/dev/sio/sio.c > sys/ia64/ia64/emulate.c > sys/ia64/ia64/trap.c > sys/ia64/include/md_var.h > sys/kern/kern_thread.c > sys/kern/sched_4bsd.c > sys/kern/sched_core.c > sys/kern/sysv_sem.c > sys/net/if.c > sys/net/if_atmsubr.c > sys/net/if_stf.c > sys/net/if_tun.c > sys/netinet/if_ether.c > sys/netinet/in_pcb.c > sys/netinet/ip_divert.c > sys/netinet/ip_fw2.c > sys/netinet/ip_output.c > sys/netinet/tcp_input.c > sys/netinet6/in6.c > sys/netinet6/in6_pcb.c > sys/netinet6/in6_var.h > sys/nfsclient/bootp_subr.c > sys/nfsclient/nfs_diskless.c > usr.bin/tail/extern.h > usr.bin/tail/forward.c > usr.bin/tail/tail.1 > usr.bin/tail/tail.c > > Of those, I suspect that the man pages can likely be excluded as > suspects, as may many others. :-} > > But I need to get back to my paying job at the moment.... > > Peace, > david Jung-uk Kim set a note to david that he missed kmod.mk when he added the dialect knob to the kernel make files. Here is his patch that fixed it for me: Index: sys/conf/kmod.mk =================================================================== RCS file: /home/ncvs/src/sys/conf/kmod.mk,v retrieving revision 1.208 diff -u -r1.208 kmod.mk --- sys/conf/kmod.mk 27 May 2006 16:32:05 -0000 1.208 +++ sys/conf/kmod.mk 30 Jun 2006 00:57:37 -0000 @@ -85,8 +85,10 @@ .if ${CC} == "icc" NOSTDINC= -X .else +C_DIALECT= -std=c99 NOSTDINC= -nostdinc .endif +CFLAGS+= ${C_DIALECT} CFLAGS:= ${CFLAGS:N-I*} ${NOSTDINC} -I- ${INCLMAGIC} ${CFLAGS:M-I*} .if defined(KERNBUILDDIR) CFLAGS+= -DHAVE_KERNEL_OPTION_HEADERS -include ${KERNBUILDDIR}/opt_global.h -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-current@FreeBSD.ORG Fri Jun 30 22:00:52 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25EE016A605 for ; Fri, 30 Jun 2006 22:00:52 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70C6D44127 for ; Fri, 30 Jun 2006 21:33:01 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k5ULWxHh031940; Fri, 30 Jun 2006 14:32:59 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k5ULWxUX031939; Fri, 30 Jun 2006 14:32:59 -0700 Date: Fri, 30 Jun 2006 14:32:59 -0700 From: Brooks Davis To: Garance A Drosihn Message-ID: <20060630213259.GA20670@odin.ac.hmc.edu> References: <4498D108.90907@rogers.com> <20060621053007.GA3320@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: Mike Jakubik , freebsd-current@freebsd.org, Justin Hibbits Subject: Re: ~/.hosts patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 22:00:52 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 21, 2006 at 08:09:53PM -0400, Garance A Drosihn wrote: > At 10:30 PM -0700 6/20/06, Brooks Davis wrote: > > > >It's useful for cases where you want to add shortcuts > >to hosts as a user or do interesting ssh port forwarding > >tricks in some weird cases where you must connect to > >localhost:port as remotehost:port due to client/server > >protocol bugs. >=20 > As far as interesting tricks for ssh, you should already > be able to do that with ~/.ssh/config. Note ~/.hosts > would only redirect the hostnames, and not ports. I use > ~/.ssh/config so that a plain '@host' request actually > goes to '@host:alternate-port', so-to-speak. I'm very familiar with .ssh/config and it's not sufficent for at least one server I know of. The problem is that the client must think it is connecting to server.fully.qualified.domain and do so by name because the name is passed to the server which misuses in in interesting ways. In particular, local servers can forward requests to remote servers and when "localhost" is passed the server makes new connections to "localhost" until the system runs out of file descriptors or socket buffers. The only way around this is to make server.fully.qualified.domain point to 127.0.0.1. What would actually be perfect in this case would be to modifiy getaddrinfo() to let you do host:port mappings as the DNS system designers obviously intended but never did beyond MX records, that's a whole different scope though. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEpZiKXY6L6fI4GtQRAqP5AKDU2MaTwqc8gIkEgqhnkk+hqXH9lACdEjlY cNf6lxrxIW647XwDIVpipDs= =7DDg -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 02:15:07 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E77616A40F for ; Sat, 1 Jul 2006 02:15:06 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 019F243D8C for ; Sat, 1 Jul 2006 02:14:31 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k612JmmZ013447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Jun 2006 22:19:54 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: =?iso-8859-1?q?S=F8ren_Schmidt?= Date: Fri, 30 Jun 2006 22:14:48 -0400 User-Agent: KMail/1.9.1 References: <200606161333.07522.mistry.7@osu.edu> <200606301712.07715.mistry.7@osu.edu> <44A598BC.20200@deepcore.dk> In-Reply-To: <44A598BC.20200@deepcore.dk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1440271.UKBfonIl87"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606302214.59249.mistry.7@osu.edu> X-Spam-Status: No, score=-3.5 required=5.0 tests=ALL_TRUSTED,BAYES_80, MYFREEBSD3 autolearn=no version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.2/1578/Fri Jun 30 05:34:32 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: freebsd-current@freebsd.org Subject: Re: After install - Fatal trap 18 ATA problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 02:15:07 -0000 --nextPart1440271.UKBfonIl87 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 30 June 2006 17:33, you wrote: > Anish Mistry wrote: > > On Friday 30 June 2006 16:54, you wrote: > >> Anish Mistry wrote: > >>>> No, it fell through the cracks somewhere... > >>>> > >>>> Do you still have the HW in question so tests can be done ? > >>> > >>> Yes, in the exact same configuration > >> > >> OK, so lets start over, I've not been following this, could you > >> get me a dmesg from a verbose booted system please ? > >> It fails because the disk geometry is invalid right ? > > > > http://am-productions.biz/docs/boot-panic-script.txt.gz > > > > The email I sent earlier today contains all of the details > > including the above link. Let me know if you need further > > clarification. > > OK, in ata-disk.c::ad_attach the following lines is around line > 100: > > if (atadev->param.atavalid & ATA_FLAG_54_58) { > adp->heads =3D atadev->param.current_heads; > adp->sectors =3D atadev->param.current_sectors; > adp->total_secs =3D (u_int32_t)atadev->param.current_size_1 | > ((u_int32_t)atadev->param.current_size_2 > << 16); } > else { > adp->heads =3D atadev->param.heads; > adp->sectors =3D atadev->param.sectors; > adp->total_secs =3D atadev->param.cylinders * adp->heads * > adp->sectors; > } > > It would seem that the wrong way of getting at the cyl/head/sector > is used for your disk. > My guess is that ->param.current_* isn't set correctly in your disk > (firmware / BIOS mishap), so we need to take the old defaults > instead. That is instead of relying on good values as the > ATA_FLAG_54_58 was supposed to say, we also need to check the > values for sane settings. > > I just love how hard it is to understand the word "shall" in > standards, sigh.... Changing that bit to the following fixed it and allows it to boot. if (atadev->param.atavalid & ATA_FLAG_54_58) { adp->heads =3D atadev->param.current_heads; adp->sectors =3D atadev->param.current_sectors; adp->total_secs =3D (u_int32_t)atadev->param.current_size_1 | ((u_int32_t)atadev->param.current_size_2 << 16); } if (!(atadev->param.atavalid & ATA_FLAG_54_58) || ((atadev->param.atavalid & ATA_FLAG_54_58) && (adp->heads =3D=3D 0 ||=20 adp->sectors =3D=3D 0))) { adp->heads =3D atadev->param.heads; adp->sectors =3D atadev->param.sectors; adp->total_secs =3D atadev->param.cylinders * adp->heads *=20 adp->sectors; =20 } Thanks, =2D-=20 Anish Mistry --nextPart1440271.UKBfonIl87 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEpdqjxqA5ziudZT0RAqCyAJ9bi750M+Me2IUGKie5Q015pDY60ACdGcZ1 ciJUC9k/xOZAW2D8tisqwQQ= =k3PI -----END PGP SIGNATURE----- --nextPart1440271.UKBfonIl87-- From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 08:53:02 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C779416A415 for ; Sat, 1 Jul 2006 08:53:02 +0000 (UTC) (envelope-from list@billxu.com) Received: from sina3-196.sina.net (sina3-196.sina.net [202.108.3.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06A7D44196 for ; Sat, 1 Jul 2006 08:53:01 +0000 (GMT) (envelope-from list@billxu.com) Received: (qmail 2181 invoked from network); 1 Jul 2006 08:52:53 -0000 Received: from unknown (HELO ?219.236.3.231?) (219.236.3.231) by 10.54.2.89 with SMTP; 1 Jul 2006 08:52:53 -0000 From: Bill Xu To: Arseny Nasokin In-Reply-To: <20060627015405.GQ32801@tarc.po.cs.msu.su> References: <44A07CB6.50604@billxu.com> <20060627015405.GQ32801@tarc.po.cs.msu.su> Content-Type: text/plain; charset=UTF-8 Organization: BILLXU.COM Date: Sat, 01 Jul 2006 16:52:42 +0800 Message-Id: <1151743962.4647.25.camel@zeuux.zeuux.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: the errors when updating FreeBSD from 6.0-RELEASE to 7.0-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 08:53:02 -0000 Dear Arseny, Thanks for your advice, and I didn't try to run make installkernel in the single user mode, but as the indication in /usr/src/Makefile, I can run it in the multiuser stat. So I think this is a small bug for FreeBSD CURRENT, and should be write in the UPDATING. Cheers, Bill Xu >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> # For individuals wanting to upgrade their sources (even if only a # delta of a few days): # # 1. `cd /usr/src' (or to the directory containing your source tree). # 2. `make buildworld' # 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). # [steps 3. & 4. can be combined by using the "kernel" target] # 5. `reboot' (in single user mode: boot -s from the loader prompt). # 6. `mergemaster -p' # 7. `make installworld' # 8. `make delete-old' # 9. `mergemaster' # 10. `reboot' # 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) 在 2006-06-27二的 05:54 +0400,Arseny Nasokin写é“: > On Tue, Jun 27, 2006 at 08:32:54AM +0800, Bill Xu wrote: > > Dear all, > > > > I installed FreeBSD 6.0-RELEASE, and then upgraded to 7.0-CURRENT. After > > # make buildworld and # make buildkernel, I run # make installkernel, > > during this stage, it'll use kldxref to generate hints for the kernel > > loader, but at that time the kldxref in FreeBSD 6.0 can't do this, it > > must use the kldxref from -CURRENT, so I have to install the new version > > kldxref manually. This is a contradiction. :(. But after I install > > kldxref, it didn't work still, because kldxref will use libc.so.7...... > > > > and then, I have to rum "# make installworld" before "# make > > installkernel". that's too bad. > > > > Bill Xu > > > You need fresh install. > AFAIK, kldxref(8) can be runned _after_ booting in single mode. > > > I use "fresh install" with all system updates(minor & major). I do it because -CURRENT changes too fast. > simple sheme is: > * > * update buildworld buildkernel > * installworld installkernel -DDESTDIR=/path/to/new/place > * etc merging (for example, by etcmerge(1)) > * boot fixing > * (optionally) port installing in chroot (or jail) with new system > * reboot > > From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 04:09:13 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CC9216A416 for ; Sat, 1 Jul 2006 04:09:13 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9916F43D49 for ; Sat, 1 Jul 2006 04:09:12 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k61499O7088559 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 1 Jul 2006 00:09:11 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.6/8.13.6/Submit) id k61499eT088558 for current@freebsd.org; Sat, 1 Jul 2006 00:09:09 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: current@freebsd.org Date: Sat, 1 Jul 2006 00:09:08 -0400 User-Agent: KMail/1.9.1 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" X-Mailman-Approved-At: Sat, 01 Jul 2006 11:17:59 +0000 Cc: Subject: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 04:09:13 -0000 Hello! I'm wondering, why the bfd and related bits and pieces of binutils are built to support only the architecture(s), that can natively run on the system? Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, or a binary from another FreeBSD or even from a non-FreeBSD system? The tools themselves support that. The sources (bfd-vectors) for all other supported architectures are part of the tree (under contrib/). So, why not build them? If it really is SO much of a bloat, why do we install gdb, etc. in the first place? -mi P.S. What I also want is the /lib/libbfd.so and friends, so I (and the 15 devel/*binutils ports) can build my own tools linking with it. Unfortunately, that too remains impossible... From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 11:55:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16D9B16A403 for ; Sat, 1 Jul 2006 11:55:30 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6541543D45 for ; Sat, 1 Jul 2006 11:55:29 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail02.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k61Bt8Gc020195 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 1 Jul 2006 21:55:08 +1000 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.6/8.13.6) with ESMTP id k61Bt8j9010920; Sat, 1 Jul 2006 21:55:08 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.6/8.13.6/Submit) id k61Bt8Gj010919; Sat, 1 Jul 2006 21:55:08 +1000 (EST) (envelope-from peter) Date: Sat, 1 Jul 2006 21:55:08 +1000 From: Peter Jeremy To: Mikhail Teterin Message-ID: <20060701115508.GC8447@turion.vk2pj.dyndns.org> References: <200607010009.09231@aldan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vOmOzSkFvhd7u8Ms" Content-Disposition: inline In-Reply-To: <200607010009.09231@aldan> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: current@freebsd.org Subject: Re: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 11:55:30 -0000 --vOmOzSkFvhd7u8Ms Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, 2006-Jul-01 00:09:08 -0400, Mikhail Teterin wrote: >I'm wondering, why the bfd and related bits and pieces of binutils are bui= lt=20 >to support only the architecture(s), that can natively run on the system? IMHO, the FreeBSD base system should provide tools for doing native development - anything beyond that belongs in ports. Given that binutils supports quite an extensive range of targets (of thr order of 100), building them all is impractical and a waste of resources for virtually everyone who uses FreeBSD. >Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, or = a=20 >binary from another FreeBSD or even from a non-FreeBSD system? You can if you install the relevant ports. >The tools themselves support that. The sources (bfd-vectors) for all other= =20 >supported architectures are part of the tree (under contrib/). So, why not= =20 >build them? My reading of contrib/binutils suggests that files for targets not related to FreeBSD are in the exclude/delete list and aren't imported into the FreeBSD repository. >If it really is SO much of a bloat, why do we install gdb, etc. in the fir= st=20 >place? I'm happy with buildworld building a toolchain that supports native development on FreeBSD. I have used FreeBSD for cross-development and I'm happy to manually install a toolchain to support the target I'm developing for. I'd be somewhat concerned if buildworld decided to build a toolchain that supported around several targets for each of around 100 different processors - the vast majority I'd never use. >P.S. What I also want is the /lib/libbfd.so and friends, so I (and the 15= =20 >devel/*binutils ports) can build my own tools linking with it. Unfortunate= ly,=20 >that too remains impossible... libbdf.a is built by /usr/src/gnu/usr.bin/binutils/libbfd/Makefile. That should be a fairly simple change to arrange for it to build and install the .so as well. --=20 Peter Jeremy --vOmOzSkFvhd7u8Ms Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEpmKb/opHv/APuIcRAp3zAKCvf+DrMn2O43v92eUexyxmYkNdYQCggByu BKgPKkH1wq+wEcGEMNPJ3iQ= =pMUw -----END PGP SIGNATURE----- --vOmOzSkFvhd7u8Ms-- From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 12:20:20 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F9AD16A403 for ; Sat, 1 Jul 2006 12:20:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1FB943D45 for ; Sat, 1 Jul 2006 12:20:19 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k61CK5LG073560 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Jul 2006 15:20:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k61CK58I039586; Sat, 1 Jul 2006 15:20:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k61CK53L039585; Sat, 1 Jul 2006 15:20:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 1 Jul 2006 15:20:05 +0300 From: Kostik Belousov To: Mikhail Teterin Message-ID: <20060701122005.GC37822@deviant.kiev.zoral.com.ua> References: <200607010009.09231@aldan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9Ek0hoCL9XbhcSqy" Content-Disposition: inline In-Reply-To: <200607010009.09231@aldan> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: current@freebsd.org Subject: Re: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 12:20:20 -0000 --9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 01, 2006 at 12:09:08AM -0400, Mikhail Teterin wrote: > Hello! >=20 > I'm wondering, why the bfd and related bits and pieces of binutils are bu= ilt=20 > to support only the architecture(s), that can natively run on the system? >=20 > Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, or= a=20 > binary from another FreeBSD or even from a non-FreeBSD system? >=20 > The tools themselves support that. The sources (bfd-vectors) for all othe= r=20 > supported architectures are part of the tree (under contrib/). So, why no= t=20 > build them? AFAIK, binutils can only support one architecture per invocation=A0of configuration scripts. I.e., you cannot have one gas binary that would provide both i386-elf and hppa-som targets. Correct me, if I'm wrong. --9Ek0hoCL9XbhcSqy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEpmh0C3+MBN1Mb4gRAp1uAKCZTXz8j/nC1y0uxIBVk4drVWKqHgCgyZyr gRXmLt9Lgnhu3ipKCNq0A7E= =Piu/ -----END PGP SIGNATURE----- --9Ek0hoCL9XbhcSqy-- From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 14:08:09 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A30BD16A407 for ; Sat, 1 Jul 2006 14:08:09 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BED243D45 for ; Sat, 1 Jul 2006 14:08:09 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 972365E6D; Sat, 1 Jul 2006 10:08:08 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lvOeuQbr7zoS; Sat, 1 Jul 2006 10:08:06 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-201-170.ny325.east.verizon.net [68.160.201.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 1C8235C2C; Sat, 1 Jul 2006 10:08:06 -0400 (EDT) Message-ID: <44A681C3.3000309@mac.com> Date: Sat, 01 Jul 2006 10:08:03 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Kostik Belousov References: <200607010009.09231@aldan> <20060701122005.GC37822@deviant.kiev.zoral.com.ua> In-Reply-To: <20060701122005.GC37822@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Mikhail Teterin Subject: Re: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 14:08:09 -0000 Kostik Belousov wrote: > On Sat, Jul 01, 2006 at 12:09:08AM -0400, Mikhail Teterin wrote: [ ... ] >> I'm wondering, why the bfd and related bits and pieces of binutils are built >> to support only the architecture(s), that can natively run on the system? >> >> Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, or a >> binary from another FreeBSD or even from a non-FreeBSD system? >> >> The tools themselves support that. The sources (bfd-vectors) for all other >> supported architectures are part of the tree (under contrib/). So, why not >> build them? > > AFAIK, binutils can only support one architecture per invocation of > configuration scripts. I.e., you cannot have one gas binary that would > provide both i386-elf and hppa-som targets. Correct me, if I'm wrong. You may be right for ELF, but there exist other binary formats like Mach-O which support "multiple-architecture binaries", and at one point, NeXT's version of the GNU compiler & binutils toolchain supported cross-compilation and debugging between any of x86, m68k, sparcv8 & hppa. PowerPC has obviously been added since, and I suspect that the HP/PA and maybe the SPARC have bit-rotted. For example, at one company the developers commonly ran on original NeXT hardware or the Canon Object.Station 41's, and would spawn remote builds for their native platform to an HP 735 which was used as a fast compile-server. When you wanted to do a final build for production or testing, you'd compile for all four architectures, rather than just yours. In order to get to this level, however, you needed to have all of the shared libraries and any other dynamicly-loaded resources for every supported architecture present on all of the machines involved, which typically added about 15-20% to executable filesize per arch. And for anything doing builds, you needed to have the header files for all platforms around, also. Note that the GNU tools themselves include a certain search path where they look for cross-compilation tools using long pathnames involving a tuple somewhat like the autoconf target specifier, something like: "toolname-vendor-arch-version" That much would still work on FreeBSD, but big issue comes in creating, importing, and updating the cross-platform shared resources in an organized fashion so that the GNU tools can find it, and there is a ton of glue work that goes into things like ld, ldd, ld.so.1, ar, and the Makefile infrastructure to fully support multi-architecture development. I'd be happy to help where I can with regard to this, but it's not a minor task-- there's a lot of moving pieces and work involved. -- -Chuck From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 14:20:52 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EACF216A40F for ; Sat, 1 Jul 2006 14:20:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA91C43D77 for ; Sat, 1 Jul 2006 14:20:36 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.4) with ESMTP id k61EKLHt076355 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Jul 2006 17:20:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k61EKLgb081666; Sat, 1 Jul 2006 17:20:21 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k61EKKxQ081665; Sat, 1 Jul 2006 17:20:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 1 Jul 2006 17:20:20 +0300 From: Kostik Belousov To: Chuck Swiger Message-ID: <20060701142020.GF37822@deviant.kiev.zoral.com.ua> References: <200607010009.09231@aldan> <20060701122005.GC37822@deviant.kiev.zoral.com.ua> <44A681C3.3000309@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LSp5EJdfMPwZcMS1" Content-Disposition: inline In-Reply-To: <44A681C3.3000309@mac.com> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on fw.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=ALL_TRUSTED, DNS_FROM_RFC_ABUSE,SPF_NEUTRAL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on fw.zoral.com.ua Cc: current@freebsd.org, Mikhail Teterin Subject: Re: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 14:20:53 -0000 --LSp5EJdfMPwZcMS1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 01, 2006 at 10:08:03AM -0400, Chuck Swiger wrote: > Kostik Belousov wrote: > >On Sat, Jul 01, 2006 at 12:09:08AM -0400, Mikhail Teterin wrote: > [ ... ] > >>I'm wondering, why the bfd and related bits and pieces of binutils are= =20 > >>built to support only the architecture(s), that can natively run on the= =20 > >>system? > >> > >>Why can't I use gdb or objdump on FreeBSD/i386 to analyze a core file, = or=20 > >>a binary from another FreeBSD or even from a non-FreeBSD system? > >> > >>The tools themselves support that. The sources (bfd-vectors) for all=20 > >>other supported architectures are part of the tree (under contrib/). So= ,=20 > >>why not build them? > > > >AFAIK, binutils can only support one architecture per invocation of > >configuration scripts. I.e., you cannot have one gas binary that would > >provide both i386-elf and hppa-som targets. Correct me, if I'm wrong. >=20 > You may be right for ELF, but there exist other binary formats like Mach-= O=20 > which support "multiple-architecture binaries", and at one point, NeXT's= =20 > version of the GNU compiler & binutils toolchain supported=20 > cross-compilation and debugging between any of x86, m68k, sparcv8 & hppa.= =20 > PowerPC has obviously been added since, and I suspect that the HP/PA and= =20 > maybe the SPARC have bit-rotted. >=20 > For example, at one company the developers commonly ran on original NeXT= =20 > hardware or the Canon Object.Station 41's, and would spawn remote builds= =20 > for their native platform to an HP 735 which was used as a fast=20 > compile-server. When you wanted to do a final build for production or=20 > testing, you'd compile for all four architectures, rather than just yours. >=20 > In order to get to this level, however, you needed to have all of the=20 > shared libraries and any other dynamicly-loaded resources for every=20 > supported architecture present on all of the machines involved, which=20 > typically added about 15-20% to executable filesize per arch. And for=20 > anything doing builds, you needed to have the header files for all=20 > platforms around, also. >=20 > Note that the GNU tools themselves include a certain search path where th= ey=20 > look for cross-compilation tools using long pathnames involving a tuple= =20 > somewhat like the autoconf target specifier, something like:=20 > "toolname-vendor-arch-version" Exactly, I have the impression that arch-vendor-system- is the way to go if several crosstools are needed simultaneously. And this is how GNU toolchain installs itself by default if cross-compiling. >=20 > That much would still work on FreeBSD, but big issue comes in creating,= =20 > importing, and updating the cross-platform shared resources in an organiz= ed=20 > fashion so that the GNU tools can find it, and there is a ton of glue wor= k=20 > that goes into things like ld, ldd, ld.so.1, ar, and the Makefile=20 > infrastructure to fully support multi-architecture development. Another issue is that, again AFAIK, interface between bfd and rest of binut= ils code is highly fragile and changes in subtle ways between versions. It is not supported and definitely causes bugs to mix bfd and the rest from different version of binutils. >=20 > I'd be happy to help where I can with regard to this, but it's not a mino= r=20 > task-- there's a lot of moving pieces and work involved. Completely agree. From my experience with cross-tools, I had to carefully select version of binutils and gcc for given target. And, sometimes, augment chosen version with patch found somewhere. As I see it, having specific ports for each arch, that is maintained individually, gives much less maintainance work. BTW, are there plans for updating binutils in the base system ? --LSp5EJdfMPwZcMS1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFEpoSjC3+MBN1Mb4gRAsd2AJ427786HlvKK2h4M4bE1A/kRQm8egCfUVwu 22Ak1POdAvegiPMo9Y5mstQ= =23Pw -----END PGP SIGNATURE----- --LSp5EJdfMPwZcMS1-- From owner-freebsd-current@FreeBSD.ORG Sat Jul 1 16:05:08 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 484F316A416 for ; Sat, 1 Jul 2006 16:05:08 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1209844044 for ; Sat, 1 Jul 2006 15:02:33 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 4F31F5DD8; Sat, 1 Jul 2006 11:02:33 -0400 (EDT) X-Virus-Scanned: amavisd-new at codefab.com Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AB-qXvPB3PSl; Sat, 1 Jul 2006 11:02:32 -0400 (EDT) Received: from [192.168.1.251] (pool-68-160-201-170.ny325.east.verizon.net [68.160.201.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id AF8865CB5; Sat, 1 Jul 2006 11:02:31 -0400 (EDT) Message-ID: <44A68E85.9080207@mac.com> Date: Sat, 01 Jul 2006 11:02:29 -0400 From: Chuck Swiger User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Kostik Belousov References: <200607010009.09231@aldan> <20060701122005.GC37822@deviant.kiev.zoral.com.ua> <44A681C3.3000309@mac.com> <20060701142020.GF37822@deviant.kiev.zoral.com.ua> In-Reply-To: <20060701142020.GF37822@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Mikhail Teterin Subject: Re: weird limitation on the system's binutils X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 16:05:08 -0000 Kostik Belousov wrote: > On Sat, Jul 01, 2006 at 10:08:03AM -0400, Chuck Swiger wrote: [ ... ] >> Note that the GNU tools themselves include a certain search path where they >> look for cross-compilation tools using long pathnames involving a tuple >> somewhat like the autoconf target specifier, something like: >> "toolname-vendor-arch-version" > Exactly, I have the impression that arch-vendor-system- > is the way to go if several crosstools are needed simultaneously. > And this is how GNU toolchain installs itself by default if > cross-compiling. Agreed. The work isn't so much in the GNU tools-- they've been cross-compile aware for a long, long time to their credit, although the filename conventions and path lookups are becoming more ornate than functional as time passes. I start to worry a bit about the extra overhead that lurks behind replacing a real, compiled compiler executable with a shell script that globs hither and yon through the filesystem in a quest to find yet more shell-script wrappers or other forms of indirection. [1] >> That much would still work on FreeBSD, but big issue comes in creating, >> importing, and updating the cross-platform shared resources in an organized >> fashion so that the GNU tools can find it, and there is a ton of glue work >> that goes into things like ld, ldd, ld.so.1, ar, and the Makefile >> infrastructure to fully support multi-architecture development. > Another issue is that, again AFAIK, interface between bfd and rest of binutils > code is highly fragile and changes in subtle ways between versions. > It is not supported and definitely causes bugs to mix bfd and the rest > from different version of binutils. Yeah, NeXT/Apple has to sit on or be very careful updating changes to the tools once they'd pushed out a release and needed to maintain backward binary compatibility. FreeBSD seems to do OK with this, except for C++-- where changing the symbol mangling or some such with each point release seems to be common. >> I'd be happy to help where I can with regard to this, but it's not a minor >> task-- there's a lot of moving pieces and work involved. > Completely agree. From my experience with cross-tools, I had to > carefully select version of binutils and gcc for given target. And, > sometimes, augment chosen version with patch found somewhere. > As I see it, having specific ports for each arch, that is maintained > individually, gives much less maintainance work. > > BTW, are there plans for updating binutils in the base system ? -- -Chuck [1]: For example, no doubt there exists broken compilers somewhere, for which wrapping every build line in an "if cc $MUMBLE >/dev/null 2>&1; then exit 1" wrapper would be beneficial rather than counterproductive. Doing it by default on a Unix system with a working toolchain is silly, and obviously, hides any useful warnings or errors from being displayed if there was a problem. And then there's autoconf playing Sorcerer's Apprentice by testing for stuff that has no bearing on the program being built (ie, looking for a Fortran compiler or trying to find sizeof() random Windows datatypes when building C99 code that uses int32_t or whatnot)...