From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 01:14:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80F693B9 for ; Sun, 9 Jun 2013 01:14:02 +0000 (UTC) (envelope-from m.fujimoto@rocketmail.com) Received: from nm26-vm2.bullet.mail.sg3.yahoo.com (nm26-vm2.bullet.mail.sg3.yahoo.com [106.10.151.113]) by mx1.freebsd.org (Postfix) with ESMTP id CBB9412BF for ; Sun, 9 Jun 2013 01:14:01 +0000 (UTC) Received: from [106.10.166.119] by nm26.bullet.mail.sg3.yahoo.com with NNFMP; 09 Jun 2013 01:13:54 -0000 Received: from [106.10.167.133] by tm8.bullet.mail.sg3.yahoo.com with NNFMP; 09 Jun 2013 01:13:54 -0000 Received: from [127.0.0.1] by smtp106.mail.sg3.yahoo.com with NNFMP; 09 Jun 2013 01:13:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1370740433; bh=5DsRaX1SrNuu+pipoX4GVHgGIeA3u5C9UpmBgWS/Z/A=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Tz8kokVwWdE/6WZqHs+F+g7Bysb9WF5R3vT9nMVUcKqhnushn7e6rquj+xkN7x9QnDo4wyuoMcq4Dk0mGW37uCum1vP2KN+6/3gi5z8rPmpWPBloZKt5fGBj3XPE6g9sAU7ivAxsJuUE1Sk+/3SHWrClIGN01PwRZoRBMRVtlFA= X-Yahoo-Newman-Id: 985719.47594.bm@smtp106.mail.sg3.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: A1u_iAkVM1l1_rgYTbcSIP7tIyoGrKoJLtqv3Oi18AxtDcQ nHvZYJg4GqnHDCQqnW8hD.CnQRQbWGxKTei2V3Vh_JxmeUKchpjsn4GF.xqd 07vbaLcTWzmHGbd_.pKDNJTHKgP_PUXXeft4Rs39ku6tsBlj.kflnFr4ptY7 _3vwXfP_wQRwHI2RM0thkUhAh0GeFvrcZB1eMwb.F9TsAFyWvVLhNbhvs07h sqlCgbZubpsF68ve1hIESr6IgSL94y6k3o6PD2hk27ko7X2.sq2N_RhNKBFb qOMAQ1H7ZBTKHXXJ_MFaUq887paZVGVtKg9EPiek0poR7Uj_99XA8dySawcl ur277di7zntB9HELZ2TVLXy9tAaZ14a4i_tFZKf2Fjz.G.1yLguguB7Hu5nz O9JDZujE_NcEPSXbBxM03ooazBJztioHbRAwNSzEDsCyGK9RqREcvoJwhInz ZXpZKFvlwgxuoOJDIVAz9qmusBg-- X-Yahoo-SMTP: SEC3zYiswBD9sq45lcyyeQipExkn8zEko29uJv0vlQ7fgU5pYYw- X-Rocket-Received: from freebsd.example.ne.jp (m.fujimoto@116.70.244.192 with ) by smtp106.mail.sg3.yahoo.com with SMTP; 08 Jun 2013 18:13:53 -0700 PDT Date: Sun, 9 Jun 2013 10:13:52 +0900 From: Masayoshi Fujimoto To: freebsd-questions@freebsd.org Subject: upgrade qjail Message-Id: <20130609101352.a95d7cda3d1bccfa358e2182@rocketmail.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 01:14:02 -0000 Hi. Could you tell me how to upgrade qjail-1.7 to qjail-3.0 ? I can not start "www". So I have to use qjail-1.7 now. >_> root@freebsd:/root # pkg_info | grep qjail qjail-1.7 Utility to quickly deploy and manage jails root@freebsd:/root # jls JID IP Address Hostname Path 1 192.168.0.20 www /usr/jails/www root@freebsd:/root # portmaster qjail root@freebsd:/root # rehash root@freebsd:/root # pkg_info | grep qjail qjail-3.0 Utility to quickly deploy and manage jails root@freebsd:/root # reboot I got the following message. jail: qjail: path : not an absolute pathname Error: /usr/sbin/jail failed to start jail www. because of errors in jail.conf file. root@freebsd:/root # cat /etc/jail.conf qjail { host.hostname = "qjail"; path = ""; mount.fstab = ""; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.consolelog = "/var/log/qjail.qjail.console.log"; devfs_ruleset = "4"; allow.mount.devfs; } So I edited /etc/jail.conf : www { host.hostname = "www"; path = "/usr/jails/www"; mount.fstab = ""; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.consolelog = "/var/log/qjail.qjail.console.log"; devfs_ruleset = "4"; allow.mount.devfs; ip4.addr = 192.168.0.20; interface = "alc0"; } root@freebsd:/root # /usr/local/etc/rc.d/qjail.bootime restart jail: qjail: path : not an absolute pathname Error: /usr/sbin/jail failed to start jail www. because of errors in jail.conf file. I got same massage. My /etc/jail.conf has been changed default one. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 01:55:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 10CDAEE6 for ; Sun, 9 Jun 2013 01:55:35 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0050E1491 for ; Sun, 9 Jun 2013 01:55:34 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 8 Jun 2013 18:55:29 -0700 Message-ID: <51B3E08E.5010408@a1poweruser.com> Date: Sat, 08 Jun 2013 21:55:26 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Masayoshi Fujimoto Subject: Re: upgrade qjail References: <20130609101352.a95d7cda3d1bccfa358e2182@rocketmail.com> In-Reply-To: <20130609101352.a95d7cda3d1bccfa358e2182@rocketmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2013 01:55:29.0824 (UTC) FILETIME=[6B597A00:01CE64B4] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 01:55:35 -0000 Masayoshi Fujimoto wrote: > Hi. > Could you tell me how to upgrade qjail-1.7 to qjail-3.0 ? > I can not start "www". So I have to use qjail-1.7 now. >_> > > > root@freebsd:/root # pkg_info | grep qjail > qjail-1.7 Utility to quickly deploy and manage jails > > > root@freebsd:/root # jls > JID IP Address Hostname Path > 1 192.168.0.20 www /usr/jails/www > > > root@freebsd:/root # portmaster qjail > root@freebsd:/root # rehash > root@freebsd:/root # pkg_info | grep qjail > qjail-3.0 Utility to quickly deploy and manage jails > root@freebsd:/root # reboot > > I got the following message. > > jail: qjail: path : not an absolute pathname > Error: /usr/sbin/jail failed to start jail www. > because of errors in jail.conf file. > > > > root@freebsd:/root # cat /etc/jail.conf > qjail { > host.hostname = "qjail"; > path = ""; > mount.fstab = ""; > exec.start = "/bin/sh /etc/rc"; > exec.stop = "/bin/sh /etc/rc.shutdown"; > exec.consolelog = "/var/log/qjail.qjail.console.log"; > devfs_ruleset = "4"; > allow.mount.devfs; > } > > > So I edited /etc/jail.conf : > > www { > host.hostname = "www"; > path = "/usr/jails/www"; > mount.fstab = ""; > exec.start = "/bin/sh /etc/rc"; > exec.stop = "/bin/sh /etc/rc.shutdown"; > exec.consolelog = "/var/log/qjail.qjail.console.log"; > devfs_ruleset = "4"; > allow.mount.devfs; > ip4.addr = 192.168.0.20; > interface = "alc0"; > } > > > root@freebsd:/root # /usr/local/etc/rc.d/qjail.bootime restart > jail: qjail: path : not an absolute pathname > Error: /usr/sbin/jail failed to start jail www. > because of errors in jail.conf file. > > I got same massage. > My /etc/jail.conf has been changed default one. > qjail-1.7 is way out of date. you have to delete all your 1.7 jails then do pkg_delete qjail-1.7 then portsnap fetch portsnap extract cd /usr/ports/sysutils/qjail ee Makefile and make sure it says qjail-3.0 make install clean man qjail recreate your jails From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 02:32:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D39287FB for ; Sun, 9 Jun 2013 02:32:18 +0000 (UTC) (envelope-from kentas@hush.com) Received: from smtp1.hushmail.com (smtp1a.hushmail.com [65.39.178.236]) by mx1.freebsd.org (Postfix) with ESMTP id BD6AE178E for ; Sun, 9 Jun 2013 02:32:18 +0000 (UTC) Received: from smtp1.hushmail.com (smtp1a.hushmail.com [65.39.178.236]) by smtp1.hushmail.com (Postfix) with SMTP id B901830FEA for ; Sun, 9 Jun 2013 02:32:12 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp1.hushmail.com (Postfix) with ESMTP; Sun, 9 Jun 2013 02:32:11 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id D8E42200EA; Sun, 9 Jun 2013 02:32:11 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 08 Jun 2013 22:32:11 -0400 To: freebsd-jail@freebsd.org Subject: Per-IP Bandwidth Monitoring From: "Kenta Suzumoto" In-Reply-To: <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130609023211.D8E42200EA@smtp.hushmail.com> Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 02:32:18 -0000 Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a "vnstat that works per IP instead of per interface" kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? Some links I came across that were unhelpful: http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html http://forum.pfsense.org/index.php?&topic=32256.0 http://www.daemonforums.org/showthread.php?t=1199 Thanks From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 02:39:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4B63B54 for ; Sun, 9 Jun 2013 02:39:52 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id C16A91823 for ; Sun, 9 Jun 2013 02:39:52 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 8 Jun 2013 19:39:54 -0700 Message-ID: <51B3EAF4.6010509@a1poweruser.com> Date: Sat, 08 Jun 2013 22:39:48 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Kenta Suzumoto Subject: Re: Per-IP Bandwidth Monitoring References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 09 Jun 2013 02:39:54.0251 (UTC) FILETIME=[9F78C5B0:01CE64BA] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 02:39:52 -0000 Kenta Suzumoto wrote: > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a "vnstat that works per IP instead of per interface" kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? > > Some links I came across that were unhelpful: > http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html > > http://forum.pfsense.org/index.php?&topic=32256.0 > > http://www.daemonforums.org/showthread.php?t=1199 > > Thanks > Check the "questions" archive. This question was answered in the last 2 months. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 03:24:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0B7134D8; Sun, 9 Jun 2013 03:24:26 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 93D9E1B6A; Sun, 9 Jun 2013 03:24:25 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id f11so1747268qae.3 for ; Sat, 08 Jun 2013 20:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1gmJNU02JMPse5uEd7m9BpZTBB8otKCck8h+btZqlhw=; b=u72FoX6sIj6F1FpHHIsFxfPzhm3qaeB7lrgOejJd1mg63sdTT41jvYpEpqZ9Kofh9F eCaLQ+3wl/kYW1lIxXt574vk4L//IZ+rR8R8478VLfQX5lOZJyo3M3RcPQRir6YK8ru0 41O+BRk6WDfhU7tm5zPa0wOHv79Ux1nWycplnxPE7AdHnq8xvXdXFjljKi/KMNKo/fox Onml0dZalGKeLibmpCcWBatwuAGersDIS5TqAgH5GF6n8DCHryF4gs2ZyCgBMXbz8PCZ AVDhkETwou+GEEFEn3MrVUIAA8MlTaTHFActTIZngsCFWu4uwb8AbW9ShLnaobYRcbXq JCmQ== MIME-Version: 1.0 X-Received: by 10.49.11.168 with SMTP id r8mr5160488qeb.34.1370748265089; Sat, 08 Jun 2013 20:24:25 -0700 (PDT) Received: by 10.49.42.73 with HTTP; Sat, 8 Jun 2013 20:24:25 -0700 (PDT) In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> Date: Sat, 8 Jun 2013 20:24:25 -0700 Message-ID: Subject: Re: Per-IP Bandwidth Monitoring From: Xin LI To: Kenta Suzumoto Content-Type: text/plain; charset=UTF-8 Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 03:24:26 -0000 Try this patch: https://cgit.delphij.net/freebsd/patch/?id=39c6ec81eb015ed6788c203a1aea6148f813d063 We haven't merged it to -HEAD only because it's not clear how much overhead this would incur. Cheers, From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 05:47:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 31E861C6 for ; Sun, 9 Jun 2013 05:47:09 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id E809D16AB for ; Sun, 9 Jun 2013 05:47:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 48CBB5E4AF; Sun, 9 Jun 2013 07:47:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -0.959 X-Spam-Level: X-Spam-Status: No, score=-0.959 tagged_above=-999 required=5 tests=[AWL=0.039, BAYES_00=-2.599, RCVD_IN_PBL=0.905, RDNS_DYNAMIC=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9Swu5IWUPE53; Sun, 9 Jun 2013 07:47:02 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c224-156-70-80.bjare.net [80.70.156.224]) by mx1.bjare.net (Postfix) with ESMTP id 7684F5E3EF; Sun, 9 Jun 2013 07:46:59 +0200 (CEST) Message-ID: <51B416D2.6020007@eskk.nu> Date: Sun, 09 Jun 2013 07:46:58 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Polytropon Subject: Re: XDM cannot start desktop after Xorg upgrade References: <51B30588.8060208@eskk.nu> <20130608172812.dadcbb68.freebsd@edvax.de> In-Reply-To: <20130608172812.dadcbb68.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 05:47:09 -0000 2013-06-08 17:28, Polytropon skrev: > On Sat, 08 Jun 2013 12:20:56 +0200, Leslie Jensen wrote: >> >> I've been using XDM as login manager for years. Since the latest Xorg >> upgrade, XDM cannot start XFCE4 as it used to. > > Strange that this happens after an upgrade. What initalization > mechanism do you use for your X session? Do you use the "chained" > approach, i. e., ~/.xsession containing > > #!/bin/csh > source ~/.cshrc > exec ~/.xinitrc > > and all your session startup stuff in ~/xinitrc? (I'm using this > approach for many years with XDM successfully.) > > > >> Disabling XDM and starting X manually works. > > In this case, ~/.xinitrc will be processed. XDM does use ~/.xsession > instead (same content can be used). This seems to indicate that > the upgrade did not affect the programs called. > > > > > I've done like this lrwxr-xr-x 1 user user 9 31 Dec 17:53 .xinitrc@ -> .xsession These are the contents of .xsession # LANG=sv_SE.ISO8859-1; export LANG /usr/local/bin/startxfce4 From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 08:28:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B0E43121; Sun, 9 Jun 2013 08:28:44 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 373EC1D1D; Sun, 9 Jun 2013 08:28:43 +0000 (UTC) Received: from kw.news4all.se (localhost [127.0.0.1]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id r598SQ2k072688; Sun, 9 Jun 2013 10:28:30 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <51B43C9F.70802@bananmonarki.se> Date: Sun, 09 Jun 2013 10:28:15 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130419 Thunderbird/17.0.5 MIME-Version: 1.0 To: Kenta Suzumoto Subject: Re: Per-IP Bandwidth Monitoring References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 08:28:44 -0000 On 2013-06-09 04:32, Kenta Suzumoto wrote: > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them attached to a specific jail. I'm wondering if there is an easy way to monitor the bandwidth usage of each of them individually. Upon googling, I ran into a lot of suggestions like bandwidthd. I gave it a try and it seemed very broken and basically didn't work at all. I'm basically looking for a "vnstat that works per IP instead of per interface" kind of thing. jnettop wasn't what I was looking for. It doesn't have to make pretty graphs(but that's nice too), just human-readable text is fine. Anyone have a recommendation? > > Some links I came across that were unhelpful: > http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5797422.html > > http://forum.pfsense.org/index.php?&topic=32256.0 > > http://www.daemonforums.org/showthread.php?t=1199 > > Thanks IPFW with pipes. No graphs. man ipfw TRAFFIC SHAPER CONFIGURATION The ipfw pipe, queue and sched commands are used to configure the traffic shaper and packet scheduler. See the TRAFFIC SHAPER (DUMMYNET) CONFIGURATION Section below for details. If the world and the kernel get out of sync the ipfw ABI may break, pre- venting you from being able to add any rules. This can adversely effect the booting process. You can use ipfw disable firewall to temporarily disable the firewall to regain access to the network, allowing you to fix the problem. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 12:37:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 904F25E1; Sun, 9 Jun 2013 12:37:10 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog120.obsmtp.com (eu1sys200aog120.obsmtp.com [207.126.144.149]) by mx1.freebsd.org (Postfix) with ESMTP id 18AD01703; Sun, 9 Jun 2013 12:37:08 +0000 (UTC) Received: from MTLCAS01.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob120.postini.com ([207.126.147.11]) with SMTP ID DSNKUbR20hCLTG9M1dfNz2Vdk3nUEuY5eO+T@postini.com; Sun, 09 Jun 2013 12:37:09 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS01.mtl.com ([10.0.8.71]) with mapi id 14.03.0123.003; Sun, 9 Jun 2013 15:35:33 +0300 From: Alex Liptsin To: "freebsd-infiniband@freebsd.org" , "freebsd-net@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Mellanox NIC names changed, each kldunload/kldload mlx4ib module Thread-Topic: Mellanox NIC names changed, each kldunload/kldload mlx4ib module Thread-Index: Ac5lDdVKtrqzpa1jQyWp4SCSJfBUVA== Date: Sun, 9 Jun 2013 12:35:32 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF6D2E6@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Oded Shanoon , Regev Lev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 12:37:10 -0000 Hi. I work with FreeBSD9.1 and Mellanox devices. Every time I unload / load mlx4ib module, NIC names of mellanox devices (ib= X) are renamed. Can I prevent it? [root@h-qa-032 mlx4]# ifconfig ib8: flags=3D8002 metric 0 mtu 65520 options=3D80018 lladdr 80.28.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31 nd6 options=3D29 ib9: flags=3D8002 metric 0 mtu 65520 options=3D80018 lladdr 80.28.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32 nd6 options=3D29 [root@h-qa-032 mlx4]# kldunload mlx4ib [root@h-qa-032 mlx4]# kldload -v mlx4ib Loaded mlx4ib, id=3D9 [root@h-qa-032 mlx4]# ifconfig ib10: flags=3D8002 metric 0 mtu 65520 options=3D80018 lladdr 80.30.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31 nd6 options=3D29 ib11: flags=3D8002 metric 0 mtu 65520 options=3D80018 lladdr 80.30.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32 nd6 options=3D29 Regards, Alex Liptsin Software Quality Assurance Engineer | Mellanox Technologies Ltd. Office: +972 (74) 7236141 Mobile: +972(54) 7833986 Fax: +972(74) 7236161 Email: alexl@mellanox.com Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Isr= ael From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 12:55:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3B1CE209; Sun, 9 Jun 2013 12:55:23 +0000 (UTC) (envelope-from pjlists@netzkommune.de) Received: from mx1.dui.nkhosting.net (mx1.dui.nkhosting.net [213.9.94.26]) by mx1.freebsd.org (Postfix) with ESMTP id F0EA5185E; Sun, 9 Jun 2013 12:55:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.dui.nkhosting.net (Postfix) with ESMTP id E87D3211C54AE; Sun, 9 Jun 2013 12:48:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.dui.nkhosting.net Received: from mx1.dui.nkhosting.net ([127.0.0.1]) by localhost (mx1.dui.nkhosting.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xf3ojEhyin0E; Sun, 9 Jun 2013 12:48:02 +0200 (CEST) Received: from air13.home (AMontsouris-552-1-72-100.w92-140.abo.wanadoo.fr [92.140.39.100]) (Authenticated sender: pjlists@netzkommune.de) by mx1.dui.nkhosting.net (Postfix) with ESMTP id 598B4211C651D; Sun, 9 Jun 2013 12:48:02 +0200 (CEST) Subject: Re: Per-IP Bandwidth Monitoring Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Philip Jocks In-Reply-To: <20130609023211.D8E42200EA@smtp.hushmail.com> Date: Sun, 9 Jun 2013 12:47:59 +0200 Jabber-Id: pj@netzkommune.de Content-Transfer-Encoding: quoted-printable Message-Id: <89E98E53-6B11-468D-B160-2188FE189983@netzkommune.de> References: <20130607174701.9DAA0400EA@smtp.hushmail.com> <51B2228F.1000008@llaisdy.com> <20130607184536.4A4D7400EA@smtp.hushmail.com> <144D087B-9396-4FD5-90DD-2F7A29D9E55F@llaisdy.com> <20130609023211.D8E42200EA@smtp.hushmail.com> To: Kenta Suzumoto X-Mailer: Apple Mail (2.1503) Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-jail@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 12:55:23 -0000 Am 09.06.2013 um 04:32 schrieb Kenta Suzumoto : > Hello. I'm running a FreeBSD machine with 5 IP addresses, each of them = attached to a specific jail. I'm wondering if there is an easy way to = monitor the bandwidth usage of each of them individually. Upon googling, = I ran into a lot of suggestions like bandwidthd. I gave it a try and it = seemed very broken and basically didn't work at all. I'm basically = looking for a "vnstat that works per IP instead of per interface" kind = of thing. jnettop wasn't what I was looking for. It doesn't have to make = pretty graphs(but that's nice too), just human-readable text is fine. = Anyone have a recommendation? >=20 > Some links I came across that were unhelpful:=20 > = http://freebsd.1045724.n5.nabble.com/how-to-measure-bandwidth-per-jail-td5= 797422.html >=20 > http://forum.pfsense.org/index.php?&topic=3D32256.0 >=20 > http://www.daemonforums.org/showthread.php?t=3D1199 I was using sysutils/ipa for this. It works with IPFW and also with PF, = I think, I have just used it with ipfw, worked pretty fine. It also = supports all sorts of reporting. Cheers, Philip From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 14:13:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 94EC2D58 for ; Sun, 9 Jun 2013 14:13:40 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id 27F161AF2 for ; Sun, 9 Jun 2013 14:13:39 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id it16so912968bkc.41 for ; Sun, 09 Jun 2013 07:13:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2mNeliT1ZWZD9YuawoTK48/Lw95bXAT78XU7LJ6WupU=; b=nXlP32Aevxg5ulaS5fRhRIVpMf+j5x8OjN+0S8cBLemhzIW0UPLgG7hx2cjvBeNZIC KIfCBBoJ3lIFCPk0EhmzmOSjUpFGyxGAeklu3QpkcUq8kbyFpzbNKzRK/93C+CC4EgMY t2mW+/g6IMS6bz5qoHaM1rPY5AqstTa4qWItNxG1bO+ab23kHFf41PyNCCCJDj+8CvDz 4j3ni5D+/CYo7qxyzxYjWtCfkNpdjoH2TxAPvykNAPKTGFy9bRSfUrHHyx+n0wHwuTbB SZJhJhUEfZOqk6PeNk6kx5VuXtlaF46Fop8yGoFI40JHWdMkwb6+pQf4ajRIQSFVVMEw SjIg== X-Received: by 10.205.15.200 with SMTP id pv8mr879067bkb.118.1370787219158; Sun, 09 Jun 2013 07:13:39 -0700 (PDT) Received: from [192.168.1.3] (78-25-13-129.static.vega-ua.net. [78.25.13.129]) by mx.google.com with ESMTPSA id hh3sm2196859bkc.5.2013.06.09.07.13.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 07:13:38 -0700 (PDT) Message-ID: <51B48D91.2030308@gmail.com> Date: Sun, 09 Jun 2013 17:13:37 +0300 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130609 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: trouble setting up wireless References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> <51B37B93.7060908@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 14:13:40 -0000 On 06/09/13 01:24, Warren Block wrote: > First, check the easy things: is there a physical switch to enable > wireless? Is it on? There is no physical switch to enable wireless there. > > Please post the output of 'ifconfig -a'. root@box0:/root # ifconfig -a ath0: flags=8843 metric 0 mtu 2290 ether 00:24:2c:5e:06:f2 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated re0: flags=8843 metric 0 mtu 1500 options=8209b ether 00:23:8b:b2:e5:1f inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb inet 127.0.0.1 netmask 0xff000000 nd6 options=21 wlan0: flags=8843 metric 0 mtu 1500 ether 00:24:2c:5e:06:f2 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 12 (2467 MHz 11g) regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL bintval 0 From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 14:16:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 293EAE16 for ; Sun, 9 Jun 2013 14:16:23 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id E55AF1B14 for ; Sun, 9 Jun 2013 14:16:22 +0000 (UTC) Received: from [46.244.138.152] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UlgPn-00056x-18 for freebsd-questions@freebsd.org; Sun, 09 Jun 2013 16:16:15 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r59EGCGC018783 for ; Sun, 9 Jun 2013 16:16:12 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r59EGBS5018782 for freebsd-questions@freebsd.org; Sun, 9 Jun 2013 16:16:11 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 9 Jun 2013 16:16:11 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: /etc/make.conf && CURDIR Message-ID: <20130609141611.GA17649@La-Habana> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 46.244.138.152 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 14:16:23 -0000 Hello, I have the kernel sources not in /usr/src/sys, but elsewhere; I can not get set correctly SYSDIR via /etc/make.conf for some ports (or other values like USE_GCC, ...); if I have in /etc/make.conf these lines: .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod*} SYSDIR=/usr/home/guru/head/src/sys .endif it works, but if I let away the '*' in the line, i.e. .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod} SYSDIR=/usr/home/guru/head/src/sys .endif the 'make' asks me to set SYSDIR: # make clean install ... building shared library libcuse4bsd.so.1 gzip -cn cuse4bsd.3 > cuse4bsd.3.gz make -f /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.27/Makefile.kmod all "/usr/share/mk/bsd.kmod.mk", line 12: Unable to locate the kernel source tree. Set SYSDIR to override. *** [all] Error code 1 Why is this? Thanks. The system runs 10-CUR r250588 i386. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 14:55:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CE52C75B for ; Sun, 9 Jun 2013 14:55:40 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD001C85 for ; Sun, 9 Jun 2013 14:55:40 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r59EtYVN071140; Sun, 9 Jun 2013 08:55:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r59EtYkk071137; Sun, 9 Jun 2013 08:55:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Jun 2013 08:55:34 -0600 (MDT) From: Warren Block To: Alexander Kapshuk Subject: Re: trouble setting up wireless In-Reply-To: <51B48D91.2030308@gmail.com> Message-ID: References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> <51B37B93.7060908@gmail.com> <51B48D91.2030308@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 09 Jun 2013 08:55:34 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 14:55:40 -0000 On Sun, 9 Jun 2013, Alexander Kapshuk wrote: > On 06/09/13 01:24, Warren Block wrote: >> First, check the easy things: is there a physical switch to enable >> wireless? Is it on? > There is no physical switch to enable wireless there. Notebooks also have function-key combinations to enable and disable the radio. >> Please post the output of 'ifconfig -a'. > root@box0:/root # ifconfig -a > ath0: flags=8843 metric 0 mtu 2290 > ether 00:24:2c:5e:06:f2 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:24:2c:5e:06:f2 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 12 (2467 MHz 11g) > regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF > txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 > roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL > bintval 0 I don't see anything obviously wrong. Is an access point within range? Has someone set it to have a "hidden" SSID? From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 15:14:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 75EF4C2F for ; Sun, 9 Jun 2013 15:14:53 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-bk0-x22d.google.com (mail-bk0-x22d.google.com [IPv6:2a00:1450:4008:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 0790A1D48 for ; Sun, 9 Jun 2013 15:14:52 +0000 (UTC) Received: by mail-bk0-f45.google.com with SMTP id je9so1411678bkc.32 for ; Sun, 09 Jun 2013 08:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AjXBX54b70rhJ7EYqmHT+vHo2nPPg3xAdzmitg982E8=; b=JMWIC1xW0yELbGP7ZB1cXkgNb3GO4d/JosTevMHSvktVMgL5aKgbjZzdhq6aaZYeLR S67gFduF2EvYv9WwZJUEaBIkKYvG2EJV3oWetBNW4UY14if8RPnUoAqLuFSW3a9bNvwE uku8JOUhYLkNzqm/WlXovsULKP0oADx9/LxdF0rC3kUV22oUD1Hq7G+h934lmUZd2/E5 i09Be26k3+88I5NsYl9AZoVKiJRjfxEPZ7Oouh/hRbgBGAaz3hBP1dPE9u3sfEfHRUHV rRZT+XKBLMly8b37zKRaIEyFQSrJ7JF7WhGnYIV2H3aBns6KmABwfGFtS06xGBIAzPu3 XnwA== X-Received: by 10.204.163.130 with SMTP id a2mr928169bky.62.1370790891903; Sun, 09 Jun 2013 08:14:51 -0700 (PDT) Received: from [192.168.1.3] (78-25-13-129.static.vega-ua.net. [78.25.13.129]) by mx.google.com with ESMTPSA id hh3sm2260491bkc.5.2013.06.09.08.14.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 08:14:51 -0700 (PDT) Message-ID: <51B49BEA.6050906@gmail.com> Date: Sun, 09 Jun 2013 18:14:50 +0300 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130609 Thunderbird/17.0.6 MIME-Version: 1.0 To: Warren Block Subject: Re: trouble setting up wireless References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> <51B37B93.7060908@gmail.com> <51B48D91.2030308@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 15:14:53 -0000 > >> On 06/09/13 01:24, Warren Block wrote: >>> First, check the easy things: is there a physical switch to enable >>> wireless? Is it on? >> There is no physical switch to enable wireless there. > > Notebooks also have function-key combinations to enable and disable > the radio. I've been able to use wireless on this laptop on FreeBSD 9.0. I just followed the instructions in the handbook and that was it. This time round, I seem to have done the same thing, but there's probably something I must be doing wrong. > >>> Please post the output of 'ifconfig -a'. >> root@box0:/root # ifconfig -a >> ath0: flags=8843 metric 0 mtu >> 2290 >> ether 00:24:2c:5e:06:f2 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> status: associated >> wlan0: flags=8843 metric 0 >> mtu 1500 >> ether 00:24:2c:5e:06:f2 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid "" channel 12 (2467 MHz 11g) >> regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF >> txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 >> bgscanidle 250 >> roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL >> bintval 0 > > I don't see anything obviously wrong. Is an access point within > range? Has someone set it to have a "hidden" SSID? The reason why ssid is empty in the output of ifconfig above, is because I've omitted it in /etc/rc.conf. Here's my /etc/rc.conf: cat /etc/rc.conf hostname="box0" ifconfig_re0="DHCP" sshd_enable="YES" moused_enable="YES" ntpd_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" hald_enable="YES" dbus_enable="YES" linux_enable="YES" I didn't put anything related to the Atheros drivers in the /boot/loader.conf as support for them is compiled into the kernel and loaded at boot time: kldstat -v|egrep 'wlan|ath_' 98 pci/ath_pci 434 wlan 433 wlan_wep 432 wlan_tkip 431 wlan_ccmp 430 wlan_amrr 436 wlan_sta 435 wlan_ratectl_none Quick question... The ath_hal(4) man page says that the support for my wireless card is handled via ath_hal. It seems to be compiled into the kernel, but I'm not seeing it being loaded like the wpa_ and ath_pci modules are. dmesg|grep -i Ath ath0: mem 0xd6000000-0xd600ffff irq 16 at device 0.0 on pci2 ath0: AR2425 mac 14.2 RF5424 phy 7.0 egrep 'ath_|wlan_' GENERIC device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device ath_pci # Atheros pci/cardbus glue device ath_hal # pci/cardbus chip support device ath_rate_sample # SampleRate tx rate control for ath Also, here's my /etc/wpa_supplicant.conf just in case I overlooked something: cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant eapol_version=2 ap_scan=1 fast_reauth=1 network={ ssid="plan9" psk=wpa_passphrase-generated psk } Thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 15:44:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 68A8448A for ; Sun, 9 Jun 2013 15:44:05 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 1F2F51E50 for ; Sun, 9 Jun 2013 15:44:04 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r59Fi4Zk071379; Sun, 9 Jun 2013 09:44:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r59Fi4UX071376; Sun, 9 Jun 2013 09:44:04 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 9 Jun 2013 09:44:04 -0600 (MDT) From: Warren Block To: Alexander Kapshuk Subject: Re: trouble setting up wireless In-Reply-To: <51B49BEA.6050906@gmail.com> Message-ID: References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> <51B37B93.7060908@gmail.com> <51B48D91.2030308@gmail.com> <51B49BEA.6050906@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 09 Jun 2013 09:44:04 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 15:44:05 -0000 On Sun, 9 Jun 2013, Alexander Kapshuk wrote: >>> On 06/09/13 01:24, Warren Block wrote: >>>> First, check the easy things: is there a physical switch to enable >>>> wireless? Is it on? >>> There is no physical switch to enable wireless there. >> >> Notebooks also have function-key combinations to enable and disable the >> radio. > I've been able to use wireless on this laptop on FreeBSD 9.0. I just followed > the instructions in the handbook and that was it. This time round, I seem to > have done the same thing, but there's probably something I must be doing > wrong. There were probably changes between the two, but I have not noticed any regressions. >>>> Please post the output of 'ifconfig -a'. >>> root@box0:/root # ifconfig -a >>> ath0: flags=8843 metric 0 mtu 2290 >>> ether 00:24:2c:5e:06:f2 >>> nd6 options=29 >>> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >>> status: associated >>> wlan0: flags=8843 metric 0 mtu >>> 1500 >>> ether 00:24:2c:5e:06:f2 >>> nd6 options=29 >>> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >>> status: no carrier >>> ssid "" channel 12 (2467 MHz 11g) >>> regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF >>> txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle >>> 250 >>> roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL >>> bintval 0 >> >> I don't see anything obviously wrong. Is an access point within range? Has >> someone set it to have a "hidden" SSID? > The reason why ssid is empty in the output of ifconfig above, is because I've > omitted it in /etc/rc.conf. That's not what I was suggesting. Most access points allow the SSID to be "hidden". It's not really hidden, this does not greatly increase security, but it does make the SSID impossible to see on a scan and requires adding scan_ssid=1 to /etc/wpa_supplicant.conf. > Here's my /etc/rc.conf: > > cat /etc/rc.conf > hostname="box0" > ifconfig_re0="DHCP" > sshd_enable="YES" > moused_enable="YES" > ntpd_enable="YES" > powerd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > wlans_ath0="wlan0" > ifconfig_wlan0="WPA DHCP" > hald_enable="YES" > dbus_enable="YES" > linux_enable="YES" DHCP is enabled for both wired and wireless, but only one instance can be running at once. Comment out the wired section: #ifconfig_re0="DHCP" And try again with just the wireless. If you want both, there is an example using lagg(4) in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-aggregation.html#networking-lagg-wired-and-wireless But first, get just the wireless working by itself. > Quick question... > > The ath_hal(4) man page says that the support for my wireless card is handled > via ath_hal. It seems to be compiled into the kernel, but I'm not seeing it > being loaded like the wpa_ and ath_pci modules are. 'kldstat' should show it. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 17:33:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 55963C16 for ; Sun, 9 Jun 2013 17:33:10 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id DA5E5161B for ; Sun, 9 Jun 2013 17:33:09 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail07.adl2.internode.on.net with ESMTP; 10 Jun 2013 03:03:08 +0930 Message-ID: <51B4BC53.40307@ShaneWare.Biz> Date: Mon, 10 Jun 2013 03:03:07 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Matthias Apitz Subject: Re: /etc/make.conf && CURDIR References: <20130609141611.GA17649@La-Habana> In-Reply-To: <20130609141611.GA17649@La-Habana> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 17:33:10 -0000 On 09/06/2013 23:46, Matthias Apitz wrote: > > Hello, > > I have the kernel sources not in /usr/src/sys, but elsewhere; I can > not get set correctly SYSDIR via /etc/make.conf for some ports (or > other values like USE_GCC, ...); > > if I have in /etc/make.conf these lines: > > .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod*} > SYSDIR=/usr/home/guru/head/src/sys > .endif > > it works, but if I let away the '*' in the line, i.e. > > .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod} > SYSDIR=/usr/home/guru/head/src/sys > .endif > > the 'make' asks me to set SYSDIR: > > # make clean install ... building shared library libcuse4bsd.so.1 > gzip -cn cuse4bsd.3 > cuse4bsd.3.gz make -f > /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4bsd-kmod-0.1.27/Makefile.kmod > all "/usr/share/mk/bsd.kmod.mk", line 12: Unable to locate the kernel > source tree. Set SYSDIR to override. *** [all] Error code 1 > > Why is this? Thanks. The system runs 10-CUR r250588 i386. > You'll find the trailing asterix is a wildcard to match any sub dirs. When building CURDIR only contains multimedia/cuse4bsd-kmod - CURDIR will be something like /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4-bsd-kmod-0.1.27/ The pre and post * matches all paths with multimedia/cuse4bsd-kmod in them - usually pretty unique when building within the ports dirs. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 18:08:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B40B71B2 for ; Sun, 9 Jun 2013 18:08:15 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 7A47B17B0 for ; Sun, 9 Jun 2013 18:08:15 +0000 (UTC) Received: from [89.204.130.187] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ulk2E-0000k2-JM; Sun, 09 Jun 2013 20:08:12 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r59I84fj000920; Sun, 9 Jun 2013 20:08:05 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r59I8340000919; Sun, 9 Jun 2013 20:08:03 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 9 Jun 2013 20:08:02 +0200 From: Matthias Apitz To: Shane Ambler Subject: Re: /etc/make.conf && CURDIR Message-ID: <20130609180802.GA892@tiny.Sisis.de> References: <20130609141611.GA17649@La-Habana> <51B4BC53.40307@ShaneWare.Biz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <51B4BC53.40307@ShaneWare.Biz> X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.187 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 18:08:15 -0000 El día Monday, June 10, 2013 a las 03:03:07AM +0930, Shane Ambler escribió: > > it works, but if I let away the '*' in the line, i.e. > > > > .if ${.CURDIR:M*/multimedia/cuse4bsd-kmod} > > SYSDIR=/usr/home/guru/head/src/sys > > .endif > > > > the 'make' asks me to set SYSDIR: > > > > ... > You'll find the trailing asterix is a wildcard to match any sub dirs. > When building CURDIR only contains multimedia/cuse4bsd-kmod - CURDIR > will be something like > /usr/ports/multimedia/cuse4bsd-kmod/work/cuse4-bsd-kmod-0.1.27/ > The pre and post * matches all paths with multimedia/cuse4bsd-kmod in > them - usually pretty unique when building within the ports dirs. I was thinking the same re/ wildcard; on the other hand, I always saw hints like this for setting certain values in make.conf based on the ports' name, liek for example: .if ${.CURDIR:M*/category/port} USE_GCC=any .endif those examples never used the * (i.e. /category/port/* ); that's why until today I was thinking that the expresion means already "if /category/port is part of current dir", perhaps I have to read a make manual for this again... thanks for your feedback in any case matthias -- Sent from my FreeBSD netbook Matthias Apitz, , http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 18:10:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 16DF52E8 for ; Sun, 9 Jun 2013 18:10:26 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-bk0-x229.google.com (mail-bk0-x229.google.com [IPv6:2a00:1450:4008:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id 9B91417E8 for ; Sun, 9 Jun 2013 18:10:25 +0000 (UTC) Received: by mail-bk0-f41.google.com with SMTP id jc3so2975393bkc.14 for ; Sun, 09 Jun 2013 11:10:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XdxXLZkkcoG6PQZtL3BgFvmP/q8OfkiDe3OlZWQiFXE=; b=U3OX1E42Uu97KO/Hx8r1oAU2E4c/K1aOlyRYvGw8BWzNiT9aVnJu1ljcVvgF8GD0Ci X/klfv7Y/N3h4ZyMPeHXg5aiVhHaoBTwsEMO9VvMfDZRgi+I47M7cKuvVEOoUXbiGRO8 CtxoXWSkKfOCeNumGoQcJRewheiX9Nw28SQvSy4WGqEqSrgtmJrZknPDcDZHPi8zyJYv InTcHbkKqxbZl7/0BeQE2f10PTX7munDVUj/pAT+8/gyDDuIh47emM/Tmo+iqVryaX/i Isjg8LbIMGC0VA5ZMaWKhVStpTjmmq84PCIbKq8gPYPLGIUPbxX6ocO0nHlLcKZcU+u1 HoMg== X-Received: by 10.204.187.70 with SMTP id cv6mr992674bkb.6.1370801424775; Sun, 09 Jun 2013 11:10:24 -0700 (PDT) Received: from [192.168.1.3] (78-25-13-129.static.vega-ua.net. [78.25.13.129]) by mx.google.com with ESMTPSA id iy11sm2428813bkb.11.2013.06.09.11.10.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 11:10:24 -0700 (PDT) Message-ID: <51B4C50E.7000408@gmail.com> Date: Sun, 09 Jun 2013 21:10:22 +0300 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130609 Thunderbird/17.0.6 MIME-Version: 1.0 To: Warren Block Subject: Re: trouble setting up wireless References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> <51B37B93.7060908@gmail.com> <51B48D91.2030308@gmail.com> <51B49BEA.6050906@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 18:10:26 -0000 On 06/09/13 18:44, Warren Block wrote: >> The ath_hal(4) man page says that the support for my wireless card is >> handled via ath_hal. It seems to be compiled into the kernel, but I'm >> not seeing it being loaded like the wpa_ and ath_pci modules are. > > 'kldstat' should show it. It doesn't. kldstat -v | grep ath_ 101 pci/ath_pci I tried disabling ifconfig_ath0="DHCP" in /etc/rc.conf, rebooting the system, with wlan0 still being reported as having no carrier. Running out of things to try... From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 18:46:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6F98E64C; Sun, 9 Jun 2013 18:46:08 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD1F19BC; Sun, 9 Jun 2013 18:46:08 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id xa12so6502298pbc.11 for ; Sun, 09 Jun 2013 11:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=nNjUAJmFn79l1m0FsW6u8rOTczMdqUPfMsNzPEsOZmE=; b=vhhia6nYBPKBUbnU1uZqfO04huYgVMAe/oCCtzU4TaU4qxf+d0ofsVmhcGI4Zq39C9 TyOyLFMk1QaYeeKZa8OBNWKaKKVwUgqBGhsBUK+EUpf7UbPpZKQMzvyohvdCev7o45xQ qdCX33x96OqMBjczSD5p94RsZh1hvjExvu95kIADMg2trD505e9cNKxi3xhkgFtob7A7 5EmRAun0eVO+m1cw0GtPfKnqZFnu3kTaJ4wPYCxU+2mz1WA7ZQp8NlpF3sb8bC3SYAq3 lXU8VmYDnC5YNdxIjTdErdzHtZTtBnLTWDlZsSB1nS4fKxf4oRyAqzYEYzs4/WpFqHbE g56A== X-Received: by 10.66.17.137 with SMTP id o9mr11129956pad.142.1370803568035; Sun, 09 Jun 2013 11:46:08 -0700 (PDT) Received: from [192.168.20.5] (c-98-203-241-95.hsd1.wa.comcast.net. [98.203.241.95]) by mx.google.com with ESMTPSA id p2sm12252558pag.22.2013.06.09.11.46.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 11:46:07 -0700 (PDT) Subject: Re: Mellanox NIC names changed, each kldunload/kldload mlx4ib module Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Garrett Cooper In-Reply-To: <64DAB3164E410447932305F50F896D8D6AF6D2E6@MTLDAG01.mtl.com> Date: Sun, 9 Jun 2013 11:46:04 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <03D4440E-2D1D-497C-B084-CAB47DE5F880@gmail.com> References: <64DAB3164E410447932305F50F896D8D6AF6D2E6@MTLDAG01.mtl.com> To: Alex Liptsin X-Mailer: Apple Mail (2.1283) Cc: "freebsd-infiniband@freebsd.org" , Regev Lev , "freebsd-questions@freebsd.org" , "freebsd-net@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 18:46:08 -0000 On Jun 9, 2013, at 5:35 AM, Alex Liptsin wrote: > Hi. >=20 > I work with FreeBSD9.1 and Mellanox devices. > Every time I unload / load mlx4ib module, NIC names of mellanox = devices (ibX) are renamed. > Can I prevent it? >=20 > [root@h-qa-032 mlx4]# ifconfig > ib8: flags=3D8002 metric 0 mtu 65520 > options=3D80018 > lladdr 80.28.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31 > nd6 options=3D29 > ib9: flags=3D8002 metric 0 mtu 65520 > options=3D80018 > lladdr 80.28.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32 > nd6 options=3D29 >=20 > [root@h-qa-032 mlx4]# kldunload mlx4ib >=20 > [root@h-qa-032 mlx4]# kldload -v mlx4ib > Loaded mlx4ib, id=3D9 >=20 > [root@h-qa-032 mlx4]# ifconfig > ib10: flags=3D8002 metric 0 mtu 65520 > options=3D80018 > lladdr 80.30.0.48.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.31 > nd6 options=3D29 > ib11: flags=3D8002 metric 0 mtu 65520 > options=3D80018 > lladdr 80.30.0.49.fe.80.0.0.0.0.0.0.0.2.c9.3.0.2e.48.32 > nd6 options=3D29 You're probably running into a driver bug because OFED/ipoib was = never meant to be unloaded (assuming you're using my sources). Check the = detach/destroy routines to make sure that it's properly detaching = everything and updating indexes in the network stack before it unloads = the driver. Cheers, -Garrett From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 18:52:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 360626D1 for ; Sun, 9 Jun 2013 18:52:40 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id EEF891A51 for ; Sun, 9 Jun 2013 18:52:39 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlkjA-0001e1-7b for freebsd-questions@freebsd.org; Sun, 09 Jun 2013 20:52:32 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 20:52:32 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 20:52:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: buildworld selectively? Date: Sun, 9 Jun 2013 18:52:14 +0000 (UTC) Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 18:52:40 -0000 As a relative newcomer to FreeBSD I am planning a 'make buildworld' for the first time. Since this is likely to be a lengthy process (my first attempt will be in a virtual machine), I am wondering whether it is possible to be at all selective about what is built. I have read the handbook section thoroughly, and shall follow the procedure recommended. I have also consulted 'man make.conf', but have been unable to establish an answer. For example, I do not require 'games'. Is there a way of achieving this? From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 18:56:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 26BE1DD8 for ; Sun, 9 Jun 2013 18:56:50 +0000 (UTC) (envelope-from gary@hayers.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.200.141]) by mx1.freebsd.org (Postfix) with ESMTP id DB5C91A9A for ; Sun, 9 Jun 2013 18:56:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id A895EE5C3; Sun, 9 Jun 2013 14:56:42 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easydns.com Received: from mailout.easydns.com ([127.0.0.1]) by localhost (mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SsNgIudeO4zO; Sun, 9 Jun 2013 14:56:37 -0400 (EDT) Received: from ares.hayers.org (cpc1-tilb7-2-0-cust218.basl.cable.virginmedia.com [94.168.104.219]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id 2F0DFE43E; Sun, 9 Jun 2013 14:56:37 -0400 (EDT) Received: from ares.hayers.org (mx1.hayers.org [127.0.0.1]) by ares.hayers.org (Postfix) with ESMTP id 34BDF398F5F; Sun, 9 Jun 2013 19:56:35 +0100 (BST) X-Virus-Scanned: HCF running on mx1.hayers.org Received: from ares.hayers.org ([127.0.0.1]) by ares.hayers.org (mx1.hayers.org [127.0.0.1]) (HCF-Sophos-SpamAssassin, port 10024) with ESMTP id bQuw4zFR135c; Sun, 9 Jun 2013 19:56:04 +0100 (BST) Received: from [192.168.8.2] (zeus.hayers.org [192.168.8.2]) (Authenticated sender: gary) by ares.hayers.org (Postfix) with ESMTPA id 155813990AD; Sun, 9 Jun 2013 19:56:04 +0100 (BST) Message-ID: <51B4CFCA.3010705@hayers.org> Date: Sun, 09 Jun 2013 19:56:10 +0100 From: "Gary J. Hayers" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Thunderbird/22.0 MIME-Version: 1.0 To: Walter Hurry , freebsd-questions@freebsd.org Subject: Re: buildworld selectively? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 18:56:50 -0000 Have a read of the man page for /etc/src.conf On 09/06/2013 19:52, Walter Hurry wrote: > As a relative newcomer to FreeBSD I am planning a 'make buildworld' for > the first time. Since this is likely to be a lengthy process (my first > attempt will be in a virtual machine), I am wondering whether it is > possible to be at all selective about what is built. > > I have read the handbook section thoroughly, and shall follow the > procedure recommended. I have also consulted 'man make.conf', but have > been unable to establish an answer. > > For example, I do not require 'games'. > > Is there a way of achieving this? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Regards, Gary J. Hayers gary@hayers.org PGP Signature http://www.hayers.org/pgp From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 19:51:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C8C0E3A for ; Sun, 9 Jun 2013 19:51:51 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id F28AE1E19 for ; Sun, 9 Jun 2013 19:51:50 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlleX-0007Mi-Be for freebsd-questions@freebsd.org; Sun, 09 Jun 2013 21:51:49 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 21:51:49 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 21:51:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: buildworld selectively? Date: Sun, 9 Jun 2013 19:51:33 +0000 (UTC) Lines: 20 Message-ID: References: <51B4CFCA.3010705@hayers.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 19:51:51 -0000 On Sun, 09 Jun 2013 19:56:10 +0100, Gary J. Hayers wrote: > Have a read of the man page for /etc/src.conf > > On 09/06/2013 19:52, Walter Hurry wrote: >> As a relative newcomer to FreeBSD I am planning a 'make buildworld' for >> the first time. Since this is likely to be a lengthy process (my first >> attempt will be in a virtual machine), I am wondering whether it is >> possible to be at all selective about what is built. >> >> I have read the handbook section thoroughly, and shall follow the >> procedure recommended. I have also consulted 'man make.conf', but have >> been unable to establish an answer. >> >> For example, I do not require 'games'. >> >> Is there a way of achieving this? Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry if it was a silly question. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 20:01:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E0A1F8 for ; Sun, 9 Jun 2013 20:01:00 +0000 (UTC) (envelope-from gary@hayers.org) Received: from mailout.easydns.com (mailout.easydns.com [64.68.200.141]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3EE1EAF for ; Sun, 9 Jun 2013 20:01:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailout.easydns.com (Postfix) with ESMTP id A6418E5DF; Sun, 9 Jun 2013 16:00:57 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at mailout.easydns.com Received: from mailout.easydns.com ([127.0.0.1]) by localhost (mailout.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JXf9JIb1euKK; Sun, 9 Jun 2013 16:00:56 -0400 (EDT) Received: from ares.hayers.org (cpc1-tilb7-2-0-cust218.basl.cable.virginmedia.com [94.168.104.219]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout.easydns.com (Postfix) with ESMTPSA id E7B3CE5AE; Sun, 9 Jun 2013 16:00:55 -0400 (EDT) Received: from ares.hayers.org (mx1.hayers.org [127.0.0.1]) by ares.hayers.org (Postfix) with ESMTP id 514D439911E; Sun, 9 Jun 2013 21:00:54 +0100 (BST) X-Virus-Scanned: HCF running on mx1.hayers.org Received: from ares.hayers.org ([127.0.0.1]) by ares.hayers.org (mx1.hayers.org [127.0.0.1]) (HCF-Sophos-SpamAssassin, port 10024) with ESMTP id dZ6F8NWmeRoI; Sun, 9 Jun 2013 21:00:41 +0100 (BST) Received: from [192.168.8.2] (zeus.hayers.org [192.168.8.2]) (Authenticated sender: gary) by ares.hayers.org (Postfix) with ESMTPA id 46AD839911C; Sun, 9 Jun 2013 21:00:41 +0100 (BST) Message-ID: <51B4DEF4.4070503@hayers.org> Date: Sun, 09 Jun 2013 21:00:52 +0100 From: "Gary J. Hayers" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:22.0) Gecko/20100101 Thunderbird/22.0 MIME-Version: 1.0 To: Walter Hurry , freebsd-questions@freebsd.org Subject: Re: buildworld selectively? References: <51B4CFCA.3010705@hayers.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 20:01:00 -0000 No worries, no such thing as a silly question :) On 09/06/2013 20:51, Walter Hurry wrote: > On Sun, 09 Jun 2013 19:56:10 +0100, Gary J. Hayers wrote: > >> Have a read of the man page for /etc/src.conf >> >> On 09/06/2013 19:52, Walter Hurry wrote: >>> As a relative newcomer to FreeBSD I am planning a 'make buildworld' for >>> the first time. Since this is likely to be a lengthy process (my first >>> attempt will be in a virtual machine), I am wondering whether it is >>> possible to be at all selective about what is built. >>> >>> I have read the handbook section thoroughly, and shall follow the >>> procedure recommended. I have also consulted 'man make.conf', but have >>> been unable to establish an answer. >>> >>> For example, I do not require 'games'. >>> >>> Is there a way of achieving this? > > Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry if > it was a silly question. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Regards, Gary J. Hayers gary@hayers.org PGP Signature http://www.hayers.org/pgp From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 21:28:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 96EC3724 for ; Sun, 9 Jun 2013 21:28:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 71C56134C for ; Sun, 9 Jun 2013 21:28:05 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id E213633C49; Sun, 9 Jun 2013 17:27:53 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id DD8A13983C; Sun, 9 Jun 2013 17:27:52 -0400 (EDT) From: Lowell Gilbert To: Walter Hurry Subject: Re: buildworld selectively? References: <51B4CFCA.3010705@hayers.org> Date: Sun, 09 Jun 2013 17:27:52 -0400 In-Reply-To: (Walter Hurry's message of "Sun, 9 Jun 2013 19:51:33 +0000 (UTC)") Message-ID: <44mwqzotyf.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 21:28:05 -0000 Walter Hurry writes: > Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry if > it was a silly question. Bear in mind that you're only going to be able to shave a small fraction off the build time. by excluding parts of the build. The 'games' section in particular has almost nothing in it. From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 21:52:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 15723E6B for ; Sun, 9 Jun 2013 21:52:49 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id CCFD9164C for ; Sun, 9 Jun 2013 21:52:48 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlnXZ-0003zO-M3 for freebsd-questions@freebsd.org; Sun, 09 Jun 2013 23:52:45 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 23:52:45 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 09 Jun 2013 23:52:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: buildworld selectively? Date: Sun, 9 Jun 2013 21:52:28 +0000 (UTC) Lines: 16 Message-ID: References: <51B4CFCA.3010705@hayers.org> <44mwqzotyf.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 21:52:49 -0000 On Sun, 09 Jun 2013 17:27:52 -0400, Lowell Gilbert wrote: > Walter Hurry writes: > >> Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry >> if it was a silly question. > > Bear in mind that you're only going to be able to shave a small fraction > off the build time. by excluding parts of the build. The 'games' section > in particular has almost nothing in it. > Fair enough. Point taken, thanks. Nevertheless I see no reason to compile stuff I neither want nor need. Anyway, games was only an example. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 01:08:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7CAF9149 for ; Mon, 10 Jun 2013 01:08:32 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id 288DA1233 for ; Mon, 10 Jun 2013 01:08:31 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=E430+8tl c=1 sm=0 tr=0 a=nVny9ETX7T5uMhI2oTVyRA==:117 a=P5ol5vWo9mUA:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=7HSFb-w2Wy8A:10 a=cY-c9lZLBuw74WQFAdEA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.193.164 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.193.164] ([209.6.193.164:45911] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 1D/2C-23718-80725B15; Sun, 09 Jun 2013 21:08:24 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20917.9991.514334.851719@jerusalem.litteratus.org> Date: Sun, 9 Jun 2013 21:08:23 -0400 To: Walter Hurry Subject: Re: buildworld selectively? In-Reply-To: References: <51B4CFCA.3010705@hayers.org> <44mwqzotyf.fsf@lowell-desk.lan> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 01:08:33 -0000 Walter Hurry writes: > Fair enough. Point taken, thanks. Nevertheless I see no reason to > compile stuff I neither want nor need. While I endorse the principle ... it can be difficult for the casual user to know which parts can be removed without blowing up things they want. (Been there, had to change the underwear after the new kernel didn't boot. Booted old kernel, fixed things.) Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 03:14:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 39A93D48 for ; Mon, 10 Jun 2013 03:14:53 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-04.prod.phx3.secureserver.net (p3plsmtpa06-04.prod.phx3.secureserver.net [173.201.192.105]) by mx1.freebsd.org (Postfix) with ESMTP id 1E637188A for ; Mon, 10 Jun 2013 03:14:52 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-04.prod.phx3.secureserver.net with id mTDF1l0084XeM0101TDFsf; Sun, 09 Jun 2013 20:13:15 -0700 Date: Sun, 9 Jun 2013 20:13:14 -0700 From: Gary Kline To: FreeBSD Mailing List Subject: which reader/tablet/ Message-ID: <20130610031314.GA32304@ethic.thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 03:14:53 -0000 guys, most of you know that im physically disabled. anyway, the disability extends to my speech and is why the cellphone I have is datged and never got upgraded. Anyway ... whilei dont need a new cell, I =have= been eyeing something that I can buy ebooks and have the player/reader/ have the text {ASCII =only=} read to me. I would google up something, but I dont even know what to search for. can I put freebsd on these tablet devices? if I bought, say, WAR AND PIECE or something out of copyright { schopenhauer or marcus aurelius } that is in text, how do I get it to whatever tablet I have? right now we've got cable and I use the telco for my server. I know that works, but it is only good for my computer network. but say I wanted to keep things simple and buy some kind of kindle or nook. how does amazon.com or bn.com get their new ebooks onto my reader? thanks in advance, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 05:46:12 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 503295E5 for ; Mon, 10 Jun 2013 05:46:12 +0000 (UTC) (envelope-from pgiessel@mac.com) Received: from nk11p04mm-asmtp002.mac.com (nk11p04mm-asmtp002.mac.com [17.158.236.237]) by mx1.freebsd.org (Postfix) with ESMTP id 3D81B1C45 for ; Mon, 10 Jun 2013 05:46:12 +0000 (UTC) Received: from [192.168.0.162] ([24.237.133.115]) by nk11p04mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-26.01(7.0.4.26.0) 64bit (built Jul 13 2012)) with ESMTPSA id <0MO500GB7UKT1D30@nk11p04mm-asmtp002.mac.com> for freebsd-questions@FreeBSD.ORG; Mon, 10 Jun 2013 04:46:06 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-06-10_02:2013-06-08,2013-06-10,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1306090381 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: which reader/tablet/ From: Peter Giessel In-reply-to: <20130610031314.GA32304@ethic.thought.org> Date: Sun, 09 Jun 2013 20:46:04 -0800 Content-transfer-encoding: quoted-printable Message-id: References: <20130610031314.GA32304@ethic.thought.org> To: FreeBSD Mailing List X-Mailer: Apple Mail (2.1503) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 05:46:12 -0000 On 2013, Jun 9, at 19:13, Gary Kline wrote: > can I put > freebsd on these tablet devices? Personally, I don't see how another O.S. would work on the tablet = devices. They don't have any of the hardware other O.S.'s assume (such = as a keyboard), and they have such proprietary hardware. The hardware = is so "touch centric", than running a non-touch O.S. does not seem wise, = but I could be wrong. > if I bought, say, WAR AND PIECE > or something out of copyright { schopenhauer or marcus aurelius = } > that is in text, how do I get it to whatever tablet I have? =20 > right now we've got cable and I use the telco for my server. > I know that works, but it is only good for my computer network. >=20 > but say I wanted to keep things simple and buy some kind of = kindle > or nook. how does amazon.com or bn.com get their new ebooks = onto > my reader? All of the tablet type devices I'm aware of can access the internet = through WiFi, which allows them to download the various books. Many of = them now also have a 4g type cellular antenna which can be used (with a = subscription for network access through your favorite telecom) to = download your favorite book. I admit I'm most familiar with putting books on Apple tablet devices. = PDFs or ePubs can be e-mailed to the device, which opens well in their = reading app. The devices allow any text (including I suppose, plain = text) on the screen to be "spoken" by the device. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 11:56:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 738D5845 for ; Mon, 10 Jun 2013 11:56:53 +0000 (UTC) (envelope-from david@code.davidpcaldwell.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 4A5411130 for ; Mon, 10 Jun 2013 11:56:52 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id s9so1437952iec.27 for ; Mon, 10 Jun 2013 04:56:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=pCPqPgcCqIkkKQaWL731lv6qOGYAaQ5FZhoMReVgvp4=; b=MdjOlZp153UtxEMNpgNo1yRE6drUAYbvSx2yiM4IE+MXOg1pTBMAcgAldPayyPzSsq oIXJ/c02PpvctXhlPmPGoqGDAGGtrb8j0k/EEAqHBOfJ3kvVdjwEWK3rLrBK9wDvPujp OZPXQqIhSzqqWG9qytaNN1q+2/NVY0xyC9fg0QX7yHSt/pcMmmaXzSVU7cSNZKr/MCrn QtneL+CrqhaoxIwbEsqpIprFx9jaCNgBZnUvyT/VIrfbwJfKLGg6nndIHu7frOFDJFQl 70Lz95ylijPJ97R7JeBtADiTtpE16b4BZ+fUkHg6EBn4IS3L6YJr5rCanpgU+t3JhCSZ G5Mw== X-Received: by 10.50.67.10 with SMTP id j10mr3858642igt.70.1370865412584; Mon, 10 Jun 2013 04:56:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.24.166 with HTTP; Mon, 10 Jun 2013 04:56:32 -0700 (PDT) X-Originating-IP: [12.217.80.234] From: "David P. Caldwell" Date: Mon, 10 Jun 2013 07:56:32 -0400 Message-ID: Subject: With fresh 9.1 install, bash completion no longer expands "$HOME" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnP1ho5qo9lOIDKHbghWmg/4yR/fp21+CFpoxJm4g6uZf27+XTsbriLvYZg//+hURaTjUYI X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 11:56:53 -0000 On my 9.0-based machines, if I typed $HOME[tab] when typing a command in bash, the $HOME would be overwritten by the actual path to my home directory (the value of $HOME) and tab completion would work as expected. After a fresh 9.1 install, this does not work as well. $HOME is still detected by completion, but it is not expanded after pressing tab (this does not matter to me), but also an extra space is inserted after tab. For example, if I have a directory named src under my home directory, and my working directory is an unrelated directory, and I type cd $HOME/sr[tab]: Under 9.0: cd /home/dcaldwell/src/[cursor] Under 9.1: cd $HOME/src [cursor] So under 9.1 I lose the slash and see a space instead, essentially, which renders this not very useful. If I use ~ rather than $HOME, it works correctly under both. Obviously I could probably learn to type ~ rather than $HOME but it would be a hard habit to break after years. :) For bash (and for most software) I am using binary packages from the -release distribution, so my 9.0 machines have 4.1.11 and my 9.1 machines have 4.2.37. I don't know enough about all the moving parts to know where to start tracking this down, so can someone point me in the right direction? (Unless there's an known problem or change I'm missing.) I can't figure out where completion is configured in bash outside the /usr/local/etc/bash_completion.d/ directory, which incidentally on my 9.1 setup contains: $ ls /usr/local/etc/bash_completion.d/ dbus-bash-completion.sh* gdbus-bash-completion.sh* gsettings-bash-completion.sh* Thanks, -- David Caldwell http://www.davidpcaldwell.com/ From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 13:53:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97743CFA for ; Mon, 10 Jun 2013 13:53:24 +0000 (UTC) (envelope-from vagner@bsdway.ru) Received: from bsdway.ru (bsdway.ru [62.109.17.46]) by mx1.freebsd.org (Postfix) with ESMTP id 210A11986 for ; Mon, 10 Jun 2013 13:53:23 +0000 (UTC) Received: from localhost (off-180.addr.fotocdn.net [193.105.179.180]) (authenticated bits=0) by bsdway.ru (8.14.4/8.14.5) with ESMTP id r5ADnlQl091034 for ; Mon, 10 Jun 2013 17:49:47 +0400 (MSD) (envelope-from vagner@bsdway.ru) Date: Mon, 10 Jun 2013 17:49:47 +0400 From: Vagner To: FreeBSD questions Mail List Subject: Coredumps settings for user programm Message-ID: <20130610134947.GA2729@vagner-wrk.bsdway.ru> Mail-Followup-To: FreeBSD questions Mail List MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bsdway.ru [62.109.17.46]); Mon, 10 Jun 2013 17:49:48 +0400 (MSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 13:53:24 -0000 Hello! Tell me please, can i setting coredumps write mechanism for write only stack of programm and current frame? -- Respectfully, Stanislav Putrya System administrator FotoStrana.Ru Ltd. ICQ IM: 328585847 Jabber-GoogleTalk: root.vagner mob.phone SPB: +79215788755 mob.phone RND: +79525600664 email: vagner[at]bsdway.ru email: putrya[at]playform.ru email: root.vagner[at]gmail.com site: bsdway.ru site: fotostrana.ru ---------------------------------------- ( ) ASCII ribbon campaign X - against HTML, vCards and / \ - proprietary attachments in e-mail From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 14:27:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 588D171 for ; Mon, 10 Jun 2013 14:27:49 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8141B7D for ; Mon, 10 Jun 2013 14:27:48 +0000 (UTC) Received: from mfilter18-d.gandi.net (mfilter18-d.gandi.net [217.70.178.146]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id C61D6A80B5; Mon, 10 Jun 2013 16:27:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter18-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter18-d.gandi.net (mfilter18-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id T6Am1nbvNtz6; Mon, 10 Jun 2013 16:27:30 +0200 (CEST) X-Originating-IP: 76.102.14.35 Received: from jdc.koitsu.org (c-76-102-14-35.hsd1.ca.comcast.net [76.102.14.35]) (Authenticated sender: jdc@koitsu.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E9D79A80C2; Mon, 10 Jun 2013 16:27:29 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id D56A473A1C; Mon, 10 Jun 2013 07:27:27 -0700 (PDT) Date: Mon, 10 Jun 2013 07:27:27 -0700 From: Jeremy Chadwick To: "David P. Caldwell" Subject: Re: With fresh 9.1 install, bash completion no longer expands "$HOME" Message-ID: <20130610142727.GA66204@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 14:27:49 -0000 Re: http://lists.freebsd.org/pipermail/freebsd-questions/2013-June/251607.html This has nothing to do with FreeBSD 9.0 vs. 9.1 other than the fact that the package on 9.0 is older than 9.1. Instead, this has everything to do with the difference between bash versions you're using. Remember: packages and ports 99% of the time are third-party software (in this case GNU), and therefore any changes in behaviour between versions are entirely independent of FreeBSD. The feature you like from bash 4.1 was removed in some manner of speaking in bash 4.2. This prompted a user to complain -- please read the thread (not just the post) in full, because you will see there are others who *do not* like this behaviour: http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00274.html In bash 4.2.29 -- which is technically "patch 029 for bash 4.2" -- the feature you desire got moved into a shopt feature called "direxpand", with the default being disabled. Because bash 4.3 is not out yet, you will not find any mention of this in the official bash CHANGES file at this time. Instead, you will find the answer in the official bash42-029 patch itself (read the top): ftp://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-029 If you do not like this default, or feel strongly about this whole thing and want to discuss it, the GNU bug-bash mailing list is the place: http://www.gnu.org/software/bash/ To enable direxpand, use "shopt -s direxpand". You can put this command in your ~/.bashrc. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 15:51:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1145C6F for ; Mon, 10 Jun 2013 15:51:38 +0000 (UTC) (envelope-from web@umich.edu) Received: from mail-oa0-x232.google.com (mail-oa0-x232.google.com [IPv6:2607:f8b0:4003:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id D28121FCE for ; Mon, 10 Jun 2013 15:51:37 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id l20so6222010oag.9 for ; Mon, 10 Jun 2013 08:51:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-gm-message-state; bh=OO1k+X3FR+5m8Z+zz3AylNcffzjeXydTwHvEoMzRB8E=; b=VsgxILL76/CGQsF7ymWXgaUvfAnBYICRfcB9/5D1a+hgOgKTY/1K9KDWVOa5viiDn+ HtPMrM4JsSKWKB4gprG6t31ac8fCWnzqidjr8Ud+HKTDOSJlO6EeoZX0ynfhDQouB+4f DDwztKnawDcUZk1SUFHUn/+LH4qZjSR8i+n1eld+or/4rHSQjMaxaSK0FePRz0QZUQQn I5R5JCdEsuSzuwaWPhteWKFZuMBBZIfjd62VKOTtB27/Y6tXzMjJV75UzeIyXl6PaqJo f99G/gOPKULcM0ly5rdG5tTPOo10y7S4KwhMDTNedCkVGQzgT/AtQTE0vuUUGWOWwNfK hkCg== X-Received: by 10.60.97.34 with SMTP id dx2mr7690403oeb.9.1370879497231; Mon, 10 Jun 2013 08:51:37 -0700 (PDT) Received: from localhost (itcom245.staff.itd.umich.edu. [141.213.135.249]) by mx.google.com with ESMTPSA id oe10sm23015224oeb.6.2013.06.10.08.51.36 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 10 Jun 2013 08:51:36 -0700 (PDT) Date: Mon, 10 Jun 2013 11:51:35 -0400 From: William Bulley To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-www@FreeBSD.org Subject: [SOLVED] Re: www/179397: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! Message-ID: <20130610155135.GA7104@itcom245.staff.itd.umich.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQmCKgWpeV6WyW+1nVoQt/9ro2xSRsLqTGS3OA6hgjAmgYBsGtSJDy+fGYzZL2928AbLhdq8 Cc: freebsd-questions@FreeBSD.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 15:51:38 -0000 According to FreeBSD-gnats-submit@FreeBSD.org on Fri, 06/07/13 at 06:40: > Thank you very much for your problem report. > It has the internal identification `www/179397'. > The individual assigned to look at your > report is: freebsd-www. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=179397 > > >Category: www > >Responsible: freebsd-www > >Synopsis: I used mouse focus in open-motif and shift-click3 to iconify xterms, doing so causes cursor to disappear and mouse is unusable! > >Arrival-Date: Fri Jun 07 10:40:00 UTC 2013 I may be one of the few people left who use x11-toolkits/open-motif on the FreeBSD desktop, but be that as it may, there is a bug that needs to be fixed in the /usr/ports/x11-servers/xorg-server/files/ directory. In May 2013 this directory included this file: -rw-r--r-- 1 root wheel 3487 May 2 13:08 extra-dix_events.c I upgraded my ports on a nearly identical system on May 23 and again on June 5th of 2013: unix% ll /usr/ports/x11-servers/xorg-server/files/ total 40 drwxr-xr-x 2 root wheel 1024 Jun 5 11:20 . drwxr-xr-x 4 root wheel 512 Jun 5 12:06 .. -rw-r--r-- 1 root wheel 402 Jun 5 11:20 extra-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c -rw-r--r-- 1 root wheel 350 Jun 5 11:20 extra-Xserver-os-xprintf.c -rw-r--r-- 1 root wheel 5536 May 23 12:19 extra-arch-ia64 -rw-r--r-- 1 root wheel 438 May 23 12:19 extra-arch-powerpc -rw-r--r-- 1 root wheel 2467 Jun 5 11:20 extra-clang -rw-r--r-- 1 root wheel 799 May 23 12:19 extra-include_eventstr.h -rw-r--r-- 1 root wheel 493 Jun 5 11:20 extra-new-arch-i386 -rw-r--r-- 1 root wheel 511 Jun 5 11:20 extra-old-arch-i386 -rw-r--r-- 1 root wheel 645 Jun 5 11:20 extra-os-utils.c -rw-r--r-- 1 root wheel 320 Jun 5 11:20 extra-servermd.h -rw-r--r-- 1 root wheel 384 May 23 12:19 patch-Xserver-hw-xfree86-common-xf86Config.c -rw-r--r-- 1 root wheel 469 May 23 12:19 patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c -rw-r--r-- 1 root wheel 471 May 23 12:19 patch-xorgconf.cpp -rw-r--r-- 1 root wheel 155 May 23 12:19 pkg-deinstall.in -rw-r--r-- 1 root wheel 551 May 23 12:19 pkg-install.in The lack of the extra-dix_events.c patch file caused using my three button USB mouse with x11-toolkits/open-motif to fail. Note: all ports were rebuilt on Jun 5th after running "svn update /usr/ports" from within /usr/ports. Once the mouse failed, all I could do was CTRL-ALT-BS and revert to virtual terminals - not a very good desktop substitute. It turns out that the last patch segment of extra-dix_events.c was omitted (along with the entire patch file itself): @@ -3632,7 +3583,8 @@ CheckPassiveGrabsOnWindow( { FixUpEventFromWindow(device, xE, grab->window, None, TRUE); - TryClientEvents(rClient(grab), device, xE, count, mask, + TryClientEvents(rClient(grab), device, xE, count, + GetEventFilter(device, xE), GetEventFilter(device, xE), grab); } The lack of this last patch segment was the cause of my problems with mwm (part of the x11-toolkits/open-motif port) but it did not impact other window managers such as FVWM which may be why this patch was overlooked. Regards, web... -- William Bulley Email: web@umich.edu 72 characters width template ----------------------------------------->| From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 17:03:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7807DF5 for ; Mon, 10 Jun 2013 17:03:59 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4531015F1 for ; Mon, 10 Jun 2013 17:03:58 +0000 (UTC) Received: from [10.219.130.119] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r5AH3cRi077800 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 10 Jun 2013 12:03:38 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51B606F7.4050604@tundraware.com> Date: Mon, 10 Jun 2013 12:03:51 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: FreeBSD Mailing List Subject: Suddenly Seeing Clamav Errors After MailScanner Update Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 10 Jun 2013 12:03:39 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r5AH3cRi077800 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 17:03:59 -0000 I am working on a FBSD 9.1-STABLE mail machine that's been working fine. After upgrading to MailScanner 4.84.5_3, we are now suddenly seeing like this: Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed: Permission denied. ERROR :: /var/spool/MailScanner/incoming/68340 Any ideas what might cause this? I have fallen back to the previous MailScanner.conf file wherein the problem does NOT seem to happen. But, after diffing old and new config files I cannot see where anything relevant to this might have changed. Ideas anyone? -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 18:14:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6A229849 for ; Mon, 10 Jun 2013 18:14:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 2A968193C for ; Mon, 10 Jun 2013 18:13:59 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Um6bN-0006Kj-Rf for freebsd-questions@freebsd.org; Mon, 10 Jun 2013 20:13:57 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 20:13:57 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 20:13:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: buildworld selectively? Date: Mon, 10 Jun 2013 18:13:36 +0000 (UTC) Lines: 20 Message-ID: References: <51B4CFCA.3010705@hayers.org> <44mwqzotyf.fsf@lowell-desk.lan> <20917.9991.514334.851719@jerusalem.litteratus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 18:14:00 -0000 On Sun, 09 Jun 2013 21:08:23 -0400, Robert Huff wrote: > Walter Hurry writes: > >> Fair enough. Point taken, thanks. Nevertheless I see no reason to >> compile stuff I neither want nor need. > > While I endorse the principle ... it can be difficult for the > casual user to know which parts can be removed without blowing up things > they want. > (Been there, had to change the underwear after the new kernel > didn't boot. Booted old kernel, fixed things.) > Wise words. The kernel and world builds/installs went fine, but soon afterwards I noticed a problem with the mail/dcc-dccd port (required, in my case, by SpamAssassin), which would not rebuild, complaining that the base sendmail was not found or too old. Since I use Postfix, I had set WITHOUT_SENDMAIL in /etc/src.conf. I shall remove it and rebuild. C'est la vie! From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 18:59:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2D022F33 for ; Mon, 10 Jun 2013 18:59:11 +0000 (UTC) (envelope-from lconrad@go2france.com) Received: from omx1.hctc.net (omx1.hctc.net [69.4.62.74]) by mx1.freebsd.org (Postfix) with ESMTP id 149B31AE3 for ; Mon, 10 Jun 2013 18:59:10 +0000 (UTC) Received: from hctc.net (unknown [69.4.62.44]) by omx1.hctc.net (Postfix) with ESMTP id 622C711462 for ; Mon, 10 Jun 2013 13:53:31 -0500 (CDT) X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=69.4.54.186; From: lconrad@go2france.com To: Subject: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 13:53:26 -0500 Message-ID: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Originating-IP: 69.4.54.186 X-Mailer: SurgeWeb - Ajax Webmail Client X-Authenticated-User: lconrad@go2france.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 18:59:11 -0000 script fragment: PTR=`dig @some.dns +short +norec -x a.b.c.d` echo "$PTR" if [ "$PTR" == "" ] ; then echo "$PTR" >> /path/to/PTR_absent.txt fi =========== output for an IP: a-b-c-d.domain.net. [: a-b-c-d.domain.net.: unexpected operator thanks Len From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:00:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D8FCAFE7; Mon, 10 Jun 2013 19:00:59 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id AC8271B00; Mon, 10 Jun 2013 19:00:59 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id r5AJ0lc0021238 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Jun 2013 14:00:47 -0500 Received: from dtwin (10.242.182.25) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 10 Jun 2013 14:00:47 -0500 From: Sender: Devin Teske To: , References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> In-Reply-To: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> Subject: RE: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 11:59:14 -0700 Message-ID: <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-index: AQKqCa+a9hyR0ot3Jqq7BhaQloss/Zd4BYEQ X-Originating-IP: [10.242.182.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-10_05:2013-06-10,2013-06-10,1970-01-01 signatures=0 Cc: Devin Teske X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:00:59 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of lconrad@go2france.com > Sent: Monday, June 10, 2013 11:53 AM > To: freebsd-questions@freebsd.org > Subject: Bourne shell "if" syntax > > > > script fragment: > > PTR=`dig @some.dns +short +norec -x a.b.c.d` > > echo "$PTR" > > if [ "$PTR" == "" ] ; then > if [ "$PTR" = "" ]; then or if [ -z "$PTR" ]; then or if [ "$PTR" ]; then but _NOT_ if [ "$PTR" == "" ]; then -- Devin > echo "$PTR" >> /path/to/PTR_absent.txt > > fi > > =========== > > output for an IP: > > > a-b-c-d.domain.net. > [: a-b-c-d.domain.net.: unexpected operator > > thanks > Len > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:01:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EA3E0121; Mon, 10 Jun 2013 19:01:39 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id BCF961B19; Mon, 10 Jun 2013 19:01:39 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id r5AJ1dLc022796 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Jun 2013 14:01:39 -0500 Received: from dtwin (10.242.182.25) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 10 Jun 2013 14:01:39 -0500 From: Sender: Devin Teske To: , References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> In-Reply-To: <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> Subject: RE: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 12:00:06 -0700 Message-ID: <121901ce660c$b95d4020$2c17c060$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-index: AQKqCa+a9hyR0ot3Jqq7BhaQloss/QGZ464Nl2s21RA= X-Originating-IP: [10.242.182.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-10_05:2013-06-10,2013-06-10,1970-01-01 signatures=0 Cc: dteske@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:01:40 -0000 > -----Original Message----- > From: Devin Teske [mailto:devin.teske@fisglobal.com] On Behalf Of > dteske@freebsd.org > Sent: Monday, June 10, 2013 11:59 AM > To: lconrad@go2france.com; freebsd-questions@freebsd.org > Cc: Devin Teske > Subject: RE: Bourne shell "if" syntax > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > questions@freebsd.org] On Behalf Of lconrad@go2france.com > > Sent: Monday, June 10, 2013 11:53 AM > > To: freebsd-questions@freebsd.org > > Subject: Bourne shell "if" syntax > > > > > > > > script fragment: > > > > PTR=`dig @some.dns +short +norec -x a.b.c.d` > > > > echo "$PTR" > > > > if [ "$PTR" == "" ] ; then > > > > if [ "$PTR" = "" ]; then > > or > > if [ -z "$PTR" ]; then > > or > > if [ "$PTR" ]; then > err, that should have been: or if [ ! "$PTR" ]; then -- Devin > but _NOT_ > > if [ "$PTR" == "" ]; then > > -- > Devin > > > > echo "$PTR" >> /path/to/PTR_absent.txt > > > > fi > > > > =========== > > > > output for an IP: > > > > > > a-b-c-d.domain.net. > > [: a-b-c-d.domain.net.: unexpected operator > > > > thanks > > Len > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > > _____________ > The information contained in this message is proprietary and/or confidential. If > you are not the intended recipient, please: (i) delete the message and all copies; > (ii) do not disclose, distribute or use the message in any manner; and (iii) notify > the sender immediately. In addition, please be aware that any message > addressed to our domain is subject to archiving and review by persons other than > the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:03:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AD7901C9 for ; Mon, 10 Jun 2013 19:03:16 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 795351B33 for ; Mon, 10 Jun 2013 19:03:16 +0000 (UTC) Received: from [10.219.130.119] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r5AJ2x2L024151 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 10 Jun 2013 14:03:00 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51B622EE.2090002@tundraware.com> Date: Mon, 10 Jun 2013 14:03:10 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: lconrad@go2france.com Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> In-Reply-To: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 10 Jun 2013 14:03:00 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r5AJ2x2L024151 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:03:16 -0000 On 06/10/2013 01:53 PM, lconrad@go2france.com wrote: > > > script fragment: > > PTR=`dig @some.dns +short +norec -x a.b.c.d` > > echo "$PTR" > > if [ "$PTR" == "" ] ; then > > echo "$PTR" >> /path/to/PTR_absent.txt > > fi > > =========== > > output for an IP: > > > a-b-c-d.domain.net. > [: a-b-c-d.domain.net.: unexpected operator > Try this instead and see if this fixes it: if [ _"$PTR" == _ ] ; then ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:05:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4087C292 for ; Mon, 10 Jun 2013 19:05:46 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1301B5D for ; Mon, 10 Jun 2013 19:05:45 +0000 (UTC) Received: from [10.219.130.119] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r5AJ5TGK024219 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 10 Jun 2013 14:05:30 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51B62389.5000500@tundraware.com> Date: Mon, 10 Jun 2013 14:05:45 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> In-Reply-To: <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 10 Jun 2013 14:05:30 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r5AJ5TGK024219 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:05:46 -0000 On 06/10/2013 01:59 PM, dteske@freebsd.org wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of lconrad@go2france.com >> Sent: Monday, June 10, 2013 11:53 AM >> To: freebsd-questions@freebsd.org >> Subject: Bourne shell "if" syntax >> >> >> >> script fragment: >> >> PTR=`dig @some.dns +short +norec -x a.b.c.d` >> >> echo "$PTR" >> >> if [ "$PTR" == "" ] ; then >> > > if [ "$PTR" = "" ]; then > > or > > if [ -z "$PTR" ]; then > > or > > if [ "$PTR" ]; then > > but _NOT_ > > if [ "$PTR" == "" ]; then > I work across a bunch of different OSs and shells of many vintages. As I recall, the -z argument has problems of portability on older/broken shells and/or is not available in all environments (I cannot recall which at the moment). So I achieve the same results by using a character sentinel that guarantees that the comparison always works: f [ _"$PTR" == _ ] ; then -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:09:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EE78035D for ; Mon, 10 Jun 2013 19:09:46 +0000 (UTC) (envelope-from feld@feld.me) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id C2DB71B9B for ; Mon, 10 Jun 2013 19:09:46 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B4B9D21C30 for ; Mon, 10 Jun 2013 15:09:37 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute2.internal (MEProxy); Mon, 10 Jun 2013 15:09:38 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to; s= mesmtp; bh=x754tl0kRdV+gg9k6oodoGBMrzQ=; b=MGKvcpXbz6y3mdq+3lRI2 Z879PMLy5NHfhCAzohA4AAWlt8+A3jZcoB9Dh/nV9GkVcpdPkkuzFCqP+2Hk8uH/ 4dDqf2PYL6fqOIA1G4taJJXbn0v0AcYKl8xERzwCVsCH3at2ncYDOimkWvWdPENE Sh98uE1J80v3aysQKghn1Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:subject:references:date :mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=x754tl0kRdV+gg9k6oodoGBMrzQ=; b=gMoD irUALFXgPf8ZIJ1wRecO8yhUWA73NPTHkuqgGVAgOTwvzgSescbi2z2tco2tFL5N UO8zw9cygQHllJ5YxmDIka5F363f0lMxqY2v7mCH+/+fkHRaAbn0jHu6vAWbCQ8a kUoiAWT5JN7IaEZR7R4Lu6x7NC3MMtn2ciPWVt4= X-Sasl-enc: rAT5EVOFhBvbLYAd3uaACHz6Y4yw/PyoGid/QBVsLOOJ 1370891377 Received: from markf.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id A5A7CC00005 for ; Mon, 10 Jun 2013 15:09:37 -0400 (EDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-questions@freebsd.org Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> Date: Mon, 10 Jun 2013 14:09:37 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Mark Felder" Message-ID: In-Reply-To: <51B62389.5000500@tundraware.com> User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:09:47 -0000 On Mon, 10 Jun 2013 14:05:45 -0500, Tim Daneliuk wrote: > if [ _"$PTR" == _ ] ; then I've never seen this syntax before. Intriguing! From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:12:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1BFDC40C; Mon, 10 Jun 2013 19:12:05 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id E13911BB8; Mon, 10 Jun 2013 19:12:04 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r5AJBlpp003471 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Jun 2013 14:12:00 -0500 Received: from dtwin (10.242.182.25) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 10 Jun 2013 14:11:58 -0500 From: Sender: Devin Teske To: , References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> In-Reply-To: <51B62389.5000500@tundraware.com> Subject: RE: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 12:10:26 -0700 Message-ID: <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-index: AQKqCa+a9hyR0ot3Jqq7BhaQloss/QGZ464NAYNXZdaXXx3XMA== X-Originating-IP: [10.242.182.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-10_05:2013-06-10,2013-06-10,1970-01-01 signatures=0 Cc: Devin Teske X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:12:05 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Tim Daneliuk > Sent: Monday, June 10, 2013 12:06 PM > To: freebsd-questions@freebsd.org > Subject: Re: Bourne shell "if" syntax > > On 06/10/2013 01:59 PM, dteske@freebsd.org wrote: > > > > > >> -----Original Message----- > >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > >> questions@freebsd.org] On Behalf Of lconrad@go2france.com > >> Sent: Monday, June 10, 2013 11:53 AM > >> To: freebsd-questions@freebsd.org > >> Subject: Bourne shell "if" syntax > >> > >> > >> > >> script fragment: > >> > >> PTR=`dig @some.dns +short +norec -x a.b.c.d` > >> > >> echo "$PTR" > >> > >> if [ "$PTR" == "" ] ; then > >> > > > > if [ "$PTR" = "" ]; then > > > > or > > > > if [ -z "$PTR" ]; then > > > > or > > > > if [ "$PTR" ]; then > > > > but _NOT_ > > > > if [ "$PTR" == "" ]; then > > > > > I work across a bunch of different OSs and shells of many vintages. As I recall, > the -z argument has problems of portability on older/broken shells and/or > is not available in all environments (I cannot recall which at the moment). So > I achieve the same results by using a character sentinel that guarantees that the > comparison always works: > > f [ _"$PTR" == _ ] ; then > Character sentinels are not required. FreeBSD's sh(1) knows (because "[" is a built-in) that when you quote a parameter, that it is not (even if the value begins with "-") not an operator. So doing things like: foo=-gt if [ "$foo" = "" ]; then or foo=-gt if [ -z "$foo" ]; then or if [ ! "$foo" ]; then or even the following (flipping the conditional): if [ "$foo" != "" ]; then if [ -n "$foo" ]; then if [ "$foo" ]; then All work as expected. It matters not the value of $foo. sh(1) in FreeBSD knows because of the double-quotes that it is not an operator. Furthermore... "==" is not the right operator. It's "=". Portability would surely be compromised if you were using "==" (which doesn't work on FreeBSD; or many other OSes I gather from experience). -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:17:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A01296A9; Mon, 10 Jun 2013 19:17:00 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 62AE71C35; Mon, 10 Jun 2013 19:17:00 +0000 (UTC) Received: from [10.219.130.119] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r5AJGYtn024643 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 10 Jun 2013 14:16:34 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51B62622.1070201@tundraware.com> Date: Mon, 10 Jun 2013 14:16:50 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: dteske@freebsd.org Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> In-Reply-To: <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 10 Jun 2013 14:16:35 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r5AJGYtn024643 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:17:00 -0000 On 06/10/2013 02:10 PM, dteske@freebsd.org wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >> questions@freebsd.org] On Behalf Of Tim Daneliuk >> Sent: Monday, June 10, 2013 12:06 PM >> To: freebsd-questions@freebsd.org >> Subject: Re: Bourne shell "if" syntax >> >> On 06/10/2013 01:59 PM, dteske@freebsd.org wrote: >>> >>> >>>> -----Original Message----- >>>> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- >>>> questions@freebsd.org] On Behalf Of lconrad@go2france.com >>>> Sent: Monday, June 10, 2013 11:53 AM >>>> To: freebsd-questions@freebsd.org >>>> Subject: Bourne shell "if" syntax >>>> >>>> >>>> >>>> script fragment: >>>> >>>> PTR=`dig @some.dns +short +norec -x a.b.c.d` >>>> >>>> echo "$PTR" >>>> >>>> if [ "$PTR" == "" ] ; then >>>> >>> >>> if [ "$PTR" = "" ]; then >>> >>> or >>> >>> if [ -z "$PTR" ]; then >>> >>> or >>> >>> if [ "$PTR" ]; then >>> >>> but _NOT_ >>> >>> if [ "$PTR" == "" ]; then >>> >> >> >> I work across a bunch of different OSs and shells of many vintages. As I > recall, >> the -z argument has problems of portability on older/broken shells and/or >> is not available in all environments (I cannot recall which at the moment). > So >> I achieve the same results by using a character sentinel that guarantees that > the >> comparison always works: >> >> f [ _"$PTR" == _ ] ; then >> > > Character sentinels are not required. > > FreeBSD's sh(1) knows (because "[" is a built-in) that when you quote a > parameter, that it is not (even if the value begins with "-") not an operator. > That wasn't really my point. I use sentinels because in the face of an empty string this: if [ $PTR = "" ] Actually evaluates to: if [ = "" ] Which throws an error. The character sentinel avoids this without having to use -z, which as I said, I've had problems with not being too portable across older machinery. > All work as expected. It matters not the value of $foo. sh(1) in FreeBSD knows > because of the double-quotes that it is not an operator. > > Furthermore... > > "==" is not the right operator. It's "=". > > Portability would surely be compromised if you were using "==" (which doesn't > work on FreeBSD; or many other OSes I gather from experience). > Ooops, I did catch that and you're quite right. -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:20:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CD1A28AF; Mon, 10 Jun 2013 19:20:28 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9EC331C6C; Mon, 10 Jun 2013 19:20:28 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r5AJKR31013895 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Jun 2013 14:20:27 -0500 Received: from dtwin (10.242.182.25) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 10 Jun 2013 14:20:26 -0500 From: Sender: Devin Teske To: , References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B62622.1070201@tundraware.com> In-Reply-To: <51B62622.1070201@tundraware.com> Subject: RE: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 12:18:54 -0700 Message-ID: <123201ce660f$59a7b9f0$0cf72dd0$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-index: AQKqCa+a9hyR0ot3Jqq7BhaQloss/QGZ464NAYNXZdYBptsxcwJq94O4lz6SEpA= X-Originating-IP: [10.242.182.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-10_05:2013-06-10,2013-06-10,1970-01-01 signatures=0 Cc: dteske@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:20:28 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Tim Daneliuk > Sent: Monday, June 10, 2013 12:17 PM > To: dteske@freebsd.org > Cc: freebsd-questions@freebsd.org > Subject: Re: Bourne shell "if" syntax > > On 06/10/2013 02:10 PM, dteske@freebsd.org wrote: > > > > > >> -----Original Message----- > >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > >> questions@freebsd.org] On Behalf Of Tim Daneliuk > >> Sent: Monday, June 10, 2013 12:06 PM > >> To: freebsd-questions@freebsd.org > >> Subject: Re: Bourne shell "if" syntax > >> > >> On 06/10/2013 01:59 PM, dteske@freebsd.org wrote: > >>> > >>> > >>>> -----Original Message----- > >>>> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > >>>> questions@freebsd.org] On Behalf Of lconrad@go2france.com > >>>> Sent: Monday, June 10, 2013 11:53 AM > >>>> To: freebsd-questions@freebsd.org > >>>> Subject: Bourne shell "if" syntax > >>>> > >>>> > >>>> > >>>> script fragment: > >>>> > >>>> PTR=`dig @some.dns +short +norec -x a.b.c.d` > >>>> > >>>> echo "$PTR" > >>>> > >>>> if [ "$PTR" == "" ] ; then > >>>> > >>> > >>> if [ "$PTR" = "" ]; then > >>> > >>> or > >>> > >>> if [ -z "$PTR" ]; then > >>> > >>> or > >>> > >>> if [ "$PTR" ]; then > >>> > >>> but _NOT_ > >>> > >>> if [ "$PTR" == "" ]; then > >>> > >> > >> > >> I work across a bunch of different OSs and shells of many vintages. As I > > recall, > >> the -z argument has problems of portability on older/broken shells and/or > >> is not available in all environments (I cannot recall which at the moment). > > So > >> I achieve the same results by using a character sentinel that guarantees that > > the > >> comparison always works: > >> > >> f [ _"$PTR" == _ ] ; then > >> > > > > Character sentinels are not required. > > > > FreeBSD's sh(1) knows (because "[" is a built-in) that when you quote a > > parameter, that it is not (even if the value begins with "-") not an operator. > > > > > That wasn't really my point. I use sentinels because in the face of an > empty string this: > > if [ $PTR = "" ] > > Actually evaluates to: > > if [ = "" ] > and hence why you shouldn't do that. Instead do this: if [ "$PTR" = "" ] Which [potentially] evaluates to: if [ "" = "" ] > Which throws an error. The character sentinel avoids this without having to > use -z, which as I said, I've had problems with not being too portable across > older machinery. > Which again, is because you're not double-quoting your parameter. The sentinel is not required if you double-quote your parameter (which you were already doing in your example). For example (with sentinel): if [ _"$PTR" == (sic) _ ] ; then Since you've already double-quoted the parameter, I'm letting you know that the sentinel is unnecessary. -- Devin > > > All work as expected. It matters not the value of $foo. sh(1) in FreeBSD knows > > because of the double-quotes that it is not an operator. > > > > Furthermore... > > > > "==" is not the right operator. It's "=". > > > > Portability would surely be compromised if you were using "==" (which doesn't > > work on FreeBSD; or many other OSes I gather from experience). > > > > Ooops, I did catch that and you're quite right. > -- > ----------------------------------------------------------------------- > Tim Daneliuk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:22:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1666C968 for ; Mon, 10 Jun 2013 19:22:36 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x236.google.com (mail-ob0-x236.google.com [IPv6:2607:f8b0:4003:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id D8F971C85 for ; Mon, 10 Jun 2013 19:22:35 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id va7so10458950obc.41 for ; Mon, 10 Jun 2013 12:22:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=uR30w93tuSxYvFvVsJusUOf+tbCe/i6d6lk4bSV9V/Y=; b=iBfFDycLjGx43/owgEvE9qz9E6tV5fcoH56bl9Yv9v6gTr7tQxDqxIAyqzz+FZp9tm i8TF1KW5T4/h+6WzLQt/JLY3sHKqa9OZS6xE+xfwjgMGTvEwRzUNt94A7l6nZuHx3YHj c1qsIBV5aSY+959ve8iuSdWCuw7YPfy/IxjSKxvYUEovtMpRw7h7f0epc1vUtHNARzIl SDqei6bRKBT27igl0pbkhmWy3sf+IrOsDPDXpRIsBDoTJ9JEQwltpesXoWGwpAM7KfoY FJAiF4beY3jt1MnJNoEsegeLkpkpVik1Lwp/lP9HPnfzwIH+uQ5QYJZrDNQxreXQIFPa gd0g== MIME-Version: 1.0 X-Received: by 10.182.27.74 with SMTP id r10mr9275764obg.63.1370892155437; Mon, 10 Jun 2013 12:22:35 -0700 (PDT) Received: by 10.60.123.77 with HTTP; Mon, 10 Jun 2013 12:22:35 -0700 (PDT) In-Reply-To: <51B62622.1070201@tundraware.com> References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B62622.1070201@tundraware.com> Date: Mon, 10 Jun 2013 12:22:35 -0700 Message-ID: Subject: Re: Bourne shell "if" syntax From: Michael Sierchio To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQk2KNgubN0sKRr0GMHq/K3r20mKyPBP91mCVq2JHGAN+/EsQZGISIlMOXTl/R01/U3uuUTA X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:22:36 -0000 On Mon, Jun 10, 2013 at 12:16 PM, Tim Daneliuk wrote: > That wasn't really my point. I use sentinels because in the face of an > empty string this: > > if [ $PTR = "" ] > > Actually evaluates to: > > if [ = "" ] > > Which throws an error. Right. Many scripts seem to assume that sh is bash, and that's certainly not the case here. if [ "x$BLAH" = "x" ]; then is the most reliable and portable way of determining if it's a string of zero length. - M From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:22:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 137929FF; Mon, 10 Jun 2013 19:22:59 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id D6D0C1C92; Mon, 10 Jun 2013 19:22:58 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id r5AJMwPh021752 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Jun 2013 14:22:58 -0500 Received: from dtwin (10.242.182.25) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 10 Jun 2013 14:22:57 -0500 From: Sender: Devin Teske To: , References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B62622.1070201@tundraware.com> <123201ce660f$59a7b9f0$0cf72dd0$@freebsd.org> In-Reply-To: <123201ce660f$59a7b9f0$0cf72dd0$@freebsd.org> Subject: RE: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 12:21:25 -0700 Message-ID: <123401ce660f$b399d970$1acd8c50$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-index: AQKqCa+a9hyR0ot3Jqq7BhaQloss/QGZ464NAYNXZdYBptsxcwJq94O4ASdzrlaXNVeJYA== X-Originating-IP: [10.242.182.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-10_05:2013-06-10,2013-06-10,1970-01-01 signatures=0 Cc: dteske@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:22:59 -0000 > -----Original Message----- > From: Devin Teske [mailto:devin.teske@fisglobal.com] On Behalf Of > dteske@freebsd.org > Sent: Monday, June 10, 2013 12:19 PM > To: tundra@tundraware.com; freebsd-questions@freebsd.org > Cc: dteske@freebsd.org > Subject: RE: Bourne shell "if" syntax > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > questions@freebsd.org] On Behalf Of Tim Daneliuk > > Sent: Monday, June 10, 2013 12:17 PM > > To: dteske@freebsd.org > > Cc: freebsd-questions@freebsd.org > > Subject: Re: Bourne shell "if" syntax > > > > On 06/10/2013 02:10 PM, dteske@freebsd.org wrote: > > > > > > > > >> -----Original Message----- > > >> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > >> questions@freebsd.org] On Behalf Of Tim Daneliuk > > >> Sent: Monday, June 10, 2013 12:06 PM > > >> To: freebsd-questions@freebsd.org > > >> Subject: Re: Bourne shell "if" syntax > > >> > > >> On 06/10/2013 01:59 PM, dteske@freebsd.org wrote: > > >>> > > >>> > > >>>> -----Original Message----- > > >>>> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > >>>> questions@freebsd.org] On Behalf Of lconrad@go2france.com > > >>>> Sent: Monday, June 10, 2013 11:53 AM > > >>>> To: freebsd-questions@freebsd.org > > >>>> Subject: Bourne shell "if" syntax > > >>>> > > >>>> > > >>>> > > >>>> script fragment: > > >>>> > > >>>> PTR=`dig @some.dns +short +norec -x a.b.c.d` > > >>>> > > >>>> echo "$PTR" > > >>>> > > >>>> if [ "$PTR" == "" ] ; then > > >>>> > > >>> > > >>> if [ "$PTR" = "" ]; then > > >>> > > >>> or > > >>> > > >>> if [ -z "$PTR" ]; then > > >>> > > >>> or > > >>> > > >>> if [ "$PTR" ]; then > > >>> > > >>> but _NOT_ > > >>> > > >>> if [ "$PTR" == "" ]; then > > >>> > > >> > > >> > > >> I work across a bunch of different OSs and shells of many vintages. As I > > > recall, > > >> the -z argument has problems of portability on older/broken shells and/or > > >> is not available in all environments (I cannot recall which at the moment). > > > So > > >> I achieve the same results by using a character sentinel that guarantees > that > > > the > > >> comparison always works: > > >> > > >> f [ _"$PTR" == _ ] ; then > > >> > > > > > > Character sentinels are not required. > > > > > > FreeBSD's sh(1) knows (because "[" is a built-in) that when you quote a > > > parameter, that it is not (even if the value begins with "-") not an > operator. > > > > > > > > > That wasn't really my point. I use sentinels because in the face of an > > empty string this: > > > > if [ $PTR = "" ] > > > > Actually evaluates to: > > > > if [ = "" ] > > > > and hence why you shouldn't do that. > Actually, there's another reason you should also avoid the above (unquoted parameter), and that's in the case of a multi-word value. For example: foo="abc 123" if [ $foo = "" ]; then Produces: sh: line 0: [: too many arguments -- Devin > Instead do this: > > if [ "$PTR" = "" ] > > Which [potentially] evaluates to: > > if [ "" = "" ] > > > > Which throws an error. The character sentinel avoids this without having to > > use -z, which as I said, I've had problems with not being too portable across > > older machinery. > > > > Which again, is because you're not double-quoting your parameter. > > The sentinel is not required if you double-quote your parameter (which you were > already doing in your example). > > For example (with sentinel): > > if [ _"$PTR" == (sic) _ ] ; then > > Since you've already double-quoted the parameter, I'm letting you know that the > sentinel is unnecessary. > -- > Devin > > > > > > > All work as expected. It matters not the value of $foo. sh(1) in FreeBSD > knows > > > because of the double-quotes that it is not an operator. > > > > > > Furthermore... > > > > > > "==" is not the right operator. It's "=". > > > > > > Portability would surely be compromised if you were using "==" (which > doesn't > > > work on FreeBSD; or many other OSes I gather from experience). > > > > > > > Ooops, I did catch that and you're quite right. > > -- > > ----------------------------------------------------------------------- > > Tim Daneliuk > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > > _____________ > The information contained in this message is proprietary and/or confidential. If > you are not the intended recipient, please: (i) delete the message and all copies; > (ii) do not disclose, distribute or use the message in any manner; and (iii) notify > the sender immediately. In addition, please be aware that any message > addressed to our domain is subject to archiving and review by persons other than > the intended recipient. Thank you. _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:46:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 84976E6F; Mon, 10 Jun 2013 19:46:59 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2E81DBF; Mon, 10 Jun 2013 19:46:58 +0000 (UTC) Received: from [10.219.130.119] ([66.175.245.1]) (authenticated bits=0) by ozzie.tundraware.com (8.14.7/8.14.7) with ESMTP id r5AJkjoi025169 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 10 Jun 2013 14:46:45 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <51B62D34.2020201@tundraware.com> Date: Mon, 10 Jun 2013 14:47:00 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: dteske@freebsd.org Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B62622.1070201@tundraware.com> <123201ce660f$59a7b9f0$0cf72dd0$@freebsd.org> <123401ce660f$b399d970$1acd8c50$@freebsd.org> In-Reply-To: <123401ce660f$b399d970$1acd8c50$@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ozzie.tundraware.com [75.145.138.73]); Mon, 10 Jun 2013 14:46:45 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: r5AJkjoi025169 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tundra@tundraware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:46:59 -0000 On 06/10/2013 02:21 PM, dteske@freebsd.org wrote: > ctually, there's another reason you should also avoid the above (unquoted > parameter), and that's in the case of a multi-word value. For example: Yup, that's the compelling case for using quoting. -- ----------------------------------------------------------------------- Tim Daneliuk From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:53:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 46F29F79 for ; Mon, 10 Jun 2013 19:53:03 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 09B5F1E02 for ; Mon, 10 Jun 2013 19:53:02 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Um895-0006kQ-SZ for freebsd-questions@freebsd.org; Mon, 10 Jun 2013 21:52:56 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 21:52:51 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 21:52:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 19:52:37 +0000 (UTC) Lines: 19 Message-ID: References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B62622.1070201@tundraware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:53:03 -0000 Michael Sierchio tenebras.com> writes: > ... > Right. Many scripts seem to assume that sh is bash, and that's > certainly not the case here. > > if [ "x$BLAH" = "x" ]; then > > is the most reliable and portable way of determining if it's a string > of zero length. Actually this trick is not needed any more (it has not been required for long time because the problem was fixed). http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2012-August/004275.html jb From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 19:56:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C44F9C1 for ; Mon, 10 Jun 2013 19:56:10 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22e.google.com (mail-pb0-x22e.google.com [IPv6:2607:f8b0:400e:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id A28661E1D for ; Mon, 10 Jun 2013 19:56:10 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id rq2so2608795pbb.19 for ; Mon, 10 Jun 2013 12:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vreOUOHXeMn/ykJSWk/LCwT41+75qhffaxmVXXkentM=; b=V1Vimlv03yWdACzWX42IX25dKO1S7bh0VsBjObPkRe+3r+DFXT9FlWIoWdLwSEtepU aXvL3j8pqsdxcLd2/kxvnRM45t2EtmkPV1FtklnUn0kYI6B0ObjdQFFXdN/34Oclf88c Q6Gumj8QK9T/OjDfR/+QLwpswSun0jPE8xKk9NRCLlL25nPu+sCbgtVP4azgpGT5YChb hvtFDXhlWFzUk1ngMfpkgneG9xIhuz9VvsPJbQeNjSeJGEVnY9UdNEf2y5z8Aj3naWFL K6F2O6FWss0ALvK4bzkjCCP9YJPf5UHoMipOxRktuP2rj+hwCO/rkKQ1FzqvLA4VtvhV aDZQ== MIME-Version: 1.0 X-Received: by 10.68.203.161 with SMTP id kr1mr10854426pbc.192.1370894170391; Mon, 10 Jun 2013 12:56:10 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Mon, 10 Jun 2013 12:56:10 -0700 (PDT) In-Reply-To: <44mwqzotyf.fsf@lowell-desk.lan> References: <51B4CFCA.3010705@hayers.org> <44mwqzotyf.fsf@lowell-desk.lan> Date: Mon, 10 Jun 2013 14:56:10 -0500 Message-ID: Subject: Re: buildworld selectively? From: Adam Vande More To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions , Walter Hurry X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 19:56:10 -0000 On Sun, Jun 9, 2013 at 4:27 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Walter Hurry writes: > > > Ah, src.conf. That's what I missed!. Thank you so much Gary, and sorry if > > it was a silly question. > > Bear in mind that you're only going to be able to shave a small fraction > off the build time. by excluding parts of the build. The 'games' section > in particular has almost nothing in it. You can save great deal of build time if you don't need much. Between limiting what is built for world and kernel, most builds could be cut to a small fraction of what default is. For example, WITHOUT_CLANG alone save a lot of time. However to get a complete targeted build takes a good deal of effort. Usually only makes sense for mass deployments IME. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 20:21:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2739270D for ; Mon, 10 Jun 2013 20:21:24 +0000 (UTC) (envelope-from delineationqs1@ticketmaster.com.au) Received: from pacelo2.lnk.telstra.net (pacelo2.lnk.telstra.net [165.228.229.225]) by mx1.freebsd.org (Postfix) with ESMTP id 1BFFE1F3C for ; Mon, 10 Jun 2013 20:21:20 +0000 (UTC) Received: from [134.153.172.98] (helo=mgralue.nqnth.com) by pacelo2.lnk.telstra.net with esmtpa (Exim 4.69) (envelope-from ) id 1MM001-6981hx-I6 for freebsd-questions@freebsd.org; Tue, 11 Jun 2013 06:21:19 +1000 Date: Tue, 11 Jun 2013 06:21:19 +1000 Message-ID: <3191-3626856815925504-314658506822582@reply.ticketmaster.com> From: "Ticket Master" To: Subject: Your Ticket Order Confirmation MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=a__izkwnglg_55_51_94" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 20:21:24 -0000 ------=a__izkwnglg_55_51_94 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Thank you for purchasing tickets on Ticketmaster.Your order number for th= is purchase is 18-00609/AUS.Complete order detail is attached to this e-m= ail.You will receive your tickets via: International Express-Ticketmaster= will mail these within 2 business days of the booking.Tickets usually ar= rive within 10 working days of posting. Total Charge: AU $198.50Th= ank you for adding Event Ticket Insurance to your order. You will be bill= ed AU $13.00 (AU $6.50 per ticket)separately.Please note: for any ticket-= related issues, please continue to contact Ticketmaster Customer Service.= Thanks again for using Ticketmaster. = Return to Ticketmaster home. You can always check your orde= r and manage your preferences in My Ticketmaster. ________________= __________________________________________________________________ The= personal information collected by Ticketmaster is used to ensure that th= e tickets or goods you purchased are delivered to you and that the you ar= e advised of any possible changes/cancellations that may occur in relatio= n to the event you booked. Ticketmaster collect personal financial inform= ation to confirm the identity of users and bill customers for products an= d services. Ticketmaster will not share financial or unique identifier in= formation with third parties without your prior consent. When you make a = purchase through the Ticketmaster system your consent is required to prov= ide your financial or contact information to those third parties necessar= y to process your transactions with us, such as credit card companies an= d the companies that handle shipping on our behalf. Ticketmaster may also= pass your contact details on to Venues and Presenters, who abide by the = National Privacy Principles, to keep you informed of future events via di= rect marketing. You were asked at the time of booking if you would like t= o receive this information. You may also change this choice in the future= by contacting us with this request, although it may also be necessary to= contact any other organisations (Venues & Presenters) which have obt= ained your information to indicate your choice at this stage. Ticketmaste= r will not use or disclose this information in any way, other than that d= isclosed in this policy. This email confirms your ticket order, so= print/save it for future reference. All purchases are subject to credit = card approval and billing address verification. We make every effort to = be accurate, but we cannot be responsible for changes, cancellations, or = postponements announced after this email is sent. To update your i= nformation or to unsubscribe from Ticketmaster offers, click here. Not= e: This email was sent from an address that cannot accept incoming email= Please do not reply to this message. If you have any questions please v= isit our Help Section. ------=a__izkwnglg_55_51_94-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 20:21:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6E518713 for ; Mon, 10 Jun 2013 20:21:31 +0000 (UTC) (envelope-from simpled648@ticketmaster.com.au) Received: from pacelo2.lnk.telstra.net (pacelo2.lnk.telstra.net [165.228.229.225]) by mx1.freebsd.org (Postfix) with ESMTP id 0DEC41F3F for ; Mon, 10 Jun 2013 20:21:30 +0000 (UTC) Received: from [130.110.33.197] (helo=kwkxpq.vfjbxsffb.org) by pacelo2.lnk.telstra.net with esmtpa (Exim 4.69) (envelope-from ) id 1MMXPU-9261iq-4Q for freebsd-questions@freebsd.org; Tue, 11 Jun 2013 06:21:28 +1000 Date: Tue, 11 Jun 2013 06:21:28 +1000 Message-ID: <2666-4439016966282471-247243138748840@reply.ticketmaster.com> From: "Ticket Master" To: Subject: Your Ticket Order Confirmation MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=a__btnxjdxfd_67_06_49" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 20:21:31 -0000 ------=a__btnxjdxfd_67_06_49 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thank you for purchasing tickets on Ticketmaster.Your order number for th= is purchase is 06-89624/AUS.Complete order detail is attached to this e-m= ail.You will receive your tickets via: International Express-Ticketmaster= will mail these within 2 business days of the booking.Tickets usually ar= rive within 10 working days of posting. Total Charge: AU $112.50Th= ank you for adding Event Ticket Insurance to your order. You will be bill= ed AU $13.00 (AU $6.50 per ticket)separately.Please note: for any ticket-= related issues, please continue to contact Ticketmaster Customer Service.= Thanks again for using Ticketmaster. = Return to Ticketmaster home. You can always check your orde= r and manage your preferences in My Ticketmaster. ________________= __________________________________________________________________ The= personal information collected by Ticketmaster is used to ensure that th= e tickets or goods you purchased are delivered to you and that the you ar= e advised of any possible changes/cancellations that may occur in relatio= n to the event you booked. Ticketmaster collect personal financial inform= ation to confirm the identity of users and bill customers for products an= d services. Ticketmaster will not share financial or unique identifier in= formation with third parties without your prior consent. When you make a = purchase through the Ticketmaster system your consent is required to prov= ide your financial or contact information to those third parties necessar= y to process your transactions with us, such as credit card companies an= d the companies that handle shipping on our behalf. Ticketmaster may also= pass your contact details on to Venues and Presenters, who abide by the = National Privacy Principles, to keep you informed of future events via di= rect marketing. You were asked at the time of booking if you would like t= o receive this information. You may also change this choice in the future= by contacting us with this request, although it may also be necessary to= contact any other organisations (Venues & Presenters) which have obt= ained your information to indicate your choice at this stage. Ticketmaste= r will not use or disclose this information in any way, other than that d= isclosed in this policy. This email confirms your ticket order, so= print/save it for future reference. All purchases are subject to credit = card approval and billing address verification. We make every effort to = be accurate, but we cannot be responsible for changes, cancellations, or = postponements announced after this email is sent. To update your i= nformation or to unsubscribe from Ticketmaster offers, click here. Not= e: This email was sent from an address that cannot accept incoming email= Please do not reply to this message. If you have any questions please v= isit our Help Section. ------=a__btnxjdxfd_67_06_49-- From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 20:38:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C5970D41 for ; Mon, 10 Jun 2013 20:38:14 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id 7E497103C for ; Mon, 10 Jun 2013 20:38:14 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=E430+8tl c=1 sm=0 tr=0 a=nVny9ETX7T5uMhI2oTVyRA==:117 a=P5ol5vWo9mUA:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=7HSFb-w2Wy8A:10 a=iLqrfU_hHgGbrwZWwN8A:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.193.164 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.193.164] ([209.6.193.164:57489] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 88/89-23718-43936B15; Mon, 10 Jun 2013 16:38:13 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20918.14644.440075.81551@jerusalem.litteratus.org> Date: Mon, 10 Jun 2013 16:38:12 -0400 To: Walter Hurry Subject: Re: buildworld selectively? In-Reply-To: References: <51B4CFCA.3010705@hayers.org> <44mwqzotyf.fsf@lowell-desk.lan> <20917.9991.514334.851719@jerusalem.litteratus.org> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 20:38:14 -0000 Walter Hurry writes: > >> Fair enough. Point taken, thanks. Nevertheless I see no reason to > >> compile stuff I neither want nor need. > > > > While I endorse the principle ... it can be difficult for the > > casual user to know which parts can be removed without blowing up things > > they want. > > (Been there, had to change the underwear after the new kernel > > didn't boot. Booted old kernel, fixed things.) > > > Wise words. The kernel and world builds/installs went fine, but > soon afterwards I noticed a problem with the mail/dcc-dccd port > (required, in my case, by SpamAssassin), which would not rebuild, > complaining that the base sendmail was not found or too old. > > Since I use Postfix, I had set WITHOUT_SENDMAIL in > /etc/src.conf. I shall remove it and rebuild. C'est la vie! My case was more spectacular: since there were no ISA slots I removed "device ISA" (or whatever it was). Turns out that dragged in a whole _truckload_ of essential infrastructure .... Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Jun 10 21:47:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 544BCEF3; Mon, 10 Jun 2013 21:47:26 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 23FDA1317; Mon, 10 Jun 2013 21:47:25 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r5ALlIot004083 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 10 Jun 2013 16:47:25 -0500 Received: from dtwin (10.242.182.25) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Mon, 10 Jun 2013 16:47:18 -0500 From: Sender: Devin Teske To: "'jb'" , References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B62622.1070201@tundraware.com> In-Reply-To: Subject: RE: Bourne shell "if" syntax Date: Mon, 10 Jun 2013 14:45:46 -0700 Message-ID: <124a01ce6623$de03c2c0$9a0b4840$@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Content-Language: en-us Thread-index: AQKqCa+a9hyR0ot3Jqq7BhaQloss/QGZ464NAYNXZdYBptsxcwJq94O4Af4O1G0C2b9I1pcX/QvQ X-Originating-IP: [10.242.182.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-10_05:2013-06-10,2013-06-10,1970-01-01 signatures=0 Cc: Devin Teske X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 21:47:26 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of jb > Sent: Monday, June 10, 2013 12:53 PM > To: freebsd-questions@freebsd.org > Subject: Re: Bourne shell "if" syntax > > Michael Sierchio tenebras.com> writes: > > > ... > > Right. Many scripts seem to assume that sh is bash, and that's > > certainly not the case here. > > > > if [ "x$BLAH" = "x" ]; then > > > > is the most reliable and portable way of determining if it's a string > > of zero length. > > Actually this trick is not needed any more (it has not been required for > long time because the problem was fixed). > http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2012- > August/004275.html > The above link reinforces what I mentioned earlier as the divide. Differs based on whether "[" is a built-in versus /usr/bin/[ -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 04:38:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1698AB10 for ; Tue, 11 Jun 2013 04:38:07 +0000 (UTC) (envelope-from sean@siobud.com) Received: from siobud.com (unknown [IPv6:2600:3c03::f03c:91ff:feae:3ca5]) by mx1.freebsd.org (Postfix) with ESMTP id EAE6C1A1B for ; Tue, 11 Jun 2013 04:38:06 +0000 (UTC) Received: from sean by siobud.com with local (Exim 4.80) (envelope-from ) id 1UmGLM-0005wY-Fp; Tue, 11 Jun 2013 00:38:04 -0400 Date: Tue, 11 Jun 2013 00:38:04 -0400 From: Sean DuBois To: Tim Daneliuk Subject: Re: Suddenly Seeing Clamav Errors After MailScanner Update Message-ID: <20130611043804.GA22837@siobud.com> References: <51B606F7.4050604@tundraware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51B606F7.4050604@tundraware.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 04:38:07 -0000 Hi Tim, Double check what user clamd is run as, and what permissions your mail spool have. Somewhere along the line your mail spool locked out clamd The lstat system call's man page says `execute (search) permission is required on all of the directories in path that lead to the file.` Also, don't just go "chmoding -R 777"! On Mon, Jun 10, 2013 at 12:03:51PM -0500, Tim Daneliuk wrote: > I am working on a FBSD 9.1-STABLE mail machine that's been working > fine. After upgrading to MailScanner 4.84.5_3, we are now > suddenly seeing like this: > > > Clamd::ERROR:: UNKNOWN CLAMD RETURN ./lstat() failed: Permission denied. ERROR :: /var/spool/MailScanner/incoming/68340 > > Any ideas what might cause this? I have fallen back to the previous > MailScanner.conf file wherein the problem does NOT seem to happen. > But, after diffing old and new config files I cannot see where > anything relevant to this might have changed. > > Ideas anyone? > -- > ----------------------------------------------------------------------- > Tim Daneliuk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 06:19:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1A9AAA6B for ; Tue, 11 Jun 2013 06:19:50 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id AA9CA1D80 for ; Tue, 11 Jun 2013 06:19:49 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id k10so3679700wiv.1 for ; Mon, 10 Jun 2013 23:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ZYvDK7fOiBtRW2cDoVFpOrw2pB75vpgwb3bmu46eom8=; b=dmVJt/nlU6b5/CSGl9P89AkfbNtTI6GBW+przxYYCjV32HdZ2nxQhZdsEgD8SBi2O+ HINVksSeDaNa0+J7uBOnjUXVPN6q3/nk0N+P4a9ofA/beXNvP2WzK0J+ZJ1nlkk6hCMC OI0ozZIOEcB56tZH7zQlZuR0N+fv3hBJ+RC5Jmg1kbwjSN1MjFeyR1XGt0KDw7PECxCz NgvwYRSHYeXMpQrz+QsJS7Ut2GQhEF2KTpiBePCJ9IytyMWjep4njDi4fHxbrXqdnARr wFmTM+JKwmDmCdK7COeOhYCK6096HERosJYoSmWvwv0qtYXvyEkcGUQW59KznC71vvP1 X2iQ== MIME-Version: 1.0 X-Received: by 10.194.84.205 with SMTP id b13mr7205171wjz.92.1370931587233; Mon, 10 Jun 2013 23:19:47 -0700 (PDT) Received: by 10.180.89.235 with HTTP; Mon, 10 Jun 2013 23:19:47 -0700 (PDT) In-Reply-To: <20130607230429.a090ca0c.freebsd@edvax.de> References: <20130607230429.a090ca0c.freebsd@edvax.de> Date: Tue, 11 Jun 2013 08:19:47 +0200 Message-ID: Subject: Re: 9.1-RELEASE slow boot From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 06:19:50 -0000 On Fri, Jun 7, 2013 at 11:04 PM, Polytropon wrote: > On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apestegu=EDa wrote: >> Since I updated to 9.1-RELEASE my boot process seems to stall for a >> while. Booting in verbose mode shows messages like these ones: >> >> Opening device da0 -> 6 (repeated like 30 times or so) >> Opening device da1 -> 6 (repeated like 30 times or so) >> Opening device da2 -> 6 (repeated like 30 times or so) >> Opening device da3 -> 6 (repeated like 30 times or so) >> >> Those devices correspond to my internal SD card reader that doesn't >> work on FreeBSD anyway. This seems some kind of probing right? I don't >> want to wait for those devices. What can I do to speed up booting? I >> didn't change my system settings either. Did anything related change >> in the kernel about probing these type of devices? > > For comparable reasons in the past, I added the following > setting to my kernel configuration: > > options SCSI_DELAY=3D100 > > The default value is 5000. It's the delay in milliseconds > for the SCSI probe. > Hi, Sorry for my late response (sometimes real life comes first). SCSI_DELAY in the code didn't change between 9.1[1] and 9.0[2] neither did it in the configuration for the GENERIC kernels[3][4]. On both occasions (9.0 and 9.1) I used the GENERIC kernels and I didn't change this setting. I will give it a try as soon as I can, but it still seems a little strange to me that this process takes longer in 9.1 for no apparent reason Thanks. [1] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD91#L76 [2] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD90#L76 [3] http://svn.freebsd.org/base/releng/9.1/sys/amd64/conf/GENERIC [4] http://svn.freebsd.org/base/releng/9.0/sys/amd64/conf/GENERIC > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 07:05:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80B14736; Tue, 11 Jun 2013 07:05:23 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com [207.126.144.111]) by mx1.freebsd.org (Postfix) with ESMTP id 3B50B1F71; Tue, 11 Jun 2013 07:05:21 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKUbbMKrrMAf1CZCUEgY8J+pXsyxkqIF38@postini.com; Tue, 11 Jun 2013 07:05:22 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Tue, 11 Jun 2013 10:05:13 +0300 From: Alex Liptsin To: John Baldwin , "freebsd-net@freebsd.org" Subject: RE: How to switch Datgram/Connected mtu modes? Thread-Topic: How to switch Datgram/Connected mtu modes? Thread-Index: Ac5aBjoH5e0b3u1XTvyAlDGQDXzaKQCc1AwAAn3391A= Date: Tue, 11 Jun 2013 07:05:12 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF6DBCA@MTLDAG01.mtl.com> References: <64DAB3164E410447932305F50F896D8D6AF651AD@MTLDAG01.mtl.com> <201305291333.52607.jhb@freebsd.org> In-Reply-To: <201305291333.52607.jhb@freebsd.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Oded Shanoon , "freebsd-questions@freebsd.org" , Regev Lev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 07:05:23 -0000 Hi. Yes. There is no such entry. The only way I found is to compile inside the kernel " options IPOIB_CM ". Can I do it manually without compiling the kernel each time I want to switc= h between the modes? Maybe add it somehow to sysctl or loader.conf? =20 Regards, Alex Liptsin Software Quality Assurance Engineer | Mellanox Technologies Ltd. Office: +972 (74) 7236141 Mobile: +972(54) 7833986 Fax: +972(74) 7236161=20 Email: alexl@mellanox.com Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Isr= ael -----Original Message----- From: John Baldwin [mailto:jhb@freebsd.org]=20 Sent: Wednesday, May 29, 2013 9:17 PM To: freebsd-net@freebsd.org Cc: Alex Liptsin; freebsd-questions@freebsd.org Subject: Re: How to switch Datgram/Connected mtu modes? On Sunday, May 26, 2013 7:43:29 am Alex Liptsin wrote: > Hello. >=20 > I work with FreeBSD 9.1 and Mellanox devices. >=20 > How can I configure MTU in connected mode on FreeBSD 9.1? > In Linux to enable connected mode for interface ib0, I enter: >=20 > echo connected > /sys/class/net/ib0/mode >=20 >=20 >=20 > Switching between CM and UD mode can be done in run time: >=20 > echo datagram > /sys/class/net/ib0/mode sets the mode of ib0 to UD >=20 > echo connected > /sys/class/net/ib0/mode sets the mode ib0 to CM >=20 > There is no such directories at FreeBSD. Wat shall I do? Have you tried looking for dev.ib.0 sysctls? It looks like the OFED bits i= n FreeBSD map Linux sysfs entries to sysctl nodes, but I don't have a box w= ith IB handy to see what it looks like at runtime. -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 07:17:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C3555BA1 for ; Tue, 11 Jun 2013 07:17:36 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from kukulies.org (mail.kukulies.org [78.47.239.221]) by mx1.freebsd.org (Postfix) with ESMTP id 860281040 for ; Tue, 11 Jun 2013 07:17:36 +0000 (UTC) Received: by kukulies.org (Postfix, from userid 5001) id A55121AD860; Tue, 11 Jun 2013 09:10:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on kukulies.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Received: from [134.61.4.163] (accms33.physik.rwth-aachen.de [134.61.4.163]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by kukulies.org (Postfix) with ESMTPSA id 032581AD85F; Tue, 11 Jun 2013 09:10:41 +0200 (CEST) Message-ID: <51B6CD57.1030908@kukulies.org> Date: Tue, 11 Jun 2013 09:10:15 +0200 From: Christoph Kukulies User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: lconrad@go2france.com Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> In-Reply-To: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 07:17:36 -0000 On 10.06.2013 20:53, lconrad@go2france.com wrote: > > > script fragment: > > PTR=`dig @some.dns +short +norec -x a.b.c.d` > > echo "$PTR" > > if [ "$PTR" == "" ] ; then Use something like (== is wrong, btw.) #!/bin/sh if [ "X$1" = "X" ] ; then echo foo fi -- Christoph > > echo "$PTR" >> /path/to/PTR_absent.txt > > fi > > =========== > > output for an IP: > > > a-b-c-d.domain.net. > [: a-b-c-d.domain.net.: unexpected operator > > thanks > Len > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 07:47:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 57E211AE for ; Tue, 11 Jun 2013 07:47:45 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 1B53111A7 for ; Tue, 11 Jun 2013 07:47:44 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1UmJIn-0025JE-Mn>; Tue, 11 Jun 2013 09:47:37 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198] helo=telesto) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1UmJIn-0022Lc-Km>; Tue, 11 Jun 2013 09:47:37 +0200 Date: Tue, 11 Jun 2013 09:47:25 +0200 From: "O. Hartmann" To: "Herbert J. Skuhra" Subject: Re: mail/claws-mail: exporting mail filters? Message-ID: <20130611094725.3adba105@telesto> In-Reply-To: <871u8d6myf.wl%hskuhra@eumx.net> References: <20130608090412.6cfe9e63@thor.walstatt.dyndns.org> <871u8d6myf.wl%hskuhra@eumx.net> Organization: FU Berlin X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/tbfE_HshsmrXNPZcyprhYCe"; protocol="application/pgp-signature" X-Originating-IP: 130.133.86.198 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 07:47:45 -0000 --Sig_/tbfE_HshsmrXNPZcyprhYCe Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 08 Jun 2013 10:11:52 +0200 "Herbert J. Skuhra" wrote: > On Sat, 8 Jun 2013 09:04:12 +0200 > "O. Hartmann" wrote: > =20 > > Since I use on several boxes private and in the deprtment the same > > email accounts, I'd like to export the mail filters I created and > > import them to other boxes. I didn't figure out yet how to perform > > this task on claws-mail. I realized that this is still a point > > "still under construction on close to every platform I used for > > mailing. > >=20 > > Does anyone has an idea? >=20 > 1. Ask on the claws mailing list? > 2. Use a search engine? > 3. Search the claws mailing list archive on gmane? > 4. Read the claws-mail man page? > 5. Copy ~/.claws-mail/matcherrc? >=20 Thanks. O. --Sig_/tbfE_HshsmrXNPZcyprhYCe Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJRttYXAAoJEOgBcD7A/5N8shQIAKIuC0EwSUVBiMfntHcHoeCh iyhBs+vbI+fvtMtCXWj1LqTLURTWLm3yxuwz13cOqYn5hb9QFBVyAEcAJn7mmacq 4hp/7xsnRDHBFH8G+OefuVTBxtNptrNN0uL7G0T1EWWOA0J6SoPRWx+JvPZABHpQ 3OvDvDHG1GZpyzyhlpl7W9m118qjtaheSqJxdT7S/UFWnTRWvPRZacOspJ0vjKpQ sd0zjqq1AzCptzSMmTlkgx+xR3dZcDwPAeYhN2G+6q0JuX4KtRifIyi7LZuxBpe2 TZ8jDCUjQ+zgzMh43/oJn5YJnMSKRhFj+kCezAljue3cWMkV5l8qdGJ9i/LlIYY= =scPt -----END PGP SIGNATURE----- --Sig_/tbfE_HshsmrXNPZcyprhYCe-- From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 08:10:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 46F4F61E for ; Tue, 11 Jun 2013 08:10:04 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id C412012AE for ; Tue, 11 Jun 2013 08:10:03 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 0AA33FEBD1 for ; Tue, 11 Jun 2013 15:00:59 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1370937658; x=1372752059; bh=LWLHotvi1 NRJKa7dAsKzzDNI/v4M46hzIXece5E2dX8=; b=Img/iLTcTf0+2EAoPPOboEZCN TCedtXxIUV2yf8a46+SxYEpRlzjEAtweqP3ScXubyg8RaMAK01vB2MVNtFjzS8HD kaJ2+CcX3IKD/hlwvnV0hattywnt0zm7secC0E/2D+FGx682YKsn9DrPTi3wNBV4 sB/4LMAtNORjuINkSk= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id DkME23ID-MdS for ; Tue, 11 Jun 2013 15:00:58 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id BFFCBFEBCF for ; Tue, 11 Jun 2013 15:00:58 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r5B80wsG018613; Tue, 11 Jun 2013 15:00:58 +0700 (ICT) (envelope-from on) Date: Tue, 11 Jun 2013 15:00:58 +0700 (ICT) Message-Id: <201306110800.r5B80wsG018613@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: Cannot make open-vm-tools on 9.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 08:10:04 -0000 Hi, I have a strange thin happening to me. I upgraded two machines from 8.3 to 9.1: FreeBSD sysl2.cs.ait.ac.th 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #3: Fri May 31 14:59:20 ICT 2013 root@fbsd63:/usr/obj/usr/src/sys/GENERIC i386 I did both upgrade in parallel. On the first machine, I managed to intall open-vm-tools-nox11: open-vm-tools-nox11-425873_3,1 Open VMware tools for FreeBSD VMware guests but when I try to install it on the second machine, I have a compile error (see below). Now I try to rebuild open-vm-tools on the first machine and I get the same compile error. I am at lost at what is happening and what I should try. On a side note, I noticed that /usr/include/sys/types.h and /usr/src/sys/sys/include/types.h are different; the first one appearing to be quite older (older version number). I did the system upgrade in a very standard way (cvsup, make buildworld, make kernel, make installworld, mergemaster, etc.). Why the discrepancies? Help is needed... TIA, Olivier ---- The failling compile of open-vm-tools Making all in modules make VM_UNAME=9.1-RELEASE-p3 MV=mv RM=rm OVT_SOURCE_DIR=/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873 MODULEBUILDDIR=/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/modules/freebsd -C "/usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmmemctl" cc1: warnings being treated as errors In file included from @/sys/types.h:44, from @/sys/param.h:86, from /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/lib/include/vm_basic_types.h:225, from os.c:36: ./machine/endian.h: In function '__bswap64': ./machine/endian.h:123: warning: right shift count >= width of type ./machine/endian.h:123: warning: right shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type ./machine/endian.h:123: warning: left shift count >= width of type In file included from @/sys/param.h:86, from /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/lib/include/vm_basic_types.h:225, from os.c:36: @/sys/types.h: At top level: @/sys/types.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cap_rights_t' In file included from @/sys/param.h:114, from /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/lib/include/vm_basic_types.h:225, from os.c:36: @/sys/time.h: In function 'bintime2timespec': @/sys/time.h:112: warning: right shift count >= width of type @/sys/time.h:112: warning: right shift count >= width of type @/sys/time.h: In function 'bintime2timeval': @/sys/time.h:129: warning: right shift count >= width of type @/sys/time.h:129: warning: right shift count >= width of type In file included from @/sys/systm.h:42, from os.c:38: ./machine/cpufunc.h: In function 'rdmsr': ./machine/cpufunc.h:311: warning: left shift count >= width of type ./machine/cpufunc.h: In function 'rdpmc': ./machine/cpufunc.h:320: warning: left shift count >= width of type ./machine/cpufunc.h: In function 'rdtsc': ./machine/cpufunc.h:329: warning: left shift count >= width of type ./machine/cpufunc.h: In function 'wrmsr': ./machine/cpufunc.h:350: warning: right shift count >= width of type In file included from @/sys/mutex.h:41, from @/sys/eventhandler.h:34, from @/sys/conf.h:44, from os.c:42: @/sys/pcpu.h: At top level: @/sys/pcpu.h:156: error: expected specifier-qualifier-list before 'cpumask_t' In file included from @/vm/pmap.h:89, from os.c:48: ./machine/pmap.h:247: error: expected specifier-qualifier-list before 'cpumask_t' os.c: In function 'os_balloonobject_create': os.c:416: warning: left shift count >= width of type os.c:416: warning: left shift count >= width of type os.c:416: warning: left shift count >= width of type os.c:416: warning: left shift count >= width of type *** [os.o] Error code 1 Stop in /usr/ports/emulators/open-vm-tools-nox11/work/open-vm-tools-8.6.0-425873/modules/freebsd/vmmemctl. *** [vmmemctl] Error code 1 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 09:57:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 19DA9E8B; Tue, 11 Jun 2013 09:57:00 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.9]) by mx1.freebsd.org (Postfix) with ESMTP id A859C192F; Tue, 11 Jun 2013 09:56:59 +0000 (UTC) Received: from nb981.math (p57AEC8F2.dip0.t-ipconnect.de [87.174.200.242]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Ll1ub-1UCBDw4BAD-00aepG; Tue, 11 Jun 2013 11:56:58 +0200 Message-ID: <51B6F459.5050306@janh.de> Date: Tue, 11 Jun 2013 11:56:41 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Devin Teske Subject: Re: Bourne shell "if" syntax References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> In-Reply-To: <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:+AHQkIXLHchzKql0DQW9ZhuiFQ5MWxMrL40JCGZN6Pj iLIwlzKcXxv7xD7XyqgKqWCeQBplviZsFB/RTzx8Wh+CmtF+gx 6buw62x4odKRS3s0kqUkZ6X+pitShaK7bu/H6BrermZ6a7ypsQ /8MDe0Ep1KghNxo0wle3dWD3TgfCmO2/2WMlugCzdE3tQAUV5A 0LICymyfEK/habpAsZA+8Qfr/MbGnbsHKtcibzgxgAx66RFg8r AspeChmhbs3eJW0cH+fW/Pk2ZdCebe1xBnVp9LyTxU0Xa83crm UgnGd41NGnGvW7gKNV70zXCh3LTpij99JhOHFlObZpmylav+A= = Cc: questions-list freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 09:57:00 -0000 On 06/10/2013 21:10, dteske@freebsd.org wrote: > Character sentinels are not required. > > FreeBSD's sh(1) knows (because "[" is a built-in) that when you quote a > parameter, that it is not (even if the value begins with "-") not an operator. What you are saying here is at least misleading. I just started up sh on 9.1 RELEASE and tried: $ A=-z $ if [ "$A" "" ] ; then echo z ; fi z $ if [ "$A" "1" ] ; then echo z ; fi $ if /bin/[ "$A" "" ] ; then echo z ; fi z $ if /bin/[ "$A" "1" ] ; then echo z ; fi $ Although "-z" is quoted, it is seen as an operator. It does not seem to have anything to do with whether the build-in or external "[" is used. Cheers, Jan Henrik From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 11:06:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1D997E00 for ; Tue, 11 Jun 2013 11:06:05 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-oa0-x234.google.com (mail-oa0-x234.google.com [IPv6:2607:f8b0:4003:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id DB1BC1C20 for ; Tue, 11 Jun 2013 11:06:04 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id g12so2514720oah.25 for ; Tue, 11 Jun 2013 04:06:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=qw8ic6ZoYGH7nSN6DN3AGossDn9bp7R6M8lWZgjJ+RM=; b=M9xKOWoN9iE6nmDsszGZcvWfn/uA1nHl3PGitxFSnRiCSxjZl7bPAK5vAOFIkf1q41 rBwNsva3ms7QzqRVk2QETSNcl7P59tkJir76syLYL2ECmOF+ePBUeqEHNm3ao/lkUzCi 8TxRk2Z6C8ZuirRnLs44vIH1WwG9kZblDzSB8FvSigJ9qKiHkdpCaWLYAmhaGawEq1ZS 42b9eV4fxmtyHX7V9JUakMkC1nrSahAh9DEOvUPGFbxBHCRz8jro7SiA4lsyAuitcI/t vgY3FR6siv4h8TjmMAnAqykVpHvzCJ0M4/tKVWF0mJOz/0/6uM70whq2HodWLswpB2SL 1zFQ== MIME-Version: 1.0 X-Received: by 10.182.86.6 with SMTP id l6mr11407346obz.6.1370948763936; Tue, 11 Jun 2013 04:06:03 -0700 (PDT) Received: by 10.182.216.40 with HTTP; Tue, 11 Jun 2013 04:06:03 -0700 (PDT) X-Originating-IP: [101.175.139.14] In-Reply-To: References: Date: Tue, 11 Jun 2013 21:06:03 +1000 Message-ID: Subject: Re: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but show message "bge0 watchdog timeout -- resetting" and it was frozen too. Thanks From: Jason Birch To: Surat Sodchuen X-Gm-Message-State: ALoCoQnuScPIFCdDYdWVz6X+CrUBsG+aJevj7K8lCPAGujV51fxyKKaoRC/5O1y4yaqP+AoAwCNw Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 11:06:05 -0000 On Tue, Jun 11, 2013 at 8:08 PM, Surat Sodchuen wrote: > thank for your kindness > i tired that your suggestion but cannot resolve problem. > for more information ... > FreeBSD 9.1-Release on HP ProLiant DL380p Gen8 128GB of Ram > every time when booting process it seem freezing about 15 seconds > > dmesg look like this > . > . > . > ACPI Warning: invalid length for Pm1aControlBlock: 32, using default 16 > (20110527/tbfadt-638) > ACPI Warning: invalid length for Pm1aControlBlock: 32, using default 16 > (20110527/tbfadt-638) > . > . > . > pci0:3:0:0: failed to read VPD data. > bge0: mem > 0xfabf0000-0xfabfffff, > . > . > . > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > bge0: link state changed to DOWN > bge0: link state changed to UP > ----------------------------------------------------- > > when i use a ping command it seem freezing, then after press Enter it show > --> bge0 watchdog timeout -- resetting > i think what happen!!! i use FreeBSD on every 4 of DL380 Gen5, but they > are OK. > > on screen now .. showing message > bge0: 2 link states coalesced > bge0: 2 link states coalesced > bge0: 2 link states coalesced > bge0: 2 link states coalesced > bge0: 2 link states coalesced > bge0: 2 link states coalesced > bge0: 2 link states coalesced > Forwarding to mailing list to keep it in the loop. It looks like others have run into this issue, and there is an associated bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=171121 That link contains an explanation of why my suggestion did not help, and a suggestion to check the firmware of the controllers.. It also looks like there's a later version of the bge driver by Pyun YongHyeon that didn't make it into 9.1-RELEASE that might resolve your issue, were you to compile it yourself. Regards, JB From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 12:25:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E2E35823 for ; Tue, 11 Jun 2013 12:25:46 +0000 (UTC) (envelope-from menyy@mellanox.com) Received: from eu1sys200aog119.obsmtp.com (eu1sys200aog119.obsmtp.com [207.126.144.147]) by mx1.freebsd.org (Postfix) with ESMTP id 555AB1FC9 for ; Tue, 11 Jun 2013 12:24:58 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob119.postini.com ([207.126.147.11]) with SMTP ID DSNKUbcXALAXbfrVX2epTQDHDLPQjWLwR6fC@postini.com; Tue, 11 Jun 2013 12:24:59 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Tue, 11 Jun 2013 15:17:24 +0300 From: Meny Yossefi To: "freebsd-questions@freebsd.org" Subject: information about configurable load-time parameters Thread-Topic: information about configurable load-time parameters Thread-Index: Ac5mnaEOftPz7rsdQE2r6/A4xcoiNw== Date: Tue, 11 Jun 2013 12:17:24 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 12:25:46 -0000 Hi, I'm using FreeBSD 9.1 and looking for a way to pass a module parameters on = load time. I came across the 'TUNABLE' macros which provided a decent solution. The question that remains is how to notify the user about those configurabl= e load-time parameters ? I guess I'm looking for some kind of 'modinfo' which describes those parame= ters among other things. Thanks, Meny Yossefi | SW Engineer | FreeBSD team Mellanox Technologies Ltd Work: +972-74-7129121, Cell: +972-52-8379557 From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 14:46:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B22812A7; Tue, 11 Jun 2013 14:46:52 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 81AC71859; Tue, 11 Jun 2013 14:46:52 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id r5BEkLVf006194 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 11 Jun 2013 09:46:50 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Tue, 11 Jun 2013 09:46:37 -0500 From: "Teske, Devin" To: Jan Henrik Sylvester Subject: Re: Bourne shell "if" syntax Thread-Topic: Bourne shell "if" syntax Thread-Index: AQHOZgydcuJSc31L6EmVLEMa2+THwpkvoOsAgAAB0oCAAAFPAIAA952AgABRAoA= Date: Tue, 11 Jun 2013 14:46:37 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F7C956@ltcfiswmsgmb21> References: <51b620a6.42f.2b6a6400.5605dcf0@go2france.com> <121701ce660c$9a9aa5b0$cfcff110$@freebsd.org> <51B62389.5000500@tundraware.com> <121b01ce660e$2abae5f0$8030b1d0$@freebsd.org> <51B6F459.5050306@janh.de> In-Reply-To: <51B6F459.5050306@janh.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-06-11_06:2013-06-11,2013-06-11,1970-01-01 signatures=0 Cc: Devin Teske , questions-list freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 14:46:52 -0000 On Jun 11, 2013, at 2:56 AM, Jan Henrik Sylvester wrote: > On 06/10/2013 21:10, dteske@freebsd.org wrote: >> Character sentinels are not required. >>=20 >> FreeBSD's sh(1) knows (because "[" is a built-in) that when you quote a >> parameter, that it is not (even if the value begins with "-") not an ope= rator. >=20 Appears I was wrong (and I can admit that). Further testing/investigation shows that it's not based on double-quoting (= although this DOES play a role -- but only in the fact that you're ensuring= that the program -- [ -- only gets one argument -- sans trailing square-br= acket). It appears that the divide is the number of arguments. For example, compare: if [ "-gt 1" ]; then # arg1 treated as a string; returns success to if [ "-gt" "1" ]; then # arg1 treated as an operator; syntax error to if [ "-gt" ]; then # arg1 treated as a string; returns success Or compare the equally divided: A=3D-gt if [ "$A 1" ]; then # arg1 treated as a string; returns success to if [ "$A" "1" ]; then # arg1 treated as an operator; syntax error to if [ "$A" ]; then # arg1 treated as a string; returns success When the program -- [ -- (regardless of built-in or external) sees only one= argument in it's ARGV array, it will *not* treat the argument as a flag bu= t instead return true if it's non-NULL or return false if NULL. > What you are saying here is at least misleading. I just started up sh on > 9.1 RELEASE and tried: >=20 > $ A=3D-z > $ if [ "$A" "" ] ; then echo z ; fi > z > $ if [ "$A" "1" ] ; then echo z ; fi > $ if /bin/[ "$A" "" ] ; then echo z ; fi > z > $ if /bin/[ "$A" "1" ] ; then echo z ; fi > $ >=20 Interesting that I do not get the same results on 9.0-R for the external us= age. devin@mick.vicor.com ~ $ if /bin/[ "$A" "" ] ; then echo z ; fi [: ]: unknown operand devin@mick.vicor.com ~ $ if /bin/[ "$A" "1" ] ; then echo z ; fi [: ]: unknown operand Must be a bug in 9.0-R with the ending square-bracket (`]'). If I remove th= e ending square-bracket it runs=85 devin@mick.vicor.com ~ $ if /bin/[ "$A" "" ; then echo z ; fi z devin@mick.vicor.com ~ $ if /bin/[ "$A" 1 ; then echo z ; fi > Although "-z" is quoted, it is seen as an operator. It does not seem to > have anything to do with whether the build-in or external "[" is used. >=20 You're at least partially right=85 number of arguments makes a difference. A=3D-gt if [ "$A" "" ]; then echo z; fi sh: line 0: [: -gt: unary operator expected =3D=3D=3D Meanwhile, it knows to treat it as a string when it's the only argument=85 A=3D-gt if [ "$A" ]; then echo z; fi z --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 17:22:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 92EFBAF7 for ; Tue, 11 Jun 2013 17:22:25 +0000 (UTC) (envelope-from rabfulton@hotmail.com) Received: from bay0-omc4-s1.bay0.hotmail.com (bay0-omc4-s1.bay0.hotmail.com [65.54.190.203]) by mx1.freebsd.org (Postfix) with ESMTP id 8372F1FE9 for ; Tue, 11 Jun 2013 17:22:25 +0000 (UTC) Received: from BAY175-W34 ([65.54.190.201]) by bay0-omc4-s1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 11 Jun 2013 10:21:19 -0700 X-TMN: [QieecGHlQLY2UyEka02wfRe4Y7u8v0Br] X-Originating-Email: [rabfulton@hotmail.com] Message-ID: From: rab fulton To: "freebsd-questions@freebsd.org" Subject: Fatal trap 12: page fault while in kernel mode in FreeBSD 9.1 Date: Tue, 11 Jun 2013 18:21:19 +0100 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jun 2013 17:21:19.0509 (UTC) FILETIME=[165E3C50:01CE66C8] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 17:22:25 -0000 Hi=2C I recently upgraded from 9.0 to 9.1 and have scince been seeing a lot= of system freezes. The system will sometimes freeze when I launch an appli= cation soon after startup. If it does not freeze soon after startup it tend= s to run fine for the rest of the day.=0A= Full copy of core.txt @ http://pastebin.com/ezfAGGFL=0A= ------------------------------------------core.txt.0-----------------------= ------------------------------------=0A= FreeBSD quadcore 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27= :25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GE= NERIC amd64=0A= =0A= panic: page fault=0A= =0A= GNU gdb 6.1.1 [FreeBSD]=0A= Copyright 2004 Free Software Foundation=2C Inc.=0A= GDB is free software=2C covered by the GNU General Public License=2C and yo= u are=0A= welcome to change it and/or distribute copies of it under certain condition= s.=0A= Type "show copying" to see the conditions.=0A= There is absolutely no warranty for GDB. Type "show warranty" for details.= =0A= This GDB was configured as "amd64-marcel-freebsd"...=0A= =0A= Unread portion of the kernel message buffer:=0A= =0A= =0A= Fatal trap 12: page fault while in kernel mode=0A= cpuid =3D 0=3B apic id =3D 00=0A= fault virtual address =3D 0x8008=0A= fault code =3D supervisor read data=2C page not present=0A= instruction pointer =3D 0x20:0xffffffff80976e19=0A= stack pointer =3D 0x28:0xffffff8235870630=0A= frame pointer =3D 0x28:0xffffff8235870660=0A= code segment =3D base 0x0=2C limit 0xfffff=2C type 0x1b=0A= =3D DPL 0=2C pres 1=2C long 1=2C def32 0=2C gran 1=0A= processor eflags =3D interrupt enabled=2C resume=2C IOPL =3D 0=0A= current process =3D 1720 (mount_fusefs)=0A= trap number =3D 12=0A= panic: page fault=0A= cpuid =3D 0=0A= KDB: stack backtrace:=0A= #0 0xffffffff809208d6 at kdb_backtrace+0x66=0A= #1 0xffffffff808ea8ee at panic+0x1ce=0A= #2 0xffffffff80bd8270 at trap_fatal+0x290=0A= #3 0xffffffff80bd85ad at trap_pfault+0x1ed=0A= #4 0xffffffff80bd8bce at trap+0x3ce=0A= #5 0xffffffff80bc318f at calltrap+0x8=0A= #6 0xffffffff8261a2f4 at fuse_mount+0x94=0A= #7 0xffffffff80979371 at vfs_donmount+0x1081=0A= #8 0xffffffff80979ad6 at sys_nmount+0x66=0A= #9 0xffffffff80bd7b16 at amd64_syscall+0x546=0A= #10 0xffffffff80bc3477 at Xfast_syscall+0xf7=0A= Uptime: 4m32s=0A= Dumping 545 out of 8156 MB:..3%..12%..21%..33%..42%..53%..62%..71%..83%..91= %=0A= =0A= ...=0A= (kgdb) #0 doadump (textdump=3DVariable "textdump" is not available.=0A= ) at pcpu.h:224=0A= #1 0xffffffff808ea3d1 in kern_reboot (howto=3D260)=0A= at /usr/src/sys/kern/kern_shutdown.c:448=0A= #2 0xffffffff808ea8c7 in panic (fmt=3D0x1
)=0A= at /usr/src/sys/kern/kern_shutdown.c:636=0A= #3 0xffffffff80bd8270 in trap_fatal (frame=3D0xc=2C eva=3DVariable "eva" i= s not available.=0A= )=0A= at /usr/src/sys/amd64/amd64/trap.c:857=0A= #4 0xffffffff80bd85ad in trap_pfault (frame=3D0xffffff8235870580=2C usermo= de=3D0)=0A= at /usr/src/sys/amd64/amd64/trap.c:773=0A= #5 0xffffffff80bd8bce in trap (frame=3D0xffffff8235870580)=0A= at /usr/src/sys/amd64/amd64/trap.c:456=0A= #6 0xffffffff80bc318f in calltrap ()=0A= at /usr/src/sys/amd64/amd64/exception.S:228=0A= #7 0xffffffff80976e19 in vfs_getopts (opts=3D0x8008=2C =0A= name=3D0xffffffff82621368 "fspath"=2C error=3D0xffffff82358707ac)=0A= at /usr/src/sys/kern/vfs_mount.c:1516=0A= #8 0xffffffff8261a2f4 in fuse_mount () from /usr/local/modules/fuse.ko=0A= #9 0xfffffe000c6678e0 in ?? ()=0A= #10 0xfffffe000c6678e0 in ?? ()=0A= #11 0x0000000200000202 in ?? ()=0A= #12 0xfffffe022ffebaa8 in ?? ()=0A= #13 0xfffffe000c6678e0 in ?? ()=0A= #14 0x000001020c6678e0 in ?? ()=0A= #15 0x0000000000000000 in ?? ()=0A= #16 0xfffffe022ffea3a8 in ?? ()=0A= #17 0xffffffff8119cb80 in see_other_uids ()=0A= #18 0xffffff8235870700 in ?? ()=0A= #19 0xffffffff808d598b in malloc_type_zone_allocated (mtp=3D0xfffffe000c667= 8e0=2C =0A= size=3D18446741874894338272=2C zindx=3D32776)=0A= at /usr/src/sys/kern/kern_malloc.c:368=0A= Previous frame inner to this frame (corrupt stack?)=0A= (kgdb)=0A= Any ideas?=0A= thx = From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 18:38:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5EC157D5 for ; Tue, 11 Jun 2013 18:38:17 +0000 (UTC) (envelope-from MGASS@csbsju.edu) Received: from smtp1.computing.csbsju.edu (smtp1.computing.csbsju.edu [152.65.184.22]) by mx1.freebsd.org (Postfix) with ESMTP id 190651396 for ; Tue, 11 Jun 2013 18:38:16 +0000 (UTC) X-AuditID: ac10425b-b7f726d000007962-fd-51b76e91ddfe Received: from Mail-HTCAS1.ad.csbsju.edu (Unknown_Domain [172.16.66.43]) by smtp1.computing.csbsju.edu (Symantec Messaging Gateway) with SMTP id 2A.98.31074.19E67B15; Tue, 11 Jun 2013 13:38:09 -0500 (CDT) Received: from nx.csbsju.edu (172.16.66.48) by MAIL-HTCAS1.ad.csbsju.edu (172.16.66.43) with Microsoft SMTP Server id 14.3.123.3; Tue, 11 Jun 2013 13:38:09 -0500 Received: by nx.csbsju.edu (Postfix, from userid 1401) id 845AC180938; Tue, 11 Jun 2013 13:38:09 -0500 (CDT) Date: Tue, 11 Jun 2013 13:38:09 -0500 From: Michael Gass To: Subject: pkg-devel problem with incremental update Message-ID: <20130611183809.GA29558@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA11Ta0xbZRjma0tzqHzjcID2XRkTjywhKEw2jJKMRf3jJcasRn+Ai3gKx/ZA b/a0E9QExs2Bi0PcKtbBUJxbyC64CSUBu9EN4wjjEty8sNRJnWbdRAssRmWb55wWOOxP8/R5 3u953vd7v0MoqT8T9ARnc7FOG2Oh1RrVMfKph3LbbD7DI03U49dvnVI9gZ5pnz+k2oFKNNvK WQu3i3Vu3v6axnx1qBY5ziurZhfoWhRStCCCALIAbi683YISBKiFyeBJdQvSEBQ5jmDfcDD2 5zCC+l6PWqyiSBv4W7vjRawiN4F/LoRErBbwuyPvq0ScSj4Idy5PKUWcQm6B5lseCWNyM3R8 tF8Vxclw4eNfJawkH4auwXm12JCSTIcjdwiRTiOzYP+F/lhsBnharyhbUZJXdtorO+1dPd2F lD1Iz1tdjvy8MrvV4XZxNlNeGW/kK9x5bLn7FIpe2ysDqHMhP4BIAtGJGAp9Biqe2cVXWwOo klDQelz3qkClGO3l1WaGN5fybqOV43nObqPT8ESloK1b0ZxuC8vTqbjfKtB4hTa6LZX0Rryp qs9A6WRGvIMr4+xuvtTttAQQEErhaK50tJypfot12qOGAZROqGgd/r7h5g6KNDEutpJlHaxz WX2TIOgMjOLi4iitkzWxVa9zFuFlyDsF/KXomyyXo83qcFexoJByRer3Aeyd7DdQ+rWOa1tW EAkBZCIS6fXReIp3MFaeM8mjU6PReFmKxqbgbywCm7jMSpEZuE+8Iu2qizxuFL2h34D3ihVp YoXZbVs7pV4X3QcpU6U0vRZvz/7KQCXJBDFQn4mPinbr19jJM8PooEJ4F4B3i48gWfji7pku BXNiZGJMiQ5H4QlxuPtipDTbBjwqdb5iIY/Z0o8IRAYV0PD7CSVcDg+r4GT3Pxiu91zKhLGZ yVw4+G9THgweOfMYeBunnoT2meDz0Dx/tBjahiPF0HAjXAp3P61nheKzLvhueswNA7PT7yH4 5cDXHyAYi3g8CPpGLrYjqAu3HUcQvFvnQ7Aw2Cn8/tB4cVCo8X04hKD98Bk/gj2f7zkv4N7P JhBc+c8XFJjZkd8QLC3O/IHAP9AyJzjUNf2FwsL2FavbdzH33k8qdpql7cek5e1XmKXtx9jY 9s0iqV11kV+RvhYd4iJz5w6YDacX+xazayqmTWfjv3hBsztnpnFryb6yooIf140vbX254vbO 5hPOjU+Hiq913O7wdB+redRfO5z53LcF/pHTJTeySphLOjar6OpLPyf1RrLfiVyb57ftvD8U 6jE2TnWOn9OGcoaOF/ksz9abago/WRr9my18ce9POsKRPk6reDOTn6N08sz/HDw1bYIFAAA= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 18:38:17 -0000 Installed pkg-devel 1.1.0.b3 and get the following message about incremental update whenever update is called. sudo pkg update Updating repository catalogue pkg: incremental update is not possible as repo format is inappropriate, trying full upgrade packagesite repository catalogue is up-to-date, no need to fetch fresh copy What should I do to make incremental updates possible? -- Michael Gass mgass@csbsju.edu From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 20:20:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7F395E30 for ; Tue, 11 Jun 2013 20:20:31 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 429261A9A for ; Tue, 11 Jun 2013 20:20:31 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UmV3G-00084m-VA for freebsd-questions@freebsd.org; Tue, 11 Jun 2013 22:20:22 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jun 2013 22:20:22 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jun 2013 22:20:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: libchk issue Date: Tue, 11 Jun 2013 20:20:05 +0000 (UTC) Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 20:20:31 -0000 On my system (9.1-RELEASE-p3 on amd64), libchk reports: Unresolvable link(s) found in: /usr/local/lib/liblangtag-gobject.so.2 liblangtag.so.1 'pkg which' informs me that: /usr/local/lib/liblangtag-gobject.so.2 was not found in the database How can I fix the problem? From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 21:43:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 238381E6 for ; Tue, 11 Jun 2013 21:43:58 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id B396F1ED4 for ; Tue, 11 Jun 2013 21:43:57 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id k13so4492661wgh.2 for ; Tue, 11 Jun 2013 14:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HG74E2P0SrzUN6J16O9uObUP9GsE9khkCvTjJuVUIVo=; b=TFA3/94dxY8zQJBaOJvhDPiQ3hSH1lCZ92OotWshEYYAfAzP1dv9Fk02idkYq7Ue4T JTn4fyErIvQSPYp1XCHzwp/fhqVLUV0JG4w88Zj7TI9kB791UiVoMcGYdg3e6qnMXLyj mwu8B2EuLKDtPbuRSH52KDX94wayhwYHE1mzmvDB932MxG0d/zRBTn+ccIWWvn8P/bO9 EAP9uzbIDtwhfyyRKKunMQeJyXqa5oJZQUBgM5oBh3UK2hjxqkRfjRTUZQsJwL2sCcIL giZ6ZFuU9crAZYE9i9CuX/RIiv4ScfnBDdFDUHLpIL/zXbHARbBkofEy4uoo2HUaHwGU H52Q== MIME-Version: 1.0 X-Received: by 10.194.91.194 with SMTP id cg2mr8195022wjb.53.1370987036825; Tue, 11 Jun 2013 14:43:56 -0700 (PDT) Received: by 10.180.89.235 with HTTP; Tue, 11 Jun 2013 14:43:56 -0700 (PDT) In-Reply-To: References: <20130607230429.a090ca0c.freebsd@edvax.de> Date: Tue, 11 Jun 2013 23:43:56 +0200 Message-ID: Subject: Re: 9.1-RELEASE slow boot From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 21:43:58 -0000 On Tue, Jun 11, 2013 at 8:19 AM, Fernando Apestegu=EDa wrote: > On Fri, Jun 7, 2013 at 11:04 PM, Polytropon wrote: >> On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apestegu=EDa wrote: >>> Since I updated to 9.1-RELEASE my boot process seems to stall for a >>> while. Booting in verbose mode shows messages like these ones: >>> >>> Opening device da0 -> 6 (repeated like 30 times or so) >>> Opening device da1 -> 6 (repeated like 30 times or so) >>> Opening device da2 -> 6 (repeated like 30 times or so) >>> Opening device da3 -> 6 (repeated like 30 times or so) >>> >>> Those devices correspond to my internal SD card reader that doesn't >>> work on FreeBSD anyway. This seems some kind of probing right? I don't >>> want to wait for those devices. What can I do to speed up booting? I >>> didn't change my system settings either. Did anything related change >>> in the kernel about probing these type of devices? >> >> For comparable reasons in the past, I added the following >> setting to my kernel configuration: >> >> options SCSI_DELAY=3D100 >> >> The default value is 5000. It's the delay in milliseconds >> for the SCSI probe. >> > Hi, > > Sorry for my late response (sometimes real life comes first). > > SCSI_DELAY in the code didn't change between 9.1[1] and 9.0[2] neither > did it in the configuration for the GENERIC kernels[3][4]. On both > occasions (9.0 and 9.1) I used the GENERIC kernels and I didn't change > this setting. > > I will give it a try as soon as I can, but it still seems a little > strange to me that this process takes longer in 9.1 for no apparent > reason > > Thanks. > > [1] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD91#L7= 6 > [2] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD90#L7= 6 > [3] http://svn.freebsd.org/base/releng/9.1/sys/amd64/conf/GENERIC > [4] http://svn.freebsd.org/base/releng/9.0/sys/amd64/conf/GENERIC I recompiled the GENERIC kernel and changed SCSI_DELAY to 2000 instead the default 5000. Still no luck. It doesn't make any difference so I suppose something else changed. Any ideas? Thanks in advance. > >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 22:40:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8AB918D2 for ; Tue, 11 Jun 2013 22:40:59 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) by mx1.freebsd.org (Postfix) with ESMTP id DC70E11A8 for ; Tue, 11 Jun 2013 22:40:58 +0000 (UTC) Received: from mail-we0-f172.google.com ([74.125.82.172]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKUbenVXSEYcss1DiLiRgqpWmRZ0JDNPxR@postini.com; Tue, 11 Jun 2013 22:40:58 UTC Received: by mail-we0-f172.google.com with SMTP id q56so6471856wes.3 for ; Tue, 11 Jun 2013 15:40:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:cc:reply-to:in-reply-to :x-gm-message-state; bh=ThL17L78CGCLV6G+s9eUerp3qwI0//Kkd8NqHMGaEqM=; b=e4MpdjBdm9PdZuf1P15M08MmIxr4S68pYlPTOqvs28NmKbwl9dUxTo4b8yrnAKAXQx YDV7h8CpgfGmv/hD8+iMAeBMrpsO5xxGQdav/CJDyMHDImfiP4WK41p8cBYjPHDM9EkG b6CMDQn04bduboY6q3OPhfQ038d7nCg3dLInPbWQNXs7aDcO1f15GN4tmyyVLXjYM764 YHhyCeqG/fl6XyikQgrrG1B/qBsxCB2SBDO9+WsuFvzd5oqslhAp6cHkGIs8fAbw7NXp q/Rahsz8cK51UhhU8n6Ob9BqNbhaVVWMaObFKBbgunrWrqPT5Qxp9xCjAIY0tJp6HVKJ lBYg== X-Received: by 10.180.187.37 with SMTP id fp5mr2768269wic.5.1370990421563; Tue, 11 Jun 2013 15:40:21 -0700 (PDT) X-Received: by 10.180.187.37 with SMTP id fp5mr2768265wic.5.1370990421502; Tue, 11 Jun 2013 15:40:21 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id m3sm20959284wij.5.2013.06.11.15.40.19 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 15:40:20 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r5BMeIuj002095 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 11 Jun 2013 23:40:18 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r5BMeHkJ002094; Tue, 11 Jun 2013 23:40:17 +0100 (BST) (envelope-from mexas) Date: Tue, 11 Jun 2013 23:40:17 +0100 (BST) From: Anton Shterenlikht Message-Id: <201306112240.r5BMeHkJ002094@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org, walterhurry@gmail.com Subject: incomplete PLIST for devel/liblangtag [WAS Re: libchk issue] In-Reply-To: X-Gm-Message-State: ALoCoQlWWM7PLsdm5dBe3Q6DBJL0kxtRGNzqOfpi3pc7DUFHuWVquzUehKIBG+dl2AfEw3KkbXeBG1Yfp9tMkUBls8Odue9EGJKq++uSOSAPfsGyKWyzCVNZbSFMNQqH2/hk1++706M69WFZHW4Duvi7U5E3/1Rt+qDW2UdIFPLRiCJtXuDa4XEQvGojQ56ls6YVR4nwlNxW Cc: office@FreeBSD.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 22:40:59 -0000 On my system (9.1-RELEASE-p3 on amd64), libchk reports: Unresolvable link(s) found in: /usr/local/lib/liblangtag-gobject.so.2 liblangtag.so.1 'pkg which' informs me that: /usr/local/lib/liblangtag-gobject.so.2 was not found in the database How can I fix the problem? I confirm this, devel/liblangtag does not register gobj* files with pkgng. Neither 0.5 nor 0.4 port versions do this. I didn't go any earlier than that. The 0.5 version has CONFIGURE_ARGS= --disable-introspection but the older gobj* files are not removed prior to build/install. I think the port maintainer needs to look at this. Anton From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 23:10:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B54405B4 for ; Tue, 11 Jun 2013 23:10:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 90FFF130E for ; Tue, 11 Jun 2013 23:10:32 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id bj3so4863727pad.28 for ; Tue, 11 Jun 2013 16:10:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Cwpuc0ZYXi4m7XkGBzR2M4F7k10lCBXd6lrWeiYtd2k=; b=efJj+KFMRRT48q/qNdEgYl6ZNvBK+ZiengXxQ8KNXO8qqEHbKR1j200J94QhzbSoUT BqYfpq6+yGfXG0uK9n6i+W1W82kzlntlQh4MD84Ik/yYm/qHJwO+5i+KoPVNaHsE2Dgn X9wqEXfPIHV2lzPCqJkJc3jKD5iYY+tJxjac/8bJy9tt6q8ewrfdau3lh6gYGIQA94XO bQjCXxsyDIxyctHbkpDaVAxrE3n+op7WIafv1IgnkIrFnaWkcKsWsLaVSKwx4mX7Ps2A hQtovYTSe+WJ47Yw3wretXoMC5slCIRw6ajXUH94tjzPpWo2JptwcFWKxwc4dmfZMvli iVIg== MIME-Version: 1.0 X-Received: by 10.68.228.195 with SMTP id sk3mr16809656pbc.103.1370992232381; Tue, 11 Jun 2013 16:10:32 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Tue, 11 Jun 2013 16:10:32 -0700 (PDT) In-Reply-To: References: <20130607230429.a090ca0c.freebsd@edvax.de> Date: Tue, 11 Jun 2013 18:10:32 -0500 Message-ID: Subject: Re: 9.1-RELEASE slow boot From: Adam Vande More To: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Polytropon , User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 23:10:32 -0000 On Tue, Jun 11, 2013 at 4:43 PM, Fernando Apestegu=EDa < fernando.apesteguia@gmail.com> wrote: > I recompiled the GENERIC kernel and changed SCSI_DELAY to 2000 instead > the default 5000. > Still no luck. It doesn't make any difference so I suppose something > else changed. > > Any ideas? > > Thanks in advance. Try setting hw.usb.no_boot_wait=3D1 --=20 Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 07:06:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DFDE46B6; Wed, 12 Jun 2013 07:06:56 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog116.obsmtp.com (eu1sys200aog116.obsmtp.com [207.126.144.141]) by mx1.freebsd.org (Postfix) with ESMTP id 448D6147F; Wed, 12 Jun 2013 07:06:54 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob116.postini.com ([207.126.147.11]) with SMTP ID DSNKUbgd9Hy0VzjaM3Vz/+xju2KgOwOWJ2ql@postini.com; Wed, 12 Jun 2013 07:06:55 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Wed, 12 Jun 2013 10:06:26 +0300 From: Alex Liptsin To: "freebsd-infiniband@freebsd.org" , "freebsd-net@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Failed to allocate receive buffer problem Thread-Topic: Failed to allocate receive buffer problem Thread-Index: Ac5nO1pW2LKE00ohRUCwnHjcKFM9Mw== Date: Wed, 12 Jun 2013 07:06:26 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF6E2C3@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Oded Shanoon , Regev Lev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 07:06:57 -0000 Hi. I have a problem that when running a ping (or any other traffic) over IPoIB= port, Traffic fails after some time. At destination server DMESG I see that errors: Jun 11 14:42:11 h-qa-033 kernel: ib1: failed to allocate receive buffer 253 Jun 11 14:42:12 h-qa-033 kernel: ib1: failed to allocate receive buffer 254 Jun 11 14:42:13 h-qa-033 kernel: ib1: failed to allocate receive buffer 255 Jun 11 14:42:14 h-qa-033 kernel: ib1: failed to allocate receive buffer 0 Jun 11 14:42:15 h-qa-033 kernel: ib1: failed to allocate receive buffer 1 Jun 11 14:42:16 h-qa-033 kernel: ib1: failed to allocate receive buffer 2 Jun 11 14:42:17 h-qa-033 kernel: ib1: failed to allocate receive buffer 3 Jun 11 14:42:18 h-qa-033 kernel: ib1: failed to allocate receive buffer 4 Jun 11 14:42:19 h-qa-033 kernel: ib1: failed to allocate receive buffer 5 Jun 11 14:42:20 h-qa-033 kernel: ib1: failed to allocate receive buffer 6 Jun 11 14:42:21 h-qa-033 kernel: ib1: failed to allocate receive buffer 7 I work with FreeBSD 9.1. Is it a bug or some configuration issues? Thanks. Regards, Alex Liptsin Software Quality Assurance Engineer | Mellanox Technologies Ltd. Office: +972 (74) 7236141 Mobile: +972(54) 7833986 Fax: +972(74) 7236161 Email: alexl@mellanox.com Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Isr= ael From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 13:26:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0DBEDD9A for ; Wed, 12 Jun 2013 13:26:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C8DCC1C5A for ; Wed, 12 Jun 2013 13:26:12 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r5CDPw3K023694; Wed, 12 Jun 2013 07:25:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r5CDPpvO023691; Wed, 12 Jun 2013 07:25:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 12 Jun 2013 07:25:51 -0600 (MDT) From: Warren Block To: david coder Subject: Re: mini express cards supported by freebsd In-Reply-To: <20130607052808.GB12989@mail3.dcoder.net> Message-ID: References: <20130607052808.GB12989@mail3.dcoder.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 12 Jun 2013 07:25:59 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 13:26:13 -0000 On Fri, 7 Jun 2013, david coder wrote: > i need a mini express wifi card for a thinkpad laptop. does anybody know of > one that is supported by freebsd? the aironet card i have is too fat. Thinkpads have a BIOS blacklist that only allows approved cards to be used. The approved cards likely vary significantly depending on the Thinkpad model. The Lenovo web site has information on which cards are available for each model. Some people patch the BIOS to prevent the test and allow other cards. As far as FreeBSD is concerned, I've had the best experience with Atheros cards. There is a list of cards here: https://wiki.freebsd.org/dev/ath_hal%284%29/HardwareSupport There are two sizes for mini PCIE cards, and two or three antenna connectors, so it's important to match the existing card. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 13:54:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0FE98CEB for ; Wed, 12 Jun 2013 13:54:05 +0000 (UTC) (envelope-from ulrich@pukruppa.de) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) by mx1.freebsd.org (Postfix) with ESMTP id 853121DB7 for ; Wed, 12 Jun 2013 13:54:03 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.7/8.14.7) with ESMTP id r5CDdtw0050803 for ; Wed, 12 Jun 2013 15:39:56 +0200 (CEST) (envelope-from ulrich@pukruppa.de) Message-ID: <51B87A2B.2030002@pukruppa.de> Date: Wed, 12 Jun 2013 15:39:55 +0200 From: Peter Ulrich Kruppa User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Which is the "parser plugin for encoding trig"? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 13:54:05 -0000 Hi, some ports on my 9.1-STABLE fail with this message: Could not find parser plugin for encoding trig I found some mails mentioning this problem in the archives and tried to reinstall sysutils/raptor2 - as recommended - but the error remains the same. Any ideas? Greetings Peter From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 16:08:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4DB725D4 for ; Wed, 12 Jun 2013 16:08:59 +0000 (UTC) (envelope-from rstor22@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 268F318C3 for ; Wed, 12 Jun 2013 16:08:59 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x12so5269117ief.40 for ; Wed, 12 Jun 2013 09:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QiyjcHLuFUskpqHj4p4BWSjiKfMhJahaQGnQUX3T9oI=; b=fjijOX3HzImvKoXwDpjO/KIe5i+qX18XNECrTreevil5PQwyeUv9CpB1xU6MK8/9wy aOlf6bOq2a8415TU02QfXikyl+U1R3KHPHrXEh0+PmKCuyhv44llA2RxlNZkWjB0KMeD s/wwB60QfjfF30CdfwoSdxKkZM7dpeuxWA5c3QyIxu/+g8iMxrGGt7ScmfFcxLb44zdt OJd6JsPrajDoncpZFcdNI8HeB02NCjJui9MePm918D7UpEpD/38q0jFMd+FR/8hJ0bK1 pEd8y8ZUp2ahxI3mjH0zz4RdZap4wAih10qdLKMxXqbeh8D26X5Uu1y0r48ERM0vKCLx yUgQ== MIME-Version: 1.0 X-Received: by 10.42.95.147 with SMTP id f19mr8185442icn.24.1371053338839; Wed, 12 Jun 2013 09:08:58 -0700 (PDT) Received: by 10.50.27.37 with HTTP; Wed, 12 Jun 2013 09:08:58 -0700 (PDT) Date: Wed, 12 Jun 2013 12:08:58 -0400 Message-ID: Subject: FreeBSD 9.1 Carrier Detection From: Rad Stor To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 16:08:59 -0000 Background: I was having troubles with carrier detection for modems/null modem connections under Solaris 8 (i.e. login session remains active after the modem disconnects). I tried two different dumb modems (do not respond to AT commands). They both output the appropriate voltage on the CD line when a carrier is detected/not detected (I have confirmed this using a volt meter and applying the appropriate carrier tone via a function generator). I then decided to try a null modem connection When accessing the serial console on the Solaris 8 system using a null modem cable, the login session remains active when disconnecting the cable and plugging it back in. To my understanding this should not happen, in the first case with the modem, or with the null modem cable (as I disabled software carrier detection). I decided to test out carrier detection on FreeBSD 9.1 on a different machine running within virtual box. I used a usb-serial dongle which shows up as ttyu0 on the BSD machine. Carrier detection appears to work. When I establish a null modem connection I receive a login prompt. If I login, and then unplug and plug back the cable, I get the login prompt again and the old session does not continue. This is the correct behaviour to my understanding however I am curious of the way the getty process behaves, esp. on bootup in FreeBSD. Question: The line in my /etc/ttys file is as follows: ttyu0 "/usr/libexec/getty std.300" dialup on I then issued the command "kill -HUP 1" and restarted the system with *nothing* plugged into the serial port. Reading the documentation it is my understanding that when the system starts up and no carrier is detected, when issuing the ps -ax command, the result I am supposed to see should be something as follows: 114 ?? I 0:00.10 /usr/libexec/getty std.300 ttyu0 However I instead see a similar output to the above but the question marks are replaced by letters. Per the documentation at : ttp://www.freebsd.org/doc/en/books/handbook/dialup.html it indicates that if something like this is displayed it means that "getty has completed its open on the communications port. This could indicate a problem with the cabling or a misconfigured modem, because getty should not be able to open the communications port until carrier detect has been asserted by the modem." I figured that since nothing is connected into the serial port, perhaps the voltage levels may be floating, instead of being held at the negative voltage which would indicate no carrier. I therefore applied a negative voltage to the CD line and restarted the system. Upon restart I issuing the ps -ax command and the result was as before, letters instead of the question marks. I then manually applied a positive voltage to the CD line and then a negative voltage again. I had to do it a couple times however eventually it showed up with question marks. I then was able to toggle back and forth, positive voltage resulted in letters, negative voltage on CD line resulted in question marks (which is the correct behaviour to my understanding). Why is it that when a negative voltage is applied to the CD line, upon system start-up getty indicates via the ps -ax command that it has opened the port? [i.e. letters appear instead of question marks] I would expect that with a negative voltage applied to the CD line, upon restart it would show up with ?? I need to toggle the voltage between negative to positive and then back to negative (sometimes I need to do it a couple times) for it to eventually show up with ?? and then it would toggle back and forth as I switch the voltages thereafter. From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 17:38:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A2532901 for ; Wed, 12 Jun 2013 17:38:26 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-we0-x22b.google.com (mail-we0-x22b.google.com [IPv6:2a00:1450:400c:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 3C82212F7 for ; Wed, 12 Jun 2013 17:38:26 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id m46so7260809wev.30 for ; Wed, 12 Jun 2013 10:38:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=o/IkCz1ujoNQxJHYDb3bX1+Eu16ZVLgbfjZnpeUQ2Gg=; b=TLGpwXrE3p/Sqh3whuM37pS8kr+/heBkDEdS2CMaFc/K986WKJxZH5NaN37QVgvrlM 3XdN1QiVR1vvGijFJh9YYT1lRNVxl09uA+bCjkMoE7+QMSWu35a1trwRHHw4rVZEIihR Lui6yj48cTi1SFe6QfaAYdZo4YUFjjzCn57/p2gmm92Rrn6l+nCNPQhRcyxaEqbdH53q P8cTdeE0MnkQiPe3veYQt3GdmUe581NAViKZ9UTneKdnqC+wbbnEtE66ORxprCQ+txM5 awltRdFUkiwu+qT1KSUUCJ8RuXLbQ6NyqHOK+TLrn5s9t8V/ZwkIJZ8RPHf1+BW6p+Bb lYKQ== MIME-Version: 1.0 X-Received: by 10.194.91.194 with SMTP id cg2mr11023829wjb.53.1371058705413; Wed, 12 Jun 2013 10:38:25 -0700 (PDT) Received: by 10.180.89.235 with HTTP; Wed, 12 Jun 2013 10:38:25 -0700 (PDT) In-Reply-To: References: <20130607230429.a090ca0c.freebsd@edvax.de> Date: Wed, 12 Jun 2013 19:38:25 +0200 Message-ID: Subject: Re: 9.1-RELEASE slow boot From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Polytropon , User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 17:38:26 -0000 On Wed, Jun 12, 2013 at 1:10 AM, Adam Vande More wr= ote: > On Tue, Jun 11, 2013 at 4:43 PM, Fernando Apestegu=EDa > wrote: >> >> I recompiled the GENERIC kernel and changed SCSI_DELAY to 2000 instead >> the default 5000. >> Still no luck. It doesn't make any difference so I suppose something >> else changed. >> >> Any ideas? >> >> Thanks in advance. > > > Try setting hw.usb.no_boot_wait=3D1 I set it up in loader.conf and had no luck. The same messages in verbose mode are shown: it is probing the da[0-3] devices until it seems to give up. > > -- > Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 19:57:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F3405C6B for ; Wed, 12 Jun 2013 19:57:22 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id C25B41E20 for ; Wed, 12 Jun 2013 19:57:22 +0000 (UTC) Received: from [192.168.2.50] (149.241.239.214) by april.london.02.net (8.5.140) id 50D0FF990DE6A3B1 for freebsd-questions@freebsd.org; Wed, 12 Jun 2013 20:56:07 +0100 Message-ID: <51B8D257.8080501@onetel.com> Date: Wed, 12 Jun 2013 20:56:07 +0100 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111228 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 9.1-RELEASE slow boot References: <20130607230429.a090ca0c.freebsd@edvax.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 19:57:23 -0000 >>> On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apesteguía wrote: >>>> Since I updated to 9.1-RELEASE my boot process seems to stall for a >>>> while. Booting in verbose mode shows messages like these ones: >>>> >>>> Opening device da0 -> 6 (repeated like 30 times or so) >>>> Opening device da1 -> 6 (repeated like 30 times or so) >>>> Opening device da2 -> 6 (repeated like 30 times or so) >>>> Opening device da3 -> 6 (repeated like 30 times or so) >>>> >>>> Those devices correspond to my internal SD card reader that doesn't >>>> work on FreeBSD anyway. This seems some kind of probing right? I don't >>>> want to wait for those devices. What can I do to speed up booting? I >>>> didn't change my system settings either. Did anything related change >>>> in the kernel about probing these type of devices? Since you are not using the device could you not just disable it in the BIOS? Chris From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 21:38:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D56717FD for ; Wed, 12 Jun 2013 21:38:01 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6251471 for ; Wed, 12 Jun 2013 21:38:01 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id c11so3874474wgh.25 for ; Wed, 12 Jun 2013 14:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MBFW2WGgTo3rSCZr8gTnXod5xdM3Q1Jc2lw0ivgQ77c=; b=BusCvCngZmJcUPHnfHxSUF1j7Iwu4Z1AoHvLy98B2YgnM1Piw0R2XZ6dJcS4GIANXg aFeDnS4sMOv5Opw9jFlpZkGeUrPh9fLcE//p9GvFsBLtCTogduzOwmuprflL4ZN+PthV g67J+ezlvTnxSPO/2wEotk/zySs5yJtBOLzDFee5GxAQ/RjPEdRi8sKBPt0KAh0E6qtv mcmdHiDiFUrn6FX63590NXp8t0XxAeSiI2QjQUCXStwahM/KmCH/Y5YbRvA4viYyek8/ oX/qRZ9assCgjy8XmsSEDEJK6qkJv5KTOvE6RmnchJRK3PTV0SdtKQrqmeqrSJn00+iS ZxKQ== MIME-Version: 1.0 X-Received: by 10.180.37.208 with SMTP id a16mr5770911wik.24.1371073080515; Wed, 12 Jun 2013 14:38:00 -0700 (PDT) Received: by 10.180.89.235 with HTTP; Wed, 12 Jun 2013 14:38:00 -0700 (PDT) In-Reply-To: <51B8D257.8080501@onetel.com> References: <20130607230429.a090ca0c.freebsd@edvax.de> <51B8D257.8080501@onetel.com> Date: Wed, 12 Jun 2013 23:38:00 +0200 Message-ID: Subject: Re: 9.1-RELEASE slow boot From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Chris Whitehouse Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 21:38:01 -0000 On Wed, Jun 12, 2013 at 9:56 PM, Chris Whitehouse wrote= : > On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apestegu=EDa wrote: >>>> >>>>> Since I updated to 9.1-RELEASE my boot process seems to stall for a >>>>> while. Booting in verbose mode shows messages like these ones: >>>>> >>>>> Opening device da0 -> 6 (repeated like 30 times or so) >>>>> Opening device da1 -> 6 (repeated like 30 times or so) >>>>> Opening device da2 -> 6 (repeated like 30 times or so) >>>>> Opening device da3 -> 6 (repeated like 30 times or so) >>>>> >>>>> Those devices correspond to my internal SD card reader that doesn't >>>>> work on FreeBSD anyway. This seems some kind of probing right? I don'= t >>>>> want to wait for those devices. What can I do to speed up booting? I >>>>> didn't change my system settings either. Did anything related change >>>>> in the kernel about probing these type of devices? >>>>> >>>> > Since you are not using the device could you not just disable it in the > BIOS? > Not that option in my PC (Compaq Presario SR5000). Also, I would be missing the point... why so slow? > > Chris > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Wed Jun 12 23:13:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C61ACDE for ; Wed, 12 Jun 2013 23:13:45 +0000 (UTC) (envelope-from egunther@warwick.net) Received: from frontend1.warwick.net (mx1.warwick.net [204.255.24.102]) by mx1.freebsd.org (Postfix) with SMTP id 7E06D19B6 for ; Wed, 12 Jun 2013 23:13:44 +0000 (UTC) Received: (qmail 12033 invoked from network); 12 Jun 2013 23:07:04 -0000 Received: from 70.44.113.171.res-cmts.sefg.ptd.net (HELO [70.44.113.171]) (egunther@warwick.net@70.44.113.171) by frontend1.warwick.net with SMTP (cb6d7c24-d3b4-11e2-8dea-001e0b616b8e); Wed, 12 Jun 2013 19:07:04 -0400 Message-ID: <1371078423.3451.10.camel@res-cmts> Subject: Re: which reader/tablet/ From: ito To: Gary Kline Date: Wed, 12 Jun 2013 19:07:03 -0400 In-Reply-To: <20130610031314.GA32304@ethic.thought.org> References: <20130610031314.GA32304@ethic.thought.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-MagicMail-UUID: cb6d7c24-d3b4-11e2-8dea-001e0b616b8e X-MagicMail-Authenticated: egunther@warwick.net Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jun 2013 23:13:45 -0000 Hi, Have you seen Project Gutenberg. There are alot of books there that are out of print and published in a variety of formats. I have gotten stuff onto a older kindle (black and white) with the cable that it comes with (usb) plugged into the computer, in windows to kindle, dragging and dropping to the drive. Other than that I think its much easier (and transparent) in common usage with wifi or cellular plan. Just navigate and select I would guess. I looked around on the web and found some stuff that might be of interest to you, there was a thread ( it appears ) on this list last year about the potential of using FreeBSD on tablets: http://freebsd.1045724.n5.nabble.com/Vivaldi-Tablet-td5593818.html Also there is a text to speech add-on for firefox. https://addons.mozilla.org/en-us/firefox/addon/text-to-voice/ Anyway, checked a bit thought it might help. a5' On Sun, 2013-06-09 at 20:13 -0700, Gary Kline wrote: > guys, > > most of you know that im physically disabled. anyway, the > disability extends to my speech and is why the cellphone I > have is datged and never got upgraded. > > Anyway ... whilei dont need a new cell, I =have= been eyeing > something that I can buy ebooks and have the player/reader/ > have the text {ASCII =only=} read to me. I would google up > something, but I dont even know what to search for. can I put > freebsd on these tablet devices? if I bought, say, WAR AND PIECE > or something out of copyright { schopenhauer or marcus aurelius } > that is in text, how do I get it to whatever tablet I have? > right now we've got cable and I use the telco for my server. > I know that works, but it is only good for my computer network. > > but say I wanted to keep things simple and buy some kind of kindle > or nook. how does amazon.com or bn.com get their new ebooks onto > my reader? > > thanks in advance, > > gary > > > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 00:46:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 23D521A3 for ; Thu, 13 Jun 2013 00:46:49 +0000 (UTC) (envelope-from darren.pilgrim@gmail.com) Received: from mail-pb0-x22e.google.com (mail-pb0-x22e.google.com [IPv6:2607:f8b0:400e:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 02EA01CAF for ; Thu, 13 Jun 2013 00:46:48 +0000 (UTC) Received: by mail-pb0-f46.google.com with SMTP id rq2so4704483pbb.33 for ; Wed, 12 Jun 2013 17:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=u6NTq3lnh40Ku/nrvLH6l+zKSy/CTFl9qwk1YplUATU=; b=VxjzFCSCgN5kTCCcIEDCsFyAWMgNbOc1+fjTm1O+/Wc1LVhL2KT4ZJiGJzUWHV+sca n0ZgJX8Pw7G4P7ACTAzIrDETZXs+EiiQLvd8R0D7bwRXyM1MpTT1sTpqM6ZthKEjF7tu HJrhxKedjKyFV9Ef2R710PiPID/4jxQlzGwdIWN9vdPLz6CzlXQ4lNS5ixC7T2QOl4VD Lud73Dxox6ZIYAra2gI3ZrYp06JhnPYS84mb94ZgnsQgHvkJB1JXXMaMHJUDukfgmmCc xTj5UkPlwMS9HcMP+ExZZLNnr+LZeJEirZC5AZchLFoBvpVCMJKznKP/WkwBcgAWI84X IKyw== X-Received: by 10.68.26.7 with SMTP id h7mr22333204pbg.187.1371084408162; Wed, 12 Jun 2013 17:46:48 -0700 (PDT) Received: from ?IPv6:2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5? ([2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5]) by mx.google.com with ESMTPSA id wt5sm20975793pbc.38.2013.06.12.17.46.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 17:46:47 -0700 (PDT) Message-ID: <51B91679.1070405@gmail.com> Date: Wed, 12 Jun 2013 17:46:49 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to force a static /etc/resolv.conf? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 00:46:49 -0000 I'm running 9.1. I run a local recursive resolver, so my /etc/resolv.conf needs to remain static. I have DHCPv4, DHCPv6 and VPN clients running which all want to modify /etc/resolv.conf. I have set in /etc/resolvconf.conf: search_domains="example.com. example.net." name_servers="2001:db8::53" But that only prepends that information. Search domains and nameservers from other sources still get included. I can set /etc/resolv.conf as immutable, but's a hack and it generates errors from resolveconf. How do I tell resolvconf to always use a static configuration or, better yet, to not muck with /etc/resolv.conf at all? From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 08:17:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0DE289B5 for ; Thu, 13 Jun 2013 08:17:04 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-ve0-x22b.google.com (mail-ve0-x22b.google.com [IPv6:2607:f8b0:400c:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 9BF9D1EE8 for ; Thu, 13 Jun 2013 08:17:03 +0000 (UTC) Received: by mail-ve0-f171.google.com with SMTP id b10so7464288vea.2 for ; Thu, 13 Jun 2013 01:17:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PLWSRYqK1KZ/rBTJarcw7N900nntZsO5Gg1qDgnUPkw=; b=zjxxxIlkr4Zw9GjNzn+VrSnbLMEdaqzyD7Ro9mO5GuBuEv/dpTkAAwUOFt30iusTkS FRw0fJTILnGv0HGk5C3K5xwelKoWivLPkJg2nYE7CNT51mN4QFnlFUq2u1XdA87liZ9k q4zyQmA5HtQoUmywXMArWI6dFWFrz41BcMWHdJ3x0XdPgPBbXt8Qa1ZOlKSXWoBRFzzC LOYNjlirs72ogjmBF8hBEgfheo0t2eYvvz5CxbDCeqXd2VKc0PxzWU9iwWcShczj02Su sAjXUALy0FFQJ7P/YSeJE+Ux2QAw7J2PvebVpXX97EoJXbxd3cEvRvVCoz/Jh0anO+4U Tp4w== MIME-Version: 1.0 X-Received: by 10.220.238.4 with SMTP id kq4mr211680vcb.73.1371111422894; Thu, 13 Jun 2013 01:17:02 -0700 (PDT) Received: by 10.52.227.132 with HTTP; Thu, 13 Jun 2013 01:17:02 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Jun 2013 13:47:02 +0530 Message-ID: Subject: Fwd: Fresh installation 9.1 From: hrkesh sahu To: FreeBSD questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 08:17:04 -0000 Hi , I need one more help - This is my new /etc/rtadvd.conf ------------------------------------------ rl0:\ :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64 re0:\ :addr=3D"fd44:13de:a366:200::":prefixlen#64 \ :addr1=3D"2001:db8:ffff:1::":prefixlen#64:vltime#12345:pltime#12345= : For this all the Client machines received the router advertisement. There are two IPv6 clients are connected to Re0 interface of FreeBSD router using a HUB. All IPv6 clients updates there IPv6 address table. client1 IPv6 address - IP Address. . . . . . . . . . . . : 2001:db8:ffff:1:f009:905e:1667:4aae IP Address. . . . . . . . . . . . : 2001:db8:ffff:1:224:7eff:fee0:6b51 IP Address. . . . . . . . . . . . : fd44:13de:a366:200:f009:905e:1667:4aae IP Address. . . . . . . . . . . . : fd44:13de:a366:200:224:7eff:fee0:6b51 IP Address. . . . . . . . . . . . : fd8f:d6d0:e6e7:100::1337 IP Address. . . . . . . . . . . . : 2001:db8:ffff:2::200 IP Address. . . . . . . . . . . . : fe80::224:7eff:fee0:6b51%5 Default Gateway . . . . . . . . . : fe80::21f:d0ff:fe40:8bbd%5 Client2 Ipv6 address - - fe80:0:0:0:204:a3ff:fe11:9d19 - fd44:13de:a366:200:204:a3ff:fe11:9d19 - fd44:13de:a366:200:0:0:0:200 - 2001:db8:ffff:1:204:a3ff:fe11:9d19 My surprise is that - I am able to get a reply for a client1 ICMPv6 request ( fd44:13de:a366:200:204:a3ff:fe11:9d19 is a another client2 IPv6 address- >ping6 fd44:13de:a366:200:204:a3ff:fe11:9d19 Pinging fd44:13de:a366:200:204:a3ff:fe11:9d19 from fd44:13de:a366:200:f009:905e:1667:4aae with 32 bytes of data: Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=3D32 time<1ms But - when I send this ICMPv6 request from Client1 , I am not able to get the reply. >ping6 2001:db8:ffff:1:204:a3ff:fe11:9d19 Pinging 2001:db8:ffff:1:204:a3ff:fe11:9d19 from 2001:db8:ffff:1:f009:905e:1667:4aae with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Please help me on this. Regards Hrisikesh On Wed, Jun 12, 2013 at 6:22 PM, hrkesh sahu wrote= : > Hi Trond, > I understood that rtadvd should be stopped and rtadvd_enable should be > disabled when we are using Link local address. > Now i am able to ping link local address. > > > > > On Wed, Jun 12, 2013 at 5:06 PM, hrkesh sahu wro= te: > >> Hi Trond, >> Thanks a lot for this clear information and your help. >> >> I need one more help on this link local address communication - >> >> I am not able to ping link local address of FREEBSD machine. >> >> >> Laptop ( windows XP) <----------------->< rl0 interface > FreeBSD Router >> >> ping from laptop to freebsd Link address - >> >> >ping6 fe80::21f:d0ff:fe40:8bbd%5 >> >> Pinging fe80::21f:d0ff:fe40:8bbd%5 >> >> from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data: >> >> Request timed out. >> Request timed out. >> >> Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. >> Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. >> >> Ping statistics for fe80::21f:d0ff:fe40:8bbd%5: >> Packets: Sent =3D 4, Received =3D 0, Lost =3D 4 (100% loss), >> >> >> My rc.conf >> -------------------- >> ipv6_gateway_enable=3D"YES" >> rtadvd_enable=3D"YES" >> rtadvd_interfaces=3D"rl0 re0" >> >> >> Regards >> >> >> >> >> On Wed, Jun 12, 2013 at 4:32 PM, Trond Endrest=F8l < >> Trond.Endrestol@fagskolen.gjovik.no> wrote: >> >>> On Wed, 12 Jun 2013 16:16+0530, hrkesh sahu wrote: >>> >>> > Hi Trond, >>> > Now it is working. >>> > >>> > could you please tell me how to route link local address routing? >>> >>> Link local addresses are just that, link local. They are NEVER ment to >>> traverse through any router. Think of link local as VLAN local or >>> subnet local. They play a crucial role in Neighbor Discovery and are >>> useful in ad-hoc nets. >>> >>> See section 2.5.6 of RFC 4291: http://tools.ietf.org/html/rfc4291 >>> See the entire section 7 of RFC 4861: http://tools.ietf.org/html/rfc486= 1 >>> See section 5.3 of RFC 4862: http://tools.ietf.org/html/rfc4862 >>> >>> > Laptop ( windows XP) <----------------->< rl0 interface > FreeBSD >>> Router >> > interface ><------------------------->Target Ipv6 Device >>> > (XP Link local address ) >>> > fe80::224:7eff:fee0:6b51<-----------------connected to >>> > ------------->fe80::210:b5ff:fe48:9f73 >>> > ( freebsd rl0 interface) >>> > >>> > ( Freebsd re0 Link local address) >>> > fe80::21f:d0ff:fe40:8bbd<----------------------connected to -------> >>> > fe80::204:a3ff:fe11:9d19 >>> > ( target device link local address) >>> > >>> > >>> > >>> > I send a ICMPv6 request from Laptop to Target device Link local >>> address. >>> > >ping6 fe80::204:a3ff:fe11:9d19%5 >>> > >>> > Pinging fe80::204:a3ff:fe11:9d19%5 >>> > from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data: >>> > >>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl= e. >>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl= e. >>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl= e. >>> > Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachabl= e. >>> > >>> > My /etc/rtadvd.conf >>> > ---------------------------------- >>> > rl0:\ >>> > :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64 >>> > >>> > re0:\ >>> > :addr=3D"fd44:13de:a366:200::":prefixlen#64 >>> > >>> > >>> > Do I need to add client link local address in this above rtadvd.conf = . >>> >>> Don't ever, ever do that. >>> >>> To quote the last paragraph of section 2.5.6 of RFC 4291: >>> >>> Routers must not forward any packets with Link-Local source or >>> destination addresses to other links. >>> >>> > On Tue, Jun 11, 2013 at 7:45 PM, Trond Endrest=F8l < >>> > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > >>> > > On Tue, 11 Jun 2013 19:14+0530, hrkesh sahu wrote: >>> > > >>> > > > Hi Trond, >>> > > > for router : ndp -an >>> > > > >>> > > > Neighbor Linklayer Address Netif >>> > > > Expire S Flags >>> > > > fd8f:d6d0:e6e7:100::1337 00:16:f0:57:24:48 rl0 >>> > > 23h59m59s >>> > > > S >>> > > > fd44:13de:a366:200::200 00:15:71:b1:11:66 re0 >>> 23h59m59s >>> > > > S >>> > > > >>> > > > >>> > > > is there anything, XP OS is not processing those packets? >>> > > >>> > > I hope you have run the ipv6 install command on the XP client. >>> > > IPv6 isn't installed out of the box. >>> > > >>> > > What does this command produce on the XP client? >>> > > >>> > > ipconfig /all >>> > > >>> > > You should at least see IPv6 link-local addresses assigned to the >>> NIC. >>> > > >>> > > > On Tue, Jun 11, 2013 at 6:37 PM, Trond Endrest=F8l < >>> > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > > > >>> > > > > On Tue, 11 Jun 2013 18:23+0530, hrkesh sahu wrote: >>> > > > > >>> > > > > > Hi Trond, >>> > > > > > One more think - >>> > > > > > >>> > > > > > Ping from FreeBSD router to fd8f:d6d0:e6e7:100::1337 ( XP >>> machine >>> > > IPv6 >>> > > > > > address) >>> > > > > > - result - >>> > > > > > ping6: sendmsg: No route to host >>> > > > > > ping6: wrote fd8f:d6d0:e6e7:100::1337 16 chars, ret=3D -1 >>> > > > > > >>> > > > > > could you please see this? >>> > > > > >>> > > > > Maybe the router isn't paying attention to the client's neighbo= r >>> > > > > advertisements. >>> > > > > >>> > > > > Is the client listed in the router's ND cache? >>> > > > > >>> > > > > Try this on the router: ndp -an >>> > > > > >>> > > > > You should see something similar to this: >>> > > > > >>> > > > > Neighbor Linklayer Address Netif Expire S Flags >>> > > > > 2001:db8:11d0::1 00:16:f0:57:24:48 re0 4s R R >>> > > > > 2001:db8:11d0::2 00:15:71:b1:11:66 re0 6s R >>> > > > > >>> > > > > > On Tue, Jun 11, 2013 at 5:37 PM, hrkesh sahu < >>> > > hrisikeshsahu@gmail.com >>> > > > > >wrote: >>> > > > > > >>> > > > > > > Hi Trond, >>> > > > > > > Thanks a lot for this quick reply. >>> > > > > > > >>> > > > > > > TAR1 is a Embedded device which has Ipv6 stack. ( I also >>> checked >>> > > same >>> > > > > > > Ipv6 address configuration with a XP machine, behaviour is >>> same) >>> > > > > > > Route table on FreeBSD router machine shows - >>> > > > > > > >>> > > > > > > Name mtu Network >>> > > > > > > Address ipkts ierrs idrop opkts oerr= s >>> coll >>> > > > > > > re0 1500 fd44:13de:a366:200 >>> fd44:13de:a366:200 >>> > > > > 7020 >>> > > > > > > 0 0 9206 0 0 >>> > > > > > > rl0 1500 fd8f:d6d0:e6e7:100 >>> fd8f:d6d0:e6e7:100 >>> > > > > > > 53 0 0 253 0 0 >>> > > > > > > >>> > > > > > > sysctl net.inet6.ip6.forwarding=3D1 >>> > > > > > > >>> > > > > > > Regards >>> > > > > > > >>> > > > > > > On Tue, Jun 11, 2013 at 4:57 PM, Trond Endrest=F8l < >>> > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > > > > > > >>> > > > > > >> On Tue, 11 Jun 2013 16:29+0530, hrkesh sahu wrote: >>> > > > > > >> >>> > > > > > >> > Hi Trond, >>> > > > > > >> > I need one more help for our PV6 Interoperability testin= g. >>> > > > > > >> > I was trying to do Interoperability test for our IPv6 >>> target >>> > > device. >>> > > > > > >> > FreeBsd as router . >>> > > > > > >> > FreeBSD Re0 has IPv6 address =3D fd44:13de:a366:200::1 >>> > > > > > >> > FreeBSD Rl0 has IPv6 Address =3D fd8f:d6d0:e6e7:100::101 >>> > > > > > >> > >>> > > > > > >> > Our Target Device(TAR1) IPv6 address - >>> fd44:13de:a366:200::200 >>> > > ( >>> > > > > which >>> > > > > > >> is >>> > > > > > >> > connected point to point to interface Re0 of FreeBSD >>> desktop) >>> > > > > > >> > >>> > > > > > >> > Another Reference device( REF1) which is connected to Rl= 0 >>> of >>> > > > > FreeBSD and >>> > > > > > >> > IPv6 address is fd8f:d6d0:e6e7:100::1337 is a windows XP >>> > > machine. >>> > > > > > >> > >>> > > > > > >> > >>> > > > > > >> > REF1 ICMPv6 request to fd44:13de:a366:200::200 and Repl= y >>> is >>> > > coming >>> > > > > for >>> > > > > > >> > Ping6 fd44:13de:a366:200::200 >>> > > > > > >> > >>> > > > > > >> > when I do ICMPv6 request to fd8f:d6d0:e6e7:100::1337 >>> from TAR1- >>> > > > > > >> > TCPdump result - >>> > > > > > >> > fd44:13de:a366:200::1 > fd44:13de:a366:200::200: ICMP6, >>> > > Destination >>> > > > > > >> > unreachable, unreachable route fd8f:d6d0:e6e7:100::1337= , >>> > > Length 60 >>> > > > > > >> > >>> > > > > > >> > If I send a ICMP6 request from fd44:13de:a366:200::1 ( >>> from >>> > > FreeBSD >>> > > > > > >> desktop >>> > > > > > >> > ) to fd44:13de:a366:200::200, I am able to get reply fro= m >>> > > > > > >> > fd44:13de:a366:200::200. >>> > > > > > >> > >>> > > > > > >> > Could you please tell me why FreeBSD Router is not able = to >>> > > resolve >>> > > > > the >>> > > > > > >> > ICMP6 request for Target device? >>> > > > > > >> >>> > > > > > >> You did not disclose the operating system of TAR1. >>> > > > > > >> >>> > > > > > >> Anyway, I would begin by examining the routing tables on t= he >>> > > client. >>> > > > > > >> >>> > > > > > >> If the OS on TAR1 is FreeBSD, then try the command: >>> > > > > > >> >>> > > > > > >> netstat -rwnf inet6 >>> > > > > > >> >>> > > > > > >> Assuming the IPv6 router sends out router announcements on >>> the re0 >>> > > > > > >> interface, the announcements contain the correct >>> information, and >>> > > the >>> > > > > > >> router announcements are received and acted upon by TAR1, >>> then the >>> > > > > > >> default route should either be the link-local IPv6 address >>> of the >>> > > re0 >>> > > > > > >> interface or the ULA address of said interface. >>> > > > > > >> >>> > > > > > >> Next, it wouldn't hurt to examine the routing table of the >>> router. >>> > > > > > >> Use the same command as above: >>> > > > > > >> >>> > > > > > >> netstat -rwnf inet6 >>> > > > > > >> >>> > > > > > >> The router should have knowledge of fd44:13de:a366:200::/6= 4 >>> > > belonging >>> > > > > > >> to the re0 interface, and fd8f:d6d0:e6e7:100::/64 belongin= g >>> to >>> > > the rl0 >>> > > > > > >> interface. >>> > > > > > >> >>> > > > > > >> Finally, IPv6 routing should be enabled in the router. Thi= s >>> would >>> > > be >>> > > > > > >> verified by examining the sysctl(8) >>> net.inet6.ip6.forwarding. >>> > > Simply >>> > > > > > >> type this command on the router: >>> > > > > > >> >>> > > > > > >> sysctl net.inet6.ip6.forwarding >>> > > > > > >> >>> > > > > > >> Its value should be 1, if not, set it to 1: >>> > > > > > >> >>> > > > > > >> sysctl net.inet6.ip6.forwarding=3D1 >>> > > > > > >> >>> > > > > > >> If the latter is the case, then careful examination and >>> editing >>> > > of the >>> > > > > > >> /etc/rc.conf file is needed. >>> > > > > > >> >>> > > > > > >> Incidently, the IPv6 routing table on the XP client is >>> shown using >>> > > > > > >> this command: >>> > > > > > >> >>> > > > > > >> ipv6 rt >>> > > > > > >> >>> > > > > > >> Best of luck. ;-) >>> > > > > > >> >>> > > > > > >> > Regards >>> > > > > > >> > Hrisikesh >>> > > > > > >> > >>> > > > > > >> > On Thu, May 23, 2013 at 3:45 PM, Trond Endrest=F8l < >>> > > > > > >> > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > > > > > >> > >>> > > > > > >> > > On Thu, 23 May 2013 14:26+0530, hrkesh sahu wrote: >>> > > > > > >> > > >>> > > > > > >> > > > Hi Trond, >>> > > > > > >> > > > Thanks a lot for your help and Ipv6 routing is >>> working with >>> > > > > FreeBSD >>> > > > > > >> OS. >>> > > > > > >> > > > we want to go for Ipv6 certification for our IPv6 >>> stack. >>> > > > > > >> > > > And Ipv6 stack we want to use FreeBSD as one vendor >>> router. >>> > > > > > >> > > > >>> > > > > > >> > > > Now It will be easy for IPv6 interoperability test >>> with >>> > > freeBSD. >>> > > > > > >> > > > >>> > > > > > >> > > > for Ipv6 interoperability test We need another route= r >>> device >>> > > > > and I >>> > > > > > >> am >>> > > > > > >> > > > planning use Ubuntu as IPv6 router. >>> > > > > > >> > > > >>> > > > > > >> > > > Please let me your personal view and if you can help >>> me on >>> > > > > this, it >>> > > > > > >> will >>> > > > > > >> > > be >>> > > > > > >> > > > grateful. >>> > > > > > >> > > > >>> > > > > > >> > > > How to enable gateway for IPv6 in Ubuntu? Router may >>> > > require to >>> > > > > do >>> > > > > > >> > > > send Neighbor advertisement for Host Neighbor >>> solicitation >>> > > . I >>> > > > > > >> > > > installed radvd in ubuntu. could you please share >>> > > radvd.conf of >>> > > > > > >> > > > ubuntu? >>> > > > > > >> > > >>> > > > > > >> > > Hmm. I'm not at all familiar with Ubuntu or any other >>> Linux >>> > > > > distro for >>> > > > > > >> > > that matter. I admit, I did try out Debian/amd64 7.0.0= a >>> > > couple of >>> > > > > > >> > > weeks ago, but I have far more experience with FreeBSD >>> than >>> > > > > anything >>> > > > > > >> > > else in the *nix world. >>> > > > > > >> > > >>> > > > > > >> > > Truth to be told, I regard most Linux distros as >>> inferior >>> > > > > compared to >>> > > > > > >> > > the *BSDs, due to the Linux distros forcing you to >>> install a >>> > > > > whole lot >>> > > > > > >> > > of bloat. It probably boils down to what level you are >>> on, be >>> > > it >>> > > > > Joe >>> > > > > > >> > > Public or someone with more experience when it comes t= o >>> > > computers >>> > > > > and >>> > > > > > >> > > operating systems. Maybe I'm just misinformed and ther= e >>> > > exists a >>> > > > > Linux >>> > > > > > >> > > distro or two letting the user/administrator chose wha= t >>> to >>> > > install >>> > > > > > >> > > rather well. >>> > > > > > >> > > >>> > > > > > >> > > > On Wed, May 22, 2013 at 7:53 PM, Trond Endrest=F8l < >>> > > > > > >> > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > > > > > >> > > > >>> > > > > > >> > > > > On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: >>> > > > > > >> > > > > >>> > > > > > >> > > > > > Hi Trond, >>> > > > > > >> > > > > > Thanks a lot for a clear reply. >>> > > > > > >> > > > > > Could you please tell me Laptop1 ipv6 >>> configuration >>> > > details? >>> > > > > > >> > > > > > as laptop auto configuration will generate the L= L >>> > > address >>> > > > > for a >>> > > > > > >> auto >>> > > > > > >> > > ipv6 >>> > > > > > >> > > > > > configuration. >>> > > > > > >> > > > > > For Interface rl0 ipv6 address >>> > > > > > >> > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1= 01 >>> > > prefixlen >>> > > > > 64" , >>> > > > > > >> > > > > > >>> > > > > > >> > > > > > what will be laptop ipv6 address? >>> > > > > > >> > > > > >>> > > > > > >> > > > > It depends solely on the operating system and >>> whether IPv6 >>> > > > > > >> privacy is >>> > > > > > >> > > > > in effect. >>> > > > > > >> > > > > >>> > > > > > >> > > > > Normally, the client will perform stateless >>> automatic >>> > > address >>> > > > > > >> > > > > configuration (SLAAC). It goes pretty much like >>> this: >>> > > > > > >> > > > > >>> > > > > > >> > > > > The router announces the 64 bit prefix, usually >>> every 200 >>> > > > > > >> seconds, but >>> > > > > > >> > > > > the client may request a new announcement at any >>> time. The >>> > > > > client >>> > > > > > >> > > > > generates a 64 bit interface identifier based on >>> its 48 >>> > > bit >>> > > > > MAC >>> > > > > > >> > > > > address. The client then concatenates the supplied >>> prefix >>> > > > > with the >>> > > > > > >> > > > > generated interface identifier. The client then >>> performs >>> > > > > duplicate >>> > > > > > >> > > > > address detection (DAD), and if everythings checks >>> out, >>> > > the >>> > > > > > >> client got >>> > > > > > >> > > > > its IPv6 address. >>> > > > > > >> > > > > >>> > > > > > >> > > > > Given this prefix fd8f:d6d0:e6e7:100::/64, and thi= s >>> MAC >>> > > > > address >>> > > > > > >> > > > > 50:e5:49:41:4d:70. >>> > > > > > >> > > > > >>> > > > > > >> > > > > The client would then generated this interface id: >>> > > > > > >> > > > > 52e5:49ff:fe41:4d70. >>> > > > > > >> > > > > >>> > > > > > >> > > > > The Universal/Local bit of the MAC address is >>> inverted, >>> > > and >>> > > > > FF:FE >>> > > > > > >> is >>> > > > > > >> > > > > placed at center. (It really ought to be FF:FF, bu= t >>> way >>> > > back >>> > > > > in >>> > > > > > >> time >>> > > > > > >> > > > > someone misread the IEEE standards regarding >>> conversion >>> > > from >>> > > > > 48 >>> > > > > > >> bit >>> > > > > > >> > > > > MAC addresses to EUI64 format. This oversight >>> doesn't >>> > > really >>> > > > > > >> matter.) >>> > > > > > >> > > > > >>> > > > > > >> > > > > The same client would then aqcuire this IPv6 >>> address: >>> > > > > > >> > > > > fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perfor= m >>> DAD. >>> > > > > > >> > > > > >>> > > > > > >> > > > > The client gets its IPv6 default route/gateway fro= m >>> the >>> > > router >>> > > > > > >> > > > > announcement. >>> > > > > > >> > > > > >>> > > > > > >> > > > > Of course, you may configure the IPv6 address and >>> gateway >>> > > > > > >> manually on >>> > > > > > >> > > > > the client, say fd8f:d6d0:e6e7:100::1337/64 >>> (client's >>> > > > > address) and >>> > > > > > >> > > > > fd8f:d6d0:e6e7:100::101 (gateway's address). >>> > > > > > >> > > > > >>> > > > > > >> > > > > > On Wed, May 22, 2013 at 6:54 PM, Trond Endrest= =F8l < >>> > > > > > >> > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > > > > > >> > > > > > >>> > > > > > >> > > > > > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu >>> wrote: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > > Hi Trond , >>> > > > > > >> > > > > > > > Thanks a lot. >>> > > > > > >> > > > > > > > Now i am able to ping to other network with >>> IPv4 >>> > > > > address. >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > For IPv6 I added these lines in rc.conf - >>> > > > > > >> > > > > > > > first I included - >>> > > > > > >> > > > > > > > ipv6_gateway_enable=3D"YES" >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > ++> Laptop1( Ipv6 address >>> fe80::224:7eff:fee0:6b51) >>> > > is >>> > > > > > >> connected >>> > > > > > >> > > to >>> > > > > > >> > > > > > > > interface rl0 ( ipv6 address - >>> > > fe80::21f:b5ff:fe48:9f73) >>> > > > > > >> > > > > > > > While doing ping6 from >>> "fe80::224:7eff:fee0:6b51" to >>> > > > > > >> > > > > > > > "fe80::21f:b5ff:fe48:9f73" - it is working. >>> Neighbor >>> > > > > > >> > > advertisement >>> > > > > > >> > > > > from >>> > > > > > >> > > > > > > > "fe80::21f:b5ff:fe48:9f73" is happening. >>> > > > > > >> > > > > > > > while doing from ping6 from >>> > > "fe80::224:7eff:fee0:6b51" >>> > > > > to >>> > > > > > >> other >>> > > > > > >> > > > > interface >>> > > > > > >> > > > > > > > "fe80::21f:d0ff:fe40:8bbd" , then there is n= o >>> > > Neighbor >>> > > > > > >> > > advertisement. >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > After this I included these two lines to >>> rc.conf - >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > rtadvd_enable=3D"YES" >>> > > > > > >> > > > > > > > rtadvd_interfaces=3D"rl0" >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > I have not created any file like >>> /etc/rtadvd.conf . >>> > > Do i >>> > > > > > >> need to >>> > > > > > >> > > > > create >>> > > > > > >> > > > > > > > this configuration file? >>> > > > > > >> > > > > > > > if yes, what should be the input to >>> rtadvd.conf for >>> > > > > link >>> > > > > > >> local >>> > > > > > >> > > > > address? >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > please find Ipv6 interface details. >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > Ifconfig >>> > > > > > >> > > > > > > > -------------------- >>> > > > > > >> > > > > > > > re0: flags=3D8843>> > > > > > >> > > > > > > > Running,Simplex,Multicast> Metric 0 mtu 1500 >>> > > > > > >> > > > > > > > options=3D8209b>> > > > > > >> > > > > > > > >>> > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> >>> > > > > > >> > > > > > > > ether 00:1f:d0:40:8b:bd >>> > > > > > >> > > > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen >>> 64 >>> > > scopeid >>> > > > > 0x5 >>> > > > > > >> > > > > > > > inet 192.168.200.101 netmask 0xffffff00 >>> > > > > broadcast >>> > > > > > >> > > > > 192.168.200.255 >>> > > > > > >> > > > > > > > nd6 options=3D21>> > > > > > >> > > > > > > > LINKLOCAL> >>> > > > > > >> > > > > > > > media:Enthernet autoselect (none) >>> > > > > > >> > > > > > > > status:active >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > rl0: flags=3D8843>> > > > > > >> > > > > > > > Running,Simplex,Multicast> Metric 0 mtu 1500 >>> > > > > > >> > > > > > > > options=3D2008 >>> > > > > > >> > > > > > > > ether 00:10:b5:48:9f:73 >>> > > > > > >> > > > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen >>> 64 >>> > > scopeid >>> > > > > 0xa >>> > > > > > >> > > > > > > > inet 192.168.100.101 netmask 0xffffff00 >>> > > > > broadcast >>> > > > > > >> > > > > 192.168.100.255 >>> > > > > > >> > > > > > > > nd6 options=3D21 >>> > > > > > >> > > > > > > > media:Enthernet autoselect (none) >>> > > > > > >> > > > > > > > status: active >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Congratz on achieving active carrier wave on >>> your >>> > > NICs. >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Right now your system is running with >>> link-local IPv6 >>> > > > > > >> addresses. >>> > > > > > >> > > You >>> > > > > > >> > > > > > > may view LL addresses as VLAN local. Packets t= o >>> such >>> > > > > > >> addresses will >>> > > > > > >> > > > > > > never ever be forwarded by a router. >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Instead set up either official IPv6 >>> addresses/subnets >>> > > or >>> > > > > > >> create >>> > > > > > >> > > your >>> > > > > > >> > > > > > > own Unique Local Addresses (ULA) as I wrote >>> previously >>> > > > > about. >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Augment your /etc/rc.conf file with, say: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100:= :101 >>> > > > > prefixlen 64" >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > You may assign the IPv6 address manually to >>> avoid >>> > > > > restarting >>> > > > > > >> the >>> > > > > > >> > > > > > > networking subsystem or the whole machine: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 >>> prefixlen >>> > > 64 >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Next, create /etc/rtadvd.conf with the followi= ng >>> > > contents: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > rl0:\ >>> > > > > > >> > > > > > > >>> :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > If you want IPv6 routing on the re0 interface, >>> you >>> > > need, >>> > > > > say >>> > > > > > >> this, >>> > > > > > >> > > in >>> > > > > > >> > > > > > > /etc/rc.conf: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200:= :1 >>> > > prefixlen >>> > > > > 64" >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Assign the IPv6 address manually using: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > ifconfig re0 inet6 fd44:13de:a366:200::1 >>> prefixlen 64 >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > And add this to /etc/rtadvd.conf: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > re0:\ >>> > > > > > >> > > > > > > >>> :addr=3D"fd44:13de:a366:200::":prefixlen#64: >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > You'll need to restart rtadvd by issuing >>> > > /etc/rc.d/rtadvd >>> > > > > > >> restart. >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > Happy hacking. >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > > > > Regards >>> > > > > > >> > > > > > > > Hrisikesh >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > On Wed, May 22, 2013 at 1:03 PM, Trond >>> Endrest=F8l < >>> > > > > > >> > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: >>> > > > > > >> > > > > > > > >>> > > > > > >> > > > > > > > > On Wed, 22 May 2013 12:38+0530, hrkesh sah= u >>> wrote: >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > > > > Hi , >>> > > > > > >> > > > > > > > > > Thanks a lot for this quick reply. >>> > > > > > >> > > > > > > > > > Sorry i missed the " in the end while >>> typing. >>> > > It's a >>> > > > > > >> typo. >>> > > > > > >> > > > > > > > > > I provided the ouput of " nestat -r " an= d >>> > > > > "ifconfig". >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > > netstat -r >>> > > > > > >> > > > > > > > > > -------------- >>> > > > > > >> > > > > > > > > > routing tables - >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > internet : >>> > > > > > >> > > > > > > > > > ----------- >>> > > > > > >> > > > > > > > > > destination Gateway >>> > > > > > >> > > > > > > > > > Flags Refs >>> > > > > > >> > > > > > > > > > Use Netif >>> Expire >>> > > > > > >> > > > > > > > > > default >>> 192.168.200.1 >>> > > > > > >> > > > > > > > > > UGS 0 >>> > > > > > >> > > > > > > > > > 0 re0 >>> > > > > > >> > > > > > > > > > localhost link#12 >>> > > > > > >> > > > > > > > > > UH 0 >>> > > > > > >> > > > > > > > > > 148 lo0 >>> > > > > > >> > > > > > > > > > 192.168.100.0 link#10 >>> > > > > > >> > > > > > > > > > U 0 >>> > > > > > >> > > > > > > > > > 0 rl0 >>> > > > > > >> > > > > > > > > > 192.168.100.101 link#10 >>> > > > > > >> UHS >>> > > > > > >> > > > > > > > > > 0 >>> > > > > > >> > > > > > > > > > 0 lo0 >>> > > > > > >> > > > > > > > > > 192.168.200.0 link#5 >>> > > > > > >> > > > > > > > > > U 0 >>> > > > > > >> > > > > > > > > > 0 re0 >>> > > > > > >> > > > > > > > > > 192.168.200.101 link#5 >>> > > > > > >> UHS >>> > > > > > >> > > > > > > > > > 0 >>> > > > > > >> > > > > > > > > > 0 lo0 >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > Internet6: >>> > > > > > >> > > > > > > > > > ------------------- >>> > > > > > >> > > > > > > > > > Ipv6 details >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > > Ifconfig >>> > > > > > >> > > > > > > > > > -------------------- >>> > > > > > >> > > > > > > > > > re0: >>> > > > > flags=3D8843 >>> > > > > > >> > > Metric 0 >>> > > > > > >> > > > > mtu >>> > > > > > >> > > > > > > 1500 >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > >>> > > > > > >> > > >>> > > > > > >> >>> > > > > >>> > > >>> options=3D8209b >>> > > > > > >> > > > > > > > > > ether 00:1f:d0:40:8b:bd >>> > > > > > >> > > > > > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 >>> prefixlen 64 >>> > > > > scopeid >>> > > > > > >> 0x5 >>> > > > > > >> > > > > > > > > > inet 192.168.200.101 netmask 0xffffff00 >>> > > > > > >> broadcast >>> > > > > > >> > > > > > > 192.168.200.255 >>> > > > > > >> > > > > > > > > > nd6 options=3D21 >>> > > > > > >> > > > > > > > > > media:Enthernet autoselect (none) >>> > > > > > >> > > > > > > > > > status: no carrier >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > rl0: >>> > > > > flags=3D8843 >>> > > > > > >> > > Metric 0 >>> > > > > > >> > > > > mtu >>> > > > > > >> > > > > > > 1500 >>> > > > > > >> > > > > > > > > > options=3D2008 >>> > > > > > >> > > > > > > > > > ether 00:10:b5:48:9f:73 >>> > > > > > >> > > > > > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 >>> prefixlen 64 >>> > > > > scopeid >>> > > > > > >> 0xa >>> > > > > > >> > > > > > > > > > inet 192.168.100.101 netmask 0xffffff00 >>> > > > > > >> broadcast >>> > > > > > >> > > > > > > 192.168.100.255 >>> > > > > > >> > > > > > > > > > nd6 options=3D21 >>> > > > > > >> > > > > > > > > > media:Enthernet autoselect (none) >>> > > > > > >> > > > > > > > > > status: no carrier >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > there is a plip0 and lo0. >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > > > Neither NIC is connected to any equipment, >>> e.g. >>> > > > > switch, >>> > > > > > >> hub, or >>> > > > > > >> > > > > > > > > computer (status: no carrier). Make sure >>> you can >>> > > use a >>> > > > > > >> straight >>> > > > > > >> > > > > > > > > network cable, else you'll need to get a >>> couple of >>> > > > > cross >>> > > > > > >> wired >>> > > > > > >> > > > > network >>> > > > > > >> > > > > > > > > cables and use those instead. >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > > > Next, confirm the sysctl >>> net.inet.ip.forwarding is >>> > > > > set to >>> > > > > > >> 1 by >>> > > > > > >> > > > > > > > > running the sysctl net.inet.ip.forwarding >>> command. >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > > > If not, you can set the sysctl to 1 by >>> running the >>> > > > > sysctl >>> > > > > > >> > > > > > > > > net.inet.ip.forwarding=3D1 command, and yo= u >>> probably >>> > > > > should >>> > > > > > >> > > inspect >>> > > > > > >> > > > > the >>> > > > > > >> > > > > > > > > /etc/rc.conf file one more time. >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > > > Once you connect the computer to the two >>> > > networks, the >>> > > > > > >> IPv4 >>> > > > > > >> > > routing >>> > > > > > >> > > > > > > > > should work. If not, come back. >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > > > > Regards >>> > > > > > >> > > > > > > > > > Hrisikesh >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond >>> > > Endrest=F8l < >>> > > > > > >> > > > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> >>> wrote: >>> > > > > > >> > > > > > > > > > >>> > > > > > >> > > > > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh >>> sahu >>> > > wrote: >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > Hi All, >>> > > > > > >> > > > > > > > > > > > IPv4 Routing - >>> > > > > > >> > > > > > > > > > > > ------------------------ >>> > > > > > >> > > > > > > > > > > > I disabled the DHCP from rc.conf for >>> both >>> > > the >>> > > > > > >> interface. >>> > > > > > >> > > but >>> > > > > > >> > > > > > > still I >>> > > > > > >> > > > > > > > > am >>> > > > > > >> > > > > > > > > > > not >>> > > > > > >> > > > > > > > > > > > able to route trafic from one >>> interface to >>> > > > > another. >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > rc.conf >>> > > > > > >> > > > > > > > > > > > --------------- >>> > > > > > >> > > > > > > > > > > > hostname=3D"idc-freebsd" >>> > > > > > >> > > > > > > > > > > > keymap=3D"hy.armscii-8.kbd" >>> > > > > > >> > > > > > > > > > > > #ifconfig_re0=3D"DHCP" >>> > > > > > >> > > > > > > > > > > > #ifconfig_rl0=3D"DHCP" >>> > > > > > >> > > > > > > > > > > > dumpdev=3D"NO" >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > ifconfig_rl0=3D"inet 192.168.100.101 >>> netmask >>> > > > > > >> 255.255.255.0 >>> > > > > > >> > > > > > > > > > > > ifconfig_re0=3D"inet 192.168.200.101 >>> netmask >>> > > > > > >> 255.255.255.0 >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > Are the two lines above copied straigh= t >>> from >>> > > your >>> > > > > > >> rc.conf >>> > > > > > >> > > file? >>> > > > > > >> > > > > > > > > > > If so, both lines are missing a " at >>> the end. >>> > > > > Please >>> > > > > > >> check >>> > > > > > >> > > to >>> > > > > > >> > > > > see >>> > > > > > >> > > > > > > if >>> > > > > > >> > > > > > > > > > > this is needed. >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > Next, the outputs of the ifconfig >>> command and >>> > > the >>> > > > > > >> netstat >>> > > > > > >> > > -r >>> > > > > > >> > > > > > > command >>> > > > > > >> > > > > > > > > > > should reveal something interesting. >>> Would you >>> > > > > please >>> > > > > > >> post >>> > > > > > >> > > the >>> > > > > > >> > > > > > > > > > > results from these two commands? >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > ipv6_activate_all_interfaces=3D"YES" >>> > > > > > >> > > > > > > > > > > > gateway_enable=3D"YES" >>> > > > > > >> > > > > > > > > > > > default_router=3D"192.168.200.1" >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > I am using FreeBSD - 9.1 Release >>> version >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > I need to communicate between two >>> different >>> > > > > subnets. >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > Am i missing anything to enable >>> freebsd as >>> > > > > router? >>> > > > > > >> > > > > > > > > > > > Do i need to add a route entry? >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > If possible could you please share >>> rc.conf >>> > > file >>> > > > > > >> with IPv4 >>> > > > > > >> > > > > > > routing? >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > Regards >>> > > > > > >> > > > > > > > > > > > Hrisikesh >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Tron= d >>> > > Endrest=F8l >>> > > > > < >>> > > > > > >> > > > > > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> >>> wrote: >>> > > > > > >> > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530, >>> hrkesh sahu >>> > > > > wrote: >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > > HI All, >>> > > > > > >> > > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > I have a FreeBSD 9.1 Release >>> installed >>> > > with >>> > > > > TWO >>> > > > > > >> NIC >>> > > > > > >> > > > > cards. I >>> > > > > > >> > > > > > > was >>> > > > > > >> > > > > > > > > > > trying >>> > > > > > >> > > > > > > > > > > > > to >>> > > > > > >> > > > > > > > > > > > > > make this FreeBSD machine as a >>> router . >>> > > > > > >> > > > > > > > > > > > > > This is my rc.conf >>> > > > > > >> > > > > > > > > > > > > > -------------------------------- >>> > > > > > >> > > > > > > > > > > > > > ifconfig_rl0 =3D "inet >>> 192.168.100.101 >>> > > netmask >>> > > > > > >> > > > > 255.255.255.0" >>> > > > > > >> > > > > > > > > > > > > > ifconfig_re0=3D"inet 192.168.200= .101 >>> > > netmask >>> > > > > > >> > > 255.255.255.0" >>> > > > > > >> > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > gateway_enable =3D "YES" >>> > > > > > >> > > > > > > > > > > > > > ifconfig_rl0 =3D "DHCP" >>> > > > > > >> > > > > > > > > > > > > > ifconfig_re0 =3D "DHCP" >>> > > > > > >> > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > defaultrouter =3D "192.168.100.1= " >>> > > > > > >> > > > > > > > > > > > > > ipv6_activate_all_interfaces =3D >>> "YES" >>> > > > > > >> > > > > > > > > > > > > > sshd_enable =3D "YES" >>> > > > > > >> > > > > > > > > > > > > > synchronous_dhclient=3D"YES" >>> > > > > > >> > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > Please help me to establish a IP= v4 >>> > > router. >>> > > > > > >> > > > > > > > > > > > > > Both the interfaces are connecte= d >>> to to >>> > > > > > >> different >>> > > > > > >> > > laptops >>> > > > > > >> > > > > > > with a >>> > > > > > >> > > > > > > > > > > static >>> > > > > > >> > > > > > > > > > > > > IP >>> > > > > > >> > > > > > > > > > > > > > address. >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > You should place a # in front of >>> the two >>> > > > > lines: >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > ifconfig_rl0 =3D "DHCP" >>> > > > > > >> > > > > > > > > > > > > > ifconfig_re0 =3D "DHCP" >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > Next, you probably shouldn't place >>> spaces >>> > > > > before >>> > > > > > >> and >>> > > > > > >> > > after >>> > > > > > >> > > > > the >>> > > > > > >> > > > > > > > > equal >>> > > > > > >> > > > > > > > > > > > > signs. >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > Laptop 1 =3D 192.168.100.102 ( >>> connected >>> > > to >>> > > > > > >> interface >>> > > > > > >> > > rl0) >>> > > > > > >> > > > > > > > > gateway - >>> > > > > > >> > > > > > > > > > > > > > 192.168.100.1 >>> > > > > > >> > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > Laptop 2 =3D 192.168.200.102 ( >>> connected >>> > > to >>> > > > > > >> interface >>> > > > > > >> > > re0) >>> > > > > > >> > > > > > > > > > > > > > ping from Laptop1 -> rl0 is >>> successful >>> > > > > > >> > > > > > > > > > > > > > but ping from Laptop1 -> re0 is >>> not >>> > > > > successful. >>> > > > > > >> > > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > > After this I want to know also >>> How to >>> > > make >>> > > > > this >>> > > > > > >> as >>> > > > > > >> > > IPv6 >>> > > > > > >> > > > > > > router? >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > See >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > >>> > > > > > >> > > >>> > > > > > >> >>> > > > > >>> > > >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.= html >>> > > > > > >> > > > > > > > > > > > > . >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > You probably should create a ULA >>> prefix or >>> > > > > two, >>> > > > > > >> and >>> > > > > > >> > > assign >>> > > > > > >> > > > > > > these to >>> > > > > > >> > > > > > > > > > > > > your router interfaces. >>> > > > > > >> > > > > http://www.sixxs.net/tools/grh/ula/might >>> > > > > > >> > > > > > > > > help >>> > > > > > >> > > > > > > > > > > > > you. >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > Something along these lines might >>> help you >>> > > > > achieve >>> > > > > > >> > > what you >>> > > > > > >> > > > > > > want: >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > ifconfig_rl0_ipv6=3D"inet6 >>> > > fd8f:d6d0:e6e7:100::1 >>> > > > > > >> > > prefixlen >>> > > > > > >> > > > > 64" >>> > > > > > >> > > > > > > > > > > > > ifconfig_re0_ipv6=3D"inet6 >>> > > fd44:13de:a366:200::1 >>> > > > > > >> > > prefixlen >>> > > > > > >> > > > > 64" >>> > > > > > >> > > > > > > > > > > > > ipv6_gateway_enable=3D"YES" >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > > > Finally you probably should >>> configure and >>> > > > > enable >>> > > > > > >> Router >>> > > > > > >> > > > > > > > > Advertisement >>> > > > > > >> > > > > > > > > > > > > and Host Auto Configuration as >>> explained >>> > > in >>> > > > > > >> section >>> > > > > > >> > > > > 32.11.6 of >>> > > > > > >> > > > > > > > > > > > > >>> > > > > > >> > > > > > > > > > > >>> > > > > > >> > > > > > > > > >>> > > > > > >> > > > > > > >>> > > > > > >> > > > > >>> > > > > > >> > > >>> > > > > > >> >>> > > > > >>> > > >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.= html >>> > > > > > >> > > > > > > > > > > > > . >>> >>> -- >>> +-------------------------------+------------------------------------+ >>> | Vennlig hilsen, | Best regards, | >>> | Trond Endrest=F8l, | Trond Endrest=F8l, = | >>> | IT-ansvarlig, | System administrator, | >>> | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, = | >>> | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | >>> | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | >>> +-------------------------------+------------------------------------+ >>> >> >> > From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 12:02:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BFD485BA for ; Thu, 13 Jun 2013 12:02:57 +0000 (UTC) (envelope-from lolox-freebsd@lolox.net) Received: from altenberg.lolox.net (unknown [IPv6:2001:41d0:2:17c5::]) by mx1.freebsd.org (Postfix) with ESMTP id 82F471938 for ; Thu, 13 Jun 2013 12:02:57 +0000 (UTC) Received: from altenberg.lolox.net (localhost [127.0.0.1]) by altenberg.lolox.net (Postfix) with ESMTP id EB99B7F419; Thu, 13 Jun 2013 14:02:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lolox.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=lolox; t=1371124962; bh=Lbn3hDONig5Xa5kmDKFDO/nzAkpURONVl+6I/2UNWbk=; b=W7o4HNPiT+OP zekvCIOpx9jnegHDhVZCDNbkvj7/cYLrF/sI2TfNwXfO4dXDEHahbaHUrq1dQLiv MaZp3G8/OXENvizkhfqc+ExAMWQi/StBUI+Pybo+aSu9Ecyd3T4kq0Mco1XS5d5C d2QZxQ2G9zd7qKup6MFsxmdXbC+wV0E= X-Virus-Scanned: Mailstorm at lolox.net Received: from altenberg.lolox.net ([127.0.0.1]) by altenberg.lolox.net (altenberg.lolox.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id NYPvQWTh78kQ; Thu, 13 Jun 2013 14:02:42 +0200 (CEST) Received: from orkher.lolox.net (ANancy-555-1-245-244.w90-33.abo.wanadoo.fr [90.33.141.244]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lolox@lolox.net) by altenberg.lolox.net (Postfix) with ESMTPSA id A62F97F3F4; Thu, 13 Jun 2013 14:02:41 +0200 (CEST) Message-ID: <51B9B4E5.6070209@lolox.net> Date: Thu, 13 Jun 2013 14:02:45 +0200 From: Loic Capdeville User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Darren Pilgrim Subject: Re: How to force a static /etc/resolv.conf? References: <51B91679.1070405@gmail.com> In-Reply-To: <51B91679.1070405@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 12:02:57 -0000 On 13/06/2013 02:46, Darren Pilgrim wrote: > I'm running 9.1. I run a local recursive resolver, so my > /etc/resolv.conf needs to remain static. I have DHCPv4, DHCPv6 and VPN > clients running which all want to modify /etc/resolv.conf. I have set > in /etc/resolvconf.conf: > > search_domains="example.com. example.net." > name_servers="2001:db8::53" > > But that only prepends that information. Search domains and nameservers > from other sources still get included. I can set /etc/resolv.conf as > immutable, but's a hack and it generates errors from resolveconf. > > How do I tell resolvconf to always use a static configuration or, better > yet, to not muck with /etc/resolv.conf at all? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Hi, You can configure it in your dhclient.conf file. Use the supersede keyword. For example, in your case add: supersede domain-search "example.com example.net" supersede domain-name-servers 2001:db8::53 to your /etc/dhclient.conf Loic From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 15:24:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F96553A for ; Thu, 13 Jun 2013 15:24:05 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 474B61210 for ; Thu, 13 Jun 2013 15:24:05 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id 9so11008931iec.19 for ; Thu, 13 Jun 2013 08:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=1NCgqpGyrHoMESPPbcnVUanE3IeJN8uQPJeQFkm6dKg=; b=EjNo+zwb6Yb5JkQkcQprrXsiY3GsbB0Ouk++Boy5Db3ywl17WcGvrz5h/HD+AkKGgL oIH6M7GyKb5/YoZTTn40uN7DyRJWlALoi3E296RxVhkmPIgBMsG38FO+pm2y6jHS8cAi T+V1AJ90yc5OlsoovtQIlWaK+xyr5oEXqm6h908jwa8AOItuJ30OGG8TM9Q61PaFT47Z S2TgzYF5s+KiBuvobL2yUqncP3/C8hy8gzgWfVpCWImEuibyqzy8BUVlq771od54twxM TkggTrAyGxLJ+lxuvIgwbkohHVZwoallh2/2A9KPVc40TG3b4xQ3rIGsQFDHK/PTls3F W00g== MIME-Version: 1.0 X-Received: by 10.50.98.104 with SMTP id eh8mr5729470igb.111.1371137044916; Thu, 13 Jun 2013 08:24:04 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.224.241 with HTTP; Thu, 13 Jun 2013 08:24:04 -0700 (PDT) Date: Thu, 13 Jun 2013 11:24:04 -0400 X-Google-Sender-Auth: W4JGaUyhowskmOBYwoifYh5L3Rc Message-ID: Subject: 8.4-RELEASE buildworld failure From: Rick Miller To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 15:24:05 -0000 Hi all, I checked out releng/8.4, executed buildworld, and received the following error. Wondering if someone might have experience with this scenario. ===> share/doc/psd/13.rcs/rcs_func (all) groff -Tascii -P-c -mtty-char -ms /usr/src/share/doc/psd/13.rcs/rcs_func/../../../../../gnu/usr.bin/rcs/doc/ rcs_func.ms | gzip -cn > rcs_func.ascii.gz ===> share/doc/psd/15.yacc (all) touch _stamp.extra make: don't know how to make ssA. Stop *** Error code 2 Stop in /usr/src/share/doc/psd. *** Error code 1 Stop in /usr/src/share/doc. *** Error code 1 Stop in /usr/src/share. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. There is no src.conf and make.conf only sets PERL_VERSION. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 16:35:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 47A4526A for ; Thu, 13 Jun 2013 16:35:59 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr004msr.fastwebnet.it (mr004msr.fastwebnet.it [85.18.95.67]) by mx1.freebsd.org (Postfix) with ESMTP id CFACD171D for ; Thu, 13 Jun 2013 16:35:58 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr004msr.fastwebnet.it (8.5.140.03) (authenticated as massimomorelli_015@fastwebnet.it) id 514997E3036E446A for freebsd-questions@freebsd.org; Thu, 13 Jun 2013 18:32:50 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id C595A7588D0; Thu, 13 Jun 2013 18:32:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [192.168.1.6] (unknown [10.10.10.8]) by server1.fuckaround.org (Postfix) with ESMTP id 1D8C47588CF for ; Thu, 13 Jun 2013 18:32:45 +0200 (CEST) Message-ID: <51B9F50C.8080001@fuckaround.org> Date: Thu, 13 Jun 2013 18:36:28 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: FreeBSD Questions Subject: mail from Charlie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 16:35:59 -0000 Hi all :-) I use 9.1... I don't known why, from yesterday I didn't received any mail from Charlie :-/ postfix runs perfectly and I don't known how investigate about this problem... Also portaudit should be send an email? thanks for help! Pol From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 18:53:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D07B843A for ; Thu, 13 Jun 2013 18:53:55 +0000 (UTC) (envelope-from darren.pilgrim@gmail.com) Received: from mail-pb0-x22c.google.com (mail-pb0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id AC7721DF0 for ; Thu, 13 Jun 2013 18:53:55 +0000 (UTC) Received: by mail-pb0-f44.google.com with SMTP id uo1so5941338pbc.3 for ; Thu, 13 Jun 2013 11:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=aQdcnB8FWou/pEmc3ysuipAmDnHVH49kmSj/bZz3H6c=; b=fK+rQe0IbAzYZ5ZCTrM+eN12L/2O2Rio1lkOPuIv5izg2bKzMm7cSJFSOuX/S4sk4v 5GAPI1IBXeMcY/3ltpOaIS74fEdh/001VCI4T/7WlG9CSF9bgN2/cMS2Ds5TzQkpJANe zjV5cYJuvx83ukNLfd/Gm0AdoN9idY6CUSWejcVhjkv++BbrYEGbcfUFMpeLm1SjrLP2 6NUDeBBCAaWgf4EUAMwAALQLb85VrCrkLndQGgt5A7qpL0FFqPmIuQuVwRp5o4ObmTpR mVlsPWhhmxMRCk/Efr7UZLgEIMz5wQaqT8v1N7iPKGTe48RUy8+OQndd8408i9raFNr/ oqLg== X-Received: by 10.66.5.168 with SMTP id t8mr4020420pat.196.1371149635474; Thu, 13 Jun 2013 11:53:55 -0700 (PDT) Received: from ?IPv6:2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5? ([2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5]) by mx.google.com with ESMTPSA id ig4sm24373690pbc.18.2013.06.13.11.53.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 11:53:54 -0700 (PDT) Message-ID: <51BA1543.9080906@gmail.com> Date: Thu, 13 Jun 2013 11:53:55 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Loic Capdeville Subject: Re: How to force a static /etc/resolv.conf? References: <51B91679.1070405@gmail.com> <51B9B4E5.6070209@lolox.net> In-Reply-To: <51B9B4E5.6070209@lolox.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 18:53:55 -0000 On 2013-06-13 05:02, Loic Capdeville wrote: > You can configure it in your dhclient.conf file. > Use the supersede keyword. > For example, in your case add: > > supersede domain-search "example.com example.net" > supersede domain-name-servers 2001:db8::53 That only addresses the DHCPv4 client. The DHCPv6 client doesn't have those options and neither do the VPN clients. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 19:06:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6DF04AC4 for ; Thu, 13 Jun 2013 19:06:39 +0000 (UTC) (envelope-from darren.pilgrim@gmail.com) Received: from mail-pb0-x236.google.com (mail-pb0-x236.google.com [IPv6:2607:f8b0:400e:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id 4AFAE1E6A for ; Thu, 13 Jun 2013 19:06:39 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id ro2so10680545pbb.27 for ; Thu, 13 Jun 2013 12:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=mzpMGj0QDtoCe63ekPmpbgu/NdvwX/W9azrOn7XMnww=; b=BwT3HdpqnOf9LYYhw8Nt7y84bOZywYbdVtbw0SUFoqxdA2IZAP0azLD/TGRGBNbzrw BmVs2q428eV++2OcK+PIIu1DHP2G2urdNR0jDNDmo4+c8T2Z+in2Vado2lFPgBcGjVr0 4w896ysCkv6OBurEsolOBNvyUH4nWBdRCn9aHKAX+t7zAHf6dYefQc1anCsE/6WjSjZ5 lpPpRzU11QdGsaD3LTK82oiPH4nHFBcRNLmrpEwZxhmAkuuwd2vu475y7o+P6n/W611v XpbdoUEW73NEToTG2BPVspOKATowLcDF/+timm1txw62JpQzb2lQw6mxvdX43MBLqBzv g1/Q== X-Received: by 10.68.232.67 with SMTP id tm3mr2112339pbc.204.1371150399123; Thu, 13 Jun 2013 12:06:39 -0700 (PDT) Received: from ?IPv6:2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5? ([2001:470:1f05:19b9:d8c0:1f3c:2a53:faa5]) by mx.google.com with ESMTPSA id iq2sm24406494pbb.19.2013.06.13.12.06.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 12:06:38 -0700 (PDT) Message-ID: <51BA183F.2030004@gmail.com> Date: Thu, 13 Jun 2013 12:06:39 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: How to force a static /etc/resolv.conf? References: <51B91679.1070405@gmail.com> In-Reply-To: <51B91679.1070405@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 19:06:39 -0000 On 2013-06-12 17:46, Darren Pilgrim wrote: > How do I tell resolvconf to always use a static configuration or, better > yet, to not muck with /etc/resolv.conf at all? According to the project developer, the answer is to have resolvconf not touch /etc/resolv.conf by put the following in /etc/resolvconf.conf resolv_conf="/dev/null" Then you just edit /etc/resolv.conf directly. From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 19:56:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BA3F5668 for ; Thu, 13 Jun 2013 19:56:03 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (mtumishi.cyberleo.net [216.226.128.201]) by mx1.freebsd.org (Postfix) with ESMTP id 3B86F1FFB for ; Thu, 13 Jun 2013 19:56:02 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [216.80.73.130]) by paka.cyberleo.net (Postfix) with ESMTPSA id 5F4F419DA65; Thu, 13 Jun 2013 15:46:43 -0400 (EDT) Message-ID: <51BA21A3.1070501@cyberleo.net> Date: Thu, 13 Jun 2013 14:46:43 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130410 Thunderbird/17.0.5 MIME-Version: 1.0 To: Pol Hallen Subject: Re: mail from Charlie References: <51B9F50C.8080001@fuckaround.org> In-Reply-To: <51B9F50C.8080001@fuckaround.org> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 19:56:03 -0000 On 06/13/2013 11:36 AM, Pol Hallen wrote: > Hi all :-) Wow: the combination of your domain name and the subject you chose really made this message look like spam. > I use 9.1... I don't known why, from yesterday I didn't received any > mail from Charlie :-/ Check that periodic has completed: sometimes it gets stuck when disks fail or filesystems disappear unexpectedly during a security scan or what have you, and the periodic process will hang around in ps forever. > postfix runs perfectly and I don't known how investigate about this > problem... Check the postfix mail log. I think it defaults to /var/log/maillog ; that will tell you if anything even attempted to send mail. Unless you changed the defaults, cron will kick off periodic daily at 03:00 local time. > Also portaudit should be send an email? This should be included in the security run email. > thanks for help! Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Thu Jun 13 23:01:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4527CC6D for ; Thu, 13 Jun 2013 23:01:10 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x235.google.com (mail-ie0-x235.google.com [IPv6:2607:f8b0:4001:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD7E1089 for ; Thu, 13 Jun 2013 23:01:10 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id x12so9418883ief.40 for ; Thu, 13 Jun 2013 16:01:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=WVF23K2fHf4nNZHJieSVodlhgH+5lCyqiTs5rlFzRPM=; b=nBTq6SphFb3yU+JnLTbnNmbNlXmvj5STw9hsn9N8FQWySGfmBwfCVhAWNDteZAfe2G HkBN7xh5TyvI3c4kewzhf2eAyR7DPm4vQk5+pFFbJhdcWDmDiuU9r9+n/n/cOwzKQJOc lI3QBgjf1/B2kuBfxBK1CfgqVW+I0h9TEwjPhIzIprVLsiRMY7VeCJYJZlyhRbdoqRPw HrUnBdwWOyfA0f5te+85Xmeg448J+JcAEi8JJLfmGI/5mWK6QAjCqpKdlhu0XiLzsHeV ylRwFHMuFyjaypByQcSui+bGDd88+n1bJmE+dKXUJgQ2xNhfLvJnMoxRb4Lvlr44O1Ap nsvw== X-Received: by 10.50.7.105 with SMTP id i9mr1230527iga.43.1371164469881; Thu, 13 Jun 2013 16:01:09 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id ct8sm25439432igb.7.2013.06.13.16.01.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 16:01:08 -0700 (PDT) Message-ID: <51BA4F33.4060607@gmail.com> Date: Thu, 13 Jun 2013 18:01:07 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: mail from Charlie References: <51B9F50C.8080001@fuckaround.org> In-Reply-To: <51B9F50C.8080001@fuckaround.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 23:01:10 -0000 The name Charlie is for Charlie Root, i.e. root. Generally it will just be cron messages, unless you get hacked and someone's nice. On 6/13/2013 11:36 AM, Pol Hallen wrote: > Hi all :-) > > I use 9.1... I don't known why, from yesterday I didn't received any > mail from Charlie :-/ > > postfix runs perfectly and I don't known how investigate about this > problem... > > Also portaudit should be send an email? > > thanks for help! > > Pol > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 07:35:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 755E014B for ; Fri, 14 Jun 2013 07:35:15 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 2440318CA for ; Fri, 14 Jun 2013 07:35:13 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 7DF37FEBD4; Fri, 14 Jun 2013 14:35:06 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1371195306; x= 1373009707; bh=rZJC/oyuMMtREjfyQizaVxxvMlALx5Aq3s3j50y2En8=; b=L 3fYv2Gl/iBRl26Q0/6CCktXobb/h+MMzi6wiSGG91fynFycdI9fZdnN3ev911veu tJKUkmYOaEtwGbw8VmhcoE3MrHQ5jwVUqQL+8fhVXXwhOhDEoLI3xQAszs/QTdDp rz5PGgpAFdHKcxfpzO2RD/KsR+G/7jaEKew3Z4uhFM= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id r3MrTmQ2g8E5; Fri, 14 Jun 2013 14:35:06 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 3E430FEBBB; Fri, 14 Jun 2013 14:35:06 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r5E7Z51E046339; Fri, 14 Jun 2013 14:35:05 +0700 (ICT) (envelope-from on) Date: Fri, 14 Jun 2013 14:35:05 +0700 (ICT) Message-Id: <201306140735.r5E7Z51E046339@banyan.cs.ait.ac.th> From: Olivier Nicole CC: freebsd-questions@freebsd.org In-reply-to: <201306110800.r5B80wsG018613@banyan.cs.ait.ac.th> (message from Olivier Nicole on Tue, 11 Jun 2013 15:00:58 +0700 (ICT)) Subject: Re: Cannot make open-vm-tools on 9.1 References: <201306110800.r5B80wsG018613@banyan.cs.ait.ac.th> to: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 07:35:15 -0000 Hi, > I have a strange thin happening to me. I upgraded two machines from > 8.3 to 9.1: > > FreeBSD sysl2.cs.ait.ac.th 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #3: Fri May 31 > 14:59:20 ICT 2013 root@fbsd63:/usr/obj/usr/src/sys/GENERIC i386 > > I did both upgrade in parallel. > > On the first machine, I managed to intall open-vm-tools-nox11: > > open-vm-tools-nox11-425873_3,1 Open VMware tools for FreeBSD VMware guests > > but when I try to install it on the second machine, I have a compile > error (see below). > > Now I try to rebuild open-vm-tools on the first machine and I get the > same compile error. Replying to myself, I know. After spending 3 days trying to work out the problem (and installing a couple of other systems without problems), I decided to re-try an OS installation. I relaunched a cvsup to download the OS source and was surprised to see that a number of files were checked-out (which should not happen as I am using RELENG). So I suspect that my previous cvsup was interruped some how. After a make buildworld, kernel and installworld, everything is fine. Now I am puzzeled that the OS managed to build from incomplete sources and that the machine was sable. Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 10:16:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3E653620 for ; Fri, 14 Jun 2013 10:16:54 +0000 (UTC) (envelope-from kaltheat@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.103]) by mx1.freebsd.org (Postfix) with ESMTP id 159C41660 for ; Fri, 14 Jun 2013 10:16:54 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:subject:message-id:mime-version:content-type:user-agent:sender; b=NRXOvjekIMA44JMe/dSRaLMU7kyKwou8yWL9H5sX0KurSZqRMkJwDJLnesSZJ+G0jy6a5CDNfIY9 14VkzB+lssqSrjeHEx+FDSIQKzsehRiEZPLoJvinGNMZUn7+o2Gc Received: from sol (210-156-103-86.dynamic.dsl.tng.de [86.103.156.210]) by mx.zohomail.com with SMTPS id 1371203935568470.4584619099671; Fri, 14 Jun 2013 02:58:55 -0700 (PDT) Date: Fri, 14 Jun 2013 11:58:47 +0200 From: kaltheat@googlemail.com To: freebsd-questions@freebsd.org, perl@FreeBSD.org, python@FreeBSD.org Subject: perl threaded, python threaded Message-ID: <20130614095837.GA2047@sol> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: kaltheat@zoho.com X-ZohoMailClient: External X-Zoho-Virus-Status: 2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 10:16:54 -0000 Hi, could anyone tell me why it is obviously that difficult to get perl or python working with threaded support? Each time I tested to use threaded feature in perl or python on different machines with different FreeBSD-versions something went wrong. When I switched back everything compiled smoothly. Maybe this was already discussed somewhere. Then please give me the link. Regards, kaltheat From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 11:01:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D3ADDA27 for ; Fri, 14 Jun 2013 11:01:42 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward6l.mail.yandex.net (forward6l.mail.yandex.net [IPv6:2a02:6b8:0:1819::6]) by mx1.freebsd.org (Postfix) with ESMTP id 9AC081101 for ; Fri, 14 Jun 2013 11:01:42 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward6l.mail.yandex.net (Yandex) with ESMTP id 449BA14E0EEC for ; Fri, 14 Jun 2013 14:20:01 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 058051700059 for ; Fri, 14 Jun 2013 14:20:00 +0400 (MSK) Received: from 87.249.28.58.tel.ru (87.249.28.58.tel.ru [87.249.28.58]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id nFMZN7iPea-K084KGQb; Fri, 14 Jun 2013 14:20:00 +0400 Message-ID: <51BAEE50.3090104@passap.ru> Date: Fri, 14 Jun 2013 14:20:00 +0400 From: Boris Samorodov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130518 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 8.4-RELEASE buildworld failure References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 11:01:42 -0000 13.06.2013 19:24, Rick Miller пишет: > Hi all, > > I checked out releng/8.4, executed buildworld, and received the following > error. Wondering if someone might have experience with this scenario. Is it persistent? I.e. what if you remove /usr/obj and start once again? > ===> share/doc/psd/13.rcs/rcs_func (all) > groff -Tascii -P-c -mtty-char -ms > /usr/src/share/doc/psd/13.rcs/rcs_func/../../../../../gnu/usr.bin/rcs/doc/ > rcs_func.ms | gzip -cn > rcs_func.ascii.gz > ===> share/doc/psd/15.yacc (all) > touch _stamp.extra > make: don't know how to make ssA. Stop Is the processor over heating? Can you play with RAM? (toggle banks or else) > There is no src.conf and make.conf only sets PERL_VERSION. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 11:31:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A84C21E9 for ; Fri, 14 Jun 2013 11:31:12 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by mx1.freebsd.org (Postfix) with ESMTP id 4890316E4 for ; Fri, 14 Jun 2013 11:31:12 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id c10so195853wiw.7 for ; Fri, 14 Jun 2013 04:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=kQdtfC2aq/EFVw+lv4X30F/laTeWv/z22ep3GEFUajo=; b=BgSkWBsOK3UZ71fjNLiNz7GDBiP1ZqOGNa5+2rpXEjqsqTdS8O+mBPtofA2k+p5sZw pNRJo7HSLZbEfAJPT8pDe4Sa3SGJT3gp9oAwQkKpz/gOHinhxAAswZ3B7Pcu9bLLxfqD 8+qgC3RN/fgluNi55SPfa4zXW6ZOKpkgFFztCeQkYN+nrquKsA3dvbnVxcI3fNvAv80C nJvfCs6EwGyT/Sh773x3ZhTNCR5prX4Jv3Z0lIKza+ampF+NceJSWUUXk9IHU4xNj9UR fZRh0FD1JEA/+DatXAJyA/UWzdgwgnXkcYur0g2oJtP12hE9eiOEXyfDSIIsHgNv1ln5 /KYw== MIME-Version: 1.0 X-Received: by 10.194.158.69 with SMTP id ws5mr989014wjb.84.1371205584625; Fri, 14 Jun 2013 03:26:24 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Fri, 14 Jun 2013 03:26:24 -0700 (PDT) Date: Fri, 14 Jun 2013 10:26:24 +0000 Message-ID: Subject: Daily periodic cronjob generates core dump From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 11:31:12 -0000 Hi all, I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I am receiving in security output this message: fbsd.domain.local kernel log messages: +++ /tmp/security.AT1oDecp 2013-06-14 03:02:10.000000000 +0000 +pid 75930 (try), uid 0: exited on signal 10 (core dumped) pid 76241 +(try), uid 0: exited on signal 10 (core dumped) How can I detect where is the problem?? Thanks. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 11:42:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DE3467B6 for ; Fri, 14 Jun 2013 11:42:18 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id A9BF217D4 for ; Fri, 14 Jun 2013 11:42:18 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=E430+8tl c=1 sm=0 tr=0 a=nVny9ETX7T5uMhI2oTVyRA==:117 a=0D2pXeyUWBcA:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=xgBAK-KllbwA:10 a=q_Tv-3MxrCp8mhV9FOQA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.193.164 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.193.164] ([209.6.193.164:23627] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 71/4B-23718-3910BB15; Fri, 14 Jun 2013 07:42:11 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20923.402.519688.186493@jerusalem.litteratus.org> Date: Fri, 14 Jun 2013 07:42:10 -0400 To: "C. L. Martinez" Subject: Daily periodic cronjob generates core dump In-Reply-To: References: X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 11:42:18 -0000 C. L. Martinez writes: > I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I > am receiving in security output this message: > > fbsd.domain.local kernel log messages: > > +++ /tmp/security.AT1oDecp 2013-06-14 03:02:10.000000000 +0000 > > +pid 75930 (try), uid 0: exited on signal 10 (core dumped) pid 76241 > > +(try), uid 0: exited on signal 10 (core dumped) > > How can I detect where is the problem?? Have you added anything to the default system crontab? Are there any user crontabs? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 12:01:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 481A997E for ; Fri, 14 Jun 2013 12:01:23 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id D9D821A30 for ; Fri, 14 Jun 2013 12:01:22 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id z11so412813wgg.34 for ; Fri, 14 Jun 2013 05:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=09xkcics9QuOPbhqtQa2X+7TRGoFGM/+EBq9vasHmlE=; b=wgikv/so0oyPhv0rlry3ZVZ+IEaUD6lIK1j5T+u23qL7rg70AzwVFFKMR/ZehTcJur UYRNIONuhp9zhxClnQk7DqAvbCG/55Lf0tNBvF5+bFJObJQNwzmI6rvsEuv0fxDozJNu FQiLlJXWFeDkABPLClfj0RGpTdWy6raxPQOFx7wodrmj0iZx80Dw9JCAkFMmkhuDXI9G ygT6AVf1JaYlZdtC5BfHy4kdC0+6tFCPaWNBySXhd7f93eOp8+QCx3pW90HRY6ApCdqj ZI6776TLANx+72sffbQFt179AGY/R47HpIQ4PjaJOg5Aj4jsI+5S4nxxKTNcGncLvTWH wHtg== MIME-Version: 1.0 X-Received: by 10.194.158.69 with SMTP id ws5mr1205799wjb.84.1371211282042; Fri, 14 Jun 2013 05:01:22 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Fri, 14 Jun 2013 05:01:21 -0700 (PDT) In-Reply-To: <20923.402.519688.186493@jerusalem.litteratus.org> References: <20923.402.519688.186493@jerusalem.litteratus.org> Date: Fri, 14 Jun 2013 12:01:21 +0000 Message-ID: Subject: Re: Daily periodic cronjob generates core dump From: "C. L. Martinez" To: Robert Huff Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 12:01:23 -0000 On Fri, Jun 14, 2013 at 11:42 AM, Robert Huff wrote: > > C. L. Martinez writes: > >> I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I >> am receiving in security output this message: >> >> fbsd.domain.local kernel log messages: >> >> +++ /tmp/security.AT1oDecp 2013-06-14 03:02:10.000000000 +0000 >> >> +pid 75930 (try), uid 0: exited on signal 10 (core dumped) pid 76241 >> >> +(try), uid 0: exited on signal 10 (core dumped) >> >> How can I detect where is the problem?? > > Have you added anything to the default system crontab? Are > there any user crontabs? > > > Robert Huff > I have added a script to rebuild packages every week with poudriere: # /etc/crontab - root's crontab for FreeBSD # # $FreeBSD: release/9.1.0/etc/crontab 194170 2009-06-14 06:37:19Z brian $ # SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin # #minute hour mday month wday who command # */5 * * * * root /usr/libexec/atrun # # Save some entropy so that /dev/random can re-seed on boot. */11 * * * * operator /usr/libexec/save-entropy # # Rotate log files every hour, if necessary. 0 * * * * root newsyslog # # Perform daily/weekly/monthly maintenance. 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly # # Adjust the time zone if the CMOS clock keeps local time, as opposed to # UTC time. See adjkerntz(8) for details. 1,31 0-5 * * * root adjkerntz -a # # Rebuild all necessary packages for SIEM infrastructure 35 23 * * 4 root /root/bin/build_pkgs all From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 12:17:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A6827E2C for ; Fri, 14 Jun 2013 12:17:22 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id 71A1A1B84 for ; Fri, 14 Jun 2013 12:17:22 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=YPiml32x c=1 sm=0 tr=0 a=nVny9ETX7T5uMhI2oTVyRA==:117 a=Ovugjcri_sUA:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=Gj_dCsvP1eIA:10 a=hkBIT6CdrgAZR1Ye3FMA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp02.rcn.cmh.synacor.com: 209.6.193.164 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.193.164] ([209.6.193.164:29473] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 68/97-05813-0D90BB15; Fri, 14 Jun 2013 08:17:21 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20923.2512.121929.931853@jerusalem.litteratus.org> Date: Fri, 14 Jun 2013 08:17:20 -0400 To: "C. L. Martinez" Subject: Re: Daily periodic cronjob generates core dump In-Reply-To: References: <20923.402.519688.186493@jerusalem.litteratus.org> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: Robert Huff , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 12:17:22 -0000 C. L. Martinez writes: > > Have you added anything to the default system crontab? Are > > I have added a script to rebuild packages every week with poudriere: And if you comment that out? Robert Huff From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 12:26:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 52728236 for ; Fri, 14 Jun 2013 12:26:17 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-we0-x22a.google.com (mail-we0-x22a.google.com [IPv6:2a00:1450:400c:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id E360C1C27 for ; Fri, 14 Jun 2013 12:26:16 +0000 (UTC) Received: by mail-we0-f170.google.com with SMTP id w57so446623wes.1 for ; Fri, 14 Jun 2013 05:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=szV6LQcXX+0mXdc6Zm1FFy4nJYDgDAm1sBKFfsYuG8M=; b=0L01Q31hZMT4PJu2fmZ/z94Gs8wy5eH3tMd1UbYOWOXmWlvYxJLtJ/+MKmdho9TFkA UYZv82JmeRkNaQJgLAtp8+blwT3DyCmepcPNHwKKFVsiOOKyWsujIK0n6L43r3D6L2+R 9VdlMxjqj8XnB3zHoIVcDaY4MLQ8+oQGzTcn25qDcQ+ouq8upaAAXj2ibi7/g21yqPda esAF/GvnnmK9halZpa8Fay3+NvXspB9C8DVV+LzMq1UIZIwvLxQjcnGpkS0a2S5t+R9L rdjKf99io2YKkgy654mx7vbElgmDhqrJ2Gro8Uh5VFTE96eOiYR7AxlfGvI4CZ9AQ8cS LlLw== MIME-Version: 1.0 X-Received: by 10.194.158.69 with SMTP id ws5mr1272342wjb.84.1371212776164; Fri, 14 Jun 2013 05:26:16 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Fri, 14 Jun 2013 05:26:16 -0700 (PDT) In-Reply-To: <20923.2512.121929.931853@jerusalem.litteratus.org> References: <20923.402.519688.186493@jerusalem.litteratus.org> <20923.2512.121929.931853@jerusalem.litteratus.org> Date: Fri, 14 Jun 2013 12:26:16 +0000 Message-ID: Subject: Re: Daily periodic cronjob generates core dump From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 12:26:17 -0000 On Fri, Jun 14, 2013 at 12:17 PM, Robert Huff wrote: > > C. L. Martinez writes: > >> > Have you added anything to the default system crontab? Are >> >> I have added a script to rebuild packages every week with poudriere: > > And if you comment that out? > > > Robert Huff > Uhmm .. I will try it ... but for what reason?? From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 12:30:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0E4B4481 for ; Fri, 14 Jun 2013 12:30:45 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id CDCD81C5D for ; Fri, 14 Jun 2013 12:30:44 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j1so591331oag.18 for ; Fri, 14 Jun 2013 05:30:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=0FgUz1Dpc1zqZsaxhSfU7Si0RjtHk+k+m8XkWasenBM=; b=ThABsey0Lo/Vn0wn/LLwCEvHaswVNQCLsEvMjFZ0D7S8jPL6VHaZiLDycQNuoVoqeo rRk7YaJbyr3uBdQ7sbVfbjCjkSdeS8HBUa0sR5xNnYUThqSf6RieDHVhR7oM2b7o/UJk vHXfptkmpZpsNicIQd+eBiPqipCWZx1tp7922ZNxHUhBEqIVtheM92dOkHRb6xQMSL/a yR8fVVxymr0DH81u3va5f2bj3ASj0HstdslUmHtjSnbBSlhmz4chJL/RyDhaJA7u/pe/ 518Lw7q+w8kpMWPPCKdsTCNvUqDGCcSkhULbkvrs8k1CTM2LfbdNnpJvlw7Sk0knhYj1 C70g== MIME-Version: 1.0 X-Received: by 10.60.132.146 with SMTP id ou18mr1287595oeb.36.1371213044487; Fri, 14 Jun 2013 05:30:44 -0700 (PDT) Received: by 10.182.216.40 with HTTP; Fri, 14 Jun 2013 05:30:44 -0700 (PDT) X-Originating-IP: [59.167.133.100] In-Reply-To: References: <20923.402.519688.186493@jerusalem.litteratus.org> <20923.2512.121929.931853@jerusalem.litteratus.org> Date: Fri, 14 Jun 2013 22:30:44 +1000 Message-ID: Subject: Re: Daily periodic cronjob generates core dump From: Jason Birch To: "C. L. Martinez" X-Gm-Message-State: ALoCoQmjhJ/O5y9MWoN8lx3k9XY7ycW9h66Y0KU5YxTkb8FUGCXC9YB0hsiBtqFvCwhbpopGVq7Q Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 12:30:45 -0000 > > > Uhmm .. I will try it ... but for what reason?? > > It would be nice to see if anything else in the crontab might be causing it. You can also run `periodic security` as root and see if it manfiests the same way. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 12:47:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1A397933 for ; Fri, 14 Jun 2013 12:47:06 +0000 (UTC) (envelope-from carlopmart@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by mx1.freebsd.org (Postfix) with ESMTP id AA62E1D0A for ; Fri, 14 Jun 2013 12:47:05 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id c10so265110wiw.7 for ; Fri, 14 Jun 2013 05:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qMGboz1Su89lxXdQl2rBSYMx/YnHNSYi7Dm7/2rDs/U=; b=pX6BEwOIxBt+cZZFvilmE/C5zIVV8xtx/3NdrFJ8EBYhykIQymhnmVdBCh4EUH6WSH 7mmBKDlNkb+1k5D10JrbIgWe0fkU8e/5XiQhR0BExxOz4bQpIIVzPYo9i8wYmq2FAdo6 aotovoGQif1d9KnIoZGSSHqR7vtzVWEuSxASVmHEV+WMs3PEbxE23iSXM/TkTsY8aVqx H1Lmd3zs1ZvSEnPDQ2CsalAI1855uSdxQ3FEGnYWks/BYPMQ5HZS4MyHhnWGTmjQ4nGM tMCWqxAzQMHJ+jTDMVGT3Wui3p7qnY1H4qjsuhBYdREpKHvQX/79RfQGym6wkkoepfV3 sg6w== MIME-Version: 1.0 X-Received: by 10.180.74.10 with SMTP id p10mr1274253wiv.39.1371214024906; Fri, 14 Jun 2013 05:47:04 -0700 (PDT) Received: by 10.194.76.178 with HTTP; Fri, 14 Jun 2013 05:47:04 -0700 (PDT) In-Reply-To: References: <20923.402.519688.186493@jerusalem.litteratus.org> <20923.2512.121929.931853@jerusalem.litteratus.org> Date: Fri, 14 Jun 2013 12:47:04 +0000 Message-ID: Subject: Re: Daily periodic cronjob generates core dump From: "C. L. Martinez" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 12:47:06 -0000 On Fri, Jun 14, 2013 at 12:30 PM, Jason Birch wrote: >> >> Uhmm .. I will try it ... but for what reason?? >> > It would be nice to see if anything else in the crontab might be causing > it. > > You can also run `periodic security` as root and see if it manfiests the > same way. Running from console, no problem: root@fbsd:~ # periodic security Checking setuid files and devices: Checking negative group permissions: Checking for uids of 0: root 0 toor 0 Checking for passwordless accounts: Checking login.conf permissions: Checking for ports with mismatched checksums: fbsd.domain.local pf denied packets: +++ /tmp/security.NiYRT5WC 2013-06-14 12:44:34.000000000 +0000 +block drop in log quick on ! lo0 inet from 127.0.0.0/8 to any [ Evaluations: 166898 Packets: 0 Bytes: 0 States: 0 ] +block drop in log quick on ! em0 inet from 172.16.0.0/24 to any [ Evaluations: 132328 Packets: 0 Bytes: 0 States: 0 ] +block drop in log quick inet from 172.16.0.109 to any [ Evaluations: 132328 Packets: 0 Bytes: 0 States: 0 ] +block drop in log quick on ! lo0 inet6 from ::1 to any [ Evaluations: 132328 Packets: 0 Bytes: 0 States: 0 ] +block drop in log all [ Evaluations: 132328 Packets: 128574 Bytes: 12252183 States: 0 ] +block drop in log quick from to any [ Evaluations: 132328 Packets: 0 Bytes: 0 States: 0 ] +block drop out log quick from any to [ Evaluations: 166898 Packets: 0 Bytes: 0 States: 0 ] fbsd.domain.local login failures: fbsd.domain.local refused connections: -- End of security output -- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 14:04:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 75264501 for ; Fri, 14 Jun 2013 14:04:36 +0000 (UTC) (envelope-from prvs=8701fbe03=a@jenisch.at) Received: from mgaterz1.oekb.co.at (mgaterz1.oekb.co.at [143.245.5.111]) by mx1.freebsd.org (Postfix) with ESMTP id 0BB8E111F for ; Fri, 14 Jun 2013 14:04:35 +0000 (UTC) Received: from exchhubcas1.oekb.co.at ([143.245.3.64]) by mgaterz1.oekb.co.at with ESMTP/TLS/AES128-SHA; 14 Jun 2013 16:03:26 +0200 Received: from aurora.oekb.co.at (143.245.9.16) by internal-relay-exchhubcas1.oekb.co.at (143.245.3.65) with Microsoft SMTP Server id 14.2.318.4; Fri, 14 Jun 2013 16:03:26 +0200 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.7/8.14.7) with ESMTP id r5EE3Pu7002606; Fri, 14 Jun 2013 16:03:25 +0200 (CEST) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.7/8.14.7/Submit) id r5EE3PkJ002605; Fri, 14 Jun 2013 16:03:25 +0200 (CEST) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Fri, 14 Jun 2013 16:03:25 +0200 From: Ewald Jenisch To: Shane Ambler Subject: Re: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5 Message-ID: <20130614140325.GA2551@aurora.oekb.co.at> References: <20130606141104.GA1261@aurora.oekb.co.at> <51B13325.6060404@ShaneWare.Biz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <51B13325.6060404@ShaneWare.Biz> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 14:04:36 -0000 On Fri, Jun 07, 2013 at 10:41:01AM +0930, Shane Ambler wrote: > Just guessing from what I see - > > The panic is "No usable event timer found!" > > . Hi Shane, Thanks much for the hints you sent me. Since I'm pretty swamped with work it took me a couple of days before I could go on with my tests. > Can you boot into single user mode? Nope - freezes at the exact same point during boot. > what does sysctl kern.eventtimer.choice show? Well - nothing to be honest: "variable 'kern.eventtimer.choice' not found" > Have you tried kern.eventtimer.periodic=0 or other values for > kern.eventtimer.timer? With "kern.eventtimer.periodic=0" - same result. What other values would be valid for "kern.eventtimer.timer"? > Is the panic the same without the loader adjustments? Yes, absolutely the same. > Does it boot 8.3 ? Haven't tried this, since I need to go to 9.1 on this system anyway. Besides that the server is in a remote DC so changing disks is not an easy thing to do. -ewald From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 15:16:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A3BCFAFA for ; Fri, 14 Jun 2013 15:16:45 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7F818160F for ; Fri, 14 Jun 2013 15:16:45 +0000 (UTC) Received: from 66-189-39-69.dhcp.oxfr.ma.charter.com ([66.189.39.69] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1UnVIb-000HDI-42; Fri, 14 Jun 2013 10:48:23 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id 902C720E6C19; Fri, 14 Jun 2013 10:48:20 -0400 (EDT) Message-ID: <51BB2D33.5030109@FreeBSD.org> Date: Fri, 14 Jun 2013 10:48:19 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "C. L. Martinez" References: In-Reply-To: X-Enigmail-Version: 1.5.1 X-SA-Exim-Connect-IP: 66.189.39.69 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP,URIBL_BLOCKED autolearn=no version=3.3.1 Subject: Re: Daily periodic cronjob generates core dump Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 15:16:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/14/13 6:26 AM, C. L. Martinez wrote: > Hi all, > > I have a FreeBSD 9.1 host (fully patched) with ZFS. Every day I am > receiving in security output this message: > > fbsd.domain.local kernel log messages: > > +++ /tmp/security.AT1oDecp 2013-06-14 03:02:10.000000000 +0000 > > +pid 75930 (try), uid 0: exited on signal 10 (core dumped) pid > 76241 > > +(try), uid 0: exited on signal 10 (core dumped) > > How can I detect where is the problem?? > > Thanks. You can safely ignore this message, as it's generated by autotools when you are building your packages with poudriere. See: http://lists.freebsd.org/pipermail/freebsd-questions/2010-February/213026.html Also check section 12.11.3 on this page for more details on suppressing the message: http://www.freebsd.org/doc/en/books/handbook/configtuning-configfiles.html Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlG7LTMACgkQ0sRouByUApA/2ACeJ3lHSmx8/AyNMVHMJeesQ9nh nxgAn0S4nMRCKzTGrMAt8Z+lJsH8hMiT =NVU9 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 16:13:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3266E35F for ; Fri, 14 Jun 2013 16:13:44 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 03BFB18F2 for ; Fri, 14 Jun 2013 16:13:44 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3bX6Lt24fTz1DQJ for ; Fri, 14 Jun 2013 12:13:42 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3bX6Ls2mjcz1nZ2 for ; Fri, 14 Jun 2013 12:13:41 -0400 (EDT) Message-ID: <201306141213340281.009F8EE9@smtp.24cl.home> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Fri, 14 Jun 2013 12:13:34 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: Setting a lcoale globally Content-Type: text/plain; charset="ISO-8859-1" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 16:13:44 -0000 I would like to set the locale of my 9.1 server to LANG="en_US.ISO8859-1" globally, i.e., put the locale entry in one file, and then have the locale propagate as I go into other shells and run various scripts. I have spent some quality time with google, and the best I have been about to ascertain is that I need to sprinkle the LANG setting throughout the various ENV variables and .profile, .cshrc, .bashrc, and whatever files spread across my directory tree. That really seems counter-intuitive to me. Is it at all possible for me to specify in once place *somewhere" that the entire server is to use the locale setting LANG="en_US.ISO8859-1" ? I need a clue... thanks. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 17:01:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A614B79 for ; Fri, 14 Jun 2013 17:01:56 +0000 (UTC) (envelope-from signup-mc.us6_14035787.22889-freebsd-questions=freebsd.org@mail3.mcsignup.com) Received: from mail3.mcsignup.com (mail3.mcsignup.com [173.231.184.51]) by mx1.freebsd.org (Postfix) with ESMTP id EFEF81C15 for ; Fri, 14 Jun 2013 17:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=mail3.mcsignup.com; h=Sender:From:To:Subject:Date:Content-Type:MIME-Version:Message-ID; i=signup-mc.us6_14035787.22889-freebsd-questions=3Dfreebsd.org@mail3.mcsignup.com; bh=F/XHt5pBy463H4HaMsnirtIqnOE=; b=Kw0nEd4yfjVonwSJiucsTl6FgExLlpetzI+oZ5DF9XHGCa2BWk+THMcoJv9gzNp1exj8XQNCmHYh QwVGhGMTI6W0EljAEnWnuRY1tdMEd+G3qLBoLSx1a290chH2U/gduPAmASaXZ4kbBnzmpga0F8jK Xpo6pJdYXnqAdrjnzAk= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=mail3.mcsignup.com; b=DjJLqmDBk3xGQTVuLBpQ8Rs4sd+SdZNo+XVkqBNKZzZ8hQYpDHdeVjQE+0TK+C9IJlH6lQFJkkWd p60kHVe0H9j1chjLAneFCKH6j+nRTDTcrWLd0a2uXQ0NpD633bknq3y/0pi5RltWrxMvHh9ykzre hptbfXa4iAszbpYRHC0=; Received: by mail3.mcsignup.com id hnd5e814i1s2 for ; Fri, 14 Jun 2013 16:54:53 +0000 (envelope-from ) Sender: signup-mc.us6_14035787.22889-freebsd-questions=freebsd.org@mail3.mcsignup.com From: =?utf-8?Q?The=20merchant=20Solution?= To: =?utf-8?Q?freebsd=2Dquestions=40freebsd.org?= Subject: themerchantsolutions.com: You are now unsubscribed Date: Fri, 14 Jun 2013 17:01:49 +0000 Content-Type: multipart/mixed; boundary="=_c5083bd50ee12bbcaf01c756cf97ccf9" MIME-Version: 1.0 Message-ID: <0.0.1.2F8.1CE691FE463277E.0@mail3.mcsignup.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 17:01:56 -0000 This is a message in Mime Format. If you see this, your mail reader does not support this format. --=_c5083bd50ee12bbcaf01c756cf97ccf9 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ** We have removed your email address from our list. ------------------------------------------------------------ We're sorry to see you go. Was this a mistake? Did you forward one of our emails to a friend, and they clicked the unsubscribe link not realizing they were in fact unsubscribing you from this list? If this was a mistake, you can re-subscribe at: Subscribe (http://blogspot.us6.list-manage.com/subscribe?u=37964f600b3d95d5cb34024a4&id=1bd9b49122) For questions or comments, please contact us at: cuttabi@gmail.com (mailto:cuttabi@gmail.com) --=_c5083bd50ee12bbcaf01c756cf97ccf9-- From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 19:12:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E4E60C7 for ; Fri, 14 Jun 2013 19:12:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id AFC75130A for ; Fri, 14 Jun 2013 19:12:05 +0000 (UTC) Received: from r56.edvax.de (port-92-195-15-122.dynamic.qsc.de [92.195.15.122]) by mx02.qsc.de (Postfix) with ESMTP id 7501F27720; Fri, 14 Jun 2013 21:11:58 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r5EJC7rt001920; Fri, 14 Jun 2013 21:12:07 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 14 Jun 2013 21:12:07 +0200 From: Polytropon To: "Mike." Subject: Re: Setting a lcoale globally Message-Id: <20130614211207.d2d105b8.freebsd@edvax.de> In-Reply-To: <201306141213340281.009F8EE9@smtp.24cl.home> References: <201306141213340281.009F8EE9@smtp.24cl.home> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 19:12:06 -0000 On Fri, 14 Jun 2013 12:13:34 -0400, Mike. wrote: > I would like to set the locale of my 9.1 server to > > LANG="en_US.ISO8859-1" > > > globally, i.e., put the locale entry in one file, and then have the > locale propagate as I go into other shells and run various scripts. You can add this to /etc/csh.cshrc as it will be inherited by all interactive shells (login shells), unless of course they override it with ~/.cshrc: setenv LANG en_US.ISO8859-1 It's also possible to add it to /etc/profile and even make an addition to /etc/login.conf's "default" setting: default:\ :setenv=LANG=en_US.ISO8859-1:... ... I'm not fully sure about that, as I'm using a centralized con- figuration as suggested per /etc/csh.cshrc to have specific environment settings, shell configuration items and aliases _system-wide_ for all users. (Note that this might require your attention on system updates!) > I have spent some quality time with google, and the best I have been > about to ascertain is that I need to sprinkle the LANG setting > throughout the various ENV variables and .profile, .cshrc, .bashrc, and > whatever files spread across my directory tree. For _custom_ scripts, I would suggest to put that setting at the top of those scripts so they will make sure the correct $LANG is being set, independently from possible other users' values. > That really seems counter-intuitive to me. True. :-) > Is it at all possible for me to specify in once place *somewhere" that > the entire server is to use the locale setting LANG="en_US.ISO8859-1" ? >From my individual experience, adding it to the global C-Shell configuration works, but I can't predict that for your exact requirements. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 19:46:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C496094F for ; Fri, 14 Jun 2013 19:46:14 +0000 (UTC) (envelope-from me@staticsafe.ca) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBE315E0 for ; Fri, 14 Jun 2013 19:46:14 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by uriel.asininetech.com (Postfix) with ESMTP id D4165E0AAB; Fri, 14 Jun 2013 15:46:06 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com D4165E0AAB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1371239166; bh=MbeQNPWqSpvdoiVBZ5hJ097FAe+riVg27CH3W6hVigA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=S7Yo6khr/YLyWwvfBH4CtY7WngpLSqj6nij7T9PFEWF6RN75+eoLblXL6US01LbGK bPKtzo7PZ3Tw6sQMOFTlonxYatY5KtEgtPbLQeWdaVMyzsW63WfvGaO8/6ygsAk1yK 1adHjLgmolel9DSf6H743j6Z+W6jwhgf7vW6YyW4= Received: from uriel.asininetech.com ([127.0.0.1]) by localhost (uriel.asininetech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id josODWIya7ny; Fri, 14 Jun 2013 15:46:06 -0400 (EDT) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uriel.asininetech.com (Postfix) with ESMTPSA id 4F7CCE0869; Fri, 14 Jun 2013 15:46:06 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 4F7CCE0869 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1371239166; bh=MbeQNPWqSpvdoiVBZ5hJ097FAe+riVg27CH3W6hVigA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=S7Yo6khr/YLyWwvfBH4CtY7WngpLSqj6nij7T9PFEWF6RN75+eoLblXL6US01LbGK bPKtzo7PZ3Tw6sQMOFTlonxYatY5KtEgtPbLQeWdaVMyzsW63WfvGaO8/6ygsAk1yK 1adHjLgmolel9DSf6H743j6Z+W6jwhgf7vW6YyW4= Date: Fri, 14 Jun 2013 15:46:04 -0400 From: staticsafe To: "Mike." Subject: Re: Setting a lcoale globally Message-ID: <20130614194604.GA27434@uriel.asininetech.com> References: <201306141213340281.009F8EE9@smtp.24cl.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201306141213340281.009F8EE9@smtp.24cl.home> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 19:46:14 -0000 On Fri, Jun 14, 2013 at 12:13:34PM -0400, Mike. wrote: > > > I would like to set the locale of my 9.1 server to > > LANG="en_US.ISO8859-1" > > > globally, i.e., put the locale entry in one file, and then have the > locale propagate as I go into other shells and run various scripts. > > > I have spent some quality time with google, and the best I have been > about to ascertain is that I need to sprinkle the LANG setting > throughout the various ENV variables and .profile, .cshrc, .bashrc, and > whatever files spread across my directory tree. > > > That really seems counter-intuitive to me. > > > Is it at all possible for me to specify in once place *somewhere" that > the entire server is to use the locale setting LANG="en_US.ISO8859-1" ? > > I need a clue... > > > thanks. > > 24.3.3.1.1. Login Classes Method "This method allows environment variables needed for locale name and MIME character sets to be assigned once for every possible shell instead of adding specific shell assignments to each shell's startup file. User Level Setup can be performed by each user while Administrator Level Setup requires superuser privileges." Source: http://www.freebsd.org/doc/en/books/handbook/using-localization.html#login-class -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post. Please don't CC! I'm subscribed to whatever list I just posted on. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 19:54:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A82F3A43 for ; Fri, 14 Jun 2013 19:54:15 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 77B32161B for ; Fri, 14 Jun 2013 19:54:15 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3bXCFK6q7Fz1DTr for ; Fri, 14 Jun 2013 15:54:13 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3bXCFK025zz1nZ2 for ; Fri, 14 Jun 2013 15:54:12 -0400 (EDT) Message-ID: <201306141554060140.016975D2@smtp.24cl.home> In-Reply-To: <20130614211207.d2d105b8.freebsd@edvax.de> References: <201306141213340281.009F8EE9@smtp.24cl.home> <20130614211207.d2d105b8.freebsd@edvax.de> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Fri, 14 Jun 2013 15:54:06 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: Re: Setting a locale globally Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 19:54:15 -0000 On 6/14/2013 at 9:12 PM Polytropon wrote: |On Fri, 14 Jun 2013 12:13:34 -0400, Mike. wrote: |> I would like to set the locale of my 9.1 server to |> |> LANG="en_US.ISO8859-1" |> |> |> globally, i.e., put the locale entry in one file, and then have the |> locale propagate as I go into other shells and run various scripts. | |You can add this to /etc/csh.cshrc as it will be inherited by |all interactive shells (login shells), unless of course they |override it with ~/.cshrc: | | setenv LANG en_US.ISO8859-1 That works for the login shell, but when I su to another user (e.g., root), LANG is no longer in the environment. | |It's also possible to add it to /etc/profile and even make an |addition to /etc/login.conf's "default" setting: | | default:\ | :setenv=LANG=en_US.ISO8859-1:... That works for the login shell, but when I su to another user (e.g., root), LANG is no longer in the environment. From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 20:50:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C7858914 for ; Fri, 14 Jun 2013 20:50:59 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 919C5186B for ; Fri, 14 Jun 2013 20:50:59 +0000 (UTC) Received: from r56.edvax.de (port-92-195-15-122.dynamic.qsc.de [92.195.15.122]) by mx02.qsc.de (Postfix) with ESMTP id 3E04624C37; Fri, 14 Jun 2013 22:50:58 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r5EKp7UU002245; Fri, 14 Jun 2013 22:51:07 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 14 Jun 2013 22:51:07 +0200 From: Polytropon To: "Mike." Subject: Re: Setting a locale globally Message-Id: <20130614225107.8a39e8e3.freebsd@edvax.de> In-Reply-To: <201306141554060140.016975D2@smtp.24cl.home> References: <201306141213340281.009F8EE9@smtp.24cl.home> <20130614211207.d2d105b8.freebsd@edvax.de> <201306141554060140.016975D2@smtp.24cl.home> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 20:50:59 -0000 On Fri, 14 Jun 2013 15:54:06 -0400, Mike. wrote: > On 6/14/2013 at 9:12 PM Polytropon wrote: > > |On Fri, 14 Jun 2013 12:13:34 -0400, Mike. wrote: > |> I would like to set the locale of my 9.1 server to > |> > |> LANG="en_US.ISO8859-1" > |> > |> > |> globally, i.e., put the locale entry in one file, and then have the > |> locale propagate as I go into other shells and run various scripts. > | > |You can add this to /etc/csh.cshrc as it will be inherited by > |all interactive shells (login shells), unless of course they > |override it with ~/.cshrc: > | > | setenv LANG en_US.ISO8859-1 > > That works for the login shell, but when I su to another user (e.g., > root), LANG is no longer in the environment. That depends on _how_ you su. For example, if you use su -m, the environment will not be modified, but the UID 0 is gained. See "man su" for details. But you are correct in terms of what I mentioned: If some user-configuration changes or unsets $LANG, it will be gone, and it may even be possible that the setting will not be transmitted properly to a different shell ("inheriting environment"), especially if the shell is not the default login shell, but instead bash or zsh (when the setting is being made for csh only). > |It's also possible to add it to /etc/profile and even make an > |addition to /etc/login.conf's "default" setting: > | > | default:\ > | :setenv=LANG=en_US.ISO8859-1:... > > That works for the login shell, but when I su to another user (e.g., > root), LANG is no longer in the environment. Try su -m. Anyway, login.conf should be the better solution compared to the csh approach illustrated above. It should work independently from the kind of shell. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jun 14 21:23:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2B42D323; Fri, 14 Jun 2013 21:23:01 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id EE07019A6; Fri, 14 Jun 2013 21:23:00 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id r5ELMsSh028287 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 14 Jun 2013 16:22:54 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Fri, 14 Jun 2013 16:22:54 -0500 From: "Teske, Devin" To: "Mike." Subject: Re: Setting a locale globally Thread-Topic: Setting a locale globally Thread-Index: AQHOaTj39tqEoPw2kUGgHyB5VhugbZk2AyiAgAAI4IA= Date: Fri, 14 Jun 2013 21:22:54 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F82008@ltcfiswmsgmb21> References: <201306141213340281.009F8EE9@smtp.24cl.home> <20130614211207.d2d105b8.freebsd@edvax.de> <201306141554060140.016975D2@smtp.24cl.home> <20130614225107.8a39e8e3.freebsd@edvax.de> In-Reply-To: <20130614225107.8a39e8e3.freebsd@edvax.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <0245426420D91744802CB5F8F617FB32@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-06-14_07:2013-06-14,2013-06-14,1970-01-01 signatures=0 Cc: Devin Teske , Polytropon , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jun 2013 21:23:01 -0000 On Jun 14, 2013, at 1:51 PM, Polytropon wrote: > On Fri, 14 Jun 2013 15:54:06 -0400, Mike. wrote: >> On 6/14/2013 at 9:12 PM Polytropon wrote: >>=20 >> |On Fri, 14 Jun 2013 12:13:34 -0400, Mike. wrote: >> |> I would like to set the locale of my 9.1 server to >> |>=20 >> |> LANG=3D"en_US.ISO8859-1" >> |>=20 >> |>=20 >> |> globally, i.e., put the locale entry in one file, and then have the >> |> locale propagate as I go into other shells and run various scripts. >> | >> |You can add this to /etc/csh.cshrc as it will be inherited by >> |all interactive shells (login shells), unless of course they >> |override it with ~/.cshrc: >> | >> | setenv LANG en_US.ISO8859-1 >>=20 >> That works for the login shell, but when I su to another user (e.g., >> root), LANG is no longer in the environment. >=20 > That depends on _how_ you su. For example, if you use su -m, > the environment will not be modified, but the UID 0 is gained. > See "man su" for details. >=20 > But you are correct in terms of what I mentioned: If some > user-configuration changes or unsets $LANG, it will be gone, > and it may even be possible that the setting will not be > transmitted properly to a different shell ("inheriting > environment"), especially if the shell is not the default > login shell, but instead bash or zsh (when the setting is > being made for csh only). >=20 >=20 >=20 >> |It's also possible to add it to /etc/profile and even make an >> |addition to /etc/login.conf's "default" setting: >> | >> | default:\ >> | :setenv=3DLANG=3Den_US.ISO8859-1:... >>=20 >> That works for the login shell, but when I su to another user (e.g., >> root), LANG is no longer in the environment. >=20 > Try su -m.=20 >=20 > Anyway, login.conf should be the better solution compared > to the csh approach illustrated above. It should work > independently from the kind of shell. >=20 Also, you can get the sudo(8) utility to preserve LANG by adding it to the = env_keep list in /usr/local/etc/sudoers For example: Step 1: (as root) visudo Step 2: Find=85 (the default configuration) ## Locale settings # Defaults env_keep +=3D "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" Step 3: Un-comment the second line (of the two lines shown above). Now whenever you use sudo(8) to execute a command, LANG (and a few others, = like LC_ALL) are preserved. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 15 04:54:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8169D478 for ; Sat, 15 Jun 2013 04:54:01 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9C5193A for ; Sat, 15 Jun 2013 04:54:00 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 15 Jun 2013 14:23:57 +0930 Message-ID: <51BBF364.3010003@ShaneWare.Biz> Date: Sat, 15 Jun 2013 14:23:56 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Ewald Jenisch Subject: Re: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5 References: <20130606141104.GA1261@aurora.oekb.co.at> <51B13325.6060404@ShaneWare.Biz> <20130614140325.GA2551@aurora.oekb.co.at> In-Reply-To: <20130614140325.GA2551@aurora.oekb.co.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 04:54:01 -0000 On 14/06/2013 23:33, Ewald Jenisch wrote: > On Fri, Jun 07, 2013 at 10:41:01AM +0930, Shane Ambler wrote: >> Just guessing from what I see - >> >> The panic is "No usable event timer found!" I did say just guessing and thought someone more knowledgeable may have spoken by now. One thing I did find - there is a freebsd-proliant mailing list that may be more helpful than here. > Thanks much for the hints you sent me. Since I'm pretty swamped with > work it took me a couple of days before I could go on with my tests. > >> Can you boot into single user mode? > > Nope - freezes at the exact same point during boot. > >> what does sysctl kern.eventtimer.choice show? > > Well - nothing to be honest: > "variable 'kern.eventtimer.choice' not found" Wondering if the system needs to be running to see that. >> Have you tried kern.eventtimer.periodic=0 or other values for >> kern.eventtimer.timer? > > With "kern.eventtimer.periodic=0" - same result. > > What other values would be valid for "kern.eventtimer.timer"? That's where the eventtimer.choice comes in. As an example on my asus mb I get kern.eventtimer.choice: LAPIC(600) HPET(550) HPET1(440) HPET2(440) HPET3(440) HPET4(440) i8254(100) RTC(0) I thought in single user mode you could see your list of available options. >> Is the panic the same without the loader adjustments? > > Yes, absolutely the same. > >> Does it boot 8.3 ? > > Haven't tried this, since I need to go to 9.1 on this system > anyway. Besides that the server is in a remote DC so changing disks is > not an easy thing to do. If 8.3 boots it then you can patch and compile your own kernel that supports your hardware. Being remote it may not be helpful unless you can have some indication that it will boot 8.3 From owner-freebsd-questions@FreeBSD.ORG Sat Jun 15 13:59:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3CC0259B for ; Sat, 15 Jun 2013 13:59:59 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8B818D3 for ; Sat, 15 Jun 2013 13:59:59 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3bXgL405rxz1DTf for ; Sat, 15 Jun 2013 09:59:56 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3bXgL05KTgz1nYh for ; Sat, 15 Jun 2013 09:59:52 -0400 (EDT) Message-ID: <201306150959450047.007906B6@smtp.24cl.home> In-Reply-To: <20130614194604.GA27434@uriel.asininetech.com> References: <201306141213340281.009F8EE9@smtp.24cl.home> <20130614194604.GA27434@uriel.asininetech.com> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Sat, 15 Jun 2013 09:59:45 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: Re: Setting a locale globally Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 13:59:59 -0000 On 6/14/2013 at 3:46 PM staticsafe wrote: |On Fri, Jun 14, 2013 at 12:13:34PM -0400, Mike. wrote: |> |> |> I would like to set the locale of my 9.1 server to |> |> LANG="en_US.ISO8859-1" |> |> |> globally, i.e., put the locale entry in one file, and then have the |> locale propagate as I go into other shells and run various scripts. |> |> |> I have spent some quality time with google, and the best I have been |> about to ascertain is that I need to sprinkle the LANG setting |> throughout the various ENV variables and .profile, .cshrc, .bashrc, and |> whatever files spread across my directory tree. |> |> |> That really seems counter-intuitive to me. |> |> |> Is it at all possible for me to specify in once place *somewhere" that |> the entire server is to use the locale setting LANG="en_US.ISO8859-1" ? |> |> I need a clue... |> |> |> thanks. |> |> |24.3.3.1.1. Login Classes Method |"This method allows environment variables needed for locale name and |MIME character sets to be assigned once for every possible shell instead |of adding specific shell assignments to each shell's startup file. User |Level Setup can be performed by each user while Administrator Level |Setup requires superuser privileges." | |Source: |http://www.freebsd.org/doc/en/books/handbook/using-localization.html#lo gin-class |-- ============= Thank-you! That does what I need. I added the lang keyword to the default and root sections of /etc/login.conf, then ran cap_mkdb /etc/login.conf as mentioned in the handbook. Thanks again for the assist. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 15 23:38:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DC4CE2B7 for ; Sat, 15 Jun 2013 23:38:19 +0000 (UTC) (envelope-from m.fujimoto@rocketmail.com) Received: from nm30-vm6.bullet.mail.ne1.yahoo.com (nm30-vm6.bullet.mail.ne1.yahoo.com [98.138.91.123]) by mx1.freebsd.org (Postfix) with ESMTP id 8EDF81DEA for ; Sat, 15 Jun 2013 23:38:19 +0000 (UTC) Received: from [98.138.90.52] by nm30.bullet.mail.ne1.yahoo.com with NNFMP; 15 Jun 2013 23:38:13 -0000 Received: from [98.138.89.171] by tm5.bullet.mail.ne1.yahoo.com with NNFMP; 15 Jun 2013 23:38:13 -0000 Received: from [127.0.0.1] by omp1027.mail.ne1.yahoo.com with NNFMP; 15 Jun 2013 23:38:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 397990.16703.bm@omp1027.mail.ne1.yahoo.com Received: (qmail 15118 invoked by uid 60001); 15 Jun 2013 23:38:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rocketmail.com; s=s1024; t=1371339493; bh=oeTwFozrK/qy5R+Ity6sQqUquiNOEN/e6a1YpNwYcHA=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=EFfabpYjONURZxYvuyTqDF5bXU0nLSivgJIEClLJFIy3Xpes74RNBSKMnZltMHFpBpbWedf8Lfvdp5zpT2SiAs9XI28BnrlOhVABDv3YGfgQAwZFv396gOlr99PlxZCGrM8eQYA+RFzs53SYr4rXfEQIt1dyY5HE3So47K0+0N8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rocketmail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=YL2cbd26Zku0AgmuXUyhyDdKwbtFpsn49P240cw//uI9pcaQP3uOPY9lhvCvXPKlyOG5msbBW9sjzF7BoHb5oczhCubpumWttELzN5+IhBX/eDXV29JYFB4tyls6+YnHC4l/D8YfclKC4dzE6+20puS2PmHJYXdgjJQbYZClDI0=; X-YMail-OSG: xmTwELQVM1mIWKvh4CoF1jxaUxOSJkyGMi7uJWIMEt.aljD D6DBo59wR7mU.6SjslUm4iA_HtejV13zR3gpYdr6Sg8G1OUToxvPK9f94xoQ NbnSU3Y4hq4PpRykaKAHszLURDHXJZ2IHTNinwyWOILAOXDZ7orwoUqO6QDG lBGxHq6DEt4kVXmdfMor1XqYJU1zpqmqyvurxoHcZix3r9V6BpXZm4qG8vs7 UFzjkVMJy_mYU4nYyUNnPadb89zy0I.aA_S2.S7MsHbZZcrAZPei8C308Tof mKK5b_Ky.8WkuEDblrHZ6qZd9yyskEMmS5f5Ec3i2QrFooFC.4BZou7Q1L5G VWWPtWj7fpwDIJI5u9VPW1pyt3aPThWjsScDCp9q68de4jw562oANuNlyBBc jsqdly4UFNFGXGMZG.WG55NaDJmmcB2XNeuJ4U44iXCT6iN_.C4leyswGbWm _Zk1r.p8YTpgIWR7bz4gxHL9VAcLhOmFHoge1rd5aLl_IjGIcyiMXLGYbGtN ExB_q.QkC.5NtsuF62PbB99HMgw26q19RCts_tXC5RAilSf8rV.90rN8XStV GlmEQlROLW1Xb15phELalDQ8xOiDdkeP3y.8z2RaKq0N.CWLP11Wq Received: from [116.70.244.192] by web125802.mail.ne1.yahoo.com via HTTP; Sat, 15 Jun 2013 16:38:13 PDT X-Rocket-MIMEInfo: 002.001, SGksDQpIb3cgY2FuIEkgaW5zdGFsbCBkaWFsb2c0cG9ydHMgaW4gbXkgcWphaWwzIGVudmlyb25tZW50Pw0KSSB3aWxsIGJlIGdyYXRlZnVsIGZvciBhbnkgaGVscCB5b3UgY2FuIHByb3ZpZGUuDQoNCg0Kcm9vdCAjIGNkIC91c3IvcG9ydHMvc3lzdXRpbHMvcWphaWwNCnJvb3QgIyBxamFpbCBjcmVhdGUgLW4gZW0wIHdlYnNlcnZlciAxOTIuMTY4LjAuNTANCnJvb3QgIyBwa2dfaW5mbyB8IGdyZXAgcWphaWwNCnFqYWlsLTMuMMKgwqDCoMKgwqDCoMKgwqDCoMKgIFV0aWxpdHkgdG8gcXVpY2tseSBkZXBsb3kBMAEBAQE- X-Mailer: YahooMailClassic/16.0.0 YahooMailWebService/0.8.146.552 Message-ID: <1371339493.714.YahooMailClassic@web125802.mail.ne1.yahoo.com> Date: Sat, 15 Jun 2013 16:38:13 -0700 (PDT) From: Masayoshi Fujimoto Subject: How can I install dialog4ports in my qjail3 environment? To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2013 23:38:19 -0000 Hi, How can I install dialog4ports in my qjail3 environment? I will be grateful for any help you can provide. root # cd /usr/ports/sysutils/qjail root # qjail create -n em0 webserver 192.168.0.50 root # pkg_info | grep qjail qjail-3.0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Utility to quickly deploy and manag= e jails webserver /usr/ports/ports-mgmt/dialog4ports >make install clean =3D> dialog4ports-0.1.4.tar.gz doesn't seem to exist in /var/ports/distfile= s/. =3D> Attempting to fetch http://m1cro.tk/dialog4ports/dialog4ports-0.1.4.ta= r.gz dialog4ports-0.1.4.tar.gz=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 100% of=A0=A0=A0 9 kB=A0=A0 61 kBps =3D=3D=3D> Fetching all distfiles required by dialog4ports-0.1.4 for buildi= ng =3D=3D=3D>=A0 Extracting for dialog4ports-0.1.4 =3D> SHA256 Checksum OK for dialog4ports-0.1.4.tar.gz. =3D=3D=3D>=A0 Patching for dialog4ports-0.1.4 =3D=3D=3D>=A0 Configuring for dialog4ports-0.1.4 =3D=3D=3D>=A0 Building for dialog4ports-0.1.4 "/dev/null", line 1: Need an operator make: fatal errors encountered -- cannot continue *** [do-build] Error code 1 Stop in /usr/ports/ports-mgmt/dialog4ports.