From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 00:37:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68267106566B for ; Sun, 29 Apr 2012 00:37:52 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 411768FC0C for ; Sun, 29 Apr 2012 00:37:52 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q3T0bkph093012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 28 Apr 2012 17:37:46 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q3T0bk9l093011; Sat, 28 Apr 2012 17:37:46 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA06651; Sat, 28 Apr 12 17:27:04 PDT Date: Sun, 29 Apr 2012 00:26:50 -0700 From: perryh@pluto.rain.com To: ait@p2ee.org Message-Id: <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd@edvax.de, freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 00:37:52 -0000 Alejandro Imass wrote: > 3) the directories were moved at reboot by journal recovery, > fsck or something else I think it's *extremely* unlikely that fsck was involved, because it just doesn't do things like that. It might move an orphaned directory (or file) to lost+found, but nowhere else. That's in addition to the fact that, as someone already mentioned, it asks before doing anything. I don't know enough about the details of journal recovery to comment on it as a suspect. > That is what worries me, is that it wasn't just some random bit > or cosmic ray, but the potential of happening again ... Any chance that your base system -- rather than one of the jails -- has somehow been cracked; maybe even that the cracker precipitated the crash? It might be wise to restore the whole system from backup, the base from a moderately old one since it doesn't change anyway, rather than trying to recover. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 01:58:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7E5D106566C for ; Sun, 29 Apr 2012 01:58:18 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A794D8FC0C for ; Sun, 29 Apr 2012 01:58:17 +0000 (UTC) Received: by iahk25 with SMTP id k25so3698543iah.13 for ; Sat, 28 Apr 2012 18:58:17 -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 :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=M13WYvggzEMjIVqTjP1/UJ35X7QzHLW8PxaNUF3GUdU=; b=esmdy9Q7eO2fHcfJMLrW1xnxn13x2SHesLBj/D3DT6kpA91H/0megOkTDMFyvNPPDH cufo6mny4vU3MIfMz6S84QIrYbKyNf9s+EANbur0QuED93y06Z5gMc+im3Z4l9ZRVPQZ 1VBGgm7eJzMvGRvFVdfWbdM6CUq17tplkQMkxyL0HOaNuf8r5ZX617RIWfXmXrS2PrDS VPeUPWTTeqru9XegUhwGnBmnblv00EtoMsMF/3C+NcZ/3LmNsT+kYpSzvyd6fYJ8nU6b dDoWsYMq+7LXPvaI4cW9alPAhBja6k49DXsRd3PHE+K0kYL5OaSzlCssAloh9R/EO99L /Z+A== MIME-Version: 1.0 Received: by 10.50.197.233 with SMTP id ix9mr6837048igc.26.1335664697350; Sat, 28 Apr 2012 18:58:17 -0700 (PDT) Received: by 10.231.74.138 with HTTP; Sat, 28 Apr 2012 18:58:17 -0700 (PDT) In-Reply-To: <201204290403.58388.erich@alogreentechnologies.com> References: <201204290403.58388.erich@alogreentechnologies.com> Date: Sat, 28 Apr 2012 21:58:17 -0400 Message-ID: From: Alejandro Imass To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkOGyARbBrpI2A4gojL5GqX8oz4RNYjGrGNMGcftuvSfFRKnOPGn1X7/bdSdJ7OadAJTsux Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 01:58:19 -0000 On Sat, Apr 28, 2012 at 5:03 PM, Erich Dollansky wrote: > Hi, > > On Saturday 28 April 2012 20:15:25 Alejandro Imass wrote: >> On Sat, Apr 28, 2012 at 3:22 AM, Wojciech Puchar >> wrote: >> >> I somewhat agree, but it wasn't a person. I am the only administrator= , >> >> the only one with root access. The jails were effectively moved to th= e >> >> /usr/local/etc/apache22 of the single that survived at the top level. >> >> I'm thinking something between mount, EzJail, the journal and the way >> >> MySQL created a great deal of head contention, so something must have >> >> gotten corrupted at the directory level like you state, but the >> >> strange part is no _data_ corruption as such, because I was able to >> >> physically archive the jails, move them to the correct directory and >> > >> > >> > no matter what you do FreeBSD DOES NOT ramdomly move directories. if y= ou are >> > sure you didn't move it yourself then it must be machine hardware prob= lem >> > but still unlikely. >> >> After a little more research, ___it it NOT unlikely at all___ that >> under high distress and a hard boot, UFS could have somehow corrupted >> the directory structure, whilst maintaining the data intact. From what >> I've learned so far, UFS is actually divided into 2 layers: one that >> controls the directory structure and metadata and a lower layer >> containing the data, so the directories being screwed up and the data >> intact it is actually quite possible. >> >> What I'm trying to do is figure out is how it happened, and try >> prevent it from happening again, so instead of dismissing it as >> impossibility, I think we all should spend a little time figuring out >> how these things can happen and determine how it can be prevented or >> reduced. > > somebody mentioned the links. Did you use links in the jails to access th= e data? If then the directories of the jails got screwed, the links are gon= e but the original data is still there. The damaged directory might got fix= ed during the first reboot after the crash and you never noticed the fix. > Hi Erich, thanks for your reply. I don't know what links you are referring to, but please point me in that direction. I initially suspected that it could have been the journal recovery and/or fsck but as you can see, a couple of people have said this is impossible, but have to admit my ignorance on some specifics of the UFS filesystem, yet out of logic seems like the most plausible explanation. I've been running FBSD since 6.2 and jails since then as well. Today I run 6 public servers in 8.2 with between 15 to 20 jails each and we switched to ezjail last year and use strictly by the book. I do use flavours though, and I may archive and re-create jails with a specific archive but always using ezjail-admin. Since all our servers are 8.2 and all updated the same, I may port jails from one server to the other using the ezjail archive method, but nothing as stupid as someone was suggesting that I was using cp or soft links. I've never had any problems except in _this particular server_ where I have client that has a problem with MySQL and under some conditions it drains the whole server. I suspected corruption of the fs because of all the contention generated by MySQL to the point where it simply hung and had to hard-reboot. I doubt it's hardware because these are relatively new servers Xeon X3370, 8GB RAM, 2 x 150GB 10,000rpm Velociraptor disks. We have the pristine OS in one disk and jails in the other. Nothing runs outside of jails, not even the MTA which runs postfix inside one of the jails. This is the first crash when anything like this has happened in over 6 years running FBSD, and I am surprised as anyone here because of the weirdness of the jail directories moving like that. We had backups of the previous night, but I didn't even use them. The data was all there, intact, just moved inside the only surviving jail, which happens to be the http reverse proxy of all the other jails. If you have any leads as to how this can happen other than cosmic rays I would greatly appreciate it. Thanks! --=20 Alejandro > Erich From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 02:10:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8535106564A for ; Sun, 29 Apr 2012 02:10:24 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 87CC98FC0C for ; Sun, 29 Apr 2012 02:10:24 +0000 (UTC) Received: by iahk25 with SMTP id k25so3706813iah.13 for ; Sat, 28 Apr 2012 19:10:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=50tY+72Mbuq6gtauN4JAGpw9TYfL1mExJ3PidT07G3Q=; b=fY7Rn2sN2kbXv/OZayq4s2nHcuT7mbG3qGQDKwo3lX5ltA6jo0ACIAw6UV13c1M4ez e1pRPPSZshPZpp0L6ZqVzkeGZl/HR/O89vRLqQ5bAsOv8ZuP6nQ61qFJq1Yb59b5/AUx 6WUef3xVcZkHwTCNr3CVMXPYTqtmM54GILqqdHGJVGPh0553KolDI/tHA9SBzteML5dJ m+b9yZafzHDq95GyEgzIp8FxWZ1GTd+GpEzaf34/7ccka2G4VVFAGQO6RXOgrcquldH5 u7/pmosCkxovZg6cBiPtZKLFH/xZIpL0KzXLK8xVM2ZkKjQq5LSOWnRvDVe1urLn7zrr +L/Q== MIME-Version: 1.0 Received: by 10.50.149.170 with SMTP id ub10mr6930475igb.43.1335665424170; Sat, 28 Apr 2012 19:10:24 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Sat, 28 Apr 2012 19:10:23 -0700 (PDT) In-Reply-To: <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> Date: Sat, 28 Apr 2012 22:10:23 -0400 X-Google-Sender-Auth: Ok3SPK2bdtwaM4ogn2LMGM4Wjys Message-ID: From: Alejandro Imass To: perryh@pluto.rain.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQm8TjZRwu4D3j224Wf5tY9oJ/VFjAkjNtD5UkQI/ra56UbjrBPd5yBD6HiW30CMzh3zgmWx Cc: freebsd@edvax.de, freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 02:10:24 -0000 On Sun, Apr 29, 2012 at 3:26 AM, wrote: > Alejandro Imass wrote: > [...] > > Any chance that your base system -- rather than one of the jails -- > has somehow been cracked; maybe even that the cracker precipitated > the crash? =A0It might be wise to restore the whole system from backup, > the base from a moderately old one since it doesn't change anyway, > rather than trying to recover. There is always that possibility but I strive to keep these servers updated, I block most ap, nigeria and russia ip blocks using updated Wizcrafts' lists, run fail2ban and other security measures. We have a policy of only one password and there are no users or services in the base system other than mine. As I said in another mail I run 6 servers and been runing FBSD for almost 7 years and this is the first time I've seen this happen. --=20 Alejandro From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 02:19:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41D3A106564A for ; Sun, 29 Apr 2012 02:19:47 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 197818FC12 for ; Sun, 29 Apr 2012 02:19:47 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3T2Jd23026527; Sat, 28 Apr 2012 20:19:42 -0600 From: Erich Dollansky To: Alejandro Imass Date: Sun, 29 Apr 2012 09:20:00 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201204290403.58388.erich@alogreentechnologies.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201204290920.00224.erichfreebsdlist@ovitrap.com> Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 02:19:47 -0000 Hi, On Sunday 29 April 2012 08:58:17 Alejandro Imass wrote: > On Sat, Apr 28, 2012 at 5:03 PM, Erich Dollansky > wrote: > > On Saturday 28 April 2012 20:15:25 Alejandro Imass wrote: > >> On Sat, Apr 28, 2012 at 3:22 AM, Wojciech Puchar > >> wrote: > >> >> I somewhat agree, but it wasn't a person. I am the only administrator, > >> >> the only one with root access. The jails were effectively moved to the > >> >> /usr/local/etc/apache22 of the single that survived at the top level. > >> >> I'm thinking something between mount, EzJail, the journal and the way > >> >> MySQL created a great deal of head contention, so something must have > >> >> gotten corrupted at the directory level like you state, but the > >> >> strange part is no _data_ corruption as such, because I was able to > >> >> physically archive the jails, move them to the correct directory and > >> > > >> > > >> > no matter what you do FreeBSD DOES NOT ramdomly move directories. if you are > >> > sure you didn't move it yourself then it must be machine hardware problem > >> > but still unlikely. > >> > >> After a little more research, ___it it NOT unlikely at all___ that > >> under high distress and a hard boot, UFS could have somehow corrupted > >> the directory structure, whilst maintaining the data intact. From what > >> I've learned so far, UFS is actually divided into 2 layers: one that > >> controls the directory structure and metadata and a lower layer > >> containing the data, so the directories being screwed up and the data > >> intact it is actually quite possible. > >> > >> What I'm trying to do is figure out is how it happened, and try > >> prevent it from happening again, so instead of dismissing it as > >> impossibility, I think we all should spend a little time figuring out > >> how these things can happen and determine how it can be prevented or > >> reduced. > > > > somebody mentioned the links. Did you use links in the jails to access the data? If then the directories of the jails got screwed, the links are gone but the original data is still there. The damaged directory might got fixed during the first reboot after the crash and you never noticed the fix. > > > > Hi Erich, thanks for your reply. > > I don't know what links you are referring to, but please point me in man link They are practical in jails when things are read only. Mark everything read-only and nothing should go wrong. > that direction. I initially suspected that it could have been the > journal recovery and/or fsck but as you can see, a couple of people I only installed journals on a new machine without any experience there. UFS does normally the job for me. > have said this is impossible, but have to admit my ignorance on some > specifics of the UFS filesystem, yet out of logic seems like the most > plausible explanation. This is not a good reasoning. I have had clients using my own software for years before it crashed with an error which was in there since the start. > > I've been running FBSD since 6.2 and jails since then as well. Today > I run 6 public servers in 8.2 with between 15 to 20 jails each and we > switched to ezjail last year and use strictly by the book. I do use > flavours though, and I may archive and re-create jails with a specific > archive but always using ezjail-admin. Since all our servers are 8.2 > and all updated the same, I may port jails from one server to the > other using the ezjail archive method, but nothing as stupid as > someone was suggesting that I was using cp or soft links. > I never used ezjail in real life. > I've never had any problems except in _this particular server_ where I > have client that has a problem with MySQL and under some conditions it > drains the whole server. I suspected corruption of the fs because of > all the contention generated by MySQL to the point where it simply > hung and had to hard-reboot. I doubt it's hardware because these are > relatively new servers Xeon X3370, 8GB RAM, 2 x 150GB 10,000rpm > Velociraptor disks. We have the pristine OS in one disk and jails in > the other. Nothing runs outside of jails, not even the MTA which runs > postfix inside one of the jails. > > This is the first crash when anything like this has happened in over 6 > years running FBSD, and I am surprised as anyone here because of the > weirdness of the jail directories moving like that. We had backups of > the previous night, but I didn't even use them. The data was all > there, intact, just moved inside the only surviving jail, which > happens to be the http reverse proxy of all the other jails. > > If you have any leads as to how this can happen other than cosmic rays > I would greatly appreciate it. Check if their are links there after you remade the system. I have also no other idea then. Erich > > Thanks! > > -- > Alejandro > > > Erich > > From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 02:32:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 143AD106566B for ; Sun, 29 Apr 2012 02:32:12 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C9CC38FC15 for ; Sun, 29 Apr 2012 02:32:11 +0000 (UTC) Received: by iahk25 with SMTP id k25so3723810iah.13 for ; Sat, 28 Apr 2012 19:32:11 -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 :cc:content-type:x-gm-message-state; bh=dC77gnudwZSRnCW8n3A2zbwsQRzqbTj1aeCB/r0P4VE=; b=eOFUcQbtMX2SAbXH/CCczH6k+wroRcXcj+d0hsUAuZEhw6HA73wcCdYM954O8xv/sS hGszALzKtg0DGymDRtmmQwzpzTkmalpg3/pTrz/rPxrou0ZBKQ62S/paDlDHdHIZJnNn WvD3KX9dXL7aiw0FxLsQOnylEZi0YxHn6r6XBpEhk2/KkVo73rOrh5IgWnVHy+2iZJ+v S+h8jOjzeiQ1IDy/pQPgtul2yw3MwQ5a2tlTZXICFy10YdnONMTb0KiegekxHmDvV8Tz D4e2q3DXRWVu3GCo0CiB6MW6VoFxr0/ktw6CzghPkK1iFaH/aDDf1SGVZ0GqZoFG3mWp dI8g== MIME-Version: 1.0 Received: by 10.50.191.231 with SMTP id hb7mr6811799igc.26.1335666731449; Sat, 28 Apr 2012 19:32:11 -0700 (PDT) Received: by 10.231.74.138 with HTTP; Sat, 28 Apr 2012 19:32:11 -0700 (PDT) In-Reply-To: <201204290920.00224.erichfreebsdlist@ovitrap.com> References: <201204290403.58388.erich@alogreentechnologies.com> <201204290920.00224.erichfreebsdlist@ovitrap.com> Date: Sat, 28 Apr 2012 22:32:11 -0400 Message-ID: From: Alejandro Imass To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlKZM/TW8LoPgqRqzsndxOQ45UHwJe9f5fwCJz3T0VCnwdUYULz96XNBAoVU2bvvtQQ5xcd Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 02:32:12 -0000 On Sat, Apr 28, 2012 at 10:20 PM, Erich Dollansky wrote: > Hi, > > On Sunday 29 April 2012 08:58:17 Alejandro Imass wrote: >> On Sat, Apr 28, 2012 at 5:03 PM, Erich Dollansky >> wrote: [...] >> >> Hi Erich, thanks for your reply. >> >> I don't know what links you are referring to, but please point me in > > man link > > They are practical in jails when things are read only. Mark everything read-only and nothing should go wrong. > I though you were referring to something else entirely. No, I don't use soft or hard links with jails, unless EzJail uses them but I doubt it, I think everything like that in EzJail is done by mounting via nullfs. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 08:37:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2E5B1065672 for ; Sun, 29 Apr 2012 08:37:45 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 906EF8FC18 for ; Sun, 29 Apr 2012 08:37:45 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id 031F23CD26; Sun, 29 Apr 2012 10:37:41 +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 q3T8beb5001901; Sun, 29 Apr 2012 10:37:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 29 Apr 2012 10:37:40 +0200 From: Polytropon To: perryh@pluto.rain.com Message-Id: <20120429103740.aa7df743.freebsd@edvax.de> In-Reply-To: <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> 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: ait@p2ee.org, freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 08:37:45 -0000 On Sun, 29 Apr 2012 00:26:50 -0700, perryh@pluto.rain.com wrote: > Alejandro Imass wrote: > > > 3) the directories were moved at reboot by journal recovery, > > fsck or something else > > I think it's *extremely* unlikely that fsck was involved, because > it just doesn't do things like that. The point is: fsck moving directories "looks different". In case inodes get "de-connected" (their reference entries on level n-1 are gone, their data on level n is still present), fsck will access the lost+found/ directory in the corresponding partition's root directory (or create it, if not present) and write _new_ directory entries with the inode as their name, because that's the only naming information possible (as the original names on n-1 aren't accessible anymore). So those directories will have names like #177628676/ and they _can_ contain subtrees full of data, _including_ names from levels n+1 and onward. Files also are named #4767667892 and their names can _maybe_ identified from their content (the "file" command is helpful, and if they are textfiles containing a CVS or other revision control system data tag, it's possible to find out what they've been in their previous life). However, as it has been explained, fsck will _not_ do so unless being _allowed explicitely_ to do that kind of MODIFICATION to the file system. Flags like -yf can do that, but they are _not_ the default. This is due to the fact that _any_ critical modification of file systems requires the _responsible administrator_ to give permission. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 12:32:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E62E7106564A for ; Sun, 29 Apr 2012 12:32:09 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-queue-2.mail.thdo.gradwell.net (outbound-queue-2.mail.thdo.gradwell.net [212.11.70.35]) by mx1.freebsd.org (Postfix) with ESMTP id A3D6E8FC18 for ; Sun, 29 Apr 2012 12:32:09 +0000 (UTC) Received: from outbound-edge-1.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-2.mail.thdo.gradwell.net (Postfix) with ESMTP id 18D3F223D6 for ; Sun, 29 Apr 2012 13:32:03 +0100 (BST) Received: from cpc1-jarr2-0-0-cust409.16-2.cable.virginmedia.com (HELO webmaker) (82.39.73.154) (smtp-auth username fbsd%pop3.dgmm.net, mechanism cram-md5) by outbound-edge-1.mail.thdo.gradwell.net (qpsmtpd/0.83) with (AES256-SHA encrypted) ESMTPSA; Sun, 29 Apr 2012 13:32:03 +0100 From: dgmm To: freebsd-questions@freebsd.org Date: Sun, 29 Apr 2012 13:32:02 +0100 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201204291332.02367.freebsd01@dgmm.net> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Gradwell-MongoId: 4f9d34c3.1dee-a1d-1 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net Subject: portupgrade -cfa status while executing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 12:32:10 -0000 When running portupgrade -cfa, is there any way to find out where it's up to and/ot what is still in the queue to be re-built? -- Dave From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 13:24:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41982106564A for ; Sun, 29 Apr 2012 13:24:36 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from outbound-queue-2.mail.thdo.gradwell.net (outbound-queue-2.mail.thdo.gradwell.net [212.11.70.35]) by mx1.freebsd.org (Postfix) with ESMTP id F0FF88FC14 for ; Sun, 29 Apr 2012 13:24:35 +0000 (UTC) Received: from outbound-edge-1.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-2.mail.thdo.gradwell.net (Postfix) with ESMTP id 4C18F223B4 for ; Sun, 29 Apr 2012 14:24:35 +0100 (BST) Received: from cpc1-jarr2-0-0-cust409.16-2.cable.virginmedia.com (HELO webmaker) (82.39.73.154) (smtp-auth username fbsd%pop3.dgmm.net, mechanism cram-md5) by outbound-edge-1.mail.thdo.gradwell.net (qpsmtpd/0.83) with (AES256-SHA encrypted) ESMTPSA; Sun, 29 Apr 2012 14:24:35 +0100 From: dgmm To: freebsd-questions@freebsd.org Date: Sun, 29 Apr 2012 14:24:34 +0100 User-Agent: KMail/1.9.10 References: <201204291332.02367.freebsd01@dgmm.net> In-Reply-To: <201204291332.02367.freebsd01@dgmm.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201204291424.34190.freebsd01@dgmm.net> X-Gradwell-MongoId: 4f9d4113.70ef-9cb-1 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net Subject: Re: portupgrade -cfa status while executing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 13:24:36 -0000 On Sunday 29 April 2012, dgmm wrote: > When running portupgrade -cfa, is there any way to find out where it's up > to and/ot what is still in the queue to be re-built? Oops. It was obvious really. ls /var/db/pkg -htU ...is good enough for my needs. -- Dave From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 15:16:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 747AF1065687 for ; Sun, 29 Apr 2012 15:16:33 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 302D08FC19 for ; Sun, 29 Apr 2012 15:16:33 +0000 (UTC) Received: by iahk25 with SMTP id k25so4332705iah.13 for ; Sun, 29 Apr 2012 08:16:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=5C0Pse/I+IZksAS50AteWNsbR6piuKI8GEWM4ndYnvY=; b=dWwb54inBBY0yJqFB92sudADQ0J7B8iz9jCX95pQTGwvoDPx/qoiiol0D86QsS0h4d Qcm8x6xed3QSiL6yg52F3Ue71dC58+JxpmvlKupEu8gGG0ziwdvdgQemVXBgTFS6sZdf dcG98jP8R8+Dftml9uxxkGxOPFdAKEyWpxH/UxwXqqL5ffuUHDYgZj7r8XvjxLeoowXs sIbVBy4wlgbTmxYfnc16Lz0KMaL8fQRnqu6xpG7+GyLCx1XYCKNFs6l5F19zteFeGFhn 4RWv+/yJ7RWrlWl/cqsDMkG+UE2cEb6JrMUsjQkt6PZj9/uFZEoaUNlIj8ErdLLWfQM0 JbFw== MIME-Version: 1.0 Received: by 10.50.89.200 with SMTP id bq8mr8273150igb.45.1335712592197; Sun, 29 Apr 2012 08:16:32 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Sun, 29 Apr 2012 08:16:32 -0700 (PDT) In-Reply-To: <20120429103740.aa7df743.freebsd@edvax.de> References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> <20120429103740.aa7df743.freebsd@edvax.de> Date: Sun, 29 Apr 2012 11:16:32 -0400 X-Google-Sender-Auth: s246nhI3dEl4yso7WsW4Pg2G-H0 Message-ID: From: Alejandro Imass To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQngkeOy3KEH86udja7sehloYlszdmYESGqPsvps/CBB8NsLzZZNNR7NsFD40bvMMrNU5kFb Cc: perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 15:16:33 -0000 On Sun, Apr 29, 2012 at 4:37 AM, Polytropon wrote: > On Sun, 29 Apr 2012 00:26:50 -0700, perryh@pluto.rain.com wrote: >> Alejandro Imass wrote: >> >> > 3) the directories were moved at reboot by journal recovery, >> > fsck or something else >> >> I think it's *extremely* unlikely that fsck was involved, because >> it just doesn't do things like that. > > The point is: fsck moving directories "looks different". In > case inodes get "de-connected" (their reference entries on > level n-1 are gone, their data on level n is still present), > fsck will access the lost+found/ directory in the corresponding > partition's root directory (or create it, if not present) and > write _new_ directory entries with the inode as their name, > because that's the only naming information possible (as the > original names on n-1 aren't accessible anymore). So those > directories will have names like #177628676/ and they _can_ > contain subtrees full of data, _including_ names from levels > n+1 and onward. Files also are named #4767667892 and their > names can _maybe_ identified from their content (the "file" > command is helpful, and if they are textfiles containing > a CVS or other revision control system data tag, it's possible > to find out what they've been in their previous life). > > However, as it has been explained, fsck will _not_ do so > unless being _allowed explicitely_ to do that kind of > MODIFICATION to the file system. Flags like -yf can do > that, but they are _not_ the default. This is due to the > fact that _any_ critical modification of file systems > requires the _responsible administrator_ to give permission. > OK, so fsck couldn't have done this. Besides fsck reported the fs as clean so I have to conclude as others have commented that it must have been a mv I've been looking at the logs very carefully and trying to make sense of this. There is a possibility that it could have been an attack because we enabled ftp.proxy so that some clients could upload stuff to their jails using ftp. So I was initially wrong in my assessment because on this particular server we are running a service outside of jails and it's this ftp.proxy that was suppose to be a temporary solution but I guess we never got around to fixing this. The ftp.proxy is started via inetd like so: ftp stream tcp nowait nobody /usr/local/sbin/ftp.proxy ftp.proxy -e And there was a log of a couple of ftp connections the same day this happened, the ONLY 3 messages before the reboot at about 6 pm and they were NOT from any of our customers. Here are the log entries: Apr 27 05:54:37 nune ftp.proxy[2726]: connected to client: host-46-50-183-5.bbcustomer.zsttk.net, interface= 207.158.52.74:21 Apr 27 05:54:37 nune ftp.proxy[2726]: info: monitor mode: off, ccp: Apr 27 05:54:38 nune ftp.proxy[2726]: -ERR: missing hostname Apr 27 18:55:42 nune syslogd: kernel boot file is /boot/kernel/kernel OK. So let's suppose ftp.proxy is the culprit is there any way the could have done the mv by cracking ftp and ftp.proxy ?? I have of course disabled the ftp and I am now thinking that another possibility or combination by also using the ftp proxy on the http-proxy jail, that is, the jail that swallowed the other jails. The http-proxy jails was also running apache ftp proxy. So the question now becomes: could a break in ftp.proxy coupled with Apache ftp proxy have caused the http-proxy jails to have swallowed all the other jails into it's configuration directory?? -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 16:35:05 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C55D51065678 for ; Sun, 29 Apr 2012 16:35:05 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 918198FC16 for ; Sun, 29 Apr 2012 16:35:05 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 3VgZ4t2jJvzCV for ; Sun, 29 Apr 2012 12:26:06 -0400 (EDT) Date: Sun, 29 Apr 2012 12:25:39 -0400 From: Daniel Staal To: freebsd-questions@FreeBSD.org Message-ID: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 16:35:05 -0000 I'm working on developing some stuff in Perl on my box, which works fairly well unless I go to update my system. Anytime I do, I get the following error from portmanager: `rCreateInstalledDbVerifyContentsFile 0.4.1_9 error: "@comment ORIGIN:" not found in /var/db/pkg/bsdpan-$MODULE_NAME` Where $MODULE_NAME is one of the modules I've installed via CPAN, instead of using the FreeBSD ports system. It will advise me to delete the package and then try manually reinstalling it - which works, *if* I install the Ports version. Then running portmanager again will just pick the next module from the list, and go on, until I've uninstalled everything I installed via CPAN and installed it from Ports. Which would be fine, if annoying, if everything actually was available in Ports. But it's not: I'm using several modules that aren't available from Ports, and of course the modules I'm *developing* aren't available from Ports. So, is there any way to *avoid* getting that error? Some way where I can actually use the ports system to keep my stuff up to date? (Even if it doesn't include the manually-installed software?) Or do I just have to avoid anything Perl-related from the Ports system and install everything manually? (Or - likely at that point - find a different OS to work on. It'd be less hassle to switch OSes than to try to make sure *nothing* using Perl is installed from the Ports.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 16:46:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3807B106564A for ; Sun, 29 Apr 2012 16:46:56 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id C8B438FC0A for ; Sun, 29 Apr 2012 16:46:55 +0000 (UTC) Received: by yenl9 with SMTP id l9so1257120yen.13 for ; Sun, 29 Apr 2012 09:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=tnoHgPFkMBzcGaArnWLOYJnDYJzDWexSI1TehnyZxWI=; b=M4sGtx4X82F0IM+DG7oGENhYfL4Jm3FOLhCNcx0TL3CRSl7a9qMJGYI84IY9nAOdr7 CIDZDsZwrPTwdjYi27jfgQA1gPsjKd8WCWOfCj2+7QoKgI1WkoYIQ8UtG+JPLXPK1wM/ 7HSGjf97mxiQW0arKvAUouaEbzF4srQBYRXR8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=tnoHgPFkMBzcGaArnWLOYJnDYJzDWexSI1TehnyZxWI=; b=otqPdrH8p0oocfqXLC9Yi38WR8tg33NXvZQ9KHws6OK24oW6tqV1jE9iLX0YkIb/Nz 0pOT+pUYrlwW1UPWO3Q22mFYuUgb3zPnajTA2cipePz0cgCVKFqfoZxDijmBwJ26IlbB xYBMvJSigsoIrsFlRRWx8PVGphLOQF3M2cPZTrIRfiGTtcJvc/zTvUkesbobN2kZvrFP WMSsiI0XdYRMP7Ka9ooTrw4nkKp3WnwK0MmAouWcobsU0HXYVwF22Rhv1EYYa91wajjP gX13Yo9RBJ7t01IGJIoDFIaZHrx3my+Di4lN+bxVextmHm428TaabjbZq9/wnLPxJauo CNPw== Received: by 10.236.109.198 with SMTP id s46mr19441719yhg.43.1335718015329; Sun, 29 Apr 2012 09:46:55 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id d74sm61326347yhg.7.2012.04.29.09.46.53 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Apr 2012 09:46:54 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3VgZXr4M6fz2CG5r for ; Sun, 29 Apr 2012 12:46:52 -0400 (EDT) Date: Sun, 29 Apr 2012 12:46:52 -0400 From: Jerry To: FreeBSD Message-ID: <20120429124652.75dce59e@scorpio> In-Reply-To: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQk/03Yq0IAEJQGS0X0qPNC1ZnKUsBzPnmCwxM3iUVC2tgIECSFpM7tSoA6eyXnZyPMcDWSi Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 16:46:56 -0000 On Sun, 29 Apr 2012 12:25:39 -0400 Daniel Staal articulated: {SNIP} >Which would be fine, if annoying, if everything actually was available >in Ports. But it's not: I'm using several modules that aren't >available from Ports, and of course the modules I'm *developing* >aren't available from Ports. Which specific modules are not available? In the past I had to port a few Perl modules into FreeBSD or else install them via CPAN as you have done. If it is a simple module, I can show you how to do it or make a port for it myself. Also, you should be aware that many modules are available in the ports system, but not under the correct CPAN name. Don't ask why; I did once and got so much BS that I just abandoned the question. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 17:16:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 732511065A17 for ; Sun, 29 Apr 2012 17:16:22 +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 260538FC0A for ; Sun, 29 Apr 2012 17:16:22 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SOXjI-0002kE-R4 for freebsd-questions@freebsd.org; Sun, 29 Apr 2012 19:16:12 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Apr 2012 19:16:12 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Apr 2012 19:16:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Sun, 29 Apr 2012 17:15:57 +0000 (UTC) Lines: 19 Message-ID: References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> <20120429103740.aa7df743.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 17:16:22 -0000 Alejandro Imass p2ee.org> writes: > ... > And there was a log of a couple of ftp connections the same day this > happened, the ONLY 3 messages before the reboot at about 6 pm and they > were NOT from any of our customers. Here are the log entries: > > Apr 27 05:54:37 nune ftp.proxy[2726]: connected to client: > host-46-50-183-5.bbcustomer.zsttk.net, interface= 207.158.52.74:21 > Apr 27 05:54:37 nune ftp.proxy[2726]: info: monitor mode: off, ccp: > Apr 27 05:54:38 nune ftp.proxy[2726]: -ERR: missing hostname > Apr 27 18:55:42 nune syslogd: kernel boot file is /boot/kernel/kernel > ... What you should do right now is to get some recent general or security cd/dvd with chkrootkit and rkhunter and run them from that external read-only media. I would also suggest that you look over config files of all packages involved. jb From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 17:23:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A7FF1065670 for ; Sun, 29 Apr 2012 17:23:51 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id CE3EA8FC08 for ; Sun, 29 Apr 2012 17:23:50 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 3VgbMV33KgzCp for ; Sun, 29 Apr 2012 13:23:50 -0400 (EDT) Date: Sun, 29 Apr 2012 13:23:23 -0400 From: Daniel Staal To: FreeBSD Message-ID: <5DB8A0B92D4567653ED8604F@mac-pro.magehandbook.com> In-Reply-To: <20120429124652.75dce59e@scorpio> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> <20120429124652.75dce59e@scorpio> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 17:23:51 -0000 --As of April 29, 2012 12:46:52 PM -0400, Jerry is alleged to have said: >> Which would be fine, if annoying, if everything actually was available >> in Ports. But it's not: I'm using several modules that aren't >> available from Ports, and of course the modules I'm *developing* >> aren't available from Ports. > > Which specific modules are not available? In the past I had to port a > few Perl modules into FreeBSD or else install them via CPAN as you have > done. If it is a simple module, I can show you how to do it or make a > port for it myself. Also, you should be aware that many modules are > available in the ports system, but not under the correct CPAN name. > Don't ask why; I did once and got so much BS that I just abandoned the > question. --As for the rest, it is mine. I'm still in early development, so the list is likely to grow as the project moves along. The main one that's causing me trouble at the moment is CGI::Application::Plugin::CompressGzip, although I've noticed that several others of the CGI::Application set that look interesting and useful aren't in the ports system. And, of course, there is the modules I'm developing for this project. Making ports for each one feels like a band-aid though: It's a 'solution' that's just going to grow in complexity and scope the longer it goes on, and isn't really fixing anything other than the individual symptoms. A real solution to me would either be a way to get "@comment ORIGIN:" to automatically populate in the bsdpan-* (CPAN) module install process, or a way to get portmanager to ignore modules installed via that process. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 17:36:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B423B106564A for ; Sun, 29 Apr 2012 17:36:59 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4DCB48FC15 for ; Sun, 29 Apr 2012 17:36:59 +0000 (UTC) Received: by yhgm50 with SMTP id m50so1270247yhg.13 for ; Sun, 29 Apr 2012 10:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=fwAYDF0tKM2o9C2JsMpk2FSspM2Wssk5U0DE/Y5j+5Y=; b=VTN11xGaBWWHBtqtDJRzHtJGCQDWINMwqSQIWPBN8NKNwKdmpNT9YjmNhgb/HByxM8 nN8f7OHwmUrvtGmzte5OXI8QAMWrsx0ishK6AhM1P+xadSbhTlSdOyUoM2JpOk9cLUQk mOXZfo9laT4R0VszXk1CN0p9PlagimE4gT+50= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=fwAYDF0tKM2o9C2JsMpk2FSspM2Wssk5U0DE/Y5j+5Y=; b=H+sXCKx/8Ac4G36SjPEtxXTwtoO3mJFkYj0IXD+MSargIpPIc/CxZ1xo52P+p2K+3T fU1SSVia9AYZidZQnF/84pOhwx6xRBPkHKaxdw03tSwjRShR+4OduHMxSvaX0GGNSEWg 6j93bOsLEyKPH4f1HVZEa6pchaEt9asVlP4nncKC55r4p45YcEuyY813du++4FWNMYE/ GIfXHh1dgp3ut0Dyf/6iQAPwNka4LrPoyGXwFj2BWbdO3aCVH+rvez8fM4BW2vCtUbI4 d7tcIaGMxZLL8olHW86sib2Mi0RldCOxxskulOs8qD7V7baztf2rmykBuMGHmKYYfO9Y UR3A== Received: by 10.236.103.99 with SMTP id e63mr19196844yhg.116.1335721018298; Sun, 29 Apr 2012 10:36:58 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id d25sm61872542yhe.4.2012.04.29.10.36.56 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 Apr 2012 10:36:57 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3Vgbfb62lpz2CG5r for ; Sun, 29 Apr 2012 13:36:55 -0400 (EDT) Date: Sun, 29 Apr 2012 13:36:55 -0400 From: Jerry To: FreeBSD Message-ID: <20120429133655.7f7a38c5@scorpio> In-Reply-To: <5DB8A0B92D4567653ED8604F@mac-pro.magehandbook.com> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> <20120429124652.75dce59e@scorpio> <5DB8A0B92D4567653ED8604F@mac-pro.magehandbook.com> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQm4LAoIb0OgEaL31RksoKlLl0eUCdNy7E6TX6oBAjfuq0c0MQjUihIhodSaltpj0gL9fAdh Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 17:36:59 -0000 On Sun, 29 Apr 2012 13:23:23 -0400 Daniel Staal articulated: >--As of April 29, 2012 12:46:52 PM -0400, Jerry is alleged to have >said: > >>> Which would be fine, if annoying, if everything actually was >>> available in Ports. But it's not: I'm using several modules that >>> aren't available from Ports, and of course the modules I'm >>> *developing* aren't available from Ports. >> >> Which specific modules are not available? In the past I had to port a >> few Perl modules into FreeBSD or else install them via CPAN as you >> have done. If it is a simple module, I can show you how to do it or >> make a port for it myself. Also, you should be aware that many >> modules are available in the ports system, but not under the correct >> CPAN name. Don't ask why; I did once and got so much BS that I just >> abandoned the question. > >--As for the rest, it is mine. > >I'm still in early development, so the list is likely to grow as the >project moves along. The main one that's causing me trouble at the >moment is CGI::Application::Plugin::CompressGzip, although I've >noticed that several others of the CGI::Application set that look >interesting and useful aren't in the ports system. And, of course, >there is the modules I'm developing for this project. > >Making ports for each one feels like a band-aid though: It's a >'solution' that's just going to grow in complexity and scope the >longer it goes on, and isn't really fixing anything other than the >individual symptoms. A real solution to me would either be a way to >get "@comment ORIGIN:" to automatically populate in the bsdpan-* >(CPAN) module install process, or a way to get portmanager to ignore >modules installed via that process. UNTESTED: In the /usr/local/etc/portmanager/pm-020.conf file, add the specific port(s) you are trying to bypass. EXAMPLE: IGNORE|www/tidy| Again, this is untested, but I have used it for other ports that I needed to skip. I will have a look at the CPAN module: CGI::Application::Plugin::CompressGzip later today or tomorrow and see if I can make a port of it for you. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 17:56:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BD41106566C for ; Sun, 29 Apr 2012 17:56:30 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id E013F8FC08 for ; Sun, 29 Apr 2012 17:56:29 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 3Vgc590bmJzD0 for ; Sun, 29 Apr 2012 13:56:29 -0400 (EDT) Date: Sun, 29 Apr 2012 13:56:02 -0400 From: Daniel Staal To: FreeBSD Message-ID: <3D96C247435FAD11DE43BA60@mac-pro.magehandbook.com> In-Reply-To: <20120429133655.7f7a38c5@scorpio> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> <20120429124652.75dce59e@scorpio> <5DB8A0B92D4567653ED8604F@mac-pro.magehandbook.com> <20120429133655.7f7a38c5@scorpio> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 17:56:30 -0000 --As of April 29, 2012 1:36:55 PM -0400, Jerry is alleged to have said: > UNTESTED: In the /usr/local/etc/portmanager/pm-020.conf file, add the > specific port(s) you are trying to bypass. > > EXAMPLE: > > IGNORE|www/tidy| > > Again, this is untested, but I have used it for other ports that I > needed to skip. --As for the rest, it is mine. Yes, that works for *ports.* Unfortunatly, it doesn't appear to work for non-ports that are installed but show up in the ports system. (The bsdpan-* stuff.) (Note: The error I quoted earlier is the very first thing that shows up when I run portmanager - it then goes on to collect installed port data, and notes but skips a couple that I had already put in to be ignored. The error I'm having appears to occur before that step - and interferes with the proper collection of installed port data.) Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 18:09:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5112106564A for ; Sun, 29 Apr 2012 18:09:56 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A38BF8FC14 for ; Sun, 29 Apr 2012 18:09:56 +0000 (UTC) Received: by iahk25 with SMTP id k25so4499569iah.13 for ; Sun, 29 Apr 2012 11:09:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=HGW1+UcuQy+vuE8LHn8qXo34jhWBezW/pQojcbN1Dhk=; b=F2ADcSmIsDkiaYzKX7WbkZ7vuP+4efvdfxu549dAL9blA/OZDavl02xcUXJDppgn8K mBpSI+OhMzL2NX1L2I/h6BYiWx7uGACfp01prdG3742KX+uvp43pNiELrTD8QjBvlAEf JXxx49HUayQi0PGoajfcA9tLTve7oC1FrnUoZG6LYNds6y/uR5bJLg8hJAbLvL2wmQwV hH7Mv2hWUmmg2FvxzyDXz0Mjl7Y6jwyhJTxLv8uAT1/266xNOygyftmP9L6+IdwQ3Amu ZSPDK19/CkW/JQcfBrAM2eykgxF39AIlhSuFl6ahqvBjqJHGGnIjCYxzbiI+5tCo9ix0 lpCw== MIME-Version: 1.0 Received: by 10.42.142.71 with SMTP id r7mr1385124icu.7.1335722996195; Sun, 29 Apr 2012 11:09:56 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Sun, 29 Apr 2012 11:09:56 -0700 (PDT) In-Reply-To: References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> <20120429103740.aa7df743.freebsd@edvax.de> Date: Sun, 29 Apr 2012 14:09:56 -0400 X-Google-Sender-Auth: _QMIUCOXhZpfk1r8OgZBYjnjO5E Message-ID: From: Alejandro Imass To: jb Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQk1r2BoKGY6L7tiZHp+a88T1xdd11Vzc0seFKriUaGJOV+2Igzm4cwKLFxAZua3Rho641aJ Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 18:09:57 -0000 On Sun, Apr 29, 2012 at 1:15 PM, jb wrote: > Alejandro Imass p2ee.org> writes: > >> ... >> And there was a log of a couple of ftp connections the same day this >> happened, the ONLY 3 messages before the reboot at about 6 pm and they >> were NOT from any of our customers. Here are the log entries: >> >> Apr 27 05:54:37 nune ftp.proxy[2726]: connected to client: >> host-46-50-183-5.bbcustomer.zsttk.net, interface= 207.158.52.74:21 >> Apr 27 05:54:37 nune ftp.proxy[2726]: info: monitor mode: off, ccp: >> Apr 27 05:54:38 nune ftp.proxy[2726]: -ERR: missing hostname >> Apr 27 18:55:42 nune syslogd: kernel boot file is /boot/kernel/kernel >> ... > > What you should do right now is to get some recent general or security cd/dvd > with chkrootkit and rkhunter and run them from that external read-only media. > I would also suggest that you look over config files of all packages involved. > jb > Thanks! Will do, but I don't know of any FreeBSD and/or derived distros for security. Or can I use any Linux security distro? I remember reading about some trouble of Linux chkrootkit on FBSD.... Thanks, -- Alejandro > > _______________________________________________ > 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 Sun Apr 29 18:25:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E5D91065670 for ; Sun, 29 Apr 2012 18:25:41 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6F2438FC14 for ; Sun, 29 Apr 2012 18:25:41 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 3Vgckr6nZMzD6 for ; Sun, 29 Apr 2012 14:25:40 -0400 (EDT) Date: Sun, 29 Apr 2012 14:25:14 -0400 From: Daniel Staal To: FreeBSD Message-ID: In-Reply-To: <20120429133655.7f7a38c5@scorpio> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> <20120429124652.75dce59e@scorpio> <5DB8A0B92D4567653ED8604F@mac-pro.magehandbook.com> <20120429133655.7f7a38c5@scorpio> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 18:25:41 -0000 --As of April 29, 2012 1:36:55 PM -0400, Jerry is alleged to have said: > I will have a look at the CPAN module: > CGI::Application::Plugin::CompressGzip later today or tomorrow and see > if I can make a port of it for you. --As for the rest, it is mine. Sorry, I should have put this in the other email... While I'd thank you for the consideration and effort, I'd consider this time poorly spent: CGI::Application::Plugin::CompressGzip is not the problem, it's just the current showstopper symptom. The problem is the bsdpan system, which tries to integrate CPAN with the ports system. It needs to either: A. Work. or B. Get out of the way. If you want to spend time on this, please rather than create a band-aid, see if you can find the root problem in wherever the bsdpan system is, and submit a patch upstream (to whomever is in charge of that) to fix it. (Or remove it.) It might take a bit longer, but instead of fixing it for *me* *this week,* you'd fix it for *everyone* for quite a bit longer. I'm hoping someone on this list knows some of where that might be, or might even be the person to talk to in order to get it fixed. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 19:03:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D63F106566B for ; Sun, 29 Apr 2012 19:03: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 C4B6C8FC1D for ; Sun, 29 Apr 2012 19:02:59 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SOZOZ-0004n9-OP for freebsd-questions@freebsd.org; Sun, 29 Apr 2012 21:02:55 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Apr 2012 21:02:55 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 29 Apr 2012 21:02:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Sun, 29 Apr 2012 19:02:41 +0000 (UTC) Lines: 32 Message-ID: References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <20120428200116.b2f5820e.freebsd@edvax.de> <4f9ced3a.f7WBDlsMkhxvy+eF%perryh@pluto.rain.com> <20120429103740.aa7df743.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 19:03:00 -0000 Alejandro Imass p2ee.org> writes: > ... > > What you should do right now is to get some recent general or security cd/dvd > > with chkrootkit and rkhunter and run them from that external read-only media. > > I would also suggest that you look over config files of all packages > > involved. > > jb > > > > Thanks! Will do, but I don't know of any FreeBSD and/or derived > distros for security. Or can I use any Linux security distro? I > remember reading about some trouble of Linux chkrootkit on FBSD.... It looks like you have only one choice with prebuilt rkhunter package only: http://www.freebsd.org/releases/9.0R/announce.html dvd1 This contains everything necessary to install the base FreeBSD operating system, a collection of pre-built packages aimed at getting a graphical workstation up and running. It also supports booting into a "livefs" based rescue mode. This should be all you need if you can burn and use DVD-sized media. ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/security/ rkhunter-1.3.8_1.tbz 04/18/12 18:56:00 With regard to verification of config files - you said you got backups (those pre-incident would be best) and you have the incident-time files, so do a diff on dirs (in particular /etc and /usr/local/etc) jb From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 19:11:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 801EC1065679 for ; Sun, 29 Apr 2012 19:11:24 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 0C2938FC16 for ; Sun, 29 Apr 2012 19:11:23 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so1741899wib.13 for ; Sun, 29 Apr 2012 12:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=AV5+IIDiDZMqwzxFp1udy4BdI19OIlZSTW34hacWSFQ=; b=PzMX7WoqFtdZUSd9bBlutU6wwodPRSVDZbfVAQ3aNAYjlNYVHLhBE9elF3qAvw7/so te9BlCb19G4NWc8P+gkeFMDmO29QbfdWarSdmeXYAPjbDEhHXxlFuNL1HwDRwuvS8VIC K1A2RL41pja6LcMsG4w9e/S2GHj1UFEK50Y5k7wXqVxdMDGaIRis2JvWt3BUZt6uz04D b4tM4XSMwQfjuMhpnIkEpXKo6C6whogAeD3oylFkTVtmux5UFkKgl6DtDl8qICpvqzIZ dUNq/Mxu2N4sWQxONnmG76uLea1pOfUFB84+42GdQZlFu53DTpH6ugWSor/vKao83RVt OpDA== Received: by 10.180.24.7 with SMTP id q7mr619261wif.11.1335726682766; Sun, 29 Apr 2012 12:11:22 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id fz9sm22920086wib.3.2012.04.29.12.11.21 (version=SSLv3 cipher=OTHER); Sun, 29 Apr 2012 12:11:21 -0700 (PDT) Date: Sun, 29 Apr 2012 20:11:19 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120429201119.40dab762@gumby.homeunix.com> In-Reply-To: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 19:11:24 -0000 On Sun, 29 Apr 2012 12:25:39 -0400 Daniel Staal wrote: > So, is there any way to *avoid* getting that error? Some way where I > can actually use the ports system to keep my stuff up to date? (Even > if it doesn't include the manually-installed software?) It think you should be able to prevent the package entries by setting DISABLE_BSDPAN in the environment. From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 19:38:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 76633106566B for ; Sun, 29 Apr 2012 19:38:00 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 4712F8FC08 for ; Sun, 29 Apr 2012 19:38:00 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 3VgfLH2ynSzDN; Sun, 29 Apr 2012 15:37:59 -0400 (EDT) Date: Sun, 29 Apr 2012 15:37:32 -0400 From: Daniel Staal To: RW , freebsd-questions@freebsd.org Message-ID: <2D1B8E3FDD8BBACDEDBCCD0C@mac-pro.magehandbook.com> In-Reply-To: <20120429201119.40dab762@gumby.homeunix.com> References: <5FA2ED712FBE68411492AC6A@mac-pro.magehandbook.com> <20120429201119.40dab762@gumby.homeunix.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: bsdpan-* ports, portmanager, and "@comment ORIGIN:" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 19:38:00 -0000 --As of April 29, 2012 8:11:19 PM +0100, RW is alleged to have said: >> So, is there any way to *avoid* getting that error? Some way where I >> can actually use the ports system to keep my stuff up to date? (Even >> if it doesn't include the manually-installed software?) > > > It think you should be able to prevent the package entries by setting > DISABLE_BSDPAN in the environment. --As for the rest, it is mine. Semi-successful: It appears to work for `cpanp` installed modules, but not `cpan` installed modules. And for some reason, p5-CPANPLUS won't install correctly (no errors, it just doesn't actually install the client), so `cpanp` is a `cpan` installed module... (And yes, this is after reinstalling them.) So it looks like it's getting me partway there, but not all the way. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 23:01:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84F8E106566C for ; Sun, 29 Apr 2012 23:01:57 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy5-pub.bluehost.com (oproxy5.bluehost.com [IPv6:2605:dc00:100:2::a5]) by mx1.freebsd.org (Postfix) with SMTP id 41BE28FC08 for ; Sun, 29 Apr 2012 23:01:57 +0000 (UTC) Received: (qmail 19025 invoked by uid 0); 29 Apr 2012 23:01:57 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 29 Apr 2012 23:01:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=tRDUnDKsyuNd71HR/o6+koPNQbJGI/RzSq+jXQYa9OM=; b=acHgUajYxQyqFxqMcq/7WcWbY2xjUWJDAh8jObzyqsuXl7OlAaySUaKJu6mACK1jiO95pNtmvl3C+9OZ0KJuO6ZXG3nRsnHGkN86KnXZv82LOT/VC/V+6GdaaRbuWial; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SOd7s-00013c-GD for freebsd-questions@freebsd.org; Sun, 29 Apr 2012 17:01:56 -0600 Date: Sun, 29 Apr 2012 17:01:56 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120429230156.GA31605@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120424190227.GA1773@mech-cluster241.men.bris.ac.uk> <20120425053133.e920b091.freebsd@edvax.de> <20120425064507.GA4673@mech-cluster241.men.bris.ac.uk> <20120425085555.36f91b3a.freebsd@edvax.de> <20120426215256.GA30059@hemlock.hydra> <20120427180051.4260a9f5@scorpio> <20120428003613.GC22822@hemlock.hydra> <20120428080113.bdfe54f4.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120428080113.bdfe54f4.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: editor that understands CTRL/B, CTRL/I, CTRL/U X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 23:01:57 -0000 On Sat, Apr 28, 2012 at 08:01:13AM +0200, Polytropon wrote: > On Fri, 27 Apr 2012 18:36:13 -0600, Chad Perrin wrote: > > On Fri, Apr 27, 2012 at 06:00:51PM -0400, Jerry wrote: > > > On Fri, 27 Apr 2012 14:33:29 -0700 David Brodbeck articulated: > > > > > > > >Again, this is one of the reasons credit scoring is becoming so > > > >popular -- it's an almost automatic way to narrow down the pile. > > > >Another method in common use right now is to throw out applications > > > >from anyone who's currently unemployed, and only look at ones who > > > >already have a position and are looking to change jobs. > > > > > > I have been told by several people in HR that the trend to give > > > preference to those all ready working as opposed to the unemployed is > > > based on the philosophy that if no one else will hire them, then why > > > should we. While we could argue whether that logic is flawed, it is > > > never-the-less presently in use. However, it doesn't really pertain to > > > entry level openings. With the glut of individuals entering the job > > > market, for an applicant to not be proficient in the skills being > > > advertised for by the prospective employer is just a waste of time. If > > > the employer is looking for skill "A" and "B", crying to him/her that > > > you have skill "C" is just a waste of both your times. > > > > It *does* pertain to "entry level" positions, because (from what I have > > seen) most "entry level" positions come with an experience requirement of > > at least two years. > > But then this would invalidate "ENTRY level". How exactly is > an applicant supposed to get a job from that "entry level" pool > when he doesn't have previous experience because he simply wants > to ENTER that field of profession? Yes -- that is *exactly* the question that comes up. These are not jobs that are "entry level" in terms of requirements, even if they are "entry level" in terms of pay and actual skill required to do the job to a reasonable level of competence. Consider examples like first-level call center jobs that require a college degree and a couple years expericence, as pretty much the canonical example. In some cases, these jobs may simple be advertised this way so hiring managers can use the lack of "qualified" applicants to help justify offshoring jobs. In other cases, this is just an example of how HR "best practices" have gotten ridiculously out of control, where everybody tries to copy what everyone else is doing because if everyone else is doing it you can't get in trouble for doing the same thing. The end result, of course, is that you only get people with experience who nobody else wants to hire or people who lie well -- but on paper it looks like you went to great lengths to hire the "right" person, and thus you (hopefully) can't be blamed for hiring turkeys. > > > > You speak as though you think they're correctly identifying the skills > > they actually need from their employees. A big part of this entire > > discussion has been about the fact that many "responsible" parties in the > > hiring process are utterly without capacity for correctly identifying the > > skills they actually need to optimally fill the open positions. > > Correct, at least that's my experience. To give you _few_ examples > which are more the norm than exceptions: > > "good MS standart knowledge" > (Yavoll mein Hare Heiny Standart-Leader von Sowercrowd!) > > "programming knowledge in established programming languages, e. g. OS2" > (cc hello.os2, and it's OS/2 with slash) > > "modern Microsoft operating systems (Windows 98 and XP)" > (yes, _very_ modern and current; hey, it's more than 10 years old!) > > "extended basic knowledge" > (so what, basic or extended?) > > "autonomous team-oriented working" > (maybe as a one man team!) > > It's "funny" when you encounter job offers by recruiters and HR > services who _fail_ to properly spell our native language, but > think they are in a positition to place _you_ (as a professional) > into a good job! Okay, it's NOT funny. It's also not funny if you > have to explain to such a "senior consultant permanent placement" > how to open a PDF file containing your application documents, and > it's even worse when they try to trick you to do their work, e. g. > enter all your data again into their (!) HR database. > > As I said, the problem of the unclear expression _what_ skills > actually are needed can make it hard to properly apply for a job. > This problem isn't only present for written application, it's also > there if you get invited to an interview and the guy across the > table is simply asking the wrong questions, or unable to understand > your answers. I think a far worse problem than the failure to understand what skills are needed is the failure to understand things like 1. what skills can be learned easily in a very short period of time so that focus on other necessary skills already existing can be employed in selecting candidates 2. why disqualifying candidates for stupidities that have nothing to do with their skills and other actually suitable qualities for the job is counterproductive -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Sun Apr 29 23:04:40 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 188A41065670 for ; Sun, 29 Apr 2012 23:04: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 CA5258FC12 for ; Sun, 29 Apr 2012 23:04:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3TN4diC014440 for ; Sun, 29 Apr 2012 17:04:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3TN4dGC014437 for ; Sun, 29 Apr 2012 17:04:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 29 Apr 2012 17:04:39 -0600 (MDT) From: Warren Block To: questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 29 Apr 2012 17:04:39 -0600 (MDT) Cc: Subject: First character typed lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2012 23:04:40 -0000 On a Gateway ML6732 notebook, FreeBSD 9-stable is working great. Video works (i915), sound works, the only thing that isn't quite right is that the first character typed after the FreeBSD kernel loads is lost. After that, it works normally. This makes entering a passphrase more challenging. Any suggestions on what to check? ACPI? atkbd hints? Currently it's running 9-stable, but did the same thing with 8.x. Of course it works normally for the BIOS and boot menu, FreeBSD loader menu, Windows, and Xubuntu. The system is not terribly old, a Pentium Dual T2390, and this is with a GENERIC kernel. sysctl shows dev.atkbdc.0.%desc: Keyboard controller (i8042) dev.atkbdc.0.%driver: atkbdc dev.atkbdc.0.%location: handle=\_SB_.PCI0.LPCB.PS2K dev.atkbdc.0.%pnpinfo: _HID=PNP0303 _UID=0 dev.atkbdc.0.%parent: acpi0 dev.atkbd.0.%desc: AT Keyboard dev.atkbd.0.%driver: atkbd dev.atkbd.0.%parent: atkbdc0 dmesg shows atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 01:52:29 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ADA7D106566B for ; Mon, 30 Apr 2012 01:52:29 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3F94C8FC08 for ; Mon, 30 Apr 2012 01:52:29 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so1867614wib.13 for ; Sun, 29 Apr 2012 18:52:28 -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=V2qjei2vECUwi6WTTl7Q0nz+Uo8x9yfQD5BbUbLeqtc=; b=kOIv4rgJh16FzxP72VZDgry7SESbqgsj17gofKB6KgnsWRjsiaz41EfzbJkwltbfHi L2XjN+o0NuIDphMznty1LbxyrgQC3qllgpNzR/dgIh5V54gptdkGAlx5ReWWlC9iG44P UV28NB5/5BwHyOdVr47ZQbPMyPFqOJaUiQbb51y/QtFfLG41ACrKvXJgObUnAT0Nrfz2 daS/xSnRcw9omN2feyltqRDnC8JCI4GJJ5macvgZUEAY+ihOlxl7qznkEahSZ/WjdZgb Me+Ctu4dQMKCzcAc5lbvS1whGcStB2Y2rnevduepftOLADHFe6mwmsX6yiVikgFQX+Us W74g== MIME-Version: 1.0 Received: by 10.216.137.97 with SMTP id x75mr2974784wei.25.1335750748143; Sun, 29 Apr 2012 18:52:28 -0700 (PDT) Received: by 10.223.96.140 with HTTP; Sun, 29 Apr 2012 18:52:28 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 Apr 2012 20:52:28 -0500 Message-ID: From: Adam Vande More To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: First character typed lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 01:52:29 -0000 On Sun, Apr 29, 2012 at 6:04 PM, Warren Block wrote: > On a Gateway ML6732 notebook, FreeBSD 9-stable is working great. Video > works (i915), sound works, the only thing that isn't quite right is that > the first character typed after the FreeBSD kernel loads is lost. After > that, it works normally. This makes entering a passphrase more challenging. > > Any suggestions on what to check? ACPI? atkbd hints? > > Currently it's running 9-stable, but did the same thing with 8.x. Of > course it works normally for the BIOS and boot menu, FreeBSD loader menu, > Windows, and Xubuntu. > > The system is not terribly old, a Pentium Dual T2390, and this is with a > GENERIC kernel. > > sysctl shows > > dev.atkbdc.0.%desc: Keyboard controller (i8042) > dev.atkbdc.0.%driver: atkbdc > dev.atkbdc.0.%location: handle=\_SB_.PCI0.LPCB.PS2K > dev.atkbdc.0.%pnpinfo: _HID=PNP0303 _UID=0 > dev.atkbdc.0.%parent: acpi0 > dev.atkbd.0.%desc: AT Keyboard > dev.atkbd.0.%driver: atkbd > dev.atkbd.0.%parent: atkbdc0 > > dmesg shows > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > Sometimes ps/2 devices are actually USB ones so I might try fiddling with BIOS USB settings eg legacy mode to see that makes a difference. Maybe try suggesting a different IRQ in device.hints? Just fishing. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 03:08:04 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2577F106566C for ; Mon, 30 Apr 2012 03:08:04 +0000 (UTC) (envelope-from lars@larseighner.com) Received: from mail.team1internet.com (mail.team1internet.com [216.110.13.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0344D8FC14 for ; Mon, 30 Apr 2012 03:08:03 +0000 (UTC) Received: from larseighner.com (unknown [216.110.13.73]) by mail.team1internet.com (Postfix) with SMTP id 7A41C16B4A8; Sun, 29 Apr 2012 21:40:08 -0500 (CDT) Received: by larseighner.com (nbSMTP-1.00) for uid 1001 lars@larseighner.com; Sun, 29 Apr 2012 21:39:50 -0500 (CDT) Date: Sun, 29 Apr 2012 21:39:48 -0500 (CDT) From: Lars Eighner X-X-Sender: lars@noos.6dollardialup.com To: Warren Block In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: questions@freebsd.org Subject: Re: First character typed lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 03:08:04 -0000 On Sun, 29 Apr 2012, Warren Block wrote: > On a Gateway ML6732 notebook, FreeBSD 9-stable is working great. Video works > (i915), sound works, the only thing that isn't quite right is that the first > character typed after the FreeBSD kernel loads is lost. After that, it works > normally. This makes entering a passphrase more challenging. These are total shots in the dark: 1. It is entirely normal (and generally thought desirable) for the screensaver to swallow the first character when it is running -- see if this is worth further investigation by changing screensavers or disabling it altogether. 2. check /etc/issue to see if there is a trailing ANSI sequence that might eat a character. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 03:25:45 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CCA16106566B for ; Mon, 30 Apr 2012 03:25:45 +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 86D818FC12 for ; Mon, 30 Apr 2012 03:25:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3U3PieH015257; Sun, 29 Apr 2012 21:25:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3U3Pijo015254; Sun, 29 Apr 2012 21:25:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 29 Apr 2012 21:25:44 -0600 (MDT) From: Warren Block To: Adam Vande More In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1035907720-1335756344=:14881" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 29 Apr 2012 21:25:44 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: First character typed lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 03:25:45 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1035907720-1335756344=:14881 Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Sun, 29 Apr 2012, Adam Vande More wrote: > > On Sun, Apr 29, 2012 at 6:04 PM, Warren Block wrote: > On a Gateway ML6732 notebook, FreeBSD 9-stable is working great. Video works (i915), sound works, the only thing that isn't quite right is that the first character typed > after the FreeBSD kernel loads is lost. After that, it works normally. This makes entering a passphrase more challenging. ... > Sometimes ps/2 devices are actually USB ones so I might try fiddling with BIOS USB settings eg legacy mode to see that makes a difference. Maybe try suggesting a different IRQ in > device.hints? Just fishing. It does have a Legacy USB Support setting, and turning that off... fixed it! That would never have occurred to me. Thanks! ---902635197-1035907720-1335756344=:14881-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 03:49:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E5B01065670 for ; Mon, 30 Apr 2012 03:49:45 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 4A2C78FC08 for ; Mon, 30 Apr 2012 03:49:45 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3U3nN4Y001502; Sun, 29 Apr 2012 21:49:34 -0600 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-questions@freebsd.org Date: Mon, 30 Apr 2012 10:49:39 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201204301049.39695.erich@alogreentechnologies.com> Cc: jb Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 03:49:45 -0000 Hi, On Monday 30 April 2012 02:02:41 jb wrote: > Alejandro Imass p2ee.org> writes: > > > ... > > > What you should do right now is to get some recent general or security cd/dvd > > > with chkrootkit and rkhunter and run them from that external read-only media. > > > I would also suggest that you look over config files of all packages > > > involved. > > > jb > > > > > > > Thanks! Will do, but I don't know of any FreeBSD and/or derived > > distros for security. Or can I use any Linux security distro? I > > remember reading about some trouble of Linux chkrootkit on FBSD.... > > It looks like you have only one choice with prebuilt rkhunter package only: > http://www.freebsd.org/releases/9.0R/announce.html > > dvd1 > This contains everything necessary to install the base FreeBSD operating system, > a collection of pre-built packages aimed at getting a graphical workstation up > and running. It also supports booting into a "livefs" based rescue mode. This > should be all you need if you can burn and use DVD-sized media. > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/security/ > rkhunter-1.3.8_1.tbz 04/18/12 18:56:00 > > With regard to verification of config files - you said you got backups (those > pre-incident would be best) and you have the incident-time files, so do a diff > on dirs (in particular /etc and /usr/local/etc) > I would burn the backup of these files to an optical disk, start the system and do a diff as the first step. The system can be started from an USB drive (take the 9.0 installation image) or DVD. Of course, rkhunter can be started in the second step. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 04:29:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 162A41065670 for ; Mon, 30 Apr 2012 04:29:04 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C94D98FC12 for ; Mon, 30 Apr 2012 04:29:02 +0000 (UTC) Received: by iahk25 with SMTP id k25so5086811iah.13 for ; Sun, 29 Apr 2012 21:29:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=zKhauqaNrXU2ekgId1qfuu8GdJ790OrgZwPSpy1H/uc=; b=gvP/inzxfly3gHQ/YkczF3baGd0jxrEH57NCljYQGem8R0bnEd0BS+e4LW05NVzZ8i trro7NZwTce+qy9iX5XoDyXaINuBhmhPe6bxr5LQVsq9g/Ljt+3XV6J4ByyQSttuk8/K 3rryoXortF+gF0YlaS+Zy7XdFei4WzX7FYHCNVQyLnf76xrfmwA9NRjrWHVc/2hC+HDS pNTwHKfE8/2KqRxExeZhupUMIytbNs6DS8//ZeYm2TvHqi7XF/+PECU6QQh7FnLSsU7l 9HJWNyRFEC+NaPG19/U09X/+jmRNF/aWXrCX07KDLBwtxHbkf1fsgIu+AqqR2h/t7z+H jP3w== MIME-Version: 1.0 Received: by 10.42.139.9 with SMTP id e9mr4460525icu.43.1335760142296; Sun, 29 Apr 2012 21:29:02 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Sun, 29 Apr 2012 21:29:02 -0700 (PDT) In-Reply-To: <201204301049.39695.erich@alogreentechnologies.com> References: <201204281731.q3SHVaiM061997@mail.r-bonomi.com> <201204301049.39695.erich@alogreentechnologies.com> Date: Mon, 30 Apr 2012 00:29:02 -0400 X-Google-Sender-Auth: Su4xbZ2CJsW2YCSLPHG-Qg0ePwM Message-ID: From: Alejandro Imass To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkdgNDI2vk17AcKaC/mVClEqrSntcSXjry6/3X5Aq390e8muKf/wRBSwWgn+w0jSPgaGUhw Cc: jb , freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 04:29:04 -0000 On Sun, Apr 29, 2012 at 11:49 PM, Erich Dollansky wrote: > Hi, > > On Monday 30 April 2012 02:02:41 jb wrote: >> Alejandro Imass p2ee.org> writes: >> >> > ... >> > > What you should do right now is to get some recent general or securi= ty cd/dvd >> > > with chkrootkit and rkhunter and run them from that external read-on= ly media. >> > > I would also suggest that you look over config files of all packages >> > > involved. >> > > jb >> > > >> > >> > Thanks! Will do, but I don't know of any FreeBSD and/or derived >> > distros for security. Or can I use any Linux security distro? I >> > remember reading about some trouble of Linux chkrootkit on FBSD.... >> >> It looks like you have only one choice with prebuilt rkhunter package on= ly: >> http://www.freebsd.org/releases/9.0R/announce.html >> >> dvd1 >> This contains everything necessary to install the base FreeBSD operating= system, >> a collection of pre-built packages aimed at getting a graphical workstat= ion up >> and running. It also supports booting into a "livefs" based rescue mode.= This >> should be all you need if you can burn and use DVD-sized media. >> >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/security/ >> rkhunter-1.3.8_1.tbz =A0 =A0 =A0 =A0 =A004/18/12 =A0 =A0 =A0 =A018:56:00 >> >> With regard to verification of config =A0files - you said you got backup= s (those >> pre-incident would be best) and you have the incident-time files, so do = a diff >> on dirs (in particular /etc and /usr/local/etc) >> > I would burn the backup of these files to an optical disk, start the syst= em and do a diff as the first step. The system can be started from an USB d= rive (take the 9.0 installation image) or DVD. > > Of course, rkhunter can be started in the second step. ran both, found nothing Back to theory on how the http-proxy jail 'swallowed' all the other jails including the basejail. I noticed that jail had a not so old bug in 2010 FBSD 8.0 which The jail(8) utility does not change the current working directory while imprisoning. The current working directory can be accessed by its descendants. Reference: http://security.freebsd.org/advisories/FreeBSD-SA-10:04.jail.asc Given that EzJail uses a single basejail and links/mounts stuff in the child jails it would seem plausible (regression?) that somehow any jail could access other jails' files, or that _maybe_ in an event of crash the nullsfs mounts confuse the system somehow when fsck restores or the journal is recovered. Whatever the cause, it actually happened and I have already ruled out just about anything. It doesn't seem to have been an attack, it surely wasn't me, and EzJail author agrees it was not the EzJail scripts. So maybe nullfs and journaling, or crash + nullfs + journaling, could cause something like this to happen? Maybe journal has some confusion on restoring the nullfs view of the directories or something after bad crash like this one?? From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:01:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD89E106564A for ; Mon, 30 Apr 2012 05:01:05 +0000 (UTC) (envelope-from kreoso@googlemail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7A38FC08 for ; Mon, 30 Apr 2012 05:01:05 +0000 (UTC) Received: by weyt57 with SMTP id t57so1996265wey.13 for ; Sun, 29 Apr 2012 22:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=60UKQTHof9wd1YTq4IX7bOhKRmNpi7iR0qb6Bc2q/IE=; b=UARwlJF/lfLuOGdJuvSmzsQFvg6R6KN6Ak/lDPO+WDUMloCiReeIykuGw9LNtsNNdj 8qwx0zjkEtPNUwPWCPl0MrGp3NF3l9brLR2hg7JWAYbzK3r0Knh5VDVvIOH+rzHyWEEX bgAlllc9amkxs1oTR8qNfcuq/iwngsmQdzqgJxObAiUT6zTyEeDg0mohpiO6HXXuiuKj SeZ4ptLWr5ppH0D2wv0DS7SK0JGoyRCZfFVaYwXLUwH21ulpf5FSatTH+sjbY6GNrVmS FVXmLpHKGa+gvrsmdYpaLvdRRlolMysMQzYdbKY3/ode6NoxUmNKjrXTbJdEExQbgJOo xVbw== MIME-Version: 1.0 Received: by 10.180.101.230 with SMTP id fj6mr25878791wib.13.1335762064248; Sun, 29 Apr 2012 22:01:04 -0700 (PDT) Received: by 10.223.118.12 with HTTP; Sun, 29 Apr 2012 22:01:04 -0700 (PDT) Date: Mon, 30 Apr 2012 07:01:04 +0200 Message-ID: From: Jong-Beom Kim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:01:05 -0000 I have installed FreeBSD 9.0 last night and so far, so good except firefox installation. it simply doesn't build with this message. # make install clean ===> firefox-12.0,1 is marked as broken: does not build. *** Error code 1 Stop in /usr/ports/www/firefox. is it just me or is firefox really broken currently? -- *Kim* From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:01:14 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9D751065749 for ; Mon, 30 Apr 2012 05:01:14 +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 9548A8FC0A for ; Mon, 30 Apr 2012 05:01:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3U51DZO015510; Sun, 29 Apr 2012 23:01:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3U51DG5015507; Sun, 29 Apr 2012 23:01:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 29 Apr 2012 23:01:13 -0600 (MDT) From: Warren Block To: Lars Eighner In-Reply-To: Message-ID: References: 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.2.7 (wonkity.com [127.0.0.1]); Sun, 29 Apr 2012 23:01:13 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: First character typed lost X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:01:14 -0000 On Sun, 29 Apr 2012, Lars Eighner wrote: > On Sun, 29 Apr 2012, Warren Block wrote: > >> On a Gateway ML6732 notebook, FreeBSD 9-stable is working great. Video >> works (i915), sound works, the only thing that isn't quite right is that >> the first character typed after the FreeBSD kernel loads is lost. After >> that, it works normally. This makes entering a passphrase more >> challenging. > > These are total shots in the dark: > > 1. It is entirely normal (and generally thought desirable) for the > screensaver to swallow the first character when it is running -- see if this > is worth further investigation by changing screensavers or disabling it > altogether. > > 2. check /etc/issue to see if there is a trailing ANSI sequence that might > eat a character. Interesting suggestions. Turning off legacy USB support in the BIOS as suggested by Adam seems to have fixed it. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:22:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 885B21065670 for ; Mon, 30 Apr 2012 05:22:58 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC748FC08 for ; Mon, 30 Apr 2012 05:22:58 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 30 Apr 2012 01:21:49 -0400 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BLT62093; Mon, 30 Apr 2012 01:21:49 -0400 Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp04.lnh.mail.rcn.net with ESMTP; 30 Apr 2012 01:21:46 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20382.8553.64236.829751@jerusalem.litteratus.org> Date: Mon, 30 Apr 2012 01:21:45 -0400 To: Jong-Beom Kim In-Reply-To: References: X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:22:58 -0000 Jong-Beom Kim writes: > I have installed FreeBSD 9.0 last night and so far, so good except firefox > installation. > > it simply doesn't build with this message. > > # make install clean > ===> firefox-12.0,1 is marked as broken: does not build. > *** Error code 1 > > Stop in /usr/ports/www/firefox. > > is it just me or is firefox really broken currently? Works for me on FreeBSD 10.0-CURRENT #0: Sun Mar 11 08:20:02 EDT 2012 amd64 I would have built it within a day or two of the port being released. Respectfully, Robert Huff From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:23:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CA68106564A for ; Mon, 30 Apr 2012 05:23:02 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 82A4B8FC0A for ; Mon, 30 Apr 2012 05:23:01 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q3U5MxmI030342; Mon, 30 Apr 2012 07:22:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q3U5Mw2k030339; Mon, 30 Apr 2012 07:22:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 30 Apr 2012 07:22:58 +0200 (CEST) From: Wojciech Puchar To: Jong-Beom Kim In-Reply-To: Message-ID: References: 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 passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 30 Apr 2012 07:22:59 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:23:02 -0000 > *** Error code 1 > > Stop in /usr/ports/www/firefox. > > is it just me or is firefox really broken currently? or maybe it finally got market as such ;) As well as many other browsers. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:28:06 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDFD3106564A; Mon, 30 Apr 2012 05:28:06 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 6230C8FC0A; Mon, 30 Apr 2012 05:28:06 +0000 (UTC) Received: from [192.168.1.100] (dynamic-94-247-222-245.catv.glattnet.ch [94.247.222.245]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.4/8.14.3) with ESMTP id q3U5Rw0a006590 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Mon, 30 Apr 2012 05:28:05 GMT (envelope-from beat@FreeBSD.org) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Beat_G=E4tzi?= In-Reply-To: Date: Mon, 30 Apr 2012 07:27:56 +0200 Content-Transfer-Encoding: 7bit Message-Id: <3665AA16-76F4-490B-BA9C-E881FCEFCF09@FreeBSD.org> References: To: Jong-Beom Kim X-Mailer: Apple Mail (2.1257) Cc: freebsd-questions@FreeBSD.org Subject: Re: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:28:07 -0000 On Apr 30, 2012, at 7:01 AM, Jong-Beom Kim wrote: > I have installed FreeBSD 9.0 last night and so far, so good except firefox > installation. > > it simply doesn't build with this message. > > # make install clean > ===> firefox-12.0,1 is marked as broken: does not build. > *** Error code 1 > > Stop in /usr/ports/www/firefox. > > is it just me or is firefox really broken currently? The PGO option is currently marked broken. Please run "make config" and deselect PGO. HTH, Beat From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:29:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74E01106566B for ; Mon, 30 Apr 2012 05:29:41 +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 3163B8FC19 for ; Mon, 30 Apr 2012 05:29:41 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3U5TeUN015658; Sun, 29 Apr 2012 23:29:40 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3U5TeOn015655; Sun, 29 Apr 2012 23:29:40 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 29 Apr 2012 23:29:40 -0600 (MDT) From: Warren Block To: Jong-Beom Kim In-Reply-To: Message-ID: References: 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.2.7 (wonkity.com [127.0.0.1]); Sun, 29 Apr 2012 23:29:40 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:29:41 -0000 On Mon, 30 Apr 2012, Jong-Beom Kim wrote: > I have installed FreeBSD 9.0 last night and so far, so good except firefox > installation. > > it simply doesn't build with this message. > > # make install clean > ===> firefox-12.0,1 is marked as broken: does not build. > *** Error code 1 > > Stop in /usr/ports/www/firefox. > > is it just me or is firefox really broken currently? Turn off the PGO option. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:33:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430DD106564A; Mon, 30 Apr 2012 05:33:14 +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 F02C58FC17; Mon, 30 Apr 2012 05:33:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3U5XDF8015698; Sun, 29 Apr 2012 23:33:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3U5XDni015695; Sun, 29 Apr 2012 23:33:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 29 Apr 2012 23:33:13 -0600 (MDT) From: Warren Block To: =?ISO-8859-15?Q?Beat_G=E4tzi?= In-Reply-To: <3665AA16-76F4-490B-BA9C-E881FCEFCF09@FreeBSD.org> Message-ID: References: <3665AA16-76F4-490B-BA9C-E881FCEFCF09@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-769828100-1335763993=:14881" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 29 Apr 2012 23:33:13 -0600 (MDT) Cc: freebsd-questions@freebsd.org, Jong-Beom Kim Subject: Re: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:33:14 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-769828100-1335763993=:14881 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 30 Apr 2012, Beat Gtzi wrote: > On Apr 30, 2012, at 7:01 AM, Jong-Beom Kim wrote: >> I have installed FreeBSD 9.0 last night and so far, so good except firefox >> installation. >> >> it simply doesn't build with this message. >> >> # make install clean >> ===> firefox-12.0,1 is marked as broken: does not build. >> *** Error code 1 >> >> Stop in /usr/ports/www/firefox. >> >> is it just me or is firefox really broken currently? > > The PGO option is currently marked broken. Please run "make config" and > deselect PGO. That message really ought to be more specific, like "does not build with PGO enabled". ---902635197-769828100-1335763993=:14881-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 05:34:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB792106564A for ; Mon, 30 Apr 2012 05:34:37 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 691098FC1D for ; Mon, 30 Apr 2012 05:34:15 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q3U5XdW6030788 for ; Mon, 30 Apr 2012 07:33:47 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q3U5XVNL030785 for ; Mon, 30 Apr 2012 07:33:39 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 30 Apr 2012 07:33:31 +0200 (CEST) From: Wojciech Puchar To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 30 Apr 2012 07:33:47 +0200 (CEST) Subject: Xvnc missing font X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 05:34:37 -0000 ------- Xvnc Free Edition 4.1.3 - built Mar 27 2012 22:08:04 Copyright (C) 2002-2008 RealVNC Ltd. See http://www.realvnc.com for information on VNC. Underlying X server release 40300000, The XFree86 Project, Inc Mon Apr 30 07:30:02 2012 vncext: VNC extension running! vncext: Listening for VNC connections on port 5905 vncext: Listening for HTTP connections on port 5805 vncext: created VNC server for screen 0 error opening security policy file /usr/local/lib/X11/xserver/SecurityPolicy Could not init font path element /usr/local/lib/X11/fonts/Speedo/, removing from list! Could not init font path element /usr/local/lib/X11/fonts/CID/, removing from list! Fatal server error: could not open default cursor font 'cursor' ------ anyone know how could i install (what ports) missing files? Ordinary Xorg X server works fine. Seems like vnc port miss some dependencies. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 08:38:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC0B51065670 for ; Mon, 30 Apr 2012 08:38:38 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id A3B238FC0C for ; Mon, 30 Apr 2012 08:38:38 +0000 (UTC) Received: by iahk25 with SMTP id k25so5403268iah.13 for ; Mon, 30 Apr 2012 01:38:38 -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=RLdGXWeqZOj/qmvUcdXD9MWcO+VNueuXBeVPge2k1wY=; b=ZsLdRCnnhUkjLrjtNiROee/rO0D3CqQolImnu1Rh9YPOuN2grC1eQDaPtWTlIOPcgZ bGCQ0JS6mw31ZgtsC6077kbJ3FmBI5cpDpXl3pSTPqdjjjgxkm6GctzWgawbu5KwMB2d U0WGbNgNSyhRtroru0Pjvs/EwJCNYvjEblEnA7cYQbItkO4hXJWBl0Nmkcc1iRG8M6J3 qx7X1bGVZVGm8dsQsJweBaFYkTwPW8T9F2vmpAuo+pDf+qHZnLvpvhUIVlpfbUkC1Vcb 5PS03cm5R2CyGMnqKHBJI2NqjB/nP78XpMbMeHBYrRqZPA1UVQ1vmckLL95DyC+WbBS+ WMUw== MIME-Version: 1.0 Received: by 10.50.186.129 with SMTP id fk1mr9509911igc.73.1335775118185; Mon, 30 Apr 2012 01:38:38 -0700 (PDT) Received: by 10.50.129.35 with HTTP; Mon, 30 Apr 2012 01:38:38 -0700 (PDT) In-Reply-To: <4F917E90.9000205@uni-dortmund.de> References: <4F917E90.9000205@uni-dortmund.de> Date: Mon, 30 Apr 2012 09:38:38 +0100 Message-ID: From: krad To: Christian Baer Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: recommendation(s) for new computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 08:38:38 -0000 On 20 April 2012 16:19, Christian Baer wrote: > Mellow greetings, y'all! :-) > > After several years, I think it's about time for a new computer, since > my current one is slowly aging to a meltdown. Well, that and I currently > have the dough for a new one. So before I spend it uselessly on women, > I'll see to it that I get my new machine ASAP. ;-) > > Usage: > I want to select the components to make them FreeBSD-friendly. Just > about anything will run under Windows, so I won't make a fuss there. > Windows will run on this machine (too), because from time to time I do > enjoy a little gaming. I am not a hardcore-gamer though. About 80% of my > time at the computer is spent "in non-gaming-mode". And I certainly will > not spend extra money to play Crisis in full detail beyond 1080p. I do a > lot of writing, reading, some programming, lots of photo-work and watch > a movie from time to time. Nearly all of these 80% will bei done running > FreeBSD (or PCBSD). > > Most of these components aren't all that thrilling (because they will > run with just about anything), but you are welcome to comment on them if > you think I could/should rethink an aspect. Remember that I live in > Germany and my choice fell on things that I can easily get on the German > market. I took a look at the costs and the prices that Intel wants for > their CPUs and mainboards just blew my socks off! Therefore, I decided > that this will be an AMD-computer (again). > > - Asus Sabertooth 990FX > - AMD FX-8150 > - Corsair Vengeance 16GB Kit > [Note: This combination is known to work because a friend has exactly > those components.] > - Enermax Platimax 600W > - LG CH10LS28 > > I'll leave the case and the fans out of this discussion. :-) And SSD > (probably 256GB) is planned too. I just don't know which one yet. > > You might have noticed that there is no graphics board. That is the > actually problem I am having: Should I go with AMD or nVidia? I remember > a while back that I had trouble getting an AMD graphics board to work > properly under X. The board was too old for the official driver from AMD > and the open source driver gave me the feeling that I was back at my old > 80386. > > I doubt that I will be doing any gaming under FreeBSD (although I once > did get Warcraft 3 to run using Wine). However, I do want to be able to > use 3D effects on the desktop. What I am asking basicly is, what vendor > has better support? As an indication, should I buy an AMD-board, it will > be something like a 7950 or 7970. > > Thanks for your time, thoughts and suggestions! > > Cheers! > 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" One thing you may not have thought about is how you use your SSD. You could use it as a primary storage device or you may want to use it as an accelerator under windows, and l2arc under freebsd. If you decide on the accelerator route it may alter which motherboard you buy, and/or the number of SSD's. SSD's as primary storage will be quicker, but will generally be more expensive and hassle to use (wait before flaming). You will generally need to buy a bigger one (eg 256 gb like you mentioned), and even then you will have to juggle what to and not to put on it. Not necessarily a difficult task, but a task all the same, which may or may not need to be tweaked in the future. SSD as an accelerator means no management in terms of what to put on and not put on. You can get away with a much smaller drive (assuming you dont have masses of apps you want caching), making it much cheaper. I believe the performance isnt as good as pure SSD (mainly due to cache misses), but unless you are dealing with large data sets I have not found this a great issue. On my htpc setup I have a 60GB drive and have manually over provisioned it to 40GB. The whole windows installation minus pagefile is ~ 27 GB so i dont really see any cache misses. It also does write caching. Under windows there are two routes for acceleration. either us a z68 based board and the intel SRT drivers and a straight SSD drive or use one of the accelerator drives that use the dataplex software. It doesnt really matter which, but there are a few gotchyas. On the intel solution make sure the SATA is in raid mode before you install, not ahci, this will save you a lot of hassle and poking around in the registry. The dataplex solution at present will not work on GPT layout drives. This is rubbish in my opinion, they claim to be working on it but as yet have no date for fixing it. Both of this acceleration techniques from my experience tend to use the whole drive, not just a partition on it. Therefore is you wanted ssd l2arc if you are using zfs, it may be safer to get x2 ssd drives. 40-60 GB drives seem to be more than adequate for windows caching with diminishing returns after that, but for zfs only you can really answer that, but from the sounds of it a similar or smaller drive might do you fine there. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 10:23:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84F35106564A for ; Mon, 30 Apr 2012 10:23:56 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 16A368FC16 for ; Mon, 30 Apr 2012 10:23:56 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id C2C1B3C8E8; Mon, 30 Apr 2012 12:23:48 +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 q3UANlI4001983; Mon, 30 Apr 2012 12:23:48 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 30 Apr 2012 12:23:47 +0200 From: Polytropon To: Chad Perrin Message-Id: <20120430122347.5b5ccaea.freebsd@edvax.de> In-Reply-To: <20120429230156.GA31605@hemlock.hydra> References: <20120424190227.GA1773@mech-cluster241.men.bris.ac.uk> <20120425053133.e920b091.freebsd@edvax.de> <20120425064507.GA4673@mech-cluster241.men.bris.ac.uk> <20120425085555.36f91b3a.freebsd@edvax.de> <20120426215256.GA30059@hemlock.hydra> <20120427180051.4260a9f5@scorpio> <20120428003613.GC22822@hemlock.hydra> <20120428080113.bdfe54f4.freebsd@edvax.de> <20120429230156.GA31605@hemlock.hydra> 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 Subject: Re: editor that understands CTRL/B, CTRL/I, CTRL/U X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 10:23:56 -0000 On Sun, 29 Apr 2012 17:01:56 -0600, Chad Perrin wrote: > On Sat, Apr 28, 2012 at 08:01:13AM +0200, Polytropon wrote: > > On Fri, 27 Apr 2012 18:36:13 -0600, Chad Perrin wrote: > > > On Fri, Apr 27, 2012 at 06:00:51PM -0400, Jerry wrote: > > > > On Fri, 27 Apr 2012 14:33:29 -0700 David Brodbeck articulated: > > > > > > > > > >Again, this is one of the reasons credit scoring is becoming so > > > > >popular -- it's an almost automatic way to narrow down the pile. > > > > >Another method in common use right now is to throw out applications > > > > >from anyone who's currently unemployed, and only look at ones who > > > > >already have a position and are looking to change jobs. > > > > > > > > I have been told by several people in HR that the trend to give > > > > preference to those all ready working as opposed to the unemployed is > > > > based on the philosophy that if no one else will hire them, then why > > > > should we. While we could argue whether that logic is flawed, it is > > > > never-the-less presently in use. However, it doesn't really pertain to > > > > entry level openings. With the glut of individuals entering the job > > > > market, for an applicant to not be proficient in the skills being > > > > advertised for by the prospective employer is just a waste of time. If > > > > the employer is looking for skill "A" and "B", crying to him/her that > > > > you have skill "C" is just a waste of both your times. > > > > > > It *does* pertain to "entry level" positions, because (from what I have > > > seen) most "entry level" positions come with an experience requirement of > > > at least two years. > > > > But then this would invalidate "ENTRY level". How exactly is > > an applicant supposed to get a job from that "entry level" pool > > when he doesn't have previous experience because he simply wants > > to ENTER that field of profession? > > Yes -- that is *exactly* the question that comes up. These are not jobs > that are "entry level" in terms of requirements, even if they are "entry > level" in terms of pay and actual skill required to do the job to a > reasonable level of competence. Consider examples like first-level call > center jobs that require a college degree and a couple years expericence, > as pretty much the canonical example. Seems to exactly that way in Germany. I did talk to a HR guy last week and he explained that those requirements are typical. I think he wasn't honest about the reasons. One may be the continuous degrading of school education and the recent loss of quality in university education (due to european processes). Another reason might be that companies need to be _certified_ theirselves in order to get orders from other companies, and for that kinds of certification, it seems they have to show that they employ lots of "highly qualified personnel" in order to justify their prices. Combined with mis-naming call center positions ("virtualisation administrator / system administrator" being such a kind of 1st level phone support job, even though the name might make you thing of something totally different), it seems to be a means to lower wages by "presenting the fact" that the current applicant doesn't have a B.A. degree, but will be hired: "You know, well... we could pay you more if you've had substantial experiences and the required degree, but we can afford to pay you on entry level only. Be glad the we are doing that!" > In some cases, these jobs may simple be advertised this way so hiring > managers can use the lack of "qualified" applicants to help justify > offshoring jobs. That also sounds familiar: the current "lack of professionals" can be explained that way. It's not that the professionals are lacking per se, it's just that nobody wants to pay them proper wages. Personnel costs baaaaaad. If you pay peanuts, you get monkeys. It is that simple. The "we can't get" argument often is "we don't want to pay". Of course, this is understandable if you consider how expensive work is: taxes, taxes, lots of taxes... 1000 Euro wage can easily turn into 2000 Euro costs. (And don't believe that 1000 Euro _paid_ is much - it isn't. It's almost less worth than 1000 DM!) > In other cases, this is just an example of how HR "best > practices" have gotten ridiculously out of control, where everybody tries > to copy what everyone else is doing because if everyone else is doing it > you can't get in trouble for doing the same thing. This might be important in the B2B sector, especially the "pro- paganda" that brings orders to companies. In case the word "they hire lower-qualified personnel" or "they pay their workers too much" might result in a loss of orders for that company, because they're "doing it wrong". Note that innovative business has always "done wrong". :-) > I think a far worse problem than the failure to understand what skills > are needed is the failure to understand things like > > 1. what skills can be learned easily in a very short period of time so > that focus on other necessary skills already existing can be employed in > selecting candidates That shouldn't be any UNfamiliar. You don't learn to be a programmer at the university, and you don't get experience for working in company B during your professional education in company A. There is _always_ some time needed to get familiar with how things are done at your new workplace - and that's no problem. It hasn't been a problem for over 100 years, why should it now? As I said, a GENERIC SKILL is learning per se. If you can do that, you will be good at knowing how to do things in your new job in a few time. And you are treated fair, you _may_ even invest your free time (non-work time) to learn more. We currently have a cultural problem of "work vs. non-work" that is present nearly everywhere, in production and in service. The things you're doing at work are likely _not_ things you do in your free time. However, "geeks & nerds" tend to do programming stuff, reading docs and practicing coding in their free time too. In the past, I did often say: "You're paying me for what I would do for free anyway." :-) The "standard" scaling models of "being good at " are hard to make a proper selection, because learning is not static. Just because someone is _now_ good at some programming language does not neccessarily imply that he will be able to learn a different language quickly (by both sharing the aspect of being "a programming language"). I think we're talking about POTENTIAL here, and how would one measure that? It's a thing that comes into action by applying it. > 2. why disqualifying candidates for stupidities that have nothing to do > with their skills and other actually suitable qualities for the job is > counterproductive Again, sometimes the best candidates slip here. Many "geeks & nerds" appear to be "socially unaccomodated", so that disqualifies them, even though if they're better at a job than the whole programming team. Applicants with disabilities are also "problematic", they cannot work exactly the same way healthy people do, and this may interfere with established procedures and processes, and therefore harm the certification of the company. You might be aware that there is legal regulation that forces employers to have a certain share of disabled employees (starting at a specific company size). But there's a backdoor: They can "buy theirselves free" of that obligation. Remember? That penalty fees would be material costs. Material costs gooooood, personnel costs baaaaaaad. Of course, things "need to fit", but after all, isn't the employing process a thing to GET WORK DONE, on the long run? Shouldn't _THAT_ be the primary goal, instead of "growing a corporate monoculture"? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 10:41:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9BFD106566B for ; Mon, 30 Apr 2012 10:41:58 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id AC8AA8FC0C for ; Mon, 30 Apr 2012 10:41:54 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3UAfNPM002008; Mon, 30 Apr 2012 04:41:25 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Mon, 30 Apr 2012 17:41:41 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <4F917E90.9000205@uni-dortmund.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201204301741.41390.erichfreebsdlist@ovitrap.com> Cc: Christian Baer , krad Subject: Re: recommendation(s) for new computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 10:41:58 -0000 Hi, On Monday 30 April 2012 15:38:38 krad wrote: > > - AMD FX-8150 I am also considering this one for the next buy. > > - Corsair Vengeance 16GB Kit > > [Note: This combination is known to work because a friend has exactly > > those components.] I would use ECC on a machine like this if it is available at your location. > > - Enermax Platimax 600W I do not know about your location but at mine power supplies have the tendency to have a short life due to lightning strikes in the area. Get a cheaper model but buy two. I just ran into this problem but did not have a second one for the affected machine. The new one fits only upside down into the box with all the consequences. > > You might have noticed that there is no graphics board. That is the > > actually problem I am having: Should I go with AMD or nVidia? I remember > > I doubt that I will be doing any gaming under FreeBSD (although I once > > did get Warcraft 3 to run using Wine). However, I do want to be able to > > use 3D effects on the desktop. What I am asking basicly is, what vendor I have something from nVidia but do not use 3D at all. > > Thanks for your time, thoughts and suggestions! You are welcome. > > Erich From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 10:52:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69CE51065673 for ; Mon, 30 Apr 2012 10:52:45 +0000 (UTC) (envelope-from chad@shire.net) Received: from mail.shire.net (mail.shire.net [199.102.78.250]) by mx1.freebsd.org (Postfix) with ESMTP id 3FF008FC15 for ; Mon, 30 Apr 2012 10:52:45 +0000 (UTC) Received: from c-76-27-96-201.hsd1.ut.comcast.net ([76.27.96.201] helo=[192.168.99.216]) by mail.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SOoDf-000I4H-H0 for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 04:52:39 -0600 From: "Chad Leigh Shire.Net LLC" Mime-Version: 1.0 (Apple Message framework v1257) Date: Mon, 30 Apr 2012 04:52:35 -0600 In-Reply-To: <201204301741.41390.erichfreebsdlist@ovitrap.com> To: FreeBSD Mailing List References: <4F917E90.9000205@uni-dortmund.de> <201204301741.41390.erichfreebsdlist@ovitrap.com> Message-Id: <7C7A9377-A6F9-4CF9-8B3D-59EE26EE8782@shire.net> X-Mailer: Apple Mail (2.1257) X-SA-Exim-Connect-IP: 76.27.96.201 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on mail.shire.net); SAEximRunCond expanded to false Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: recommendation(s) for new computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 10:52:45 -0000 On Apr 30, 2012, at 4:41 AM, Erich Dollansky wrote: >=20 >>> - Enermax Platimax 600W >=20 > I do not know about your location but at mine power supplies have the = tendency to have a short life due to lightning strikes in the area. Get = a cheaper model but buy two. I just ran into this problem but did not = have a second one for the affected machine. The new one fits only upside = down into the box with all the consequences. no. no. no. Get a quality power supply. And get a Brick Wall. www.brickwall.com = Brick Wall surge suppressors are real surge suppressors, not the fake = things you buy in the store for $25 with $0.10 worth of sacrificial MOVs = that degenerate over time. And get a good UPS while you are at it as well. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 11:23:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A31EC106568B for ; Mon, 30 Apr 2012 11:23:25 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 62B1E8FC15 for ; Mon, 30 Apr 2012 11:23:25 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q3UBMIvn081570 for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 06:22:18 -0500 (CDT) Date: Mon, 30 Apr 2012 06:22:18 -0500 (CDT) From: Robert Bonomi Message-Id: <201204301122.q3UBMIvn081570@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <7C7A9377-A6F9-4CF9-8B3D-59EE26EE8782@shire.net> Subject: Re: recommendation(s) for new computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 11:23:25 -0000 > From owner-freebsd-questions@freebsd.org Mon Apr 30 05:55:04 2012 > From: "Chad Leigh Shire.Net LLC" > Date: Mon, 30 Apr 2012 04:52:35 -0600 > To: FreeBSD Mailing List > Subject: Re: recommendation(s) for new computer > > > On Apr 30, 2012, at 4:41 AM, Erich Dollansky wrote: > > > >>> - Enermax Platimax 600W > > > > I do not know about your location but at mine power supplies have the tendency to have a short life due to lightning strikes in the area. Get a cheaper model but buy two. I just ran into this problem but did not have a second one for the affected machine. The new one fits only upside down into the box with all the consequences. > > no. no. no. > > Get a quality power supply. And get a Brick Wall. www.brickwall.com Bric > k Wall surge suppressors are real surge suppressors, not the fake things you > buy in the store for $25 with $0.10 worth of sacrificial MOVs that degenera > te over time. If you have a bunch of 'sensitive' gear, also look at a Tripp-lite voltage conditioner. that gear, and and a lot of other Tripp stuff comes with an insurance coverate (in five figures) that will replace gear -behind- the Tripp device that gets damaged. Tripp does use 'sacrificial' devices, but I've never lost any gear 'behind' one, nor had a 'false postivie'. I've had several units that did sacrifice themselves, and in each case, I lost other gear that was -not- on the suppressor. Lightning strikes within 100' are no fun! :(( From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 11:35:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E320106564A for ; Mon, 30 Apr 2012 11:35:15 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 29B7E8FC0C for ; Mon, 30 Apr 2012 11:35:15 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q3UBa8fj083478 for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 06:36:08 -0500 (CDT) Date: Mon, 30 Apr 2012 06:36:08 -0500 (CDT) From: Robert Bonomi Message-Id: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 11:35:15 -0000 Alejandro Imass wrote: > On Sun, Apr 29, 2012 at 11:49 PM, Erich Dollansky wrote: > > On Monday 30 April 2012 02:02:41 jb wrote: > >> Alejandro Imass p2ee.org> writes: > >> > ... > > Back to theory on how the http-proxy jail 'swallowed' all the other > jails including the basejail. A "theory" that contains assumptions which are, unfortunately, unsupported by any factual evidence. Just like _every_other_ "theory" you have advanced to date. FACT: It is a virtual certainty that something operating -outside- any jail environment is what did the deed. Available evidence to date is that you 'fixate' on a particular _remote_ possibility -- *without* knowledge of what it would take for that scenario to come to pass -- making a sh*tload of 'assumptions' along the way (many of which are contrary to reality), and offer that as 'the explanation' for events. > Given that EzJail uses a single basejail and links/mounts stuff in the > child jails it would seem plausible (regression?) that somehow any > jail could access other jails' files, Demonstrating, yet again, that you do not understand how jails work. :(( > or that _maybe_ in an event of > crash the nullsfs mounts confuse the system somehow when fsck restores > or the journal is recovered. Demonstrating, yet again, that you do not understand what nullfs is, how it works, or that it is totally -irrelevant- to fsck and/or journaling. Hint: nullfs is merely a 'path translation' mechanism -- it affects _only_ 'file open' syscalls. fsck doesn't _touch_ nullfs. Hint; journaling is an add-on to the UFS filesystem. nullfs doesn't know what journaling is. "Journal recovery" doesn't _touch_ a nullfs. A competennt, "not stupid", sysadmin would know these things. And not 'remove all doubt' (in the words of Abraham Lincoln), by raising such nonsense questions. > Whatever the cause, it actually happened and I have already ruled out > just about anything. It doesn't seem to have been an attack, it surely > wasn't me, and EzJail author agrees it was not the EzJail scripts. So > maybe nullfs and journaling, or crash + nullfs + journaling, could > cause something like this to happen? Postulating the "right" combination of _unrelated_ failures, virtually *anything* can happen. cf. "Nasal Monnkeys". It has already been demonstrated how the (im-)probability of such an event relates to the age of the universe. > Maybe journal has some confusion > on restoring the nullfs view of the directories or something after bad > crash like this one?? Short answer: "No chance." Again, if you had any understandinng of how UFS, and nullfs for that matter, works -- not to mention how disk I/O works inside the kernel, you wouldn't be embarassing yourself by your _continued_ raising of what are, to put it charitiably, such 'patently ridiculous' questions. You can engage in all the 'unfounded speculation' you want to, but you are simply -not- going to determine "what happened". IF there was a systemic fault, you have already destroyed the forensic evidence trail that _might_ have allowed a qualified expert to run it down, *if* you could afford to have such an analysis done. (middle five figures is a starting point for such an analysis.) Absent _multiple_ reports of like events, *WITH* enough detail in the reports to have a reasonable chance of identifying a 'pattern' of events leading to the failure, *OR* the existance of a -reliable-, =repeadable=, method of inducing the failure, this simply isn't going to go anywere. Absent any of those things, it is a 'freak' event, *PROBABLY* (read 'virtually certain') caused by human error (despite your claim of the 'impossibility' of that factor) in some form. If you insist on 'knowing' what happened in any future instance of single putatively 'abnormal' events, you will need to change to a MIL-SPEC 'B2' (or higher) rated O/S, with active mandatory access controls, 'security labels' with multi-level, non-hierarchical, security enabled, audit logging of -every- system call, etc. This also requires a staff position of 'security officer', which is _separate_and_distinct_ from 'system administrtor'. I strongly suspect that you cannot afford the required hardware and software for this type of 'solution'. The 'underlying cause' almost certainly falls into the class known as PEBKAC. (The current admin has demonstrated an inability to accurately report the state of his system -- that at least one thing he previously asserted to be true was _not_, in fact, the case. It is *HIGHLY*LIKELY* that _that_ 'exception' to the claimed state is =not= the only such violation on that system.) That there was an action where there was a difference between 'that which was intended', and 'what it really did'. Such things are almost -impossible- for the perpetrator of the action to identify -- they 'know' what they did, and "read" the act as 'doing what they meant it to do', even though it actually did 'something else'. I cannot count the number of times _I_ have fallen into that particular trap. You insist on speculating about 'failure modes' in the way that THINGS YOU DO NOT UNDERSAND THE FUNCTIONING OF work. You are wasting your time, and that of those whom you inflict those 'nonsensical' speculations on. You are 'convinced' it could not have been human error, and have conclued that it therefore *must* have been machine error. You are looking for someone to 'validate' that conclusion. That simply *ISN'T* going to happen -- not without a -lot- more evidence than any individual can provide from a single =unrepeadable= incident. From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 11:39:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213321065680 for ; Mon, 30 Apr 2012 11:39:14 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id A73B28FC08 for ; Mon, 30 Apr 2012 11:39:13 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q3UBdBKA008604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 30 Apr 2012 13:39:12 +0200 Date: Mon, 30 Apr 2012 13:39:10 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120430113910.GC74076@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F9C75F9.9070907@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4F9E79DF.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4F9E79DF.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 11:39:14 -0000 Le 29/04/2012 ? 00:58:01+0200, Jerome Herman a crit > > I was afraid this would happen. And I fear it is just the begining. Why you say that ? > I assume you did not create any custom hald rule. Did you ? I have one, but I try with him (I use since hal existe on BSD) and without him. For the same result. The pad in the laptop working but not the usb mouse. In fact I don't think the cpu load is connected to this problem. I already send a email to freebsd-stable. Well but that not a solve the Xorg don't see the mouse. > > The first thing to do is to add > > Option "AutoAddDevices" "Off" > > In your ServerLayout section of xorg.conf. > Then restart X and try to plug a mouse again. It may result in your mouse not working in X, but at least it should stop your computer from using all it's CPU trying to map the mouse. > > > If indeed the CPU load does not reach skyhigh levels when you plug a USB > mouse, we will be able to conclude that there is a DBus/hald problem. > > Also could you do the following > > - Mouse unplugged : > > # /usr/local/etc/rc.d/hald stop > # /usr/local/sbin/hald --daemon=no --verbose=yes>> /tmp/hald_debug.log 2>&1 > # dbus-launch lshal>> /tmp/dbus_hal_debug.log 2>&1 > > - plug mouse > > # dbus-launch lshal>> /tmp/dbus_hal_debug.log 2>&1 > > > And post the content of both log files ? That should help in understanding what is going on. In the worst case there are mecanism that will keep HAL from tinkering/probing usb mouse. > Here : the hald log file : http://dl.free.fr/rqLTgOvPS (I put some blank ligne juste before I plug the mouse) the dbus log file before I plug the mouse : http://dl.free.fr/iDgqyLgu6 and the dbus log file after I plug the mouse : http://dl.free.fr/lZuRadJFx I'm not qualified to said if it's hald/dbus problem, FreeBSD-Stable problem or both. I don't think it's a FreeBSD-Stable problem because in the dmesg we see the mouse plug ugen5.2: at usbus5 ums1: on usbus5 ums1: 5 buttons and [XYZT] coordinates ID=0 Regards. JAS -- Albert SHIH DIO btiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: lun 30 avr 2012 13:22:45 CEST From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 11:35:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 040D21065689 for ; Mon, 30 Apr 2012 11:35:40 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id CBEBF8FC14 for ; Mon, 30 Apr 2012 11:35:39 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3UBZYAg016137; Mon, 30 Apr 2012 05:35:36 -0600 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-questions@freebsd.org Date: Mon, 30 Apr 2012 18:35:58 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <4F917E90.9000205@uni-dortmund.de> <201204301741.41390.erichfreebsdlist@ovitrap.com> <7C7A9377-A6F9-4CF9-8B3D-59EE26EE8782@shire.net> In-Reply-To: <7C7A9377-A6F9-4CF9-8B3D-59EE26EE8782@shire.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201204301835.59077.erich@alogreentechnologies.com> X-Mailman-Approved-At: Mon, 30 Apr 2012 11:46:40 +0000 Cc: "Chad Leigh Shire.Net LLC" Subject: Re: recommendation(s) for new computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 11:35:40 -0000 hI, On Monday 30 April 2012 17:52:35 Chad Leigh Shire.Net LLC wrote: > > On Apr 30, 2012, at 4:41 AM, Erich Dollansky wrote: > > > >>> - Enermax Platimax 600W > > > > I do not know about your location but at mine power supplies have the tendency to have a short life due to lightning strikes in the area. Get a cheaper model but buy two. I just ran into this problem but did not have a second one for the affected machine. The new one fits only upside down into the box with all the consequences. > > no. no. no. > > Get a quality power supply. And get a Brick Wall. www.brickwall.com Brick Wall surge suppressors are real surge suppressors, not the fake things you buy in the store for $25 with $0.10 worth of sacrificial MOVs that degenerate over time. > This only helps when the over voltage comes via the power line. A lightning strike nearby is a different story. > And get a good UPS while you are at it as well. > I have an APC and it still does not help when then lightning comes down in the neighbourhood. This is plain physics. The current is induced behind the UPS might be enough to kill the power supply. It never killed any of my machines though. I even have had one a switch burning after the neighbour's house got hit by a lightning. While the switch was really burned, some of the connected machines survived with no damage at all while some others have had the network interface killed. The UPS was an online version and no other damage via the power supplies has occurred. As I said before, this strategy only makes sense in an environment with a lot of thunderstorms and lightning strikes. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 12:16:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3570106566B for ; Mon, 30 Apr 2012 12:16:41 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8FAE28FC1D for ; Mon, 30 Apr 2012 12:16:40 +0000 (UTC) Received: by yenl9 with SMTP id l9so1449623yen.13 for ; Mon, 30 Apr 2012 05:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=sN567casKhNKHUg9ZQNZdhlZ60lWdTIgVKNIkkbvUeo=; b=KzDdEMwZRTPthoQ7ZAgZqMY5c40wPrkv83lvDLZpu1CDdsQikQ+41vM1EDk7Vo26T/ 1kQrx2u3gCjIZYBVbd0vzur5JVZ55UagG4IX8cZfZgwaiZdAR21173wQCE1R0PDbhvZ5 DFn09ZGhNF9CCIE/FkgotAl0tB9zMiJ/oG0Ss= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=sN567casKhNKHUg9ZQNZdhlZ60lWdTIgVKNIkkbvUeo=; b=i4ArwGcdAGyTr2qXf7AjDXjXyzxTHS+hroblzup2mdoMuuxyW+Y6tAFHjqxexL/Ppz VFvmkQd7zNUjwTq8cRulMPmpjJm9uvA3nZqUWje7Y8BmFloPRt4P4QyxLU6XthUw5oeO l6xEzEke6kPJqOxvNChcv7hy8c02bO7pZRGnIyD45QuobzZSGK4Q2MO/TpTgfdqjWJDm dyGk/rdnYVoqpDnuUL4NqjNZniq20XUYb6A/7wKJSSpqXw8gb5X8YK0p5Etct/unHCMY t70kcOFfEHZLNy1sIAUmpMKzIQy0+MTCF+SEcrUPNHmaeEsQNpMVeWkwpmTRycUtOO5X a+wg== Received: by 10.236.116.66 with SMTP id f42mr22142847yhh.70.1335788194753; Mon, 30 Apr 2012 05:16:34 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id f40sm17034254ani.16.2012.04.30.05.16.33 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 Apr 2012 05:16:33 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3Vh4VR60gRz2CG5r for ; Mon, 30 Apr 2012 08:16:31 -0400 (EDT) Date: Mon, 30 Apr 2012 08:16:31 -0400 From: Jerry To: FreeBSD Message-ID: <20120430081631.7ac7efab@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQlxJ6gWrgQ/h+DAsTB2Y9HkcpELcefViVDRxp3YLV7qTnxxilijGWtsOx9QWtzIZVsjIthp Subject: Re: firefox is marked as broken? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 12:16:42 -0000 On Sun, 29 Apr 2012 23:29:40 -0600 (MDT) Warren Block articulated: >On Mon, 30 Apr 2012, Jong-Beom Kim wrote: > >> I have installed FreeBSD 9.0 last night and so far, so good except >> firefox installation. >> >> it simply doesn't build with this message. >> >> # make install clean >> ===> firefox-12.0,1 is marked as broken: does not build. >> *** Error code 1 >> >> Stop in /usr/ports/www/firefox. >> >> is it just me or is firefox really broken currently? > >Turn off the PGO option. Maybe it is just me, but trying to live by the KISS principal as much as possible, wouldn't it have been easier, and saved a lot of chatter to have just disabled the option and removed it from the Makefile? A splash screen could have been used to alert the user that the option was turned off. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 12:22:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5074106564A for ; Mon, 30 Apr 2012 12:22:16 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 58D828FC0A for ; Mon, 30 Apr 2012 12:22:16 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3UCMC43027000; Mon, 30 Apr 2012 06:22:14 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Mon, 30 Apr 2012 19:22:34 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> In-Reply-To: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Message-Id: <201204301922.35044.erichfreebsdlist@ovitrap.com> Cc: Robert Bonomi Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 12:22:16 -0000 Hi, On Monday 30 April 2012 18:36:08 Robert Bonomi wrote: > > Alejandro Imass wrote: > That simply *ISN'T* going to happen -- not without a -lot- more evidence > than any individual can provide from a single =unrepeadable= incident. > ok, I am not the original poster but let me tell me of an experience here I have had. I reported also something extremely strange. Of course, the comments I have gotten have been the same as here. But what happened then? I do not know why but somebody found a race condition in the affected system. There is no fix available yet. With other words, no matter how strange things are, I encourage people to report it. Not with the real hope to get a solution at the spot. But with the chance that somebody who knows the code well and has some strange feelings takes a look. I also encourage my clients to do the same for our products and services. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 12:17:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D52C7106566C for ; Mon, 30 Apr 2012 12:17:35 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE848FC12 for ; Mon, 30 Apr 2012 12:17:35 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3UCHTsA025904; Mon, 30 Apr 2012 06:17:32 -0600 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-questions@freebsd.org Date: Mon, 30 Apr 2012 19:17:52 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201204301122.q3UBMIvn081570@mail.r-bonomi.com> In-Reply-To: <201204301122.q3UBMIvn081570@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Message-Id: <201204301917.52640.erich@alogreentechnologies.com> X-Mailman-Approved-At: Mon, 30 Apr 2012 13:04:40 +0000 Cc: Robert Bonomi Subject: Re: recommendation(s) for new computer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 12:17:35 -0000 Hi, On Monday 30 April 2012 18:22:18 Robert Bonomi wrote: > > If you have a bunch of 'sensitive' gear, also look at a Tripp-lite voltage > conditioner. that gear, and and a lot of other Tripp stuff comes with an > insurance coverate (in five figures) that will replace gear -behind- the > Tripp device that gets damaged. Tripp does use 'sacrificial' devices, > but I've never lost any gear 'behind' one, nor had a 'false postivie'. > I've had several units that did sacrifice themselves, and in each case, > I lost other gear that was -not- on the suppressor. Lightning strikes > within 100' are no fun! :(( hey, they are real fun! Didn't you have damage caused by induction into cables? I never bothered to get shielded network cables which would have saved me some money. Wireless has a plus point here. Erich From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 14:26:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8737C106564A for ; Mon, 30 Apr 2012 14:26:59 +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 3FE738FC0A for ; Mon, 30 Apr 2012 14:26:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q3UEQtSK018384; Mon, 30 Apr 2012 08:26:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q3UEQtoo018381; Mon, 30 Apr 2012 08:26:55 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 30 Apr 2012 08:26:55 -0600 (MDT) From: Warren Block To: Albert Shih In-Reply-To: <20120430113910.GC74076@pcjas.obspm.fr> Message-ID: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1966679679-1335796015=:18203" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Mon, 30 Apr 2012 08:26:55 -0600 (MDT) Cc: Jerome Herman , freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 14:26:59 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1966679679-1335796015=:18203 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Mon, 30 Apr 2012, Albert Shih wrote: > Le 29/04/2012 ? 00:58:01+0200, Jerome Herman a crit >> >> I was afraid this would happen. And I fear it is just the begining. > > Why you say that ? > >> I assume you did not create any custom hald rule. Did you ? > > I have one, but I try with him (I use since hal existe on BSD) and without > him. For the same result. The pad in the laptop working but not the usb > mouse. > > > In fact I don't think the cpu load is connected to this problem. On one computer here, only one of the touchpad or external mouse works unless moused is enabled in rc.conf. That's without hal, but worth trying even with hal. Just moused_enable="YES". ---902635197-1966679679-1335796015=:18203-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 15:20:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F267106566C for ; Mon, 30 Apr 2012 15:20:40 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id A2E508FC15 for ; Mon, 30 Apr 2012 15:20:39 +0000 (UTC) Received: from [192.168.2.11] (unknown [109.190.13.180]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id CBB4E3DD080; Mon, 30 Apr 2012 17:19:19 +0200 (CEST) Message-ID: <4F9EAD87.2000005@dichotomia.fr> Date: Mon, 30 Apr 2012 17:19:35 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> In-Reply-To: <20120430113910.GC74076@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (sslmail.dichotomia.fr); Mon, 30 Apr 2012 17:19:20 +0200 (CEST) Cc: Albert.Shih@obspm.fr Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 15:20:40 -0000 On 30/04/2012 13:39, Albert Shih wrote: > Le 29/04/2012 ? 00:58:01+0200, Jerome Herman a crit >> I was afraid this would happen. And I fear it is just the begining. > Why you say that ? Short answer : I am a proud member of the "HAL and DBus are evil" group. Middle answer : HAL and DBus were made, maintained and tuned with pretty much nothing but Linux in mind. As a result they hardly play well with other OS, and will tend to play worse as the time goes by. In fact general opinion is that HAL never truly worked under Linux either, it is now officially deprecated. > >> I assume you did not create any custom hald rule. Did you ? > I have one, but I try with him (I use since hal existe on BSD) and without > him. For the same result. The pad in the laptop working but not the usb > mouse. > > > In fact I don't think the cpu load is connected to this problem. > > I already send a email to freebsd-stable. > > Well but that not a solve the Xorg don't see the mouse. > >> The first thing to do is to add >> >> Option "AutoAddDevices" "Off" >> >> In your ServerLayout section of xorg.conf. >> Then restart X and try to plug a mouse again. It may result in your mouse not working in X, but at least it should stop your computer from using all it's CPU trying to map the mouse. >> >> If indeed the CPU load does not reach skyhigh levels when you plug a USB >> mouse, we will be able to conclude that there is a DBus/hald problem. >> >> Also could you do the following >> >> - Mouse unplugged : >> >> # /usr/local/etc/rc.d/hald stop >> # /usr/local/sbin/hald --daemon=no --verbose=yes>> /tmp/hald_debug.log 2>&1 >> # dbus-launch lshal>> /tmp/dbus_hal_debug.log 2>&1 >> >> - plug mouse >> >> # dbus-launch lshal>> /tmp/dbus_hal_debug.log 2>&1 >> >> >> And post the content of both log files ? That should help in understanding what is going on. In the worst case there are mecanism that will keep HAL from tinkering/probing usb mouse. >> > Here : > > the hald log file : > > http://dl.free.fr/rqLTgOvPS > > (I put some blank ligne juste before I plug the mouse) > > the dbus log file before I plug the mouse : > > http://dl.free.fr/iDgqyLgu6 > > and the dbus log file after I plug the mouse : > > http://dl.free.fr/lZuRadJFx > > I'm not qualified to said if it's hald/dbus problem, FreeBSD-Stable > problem or both. I don't think it's a FreeBSD-Stable problem because in the > dmesg we see the mouse plug > > > ugen5.2: at usbus5 > ums1: on usbus5 > ums1: 5 buttons and [XYZT] coordinates ID=0 Ok looking at your files, it does not appear to be a hal/dbus problem either : The device is correctly probed and registered with DBus, known as /dev/ums1, and the x11 driver is mapped to "mouse" which should be correct. For one reason or another, xorg is not catching/processing the info. Can you send the Xorg log ? Just wait until X is up and then plug the mouse. I am curious to see what happens inside xorg. Regards. Jerome > Regards. > > JAS > From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 15:38:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFE3F1065670 for ; Mon, 30 Apr 2012 15:38:14 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 864A48FC14 for ; Mon, 30 Apr 2012 15:38:14 +0000 (UTC) Received: by ghrr20 with SMTP id r20so1651878ghr.13 for ; Mon, 30 Apr 2012 08:38:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=yfEEpkD6BbBYCyQLMzeSpB2v52YOu1MBxikCTiATS8I=; b=n13Ceezrd1jVRfa25qX7rhf9z0ZzsfjF6vsuJ4A9qYEL0ZOuvuvnOOrUWk/5yTClYS U7t0K+oxWEPu1hKol4Urqk1GrJeTV8Q7JEtImigsLIjE7v57rCk10Gx6/5EPiDYpWuh6 dGKZllahokX4rmk5QihCSsGHeDaEqaM1jIkSe78B2Kq6qtcyJtjLb4AgO1hVBuXBj4Jw JIpV/jSVsy6/QQX3Cco21GcNWfUbmiPfsokyJnWgQOWfhvJpnARSVVpzTBgKuUmvDkwV KqyaiUsRZ3WsQv2ElvPorNx2Pmcjk54MCkkU1hhKgEiKDMydecPwfjVlAfjyvDGmRP1d sa5w== MIME-Version: 1.0 Received: by 10.50.89.200 with SMTP id bq8mr11022385igb.45.1335800293522; Mon, 30 Apr 2012 08:38:13 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Mon, 30 Apr 2012 08:38:13 -0700 (PDT) In-Reply-To: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> Date: Mon, 30 Apr 2012 11:38:13 -0400 X-Google-Sender-Auth: BYo2E9KP_9yObZi-vPfrzppbKvQ Message-ID: From: Alejandro Imass To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmiBCnhiOjVvtyY/ASEBs4zBDPrgZoQAwMjtXR2FhTggpm6lFDT2DdDipR/2IN7n7F3md5P Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 15:38:14 -0000 On Mon, Apr 30, 2012 at 7:36 AM, Robert Bonomi w= rote: > > Alejandro Imass wrote: >> On Sun, Apr 29, 2012 at 11:49 PM, Erich Dollansky wrote: >> > On Monday 30 April 2012 02:02:41 jb wrote: >> >> Alejandro Imass p2ee.org> writes: >> >> > ... >> [...] > A competennt, "not stupid", sysadmin would know these things. =A0And not > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > nonsense questions. > >> Whatever the cause, it actually happened and I have already ruled out >> just about anything. It doesn't seem to have been an attack, it surely >> wasn't me, and EzJail author agrees it was not the EzJail scripts. So >> maybe nullfs and journaling, or crash + nullfs + journaling, could >> cause something like this to happen? > > Postulating the "right" combination of _unrelated_ failures, virtually > *anything* can happen. =A0 cf. "Nasal Monnkeys". > OK, I tried to be patient with you and tried to keep my composure and nettiquete against your insistence to insult me and by doing so, damaging the good spirited nature of this mailing list, FreeBSD and Open Source in general. And sorry beforehand to my fellow co-listers, and other nice people here, that I have to do this publicly but there is a limit and I am sure many of you have been just waiting for this to happen. I mean, I have had a couple of altercations here and there with a few smart asses, but I have *NEVER* seen such an obnoxious little shit in the more than 14 years I have been participating in ANY mailing list. This used to be one of the most enjoyable and helpful lists and it is people like you who draw people away from sharing and trying to help one another. What is your problem man? Who do you think you are? Who gives you the right to go patronizing and insulting people, and by the way using these ridiculous quotes, like some stupid little jerk, relying on other people's wisdom quotes instead of your own words. Instead of being frontal, you are probably frustrated with your own little techy life that you have to take out your frustration on other people. I find you intoxicating to this list and to this community, no matter how smart you are, if half the stuff you say is even accurate or true. You don't contribute anything except to the degradation of the FreeBSD ambiance and to drive people away, and from sharing. You don't have the right to do that. I honestly love FreeBSD and this community and I am not going to let you ruin that for me or anyone else here. Why don't you take the time to read your posts and see that you propose nothing, so why even bother to participate? What are you trying to prove? If you were so smart as *you believe* you are, you would be helping instead of trying to prove something by your condescending attitude. The very fact that you need to use this attitude is proof of your insecurities, and your need to bully other people, but not me, Sir. I have been in this too long. I am surely not going to take this shit from you man so if you don't have anything positive to say, just shut up and let other people help each other, without being scared of being insulted or patronized. I am surely not afraid of you and I am sick and tired of your attitude, so if no one else here has the balls to tell you off, I will. This is the kind of shit that drives people away and refrains people from participating and sharing experiences and knowledge, and I'm not going to let you do that, to me or any one else here. This is not *your list* nor do you have any special right here, you are just like everybody else, just not very helpful or fun. This attitude will get you nowhere but deeper into your creepy little world. --=20 Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 16:58:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 641D8106566B for ; Mon, 30 Apr 2012 16:58:18 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 258728FC16 for ; Mon, 30 Apr 2012 16:58:18 +0000 (UTC) Received: by obcni5 with SMTP id ni5so5489472obc.13 for ; Mon, 30 Apr 2012 09:58:17 -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=/LRi0vKXu58C5kmseTYt4/grUDljJfON6F+jYdwznu4=; b=DnZKhoRT6RBi/77goiQl/aNV4ezFsXyUQjo0wF6O4HY2TBH3ExYRJUZcSRkEKqKrsL 3c3S1A0kvamDnwIs/yI5BLpo0e7YtlgsZlC3srKebySv+jztIrbkojTJpsKI7ubPyD0W Kzwxqh3TREliCpdiNthNjrlWg4ejj+48tKfUlzWuGNgDjG6UtPa2ybdpm0xNnzIpBxsM HDw+BZLYWybFXrlIvW5iZhwe/sQv35Awp8jv+av1iBo7d3otSwUvWQWAgfJz+FbUZxhN CTB9EWpwtnPMVOg/oj6dMjMmpcd8iPEdQCgOLmNPpOxnWCp52Xr/lmHpgDeWR2fEAuXq EmWw== Received: by 10.182.13.8 with SMTP id d8mr3995813obc.36.1335805097550; Mon, 30 Apr 2012 09:58:17 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id j2sm3680511obn.1.2012.04.30.09.58.15 (version=SSLv3 cipher=OTHER); Mon, 30 Apr 2012 09:58:16 -0700 (PDT) Message-ID: <4F9EC5E9.6060604@gmail.com> Date: Mon, 30 Apr 2012 10:03:37 -0700 From: Edward M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 16:58:18 -0000 On 04/30/2012 08:38 AM, Alejandro Imass wrote: > just not very helpful or fun. This attitude will get He is helping,you need to learn how UFS, jails, nullfs, journaling, disk I/O and other stuff work. I have been following this thread and i must admit I also need to learn more on those subjects.:-) From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:02:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52827106564A for ; Mon, 30 Apr 2012 17:02:06 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 155358FC08 for ; Mon, 30 Apr 2012 17:02:05 +0000 (UTC) Received: by iahk25 with SMTP id k25so6136757iah.13 for ; Mon, 30 Apr 2012 10:02:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=inwjzBufSjotTvIpDhTVsC+s+tL+c3a/e3NeRNjjJsk=; b=bHlScSCOMJYe2exm6jjyao04IMmkIg1lbpTwR9TBd+JXY9fiduLFIE760DeyPIy39M ik0vDkTaKki0I5vrUbNnGhQ835Y/trEZNxkUtmZPIFH+e4Fr3e32+wOWgo4ISBVEBaeq sPAUCe6O8lh9BlHL5MeeGfAoWyL6tOXosr/raL5SUndCB+k2v4S/Q/esUt2r+zDHUgTV jVdjUREyWImrvWqZ9zZbqPXwPaEi3MuQBT9wgjkzsCTTuT7j3ijsfDW+D3TiuJFZKrV0 NbShpDugNgc5l7ZQa+2D/02WGQaX5eFATpav1U2lCT9GcQWuSa0bSZB596v/o1B45sv9 ok6A== MIME-Version: 1.0 Received: by 10.50.202.100 with SMTP id kh4mr10997198igc.43.1335805325691; Mon, 30 Apr 2012 10:02:05 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Mon, 30 Apr 2012 10:02:05 -0700 (PDT) In-Reply-To: <201204301922.35044.erichfreebsdlist@ovitrap.com> References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <201204301922.35044.erichfreebsdlist@ovitrap.com> Date: Mon, 30 Apr 2012 13:02:05 -0400 X-Google-Sender-Auth: LDTh83vAX41Wpm3WjyuvU-H0wl8 Message-ID: From: Alejandro Imass To: Erich Dollansky Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnqaKFtqB4OoLBI0tjkiOQwpzZWa45cLtRXBT0uD7/qkdp/El3W8UOY681Nh/NAZ9qba7eG Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 17:02:06 -0000 On Mon, Apr 30, 2012 at 8:22 AM, Erich Dollansky wrote: > Hi, > > On Monday 30 April 2012 18:36:08 Robert Bonomi wrote: >> >> Alejandro Imass wrote: >> That simply *ISN'T* going to happen -- not without a -lot- more evidence >> than any individual can provide from a single =unrepeadable= incident. >> > ok, I am not the original poster but let me tell me of an experience here I have had. I reported also something extremely strange. Of course, the comments I have gotten have been the same as here. But what happened then? > > I do not know why but somebody found a race condition in the affected system. There is no fix available yet. > > With other words, no matter how strange things are, I encourage people to report it. Not with the real hope to get a solution at the spot. But with the chance that somebody who knows the code well and has some strange feelings takes a look. > > I also encourage my clients to do the same for our products and services. > Thanks Erich for pionting this out. This is the FreeBSD USERS LIST, not the elite exchange. I I was posting this on some expert list like the kernel list or some other more technical list I could understand the attitude, but this is the user's list. We are NOT required to know the details, just share experiences and try to help one another, not put other people down for trying to solve our issues as users. What is really frustrating is that it actually happened and I try to do everything by the book. I don't do any fancy or strange things, so something caused these directories to be moved through NORMAL use of the system, regardless if some people believe it or not, I could care less. It happened, period, and if someone wants to help fine, if not they should just shut up. Thanks again for pointing this out. We are the users, we are the people that keep this project alive and share the good. -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:22:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B32E11065670 for ; Mon, 30 Apr 2012 17:22:10 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8228FC0C for ; Mon, 30 Apr 2012 17:22:10 +0000 (UTC) Received: by yenl9 with SMTP id l9so1759792yen.13 for ; Mon, 30 Apr 2012 10:22:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=N8Bd/wQdqGHzvqg1lWcMBWOVywn4Fla+Kt50pCN0c8A=; b=Ne9lDDD7cJOa4QVEv0jf9Zoex1QzmAootM1Rr+0qUiFb3R/VwkOyXoKsFS58FS2QST p6cbZbu/QKSz0yOfw4D6rpbulmq1kV87uM3XSQpcLK2OFm1c803IGgZsBdjeD6H3FKTb X3xDGFhObni6TxplwJmaeHTh2dpoCd8x4HzG1EElQ8iSBcMtz0LmKrhT6tGOLxXNb/Xr xPrpWCOaA4Rft4Rc8Y8LWhcLgElnHjJCtLis5KZK6P8mNgD8p4d6eibN51BxGfVpzJ8O 3rCLWXms5yGvZFlF0QIWJXp3fHfw7tV59YNXgV3n6zjibjG+tR1SjM620q7HPJQauQIC 19lA== MIME-Version: 1.0 Received: by 10.50.149.170 with SMTP id ub10mr717570igb.43.1335806525900; Mon, 30 Apr 2012 10:22:05 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Mon, 30 Apr 2012 10:22:05 -0700 (PDT) In-Reply-To: <4F9EC5E9.6060604@gmail.com> References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9EC5E9.6060604@gmail.com> Date: Mon, 30 Apr 2012 13:22:05 -0400 X-Google-Sender-Auth: Iwmwf-oVKuLY80f5WKbHh4dlC3c Message-ID: From: Alejandro Imass To: Edward M Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnz9D3o5Q4ubAcjbpaClb6cq6UEtyu7UUknIlgLkb5b0XXcC2kOw+D7zvflhu/FYPyxWNQM Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 17:22:10 -0000 On Mon, Apr 30, 2012 at 1:03 PM, Edward M wrote: > On 04/30/2012 08:38 AM, Alejandro Imass wrote: >> >> =A0just not very helpful or fun. This attitude will get > > > =A0 =A0He is helping,you need to =A0learn how UFS, jails, nullfs, journal= ing, disk > I/O =A0and other stuff work. > =A0 =A0I have been following this thread and i must admit I also need to = learn > more on those subjects.:-) > Oh, please! He's not helping anyone. He's just being an obnoxious prick that thinks that by pointing out a lot of technical blabber and some cheap philosophical pos=E9, he's going to gain some sort of place amongst his peers, and you are just trying to do the same by sucking-up, siding with him and seconding an simply unacceptable attitude in a community of real peers. If you truly know your stuff you don't have to go putting people down and patronizing them to show off. It is only when you go over the top, trying to prove something that your are actually just showing your insecurities and just plain ignorance. Why don't you google and read my posts over the years when I help other people in things they don't know, and tell me if it's remotely close, or if I patronize people. I might go tell someone to RTFM but I would never go and try to put someone down just to show off that I know a lot. Furthermore, this is a user's list, not a deeply technical one. I don't have to read the fsck source code to use FreeBSD or participate on this list. If you are indeed an expert you try to help other people, or at least give the other person the benefit of the doubt. If you have really followed the thread, all I have done is try to find some explanation for a strange behavior of the system under normal use. It hung, and some directories were moved, period. I have posted some ideas to share with other people expecting some insight and maybe similar experience from other users, which there probably are many, but many times afraid to speak up and avoid getting insulted. I don't take that crap from anyone and much less in a community that I have come to love and respect. And it's all about that: RESPECT and you can either learn it the easy way or the hard way, but I will tech respect one way or another. --=20 Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:24:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BE0E106564A for ; Mon, 30 Apr 2012 17:24:12 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id B6BBD8FC18 for ; Mon, 30 Apr 2012 17:24:11 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so2970481wgb.31 for ; Mon, 30 Apr 2012 10:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=uN2ziY5PFXm381XBqvtWoI5E+GlfVn4KOwcQ99zDoSk=; b=K1Enj2jBHiNWWncIbp9blseKj4Y/Z8YHh8plLCzj2ypL+oHdNTl8Uczpo3jvByUWcF NbTqw83SBNjAh353F/GF9JoF+oIxjNqbI65PUY4yosCZtKKl8QTnH6e/Fj9KIe/b3/6g FZzvFTlTKc/C9jin/4m2ARsg5j76YwM0qIeOc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=uN2ziY5PFXm381XBqvtWoI5E+GlfVn4KOwcQ99zDoSk=; b=i44JHA0kprqhGK3EtgO+dohCc0YjRDLktYHpUd4d00wcS4eg6CpI5Q/A7J4928moYZ QqMpx3A1MnR7s0TIHPXc7+CgirOIrU7WTpsSgeGBB39P9xvWMAEvM/AnVKGAsF3n9shu 9003RpFCNdyixjEgD3U4JXw2vK2GfR9uZhp8BOaPzGcIjwxDPfdk90j3e5mEUPvV1aQH SKYUww1fdn/yKTkBe3PJVDHKObSF86+AaDBfNBR88NXdzEL8jzKn82Q2o3b5f3XIDdrH 5z9Xbw9jNd8S1gurZutAjgUayiA9sAD+LMoyMdMy+ljXUI7YlukfEpbInhCnQyhwA3M2 t2wg== Received: by 10.180.92.71 with SMTP id ck7mr18371416wib.2.1335806650634; Mon, 30 Apr 2012 10:24:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.73.195 with HTTP; Mon, 30 Apr 2012 10:23:40 -0700 (PDT) In-Reply-To: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> From: Eitan Adler Date: Mon, 30 Apr 2012 13:23:40 -0400 Message-ID: To: Robert Bonomi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmwaUU5UKJVjL0YwNjTyf8Wj4hHb7Ii1AbayF/AGSrF3MQdsp8sejrQisgiMNvEJoND+6Pn Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 17:24:12 -0000 On 30 April 2012 07:36, Robert Bonomi wrote: > A competennt, "not stupid", sysadmin would know these things. =C2=A0And n= ot > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > nonsense questions. A competent sysadmin would ask questions when they don't know the answer bringing up possibilities they thought about. A stupid sysadmin would yell at someone asking a question claiming they should have known the answer. --=20 Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:34:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A31341065676 for ; Mon, 30 Apr 2012 17:34:43 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 14D0F8FC20 for ; Mon, 30 Apr 2012 17:34:43 +0000 (UTC) Received: by ghrr20 with SMTP id r20so1776977ghr.13 for ; Mon, 30 Apr 2012 10:34:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=Vj7CxXcM8GSV5XrzZxmg3yH+MlGFFKo4Aq4i422YvkQ=; b=oMv/1dV1eMR0GW82uHra+gcYJ5FxDNIjh8rpK2s58+3a+X7Bph601Pd42y0XsGl4Nm nhZbXdZBD/x9wCEXPIEls85LjDL2TJHtwpy7rb/nFYT7m3AwWCwLllIbfDCQQJYg6eAH K77Xz8L3/l2/UXQ8vxeKL1pWmAwq8oOOe9VruPJqwxmTulg5o4Jos9rXewSXE7pBhZ7+ egWh3gXLvHEipD2fKOMtk5tyCq0G9bD3fsYipPmp9V23Km6QADr0eZiJln7W9MXaKsu9 ahGUt6kIn3TAqKWq+iPzH77R1/6vMaUOT5dm5GACCWy+uvFtFkoKlNe9/iiHHs3k7RPy B9og== MIME-Version: 1.0 Received: by 10.50.149.170 with SMTP id ub10mr750896igb.43.1335807279771; Mon, 30 Apr 2012 10:34:39 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Mon, 30 Apr 2012 10:34:39 -0700 (PDT) In-Reply-To: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> Date: Mon, 30 Apr 2012 13:34:39 -0400 X-Google-Sender-Auth: cn-r4NgCcieG4Lt1o_hxuYresxc Message-ID: From: Alejandro Imass To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQljYKxcMz++oLzCw9sHPxvHkD1yT5YBM4+SjvUar0gxeKeP+N6yyUTKzuvwB7i9WvVH+JF4 Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 17:34:43 -0000 On Mon, Apr 30, 2012 at 1:23 PM, Eitan Adler wrote: > On 30 April 2012 07:36, Robert Bonomi wrote: >> A competennt, "not stupid", sysadmin would know these things. =A0And not >> 'remove all doubt' (in the words of Abraham Lincoln), by raising such >> nonsense questions. > > A competent sysadmin would ask questions when they don't know the > answer bringing up possibilities they thought about. > A stupid sysadmin would yell at someone asking a question claiming > they should have known the answer. > Thank you Eitan! I am admittedly limited in the use of the English language and many times frustrated not to be able to redact such beautifully and to the point. --=20 Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:55:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACFC51065672 for ; Mon, 30 Apr 2012 17:55:58 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C8C08FC1A for ; Mon, 30 Apr 2012 17:55:58 +0000 (UTC) Received: by obcni5 with SMTP id ni5so5569166obc.13 for ; Mon, 30 Apr 2012 10:55:58 -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=DD/QcB/1FTHNp211CgGUcjWZxDOKqFVUuU/tPFoI/p8=; b=DzdJxlP/uu7W/2/poSJKa0VNbcoKyLnEMPfQHO8xN9QY/MMjBmVDJyIgvSbB8Q8U7h oh39isiWD21WIdNNWy6Y0MshU4zygjFaJSUcBlidI93GKWNXGdLr80AVhXSVp65wbnyW GqZowEBM1uFuriPdD33GPvcBaw/L0VeIu2ur6bnZX9tlyD2aJoKJtqHVpuGs0CwGimaM qc3uVZwgW4BWI7Mb2CsR4vQ/swO45Q3nx/JSAams/q/mZQGOlo3yAUZ8LSZevBI8zZCt Kf1FWx+zT1OaHYDdxv1GiJMjkyNhkvEmoH3EhYQL9MAFWthp+7ql7G+3oRw5SzT0NSuP Ss1A== Received: by 10.182.86.200 with SMTP id r8mr87313obz.20.1335808558038; Mon, 30 Apr 2012 10:55:58 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id s8sm13894228oec.1.2012.04.30.10.55.56 (version=SSLv3 cipher=OTHER); Mon, 30 Apr 2012 10:55:57 -0700 (PDT) Message-ID: <4F9ED36E.5030803@gmail.com> Date: Mon, 30 Apr 2012 11:01:18 -0700 From: Edward M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0 MIME-Version: 1.0 To: Alejandro Imass References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9EC5E9.6060604@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 17:55:58 -0000 On 04/30/2012 10:22 AM, Alejandro Imass wrote: > Oh, please! He's not helping anyone. He's just being an obnoxious > prick that thinks that by pointing out a lot of technical blabber and > some cheap philosophical pos I guess i was going according to the fact that i have followed his suggestions on a problem i was having and i was able to find the cause and solved the problem. :-) From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 17:57:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DA931065670 for ; Mon, 30 Apr 2012 17:57:26 +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 C8F018FC24 for ; Mon, 30 Apr 2012 17:57:25 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SOuqa-0003Ml-VW for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 19:57:17 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2012 19:57:16 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2012 19:57:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Mon, 30 Apr 2012 17:57:07 +0000 (UTC) Lines: 52 Message-ID: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9EC5E9.6060604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 17:57:26 -0000 Alejandro Imass p2ee.org> writes: >... > If you have really followed the thread, all I have done is try to find > some explanation for a strange behavior of the system under normal > use. It hung, and some directories were moved, period. I have posted > some ideas to share with other people expecting some insight and maybe > similar experience from other users, which there probably are many, > but many times afraid to speak up and avoid getting insulted. > ... Well, I try to help only, so I hope I do not get insulted ... I could become vicious :-) Here it is. You said you have your jail env on a separate disk. I looked at problem reports for nullfs and there are quite few. Hierarchical Jails NOTES You said you have your jail env on a separate disk. I looked at problem reports for nullfs and there are quite few. http://www.freebsd.org/cgi/query-pr-summary.cgi?category=&severity=&priority=&cl ass=&state=&sort=none&text=nullfs&responsible=&multitext=&originator=&release= As a matter of fact I just mounted a nullfs but was not able to unmount it (device busy) - a Google search shows it as a problem reported for many many years. Nullfs does not seem to be stable. Anyway, I found one PR http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/147420 that is about troubles with jails, nullfs, UFS, and NFS. Synopsis: [ufs] [panic] ufs_dirbad, nullfs, jail panic (corrupt inode) Take a look at this paragraphs: "... After two more failures, I now found the offending inode ..." "... As one point, I found the inode in a directory which usually is mounted for an (ez-) jail via nullfs." This proves that problems with jails, nullfs, and fs corruption are possible. So, they can not be excluded up front in your case too because nullfs is just a simple "path translation". jb From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 18:05:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 666D9106566C for ; Mon, 30 Apr 2012 18:05:02 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh1.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id 26A348FC14 for ; Mon, 30 Apr 2012 18:05:02 +0000 (UTC) Received: from 184-78-197-203.war.clearwire-wmx.net ([184.78.197.203]:12004 helo=_HOSTNAME_) by wh1.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1SOuYs-0001wK-9S for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 10:38:35 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 30 Apr 2012 10:38:59 -0700 Date: Mon, 30 Apr 2012 10:38:59 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20120430173859.GB75239@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh1.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 18:05:02 -0000 --DBIVS5p969aUjpLe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Eitan Adler on Monday, 30 April 2012: > On 30 April 2012 07:36, Robert Bonomi wrote: > > A competennt, "not stupid", sysadmin would know these things. =A0And not > > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > > nonsense questions. >=20 > A competent sysadmin would ask questions when they don't know the > answer bringing up possibilities they thought about. > A stupid sysadmin would yell at someone asking a question claiming > they should have known the answer. >=20 > --=20 > Eitan Adler > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" Best response in this thread so far. --=20 =2EO. | Sterling (Chip) Camden | http://camdensoftware.com =2E.O | sterling@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com --DBIVS5p969aUjpLe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJPns4zAAoJEIpckszW26+Rf1sIAKwxjYnD1ak5Wmdty/6Q6y4s HAi+k4FTGT/eWhX/Yf/CAFIMXJbU+J3UgmnmesyegSjGiEM65Ry9KuYVKtXjdp3u 3f6YHPvWQeXJbCp3JL2CphxEqhOHUgvx1sJE1E/Nw9LNxmMckhT3J/+kfPEQjA8A ZKk77nhmJE/jBWuBdOrDsx/ksq8dsrt2+9ZxMLe2uWFLJ8p6y3p0Zqog2CgIJ5WI LYTgpMGgxAiSQLzl0Q6bZHuxTqgg5q5SNAJmJbpk/NlDPMxtL1COxnfrJ67PbENq 0jKvc2ZhuFZL/CZ3NsArCig/vWthwkNcvzhq0GaHrm/sJtUowyxwsXKk+B7EgsY= =cvuw -----END PGP SIGNATURE----- --DBIVS5p969aUjpLe-- From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 18:39:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A3D106566B for ; Mon, 30 Apr 2012 18:39:23 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 68BC38FC12 for ; Mon, 30 Apr 2012 18:39:23 +0000 (UTC) Received: by yhgm50 with SMTP id m50so1838469yhg.13 for ; Mon, 30 Apr 2012 11:39:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=PNwSOF45WVHN8x9DUU/ftqiL9Ec3AORUlcpwz3Xb3rE=; b=acdlVQVtQWjbZBBLtVqT7p8sTPx6QxOABsB7A7xolFE99/kMGBtq87i8q5n2XAhtbY Klb6RBdiZg8joVPh0AgFxczSbCdYJP4PJPonUgYqkD6i7NyiV9MDWxQ6j04M9+D+mMu0 EtuDSUWOXhYvtKjMlOZeqjMAu700Ps0miQ1L1X2lTcmPwCAcFNvmyP8UJuxeApb2eWPv Y07A125OCHscy5l8KtNtY/CYKNtn8REP3QBtEhUDFgV7vavNs4Uay0hgeDiyd18rnZWE 36TTnUzdFBM+3VRVgqYmtU+BavawC6HGogI9e9yRby1sKR0JxkwdWdQcspsXWtCvMhGJ 7Bww== MIME-Version: 1.0 Received: by 10.50.197.233 with SMTP id ix9mr11157745igc.26.1335811162324; Mon, 30 Apr 2012 11:39:22 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Mon, 30 Apr 2012 11:39:22 -0700 (PDT) In-Reply-To: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9EC5E9.6060604@gmail.com> Date: Mon, 30 Apr 2012 14:39:22 -0400 X-Google-Sender-Auth: 6Mu5rpqfSO9riHqI6cjAytBOGE8 Message-ID: From: Alejandro Imass To: jb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQm0oyWnuRQfEVZjuQ584s8wh754rT1cY23YqGjyvT+7cjASRvD4ys4GgWY4hHi7Vqcwyufr Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 18:39:24 -0000 On Mon, Apr 30, 2012 at 1:57 PM, jb wrote: > Alejandro Imass p2ee.org> writes: > >>... >> If you have really followed the thread, all I have done is try to find >> some explanation for a strange behavior of the system under normal >> use. It hung, and some directories were moved, period. I have posted >> some ideas to share with other people expecting some insight and maybe >> similar experience from other users, which there probably are many, >> but many times afraid to speak up and avoid getting insulted. >> ... > > > I looked at problem reports for nullfs and there are quite few. > Hierarchical Jails > NOTES > > You said you have your jail env on a separate disk. > Yes. > I looked at problem reports for nullfs and there are quite few. > http://www.freebsd.org/cgi/query-pr-summary.cgi?category=3D&severity=3D&p= riority=3D&cl > ass=3D&state=3D&sort=3Dnone&text=3Dnullfs&responsible=3D&multitext=3D&ori= ginator=3D&release=3D > > As a matter of fact I just mounted a nullfs but was not able to unmount i= t > (device busy) - a Google search shows it as a problem reported for many m= any > years. > Nullfs does not seem to be stable. > Dirk Engling guessed that somehow nullfs was involved. > Anyway, I found one PR > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/147420 > > that is about troubles with jails, nullfs, UFS, and NFS. > Synopsis: =A0 =A0 =A0 [ufs] [panic] ufs_dirbad, nullfs, jail panic (corru= pt inode) > > Take a look at this paragraphs: > "... > After two more failures, I now found the offending inode ..." > "... > As one point, I found the inode in a directory which usually is mounted f= or > an (ez-) jail via nullfs." > > This proves that problems with jails, nullfs, and fs corruption are possi= ble. > So, they can not be excluded up front in your case too because nullfs is = just > a simple "path translation". > Up until yesterday (and Dirk's answer) I didn't look for specific references to nullfs, and today I was busy getting vicious myself ;) Thanks for pointing a plausible cause. What I have done so far is limit the offending jail to a specific cpuset and I wanted to add another disk to avoid contention with other jails. MySQL not only consumes the whole CPUs but also limits the whole drive, while it's doing some crazy full scan query on a very large database. I don't have any control of the code or the MySQL myself and the client said it's known problem with VTiger CRM and the way it implements some reports that I guess were not designed for the amount of data they are handling. I have already recommended they move to a dedicated server altogether because their system simply outgrew what we sold them. I really appreciate the time you dedicated to search for a possible explanation and at the very least it helps in taking some immediate steps to avoid it from happening again. Hopefully, someone with deep knowledge will find the root cause and a long-term fix. What is true, that if it happened to me, it can happen to anyone, so maybe your findings will help someone pin-point the problem and fix it. Thanks, --=20 Alejandro From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 19:20:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46132106564A for ; Mon, 30 Apr 2012 19:20: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 B35A18FC1D for ; Mon, 30 Apr 2012 19:20:48 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SOw9O-0004IQ-CE for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 21:20:46 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2012 21:20:46 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Apr 2012 21:20:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Mon, 30 Apr 2012 19:20:37 +0000 (UTC) Lines: 39 Message-ID: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9EC5E9.6060604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 19:20:49 -0000 Alejandro Imass p2ee.org> writes: > ... > Thanks for pointing a plausible cause. What I have done so far is > limit the offending jail to a specific cpuset and I wanted to add > another disk to avoid contention with other jails. MySQL not only > consumes the whole CPUs but also limits the whole drive, while it's > doing some crazy full scan query on a very large database. > ... I would strongly suggest that you file a PR for nullfs, with included reference to that PR#147420 I mentioned. There is enough of circumstancial evidence. I think there is a chance that a jail panic (corrupted fs or "nullfs path translation") may be the cause of MySQL going bananas. Anyway, the more similar reports they receive the better a chance they will discover any problems, if any. It would be good if you read these sections: JAIL(8) Setting up the Host Environment - a potential for mixing up traffic of same services in host env and jail env. Jails and File Systems - multiple jails sharing the same file system can influence each other. Hierarchical Jails - jail names reflect the hierarchy, but jids on the other hand exist in a single space, and each jail must have a unique jid. BUGS NOTES JEXEC(8) BUGS (ref to JAIL(8), Hierarchical Jails) jb From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 20:36:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 824E7106566B for ; Mon, 30 Apr 2012 20:36:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 285398FC0C for ; Mon, 30 Apr 2012 20:36:42 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id 494333CB02; Mon, 30 Apr 2012 22:36:39 +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 q3UKacLE002062; Mon, 30 Apr 2012 22:36:38 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 30 Apr 2012 22:36:38 +0200 From: Polytropon To: Eitan Adler Message-Id: <20120430223638.794a274e.freebsd@edvax.de> In-Reply-To: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 20:36:42 -0000 On Mon, 30 Apr 2012 13:23:40 -0400, Eitan Adler wrote: > On 30 April 2012 07:36, Robert Bonomi wrote: > > A competennt, "not stupid", sysadmin would know these things. =A0And not > > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > > nonsense questions. >=20 > A competent sysadmin would ask questions when they don't know the > answer bringing up possibilities they thought about. > A stupid sysadmin would yell at someone asking a question claiming > they should have known the answer. I know I don't add anything substantial by the following statement, but allow me to post it anyway in addition to your statement: There is no problem in mentioning thoughts, possibilities and options. It's also not a problem to admit a lack of knowledge in certain fields (e. g. how UFS, journaling, nullfs and fsck do "interact" with each other). Things start to be problematic when conclusions are made out of untrue assumptions or expectations. "It must be a system error, as I don't see a human error here." The problem is: "don't see" !=3D "doesn't exist", and of course !=3D "can't be proven". Such kinds of conclusion often lead into wrong directions. Of course it's hard to narrow down possibilities. A "test bed" with limited variables is neccessary to have. Also the proper tools and procedures of testing are important. That's the ONLY way to be sure - by eliminating one possibility after the other. What's being found in the end - and even if it's regarded unprobable from the beginning - must be the reason. Robert mentioned important things to consider. If you (unintendedly) destroy evidence for a forensic analysis of what happened (whatever it may be), you'll have a hard time finding out _what_ happened - except you can get it to happen again. In case of security breaches this is something you _don't_ want to risk IN PUBLIC just to be able to observe it. At this point, one could argue politeness vs. importance of arguments. From what I've seen on other lists, Robert's statements are "still polite" and full of things you can take as a start to what to additionally learn. You should concentrate on that essence. If you take the time to "do your homework", you'll be better prepared _if_ such thing should ever happen again. Finding out _what_ has happened is very hard (which I admit), and maybe it's even impossible. You would have needed a more verbose auditing facility to find out what program (user) caused a "mv-like syscall". Command logs can be altered, logged syscalls... yes, it's not impossible, but magnitudes _harder_ to remove trails. By the way, I can understand the frustration when something "impossible" happened and you never can _really_ say what it was, hoping it would not happen again. I've experienced such kinds of trouble myself. (That's why I'm on this list.) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 21:34:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0667D106564A for ; Mon, 30 Apr 2012 21:34:23 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy5-pub.bluehost.com (oproxy5.bluehost.com [IPv6:2605:dc00:100:2::a5]) by mx1.freebsd.org (Postfix) with SMTP id B5F628FC14 for ; Mon, 30 Apr 2012 21:34:22 +0000 (UTC) Received: (qmail 24621 invoked by uid 0); 30 Apr 2012 21:34:22 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy2.bluehost.com with SMTP; 30 Apr 2012 21:34:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=5gqE5BMzdWSJtcqIxXgDR+RXf8MNvlCwdVX5Js1d4ZY=; b=K/C+zq2qUE2Ojm5gMHKi/dY2WVmVgILFjIQ4rMivvKEJeBJrh+iwJEAsh1UiuV3WKzI+DgGkEsPecnkbCDeIk0c3trklnl92GF8gMg03W7RjNeCGuDIiil5QsGQ8uU09; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SOyEf-0005Vd-NQ for freebsd-questions@freebsd.org; Mon, 30 Apr 2012 15:34:21 -0600 Date: Mon, 30 Apr 2012 15:34:21 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120430213421.GA16697@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120425064507.GA4673@mech-cluster241.men.bris.ac.uk> <20120425085555.36f91b3a.freebsd@edvax.de> <20120426215256.GA30059@hemlock.hydra> <20120427180051.4260a9f5@scorpio> <20120428003613.GC22822@hemlock.hydra> <20120428080113.bdfe54f4.freebsd@edvax.de> <20120429230156.GA31605@hemlock.hydra> <20120430122347.5b5ccaea.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120430122347.5b5ccaea.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: editor that understands CTRL/B, CTRL/I, CTRL/U X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 21:34:23 -0000 On Mon, Apr 30, 2012 at 12:23:47PM +0200, Polytropon wrote: > On Sun, 29 Apr 2012 17:01:56 -0600, Chad Perrin wrote: > > On Sat, Apr 28, 2012 at 08:01:13AM +0200, Polytropon wrote: > > > On Fri, 27 Apr 2012 18:36:13 -0600, Chad Perrin wrote: > > > > On Fri, Apr 27, 2012 at 06:00:51PM -0400, Jerry wrote: > > > > > > > > > > I have been told by several people in HR that the trend to give > > > > > preference to those all ready working as opposed to the unemployed is > > > > > based on the philosophy that if no one else will hire them, then why > > > > > should we. While we could argue whether that logic is flawed, it is > > > > > never-the-less presently in use. However, it doesn't really pertain to > > > > > entry level openings. With the glut of individuals entering the job > > > > > market, for an applicant to not be proficient in the skills being > > > > > advertised for by the prospective employer is just a waste of time. If > > > > > the employer is looking for skill "A" and "B", crying to him/her that > > > > > you have skill "C" is just a waste of both your times. > > > > > > > > It *does* pertain to "entry level" positions, because (from what I have > > > > seen) most "entry level" positions come with an experience requirement of > > > > at least two years. > > > > > > But then this would invalidate "ENTRY level". How exactly is > > > an applicant supposed to get a job from that "entry level" pool > > > when he doesn't have previous experience because he simply wants > > > to ENTER that field of profession? > > > > Yes -- that is *exactly* the question that comes up. These are not jobs > > that are "entry level" in terms of requirements, even if they are "entry > > level" in terms of pay and actual skill required to do the job to a > > reasonable level of competence. Consider examples like first-level call > > center jobs that require a college degree and a couple years expericence, > > as pretty much the canonical example. > > Seems to exactly that way in Germany. I did talk to a HR guy > last week and he explained that those requirements are typical. > I think he wasn't honest about the reasons. One may be the > continuous degrading of school education and the recent loss > of quality in university education (due to european processes). This may be an honest reason, but it is not a good reason. It's the thinking that if schools are worse, you have to require more schooling to get the same effect -- and schools *are* getting worse, in large part to satisfy the demand for more formal education to get even the most mundane and easiest of "skilled" jobs, resulting in a vicious circle. People may honestly believe increasing the education requirement is a good answer to a bad problem, so that the problem is not their honesty but rather their reasoning. Obviously, if autodidacts with degrees are much better than anti-intellectual lumps on a log with degrees (and they are), autodidactism is of great value. In many cases, that value greatly outstrips the value of the degree itself, so that autodidacts without degrees are better than anti-intellectual lumps on a log with degrees. The approach to hiring that says we must require ever-more diploma carrying "education" on the resume selects for anti-intellectual lumps on a log quite often. > > Another reason might be that companies need to be _certified_ > theirselves in order to get orders from other companies, and > for that kinds of certification, it seems they have to show > that they employ lots of "highly qualified personnel" in order > to justify their prices. I have never seen a company that lists all of its tech support people and their degrees. In fact, the most I've ever seen for people in entry level positions is that they have CompTIA A+ Tech certifications, or something equivalent, which is easily acquired with a heavy weekend course and a single test. For autodidacts, you don't even need the coursework -- just get a $40 book and some practice test software. This might be worth some marketing, when a company can say all its support people are certified "experts" or "specialists" of some sort, but it's a heckuva lot less onerous than demanding bachelor's degrees in computer science just to get a twelve dollar per hour job answer the telephone and reading from a script, and more prone to selecting for autodidactism skills. Offer people flexible schedules if they want to take college classes while they're working, and you're even more likely to get people who can think critically, learn quickly, and do good work, because people who try to pay their way through college while working in a technical field are far more likely to be good at such jobs than people who breezed through college on a sports scholarship or parental support and have never really learned anything on their own. In fact, I'm generally of the opinion (based on my experience and what I've observed in others) that the only way to really learn anything useful in college is to be an autodidact, doing the coursework mostly to get a piece of paper and get ideas of *what* stuff to learn on your own time, rather than sitting around waiting to have knowledge handed to you in a neat package. > > Combined with mis-naming call center positions ("virtualisation > administrator / system administrator" being such a kind of 1st > level phone support job, even though the name might make you > thing of something totally different), it seems to be a means > to lower wages by "presenting the fact" that the current > applicant doesn't have a B.A. degree, but will be hired: "You > know, well... we could pay you more if you've had substantial > experiences and the required degree, but we can afford to pay > you on entry level only. Be glad the we are doing that!" At least they're willing to hire someone with the appropriate skills, rather than turning them away entirely and hiring someone with a BA degree who will utterly suck at the job (and giving that person the same pay your example non-degreed employee would have been paid). There are varying levels of screwed-up-ness in the hiring world. > > > > In some cases, these jobs may simple be advertised this way so hiring > > managers can use the lack of "qualified" applicants to help justify > > offshoring jobs. That should have said "simply" instead of "simple", by the way. Sorry about the typo. > > That also sounds familiar: the current "lack of professionals" > can be explained that way. It's not that the professionals are > lacking per se, it's just that nobody wants to pay them proper > wages. Personnel costs baaaaaad. > > If you pay peanuts, you get monkeys. It is that simple. The "we > can't get" argument often is "we don't want to pay". Of course, > this is understandable if you consider how expensive work is: > taxes, taxes, lots of taxes... 1000 Euro wage can easily turn > into 2000 Euro costs. (And don't believe that 1000 Euro _paid_ > is much - it isn't. It's almost less worth than 1000 DM!) Yeah -- that's an entirely different subject, really, but I agree. It's absurd the way governments tend to punish employers for having employees and punish entrepreneurs for trying to start new businesses, then offers "stimulus" packages in the billions or trillions of dollars for organizations that don't really hire many people to solve a problem they created even while they blame the organizations to which they're giving the "stimulus" money. > > > > In other cases, this is just an example of how HR "best practices" > > have gotten ridiculously out of control, where everybody tries to > > copy what everyone else is doing because if everyone else is doing it > > you can't get in trouble for doing the same thing. > > This might be important in the B2B sector, especially the "pro- > paganda" that brings orders to companies. In case the word "they > hire lower-qualified personnel" or "they pay their workers too > much" might result in a loss of orders for that company, because > they're "doing it wrong". > > Note that innovative business has always "done wrong". :-) No kidding. This goes back to what I said about companies that swim against the tide in hiring practices having a huge advantage when it comes to finding good job candidates. > > > > I think a far worse problem than the failure to understand what skills > > are needed is the failure to understand things like > > > > 1. what skills can be learned easily in a very short period of time so > > that focus on other necessary skills already existing can be employed in > > selecting candidates > > That shouldn't be any UNfamiliar. You don't learn to be a programmer > at the university, and you don't get experience for working in > company B during your professional education in company A. There > is _always_ some time needed to get familiar with how things are > done at your new workplace - and that's no problem. It hasn't been > a problem for over 100 years, why should it now? > > As I said, a GENERIC SKILL is learning per se. If you can do that, > you will be good at knowing how to do things in your new job in a > few time. And you are treated fair, you _may_ even invest your > free time (non-work time) to learn more. I agree with the emphasis on generalized (I think that's a better term than "generic" for this) skills, where the person understands the principles that make systems work and knows how to pick up related skills very quickly as a result of that understanding, rather than merely being the equivalent of assembly-line workers who aren't even clear on what they're building. People who are just performing rote tasks without understanding should be replaced by software and robots when they leave their jobs (for whatever reason) -- and not replaced by people with college degrees and four years of experience in the same field. If you want to hire someone to replace such employees, hire someone to write the six-line Perl script that replaces the employees, and not another over-educated meatspace equivalent of a Perl script. > > We currently have a cultural problem of "work vs. non-work" that > is present nearly everywhere, in production and in service. The > things you're doing at work are likely _not_ things you do in > your free time. However, "geeks & nerds" tend to do programming > stuff, reading docs and practicing coding in their free time too. > In the past, I did often say: "You're paying me for what I would > do for free anyway." :-) I've been known to say something similar: "I'd do this anyway. You're just paying me so *you* get to directly benefit from it." > > The "standard" scaling models of "being good at " > are hard to make a proper selection, because learning is not > static. Just because someone is _now_ good at some programming > language does not neccessarily imply that he will be able to > learn a different language quickly (by both sharing the aspect > of being "a programming language"). I think we're talking about > POTENTIAL here, and how would one measure that? It's a thing > that comes into action by applying it. This is especially important to keep in mind considering that the supposedly "same" language may actually be a different language in five years. Look at the griping and moaning of people who have been writing code for MS Windows platforms for more than ten years, for instance. They've written COM code, .NET code, and are now looking at having to write Metro code, all to accomplish the same things in the same languages but with Microsoft's new wonder-drug cure-all technology. That's ignoring the fact that, for instance, .NET coding itself has been through a number of upheavals along the way as well. Even if you're still using the same language fifteen years later, you're not exactly using the exact same skills (unless it's something like COBOL, which is no longer evolving much). > > > > 2. why disqualifying candidates for stupidities that have nothing to do > > with their skills and other actually suitable qualities for the job is > > counterproductive > > Again, sometimes the best candidates slip here. Many "geeks & nerds" > appear to be "socially unaccomodated", so that disqualifies them, > even though if they're better at a job than the whole programming > team. Applicants with disabilities are also "problematic", they > cannot work exactly the same way healthy people do, and this may > interfere with established procedures and processes, and therefore > harm the certification of the company. There are often some benefits to be had from ensuring people are using similar tools and procedures to accomplish their work, but yeah, these benefits are usually blown way the heck out of proportion. Part of the problem is the way it has been (for a long time) such a popular thing to judge people's productivity by how long they sit at their desks looking busy, or by artificial and largely meaningless metrics like lines of boilerplate code produced. Under those circumstances, it's easy to understand how someone would want everyone to use the exact same tools, thus allowing for the assignment of a single person to the task of maintaining the tools to ensure nobody has any technical problems that others do not have, and ensuring that people can collaborate without running into tool incompatibilities. If productivity and value of an employee were judged more reasonably, they could be allowed to use whatever tools they like, without having to provide any official support for tools that differ from the company norm, as long as they keep being productive. That's a very difficult set of circumstances to achieve in bureaucratic corporate shops where projects are treated like assembly lines and programmers are treated like assembly line robots, interchangeable and without need of qualities like inspiration and imagination. > > You might be aware that there is legal regulation that forces > employers to have a certain share of disabled employees (starting > at a specific company size). But there's a backdoor: They can > "buy theirselves free" of that obligation. Remember? That penalty > fees would be material costs. Material costs gooooood, personnel > costs baaaaaaad. Most business regulation is, at best, ineffective for reasons much like this, and more likely counterproductive by keeping new entrants to the market that might improve the general state of affairs from actually surviving the early years of competition against corporate giants. > > Of course, things "need to fit", but after all, isn't the employing > process a thing to GET WORK DONE, on the long run? Shouldn't _THAT_ > be the primary goal, instead of "growing a corporate monoculture"? It's interesting we agree on so much of this. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 22:44:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00793106564A for ; Mon, 30 Apr 2012 22:44:13 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 5B81B8FC0A for ; Mon, 30 Apr 2012 22:44:12 +0000 (UTC) Received: from [192.168.2.11] (unknown [109.190.13.180]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id C51D93DD07A; Tue, 1 May 2012 00:42:57 +0200 (CEST) Message-ID: <4F9F1551.5040003@dichotomia.fr> Date: Tue, 01 May 2012 00:42:25 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (sslmail.dichotomia.fr); Tue, 01 May 2012 00:42:58 +0200 (CEST) Cc: lists@eitanadler.com Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 22:44:13 -0000 On 30/04/2012 19:23, Eitan Adler wrote: > On 30 April 2012 07:36, Robert Bonomi wrote: >> A competennt, "not stupid", sysadmin would know these things. And not >> 'remove all doubt' (in the words of Abraham Lincoln), by raising such >> nonsense questions. > A competent sysadmin would ask questions when they don't know the > answer bringing up possibilities they thought about. > A stupid sysadmin would yell at someone asking a question claiming > they should have known the answer. > I must admit that Robert Bonomi tone was highly insulting for this list, and though I completely condemn the form of his post, I cannot say I disagree with the content. There are quite a lot of things that are wrong with Alejandro Imass' post and analysis. The fist thing is that he did not give is setup in one go. It took quite a while to figure what happened, what system he was using and how he was using it. At first he had to hard reboot an unresponsive system, then at reboot he would have lost all of his jail. Then it appeared that all the jails where inside another jail and that the unresponsiveness came from MySQL. Then we learn that all his daemons are inside jails. Then we learn that ftp-proxy is not. Then we learned that jail are not handled manually but through EZJail. Then we are told that the problem with MySQL is known and comes from a client using TigerCRM with a too much data. There are litterally dozens of little pieces of important knowledge all over the thread. And you have to read it all to make sure you have the global view. Not really a good start. It is OK to forget to mention a thing or two, discarding what you think is irrelevant to the problem at hand, but it is not OK to force people who are trying to help you to read 50+ posts to learn about the basics of your installation. What is even more irritating is the fact that Alejandro Imass ignores pretty much anything that would leads toward a human mistake. Most posts implying a possible bad use of jails/nullfs/ezjail are ignored or answered by a simple "I have done everything by the book". Now from my experience someone with 6 servers, each containing multiple jails will not do everything by the book every time. It might be that Alejandro is exceptional, but it is more likely that at least one if not more of these jails were not made "by the book". Nothing to blame anyone in here, we all get tired/bored/overconfident sometime - but refusing to admit the very possibility of a human mistake won't help at all in finding a solution. Reading the thread I realized that my suggestion that he might have over-used "ln" had been discarded as "stupid", but the information came a lot later in answer to another post. Of course in the mean time I learned that he was using ezjail, which, if I had known earlier, would have made me wonder if he had not overused nullfs or ln. He furthermore discarded the possibility saying that he did not think that ezjail was using links, just nullfs. Well too bad ezjail is massively using links, at least for basejail, and sometime for port trees or perl setup depending which guide you are using as your reference. During the thread he pretty much bashed anyone who tried to tell him that no amount of jail/ezjail/nullfs/journal screw up could have resulted in the entire content of the jails being moved into another completely unrelated directory node. If one jail had moved it would already have been extraordinary, with a probability of it happening so cleanly that fsck would find nothing already magnitude of order above the chances of winning the national lottery. But all of them ? Not a chance. He finally admitted that he had very little knowledge about UFS and fsck, but still managed to do it in a quite offensive way. That was basically the point were I decided to stop to try to help him. I think others felt the same. This problem is quite interesting in itself, and I think a lot of the most talented people on this list would have been on it but were repelled by the attitude. On the other hand Alejandro Imass pretty much jumped on anything that would be a third party interaction. From someone hacking into his box to a potential nullfs bug that might result in a PR. Now the thing is that EZJail make use of the "system immutable flag" quite a lot for its config file, resulting in quite a lot of file being impossible to delete or move unless the box is running at kern_secure_level 0. This renders the whole "jails moved on their own" theory even more improbable. After so much ranting, I would feel bad not to try to help a little : Here are the facts : - In a jail, MySQL was grabbing all the CPU and making the box non responsive. This is due to TigerCRM making requests to a too huge database. -> The jail was working -> Unless all the data were in memory at this time (unprobable), it means that access path/nullfs/EZJail were OK at this time. - After a force reboot all the jails were gone, or more exactly moved inside another jail. fsck saw no error on the disk. -> The disk was in a stable state at reboot, the directory and file structure was consistent. - Jails contained it the apache jail were in an OK state and could be archived and restored -> The data structure of the hard drive was clean, and files contents were OK. From all this here is what we can safely assume : a) The box was not hacked, or at least the hacker did not move the jails around, this is confirmed by MySQL working and doing enough I/O to stale the box from inside a jail that was later seen has moved. b) The hard-reboot did not cause a problem, it revealed it. Since both fsck run fine and the data were preserved we can pretty safely assumed that there was no data or system corruption caused by the hard reboot. Things to investigate : - When was the last time this box was rebooted normally ? Did it went fine ? Were the jails created at this time ? - What happens if you deactivate the jail that "survived" and reboot normally, would the other jail contained in it start ? If you deactivate the jail but leave the nullfs mapping on and try to restart EZJail ? Do the other jails start ? - What is the content of the different fstab.* and of the EZJail conf ? Does any of it points inside the jail that survived the reboot ? Unfortunately since the server was "corrected" and we probably won't have a satisfying answer. But honestly the probability of a system bug is really low. Very likely the "moved" jails were inside the surviving jail from the beginning, and a mix of nullfs remap and lack of reboot masked this fact for a while. From owner-freebsd-questions@FreeBSD.ORG Tue May 1 00:15:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15E6106564A for ; Tue, 1 May 2012 00:15:05 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C74C8FC0A for ; Tue, 1 May 2012 00:15:05 +0000 (UTC) Received: by obcni5 with SMTP id ni5so6053114obc.13 for ; Mon, 30 Apr 2012 17:15:05 -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; bh=1aJn9nqTgbS/2OjEbJBsG5kS4/uQwPvIHfmgYE3+dvc=; b=nxx1tHiZmuoiuvP1Hz5flGBZzgmfLu2RTSZ1AZ3fltVL5r09b3eT/uYF7bpE355zvh pKyzPoP2vd/+S5GqHziP8CDpl3paBL1RG/5yL9Px5yPE3VYgtZ31cnrE0EgtUeGCokji WJBdyx2CWgndFRi7x6/MITX7aeWgkCfE09ar30suiPIGr2R5VdX8DHwc4Y0tCkiWeOfB F2JqlEmNCWuoRgMwIscgDIcTspBmHIZ44kq2Bwoq+y+vq6RHI7Gn3xr45xT55/D8wcyJ w1DsithKXOfQCLPHmU7CwwqvLigLqQ3pzNSJkrHgj8geEf/hPca6QY/uzTjt7BEa/J0k RelA== Received: by 10.182.5.169 with SMTP id t9mr6405817obt.57.1335831305022; Mon, 30 Apr 2012 17:15:05 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id yw3sm18496313obb.7.2012.04.30.17.15.03 (version=SSLv3 cipher=OTHER); Mon, 30 Apr 2012 17:15:04 -0700 (PDT) Message-ID: <4F9F2C49.9040804@gmail.com> Date: Mon, 30 Apr 2012 17:20:25 -0700 From: Edward M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: which filesytems zfs needs to function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 00:15:05 -0000 Hi, I was running FreeBSD 9.0 using ZFS with the following setup on one harddrive: *(5) Create appropriate filesystems (feel free to improvise!).* zfs create zroot/usr zfs create zroot/usr/home zfs create zroot/var zfs create-o compression=on-o exec=on-o setuid=off zroot/tmp zfs create-o compression=lzjb-o setuid=off zroot/usr/ports zfs create-o compression=off-o exec=off-o setuid=off zroot/usr/ports/distfiles zfs create-o compression=off-o exec=off-o setuid=off zroot/usr/ports/packages zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/usr/src zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/var/crash zfs create-o exec=off-o setuid=off zroot/var/db zfs create-o compression=lzjb-o exec=on-o setuid=off zroot/var/db/pkg zfs create-o exec=off-o setuid=off zroot/var/empty zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/var/log zfs create-o compression=gzip -o exec=off-o setuid=off zroot/var/mail zfs create-o exec=off-o setuid=off zroot/var/run zfs create-o compression=lzjb-o exec=on-o setuid=off zroot/var/tmp from: http://www.aisecure.net/2012/01/16/rootzfs/ However I decided to reinstall FreeBSD such for thisparticular reason:-) to see if is possible to create lessfilesystems, if so, which ones in order for zfs to work properly or are the ones mention up above required, even though it says feel free to improvise? Hope gave all needed info:-) From owner-freebsd-questions@FreeBSD.ORG Tue May 1 00:52:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63EE3106566B for ; Tue, 1 May 2012 00:52:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id E9EE88FC0C for ; Tue, 1 May 2012 00:52:14 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so2660250wib.13 for ; Mon, 30 Apr 2012 17:52:13 -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=5hNE96d142R2w6Mcfw8WctY9sD6uFqaLUy43lkNHUJ8=; b=C5SxXkIUg/o2OBdGb1wQGohGTKhkigtpWPQKLD/R26EBGiBJa8aPbUzIsi2gcGAMZg hcQ3DOZdEc+gWr0aM3UbWbl1r6zxA8zcgAmsQWJQovkgjziyDrtTpBmiJtqjmTgot6K3 l+YkNFbRTXB5vJzazqJZSwq+NBBxWy30fV0NiwzuR0/i3QWThWNT960XszSephkFCFk3 lVv23/urw2t2eH3IJuHZj0N18D7UUg+X4URIACGDNQSsvysu+ZNMYFtIW0dBSzPbiOIn F006QRD5cOY1g135vb0qfE/uCuz7WJauy5zN1upqDigDiaWB3Q5TXl1EiQGpvTcodA2Y eodA== MIME-Version: 1.0 Received: by 10.180.107.101 with SMTP id hb5mr917934wib.7.1335833533367; Mon, 30 Apr 2012 17:52:13 -0700 (PDT) Received: by 10.223.96.140 with HTTP; Mon, 30 Apr 2012 17:52:13 -0700 (PDT) In-Reply-To: <4F9F2C49.9040804@gmail.com> References: <4F9F2C49.9040804@gmail.com> Date: Mon, 30 Apr 2012 19:52:13 -0500 Message-ID: From: Adam Vande More To: Edward M Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: which filesytems zfs needs to function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 00:52:15 -0000 On Mon, Apr 30, 2012 at 7:20 PM, Edward M wrote: > Hi, > > I was running FreeBSD 9.0 using ZFS with the following setup on one > harddrive: > *(5) Create appropriate filesystems (feel free to improvise!).* > > zfs create zroot/usr > zfs create zroot/usr/home > zfs create zroot/var > zfs create-o compression=on-o exec=on-o setuid=off zroot/tmp > zfs create-o compression=lzjb-o setuid=off zroot/usr/ports > zfs create-o compression=off-o exec=off-o setuid=off > zroot/usr/ports/distfiles > zfs create-o compression=off-o exec=off-o setuid=off > zroot/usr/ports/packages > zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/usr/src > zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/var/crash > zfs create-o exec=off-o setuid=off zroot/var/db > zfs create-o compression=lzjb-o exec=on-o setuid=off zroot/var/db/pkg > zfs create-o exec=off-o setuid=off zroot/var/empty > zfs create-o compression=lzjb-o exec=off-o setuid=off zroot/var/log > zfs create-o compression=gzip -o exec=off-o setuid=off zroot/var/mail > zfs create-o exec=off-o setuid=off zroot/var/run > zfs create-o compression=lzjb-o exec=on-o setuid=off zroot/var/tmp > The filesystems are mostly arbitrary. You really only need the rootfs with appropriate directories underneath. The list provided is simply a concise idealized layout. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Apr 30 22:47:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F3F106566B for ; Mon, 30 Apr 2012 22:47:45 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9968FC14 for ; Mon, 30 Apr 2012 22:47:45 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q3UMleLw031270; Mon, 30 Apr 2012 16:47:43 -0600 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-questions@freebsd.org Date: Tue, 1 May 2012 05:48:01 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205010548.01998.erich@alogreentechnologies.com> X-Mailman-Approved-At: Tue, 01 May 2012 01:55:12 +0000 Cc: Alejandro Imass , Robert Bonomi Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2012 22:47:45 -0000 Hi, On Monday 30 April 2012 22:38:13 Alejandro Imass wrote: > On Mon, Apr 30, 2012 at 7:36 AM, Robert Bonomi wrote: > > > A competennt, "not stupid", sysadmin would know these things. And not > > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > > nonsense questions. > > > > Postulating the "right" combination of _unrelated_ failures, virtually > > *anything* can happen. cf. "Nasal Monnkeys". > > > > the more than 14 years I have been participating in ANY mailing list. oh, you have not been in many then. Or you missed the fine prints there. Just ignore it. Erich From owner-freebsd-questions@FreeBSD.ORG Tue May 1 03:14:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0693106564A for ; Tue, 1 May 2012 03:14:10 +0000 (UTC) (envelope-from kyle.law@fgconferences.com) Received: from mail.fgconferences.com (mail.fgconferences.com [219.91.147.70]) by mx1.freebsd.org (Postfix) with ESMTP id 6423A8FC12 for ; Tue, 1 May 2012 03:14:10 +0000 (UTC) Received: from WIN7-PC (unknown [10.10.19.70]) by mail.fgconferences.com (Postfix) with ESMTP id 40A34404B23 for ; Tue, 1 May 2012 08:11:06 +0530 (IST) From: "Kyle Law" To: "freebsd-questions" MIME-Version: 1.0 Organization: FG Date: Tue, 1 May 2012 10:41:04 +0800 Message-Id: <20120501024106.40A34404B23@mail.fgconferences.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Invitation to APAC Oil & Gas Deepwater Forum 2012 - KL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 03:14:11 -0000 3 =E2=80=93 4 July 2012, Kuala Lumpur =E2=80=93 Malaysia Spearhead Your Deepwater Equipment Integrity and Disaster Management W= ithout A Hitch Dear Oil & Gas Peer, =E2=80=9CDeepwater oil-drilling is of extreme importance to us. How do= we prevent incidents while drilling in 8316 feet of water, then deepe= r into the substrata?=E2=80=9D Equip ourselves with proven technologies and strategize sustainable im= plementation mean everything to us. But how should we deal with it? Attend to meet the deepwater oil-drilling experts (representing their = regional oil & gas companies) and learn how to drill even deeper depth= s with the best practices: A Future Outlook on Deepwater Projects in Asia Dual Gradient Drilling=20 Understand Pore Pressure Prediction for Drilling Operations Drilling in a High Pressure High Temperature (HPHT) Environment Increasing Drilling Tool Reliability in Harsh Environments Maintaining the Integrity of Your Topside and Deepwater Equipment Deepwater Drilling Hazard Management Well Integrity Management Increasing Deepwater Production Rates through Efficient Efficient Well= Intervention The Roles of Remotely Operated Vehicles (ROV) and Autonomous Underwate= r Vehicles (AUV) Deepwater Operations Support Multiphase Metering =E2=80=93 selecting the right system suited to you= r needs Flow Assurance Challenges in the Deepwater Environment Hydrate Re-mediation in Flow-lines Subsea Separation =E2=80=93 key lessons from experiences Implementing Integrity Management for Deepwater Projects... and more Download Agenda! Forward this to your deepwater oil-drilling team members also. Best of Luck, Mr. Kyle Law kyle.law@fleminggulf.com Supported by: EU-Malaysia Chamber of Commerce and Industry=20 From owner-freebsd-questions@FreeBSD.ORG Tue May 1 05:42:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C32B7106566C for ; Tue, 1 May 2012 05:42:38 +0000 (UTC) (envelope-from kreoso@googlemail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 57CBC8FC1A for ; Tue, 1 May 2012 05:42:38 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so2755683wib.13 for ; Mon, 30 Apr 2012 22:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=AIAaVMIicE2mDP0pXnb1NVdbSy+BPuQAyZ+bXYt8jto=; b=gK5Xd1s0T3Mw+gFAVPUbYGFtmUHO/BjtVY4k4sNVRZInZdAgt5MfTEdHFxIg/+3E4a kPxzPOH19jVjtx6wbzyfbhE5QpHH0c/AexkeSJDP5nz6L/pESGK5ml+QrXZ/C4HOZYCo pmC5dXpqSvhpSwqGUbGlp9Z4+nGnFXrKcsGagqwzHow7IcqZBYrMQG3jrS9LNJQ9eyLv 8XvwcGgblhy/2Zs6r74rG1Jse7Jk7fB1DnjFf+2mCDYL6tRvrtGkhv8b4y0lDhk+PMkJ ++iyIrXr9+JLr9uWrzZyQnqnNNME1BCGAY/dX8mGJvLysWAtXkBeuoXG9UwVJDmov8Rj OJgQ== MIME-Version: 1.0 Received: by 10.180.94.161 with SMTP id dd1mr2379575wib.16.1335850957272; Mon, 30 Apr 2012 22:42:37 -0700 (PDT) Received: by 10.223.118.12 with HTTP; Mon, 30 Apr 2012 22:42:37 -0700 (PDT) Date: Tue, 1 May 2012 07:42:37 +0200 Message-ID: From: Jong-Beom Kim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: usb audio problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 05:42:38 -0000 I use HRT music streamer, which uses uaudio driver. But in mplayer when I play a movie, it sounds normal for some time and then suddenly plays no sound at all. it is not muted and mplayer recognizes that it works correctly. Only after reboot ,it sounds again, but as above it dies after some time when playing movie. In linux there was no problem, so it cannot be the problem of HRT music streamer. any ideas? -- *Kim* From owner-freebsd-questions@FreeBSD.ORG Tue May 1 05:57:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 665CE106566B for ; Tue, 1 May 2012 05:57:15 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 143848FC0C for ; Tue, 1 May 2012 05:57:14 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q415wAFu091478 for freebsd-questions@freebsd.org; Tue, 1 May 2012 00:58:10 -0500 (CDT) Date: Tue, 1 May 2012 00:58:10 -0500 (CDT) From: Robert Bonomi Message-Id: <201205010558.q415wAFu091478@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 05:57:15 -0000 Eitan Adler wrote: > On 30 April 2012 07:36, Robert Bonomi wrote: > > A competennt, "not stupid", sysadmin would know these things. And not > > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > > nonsense questions. > > A competent sysadmin would ask questions when they don't know the > answer bringing up possibilities they thought about. > A stupid sysadmin would yell at someone asking a question claiming > they should have known the answer. An informed critic would have recognized that the 'lack of knowledge' issue, and the 'nonsense questions' were two -entirely- different matters. One who lacks knowledge of system fundamentals and asks questions _about_ _the_fundammentals_ that they do not understand is not subject to criticizm -- they are educatable. Those who make grossly false-to-fact assumptions about the behavior of those fundamentals, and extrapolate wildly from those erroneous assumptions cannot be engaged in rational conversation -without- hauling them back to the initial erroneous assumptions, and correcting those errors. And, when that is done, it invaliates everything extrapolated from the false premise. Those who continue to extrapolate wildly in such manner cannot be helped. It was also established that the OP's descriptions were woefully incomplete and unreliable. A second disk was involved. 'dangerously dedicated' or otherwise? partitioning? slices? label type? There is indirect indication 'everything of interest' was on a single slice, but that is only an inference. There's no indication of where _in_the_filesystem_ on the slice that the jails '/' directories were located, or by what names they were known to the system outside the jail. The 'pattern' of the names, and placement in the hierarchy _is_ likely of some significance. As is (a) ownership, (b) permissions, and (c) 'flags', of (1) the original 'containing' directory, (b) the external view of the jail '/' directories in that directory, and (c) 'where they ended up'. It is likely that that 'external view' (pre- problem) of the jail '/'s does not exist -- unless one had historical data from before the problem. "Everything" was running in jails. Except for things that weren't. For any constructive analysis of "what happened", one needed to capture *all* the bits in the directory (itself) where the jails ended up -- a directory 'listing', e.g. 'ls' (regardless of options), is not sufficient -- and the same for the directory where they 'should have been', plus a copy of the slice's complete inode table -- i.e., from _all_ the cylinder groups. Then one would examine the 'last modified' timestamp on the directory where the jails were found, and -then- the timestamps on the jail directories themselves. Among other things, this data allows one to establish whether or not the jail directories were ever _really_ where one thought they were, or whether they just 'appeared' to be there, e.g. due to nullfs, or a 'link'. And an 'initial estimate' of -when- it may have happened. (if 'malice' is involved, or certain kinds of backup/restore activities, the timestamps _may_ not be accurate, but they are a 'best available' guess.) Capturing -all- the data from the 'where they were' directory, allows one to examine the 'deleted' entries -- where one _should_ find entries for the jails, and 'last accessed' timestamps which put a lower bound on when the 'move' occured. When the 'apparently impossible' happens, it is *VERY*OFTEN* the case that 'reality' is *NOT* what someone 'knows' it is. No matter how 'obvious' it is, one has to =verify=. It is also _FAR_ 'easier to believe' that (especially) a nullfs mount (or, less likely, a hard link) disappeared, than directories actually got moved. The move may well have happened, but one must 'positively' eliminate the 'more plausible' alternatives first. Things that would 'give the appearance' of what was reported, but from -very- different causations. Of course, to capture this kind of information, one have to know "what's where" in the filesystem metadata, and have means to capture it _without_ changing any of that data. And _that_ means that you have to have a fair understanding of the mechanics of how the filesystem works. Which rapidly leads into gory details of how the O/S does disk I/O, and the various performance optimizations (and trade-offs) employed. Reading _both_ of McKusick's "Design of .." books, and the 'Unix System Admininstration Handbook', by Nemeth, et al. is a good _start_. Having a bunch of the books from O'Reilley & Assoc. (), especially for 'standard' tools that you need to get the most out of, is also highly recommended. Disclaimer: I know a lot of the authors of those books, persoally. From owner-freebsd-questions@FreeBSD.ORG Tue May 1 07:32:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6D2701065674 for ; Tue, 1 May 2012 07:32:30 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2F22C8FC0A for ; Tue, 1 May 2012 07:32:30 +0000 (UTC) Received: by obcni5 with SMTP id ni5so6507950obc.13 for ; Tue, 01 May 2012 00:32:29 -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=WqgD84KoEyARRTPoVR9x4HkDU1Bni6zR43irApniUxM=; b=0k1kYsIGo9AvowdbwuBTUt/1ggkyM97DfZa706l3x41R/PofEbxD6zZYxxTwfbImfp h8XgILnkMhGyd22tx9+oHwvfYRjLSGaUZ6gcEzjuRNJf/5kdZ2lm+9OTsc6T4m7p1K9A NTXG8e/4hxyhghZuHlj5nv3o5o4wP3b7r/FHE0AN3Pe8L+nSG2TgBhCW/ICt7LjZtOF6 VtzjwLEj2MvXZoUiPmT/4fjGeNdpKFGoNEaBCng9BHkh96GW5iw7adbXqKt4JngDdqXR zI5ob6IyCLv+1u2MR2hv+bAjHhv73aje64LPtWUUznrL20ehKo3I+55Lt3fKe7QQEX9c W/Pw== Received: by 10.182.74.42 with SMTP id q10mr31601527obv.52.1335857549776; Tue, 01 May 2012 00:32:29 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id bk8sm6812186obb.0.2012.05.01.00.32.28 (version=SSLv3 cipher=OTHER); Tue, 01 May 2012 00:32:29 -0700 (PDT) Message-ID: <4F9F92CF.303@gmail.com> Date: Tue, 01 May 2012 00:37:51 -0700 From: Edward M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201205010558.q415wAFu091478@mail.r-bonomi.com> In-Reply-To: <201205010558.q415wAFu091478@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 07:32:30 -0000 On 04/30/2012 10:58 PM, Robert Bonomi wrote: > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > Admininstration Handbook', by Nemeth, et al. is a good_start_. > > Having a bunch of the books from O'Reilley& Assoc. (), > especially for 'standard' tools that you need to get the most out of, is > also highly recommended. > After realising I lack ton of knowledge, especially how the internals work. I'm using this advice:-) . From owner-freebsd-questions@FreeBSD.ORG Tue May 1 07:36:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70EDF1065670 for ; Tue, 1 May 2012 07:36:17 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 30A808FC18 for ; Tue, 1 May 2012 07:36:17 +0000 (UTC) Received: by obcni5 with SMTP id ni5so6510957obc.13 for ; Tue, 01 May 2012 00:36:16 -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=wrscZRuKnnJu+D/ZagJIVFexxAqKpnZwM53FEe9b7UE=; b=QWE0XG8pLTkadEQvTakpSJ8aZZZogpjtMnwJ5vwPGQgzg7/ZXE/Bi/8K7SvyLYAj+4 c+MZnCrYD/tOOzif0myhG+HyhoWh+q/6VaR/K8X3BTczIyl8UsNlp0IxVSpQPo7mU+kF 2fiZj8/WershP2QeIGgxcasGNyapcDCftoYdhxblzjn64cJhlF96We9uTbkBPRoFSFyK rFGrV+NkmVKty1tnjM91iQ+6m3VveIi7ozUgmu8mhWFnl6WFKplUzk8vyVkkfKQYGw0k 8PDTepYIZzfaxm3bJnd2pBPUfblndfYyZOkvwTN8MDcHx2aiuckQrproFGVXbie6LzEX up1A== Received: by 10.182.207.10 with SMTP id ls10mr31923346obc.9.1335857776784; Tue, 01 May 2012 00:36:16 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id xh3sm19581402obb.13.2012.05.01.00.36.15 (version=SSLv3 cipher=OTHER); Tue, 01 May 2012 00:36:16 -0700 (PDT) Message-ID: <4F9F93B2.5070407@gmail.com> Date: Tue, 01 May 2012 00:41:38 -0700 From: Edward M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0 MIME-Version: 1.0 To: Adam Vande More References: <4F9F2C49.9040804@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: which filesytems zfs needs to function X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 07:36:17 -0000 On 04/30/2012 05:52 PM, Adam Vande More wrote: > The filesystems are mostly arbitrary. You really only need the rootfs > with appropriate directories underneath. The list provided is simply > a concise idealized layout. Thanks!. I will try creating different filesytems to further my learning of zfs. :-) From owner-freebsd-questions@FreeBSD.ORG Tue May 1 10:08:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DB4D106564A for ; Tue, 1 May 2012 10:08:41 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm38-vm2.bullet.mail.bf1.yahoo.com (nm38-vm2.bullet.mail.bf1.yahoo.com [72.30.239.18]) by mx1.freebsd.org (Postfix) with SMTP id 97A708FC08 for ; Tue, 1 May 2012 10:08:40 +0000 (UTC) Received: from [98.139.214.32] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 01 May 2012 10:08:34 -0000 Received: from [98.139.212.241] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 01 May 2012 10:08:34 -0000 Received: from [127.0.0.1] by omp1050.mail.bf1.yahoo.com with NNFMP; 01 May 2012 10:08:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 516689.55503.bm@omp1050.mail.bf1.yahoo.com Received: (qmail 14660 invoked by uid 60001); 1 May 2012 10:08:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335866914; bh=BULwfHkbdn4/qvQ9hjHl1iRRAV/1odz5Fo7GjJP3mrA=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=FbRflySqilDe3rXepO5SHbhSfoAjWBoMTOFiUYnqV4UxdTY+tYllm3gfogcNVfQgYLjvXVl5NZsqSxAhkUJqJIFWtPcL/m7Qqg5mHYFLhwQTPuGwIAFknulJnXAnoBfkwsXZmTHXDacgz5azUWHNeguGRq3NG0M58zbzIf1mOTo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=U0NtjaeRmK/niOm5Q/3GlQvJx+NoYPIfqDxw9/jNVVdWAn3EvzCXXvMw1Afil2poikB4uMEw8fZEfM/Ie7+y1+SNJ9H0mJlqoEmUdaWr117ldeWvgzsxXNp1xYga3sc3YQNcPctGCreoNHBskO+bhgtfMX/AgbK9nQvyt6q0wtI=; X-YMail-OSG: OJUgL_cVM1nc71yoZmqyL5LVsRAAwurzK_8WKwgb0W8PN42 E7Gd1kueuf4sCgkKD7HqQHOznmsvRbRW_bIvdEJl2okpQPB5Yte9rZt4Cibn vF95JaZYNWAZ9zFmGiLrFxuFLjNjqXKiePZltOnJGYGxUXIrkI1ewOgvr1sN jMVm1cbj7P__ozkjnl88yqvauMiSWqZKscwiw6N7qqo0jQFN.HxdM4Q4iDS8 0WvcqU9YDoB7_hQdy5zJBJuAY8nXNAhT0xFw4xw4JybvWhr8LEbok9TNTdEx O45UuoZ9jLw1hNyBvcpME5do62IuitJBhWtAJgbjulOQnesXEXWAW76bByKn KhiGDCrVrMTHl1rwY7aN6BNQga02inteXy.PHNLiFQi0hRfbw_GxM6VmdJNf 8va4NVSHWXeG0JCeZiHZPVj._FC0qQSPeACjJUIF7hwbpAYJC312v3twQ.PD b6x1IHUUKASHXl.5FXjmH0J4S Received: from [112.134.100.249] by web160106.mail.bf1.yahoo.com via HTTP; Tue, 01 May 2012 03:08:34 PDT X-Mailer: YahooMailWebService/0.8.118.349524 Message-ID: <1335866914.5649.YahooMailNeo@web160106.mail.bf1.yahoo.com> Date: Tue, 1 May 2012 03:08:34 -0700 (PDT) From: Unga To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Unga List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 10:08:41 -0000 Hi all=0A=0AFollowing code fragment works in FreeBSD 8.1-RELEASE, but not i= n FreeBSD 9.0-STABLE:=0A=0Aerror =3D getaddrinfo("localhost", port, &hints,= &res0);=0A=A0if (error)=0A=A0=A0=A0 {=0A=A0=A0=A0=A0 fprintf(stderr,"getad= drinfo failed - %s\n", gai_strerror(error));=0A=A0=A0=A0=A0 exit(1);=0A=A0= =A0=A0 }=0A=0AIt complains: getaddrinfo failed - hostname nor servname prov= ided, or not known=0A=0AAny idea why?=0A=0ABest regards=0AUnga=0A From owner-freebsd-questions@FreeBSD.ORG Tue May 1 10:40:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C85D1065670 for ; Tue, 1 May 2012 10:40:26 +0000 (UTC) (envelope-from w3@langhans.com.pl) Received: from mail.langhans.com.pl (host-194126238033.net-serwis.pl [194.126.238.33]) by mx1.freebsd.org (Postfix) with ESMTP id E33468FC16 for ; Tue, 1 May 2012 10:40:25 +0000 (UTC) Received: by mail.langhans.com.pl (Postfix, from userid 1000) id 7EC38234ECEC; Tue, 1 May 2012 11:31:50 +0200 (CEST) Date: Tue, 1 May 2012 11:31:50 +0200 From: herbert langhans To: freebsd-questions@freebsd.org Message-ID: <20120501093150.GA2283@manul.langhans.com.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Has anybody out there taken the BSDA certification exams? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 10:40:26 -0000 Hi List, on Saturday the 5th of May there is the Central-European BSD day in Vienna. They also give the chance to make the BSDA certification exams. I went through the 'BSD Associate Exam Objectives' to get some idea the questions. But I still wonder, how NetBSD users get away with the style of questions and solutions asked. Its some years ago that I used FreeBSD and I have for sure forgotten lots of details or never ran into certain commands/solutions since changing to NetBSD. Has any of you taken the exams? Has somebody told you about the exams? By the Exam Objectives I think its not that easy to pass ... Cheers herb langhans From owner-freebsd-questions@FreeBSD.ORG Tue May 1 11:02:10 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30719106566B for ; Tue, 1 May 2012 11:02:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 8EB418FC1C for ; Tue, 1 May 2012 11:02:09 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q41B25aL084047 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 1 May 2012 12:02:06 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q41B25aL084047 Authentication-Results: smtp.infracaninophile.co.uk/q41B25aL084047; dkim=none (no signature); dkim-adsp=none Message-ID: <4F9FC2AD.30905@FreeBSD.org> Date: Tue, 01 May 2012 12:02:05 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120420 Thunderbird/12.0 MIME-Version: 1.0 To: Unga References: <1335866914.5649.YahooMailNeo@web160106.mail.bf1.yahoo.com> In-Reply-To: <1335866914.5649.YahooMailNeo@web160106.mail.bf1.yahoo.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5728715CF90556F51B1251CB" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" Subject: Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 11:02:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5728715CF90556F51B1251CB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/05/2012 11:08, Unga wrote: > Following code fragment works in FreeBSD 8.1-RELEASE, but not in FreeBS= D 9.0-STABLE: >=20 > error =3D getaddrinfo("localhost", port, &hints, &res0); > if (error) > { > fprintf(stderr,"getaddrinfo failed - %s\n", gai_strerror(error)); > exit(1); > } >=20 > It complains: getaddrinfo failed - hostname nor servname provided, or n= ot known >=20 > Any idea why? >=20 So, what is the variable 'port' initialized to? It should be a const char* with the name of a network service found in /etc/services or else the string representation of a port number in decimal. Failing that, this is almost certainly a configuration snafu on your 9.0-STABLE box. Does this machine have an entry for localhost in /etc/hosts ? Can it resolve localhost via the DNS? Or through any other means such as NIS or LDAP? What does: % getent hosts localhost return? If that fails, sanity check /etc/nsswitch.conf and /etc/resolv.conf Cheers, Matthew=09 --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig5728715CF90556F51B1251CB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+fwq0ACgkQ8Mjk52CukIwfrgCbBAvXMFkVBo1Q6W6cRMimNhgB FmgAn0cjgIzW1l8SqV5ZGjoYPqG2+nky =aT6z -----END PGP SIGNATURE----- --------------enig5728715CF90556F51B1251CB-- From owner-freebsd-questions@FreeBSD.ORG Tue May 1 11:32:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A5021065670 for ; Tue, 1 May 2012 11:32:12 +0000 (UTC) (envelope-from me@che78-3-82-246-30-233.fbx.proxad.net) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6248FC12 for ; Tue, 1 May 2012 11:32:08 +0000 (UTC) Received: from che78-3-82-246-30-233.fbx.proxad.net (unknown [82.246.30.233]) by smtp4-g21.free.fr (Postfix) with ESMTP id 998564C8111 for ; Tue, 1 May 2012 13:32:02 +0200 (CEST) Received: by che78-3-82-246-30-233.fbx.proxad.net (Postfix, from userid 2000) id 582202848C; Tue, 1 May 2012 13:32:01 +0200 (CEST) Date: Tue, 1 May 2012 13:32:01 +0200 From: Harald Weis To: freebsd-questions@freebsd.org Message-ID: <20120501113201.GA2872@pollux.local.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F9EAD87.2000005@dichotomia.fr> User-Agent: Mutt/1.4.2.3i Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 11:32:12 -0000 On Mon, Apr 30, 2012 at 05:19:35PM +0200, Jerome Herman wrote: > Short answer : I am a proud member of the "HAL and DBus are evil" group. > Middle answer : HAL and DBus were made, maintained and tuned with pretty > much nothing but Linux in mind. As a result they hardly play well with > other OS, and will tend to play worse as the time goes by. In fact > general opinion is that HAL never truly worked under Linux either, it is > now officially deprecated. I fully agree and propose a slightly longer answer by example because I just got rid of hald and dbus, and I am very happy with the following configurations for both my desktop and laptop machines. /boot/loader.conf on both: -- ums_load="YES" -- rc.conf on desktop: # Note that moused_enable is set to NO # by /etc/default/rc.conf ! -- keymap="us.iso" # Next line required after switching locale from iso-8859-15 to utf-8 scrnmap="us-ascii_to_cp437" # See rc.conf(5) and /etc/default/rc.conf # for default and non-default moused settings. # moused_ums0_flags="-a 0.3" # decelerate Labtec mouse -- rc.conf on laptop: -- keymap="fr.iso.acc" # Next line required after switching locale from iso-8859-15 to utf-8 scrnmap="us-ascii_to_cp437" # See rc.conf(5) and /etc/default/rc.conf # for default and non-default moused settings. # moused_enable="YES" # touchpad on laptops moused_flags="-3" moused_ums0_flags="" # non-default moused -- xorg.conf on both: -- Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "AutoAddDevices" "false" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection -- The following configures the keyboard map under X with the option for typing all sorts of non-ascii characters. .xinitrc on desktop: -- setxkbmap -model pc104 -layout us -option compose:ralt -- .xinitrc on laptop: -- setxkbmap -model pc102 -layout fr -option compose:menu -- That works on 8.2-RELEASE-p3. -- Harald Weis From owner-freebsd-questions@FreeBSD.ORG Tue May 1 11:59:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72476106564A for ; Tue, 1 May 2012 11:59:44 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from fileserver.home.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id DEA668FC08 for ; Tue, 1 May 2012 11:59:43 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id q41BxaGk042517 for ; Tue, 1 May 2012 12:59:36 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <4F9FD028.7090605@qeng-ho.org> Date: Tue, 01 May 2012 12:59:36 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120425 Thunderbird/12.0 MIME-Version: 1.0 To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Limiting closed port RST response X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 11:59:44 -0000 Every once in a while the nightly periodic security checks tell me I've got a kernel message Limiting closed port RST response from N to 200 packets/sec where N > 200. The problem is that it doesn't say which port was involved. Is there any way to find that out so I can try tracking down the problem? AFAICT tcpdump doesn't have a way saying "closed ports on this machine" as a filter. From owner-freebsd-questions@FreeBSD.ORG Tue May 1 12:02:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AD281065673 for ; Tue, 1 May 2012 12:02:32 +0000 (UTC) (envelope-from me@che78-3-82-246-30-233.fbx.proxad.net) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) by mx1.freebsd.org (Postfix) with ESMTP id 20E3C8FC19 for ; Tue, 1 May 2012 12:02:29 +0000 (UTC) Received: from che78-3-82-246-30-233.fbx.proxad.net (unknown [82.246.30.233]) by smtp4-g21.free.fr (Postfix) with ESMTP id 9DB544C8032 for ; Tue, 1 May 2012 14:02:23 +0200 (CEST) Received: by che78-3-82-246-30-233.fbx.proxad.net (Postfix, from userid 2000) id 38F922848C; Tue, 1 May 2012 14:02:22 +0200 (CEST) Date: Tue, 1 May 2012 14:02:22 +0200 From: Harald Weis To: freebsd-questions@freebsd.org Message-ID: <20120501120222.GB2872@pollux.local.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120501113201.GA2872@pollux.local.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120501113201.GA2872@pollux.local.net> User-Agent: Mutt/1.4.2.3i Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 12:02:32 -0000 On Tue, May 01, 2012 at 01:32:01PM +0200, Harald Weis wrote: Sorry for the typing error. Please read /etc/defaults/rc.conf instead of /etc/default/rc.conf. From owner-freebsd-questions@FreeBSD.ORG Tue May 1 12:07:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2AB9C1065676 for ; Tue, 1 May 2012 12:07:02 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id D37ED8FC16 for ; Tue, 1 May 2012 12:07:01 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SPBr5-0003Nl-2y for freebsd-questions@freebsd.org; Tue, 01 May 2012 13:06:55 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SPBr4-0003Av-QJ for freebsd-questions@freebsd.org; Tue, 01 May 2012 13:06:54 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q41C6sQE004895 for ; Tue, 1 May 2012 13:06:54 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q41C6saU004894 for freebsd-questions@freebsd.org; Tue, 1 May 2012 13:06:54 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Tue, 1 May 2012 13:06:54 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 12:07:02 -0000 I run 10-current on Compaq 6715s. It's very hot and noisy. If I boot in verbose mode, I get lots of: acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 acpi_tz0: _AC3: temperature 92.0 >= setpoint 40.0 acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 at the console. I guess it's telling me that the CPU is too hot? Is that normal, e.g. under "make -j4 buildworld"? Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue May 1 12:25:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95D64106564A for ; Tue, 1 May 2012 12:25:13 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 59D548FC18 for ; Tue, 1 May 2012 12:25:12 +0000 (UTC) Received: by iahk25 with SMTP id k25so7580208iah.13 for ; Tue, 01 May 2012 05:25:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=8xe5UK8PPjY1vvjrLuAmP5j5LDx8E/HnUktcXweEkXY=; b=HEcAd3AvOMgOnhyHBT8SuC/QJveU9g0pBL3tQk1nheVR69Wr/MGPhfoZUYKG5X9l5Q s1sUcBH8AxjbvUMx/eUlLhVmjojyNSxgWhqJzmDFYT2wwbWfN7d9yCByf9PioiPDvojg UWJHzxD2d0pldON9HW77fPEM98DqBLngI08tbWcSJjitU8JOOkAfIe7rW0QqQQVqXxSC 2HB1MWfVga/WEabfzWvLY3imSla/171JJxEbZ/5786WnYW6t8PLxYHh8TwCeuuFUDgY1 iShBZTaYLBmqu9d3buf+GYg3NHwCAkHaopTN5XXDxlBpCcnAbXsgTxLM79oluZDIk5TA O+pA== MIME-Version: 1.0 Received: by 10.50.149.129 with SMTP id ua1mr1527801igb.43.1335875111759; Tue, 01 May 2012 05:25:11 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Tue, 1 May 2012 05:25:11 -0700 (PDT) In-Reply-To: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> Date: Tue, 1 May 2012 08:25:11 -0400 X-Google-Sender-Auth: ZyCBMBzV9go4n7B-rs8zxKpehHw Message-ID: From: Alejandro Imass To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmq/JskWvcjq5eLDyMfFt9LeHGTTNUWm3FWMPzXP0gtWJRrIeRQyDV9d8DSkTLppcXOUwV+ Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 12:25:13 -0000 On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht wrote: > I run 10-current on Compaq 6715s. > It's very hot and noisy. If I boot > in verbose mode, I get lots of: > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > acpi_tz0: _AC3: temperature 92.0 >= setpoint 40.0 > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > > at the console. > > I guess it's telling me that the CPU is too hot? > > Is that normal, e.g. under "make -j4 buildworld"? > Probably not. I had a laptop with similar symptom when I was compiling stuff. I took it apart, cleaned it and thought that maybe these log messages were normal under stress. The CPU eventually fried and only then I took a real close look and the heatsink had a very tiny little hole where the fluid escaped, but it was not at all apparent at first sight. These liquid (or gel?) filled heatsinks are basically useless if the liquid escapes or evaporates so it will usually only show when you are using the CPU a lot. -- Alejandro Imass > Thanks > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > 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 May 1 12:41:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F320A106564A for ; Tue, 1 May 2012 12:41:12 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A91238FC12 for ; Tue, 1 May 2012 12:41:12 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SPCOF-0005QC-Pm; Tue, 01 May 2012 13:41:12 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SPCOF-0000Bd-Gj; Tue, 01 May 2012 13:41:11 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q41CfBC0005027; Tue, 1 May 2012 13:41:11 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q41CfBWw005026; Tue, 1 May 2012 13:41:11 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Tue, 1 May 2012 13:41:11 +0100 From: Anton Shterenlikht To: Alejandro Imass Message-ID: <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Alejandro Imass , freebsd-questions@freebsd.org References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 12:41:13 -0000 On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht wrote: > > I run 10-current on Compaq 6715s. > > It's very hot and noisy. If I boot > > in verbose mode, I get lots of: > > > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > > acpi_tz0: _AC3: temperature 92.0 >= setpoint 40.0 > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > > > > at the console. > > > > I guess it's telling me that the CPU is too hot? > > > > Is that normal, e.g. under "make -j4 buildworld"? > > > > Probably not. I had a laptop with similar symptom when I was compiling > stuff. I took it apart, cleaned it and thought that maybe these log > messages were normal under stress. The CPU eventually fried and only > then I took a real close look and the heatsink had a very tiny little > hole where the fluid escaped, but it was not at all apparent at first > sight. These liquid (or gel?) filled heatsinks are basically useless > if the liquid escapes or evaporates so it will usually only show when > you are using the CPU a lot. I didn't even know they put fluid heatsinks in laptop. I thought this was something from IBM cutting edge power6 chips. So I might need to pull the laptop apart.. I'm just not sure I could put it back together... Thanks anyway -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue May 1 13:31:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1FF9F106566B for ; Tue, 1 May 2012 13:31:50 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id AB6148FC1B for ; Tue, 1 May 2012 13:31:49 +0000 (UTC) X-Footer: b3NlLm5s Received: from localhost ([127.0.0.1]) by mail.ose.nl (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)) for freebsd-questions@freebsd.org; Tue, 1 May 2012 15:21:38 +0200 Message-ID: <4F9FE362.6000402@ose.nl> Date: Tue, 01 May 2012 15:21:38 +0200 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120411 Thunderbird/11.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1335866914.5649.YahooMailNeo@web160106.mail.bf1.yahoo.com> <4F9FC2AD.30905@FreeBSD.org> In-Reply-To: <4F9FC2AD.30905@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 13:31:50 -0000 On 05/01/2012 01:02 PM, Matthew Seaman wrote: > On 01/05/2012 11:08, Unga wrote: >> Following code fragment works in FreeBSD 8.1-RELEASE, but not in FreeBSD 9.0-STABLE: >> >> error = getaddrinfo("localhost", port,&hints,&res0); >> if (error) >> { >> fprintf(stderr,"getaddrinfo failed - %s\n", gai_strerror(error)); >> exit(1); >> } >> >> It complains: getaddrinfo failed - hostname nor servname provided, or not known >> >> Any idea why? >> > So, what is the variable 'port' initialized to? It should be a const > char* with the name of a network service found in /etc/services or else > the string representation of a port number in decimal. > > Failing that, this is almost certainly a configuration snafu on your > 9.0-STABLE box. > > Does this machine have an entry for localhost in /etc/hosts ? Can it > resolve localhost via the DNS? Or through any other means such as NIS or > LDAP? > > What does: > > % getent hosts localhost > > return? > > If that fails, sanity check /etc/nsswitch.conf and /etc/resolv.conf > > Cheers, > > Matthew > Hi While updating 9.0-RELEASE to 9-STABLE today mergemaster wanted to put in a new hosts file that does not contain the localhost entry. I don know why this changed, but I left the localhost entry in my hosts file. Cheers Disclaimer: http://www.ose.nl/email From owner-freebsd-questions@FreeBSD.ORG Tue May 1 13:43:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE3BB106566B for ; Tue, 1 May 2012 13:43:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9CCBA8FC12 for ; Tue, 1 May 2012 13:43:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id 2D4D33CA16; Tue, 1 May 2012 15:43:43 +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 q41Dhh5V001957; Tue, 1 May 2012 15:43:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 1 May 2012 15:43:43 +0200 From: Polytropon To: Edward M Message-Id: <20120501154343.4c2010ca.freebsd@edvax.de> In-Reply-To: <4F9F92CF.303@gmail.com> References: <201205010558.q415wAFu091478@mail.r-bonomi.com> <4F9F92CF.303@gmail.com> 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 Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 13:43:51 -0000 On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > Admininstration Handbook', by Nemeth, et al. is a good_start_. > > > > Having a bunch of the books from O'Reilley& Assoc. (), > > especially for 'standard' tools that you need to get the most out of, is > > also highly recommended. > > > > After realising I lack ton of knowledge, especially how the > internals work. I'm using this advice:-) . Except buying (good) books, you can also search for articles on the web. For example, "A Fast File System for UNIX" by M. K. McKusick is very interesting (at least it was for me when I lost all my important data). Some fs-related articles here: http://www.mckusick.com/articles.html They help you to understand how things work or what maybe makes them stop working. :-) Also the documentation of tools like TSK (ports/sleuthkit), ex TCT, is very helpful in understanding all the low-level details that _really_ matter when you _need_ to get your hands dirty in order to perform a forensic analysis or to recover important data. Sadly, that documentation has moved from local storage in /usr/local/share/doc/sleuthkit/ (where I've seen it the last time) to some on-line place or Wiki, something _I_ consider "a bad idea" especially in worst case considerations (i. e. no internet connection); the only content in README.txt, The docs that used to live in this directory now exist on the wiki: http://wiki.sleuthkit.org/ doesn't make it any better, sorry. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue May 1 13:44:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E477106575C for ; Tue, 1 May 2012 13:44:14 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3E85D8FC1A for ; Tue, 1 May 2012 13:44:14 +0000 (UTC) Received: by iahk25 with SMTP id k25so7695089iah.13 for ; Tue, 01 May 2012 06:44:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=W0NP8owH/yk6h7BWWvQiArB3g+7kGTcQdab8KLsZx8c=; b=BeDnPrzp8wyYVx2Z3jJ7+8vf6A7OQIA/1QqHJjZexYcVQPEjcvBDjW/2oWSqhZdtM/ 792qczsa6MbEQklW7muLpIy06uIUYdbQ+opeOpMJHqUpvG+Xtwb3tvExOASqIiNt6XXa d9TgxZujWrqDyxAlGGhxuv+mDxKTJmvpSnsOoQgr4coWsYicB0rmNE7lPVznXC51JXX5 p9cucJ1r9qFo8NwrymhMQ3+teaue7TTYddoF7t00sn54TSKvN09WYnWlKF5YPHlz+nUL 5LsVEefy79V4ZhMY8TQYUtLlownrx577J+0SC3/LBEphn23aiC0aZVdS57o9XgdxYDZ4 L6+w== MIME-Version: 1.0 Received: by 10.50.191.231 with SMTP id hb7mr578061igc.26.1335879853396; Tue, 01 May 2012 06:44:13 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Tue, 1 May 2012 06:44:13 -0700 (PDT) In-Reply-To: <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> Date: Tue, 1 May 2012 09:44:13 -0400 X-Google-Sender-Auth: YBlGlHxgAubpa8WjFnm7NIxlaEw Message-ID: From: Alejandro Imass To: Alejandro Imass , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkO8UD2GmnTf4ZX78CtitBvrXHYqH6QW3rH9nt8ROHAio2+DtnG2X3MZ2i+bY6nRmBp3wQX Cc: Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 13:44:14 -0000 On Tue, May 1, 2012 at 8:41 AM, Anton Shterenlikht wrote: > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: >> On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht wrote: >> > I run 10-current on Compaq 6715s. >> > It's very hot and noisy. If I boot [..] > I didn't even know they put fluid heatsinks in laptop. > I thought this was something from IBM cutting edge power6 > chips. > Yeah I didn't know either until it fried my CPU. Many laptop heatsinks use "heat pipes": http://en.wikipedia.org/wiki/Heat_pipe The hole will probably be too little to notice but in my case I noticed some oxidation/stain around the hole which gave it away. -- Alejandro > So I might need to pull the laptop apart.. > I'm just not sure I could put it back > together... > > Thanks anyway > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue May 1 13:52:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBCB51065676 for ; Tue, 1 May 2012 13:52:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 78EBD8FC15 for ; Tue, 1 May 2012 13:52:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id BFBFE3CA1B; Tue, 1 May 2012 15:52:11 +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 q41DqBJL001978; Tue, 1 May 2012 15:52:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 1 May 2012 15:52:11 +0200 From: Polytropon To: Anton Shterenlikht Message-Id: <20120501155211.0148c7dd.freebsd@edvax.de> In-Reply-To: <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> 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 Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 13:52:12 -0000 On Tue, 1 May 2012 13:41:11 +0100, Anton Shterenlikht wrote: > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht wrote: > > > I run 10-current on Compaq 6715s. > > > It's very hot and noisy. If I boot > > > in verbose mode, I get lots of: > > > > > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > > > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > > > acpi_tz0: _AC3: temperature 92.0 >= setpoint 40.0 > > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > > > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > > > > > > at the console. > > > > > > I guess it's telling me that the CPU is too hot? > > > > > > Is that normal, e.g. under "make -j4 buildworld"? > > > > > > > Probably not. I had a laptop with similar symptom when I was compiling > > stuff. I took it apart, cleaned it and thought that maybe these log > > messages were normal under stress. The CPU eventually fried and only > > then I took a real close look and the heatsink had a very tiny little > > hole where the fluid escaped, but it was not at all apparent at first > > sight. These liquid (or gel?) filled heatsinks are basically useless > > if the liquid escapes or evaporates so it will usually only show when > > you are using the CPU a lot. > > I didn't even know they put fluid heatsinks in laptop. > I thought this was something from IBM cutting edge power6 > chips. > > So I might need to pull the laptop apart.. > I'm just not sure I could put it back > together... Not a big issue. Make sure you can remember which parts belong where. Make photos if it helps you, or draw some notes. If possible, find the service manual of the device and use it as orientation. But I think such kind of documentation is no longer part of the "end user book present". :-) I've been lucky exploring that my "new" Lenovo Thinkpad T61p can be easily disassembled up to the CPU region and the cooling units without trouble, and with _standard_ tools, and you don't need to eviscerate _all_ the bowels of the device in order to make your way to that component. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue May 1 14:42:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C7F4B1065673 for ; Tue, 1 May 2012 14:42:00 +0000 (UTC) (envelope-from kickbsd@yandex.ru) Received: from forward2.mail.yandex.net (forward2.mail.yandex.net [IPv6:2a02:6b8:0:602::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6188FC0C for ; Tue, 1 May 2012 14:42:00 +0000 (UTC) Received: from web25d.yandex.ru (web25d.yandex.ru [77.88.47.165]) by forward2.mail.yandex.net (Yandex) with ESMTP id BF11F12A1D81; Tue, 1 May 2012 18:41:58 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1335883318; bh=V0nZgjIQJWsRrVL9mVXfwOMHTxJwf+7C1xKpqj16u/M=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=QqFOl5HDFfM5QQivID14V3+96h30Uz9E7WOEJlIHYIn5gjeWRg05HuJbCoHacFDN5 WG69E5ET+tD+jX8BNRVbDOGbRv7HLWmY5Q8SeQq5hc2loIP0jOUxysEXormaPeapLe 447wO+BQ3OLNMPPU/BTSedOXnypxi5w81cENu9eY= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web25d.yandex.ru (Yandex) with ESMTP id 81CF34349B08; Tue, 1 May 2012 18:41:58 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1335883318; bh=V0nZgjIQJWsRrVL9mVXfwOMHTxJwf+7C1xKpqj16u/M=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=QqFOl5HDFfM5QQivID14V3+96h30Uz9E7WOEJlIHYIn5gjeWRg05HuJbCoHacFDN5 WG69E5ET+tD+jX8BNRVbDOGbRv7HLWmY5Q8SeQq5hc2loIP0jOUxysEXormaPeapLe 447wO+BQ3OLNMPPU/BTSedOXnypxi5w81cENu9eY= Received: from leo.de.teleglobe.net (leo.de.teleglobe.net [64.86.53.146]) by web25d.yandex.ru with HTTP; Tue, 01 May 2012 18:41:58 +0400 From: Darren Baginski Envelope-From: kickbsd@yandex.ru To: Julien Cigar In-Reply-To: <4F97F5A5.9080807@ulb.ac.be> References: <4F97F5A5.9080807@ulb.ac.be> MIME-Version: 1.0 Message-Id: <490401335883318@web25d.yandex.ru> Date: Tue, 01 May 2012 18:41:58 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Cc: FreeBSD Mailing List Subject: Re: GPT + gmirror X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 14:42:00 -0000 There is a way. Here are the results http://www.opennet.ru/tips/2681_freebsd_gpt_raid_gmirror.shtml (in Russian) http://translate.yandex.com/ will provide meaningful translation to French/German/English or use your favorite translation service. 25.04.2012, 17:01, "Julien Cigar" : > Hello, > > I wondered if there is a way to gmirroring the whole disk (not slices > separately) when using GPT? > > GPT puts its metadata at the end of the disk, and when I start to use > gmirror it overwrites the GPT metadata (... as gmirror puts also its > metadata at the end of the disk ...). > > I noticed a new option in the newfs manpage: > > -r reserved > The size, in sectors, of reserved space at the end of the parti‐ > tion specified in special. This space will not be occupied by > the file system; it can be used by other consumers such as > geom(4). Defaults to 0. > > I wondered if it could help .. ? Why does it default to 0? > > Thanks, > Julien > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > > _______________________________________________ > 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 May 1 14:48:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0B7E1065672 for ; Tue, 1 May 2012 14:48:19 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm11-vm0.bullet.mail.bf1.yahoo.com (nm11-vm0.bullet.mail.bf1.yahoo.com [98.139.213.136]) by mx1.freebsd.org (Postfix) with SMTP id 927FD8FC15 for ; Tue, 1 May 2012 14:48:19 +0000 (UTC) Received: from [98.139.212.145] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 01 May 2012 14:48:13 -0000 Received: from [98.139.215.251] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 01 May 2012 14:48:13 -0000 Received: from [127.0.0.1] by omp1064.mail.bf1.yahoo.com with NNFMP; 01 May 2012 14:48:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 43348.76494.bm@omp1064.mail.bf1.yahoo.com Received: (qmail 41455 invoked by uid 60001); 1 May 2012 14:48:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335883692; bh=MGumfbhwAxrwFKQbuGMStFohUfurq2A5YMhyJPHoHRo=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=46VNAM2dL3EgIFoky8RmD3Vmt0f3WiAvX5uLtk024I4gDGdgyokbQkiDU15W5ZpLZvz/4j/SS89V8kpbK8pm5ae50Oo15hjC1kgVUO62GcFPiFvJ+Xs0gF7QJhnJtgmPuE2W+UMlDYq3m/qCsCZnx3vdYeOoQ2RkDP2Br9u7YqM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ggLlKofmA8UGnWZsLHz7MTaF5f5dYBHq6GWifjB3st5CQT+r2TVTfukhlkH0DgSHsFx+LhQWQwlm+NIK61k4ZyvaPzLoV9Iihiqt7jalKlVciZ4UDq4s1Tknc8Jz2gbgAIPKxMvOfHF5a3HjYTdOM+VaRwVLMvuiAPjjqXahG4A=; X-YMail-OSG: kqcnbccVM1lm.W2pCH1UnZJGBf.z32jPOd0mkqXvEXuIjki HuLZjxvHzcqHx6XE_PPwSiOpjYRvaSAEcjJGc5MEPr9j7BZku..pUs_alSE1 bFXOWZGYqEAB5YNAtDsVJ3eg2Y9Sk.Tt0M4u7cX.UKNpWcdzkF5X6.FBpVkw KD6jW_KlB0x7U8sZWn3GY8RNv0EZi2fkmYPEiNyjE4XzLXqgm3h1XDhqW90f LoTTueohH8JMsE2dO_todDtQyNqvczut71kkwSoBwQWcSHzCdOoIEmNwp3kg yXrnD6vi50xyhT8zEcx1tlPWjTEMIeC89LAUZ0pqJgErWxaD4uFRBakhgVkA SCRRgOVjfOvmEAJCcYZ8.0XzXEZ4GW2gp82gDWB4QMSVnS5GLyHwKHSk6nXP Jl7p1DL5czpcfhv5atS_hMSsgA7Mt6G99kXS3CKZBD3izwMZ6IBqh1JtHxeB .93mcW1iJdKx9ShAHw1p79GqWJrivAaVwYW5uCPEFbKGFc8A- Received: from [112.134.103.48] by web160104.mail.bf1.yahoo.com via HTTP; Tue, 01 May 2012 07:48:12 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1335866914.5649.YahooMailNeo@web160106.mail.bf1.yahoo.com> <4F9FC2AD.30905@FreeBSD.org> Message-ID: <1335883692.40276.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Tue, 1 May 2012 07:48:12 -0700 (PDT) From: Unga To: Matthew Seaman In-Reply-To: <4F9FC2AD.30905@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Unga List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 14:48:20 -0000 > From: Matthew Seaman =0A> To: Unga =0A> Cc: "freebsd-questions@freebsd.org" = =0A> Sent: Tuesday, May 1, 2012 11:02 AM=0A> Subject: Re: localhost not rec= ognised in getaddrinfo(3) in FreeBSD 9.0-STABLE=0A> =0A> On 01/05/2012 11:0= 8, Unga wrote:=0A>> Following code fragment works in FreeBSD 8.1-RELEASE, = but not in FreeBSD =0A> 9.0-STABLE:=0A>> =0A>> error =3D getaddrinfo("loca= lhost", port, &hints, &res0);=0A>> =A0 if (error)=0A>> =A0 =A0 {=0A>> =A0 = =A0 =A0 fprintf(stderr,"getaddrinfo failed - %s\n", =0A> gai_strerror(error= ));=0A>> =A0 =A0 =A0 exit(1);=0A>> =A0 =A0 }=0A>> =0A>> It complains: get= addrinfo failed - hostname nor servname provided, or not =0A> known=0A>> = =0A>> Any idea why?=0A>> =0A> =0A> So, what is the variable 'port' initial= ized to?=A0 It should be a const=0A> char* with the name of a network servi= ce found in /etc/services or else=0A> the string representation of a port n= umber in decimal.=0A> =0A#define MYPORT =A0=A0=A0 =A0=A0=A0 4321=0A=0Achar= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 port[10];=0Asnprintf(port, si= zeof(port), "%d", MYPORT);=0A=0Aerror =3D getaddrinfo("localhost", port, &h= ints, &res0);=0A=0APls note, using 127.0.0.1 instead of localhost works. Bu= t I prefer to use localhost. =0A=0A> Failing that, this is almost certainly= a configuration snafu on your=0A> 9.0-STABLE box.=0A> =0A> Does this machi= ne have an entry for localhost in /etc/hosts ? Can it=0A> resolve localhost= via the DNS? Or through any other means such as NIS or=0A> LDAP?=0A> =0A> = What does:=0A> =0A> =A0 =A0 % getent hosts localhost=0A> =0A> return?=0A> = =0A=0A$ getent hosts localhost=0A127.0.0.1=A0=A0=A0=A0=A0=A0=A0=A0 localhos= t=A0 localhost.my.domain ftp.sam511.lan=0A=0A> If that fails, sanity check = /etc/nsswitch.conf and /etc/resolv.conf=0A> =0A=0Acat /etc/nsswitch.conf=0A= =0Agroup: compat=0Agroup_compat: nis=0Ahosts: files dns=0Anetworks: files= =0Apasswd: compat=0Apasswd_compat: nis=0Ashells: files=0Aservices: compat= =0Aservices_compat: nis=0Aprotocols: files=0Arpc: files=0A=0Acat /etc/resol= v.conf=0A=0Anameserver 192.168.1.1=0A=0ARegards=0AUnga From owner-freebsd-questions@FreeBSD.ORG Tue May 1 15:29:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 852D3106566C for ; Tue, 1 May 2012 15:29:13 +0000 (UTC) (envelope-from khairil.yusof@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 14BF08FC0C for ; Tue, 1 May 2012 15:29:12 +0000 (UTC) Received: by weyt57 with SMTP id t57so3137656wey.13 for ; Tue, 01 May 2012 08:29:12 -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=mp9NMdk9s9GMw5h6qH/hK8gu5POVFXc7/55TB5+kfvs=; b=cc8vodqscWaSD11gdtG4hFFICnHlH4dUhoLDwcsxlfVb8t+rJojFIYpmq1hiRiB2yQ PTySfgOsjy9V8bqFbOKKGxexdT04hL6wUOCLs7kQWwBLJCwx7WK/HhJehvz3lFO0yVXa Oow8eXOl1fxLzZ6hsMZDzWP3VsTDyvhnBphvPPRGaszmjTk21cWfzfvNaGuUTL8zCHEo uGR7hL9+pyURP/HY9odJZOGzgtICWn/Y7Bo2Yk1Q++awOmSQpfwmYISTUdTkCIJ6YcNJ /FMV/Bgr1/IFG2+rKvr3yqIKjqrT+uKsX719IyPy5dDV5lK6Noto11ksmwsxsSfgX5bj sexQ== MIME-Version: 1.0 Received: by 10.180.104.231 with SMTP id gh7mr6023937wib.10.1335886152020; Tue, 01 May 2012 08:29:12 -0700 (PDT) Received: by 10.216.199.95 with HTTP; Tue, 1 May 2012 08:29:11 -0700 (PDT) Date: Tue, 1 May 2012 23:29:11 +0800 Message-ID: From: Khairil Yusof To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: netif starting late after upgrade to FreeBSD 9.0 from 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 15:29:13 -0000 I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0. The upgrade following /usr/src/UPDATING was without any problems. The only issue I have is that there seems to be a race condition for bootup scripts in which netif can start later than devices that require it, resulting in the following problems : 1. pf rules not being loaded as it can't find network interfaces defined such as lo0 2. named not starting I suspect that it may be a file was not installed/updated after mergemaster -i but, when I check /etc/rc.d/netif and pf the REQUIRES line is the same as that in /usr/src How do I troubleshoot this? I've tried to manually change REQUIRES for pf for example to LOGIN, but it doesn't have any effect. Any pointers would be much appreciated to possible solutions would be much appreciated. Regards From owner-freebsd-questions@FreeBSD.ORG Tue May 1 15:31:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 737C31065679 for ; Tue, 1 May 2012 15:31:56 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0CE8FC0A for ; Tue, 1 May 2012 15:31:56 +0000 (UTC) Received: by iahk25 with SMTP id k25so7845415iah.13 for ; Tue, 01 May 2012 08:31:56 -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=7CcnZsA7BwjIYNqIvThyjtVsKLPYA17xorQqqzbZjxk=; b=ZvXlV455UJ87SMlZeJwgp5RpriM448GuKLsX06AkZ+rFfZfktJlBHzKuEcQtb8k983 PmJZjJHblSJqLQvldgZsaA17zoWPpBhGE1aQGtFaxRuWNdyunBpv1XUF2udsxj8Ha/gH sQBcwHjGKCWF4269QYsK8hkaOnn2BjcRZkIXoPuVw72eVJ/CjwluA21BayLB68Av7PeP 2quIj4NmAr7fycJYxFngwvzpOe1bbgmolvqGrRXtGAzUr+Bc7LxSBHTIBmU6V2ZY4CCm zF1ch9TmdxKPJXTXkaCszTHaSstAZyQRGURAkPY3yJ5ncbJeaywMMD905vF/zmyWliCV 3sUw== MIME-Version: 1.0 Received: by 10.50.185.232 with SMTP id ff8mr2445007igc.5.1335886315887; Tue, 01 May 2012 08:31:55 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.48.210 with HTTP; Tue, 1 May 2012 08:31:55 -0700 (PDT) Date: Tue, 1 May 2012 08:31:55 -0700 X-Google-Sender-Auth: 03dDJsXtlIbhu6SeNy79Us_YzpM Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 15:31:56 -0000 How do add a static route to rc.conf? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Tue May 1 15:47:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FA82106564A for ; Tue, 1 May 2012 15:47:54 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id DA9148FC08 for ; Tue, 1 May 2012 15:47:53 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2372020ghr.13 for ; Tue, 01 May 2012 08:47:53 -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:x-enigmail-version:content-type :content-transfer-encoding; bh=urSmwmjNK6490LTBSUNFINWSAqx4BYJrZKYz62G6GeY=; b=gI1woFdJSfC38JQJO7JMtJRJ44ZCpZqxR/xXh20hTTikfQefb759lR6AsDf/1cOC6D soJJMqWUWfHIWRjLNtpG0bbIiuMHWSMv05fTUPGIykz7Ceotz/xTJSEo6qYKLVcNj9Nt 71+nB+0SiXVtQ2/NK7wDEqxSfyfZnTjVtomJpP6l5zFudwTdLEpxjIcW8rCN1YUvRgov RoExO2eLWFGU5frANpLxy8UcLKGJSw6fcdDL0Oodja4Ku/5fP6jL2yjhoepm6dpglUZN TTpQ/9QyUg2tEaNnKIn2ix2j8msKLNlR7CWHF4n1f3GuIIKlB2zfeTpXSfWSDLV4IAT9 5UAQ== Received: by 10.236.170.71 with SMTP id o47mr23535308yhl.104.1335887273219; Tue, 01 May 2012 08:47:53 -0700 (PDT) Received: from [192.168.70.130] ([12.107.221.2]) by mx.google.com with ESMTPS id p6sm4889902ani.8.2012.05.01.08.47.51 (version=SSLv3 cipher=OTHER); Tue, 01 May 2012 08:47:51 -0700 (PDT) Message-ID: <4FA005A7.1020500@gmail.com> Date: Tue, 01 May 2012 10:47:51 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120420 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 15:47:54 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 5/1/2012 10:31 AM, Chris Maness wrote: > How do add a static route to rc.conf? > > Thanks, > Chris Maness > _______________________________________________ > 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" http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration -- Noel Jones -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPoAWnAAoJEHIluGOd3V4F/U8H/i+OnN2OKmKxEPYjK7TKovie iXQX2AD8ddvUWsxrsoeJX03clg6sjzS+yF3pIGqC/IvhX+dwkpu8+55ZnzXNCQmW chVQs2uUixUxBugUSK79bR0pXJfBvnfgEXD42Fgxd8C4Yb+b9nrscFOmOzStt5XX FssudAAS2G+mHJlAUT+q8SJqI4ebQQsSXID3O2CrTx9081gqQEyvSrhJI5JhlOl8 IB6Q+pQ9rcO3bsXTF0THTWMYPbu9wxLaU0uqyCGLwAn6w3d26dfrbAFMxeIHDOi1 YrgeIVsVHtwiuMqcvvhW0iZN4ijbSkr+zchzzY38TUJ3aGL7I+Nu+C6sgMK1XiM= =as2f -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue May 1 17:00:52 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D56106564A for ; Tue, 1 May 2012 17:00:52 +0000 (UTC) (envelope-from eam1edward@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4ED038FC08 for ; Tue, 1 May 2012 17:00:52 +0000 (UTC) Received: by obcni5 with SMTP id ni5so7212011obc.13 for ; Tue, 01 May 2012 10:00:52 -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; bh=LtmYMvvR9bvj2AAPUF+ufmMeUZjtaqjhr1qeCcpFyf8=; b=1GMsweZqBlEHAdRDVTf9r6Z1MjefY7jOoqxE5CZXv2FfC+B/kpl4xmAumz7y2DPOjR zB9+xQKJifmZrzocGlUvRWXkbTdeUo6uqKBFXLA6KB26YhylADbMZYMqB/jSRoHLLg4v 1BBSOJTV7jxO4NRTzDs/92fiouLuXjKUBUMAw7p/ijuk8xvlYgA9OI/iWZjDsZ5WLxik dy1CtayQsXFvukvOGBUTKNjQqzQdlB5Mgh0o1TwFCbESnlsUCbM/JmaJtcFJqc9nK6CH RsFejmsYe0D5MzXsrzHI4ZenhDn6GLlOnrlIYLJfNVAdV3ETeuymjZy8DVCKXdR2BIxO NpgQ== Received: by 10.182.119.6 with SMTP id kq6mr6637709obb.67.1335891651987; Tue, 01 May 2012 10:00:51 -0700 (PDT) Received: from localhost.localdomain ([174.134.109.226]) by mx.google.com with ESMTPS id lq4sm13550389obb.12.2012.05.01.10.00.50 (version=SSLv3 cipher=OTHER); Tue, 01 May 2012 10:00:51 -0700 (PDT) Message-ID: <4FA01806.1020800@gmail.com> Date: Tue, 01 May 2012 10:06:14 -0700 From: Edward M User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120424 Thunderbird/12.0 MIME-Version: 1.0 To: Polytropon References: <201205010558.q415wAFu091478@mail.r-bonomi.com> <4F9F92CF.303@gmail.com> <20120501154343.4c2010ca.freebsd@edvax.de> In-Reply-To: <20120501154343.4c2010ca.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 17:00:52 -0000 On 05/01/2012 06:43 AM, Polytropon wrote: > Except buying (good) books, you can also search for > articles on the web. For example, "A Fast File System > for UNIX" by M. K. McKusick is very interesting (at > least it was for me when I lost all my important data). > > Some fs-related articles here: > http://www.mckusick.com/articles.html > > They help you to understand how things work or what > maybe makes them stop working.:-) > > Also the documentation of tools like TSK (ports/sleuthkit), > ex TCT, is very helpful in understanding all the low-level > details that_really_ matter when you_need_ to get your > hands dirty in order to perform a forensic analysis or to > recover important data. Sadly, that documentation has moved > from local storage in/usr/local/share/doc/sleuthkit/ (where > I've seen it the last time) to some on-line place or Wiki, > something_I_ consider "a bad idea" especially in worst case > considerations (i. e. no internet connection); the only > content in README.txt, > > The docs that used to live in this directory now exist on the wiki: > http://wiki.sleuthkit.org/ > > doesn't make it any better, sorry. Thanks for the help...I will definitely check McKusick site and the docs I'm self learning UNIX/programming. so I need all the info and help I can get.:-) From owner-freebsd-questions@FreeBSD.ORG Tue May 1 17:28:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2655F106567C for ; Tue, 1 May 2012 17:28:26 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from h1907788.stratoserver.net (h1907788.stratoserver.net [85.214.252.129]) by mx1.freebsd.org (Postfix) with ESMTP id D6CBC8FC14 for ; Tue, 1 May 2012 17:28:25 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by h1907788.stratoserver.net (Postfix) with ESMTP id 6506339ECBEA for ; Tue, 1 May 2012 19:02:34 +0200 (CEST) Received: from h1907788.stratoserver.net ([127.0.0.1]) by localhost (h1907788.stratoserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fEr-tCL-sFTH for ; Tue, 1 May 2012 19:02:33 +0200 (CEST) Received: from [192.168.2.107] (p5DDAA43E.dip.t-dialin.net [93.218.164.62]) by h1907788.stratoserver.net (Postfix) with ESMTP id CEB0E39ECBE2 for ; Tue, 1 May 2012 19:02:33 +0200 (CEST) Message-ID: <4FA01728.30504@d2ux.net> Date: Tue, 01 May 2012 19:02:32 +0200 From: Matthias Petermann 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Building kernel outside of /usr/src (with an unprivileged user) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 17:28:26 -0000 Hello, while trying to build a patched CURRENT src on a STABLE FreeBSD 9 I was wondering if it would be possible to have the source directory (src) in a different place from /usr (e.g. in /home/myuser/src) where it can be built with an unprivileged user and without interference with the STABLE sources in /usr/src. Does anyone have an idea how to achieve this? Kind regards, Matthias From owner-freebsd-questions@FreeBSD.ORG Tue May 1 18:08:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D6CD106566B for ; Tue, 1 May 2012 18:08:32 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm22.bullet.mail.bf1.yahoo.com (nm22.bullet.mail.bf1.yahoo.com [98.139.212.181]) by mx1.freebsd.org (Postfix) with SMTP id 2C9138FC15 for ; Tue, 1 May 2012 18:08:32 +0000 (UTC) Received: from [98.139.212.152] by nm22.bullet.mail.bf1.yahoo.com with NNFMP; 01 May 2012 18:08:31 -0000 Received: from [98.139.212.222] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 01 May 2012 18:08:31 -0000 Received: from [127.0.0.1] by omp1031.mail.bf1.yahoo.com with NNFMP; 01 May 2012 18:08:31 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 653237.49942.bm@omp1031.mail.bf1.yahoo.com Received: (qmail 59685 invoked by uid 60001); 1 May 2012 18:08:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335895711; bh=AN3IRHlgpGwSAiDdt8Z5pzLpSHil96f1kT0Ucjh6fss=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=lyGYw4R2DczJJTGBcJflxE02e4d5pL1HndVmfhaKZosY0nrhRSmvbMSq+HkGT+7tN2FiMfkKsdFN0YBJhq8j747J4RA3Cb8pnaMxcQSae5JEVht6rjqRO7WhWeguBWPCi5mkvRPYG42qc9tLE/YpUTQOXUzcjbR9Y3LFFkRt/rU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=bliS1DRDeL+4eNVjfy88oeqSNEbUrB9qvrDJuQE+81nDCS7blKyPymzeVlapOoeK09YOrKs8oyCzIW1y2+PMVYF0zVJXYfzfdxligNxID/H/gYcZ+zKhTLZO/rCylPPSiCUtGd9ihtZ1IctOz0fc+lCpQOk4vUsJqARzsmy5qpw=; X-YMail-OSG: VWuVDQwVM1k_9APcIBFsC51STHJy0MKm_.hXUlFUJcoBJON pHkE4ecpvsleljFU5CCGZGaOxX50pxdZnKdlqyYRdCaYXdLKM_0dpfjjT84L 5OfHeD3EH3BOaQ5_VFe3J8.d0IO3HZt80S654AowCIWV.nKrEPiYoRu.tGn0 A8qKSnoXz.5kP_fEzZUVnd_bgNb.zMrbcZtLBBT1AK9VMus1jdft_bcuDYTr 9fZDNKajrMIozEBhPySyxGtEhD8kgBs.Aqf2MN.zcsCC8l0a5qR8d4mmeM_9 IdiwZ107VJPYJPeHLFBZxhZ0._5AqGot_VBc3MyFcuhMZf_uH.awgnqWCRDb YJZmwnbUgVPUZH53VCMh0F4SP3vrbI0wVajByGRBx_KGfajpXx_.pr4hcfif tnvnNQxNjYY4df2BAZWrSLFzHhK2uShRKsri8H2tkAky81B5Pg1MIeKP_5B5 yEtkzLDuBCXYu8fu0KK4izOA4 Received: from [112.134.103.48] by web160104.mail.bf1.yahoo.com via HTTP; Tue, 01 May 2012 11:08:31 PDT X-Mailer: YahooMailWebService/0.8.118.349524 Message-ID: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> Date: Tue, 1 May 2012 11:08:31 -0700 (PDT) From: Unga 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.5 Subject: Segmentation fault in FreeBSD 9.0 flockfile () X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Unga List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 18:08:32 -0000 Hi all=0A=0AI'm getting a=A0 Segmentation fault in FreeBSD 9.0 as follows f= or myprog.c:=0A=0A=0AReading symbols from /libexec/ld-elf.so.1...done.=0ALo= aded symbols for /libexec/ld-elf.so.1=0A#0=A0 0x28ebb062 in flockfile () fr= om /lib/libc.so.7=0A[New Thread 29c04900 (LWP 100575/SDLTimer)]=0A[New Thre= ad 29c04300 (LWP 100416/myprog)]=0A(gdb) =0A(gdb) info threads=0A* 2 Thread= 29c04300 (LWP 100416/myprog)=A0 0x28ebb062 in flockfile ()=0A=A0=A0 from /= lib/libc.so.7=0A=A0 1 Thread 29c04900 (LWP 100575/SDLTimer)=A0 0x28e1527b i= n _umtx_op ()=0A=A0=A0 from /lib/libc.so.7=0A(gdb) =0A=0A=0AI don't use flo= ckfile () directly in my program.=0A=0A=0AI use -lpthread.=0A=0ASame progra= m runs without any issue on FreeBSD 8.1.=0A=0A=0AAny idea what's going on?= =0A=0ABest regards=0AUnga=0A From owner-freebsd-questions@FreeBSD.ORG Tue May 1 18:46:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46C6D106564A for ; Tue, 1 May 2012 18:46:40 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy7-pub.bluehost.com (oproxy7.bluehost.com [IPv6:2605:dc00:100:2::a7]) by mx1.freebsd.org (Postfix) with SMTP id 096E78FC14 for ; Tue, 1 May 2012 18:46:39 +0000 (UTC) Received: (qmail 18734 invoked by uid 0); 1 May 2012 18:46:39 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy7.bluehost.com with SMTP; 1 May 2012 18:46:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=7dn9h3AWq8ZfSUwvDafJ9dNBzz8AQ8J/7bX+hQNBD/g=; b=kHsnukk0wlrE97iJp3N5yfI52TbiJGgt7nxb7JkPFJk5y0nPX4u+nuHRlCn/cT0q0eG4IsFLvxCjgPC9AibmLNQLS4PEkIrfqc5G9lxornBEJU+BFNypiOGhU42qlGOc; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1SPI5v-0007fM-6h for freebsd-questions@freebsd.org; Tue, 01 May 2012 12:46:39 -0600 Date: Tue, 1 May 2012 12:46:38 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20120501184638.GA4489@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <201205010558.q415wAFu091478@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205010558.q415wAFu091478@mail.r-bonomi.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.com} Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 18:46:40 -0000 On Tue, May 01, 2012 at 12:58:10AM -0500, Robert Bonomi wrote: > > Reading _both_ of McKusick's "Design of .." books, and the 'Unix System > Admininstration Handbook', by Nemeth, et al. is a good _start_. "Both"? I'm aware of at least three (FreeBSD, 4.3BSD, and 4.4BSD) that are probably within the realm of what you're talking about (learning about the workings of a BSD Unix system), all of which seem a little redundant -- just different editions of the same book, from the look of it. What do you mean by "both" of McKusick's books? I think there's an answer book for at least one of those, too. Do you perhaps mean the main book and the answer book? Do you mean to include the general-purpose "open source" book as one of the books (Open Sources: Voices from the Open Source Revolution)? > > Having a bunch of the books from O'Reilley & Assoc. (), > especially for 'standard' tools that you need to get the most out of, is > also highly recommended. > > Disclaimer: I know a lot of the authors of those books, persoally. If you have a decent ebook reader, I recommend just getting on the O'Reilly mailing list for its periodic announcements of ebook discount deals and picking up an occasional good book from those deals. It's easy to get far more excellent books than you have time to read that way, for really good prices. In fact, O'Reilly has a 50% off deal for a few ebooks about C programming right now: http://shop.oreilly.com/category/deals/c-programming.do O'Reilly's ebook deals are about the only way I've found to get good technical books from a major publisher in digital formats at a reasonable price, considering most of the publishing world still thinks it's okay to charge more for ebooks than for hardcopy books for some asinine reason. O'Reilly is, in fact, pretty far ahead of competitors on its handling of ebooks. For instance, if you have a hardcopy O'Reilly book, you can register it by ISBN with O'Reilly, then get an ebook copy of it for about five bucks. By contrast, The Pragmatic Bookshelf (which produces very high quality books as well) at *best* gives you the opportunity to get a hardcopy book plus a PDF book at the same time for about 150% of the cover price of the hardcopy alone, *only* if you buy them together from the Pragmatic website itself, and if you only have the ebook or the hardcopy book you have no way to get a discount on the other; you have to pay full price. Pragmatic does offer ebooks at slightly lower price than hardcopy, which is at least better than the "standard" industry practice for science fiction, but it's a ridiculous price for a bundle of bits in a digital file. O'Reilly offers some kind of discount on hardcopies for people who have the ebooks, too, I think. I'm not sure -- I've never taken advantage of that discount, because I only started collecting ebook copies of O'Reilly books after getting an e-ink reader, which I find every bit as good for many (though not all) reading purposes as a physical dead tree format book. Your mileage may vary, I suppose. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] From owner-freebsd-questions@FreeBSD.ORG Tue May 1 19:00:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75F3B1065672 for ; Tue, 1 May 2012 19:00:54 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from anakin.london.02.net (anakin.london.02.net [87.194.255.134]) by mx1.freebsd.org (Postfix) with ESMTP id 383C48FC1A for ; Tue, 1 May 2012 19:00:53 +0000 (UTC) Received: from muji2.config (87.194.237.233) by anakin.london.02.net (8.5.140) id 4EEB63D20288CE01 for freebsd-questions@freebsd.org; Tue, 1 May 2012 19:59:58 +0100 Message-ID: <4FA032AE.8050902@onetel.com> Date: Tue, 01 May 2012 19:59:58 +0100 From: Chris Whitehouse User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100924 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 19:00:54 -0000 On 01/05/2012 13:41, Anton Shterenlikht wrote: > So I might need to pull the laptop apart.. > I'm just not sure I could put it back > together... > > Thanks anyway service manual (c02834030.pdf): http://h20000.www2.hp.com/bizsupport/TechSupport/CoreRedirect.jsp?redirectReason=DocIndexPDF&prodSeriesId=3368539&targetPage=http%3A%2F%2Fbizsupport1.austin.hp.com%2Fbc%2Fdocs%2Fsupport%2FSupportManual%2Fc02834030%2Fc02834030.pdf short url: http://bit.ly/Ivgs5C HP are pretty good about service manuals. HTH Chris > From owner-freebsd-questions@FreeBSD.ORG Tue May 1 19:01:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F6E0106566B for ; Tue, 1 May 2012 19:01:49 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id BA9288FC24 for ; Tue, 1 May 2012 19:01:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q41J1UWD055767; Wed, 2 May 2012 05:01:30 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 2 May 2012 05:01:30 +1000 (EST) From: Ian Smith To: Arthur Chance In-Reply-To: <20120501120038.45BB71065772@hub.freebsd.org> Message-ID: <20120502043016.J91148@sola.nimnet.asn.au> References: <20120501120038.45BB71065772@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Limiting closed port RST response X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 19:01:49 -0000 In freebsd-questions Digest, Vol 413, Issue 4, Message: 7 On Tue, 01 May 2012 12:59:36 +0100 Arthur Chance wrote: > Every once in a while the nightly periodic security checks tell me I've > got a kernel message > > Limiting closed port RST response from N to 200 packets/sec > > where N > 200. The problem is that it doesn't say which port was > involved. Is there any way to find that out so I can try tracking down > the problem? AFAICT tcpdump doesn't have a way saying "closed ports on > this machine" as a filter. % sysctl -ad | grep vain net.inet.tcp.log_in_vain: Log all incoming TCP segments to closed ports net.inet.udp.log_in_vain: Log all incoming UDP packets With sysctl net.inet.tcp.log_in_vain=1 you get a message per instance, likely aggregated into 'last message repeated N times' at those rates. I add ipfw rules for heavy hitters on particular ports &/or from particular hosts to cut both the noise and (albeit slight) load. If you'd rather not have these (hardly uncommon) messages spamming /var/log/messages, use something along these lines in /etc/syslog.conf: *.notice;authpriv.none;kern.!=info;mail.crit;news.err;ntp.err;local0.none;ftp.none /var/log/messages kern.=info /var/log/kerninfo.log # touch /var/log/kerninfo.log # service syslogd restart cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue May 1 19:04:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 289BC1065670 for ; Tue, 1 May 2012 19:04:28 +0000 (UTC) (envelope-from kickbsd@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [IPv6:2a02:6b8:0:602::5]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6788FC17 for ; Tue, 1 May 2012 19:04:27 +0000 (UTC) Received: from web5d.yandex.ru (web5d.yandex.ru [77.88.47.183]) by forward5.mail.yandex.net (Yandex) with ESMTP id 11F0D1200E84; Tue, 1 May 2012 23:04:26 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1335899066; bh=uEn1sc53vKLC2PaJcbCaG5BgTgYSxRwClZxtM0dmjYo=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=vc1T50oND46jmUp/Yvfp+srSSkEZqXjM2pHeczJgW3KpZnnO49zVu/rzSZXl7kGT3 d3uwIZ+kUPoylukLHMcWoGi0gxyovIGJoUvNDkV4QutgTPonInmD4jXH1KjNKHwZIh JxsBWA86UsAMKBDpfRddcOxNeM09RN8+1fM47N/4= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web5d.yandex.ru (Yandex) with ESMTP id C624E4928119; Tue, 1 May 2012 23:04:25 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1335899065; bh=uEn1sc53vKLC2PaJcbCaG5BgTgYSxRwClZxtM0dmjYo=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=G5eiYTPGYQbK7HiP77qwTX05+5w2HBXvXf/wITxOwa0PbhbNRYyxP8Zjj47zmbyvL pcBUhaRseiPtF5tyM65YiksyE/sCaEMK1rtK0IsROUtCXU7AqjlNmyWLnNw1VXHKxi COO1VcH1zZUvMcZtgTIvmjUEMy5k8JUESZdxS5x4= Received: from leo.de.teleglobe.net (leo.de.teleglobe.net [64.86.53.146]) by web5d.yandex.ru with HTTP; Tue, 01 May 2012 23:04:25 +0400 From: Darren Baginski Envelope-From: kickbsd@yandex.ru To: Unga In-Reply-To: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> References: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> MIME-Version: 1.0 Message-Id: <393231335899065@web5d.yandex.ru> Date: Tue, 01 May 2012 23:04:25 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: "freebsd-questions@freebsd.org" Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 19:04:28 -0000 Hi! Mind to share code snippet caused the problem? 01.05.2012, 22:08, "Unga" : > Hi all > > I'm getting a Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0 0x28ebb062 in flockfile () from /lib/libc.so.7 > [New Thread 29c04900 (LWP 100575/SDLTimer)] > [New Thread 29c04300 (LWP 100416/myprog)] > (gdb) > (gdb) info threads > * 2 Thread 29c04300 (LWP 100416/myprog) 0x28ebb062 in flockfile () > from /lib/libc.so.7 > 1 Thread 29c04900 (LWP 100575/SDLTimer) 0x28e1527b in _umtx_op () > from /lib/libc.so.7 > (gdb) > > I don't use flockfile () directly in my program. > > I use -lpthread. > > Same program runs without any issue on FreeBSD 8.1. > > Any idea what's going on? > > Best regards > Unga > > _______________________________________________ > 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 May 1 19:59:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EB79106566B for ; Tue, 1 May 2012 19:59:30 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BBC968FC08 for ; Tue, 1 May 2012 19:59:29 +0000 (UTC) Received: by weyt57 with SMTP id t57so3314357wey.13 for ; Tue, 01 May 2012 12:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=L+o/rXP2XLrtiWBSBn4jd5+hJ6NUkWcHLbweb9uGUwQ=; b=Q2VSVcanRh6YtHn9/QxVOK91WiqYqu8QgwIq8QEZZC3refnmk7KZ6mMyKMwklrVz6N ujZKkUZ8Sja8Cx6fTBpIK1H4Uzy2whuiJefs2Z5tT1rrBWdEsFIQx31JnSnm3KXAjjoN rlq3C0T46SS0YnypsYjIuz41MfiutQStaQxGc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=L+o/rXP2XLrtiWBSBn4jd5+hJ6NUkWcHLbweb9uGUwQ=; b=jBymMAda3oOavv4ahfV6e4i3vfAanQFw5OrAXYURWOnCtKPt/xZubAjUuKn/x1YXav MStlJTpkPI1pT681lSxGLNeMr6XHLELE0tsxb6X/9rC/VrSlSaeJIV9w6vFIpuxRzEmz dJCEkIfexZ8sE52NsgMUNCz3ccQG5y5daU39AMh0oT+AzIfLLs76DcCU94dky4I7Ly7J BuqPjrSHmhYjgZeVfY/LmhfEMx5j2dVxqoQCB6zfrAtjgRoiVABjN0emYOsGbezHrD2M cU6vwcTWMPGJnDTfKRpHX4KW9mMMQRUPGlDFPM+a4pqoTFowTo1imfU3sG2Amrv0Y6mv pxtA== Received: by 10.216.136.131 with SMTP id w3mr13004341wei.15.1335902368511; Tue, 01 May 2012 12:59:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.120.6 with HTTP; Tue, 1 May 2012 12:58:58 -0700 (PDT) In-Reply-To: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> References: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> From: Eitan Adler Date: Tue, 1 May 2012 15:58:58 -0400 Message-ID: To: Unga Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQmt2923lSs0uRF+mzvqLy1SI4LoXZkdhVdTAlqC2xskva19PH7C7b73PrHw1RRb8bGEvn3u Cc: "freebsd-questions@freebsd.org" Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 19:59:30 -0000 On 1 May 2012 14:08, Unga wrote: > Hi all > > I'm getting a=C2=A0 Segmentation fault in FreeBSD 9.0 as follows for mypr= og.c: > > > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0=C2=A0 0x28ebb062 in flockfile () from /lib/libc.so.7 > [New Thread 29c04900 (LWP 100575/SDLTimer)] > [New Thread 29c04300 (LWP 100416/myprog)] > (gdb) > (gdb) info threads > * 2 Thread 29c04300 (LWP 100416/myprog)=C2=A0 0x28ebb062 in flockfile () > =C2=A0=C2=A0 from /lib/libc.so.7 > =C2=A0 1 Thread 29c04900 (LWP 100575/SDLTimer)=C2=A0 0x28e1527b in _umtx_= op () > =C2=A0=C2=A0 from /lib/libc.so.7 > (gdb) > > I use -lpthread. I doubt this is related, but using -lpthread is wrong. use -pthread (without the l). --=20 Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Tue May 1 23:05:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B69A7106564A for ; Tue, 1 May 2012 23:05:35 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 5618A8FC0C for ; Tue, 1 May 2012 23:05:35 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q41N3k15025151; Tue, 1 May 2012 17:04:05 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org Date: Wed, 2 May 2012 06:03:15 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> In-Reply-To: <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205020603.15274.erichfreebsdlist@ovitrap.com> Cc: Alejandro Imass , Anton Shterenlikht Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 23:05:35 -0000 Hi, On Tuesday 01 May 2012 19:41:11 Anton Shterenlikht wrote: > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht wrote: > > I didn't even know they put fluid heatsinks in laptop. > I thought this was something from IBM cutting edge power6 > chips. a client showed be recently the internals of his notebook for some reasons. Yes, it also uses a 'heatpipe' to move the heat away from the CPU to a heatsink with a fan. > > So I might need to pull the laptop apart.. > I'm just not sure I could put it back > together... Start small. The model mentioned above has had a cover on the back giving access to the CPU. The next bet is the keyboard. The rest needs some mechanical knowledge. Erich From owner-freebsd-questions@FreeBSD.ORG Tue May 1 23:31:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50640106566B for ; Tue, 1 May 2012 23:31:39 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0CBF48FC14 for ; Tue, 1 May 2012 23:31:39 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id 6F30E3CA6B; Wed, 2 May 2012 01:31:36 +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 q41NVa2J004970; Wed, 2 May 2012 01:31:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 May 2012 01:31:36 +0200 From: Polytropon To: Erich Dollansky Message-Id: <20120502013136.a4b89736.freebsd@edvax.de> In-Reply-To: <201205020607.23833.erich@alogreentechnologies.com> References: <201205010558.q415wAFu091478@mail.r-bonomi.com> <4F9F92CF.303@gmail.com> <20120501154343.4c2010ca.freebsd@edvax.de> <201205020607.23833.erich@alogreentechnologies.com> 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 Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 23:31:39 -0000 On Wed, 2 May 2012 06:07:23 +0700, Erich Dollansky wrote: > Hi, > > On Tuesday 01 May 2012 20:43:43 Polytropon wrote: > > On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > > > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > > > Admininstration Handbook', by Nemeth, et al. is a good_start_. > > > > > > > > Having a bunch of the books from O'Reilley& Assoc. (), > > > > especially for 'standard' tools that you need to get the most out of, is > > > > also highly recommended. > > > > > > > > > > After realising I lack ton of knowledge, especially how the > > > internals work. I'm using this advice:-) . > > > > Except buying (good) books, you can also search for > > articles on the web. For example, "A Fast File System > > for UNIX" by M. K. McKusick is very interesting (at > > least it was for me when I lost all my important data). > > > you wanted to say 'real man do not need a backup'? No. Real men don't eat quiche. And real programmers don't use Pascal. Also, stupidity must be punished (even if it's me who is stupid), and it _will_ be done. Always and repeatedly. You only learn the hard way. :-) > > Some fs-related articles here: > > http://www.mckusick.com/articles.html > > > This is one advantage of systems like FreeBSD. If the need > arises, you can do it yourself. Exactly, and you're not depending on buying expensive software that might not cover your particular problem case. The documentation of all the "inner elements" of FreeBSD are present, and you can learn (in worst case) everything yourself to solve the problem. As other skilled persons have estimated and experienced the need for professional tools, they've created them. Many of the free tools can cope with the expensive ones designed for proprietary platforms. The "default action" of UNIX ("if in doubt, do nothing and let the master decide") can save your data, whereas the habit of "repairing" things can make things worse (which includes automounting r/w, fiddling with the FS or other nonsense that destroys data). > > The docs that used to live in this directory now exist on the wiki: > > http://wiki.sleuthkit.org/ > > > It must be a disease. TSK had _good_ documentation locally installed. I don't really understand what's the idea behind moving it to a location that can only be accessed via Internet connection. Really, it's not _that_ much (hundreds of MB) that you couldn't leave it in the install... sad, just sad... Again, programs like portdowngrade help a lot. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue May 1 23:47:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21BD1106564A for ; Tue, 1 May 2012 23:47:33 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id C4B008FC12 for ; Tue, 1 May 2012 23:47:32 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q41NjOJr002474; Tue, 1 May 2012 17:45:26 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org, Polytropon Date: Wed, 2 May 2012 06:20:01 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201205010558.q415wAFu091478@mail.r-bonomi.com> <4F9F92CF.303@gmail.com> <20120501154343.4c2010ca.freebsd@edvax.de> In-Reply-To: <20120501154343.4c2010ca.freebsd@edvax.de> MIME-Version: 1.0 Message-Id: <201205020620.01846.erichfreebsdlist@ovitrap.com> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Edward M Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 23:47:33 -0000 Hi, On Tuesday 01 May 2012 20:43:43 Polytropon wrote: > On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > > Admininstration Handbook', by Nemeth, et al. is a good_start_. > > > > > > Having a bunch of the books from O'Reilley& Assoc. (), > > > especially for 'standard' tools that you need to get the most out of, is > > > also highly recommended. > > > > > > > After realising I lack ton of knowledge, especially how the > > internals work. I'm using this advice:-) . > > Except buying (good) books, you can also search for > articles on the web. For example, "A Fast File System > for UNIX" by M. K. McKusick is very interesting (at > least it was for me when I lost all my important data). > you wanted to say 'real man do not need a backup'? > Some fs-related articles here: > http://www.mckusick.com/articles.html > This is one advantage of systems like FreeBSD. If the need arises, you can do it yourself. > The docs that used to live in this directory now exist on the wiki: > http://wiki.sleuthkit.org/ > It must be a disease. Erich From owner-freebsd-questions@FreeBSD.ORG Wed May 2 00:44:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD76A106564A for ; Wed, 2 May 2012 00:44:49 +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 6885B8FC12 for ; Wed, 2 May 2012 00:44:49 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q420ig3E002128; Tue, 1 May 2012 18:44:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q420igP8002125; Tue, 1 May 2012 18:44:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 1 May 2012 18:44:42 -0600 (MDT) From: Warren Block To: Khairil Yusof In-Reply-To: Message-ID: References: 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.2.7 (wonkity.com [127.0.0.1]); Tue, 01 May 2012 18:44:43 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: netif starting late after upgrade to FreeBSD 9.0 from 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 00:44:49 -0000 On Tue, 1 May 2012, Khairil Yusof wrote: > I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0. > > The upgrade following /usr/src/UPDATING was without any problems. > > The only issue I have is that there seems to be a race condition for > bootup scripts in which netif can start later than devices that > require it, resulting in the following problems : > > 1. pf rules not being loaded as it can't find network interfaces > defined such as lo0 > 2. named not starting > > I suspect that it may be a file was not installed/updated after > mergemaster -i but, when I check /etc/rc.d/netif and pf the REQUIRES > line is the same as that in /usr/src > > How do I troubleshoot this? I've tried to manually change REQUIRES for > pf for example to LOGIN, but it doesn't have any effect. > > Any pointers would be much appreciated to possible solutions would be > much appreciated. If using DHCP, use SYNCDHCP instead. For static IP addresses, see rc.conf(5) about netwait. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 00:59:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9FD37106567A for ; Wed, 2 May 2012 00:59:41 +0000 (UTC) (envelope-from khairil.yusof@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2FEAA8FC12 for ; Wed, 2 May 2012 00:59:41 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so69954wib.13 for ; Tue, 01 May 2012 17:59:40 -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=9weN7gFtVkwY3QJ6y+hcNeSTeu7e5Qi1hD0rORvBsBA=; b=F71O9Dq5gmM9T/TP0ntzxfkaC5CZVvfGKchlDvusJKIre6uIrWhJmqNXblKHeFQ/e8 p3W51BCEHjnYdbcmsU9UXBUp2hB8epOZQnNEKaBXceFyjVSH3DIDQh+xHhAm/1Xs1iqn gaiBmZxaivs9iNbrpNFF3Cu2mK5gkSTCzm2e/KDiuqagg3XSE6G9iekFB2HVIvPcEkNe ts5P2HMrbFBg3ZELZHFx/Xt5Zs3WQwrwWtdOpvePukXrxNCqZsExl99JMzlz7whZ+Imf ZkOk/4TGikXNoIQveQh97i2Q18WNnJAzvDQSseQRYOLrtaTfM9WwhUBm/8qmHQNDCs+E iDIQ== MIME-Version: 1.0 Received: by 10.180.24.66 with SMTP id s2mr9320681wif.7.1335920380087; Tue, 01 May 2012 17:59:40 -0700 (PDT) Received: by 10.216.199.95 with HTTP; Tue, 1 May 2012 17:59:40 -0700 (PDT) Received: by 10.216.199.95 with HTTP; Tue, 1 May 2012 17:59:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 08:59:40 +0800 Message-ID: From: Khairil Yusof To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: netif starting late after upgrade to FreeBSD 9.0 from 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 00:59:41 -0000 Thanks I stumbled upon netwait already. The only problem I have now is PF. The rules of course include network interfaces but lo0 doesn't seem to be up yet. On May 2, 2012 8:44 AM, "Warren Block" wrote: > On Tue, 1 May 2012, Khairil Yusof wrote: > > I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0. >> >> The upgrade following /usr/src/UPDATING was without any problems. >> >> The only issue I have is that there seems to be a race condition for >> bootup scripts in which netif can start later than devices that >> require it, resulting in the following problems : >> >> 1. pf rules not being loaded as it can't find network interfaces >> defined such as lo0 >> 2. named not starting >> >> I suspect that it may be a file was not installed/updated after >> mergemaster -i but, when I check /etc/rc.d/netif and pf the REQUIRES >> line is the same as that in /usr/src >> >> How do I troubleshoot this? I've tried to manually change REQUIRES for >> pf for example to LOGIN, but it doesn't have any effect. >> >> Any pointers would be much appreciated to possible solutions would be >> much appreciated. >> > > If using DHCP, use SYNCDHCP instead. For static IP addresses, see > rc.conf(5) about netwait. > From owner-freebsd-questions@FreeBSD.ORG Tue May 1 23:20:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9B3A1065674 for ; Tue, 1 May 2012 23:20:37 +0000 (UTC) (envelope-from erich@alogreentechnologies.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6C1FB8FC12 for ; Tue, 1 May 2012 23:20:37 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q41N7PNb026066; Tue, 1 May 2012 17:12:07 -0600 From: Erich Dollansky Organization: ALO Green Technologies Pte Ltd To: freebsd-questions@freebsd.org, Polytropon Date: Wed, 2 May 2012 06:07:23 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <201205010558.q415wAFu091478@mail.r-bonomi.com> <4F9F92CF.303@gmail.com> <20120501154343.4c2010ca.freebsd@edvax.de> In-Reply-To: <20120501154343.4c2010ca.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205020607.23833.erich@alogreentechnologies.com> X-Mailman-Approved-At: Wed, 02 May 2012 01:00:25 +0000 Cc: Edward M Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2012 23:20:37 -0000 Hi, On Tuesday 01 May 2012 20:43:43 Polytropon wrote: > On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > > Admininstration Handbook', by Nemeth, et al. is a good_start_. > > > > > > Having a bunch of the books from O'Reilley& Assoc. (), > > > especially for 'standard' tools that you need to get the most out of, is > > > also highly recommended. > > > > > > > After realising I lack ton of knowledge, especially how the > > internals work. I'm using this advice:-) . > > Except buying (good) books, you can also search for > articles on the web. For example, "A Fast File System > for UNIX" by M. K. McKusick is very interesting (at > least it was for me when I lost all my important data). > you wanted to say 'real man do not need a backup'? > Some fs-related articles here: > http://www.mckusick.com/articles.html > This is one advantage of systems like FreeBSD. If the need arises, you can do it yourself. > The docs that used to live in this directory now exist on the wiki: > http://wiki.sleuthkit.org/ > It must be a disease. Erich From owner-freebsd-questions@FreeBSD.ORG Wed May 2 01:44:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DA9F106566B for ; Wed, 2 May 2012 01:44:03 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 516888FC12 for ; Wed, 2 May 2012 01:44:03 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q421eVx4028141; Tue, 1 May 2012 19:40:34 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org, Polytropon Date: Wed, 2 May 2012 06:19:50 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> <20120501155211.0148c7dd.freebsd@edvax.de> In-Reply-To: <20120501155211.0148c7dd.freebsd@edvax.de> MIME-Version: 1.0 Message-Id: <201205020619.50474.erichfreebsdlist@ovitrap.com> Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Anton Shterenlikht Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 01:44:03 -0000 Hi, On Tuesday 01 May 2012 20:52:11 Polytropon wrote: > On Tue, 1 May 2012 13:41:11 +0100, Anton Shterenlikht wrote: > > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > Not a big issue. Make sure you can remember which parts belong where. > Make photos if it helps you, or draw some notes. If possible, find > the service manual of the device and use it as orientation. But I > think such kind of documentation is no longer part of the "end user > book present". :-) > you cannot say this in general. > I've been lucky exploring that my "new" Lenovo Thinkpad T61p can be This is a different class of machines. They are made to be repaired and they are very large. I have had a Fujitsu P2120 which died after a lightning strike. So, I disassembled it. The machine is so small that they have had to use all tricks get it this small. The most interesting thing for me was the affect of damage to this machine. It got hit by something like a sledge hammer when it was not with me. This bend the magnesia cover but did not cause any internal damage. The material is very brittle but no metal dust fell into the machine. > easily disassembled up to the CPU region and the cooling units > without trouble, and with _standard_ tools, and you don't need > to eviscerate _all_ the bowels of the device in order to make > your way to that component. The P2120 uses even a special glue to connect the graphics chip with the hear sink. The heat sink cools also the CPU. There is no way on this machine to take the heat sink off and later back, if this glue is not at hand. Erich > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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 May 2 04:15:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44D371065670 for ; Wed, 2 May 2012 04:15:19 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm29-vm0.bullet.mail.ac4.yahoo.com (nm29-vm0.bullet.mail.ac4.yahoo.com [98.139.52.248]) by mx1.freebsd.org (Postfix) with SMTP id E08238FC16 for ; Wed, 2 May 2012 04:15:18 +0000 (UTC) Received: from [98.139.52.192] by nm29.bullet.mail.ac4.yahoo.com with NNFMP; 02 May 2012 04:15:18 -0000 Received: from [98.139.52.146] by tm5.bullet.mail.ac4.yahoo.com with NNFMP; 02 May 2012 04:15:18 -0000 Received: from [127.0.0.1] by omp1029.mail.ac4.yahoo.com with NNFMP; 02 May 2012 04:15:18 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 478944.23102.bm@omp1029.mail.ac4.yahoo.com Received: (qmail 21060 invoked by uid 60001); 2 May 2012 04:15:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335932118; bh=1+k9lnjX3QtmD1M4mfwYWYOtbsiq1CHAGG/lcxSDDvs=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Mbs5L5EHxcPI99qmhofT0yn61g5EOr+EsN+W0gg3fDDHESH2dBWgDTJeXvbzkNvl3MzIric2gBSwWWPI3Wq63M8L0g3ef2kquaeOHHQIBFwiX+QfTZs02iNKTvbOtFkuVNX/Jo+Of+NKyD7ArYCOrGASguKDoM2dIUtl6TQKsSc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=NwyolYSrDJgP2+nkiv0/RA30LZ42iXL/560uRtJWqDwQGGom1kU+b2PhT1Wd7bflJrGUGUA8bnWnid3iwjHpsxOzNSCUZRwOG6b7i8YHwcOaenjf1o3OMq9TMcJGPYOjlhc4KoH+uCHYvqdTb3TJMaFkGEFzGmvhUlN7hna79AE=; X-YMail-OSG: erGlyXkVM1khP1tfJB9gr6QSBibfalPmY8rGuq5dj.H_9K6 zLGQmJEJgPt1Mk4IHqQ2_PmZrFPDgjuguJPAFdY_7a4lzjLNM4TVmV3GHEnA ObV_wm5xF48.CJ.lhr6Z1hlc6Hu34AW3h0CgFMyqfokcljE2FSW3jG6Q66q9 3xTUh9znYUP6ud3VA1vnV83tGNMF__S_Olq6PYCLAiDFVux9sk8YJs94EfwQ b5NCjz8pmtx_xWt4DyXsTvCFivGorNfUl802Q11cjK47iNM7_enMgfcjC5TC h_d0urDwaM.511sknVc1z1H7GpPN7v0j6eeqwQP9BpKmf9yF1yTIFKQgu.YI WirhxxNikrvXh_X8iBG4VBkMBSXg6JcZCPbdrFDo7tRTagdwMbyjaEuPAKmZ 2w6n3aeFm3TEShy0qL.GYyezR7nD4Hht3_v4FZi7nMB4iGuCEXk.r.Nu1Zbh MPyvj9_mSfn.VlVy8dSOZ2jqlFSmsy71XigQkFUJRfcdGMg-- Received: from [112.134.98.46] by web160102.mail.bf1.yahoo.com via HTTP; Tue, 01 May 2012 21:15:18 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1335895711.57204.YahooMailNeo@web160104.mail.bf1.yahoo.com> <393231335899065@web5d.yandex.ru> Message-ID: <1335932118.29543.YahooMailNeo@web160102.mail.bf1.yahoo.com> Date: Tue, 1 May 2012 21:15:18 -0700 (PDT) From: Unga To: Darren Baginski In-Reply-To: <393231335899065@web5d.yandex.ru> 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.5 Cc: "freebsd-questions@freebsd.org" Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Unga List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 04:15:19 -0000 From: Darren Baginski =0A=0ATo: Unga =0A>Cc: "freebsd-questions@freebsd.org" = =0A>Sent: Tuesday, May 1, 2012 7:04 PM=0A>Subject: Re: Segmentation fault i= n FreeBSD 9.0 flockfile ()=0A> =0A>Hi!=0A>=0A>Mind to share code snippet ca= used the problem?=0A>=0A>01.05.2012, 22:08, "Unga" :=0A>= > Hi all=0A>>=0A>> I'm getting a=A0 Segmentation fault in FreeBSD 9.0 as fo= llows for myprog.c:=0A>>=0A>> Reading symbols from /libexec/ld-elf.so.1...d= one.=0A>> Loaded symbols for /libexec/ld-elf.so.1=0A>> #0=A0 0x28ebb062 in = flockfile () from /lib/libc.so.7=0A>> [New Thread 29c04900 (LWP 100575/SDLT= imer)]=0A>> [New Thread 29c04300 (LWP 100416/myprog)]=0A>> (gdb)=0A>> (gdb)= info threads=0A>> * 2 Thread 29c04300 (LWP 100416/myprog)=A0 0x28ebb062 in= flockfile ()=0A>> =A0=A0 from /lib/libc.so.7=0A>> =A0 1 Thread 29c04900 (L= WP 100575/SDLTimer)=A0 0x28e1527b in _umtx_op ()=0A>> =A0=A0 from /lib/libc= .so.7=0A>> (gdb)=0A>>=0A>> I don't use flockfile () directly in my program.= =0A>>=0A>=0A>Hi Thanks for the reply. I have mentioned in my original post = that neither I nor SDL use the flockfile () in the source.=0A>=0A>Regards= =0A>Unga=0A> From owner-freebsd-questions@FreeBSD.ORG Wed May 2 06:37:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC9C51065674 for ; Wed, 2 May 2012 06:37:41 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 5F9C28FC12 for ; Wed, 2 May 2012 06:37:40 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q426cXhg008660 for freebsd-questions@freebsd.org; Wed, 2 May 2012 01:38:33 -0500 (CDT) Date: Wed, 2 May 2012 01:38:33 -0500 (CDT) From: Robert Bonomi Message-Id: <201205020638.q426cXhg008660@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <1335932118.29543.YahooMailNeo@web160102.mail.bf1.yahoo.com> Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 06:37:41 -0000 Unga wrote; > From: Darren Baginski > > Unga wrote: > > > >01.05.2012, 22:08, "Unga" : > >> Hi all > >> > >> I'm getting a Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > >> > >> Reading symbols from /libexec/ld-elf.so.1...done. > >> Loaded symbols for /libexec/ld-elf.so.1 > >> #0 0x28ebb062 in flockfile () from /lib/libc.so.7 > >> [New Thread 29c04900 (LWP 100575/SDLTimer)] > >> [New Thread 29c04300 (LWP 100416/myprog)] > >> (gdb) > >> (gdb) info threads > >> * 2 Thread 29c04300 (LWP 100416/myprog) 0x28ebb062 in flockfile () > >> from /lib/libc.so.7 > >> 1 Thread 29c04900 (LWP 100575/SDLTimer) 0x28e1527b in _umtx_op () > >> from /lib/libc.so.7 > >> (gdb) > >> > >> I don't use flockfile () directly in my program. > >> > > > >Hi! > > > >Mind to share code snippet caused the problem? > > Hi Thanks for the reply. I have mentioned in my original post that neithe > r I nor SDL use the flockfile () in the source. > There was a _reason_ the prior poster asked about seeing your code. The information you provided is not adequate/sufficient for anyone to have any chance of helping you. Informationn that -is- necessary was therefore requested. What you "don't use" is irrelevant to solving the problem. To be any help one must figure out what you _did_ do -- which =indirectly= calls flockfile(). Your code calls "something" in 'libc' that calls flockfile(). You "don't know" what that something in your code is. Other eyes _might_ recognize it, -if- they saw what you were doing. Here is how to find out what does that calling, yourself. 1) recompile all the components of 'myprog' with the '-g' compiler option. 2) start 'script', so that you have a complete log of the debugger session. 3) load the debugger with 'myprog' as the program to be debugged. 4) set a breakpoinnt in the 'flockfile' function 5) 'run' the program 6) when it stops at flockfile() entry. use 'where' to see a stack trace. 7) 'display' each of the arguments to flockfile(). 9) go 'up' to the calling code. 9) repeat steps 7 and 8 util you reach 'your' code. 10) now 'continue' the program. If it immediately segfaults, this was the offending call. Otherwise, the program will stop aggain at another flockfile() invocation. repeat from step 7 -until- you get the segfault. If, from that debugger session, you still don't see anything wrong, post the log of the debugger session. There is a *remote* possibility that the program will run properly under the debugger, while it crashes when run directly. This has been known to happen when a program _uses_ a variable before initializing it. *IF* that happens, you will have to modify 'myprog' to add diagnostic output before and after each identified point (above) in your code that indirectly invokes flockfile() to find which is failing. In _that_ event, you =will= have to post the 'relevant' source-code from 'myprog', with the failing statement identified. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 08:10:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68E3D106564A for ; Wed, 2 May 2012 08:10:21 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 212B28FC0C for ; Wed, 2 May 2012 08:10:21 +0000 (UTC) Received: by ghrr20 with SMTP id r20so487074ghr.13 for ; Wed, 02 May 2012 01:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=HIChO9003DbvV38TRU/oDGOnpmFQGfGxv8jLh3GpKLQ=; b=hqqSTuduOHC74f690n/nnKj4E1LHbbdKUiaPjq1qhGtx9AIDtI0PDRzmzOu1i24N19 juQSheLNTsURaisMDKRl7z4tA+BdwrQdbpho0ncIflWQx6dameQRgA2epYBy+LZkZ2PL wLLrBlJbrztEcOuV6ZGX8qfPrGbVRt+fKknKQhtL9hqutJrDdXjyTX7/c8YTfaHEjxAs lc8sBN4UNnulQSc/M8W7szaDsX2VUbtWd+6JpIWvgtmTIU7C7K5pGDCuJAdK4lkDdVWP q7OTt9nGwrvv3qe2dHgjrwGAEh9qIcxzCiQpIiQt16Hu53FhWTkIMToDJINkzwzc1KL1 sA+g== MIME-Version: 1.0 Received: by 10.236.73.72 with SMTP id u48mr29257582yhd.77.1335946220469; Wed, 02 May 2012 01:10:20 -0700 (PDT) Sender: kalle.moller@gmail.com Received: by 10.146.77.11 with HTTP; Wed, 2 May 2012 01:10:20 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 10:10:20 +0200 X-Google-Sender-Auth: JJxX7u0EbCbq9KKwIjVImniAkzI Message-ID: From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: vermaden Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 08:10:21 -0000 Hi vermaden I just tested your tool the last few days and I must say I love it already. Though I can get one of the commands to work - might be me or the syntax beadm create [-e nonActiveBe | beName@snapshot] beName I read it as you can do the following beadm create beName@snapshot beName Is that correct or is it beadm create -e beName@snapshot beName Well neither of those seems to work for me, can you give an example of the = use? Thanks Kalle On Fri, Apr 27, 2012 at 1:08 AM, vermaden wrote: > Hi, > > I have just created new HOWTO [1] on how to use Boot Environments on > FreeBSD with new created utility *beadm* that I put on SourceForge [2]. > > Feel free to send Your ideas/critique about it. > > [1] http://forums.freebsd.org/showthread.php?t=3D31662 > [2] https://sourceforge.net/projects/beadm/ > > Regards, > vermaden > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Med Venlig Hilsen Kalle R. M=C3=B8ller From owner-freebsd-questions@FreeBSD.ORG Wed May 2 08:47:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A30D106564A for ; Wed, 2 May 2012 08:47:16 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 50C2D8FC14 for ; Wed, 2 May 2012 08:47:16 +0000 (UTC) Received: by ghrr20 with SMTP id r20so523731ghr.13 for ; Wed, 02 May 2012 01:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zDjpYP/xGRyv3NcTKFZrQ8WhFFk2TCZ43tp5Fz3OhT0=; b=rokoSaLRbyz/jHosGo3uXSLlvXml0x6TIy973ANHOrZ+GUE6VQ1jmsQwjJLsMLPueQ S7pDYq9OanxGKYzc4mC8gHWXiLnJSfiQJAqBAO81F12MARBBaqfu2ba0zorYCK6Kexuu 5kvkuERU70ZyvvPgkeJ7tdVxUYor/BwL7emZcF6/ixGXa4nIe9LW68fZnlZc2VKmsgdz c/lGo0Gri7Qr99Mdetlz3U0wG4oFb9+4q8oxzAHDyM4SHhBUOjkOU0ZPD1A5zlmiyIAl mpwyR1Bb4xQT84JfeqlaJ/ZoL3raXb9ywbeCYZc25RQworHZNFZV9Sp5rl3i0x7Lf9Nk pnsg== MIME-Version: 1.0 Received: by 10.236.186.3 with SMTP id v3mr28871493yhm.124.1335948435827; Wed, 02 May 2012 01:47:15 -0700 (PDT) Sender: kalle.moller@gmail.com Received: by 10.146.77.11 with HTTP; Wed, 2 May 2012 01:47:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 10:47:15 +0200 X-Google-Sender-Auth: k50twGOlZCsUFxRJGpic8Spvii4 Message-ID: From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: vermaden Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 08:47:16 -0000 And I forgot If I do a create and destroy, I would assume my system was back to same state, but you keep the snapshot when I destroy the clone, dont know if its working as intended (better safe to keep it than sorry) or you just didn't think of it :) http://pastebin.com/XdYZ2eGR main# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT sys 1.45G 6.36G 31K none sys/ROOT 430M 6.36G 31K none sys/ROOT/clean 430M 6.36G 430M legacy sys/swap 1.03G 7.39G 16K - main# beadm create main Created successfully main# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT sys 1.45G 6.36G 31K none sys/ROOT 430M 6.36G 31K none sys/ROOT/clean 430M 6.36G 430M legacy sys/ROOT/clean@main 0 - 430M - sys/ROOT/main 1K 6.36G 430M none sys/swap 1.03G 7.39G 16K - main# beadm destroy main Are you sure you want to destroy 'main'? This action cannot be undone (y/[n]): y Destroyed successfully main# zfs list -t all NAME USED AVAIL REFER MOUNTPOINT sys 1.45G 6.36G 31K none sys/ROOT 430M 6.36G 31K none sys/ROOT/clean 430M 6.36G 430M legacy sys/ROOT/clean@main 0 - 430M - sys/swap 1.03G 7.39G 16K - main# Kalle On Wed, May 2, 2012 at 10:10 AM, Kalle M=C3=B8ller wrote: > Hi vermaden > > I just tested your tool the last few days and I must say I love it > already. Though I can get one of the commands to work - might be me or > the syntax > > beadm create [-e nonActiveBe | beName@snapshot] beName > > I read it as you can do the following > > beadm create beName@snapshot beName > > Is that correct or is it > > beadm create -e beName@snapshot beName > > Well neither of those seems to work for me, can you give an example of th= e use? > > Thanks > > Kalle > > On Fri, Apr 27, 2012 at 1:08 AM, vermaden wrote: >> Hi, >> >> I have just created new HOWTO [1] on how to use Boot Environments on >> FreeBSD with new created utility *beadm* that I put on SourceForge [2]. >> >> Feel free to send Your ideas/critique about it. >> >> [1] http://forums.freebsd.org/showthread.php?t=3D31662 >> [2] https://sourceforge.net/projects/beadm/ >> >> Regards, >> vermaden >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ... >> _______________________________________________ >> 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" > > > > -- > > Med Venlig Hilsen > > Kalle R. M=C3=B8ller -- Med Venlig Hilsen Kalle R. M=C3=B8ller From owner-freebsd-questions@FreeBSD.ORG Wed May 2 11:03:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D3058106564A for ; Wed, 2 May 2012 11:03:23 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 174158FC15 for ; Wed, 2 May 2012 11:03:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q42B34PQ088153; Wed, 2 May 2012 21:03:04 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 2 May 2012 21:03:03 +1000 (EST) From: Ian Smith To: Arthur Chance In-Reply-To: <4FA0FF9A.6010300@qeng-ho.org> Message-ID: <20120502204037.L91148@sola.nimnet.asn.au> References: <20120501120038.45BB71065772@hub.freebsd.org> <20120502043016.J91148@sola.nimnet.asn.au> <4FA0FF9A.6010300@qeng-ho.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: Limiting closed port RST response X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 11:03:23 -0000 On Wed, 2 May 2012, Arthur Chance wrote: > On 05/01/12 20:01, Ian Smith wrote: > > In freebsd-questions Digest, Vol 413, Issue 4, Message: 7 > > On Tue, 01 May 2012 12:59:36 +0100 Arthur Chance > > wrote: > > > > > Every once in a while the nightly periodic security checks tell me I've > > > got a kernel message > > > > > > Limiting closed port RST response from N to 200 packets/sec > > > > > > where N> 200. The problem is that it doesn't say which port was > > > involved. Is there any way to find that out so I can try tracking down > > > the problem? AFAICT tcpdump doesn't have a way saying "closed ports on > > > this machine" as a filter. > > > > % sysctl -ad | grep vain > > net.inet.tcp.log_in_vain: Log all incoming TCP segments to closed ports > > net.inet.udp.log_in_vain: Log all incoming UDP packets > > Thanks, that's what I need. There's another option you may want to consider, especially once you work out who or what's originating these. From an /etc/sysctl.conf: #% 9/8/6 net.inet.tcp.log_in_vain=1 net.inet.udp.log_in_vain=1 #% 7/10/8 # can't use this and respond to traceroutes # net.inet.udp.blackhole: Do not send port unreachables for refused connects # net.inet.udp.blackhole=1 # net.inet.tcp.blackhole: Do not send RST when dropping refused connections #% 14/4/10 was 1, still see some resets sent (see /sys/netinet/tcp_input.c) net.inet.tcp.blackhole=2 > > With sysctl net.inet.tcp.log_in_vain=1 you get a message per instance, > > likely aggregated into 'last message repeated N times' at those rates. I > > add ipfw rules for heavy hitters on particular ports&/or from > > particular hosts to cut both the noise and (albeit slight) load. > > This is on an internal LAN behind a firewall, so there isn't (I hope!) > anything external causing it. There's a motley bunch of hardware and software > sharing the LAN and I'd like to identify the source of the problem just for > my peace of mind. Good idea. There are a few reasons you may see inbound TCP connections you're not expecting, including general background noise from bots scanning everyone for everything, late responses from genuine outbound connection attempts, and bots hitting other sites using your forged IP address, so you get a bunch of SYN ACK packets out of the blue, most often from port 80 to some random (or particular) port. If using udp.log_in_vain=1 too, you'll see such as late responses from DNS servers (even from localhost) and assorted bot scans, and at times unsolicited responses from DNS servers from someone/s again forging your IP address in requests, possible on a large scale. These may look like attacks on your system, but you're just one of many forged addresses, the attack being on (what you see as) the source system, big in 2010. Happy hunting, Ian From owner-freebsd-questions@FreeBSD.ORG Wed May 2 11:39:58 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 386EC1065672 for ; Wed, 2 May 2012 11:39:58 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (unknown [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8AF558FC20 for ; Wed, 2 May 2012 11:39:57 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvUEALUcoU/LevdH/2dsb2JhbABEr3mECYIJAQEFOEEQCw4DAwECAQkTEg8CEC4IBg0BBQIBAQUSh2QDCgywZg2JU4oGhwIEiGKYW4UDgng Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail05.adl6.internode.on.net with ESMTP; 02 May 2012 21:09:55 +0930 Message-ID: <4FA11C39.40308@ShaneWare.Biz> Date: Wed, 02 May 2012 21:06:25 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:11.0) Gecko/20120424 Thunderbird/11.0.1 MIME-Version: 1.0 To: Taras Marusin References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@FreeBSD.org Subject: Re: FreeBSD problem reports - bin/167156 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 11:39:58 -0000 On 25/04/2012 22:54, Taras Marusin wrote: > Hello! > > How can I track the solution to this problem? > > T.Marusin > > ---------- Forwarded message ---------- > From: > Date: 2012/4/21 > Subject: Re: bin/167156: looping process mksnap_ffs when run in a chroot > environment named. CPU 100% > To: Taras Marusin > > > Thank you very much for your problem report. > It has the internal identification `bin/167156'. > The individual assigned to look at your > report is: freebsd-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=167156 First as the submitter you should get emailed copies of any follow ups added to the report. Second the link at the end there will show all responses submitted to the problem report. You can check that page any time you want. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 12:03:20 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E16A1065675; Wed, 2 May 2012 12:03:20 +0000 (UTC) (envelope-from sukenwoo@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2B09A8FC24; Wed, 2 May 2012 12:03:20 +0000 (UTC) Received: by obcni5 with SMTP id ni5so1134141obc.13 for ; Wed, 02 May 2012 05:03:19 -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=IawpFNJbS/NJ0RBQ3bkUH/ewp5nDlt9r6LG1RobEaMM=; b=Jdo/Ewx9JClxPa6TwbuCexBooLVJqTe7fY8NI8B8Zlw4tMGEGgJje9+741Ul7UgYth 4VnEDW3yhNNliPfGJGqPjmiBIgh6arHaOMu1oOgPX3uTr3LJuf/Fc4nVEYDp70h2mxlq 1wp79gK/qX1n93TZQiIZSQbqLvmIE4WbPxxwZgEjurBFMQKr4To0iZVckDOT8p6i4/VV Qa7c+nkhNxtj9e0eN2oMXMqgN+8bmzBpSTs8TbX8C5s7fJ7azKljhH5j59R6ERIT6hr8 aSStmcfrMQv7yFwwyH+SjWTYmIVeRDNzVQjEZmw/NtItvcceD+cYz5gYGeMu/ezauaPz lCJA== MIME-Version: 1.0 Received: by 10.60.13.37 with SMTP id e5mr39160668oec.70.1335960199433; Wed, 02 May 2012 05:03:19 -0700 (PDT) Received: by 10.182.49.71 with HTTP; Wed, 2 May 2012 05:03:19 -0700 (PDT) Date: Wed, 2 May 2012 20:03:19 +0800 Message-ID: From: suken woo To: fs@freebsd.org, current@freebsd.org, stable@freebsd.org, questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: urgent system suddenly boot failed due to ZFS:i/o error on FreeBSD 8.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 12:03:20 -0000 hi,lists for some reasons I need restart system but it suddenly boot failed today. here is the error: ZFS: i/o error - all block copies unavailable ZFS: can't read object set for dataset 16 Can't find root filesystem - giving up ZFS:unexcepted object set type 0 ZFS:unexcepted object set type 0 FreeBSD/i386 boot Default: zroot:/boot/kernel/kernel boot: ZFS:unexcepted object set type0 FreeBSD/i386 boot Default: zroot:/boot/kernel/kernel boot: _ any ideas to resolved it? thanks in advance From owner-freebsd-questions@FreeBSD.ORG Wed May 2 12:10:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3276C106564A for ; Wed, 2 May 2012 12:10:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E0E3A8FC17 for ; Wed, 2 May 2012 12:09:59 +0000 (UTC) Received: from r56.edvax.de (port-92-195-62-131.dynamic.qsc.de [92.195.62.131]) by mx01.qsc.de (Postfix) with ESMTP id 496E93CD8F; Wed, 2 May 2012 14:09:57 +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 q42C9ue1002008; Wed, 2 May 2012 14:09:56 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 2 May 2012 14:09:56 +0200 From: Polytropon To: Erich Dollansky Message-Id: <20120502140956.029cab60.freebsd@edvax.de> In-Reply-To: <201205020619.50474.erichfreebsdlist@ovitrap.com> References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <20120501124110.GB5007@mech-cluster241.men.bris.ac.uk> <20120501155211.0148c7dd.freebsd@edvax.de> <201205020619.50474.erichfreebsdlist@ovitrap.com> 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: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 12:10:00 -0000 On Wed, 2 May 2012 06:19:50 +0700, Erich Dollansky wrote: > Hi, > > On Tuesday 01 May 2012 20:52:11 Polytropon wrote: > > On Tue, 1 May 2012 13:41:11 +0100, Anton Shterenlikht wrote: > > > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > > > Not a big issue. Make sure you can remember which parts belong where. > > Make photos if it helps you, or draw some notes. If possible, find > > the service manual of the device and use it as orientation. But I > > think such kind of documentation is no longer part of the "end user > > book present". :-) > > > you cannot say this in general. I didn't intend to. From my limited experience (considering "modern" home consumer throw-away laptops and netbooks) there's hardly any usable documentation. A "start-up guide" is among the few printed materials. DVDs often contain drivers and a few instructions (e. g. how to plug in the power supply), but things starting with opening the device are typically left out. However, I welcome manufacturers providing service manuals so a skilled user can use them. A typical problem (as you described) can appear when special screwdrivers, glue, spare parts or other tools are needed for repair that cannot be purchased freely (or easily). In such cases, repair attempts would often be more expensive than replacing the whole device. > > I've been lucky exploring that my "new" Lenovo Thinkpad T61p can be > > This is a different class of machines. They are made to be > repaired and they are very large. Both is correct, and I'm happy of that. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed May 2 13:36:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 535BC106566B for ; Wed, 2 May 2012 13:36:36 +0000 (UTC) (envelope-from jorge@jorge.cc) Received: from mail.jorge.cc (mail.jorge.cc [69.55.232.70]) by mx1.freebsd.org (Postfix) with ESMTP id 3AC238FC15 for ; Wed, 2 May 2012 13:36:36 +0000 (UTC) Received: by mail.jorge.cc (mail.jorge.cc Daemon, from userid 1002) id 093E9108C40; Wed, 2 May 2012 09:27:48 -0400 (EDT) Date: Wed, 2 May 2012 09:27:47 -0400 From: Jorge Luis =?iso-8859-1?Q?Gonz=E1lez?= To: freebsd-questions@freebsd.org Message-ID: <20120502132747.GA8355@jorge.cc> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.2.3i "From: Jorge Luis Gonzalez " "Organization: Acme Aesthetic Products" "X-Operating-System: FreeBSD 8.2-RELEASE-p4" Organization: Acme Aesthetic Products X-Operating-System: FreeBSD 8.2-RELEASE-p4 Subject: portmaster won't update libc.so.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 13:36:36 -0000 When I run: portmaster -a --no-confirm I get the error Installing updates: chflags...///lib/libc.so.7: Operation not permitted Changing chflags (presumably schg, but I tried the others) doesn't appear to make any difference. I'm not running any servers in jails. Any ideas? Thanks, Jorge -- Jorge Luis Gonzlez http://www.jorge.cc/ * ftp://ftp.jorge.cc/{pub,incoming} IRC: #vim satyriasis * XMPP: jl-satyr@jabber.org GPG KEY -> 0x4AD9C195 * ICBM: 42.592627, -72.588859 This email optimized for teletypes. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 14:03:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1166106566C for ; Wed, 2 May 2012 14:03:51 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id A96438FC0C for ; Wed, 2 May 2012 14:03:51 +0000 (UTC) Received: from mr17.lnh.mail.rcn.net ([207.172.157.37]) by smtp02.lnh.mail.rcn.net with ESMTP; 02 May 2012 10:03:45 -0400 Received: from smtp04.lnh.mail.rcn.net (smtp04.lnh.mail.rcn.net [207.172.157.104]) by mr17.lnh.mail.rcn.net (MOS 4.3.4-GA) with ESMTP id BLW56789; Wed, 2 May 2012 10:03:45 -0400 Received: from 209-6-86-84.c3-0.smr-ubr2.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.86.84]) by smtp04.lnh.mail.rcn.net with ESMTP; 02 May 2012 10:03:45 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20385.16064.640326.717494@jerusalem.litteratus.org> Date: Wed, 2 May 2012 10:03:44 -0400 To: Jorge Luis =?iso-8859-1?Q?Gonz=E1lez?= In-Reply-To: <20120502132747.GA8355@jorge.cc> References: <20120502132747.GA8355@jorge.cc> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr17.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: portmaster won't update libc.so.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 14:03:52 -0000 Jorge Luis =?iso-8859-1?Q?Gonz=E1lez?= writes: > When I run: > > portmaster -a --no-confirm > > I get the error > > Installing updates: chflags...///lib/libc.so.7: Operation not permitted > > Changing chflags (presumably schg, but I tried the others) doesn't > appear to make any difference. > > I'm not running any servers in jails. > > Any ideas? No, but a question: what is any port doing playing games with part of the base system? (And which port is it?) Robert huff From owner-freebsd-questions@FreeBSD.ORG Wed May 2 14:36:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1431C106564A for ; Wed, 2 May 2012 14:36:07 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id C57C48FC12 for ; Wed, 2 May 2012 14:36:06 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q42ETlLB007610; Wed, 2 May 2012 08:29:59 -0600 From: Erich Dollansky To: freebsd-questions@freebsd.org, Polytropon Date: Wed, 2 May 2012 21:24:48 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-STABLE; KDE/4.7.4; amd64; ; ) References: <20120501120654.GA4883@mech-cluster241.men.bris.ac.uk> <201205020619.50474.erichfreebsdlist@ovitrap.com> <20120502140956.029cab60.freebsd@edvax.de> In-Reply-To: <20120502140956.029cab60.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201205022124.49071.erichfreebsdlist@ovitrap.com> Cc: Anton Shterenlikht Subject: Re: laptop very hot and noisy X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 14:36:07 -0000 Hi, On Wednesday 02 May 2012 19:09:56 Polytropon wrote: > On Wed, 2 May 2012 06:19:50 +0700, Erich Dollansky wrote: > > On Tuesday 01 May 2012 20:52:11 Polytropon wrote: > > > On Tue, 1 May 2012 13:41:11 +0100, Anton Shterenlikht wrote: > > > > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > > > > > Not a big issue. Make sure you can remember which parts belong where. > > > Make photos if it helps you, or draw some notes. If possible, find > > > the service manual of the device and use it as orientation. But I > > > think such kind of documentation is no longer part of the "end user > > > book present". :-) > > > > > you cannot say this in general. > > I didn't intend to. From my limited experience (considering "modern" > home consumer throw-away laptops and netbooks) there's hardly any > usable documentation. A "start-up guide" is among the few printed > materials. DVDs often contain drivers and a few instructions (e. g. even with the professional class, it is the same. > how to plug in the power supply), but things starting with opening > the device are typically left out. However, I welcome manufacturers > providing service manuals so a skilled user can use them. A typical > problem (as you described) can appear when special screwdrivers, The said thing is that they all have but not all publish them. > glue, spare parts or other tools are needed for repair that cannot > be purchased freely (or easily). In such cases, repair attempts > would often be more expensive than replacing the whole device. Not with the professional class machines. But the chemicals needed are a problem there too. > > > > I've been lucky exploring that my "new" Lenovo Thinkpad T61p can be > > > > This is a different class of machines. They are made to be > > repaired and they are very large. > > Both is correct, and I'm happy of that. :-) The largest screen I ever have had was 13.3". They did not have anything smaller those days. My best experience comes from a 10" LCD. I have had to settle now for 12.5". Ok, it has one plus. The keys are of normal size. And I learned that the machine is very robust again. Erich From owner-freebsd-questions@FreeBSD.ORG Wed May 2 15:06:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F5D1065676 for ; Wed, 2 May 2012 15:06:36 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id B17418FC08 for ; Wed, 2 May 2012 15:06:35 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q42F6QXh012662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 2 May 2012 17:06:27 +0200 Date: Wed, 2 May 2012 17:06:26 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120502150626.GF99014@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4F9EAD87.2000005@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FA14D72.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FA14D72.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 15:06:36 -0000 Le 30/04/2012 ? 17:19:35+0200, Jerome Herman a crit > >> I was afraid this would happen. And I fear it is just the begining. > > Why you say that ? > Short answer : I am a proud member of the "HAL and DBus are evil" group. > Middle answer : HAL and DBus were made, maintained and tuned with pretty > much nothing but Linux in mind. As a result they hardly play well with > other OS, and will tend to play worse as the time goes by. In fact > general opinion is that HAL never truly worked under Linux either, it is > now officially deprecated. OK. I'm just a basic user. Event I use FreeBSD since 3.x I'm sysadmin so I use lot of FreeBSD for the server side. On my laptop I use...vim/X11/Firefox/ion3 and that is almost everything I knwon. I remenber when hal is release I lost lot of time to configure X11 to use my keyboard map (us_intl) and hate hal for that ;-) > > ugen5.2: at usbus5 > > ums1: on usbus5 > > ums1: 5 buttons and [XYZT] coordinates ID=0 > Ok looking at your files, it does not appear to be a hal/dbus problem > either : > The device is correctly probed and registered with DBus, known as > /dev/ums1, and the x11 driver is mapped to "mouse" which should be correct. > For one reason or another, xorg is not catching/processing the info. > > Can you send the Xorg log ? Just wait until X is up and then plug the > mouse. I am curious to see what happens inside xorg. I think the problem is indeed comme from Xorg. Before I plug (Notice my touchpad working) http://dl.free.fr/nkZEuk5nZ I plug the mouse http://dl.free.fr/vEn4bnirv Thanks. Regards. JAS -- Albert SHIH DIO btiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mer 2 mai 2012 17:01:21 CEST From owner-freebsd-questions@FreeBSD.ORG Wed May 2 15:33:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 902631065677 for ; Wed, 2 May 2012 15:33:48 +0000 (UTC) (envelope-from santacruzbiotechnology@scbt.com) Received: from scbt.com (mail.scbt.com [64.166.169.131]) by mx1.freebsd.org (Postfix) with ESMTP id 93A548FC18 for ; Wed, 2 May 2012 15:33:47 +0000 (UTC) Received: from [192.168.2.31] (HELO localhost) by scbt.com (CommuniGate Pro SMTP 5.3.15) with ESMTP id 95354161 for freebsd-questions@freebsd.org; Wed, 02 May 2012 08:33:40 -0700 To: freebsd-questions@freebsd.org CC: From: Santa Cruz Vaccine Message-ID: Date: Wed, 02 May 2012 08:33:40 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: UltraCruz Sand Clear Free from Santa Cruz Animal Health X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 15:33:48 -0000 Are you having trouble viewing this e-mail? [1]Click here to view it from our website. To ensure that you continue receiving emails from us, please add [2]santacruzbiotechnology@scbt.com to your e-mail address book. [3][USEMAP:20120430_vaccine.jpg] Copyright 2012 Santa Cruz Biotechnology, Inc. Santa Cruz Biotechnology, Inc. and the Santa Cruz Biotechnology, Inc. logo are registered trademarks of Santa Cruz Biotechnology, Inc. All content contained in this website is property of Santa Cruz Biotechnology, Inc. and may be used only with the expressed written permission of Santa Cruz Biotechnology, Inc. All rights reserved. Santa Cruz Biotechnology, Inc. is located at 2145 Delaware Avenue, Santa Cruz, CA 95060 USA Email: [4]webmaster@scbt.com If you desire to not receive our e-mail bulletins at freebsd-questions@freebsd.org, simply [5]unsubscribe or forward this email message to webmaster@scbt.com. Santa Cruz Biotechnology, Inc. References 1. http://www.scbt.com/emails/broadcast.php?lang=en&promo=vaccine_20120501&url=ah_promo.html 2. mailto:santacruzbiotechnology@scbt.com 3. LYNXIMGMAP:file://localhost/tmp/tmpyfz3ac.html#ah 4. mailto:webmaster@scbt.com 5. http://www.scbt.com/email_bulletin.php?eid=freebsd-questions@freebsd.org From owner-freebsd-questions@FreeBSD.ORG Wed May 2 16:28:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AC591065672 for ; Wed, 2 May 2012 16:28:00 +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 1313F8FC0C for ; Wed, 2 May 2012 16:27:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q42GRu4p005902; Wed, 2 May 2012 10:27:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q42GRuI4005899; Wed, 2 May 2012 10:27:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 2 May 2012 10:27:56 -0600 (MDT) From: Warren Block To: Albert Shih In-Reply-To: <20120502150626.GF99014@pcjas.obspm.fr> Message-ID: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> 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.2.7 (wonkity.com [127.0.0.1]); Wed, 02 May 2012 10:27:56 -0600 (MDT) Cc: Jerome Herman , freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 16:28:00 -0000 On Wed, 2 May 2012, Albert Shih wrote: > I think the problem is indeed comme from Xorg. Just to repeat: on this Gateway notebook, only one or the other of the touchpad or mouse would work until I enabled moused in /etc/rc.conf. Now either or both work, including when the USB mouse is connected after X starts. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 17:19:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3348106564A for ; Wed, 2 May 2012 17:19:12 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 69AD98FC12 for ; Wed, 2 May 2012 17:19:12 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.4/8.14.4) with ESMTP id q42HJ5g2061934 for ; Wed, 2 May 2012 13:19:05 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.4/8.14.4/Submit) with ESMTP id q42HJ5bC061929 for ; Wed, 2 May 2012 13:19:05 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Wed, 2 May 2012 13:19:05 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: freebsd-questions@freebsd.org In-Reply-To: Message-ID: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> 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.2.3 (fledge.watson.org [127.0.0.1]); Wed, 02 May 2012 13:19:05 -0400 (EDT) Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@fledge.watson.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 17:19:12 -0000 On Wed, 2 May 2012, Warren Block wrote: > On Wed, 2 May 2012, Albert Shih wrote: > >> I think the problem is indeed comme from Xorg. > > Just to repeat: on this Gateway notebook, only one or the other of the > touchpad or mouse would work until I enabled moused in /etc/rc.conf. Now > either or both work, including when the USB mouse is connected after X > starts. My experience corresponds with Warren's thoughts on this. I was running the exact levels of software on an old Dell 800Mhz desktop and new aDell laptop many many times faster, 4 cpu's etc, etc. HAL (which is well named I think) did not work very well on the laptop and I would lose the mouse and keyboard when I disabled the touchpad. On the Desktop HAL worked fine. The laptop (keyboard and mouse anyway) works fine without HAL. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 17:40:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74C551065672 for ; Wed, 2 May 2012 17:40:25 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 07C848FC19 for ; Wed, 2 May 2012 17:40:24 +0000 (UTC) Received: by yhgm50 with SMTP id m50so616899yhg.13 for ; Wed, 02 May 2012 10:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type; bh=Sj020m6zY0KF4U0E4ysau2sEJccwyd8SIqD7JJDxdmE=; b=QVneGy6dSxw8NZQs3w8wUItB25ho4OmdMKIEdFn6L/Ya3TH8mV7h5AWFyvVLj32DEC 7taV8FlNr6jse5vGhLQNlmkT+qAxotSD8Gkk7fjlKPMNJiTa1XRfy9fnSITNDbhX6trn aK5OENh0P957RIVRnhRP2V8k8Io7zr5sMny8U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :x-gm-message-state; bh=Sj020m6zY0KF4U0E4ysau2sEJccwyd8SIqD7JJDxdmE=; b=SO38OLIaosb8+96jWdZfJWrY2tvNRpeRFJuBMx66j1ymIbGGhBrA+8iA0RnXC/2TXb zx6pQotrf6ecgynKXZcQ0lBvZizletioW/ewOV1OjkU2FBaeci8EB5VVH/+2novjXYfD i8Nv5FgRRZmA5u1moE7AhcZi/bhGrkVeRBXlkGJoAq3xiDQSGyjY6g1q4e/MIQOok8Yx 3cPaLJAQLdnUbPnlKIqMtZ3LdomuZ7GfAOoFfsNrPME/EF9xl0NXZyU8Wqdi0zaE8ovf n9VDHWjEfKS3vwXIgO4yZPTK+dJhYnwdNqMCAuY6Fuy5o3HwvYndtwIq1a9+HcgWFHBz DDjw== Received: by 10.236.185.166 with SMTP id u26mr33133324yhm.9.1335980424188; Wed, 02 May 2012 10:40:24 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id k35sm3774526ani.3.2012.05.02.10.40.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 02 May 2012 10:40:23 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3VjRb93dkQz2CG5r for ; Wed, 2 May 2012 13:40:21 -0400 (EDT) Date: Wed, 2 May 2012 13:40:10 -0400 From: Jerry To: FreeBSD Message-ID: <20120502134010.3bf156d7@scorpio> In-Reply-To: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/tiDAT800k6qvRr5aP0vI7=X"; protocol="application/pgp-signature" X-Gm-Message-State: ALoCoQl2G97I02/UPt/ZW4cNNnOQGE86HuQVyr+NCi+PKYIUNlArsQb0/7JryuzqVt43YaZgOtC0 Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 17:40:25 -0000 --Sig_/tiDAT800k6qvRr5aP0vI7=X Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 2 May 2012 13:19:05 -0400 (EDT) doug@safeport.com articulated: >On Wed, 2 May 2012, Warren Block wrote: > >> On Wed, 2 May 2012, Albert Shih wrote: >> >>> I think the problem is indeed comme from Xorg. >> >> Just to repeat: on this Gateway notebook, only one or the other of >> the touchpad or mouse would work until I enabled moused >> in /etc/rc.conf. Now either or both work, including when the USB >> mouse is connected after X starts. > >My experience corresponds with Warren's thoughts on this. I was >running the exact levels of software on an old Dell 800Mhz desktop and >new aDell laptop many many times faster, 4 cpu's etc, etc. HAL (which >is well named I think) did not work very well on the laptop and I >would lose the mouse and keyboard when I disabled the touchpad. On the >Desktop HAL worked fine. The laptop (keyboard and mouse anyway) works >fine without HAL. HAL is now deprecated on GNU/Linux systems. Why it is still being kept on life support in FreeBSD is the question that needs to be addressed. This didn't just happen yesterday either. We continue to bump version numbers yet fail to repair/replace crucial elements of the operating system. What is even better, depending on whose forum you choose to read, the problem is FreeBSD -- Linux -- Gnome -- KDE -- "The Cat in the Hat" (no one has blamed Microsoft for this fiasco as far as I know) yet the problem still exists. Since 2008, when HAL was being deprecated, no one has properly addressed the problem. Everyone plays the "blame game". --=20 Jerry =E2=99=94 Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ --Sig_/tiDAT800k6qvRr5aP0vI7=X Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJPoXGEAAoJEF2rWD2do7dN8joIALk3jBbXNvJtk/4jzrz1Lsrw uwa48Gb+kcn6uWGjVhQa/I0B6t+Fbb7RYM6718InK+D9wuidrud3fvF8sJ2oiJj9 It3OL8Sh2fh+BakyfwBwYx5I5L2hfNtpzVzowXP55hS8VNs3Qr99EvdD8AHQntwt ESlNyn3zPXOqle8dSYkXcKGU7j93+qy7QxCbOOfdEI4Rj1igYHfd583+5Bswa6kf xm5Bpgc0lekvAOPW4SLBAeCVzCFh2qsnaNZFrN3RD36nn4xZ+SzK9isxLWcplDsT h1maPg+q1ot3XyCC11Z32UwwgywSkiyB/bRPOQzQCamd6stJyZkHm4nx57Q5YeM= =r6Jd -----END PGP SIGNATURE----- --Sig_/tiDAT800k6qvRr5aP0vI7=X-- From owner-freebsd-questions@FreeBSD.ORG Wed May 2 17:53:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0FBF106566C for ; Wed, 2 May 2012 17:53:02 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4CF8FC16 for ; Wed, 2 May 2012 17:53:02 +0000 (UTC) Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120502175256.TDKC26743.eastrmfepo102.cox.net@eastrmimpo305.cox.net> for ; Wed, 2 May 2012 13:52:56 -0400 Received: from serene.no-ip.org ([98.164.83.188]) by eastrmimpo305.cox.net with bizsmtp id 55su1j00743nm9e025svRz; Wed, 02 May 2012 13:52:55 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A02020A.4FA17477.0175,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=ITPmh36Af9J7ySz1AN7YZo9VhLPC0an3e6WolDjhv1Q= c=1 sm=1 a=_arCBInzMG8A:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=F4D4Y6gUi4XSUMrqnG4xkg==:17 a=OA2lqS22AAAA:8 a=kviXuzpPAAAA:8 a=cjRxPJIxjBAW_ig7HbEA:9 a=CjuIK1q_8ugA:10 a=ZZAfTtC2Ym4A:10 a=4vB-4DCPJfMA:10 a=F4D4Y6gUi4XSUMrqnG4xkg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q42HqrBJ011852 for ; Wed, 2 May 2012 12:52:53 -0500 (CDT) (envelope-from conrads@cox.net) Date: Wed, 2 May 2012 12:52:48 -0500 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Message-ID: <20120502125248.03e9d6bc@cox.net> In-Reply-To: <20385.16064.640326.717494@jerusalem.litteratus.org> References: <20120502132747.GA8355@jorge.cc> <20385.16064.640326.717494@jerusalem.litteratus.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: portmaster won't update libc.so.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 17:53:02 -0000 On Wed, 2 May 2012 10:03:44 -0400 Robert Huff wrote: > > Jorge Luis =?iso-8859-1?Q?Gonz=E1lez?= writes: > > > When I run: > > > > portmaster -a --no-confirm > > > > I get the error > > > > Installing updates: chflags...///lib/libc.so.7: Operation not > > permitted > > Changing chflags (presumably schg, but I tried the others) doesn't > > appear to make any difference. > > > > I'm not running any servers in jails. > > > > Any ideas? > > No, but a question: what is any port doing playing games with > part of the base system? > (And which port is it?) > > > Robert huff My first question as well. This is highly irregular. -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-questions@FreeBSD.ORG Wed May 2 17:59:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C82FA106566B for ; Wed, 2 May 2012 17:59:33 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB478FC16 for ; Wed, 2 May 2012 17:59:33 +0000 (UTC) Received: by dadm1 with SMTP id m1so171700dad.8 for ; Wed, 02 May 2012 10:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=7H7KAgQLvTBtVkKdxvx2P3dn1Bmp9Al2UNDbZn9d1fM=; b=SYqfjlQmslUaBINVuB2SKhBpKLXhyKVsQYDOoeOp/5ojFCj7cb7HiequB5RiLVYvyG QebfI2EapTkruyS0ckkde3ojZKOVnUUknhHre+jW/nfnVdm12/VuuNWn1abSpEtY4r5m hEcetBGFgF9fMBFk3ebRO91qmrcJ36fzNX3ejb/S5KH56HYmHjPClTpMvTV19MmiCyJS 3KwMBILwznjAVL5V3eteGXdrWemW5wUkhdwfky3GmCnM9fm3V2Tzb761vcOZaKiMtmzq V930B+ObM4BYfdLb1P6dM+/w616YlEWH2FJYMylNIxIC9Us+Eva7gf20dfYc/XVDxFfV fuYA== MIME-Version: 1.0 Received: by 10.50.216.232 with SMTP id ot8mr6576603igc.22.1335981572067; Wed, 02 May 2012 10:59:32 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.48.210 with HTTP; Wed, 2 May 2012 10:59:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 May 2012 10:59:32 -0700 X-Google-Sender-Auth: oTK93ISW5FFss7fErJT29EGBrak Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 17:59:33 -0000 On Tue, May 1, 2012 at 8:31 AM, Chris Maness wrote: > How do add a static route to rc.conf? > > Thanks, > Chris Maness http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration -- Noel Jones > Thanks, Noel Chris From owner-freebsd-questions@FreeBSD.ORG Wed May 2 18:25:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 447A9106564A for ; Wed, 2 May 2012 18:25:48 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id F40198FC0C for ; Wed, 2 May 2012 18:25:47 +0000 (UTC) Received: from [192.168.2.11] (unknown [109.190.13.180]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id 2F8A33DD06D for ; Wed, 2 May 2012 20:24:26 +0200 (CEST) Message-ID: <4FA17BA3.1070004@dichotomia.fr> Date: Wed, 02 May 2012 20:23:31 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: FreeBSD References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <20120502134010.3bf156d7@scorpio> In-Reply-To: <20120502134010.3bf156d7@scorpio> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (sslmail.dichotomia.fr); Wed, 02 May 2012 20:24:27 +0200 (CEST) Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 18:25:48 -0000 On 02/05/2012 19:40, Jerry wrote: > On Wed, 2 May 2012 13:19:05 -0400 (EDT) > doug@safeport.com articulated: > >> On Wed, 2 May 2012, Warren Block wrote: >> >>> On Wed, 2 May 2012, Albert Shih wrote: >>> >>>> I think the problem is indeed comme from Xorg. >>> Just to repeat: on this Gateway notebook, only one or the other of >>> the touchpad or mouse would work until I enabled moused >>> in /etc/rc.conf. Now either or both work, including when the USB >>> mouse is connected after X starts. >> My experience corresponds with Warren's thoughts on this. I was >> running the exact levels of software on an old Dell 800Mhz desktop and >> new aDell laptop many many times faster, 4 cpu's etc, etc. HAL (which >> is well named I think) did not work very well on the laptop and I >> would lose the mouse and keyboard when I disabled the touchpad. On the >> Desktop HAL worked fine. The laptop (keyboard and mouse anyway) works >> fine without HAL. > HAL is now deprecated on GNU/Linux systems. Why it is still being kept > on life support in FreeBSD is the question that needs to be addressed. > This didn't just happen yesterday either. We continue to bump version > numbers yet fail to repair/replace crucial elements of the > operating system. What is even better, depending on whose forum you > choose to read, the problem is FreeBSD -- Linux -- Gnome -- KDE -- "The > Cat in the Hat" (no one has blamed Microsoft for this fiasco as far as > I know) yet the problem still exists. Since 2008, when HAL was being > deprecated, no one has properly addressed the problem. Everyone plays > the "blame game". Be carefull that Linux notion of "Deprecated" is not exactly on par with standard meaning of the term. ifconfig has been deprecated since 1999 in Linux, OSS since 2001. Both are still alive and kicking. So it might be that Linux will keep HAL for a while still. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 19:00:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD6F3106564A for ; Wed, 2 May 2012 19:00:04 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm39-vm2.bullet.mail.bf1.yahoo.com (nm39-vm2.bullet.mail.bf1.yahoo.com [72.30.239.146]) by mx1.freebsd.org (Postfix) with SMTP id 834828FC12 for ; Wed, 2 May 2012 19:00:04 +0000 (UTC) Received: from [98.139.214.32] by nm39.bullet.mail.bf1.yahoo.com with NNFMP; 02 May 2012 18:59:57 -0000 Received: from [98.139.212.196] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 02 May 2012 18:59:57 -0000 Received: from [127.0.0.1] by omp1005.mail.bf1.yahoo.com with NNFMP; 02 May 2012 18:59:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 825460.93357.bm@omp1005.mail.bf1.yahoo.com Received: (qmail 76194 invoked by uid 60001); 2 May 2012 18:59:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1335985197; bh=eX7JZGpZQARoKCUE2OABdfh/qB535BqLR7bWBb3NZ+M=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lftoMxz5nMXcn3ihaw+wB8iqtK1O9TEL9pl1p5DAINuSxVH0i4Zu8877Aw8pOGfjKvgmS0STmXOY6qgBsMS3UeR6vmsiA1QiGoHcCIzhxGDos84zf88n0Jd2qEhfepmQRTLli9IbbBZiuScabETzziUQLO7B/CFTHeUYwsiK+nI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ZjLgU8TsUAy8QV7W/z70HHsr0aBy8WO1UFfvG9jVXwptft6TvB0hutUjOk1vKPNJZCKlpfgysk+zLCtwGcvmDT0+8teT8Bm68BsL5UMmX0JliR5pmi8G1FhyChex6K1SsF0HdK1Rb7IrVJDaFVRVxWjd9qqnS1DApkAmraxuVdg=; X-YMail-OSG: yj9kJ9gVM1l9Sy7L5LaeVS.PC7SLs8eP5AHTtcOIiqljfdx LQNyn_uMTUKWH147t0.BKOP5zyb_Ik6NE_S.CH2dAXWiToc7yvMTFvqTXgwE _dGB38Hp621XWKQ2w.Xf534U9TxtveOd3Xmoj1eOT4hOFv.8rDyR78EDMIue tnvuIJOobwdlLARwhPSp3fyye7Uc3yzJuSDfbhalCCIHD2nG0cA7kqgp6lUG 8trOrLoey4xhHBBdTxNk6lwen_5pNEKETzTl3D8xwLFyTPG2kuPgeazadkf. GM_BW7JIJ3egCquxGMA6Q0XN18aYKNVJndqgwOBvIf_RX42zJmcCUWEh18P4 hppLjhmyUVY5JVjbQjmyCtsOIRFyZBLZGnbmCasHN7Tgkc.Oe2uF90QlpQl. rPvNuE9bBEIXT76HhmQTTxc77oHVHAnkDiQiKTvheqM.0TNEGKaOyTU8paoL sl9.U_Ht09fN_zxK9.A2DSjp88Me6YRvkGzt1FfdoG0lYvqwN Received: from [112.134.96.104] by web160105.mail.bf1.yahoo.com via HTTP; Wed, 02 May 2012 11:59:57 PDT X-Mailer: YahooMailWebService/0.8.118.349524 References: <1335932118.29543.YahooMailNeo@web160102.mail.bf1.yahoo.com> <201205020638.q426cXhg008660@mail.r-bonomi.com> Message-ID: <1335985197.76056.YahooMailNeo@web160105.mail.bf1.yahoo.com> Date: Wed, 2 May 2012 11:59:57 -0700 (PDT) From: Unga To: Robert Bonomi , "freebsd-questions@freebsd.org" In-Reply-To: <201205020638.q426cXhg008660@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "kickbsd@yandex.com" Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Unga List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 19:00:04 -0000 > From: Robert Bonomi =0A> To: freebsd-questions@= freebsd.org=0A> Cc: =0A> Sent: Wednesday, May 2, 2012 6:38 AM=0A> Subject: = Re: Segmentation fault in FreeBSD 9.0 flockfile ()=0A> =0A> =0A> Unga wrote;=0A>> From: Darren Baginski =0A>>= > Unga wrote:=0A>> > =0A>> >01.05.2012, 22:08, "Ung= a" :=0A>> >> Hi all=0A>> >>=0A>> >> I'm getting a=A0 = Segmentation fault in FreeBSD 9.0 as follows =0A> for myprog.c:=0A>> >>=0A= >> >> Reading symbols from /libexec/ld-elf.so.1...done.=0A>> >> Loaded sy= mbols for /libexec/ld-elf.so.1=0A>> >> #0=A0 0x28ebb062 in flockfile () fr= om /lib/libc.so.7=0A>> >> [New Thread 29c04900 (LWP 100575/SDLTimer)]=0A>>= >> [New Thread 29c04300 (LWP 100416/myprog)]=0A>> >> (gdb)=0A>> >> (gdb= ) info threads=0A>> >> * 2 Thread 29c04300 (LWP 100416/myprog)=A0 0x28ebb0= 62 in flockfile =0A> ()=0A>> >>=A0 =A0 from /lib/libc.so.7=0A>> >>=A0 1 = Thread 29c04900 (LWP 100575/SDLTimer)=A0 0x28e1527b in _umtx_op =0A> ()=0A>= > >>=A0 =A0 from /lib/libc.so.7=0A>> >> (gdb)=0A>> >>=0A>> >> I don't u= se flockfile () directly in my program.=0A>> >>=0A>> >=0A>> >Hi!=0A>> >= =0A>> >Mind to share code snippet caused the problem?=0A>> =0A>> Hi Thank= s for the reply. I have mentioned in my original post that neithe=0A>> r I= nor SDL use the flockfile () in the source.=0A>> =0A> =0A> There was a _re= ason_ the prior poster asked about seeing your code.=0A> The information yo= u provided is not adequate/sufficient for anyone to=0A> have any chance of = helping you.=A0 Informationn that -is- necessary was=0A> therefore requeste= d.=A0 =0A> =0A> What you "don't use" is irrelevant to solving the problem. = =0A> =0A> To be any help one must figure out what you _did_ do -- which =3D= indirectly=3D =0A> calls flockfile().=0A> =0A> Your code calls "something" = in 'libc'=A0 that calls flockfile().=0A> =0A> You "don't know" what that so= mething in your code is.=A0 Other eyes =0A> _might_=0A> recognize it, -if- = they saw what you were doing.=0A> =0A> Here is how to find out what does th= at calling, yourself.=0A> 1) recompile all the components of 'myprog' with = the '-g' =0A> compiler option.=0A> 2) start 'script', so that you have a co= mplete log of the debugger =0A> session.=0A> 3) load the debugger with 'myp= rog' as the program to be debugged.=0A> 4) set a breakpoinnt in the 'flockf= ile' function=0A> 5) 'run' the program=0A> 6) when it stops at flockfile() = entry. use 'where' to see a stack trace.=0A> 7) 'display' each of the argum= ents to flockfile().=0A> 9) go 'up' to the calling code.=0A> 9) repeat step= s 7 and 8 util you reach 'your' code.=0A> 10) now 'continue' the program.= =A0 If it immediately segfaults, this was =0A> the=0A> =A0 =A0 offending ca= ll.=A0 Otherwise, the program will stop aggain at another=0A> =A0 =A0 flock= file() invocation. repeat from step 7 -until- you get the segfault.=0A> =0A= > If, from that debugger session, you still don't see anything wrong, post= =0A> the log of the debugger session.=0A> =0A> There is a *remote* possibil= ity that the program will run properly under=0A> the debugger, while it cra= shes when run directly.=A0 This has been known =0A> to happen when a progra= m _uses_ a variable before initializing it.=0A> =0A> *IF* that happens, you= will have to modify 'myprog' to add diagnostic=0A> output before and after= each identified point (above) in your code that=0A> indirectly invokes flo= ckfile() to find which is failing.=A0 =0A> =0A> In _that_ event, you =3Dwil= l=3D have to post the 'relevant' source-code from=0A> 'myprog', with the fa= iling statement identified.=0A> =0AHopefully I have not offended anyone wit= h my reply :) Very sorry if I did.=0A=0AMy this FreeBSD 9.0 box is seems ve= ry messy. I have another issue that getaddrinfo(3) doesn't accept "localhos= t". =0A=0AAfter installing FreeBSD 9.0, I installed KDE, then realised that= the existing Intel display driver does not support my Intel Sandy Bridge b= ased GPU. So I had to patch the kernel to support KMS based latest Intel dr= iver, upgraded to Xorg to 7.5.2, etc. etc. Whole process was done multiple = times as I was new to this complex upgrade.=0A=0AI presume, I should erase = off the hard disk and reinstall everything cleanly and then retry my progra= ms on FreeBSD 9.0. If the problem still persists, I'll surely do a detailed= debug. Pls note, whole thing works well on FreeBSD 8.1.=0A=0AAs this is ti= me consuming and as per existing commitments, I only try this at least in a= nother two weeks time. I will sure let the list know the outcome.=0A=0ABest= regards=0AUnga From owner-freebsd-questions@FreeBSD.ORG Wed May 2 19:39:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C1F621065674 for ; Wed, 2 May 2012 19:39:51 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1918FC17 for ; Wed, 2 May 2012 19:39:51 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.4/8.14.4) with ESMTP id q42JdoVa045977 for ; Wed, 2 May 2012 15:39:50 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.4/8.14.4/Submit) with ESMTP id q42Jdo62045973 for ; Wed, 2 May 2012 15:39:50 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Wed, 2 May 2012 15:39:50 -0400 (EDT) From: doug To: FreeBSD In-Reply-To: <4FA17BA3.1070004@dichotomia.fr> Message-ID: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <20120502134010.3bf156d7@scorpio> <4FA17BA3.1070004@dichotomia.fr> 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.2.3 (fledge.watson.org [127.0.0.1]); Wed, 02 May 2012 15:39:50 -0400 (EDT) Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@safeport.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 19:39:51 -0000 On Wed, 2 May 2012, Jerome Herman wrote: > On 02/05/2012 19:40, Jerry wrote: >> On Wed, 2 May 2012 13:19:05 -0400 (EDT) >> doug@safeport.com articulated: >> >>> On Wed, 2 May 2012, Warren Block wrote: >>> >>>> On Wed, 2 May 2012, Albert Shih wrote: >>>> >>>>> I think the problem is indeed comme from Xorg. >>>> Just to repeat: on this Gateway notebook, only one or the other of >>>> the touchpad or mouse would work until I enabled moused >>>> in /etc/rc.conf. Now either or both work, including when the USB >>>> mouse is connected after X starts. >>> My experience corresponds with Warren's thoughts on this. I was >>> running the exact levels of software on an old Dell 800Mhz desktop and >>> new aDell laptop many many times faster, 4 cpu's etc, etc. HAL (which >>> is well named I think) did not work very well on the laptop and I >>> would lose the mouse and keyboard when I disabled the touchpad. On the >>> Desktop HAL worked fine. The laptop (keyboard and mouse anyway) works >>> fine without HAL. >> HAL is now deprecated on GNU/Linux systems. Why it is still being kept >> on life support in FreeBSD is the question that needs to be addressed. >> This didn't just happen yesterday either. We continue to bump version >> numbers yet fail to repair/replace crucial elements of the >> operating system. What is even better, depending on whose forum you >> choose to read, the problem is FreeBSD -- Linux -- Gnome -- KDE -- "The >> Cat in the Hat" (no one has blamed Microsoft for this fiasco as far as >> I know) yet the problem still exists. Since 2008, when HAL was being >> deprecated, no one has properly addressed the problem. Everyone plays >> the "blame game". > Be carefull that Linux notion of "Deprecated" is not exactly on par with > standard meaning of the term. ifconfig has been deprecated since 1999 in > Linux, OSS since 2001. Both are still alive and kicking. So it might be that > Linux will keep HAL for a while still. I guess my comments were not clear. If something does not work for a particular configuration, why use it? Given the 1000s of different BIOSs, PCs and the fact that everything is written to work with windows, to expect no issues is not realistic. My only point was/is if it does not work for your configuration, you are not likely (in my experience) to be able to get it working without a pretty good knowledge of fbsd, xorg and C. The handbook is very clear on how to configure without HAL, so that should be the first thing to try. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 19:59:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB268106566C for ; Wed, 2 May 2012 19:59:44 +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 A6DFC8FC0A for ; Wed, 2 May 2012 19:59:44 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q42JxcC6007103; Wed, 2 May 2012 13:59:38 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q42Jxcf3007100; Wed, 2 May 2012 13:59:38 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 2 May 2012 13:59:38 -0600 (MDT) From: Warren Block To: "Conrad J. Sabatier" In-Reply-To: <20120502125248.03e9d6bc@cox.net> Message-ID: References: <20120502132747.GA8355@jorge.cc> <20385.16064.640326.717494@jerusalem.litteratus.org> <20120502125248.03e9d6bc@cox.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.2.7 (wonkity.com [127.0.0.1]); Wed, 02 May 2012 13:59:38 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: portmaster won't update libc.so.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 19:59:45 -0000 On Wed, 2 May 2012, Conrad J. Sabatier wrote: > On Wed, 2 May 2012 10:03:44 -0400 > Robert Huff wrote: > >> >> Jorge Luis =?iso-8859-1?Q?Gonz=E1lez?= writes: >> >>> When I run: >>> >>> portmaster -a --no-confirm >>> >>> I get the error >>> >>> Installing updates: chflags...///lib/libc.so.7: Operation not >>> permitted >>> Changing chflags (presumably schg, but I tried the others) doesn't >>> appear to make any difference. >>> >>> I'm not running any servers in jails. >>> >>> Any ideas? >> >> No, but a question: what is any port doing playing games with >> part of the base system? >> (And which port is it?) > > My first question as well. This is highly irregular. Some of the misc/compat ports install an old libc.so, but not in place of the real one. From owner-freebsd-questions@FreeBSD.ORG Wed May 2 20:15:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DF1D106564A for ; Wed, 2 May 2012 20:15:53 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id AD8F18FC0C for ; Wed, 2 May 2012 20:15:52 +0000 (UTC) Received: from www.dweimer.net (localhost [127.0.0.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q42KFk0m062695 for ; Wed, 2 May 2012 15:15:46 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 02 May 2012 15:15:46 -0500 From: "Dean E. Weimer" To: Mail-Reply-To: In-Reply-To: References: <20120502132747.GA8355@jorge.cc> <20385.16064.640326.717494@jerusalem.litteratus.org> <20120502125248.03e9d6bc@cox.net> Message-ID: <9736b7c17896f859c7a353b2c5d86829@www.dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: RoundCube Webmail/0.6 Subject: Re: portmaster won't update libc.so.7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 20:15:53 -0000 On 02.05.2012 14:59, Warren Block wrote: > On Wed, 2 May 2012, Conrad J. Sabatier wrote: > >> On Wed, 2 May 2012 10:03:44 -0400 >> Robert Huff wrote: >> >>> >>> Jorge Luis =?iso-8859-1?Q?Gonz=E1lez?= writes: >>> >>>> When I run: >>>> >>>> portmaster -a --no-confirm >>>> >>>> I get the error >>>> >>>> Installing updates: chflags...///lib/libc.so.7: Operation not >>>> permitted >>>> Changing chflags (presumably schg, but I tried the others) >>>> doesn't >>>> appear to make any difference. >>>> >>>> I'm not running any servers in jails. >>>> >>>> Any ideas? >>> >>> No, but a question: what is any port doing playing games with >>> part of the base system? >>> (And which port is it?) >> >> My first question as well. This is highly irregular. > > Some of the misc/compat ports install an old libc.so, but not in > place of the real one. > _______________________________________________ > 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" libc.so.7 is still current in 9.0, so none of the misc/compat ports should contain it, A quick search shows just that. #cd /usr/ports/misc #grep -H "libc.so" compat*/* compat4x/pkg-plist.freebsd5:%%LIBDIR%%/compat/libc.so.4 compat5x/Makefile:# NOTE: libc.so.5 is built with _PATH_LOCALE defined to compat5x/pkg-plist:@unexec chflags noschg %D/lib/compat/libc.so.5 compat5x/pkg-plist:lib/compat/libc.so.5 compat5x/pkg-plist:%%AMD64%%lib32/compat/libc.so.5 compat6x/pkg-plist.alpha:lib/compat/libc.so.6 compat6x/pkg-plist.amd64:lib/compat/libc.so.6 compat6x/pkg-plist.amd64:lib32/compat/libc.so.6 compat6x/pkg-plist.i386:lib/compat/libc.so.6 compat6x/pkg-plist.sparc64:lib/compat/libc.so.6 -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Wed May 2 20:45:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41A14106566B for ; Wed, 2 May 2012 20:45:10 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id F09D18FC08 for ; Wed, 2 May 2012 20:45:09 +0000 (UTC) Received: from [192.168.2.11] (unknown [109.190.13.180]) (Authenticated sender: kha@dichotomia.fr) by sslmail.dichotomia.fr (Postfix) with ESMTPSA id 748313DD06D; Wed, 2 May 2012 22:43:54 +0200 (CEST) Message-ID: <4FA19CA3.50903@dichotomia.fr> Date: Wed, 02 May 2012 22:44:19 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Albert Shih References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> In-Reply-To: <20120502150626.GF99014@pcjas.obspm.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (sslmail.dichotomia.fr); Wed, 02 May 2012 22:43:54 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 May 2012 20:45:10 -0000 On 02/05/2012 17:06, Albert Shih wrote: > Le 30/04/2012 ? 17:19:35+0200, Jerome Herman a crit >>>> I was afraid this would happen. And I fear it is just the begining. >>> Why you say that ? >> Short answer : I am a proud member of the "HAL and DBus are evil" group. >> Middle answer : HAL and DBus were made, maintained and tuned with pretty >> much nothing but Linux in mind. As a result they hardly play well with >> other OS, and will tend to play worse as the time goes by. In fact >> general opinion is that HAL never truly worked under Linux either, it is >> now officially deprecated. > OK. I'm just a basic user. Event I use FreeBSD since 3.x > > I'm sysadmin so I use lot of FreeBSD for the server side. On my laptop I > use...vim/X11/Firefox/ion3 and that is almost everything I knwon. > > I remenber when hal is release I lost lot of time to configure X11 to use > my keyboard map (us_intl) and hate hal for that ;-) > >>> ugen5.2: at usbus5 >>> ums1: on usbus5 >>> ums1: 5 buttons and [XYZT] coordinates ID=0 >> Ok looking at your files, it does not appear to be a hal/dbus problem >> either : >> The device is correctly probed and registered with DBus, known as >> /dev/ums1, and the x11 driver is mapped to "mouse" which should be correct. >> For one reason or another, xorg is not catching/processing the info. >> >> Can you send the Xorg log ? Just wait until X is up and then plug the >> mouse. I am curious to see what happens inside xorg. > I think the problem is indeed comme from Xorg. > > Before I plug (Notice my touchpad working) > > http://dl.free.fr/nkZEuk5nZ > > I plug the mouse > > http://dl.free.fr/vEn4bnirv > > Thanks. > > Regards. > > JAS > Ok here is what happens, In your system you have your touchpad declared both in a static way in your xorg config, and probed by HAL. What happens is that when xorg starts it first install the touchpad as required by the config file, and then tries to install it again via autodetection. Of course the second installation of the same device doesn't work as the device is already busy with xorg, and xorg stops to try to auto-install devices. When you plug another mouse, xorg is notified that there are new devices, but starts by trying to reinstall the touchpad, fails again for the same reason as above and stops trying. In order to solve your problem you can try the following : a) remove the touchpad lines from your xorg config. This way the touchpad should be installed by auto detection. (simply comment it as you might be needing it back soon) b) forbid hal from probing the touchpad. If solution a fails, I would explain to you how to do this if solution a) fails. Jerome Herman From owner-freebsd-questions@FreeBSD.ORG Thu May 3 05:12:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56AA9106566B for ; Thu, 3 May 2012 05:12:30 +0000 (UTC) (envelope-from kreoso@googlemail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id DF71A8FC0A for ; Thu, 3 May 2012 05:12:29 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so4353735wib.13 for ; Wed, 02 May 2012 22:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=54c3YEzlxAXxOd1bMTJWD1XPIkd03PMUrnfjocI4Vc8=; b=TEJ0k8mGPQQdOLN7Pjp4JImYvQS6UbUDRlFarl3P6qf0tyYa2xqBqDLCkwFfQ3/oNe SN7Okof2BORQn7ZZTqSBG6j3J9kb49rs4ddAO/llIXX+mKF5h/UBW3oRhIFgBAHtd+sw plljirfybpPdo8PrN8iD/E2Pfs+PcfW/vxxyElFPfCAlNBTqibDnwk2pQCyAAEGOLM5Z YFEuCM6M3djcjfSVOz+tLabfIWMZjXAEmVWc3i1bdvVRxf251XXVv5YFsV8f7cMKVTE3 pVAqdBuC3rmpjD74pJvZLf6ZjpUPdh2FOk0A9fKzehVlcXPvOtBvV5Bh8s/GAnIB5E52 MayA== MIME-Version: 1.0 Received: by 10.180.76.240 with SMTP id n16mr2030980wiw.10.1336021948766; Wed, 02 May 2012 22:12:28 -0700 (PDT) Received: by 10.223.117.200 with HTTP; Wed, 2 May 2012 22:12:28 -0700 (PDT) Date: Thu, 3 May 2012 07:12:28 +0200 Message-ID: From: Jong-Beom Kim To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: build error : math/sage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 05:12:30 -0000 I have those messages. . . . Finished installing opencdk-0.6.6.p6.spkg /usr/local/bin/ar crs libsymmetrica.a bar.o bi.o boe.o bruch.o classical.o de.o di.o ff.o galois.o ga.o gra.o hash.o hiccup.o io.o ko.o list.o lo.o ma.o mee.o mem.o mes.o mhe.o mhh.o mhm.o mhp.o mhs.o mmm.o mms.o mod_dg_sbd.o mo.o mpp.o mps.o mse.o msh.o msm.o mss.o muir.o na.o nb.o nc.o nu.o part.o pee.o peh.o pem.o perm.o pes.o phe.o phh.o phm.o phs.o plet.o pme.o pmh.o poly.o ppe.o pph.o ppm.o ppp.o pps.o pr.o pse.o psh.o psm.o pss.o rest.o rh.o sab.o sb.o sc.o sr.o ta.o teh.o tem.o tep.o tes.o the.o thm.o thp.o ths.o tme.o tmh.o tmp.o tms.o tpe.o tph.o tpm.o tps.o tse.o tsh.o tsm.o tsp.o vc.o zo.o zykelind.o zyk.o /usr/local/bin/ranlib libsymmetrica.a make[2]: Leaving directory `/usr/ports/math/sage/work/sage-4.8/spkg/build/symmetrica-2.0.p7/src' real 2m43.498s user 8m55.444s sys 0m13.493s Successfully installed symmetrica-2.0.p7 Now cleaning up tmp files. Finished installing symmetrica-2.0.p7.spkg make[1]: Leaving directory `/usr/ports/math/sage/work/sage-4.8/spkg' real 2m50.848s user 14m51.642s sys 1m20.596s Error building Sage. gmake: *** [build] Error 1 *** Error code 1 Stop in /usr/ports/math/sage. what's interesting is, it is successfully built on core2duo machine with the same settings.(This failed machine has sandy bridge core) What I suspect is, both machine has CPUTYPE?=core2 in /etc/make.conf. I thought sandy bridge machine can have this options too, cause it has just more cpu instruction sets. Can it be a problem? -- *Kim* From owner-freebsd-questions@FreeBSD.ORG Thu May 3 07:32:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D26F6106566B for ; Thu, 3 May 2012 07:32:03 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6CC8FC0A for ; Thu, 3 May 2012 07:32:03 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q437VxOi025957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 May 2012 09:32:01 +0200 Date: Thu, 3 May 2012 09:31:59 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120503073159.GA4481@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <4FA19CA3.50903@dichotomia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4FA19CA3.50903@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FA2346F.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FA2346F.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 07:32:03 -0000 Le 02/05/2012 ? 22:44:19+0200, Jerome Herman a crit > > Hi. > Ok here is what happens, > > In your system you have your touchpad declared both in a static way in > your xorg config, and probed by HAL. > What happens is that when xorg starts it first install the touchpad as > required by the config file, and then tries to install it again via > autodetection. Of course the second installation of the same device > doesn't work as the device is already busy with xorg, and xorg stops to > try to auto-install devices. > When you plug another mouse, xorg is notified that there are new > devices, but starts by trying to reinstall the touchpad, fails again for > the same reason as above and stops trying. OK. > > In order to solve your problem you can try the following : > a) remove the touchpad lines from your xorg config. This way the > touchpad should be installed by auto detection. (simply comment it as > you might be needing it back soon) I've no idea how I can do that. Here my xorg.conf (without font/driver for graphics etc..): Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 # InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "dri" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection I've try to comment out Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" without any result. > b) forbid hal from probing the touchpad. If solution a fails, I would > explain to you how to do this if solution a) fails. Any solution ;-) Thanks again. Regards. JAS -- Albert SHIH DIO btiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 3 mai 2012 09:27:51 CEST From owner-freebsd-questions@FreeBSD.ORG Thu May 3 07:33:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 28AE4106567C for ; Thu, 3 May 2012 07:33:14 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id B4F078FC21 for ; Thu, 3 May 2012 07:33:13 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q437XBNk026126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 May 2012 09:33:12 +0200 Date: Thu, 3 May 2012 09:33:11 +0200 From: Albert Shih To: Warren Block Message-ID: <20120503073311.GB4481@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FA234B7.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FA234B7.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: Jerome Herman , freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 07:33:14 -0000 Le 02/05/2012 ? 10:27:56-0600, Warren Block a crit > On Wed, 2 May 2012, Albert Shih wrote: > > > I think the problem is indeed comme from Xorg. > > Just to repeat: on this Gateway notebook, only one or the other of the > touchpad or mouse would work until I enabled moused in /etc/rc.conf. > Now either or both work, including when the USB mouse is connected after > X starts. Sorry. I forget to thanks you the first time you answer me. But just after you send the message, I already try that, without any result. Regards. JAS -- Albert SHIH DIO btiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 3 mai 2012 09:32:16 CEST From owner-freebsd-questions@FreeBSD.ORG Thu May 3 10:03:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5F86106564A for ; Thu, 3 May 2012 10:03:05 +0000 (UTC) (envelope-from zac.3.14159@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4708FC14 for ; Thu, 3 May 2012 10:03:05 +0000 (UTC) Received: by obcni5 with SMTP id ni5so2890014obc.13 for ; Thu, 03 May 2012 03:02:59 -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=cnZyg9sO9iodbvhXfOWll3uG8HqSB9yVcEQTcrBSF3k=; b=wAdFvSczn1NYt/xfe2TctBrm/2r0Pv3GRTWodRMeQk9IJOs/spHkS2vrwv/uZ8cMyM sDOrCWxHR2/dREmdJpiKzSMDJLJo3696IjGW47fTl14xipxL8UZpRV1MeyjNiw8/Kd8l mx+uhStRvlwSqlsTM/N2Qo87A9SfYHwlcP/toXALV/HEG2LOHQN5tj6ZuiQgbMCQdLYr xkzool5lJFn6M1QwLOtM5OFhRRracTEoME7q0rgvOKyoKY9ltDuLiXdV6/qHcDvTeVey xBlFWE4wTjoWU4KtJeLe6T93dWKJwcKQVysyAHBADBdrFeppOWwQ2AvIs6syo4D6WUQt 2t8Q== MIME-Version: 1.0 Received: by 10.60.8.97 with SMTP id q1mr1930001oea.29.1336039378957; Thu, 03 May 2012 03:02:58 -0700 (PDT) Received: by 10.182.47.103 with HTTP; Thu, 3 May 2012 03:02:58 -0700 (PDT) Date: Thu, 3 May 2012 04:02:58 -0600 Message-ID: From: chromaticwt zac To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: newbie- install to i-mac from usb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 10:03:05 -0000 hi, I hope this is the correct mailing list for this question. I am a newbie. I want to install FreeBSD 9.0 to an i-mac g3/g4 which doesn't have a working cd drive. I want to use a usb stick to do this. My question is what relevant doc explains how to do this? I searched google and could not find an answer that worked, even for NetBSD. I tried issuing a dd command to cp the powerpc memstick image to usb, but I can't figure out how to get openfirmware to boot the usb. It is openfirmware version 3. I welcome any help and/or suggestions. Thanks, From owner-freebsd-questions@FreeBSD.ORG Thu May 3 11:56:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 800CD1065674 for ; Thu, 3 May 2012 11:56:13 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 33C168FC16 for ; Thu, 3 May 2012 11:56:12 +0000 (UTC) Received: by yhgm50 with SMTP id m50so1519312yhg.13 for ; Thu, 03 May 2012 04:56:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=Cjv9w7lPcJsM0vBXd2t8gs3M2MuYVoq6ySBCqlyplS4=; b=pSv08vTYK4vVXLMHGgfAJsyanb2vJgP6JlU8CaIWpnrSVCYykZOJlpsbJQbsMIxTTs mPJu+dP9KSlrdHHq2tCLpJHB4o45ESG2K/CR0sclmao1Clqg4Q7vtHdavm9VyBS1teeb ++GT+Z65vf8wZivq6AkMQYID80zPE64te0S3pZqbWQ8yWWVkK7ekMXPOqtxUhAPDFaHX NGDBDvTM1Xu2cQP6TrdAcBqS3zjfeGQv2vGpzpECsJuikO//y3h8wxReI1RLqGlkrJhG McLxIn1UT3qmbKfkst2pK28RkPi403daD0Xdhk6xdUVzRokcs7wD7H8oHN5bgYmoS1s4 oG1w== MIME-Version: 1.0 Received: by 10.50.197.233 with SMTP id ix9mr518737igc.26.1336046171255; Thu, 03 May 2012 04:56:11 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Thu, 3 May 2012 04:56:10 -0700 (PDT) In-Reply-To: <4F9F1551.5040003@dichotomia.fr> References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9F1551.5040003@dichotomia.fr> Date: Thu, 3 May 2012 07:56:10 -0400 X-Google-Sender-Auth: rVqgsxWovmMnJj4u5vgBHtwP9Q8 Message-ID: From: Alejandro Imass To: Jerome Herman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkIdFY9fOZVL/xOFNM5t/CHyJWVXGazTk/+AH0PyLWS4joKk1GX70gkUjkfQz95wpbfXn5k Cc: lists@eitanadler.com, freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 11:56:13 -0000 On Mon, Apr 30, 2012 at 6:42 PM, Jerome Herman wrot= e: [...] > I must admit that Robert Bonomi tone was highly insulting for this list, = and > though I completely condemn the form of his post, I cannot say I disagree > with the content. > I disagree with both the form and the content and I will tell you why later... I do appreciate however the time you and everyone else (including Robert Bonomi's), have taken to answer and post such lengthy insights. I believe everyone's opinion is important and should be respected. > There are quite a lot of things that are wrong with Alejandro Imass' post > and analysis. > The fist thing is that he did not give is setup in one go. It took quite = a > while to figure what happened, what system he was using and how he was us= ing > it. > At first he had to hard reboot an unresponsive system, then at reboot he > would have lost all of his jail. > Then it appeared that all the jails where inside another jail and that th= e > unresponsiveness came from MySQL. > Then we learn that all his daemons are inside jails. > Then we learn that ftp-proxy is not. > Then we learned that jail are not handled manually but through EZJail. > Then we are told that the problem with MySQL is known and comes from a > client using TigerCRM with a too much data. > There are litterally dozens of little pieces of important knowledge all o= ver > the thread. And you have to read it all to make sure you have the global > view. Not really a good start. > It is OK to forget to mention a thing or two, discarding what you think i= s > irrelevant to the problem at hand, but it is not OK to force people who a= re > trying to help you to read 50+ posts to learn about the basics of your > installation. > Granted. Nevertheless, the EzJail part (which I admit was a very important piece of information) was left out my first and second post was in fact established in the third post, so it was quite early in the thread. I think that it is not hard to put yourself in my shoes, and understand that in a moment of crisis, your first priority is NOT articulating the most complete and technical bug report you can. On the contrary, it's a cry for help from your peer users to see if you can gain some insight on solving the problem as quickly as possible. > What is even more irritating is the fact that Alejandro Imass ignores pre= tty > much anything that would leads toward a human mistake. Most posts implyin= g a > possible bad use of jails/nullfs/ezjail are ignored or answered by a simp= le > "I have done everything by the book". =A0Now from my experience someone w= ith 6 > servers, each containing multiple jails will not do everything by the boo= k > every time. It might be that Alejandro is exceptional, but it is more lik= ely Well, we do run everything by the book, precisely to avoid problems. We find one recipe that works and stick to it like religion. I have only used EzJail commands and **normal** use of EzJail. I am not expected to know _extactly_ how it works, I trust that to the experts in each field. As a user I am only expected to RTFM, and use it accordingly. Again let me remind everyone here, this list is precisely for that: FreeBSD ***GENERAL QUESTIONS***. It is NOT a technical list. When you and Robert Bonobi and everyone elese here subscribed to this particular list, it should have been pretty clear: - General lists: The following are general lists which anyone is free (and encouraged) to join: - freebsd-questions: User questions and technical support - About freebsd-questions English (USA) :This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. So I am entitled to post general questions and provide information as I see it fit, or if an expert on the list may ask for more. When I posted the first few posts, that's all the information I had, if you thought you needed more information, then you should have said so, but instead your personal guess is a priori judgment call, which I found almost as insulting as all of Bonobi's posts and I simply ignored you. In retrospective, and after re-reading you first post and this one, I can understand that having left EzJail out in the first post was a key piece of information that would have probably caused you to answer very differently, so I can somewhat justify your initial post, but to me at that moment, you should have already known I was using EzJail. > that at least one if not more of these jails were not made "by the book". > Nothing to blame anyone in here, we all get tired/bored/overconfident > sometime - but refusing to admit the very possibility of a human mistake > won't help at all in finding a solution. Reading the thread I realized th= at > my suggestion that he might have over-used "ln" had been discarded as > "stupid", but the information came a lot later in answer to another post.= Of Yes, I must apologize for having ignored your post, but I found your a priori *assumption* of human error almost as insulting as Robert Bonomi's posts. If I had done something that I think could have contributed I would have said so. Do you think I would come here and post something blaming the system, when in fact I would have thought that human error was involved? I find that insulting. Do you think I am afraid to say "I screwed up please help"? These a priori assumptions about people is what pissed me off, especially because it's not the first time I post on this list. > course in the mean time I learned that he was using ezjail, which, if I h= ad > known earlier, would have made me wonder if he had not overused nullfs or > ln. He furthermore discarded the possibility saying that he did not think > that ezjail was using links, just nullfs. Well too bad ezjail is massivel= y > using links, at least for basejail, and sometime for port trees or perl > setup depending which guide you are using as your reference. The expectation that as a user I am required to know if EzJail uses nullfs or links or the "source of fsck" is wrong. Some of this information is the manual pages, some is scattered around, and yes, there are several guides, but ultimately it all comes down to using the EzJail commands, so when I say using it by the book, is because I haven't done anything outside the EzJail commands, nor have I abused nullfs, links or whatever. I find it incredible that this is "the exception". I think the majority of people that use FBSD *should* be using it by the book. > During the thread he pretty much bashed anyone who tried to tell him that= no > amount of jail/ezjail/nullfs/journal screw up could have resulted in the > entire content of the jails being moved into another completely unrelated > directory node. =A0If one jail had moved it would already have been > extraordinary, with a probability of it happening so cleanly that fsck wo= uld > find nothing already magnitude of order above the chances of winning the > national lottery. But all of them ? Not a chance. He finally admitted tha= t > he had very little knowledge about UFS and fsck, but still managed to do = it > in a quite offensive way. > This is false. I have only been offensive, actually defensive, against Robert Bonobi. > That was basically the point were I decided to stop to try to help him. I > think others felt the same. This problem is quite interesting =A0in itsel= f, > and I think a lot of the most talented people on this list would have bee= n > on it but were repelled by the attitude. > Sorry, but this is false. At this point what I see is just you justifying after the fact that a possible problem with nullfs has resurfaced. Your prior assumptions like: - "Nothing even remotely rings a bell.". - "most of us will be inclined to think that you did something wrong." - "Extremely unlikely." Were wrong to begin with and your attitude was wrong from the start, so now you have to come here and turn this on me, when in fact it was not only after several insulting threads that I ranted away, and not even against you. > On the other hand Alejandro Imass pretty much jumped on anything that wou= ld > be a third party interaction. From someone hacking into his box to a > potential nullfs bug that might result in a PR. > The problem with living in these little worlds is not being able to picture oneself in the other person's shoes. If you have suddenly lost more than a dozen jails without having done anything more than reboot the system, I am pretty sure you would see this from another perspective. > Now the thing is that EZJail make use of the "system immutable flag" quit= e a > lot for its config file, resulting in quite a lot of file being impossibl= e > to delete or move unless the box is running at kern_secure_level 0. This > renders the whole "jails moved on their own" theory even more improbable. > Believe what you want and you are entitled to that; it's your right and your opinion. But regardless of what you beleive, this is something that actually happened. You don't hold the truth, only an opinion. > After so much ranting, I would feel bad not to try to help a little : > Here are the facts : > - In a jail, MySQL was grabbing all the CPU and making the box non > responsive. This is due to TigerCRM making requests to a too huge databas= e. > =A0 =A0 =A0 =A0-> The jail was working > =A0 =A0 =A0 =A0-> Unless all the data were in memory at this time (unprob= able), it > means that access path/nullfs/EZJail were OK at this time. > > - After a force reboot all the jails were gone, or more exactly moved ins= ide > another jail. fsck saw no error on the disk. > =A0 =A0 =A0 =A0-> The disk was in a stable state at reboot, the directory= and file > structure was consistent. > > - Jails contained it the apache jail were in an OK state and could be > archived and restored > =A0 =A0 =A0 =A0-> The data structure of the hard drive was clean, and fil= es contents > were OK. > > From all this here is what we can safely assume : > a) The box was not hacked, or at least the hacker did not move the jails > around, this is confirmed by MySQL working and doing enough I/O to stale = the > box from inside a jail that was later seen has moved. > b) The hard-reboot did not cause a problem, it revealed it. Since both fs= ck > run fine and the data were preserved we can pretty safely assumed that th= ere > was no data or system corruption caused by the hard reboot. > Correct. > Things to investigate : > - When was the last time this box was rebooted normally ? Did it went fin= e ? After I moved the jails to the right place I archived the jails with ezjail-admin and rebooted the server several times, and everything worked as expected. > Were the jails created at this time ? No. Most of these jails have been operational for over a year on this server without any incidents. > - What happens if you deactivate the jail that "survived" and reboot > normally, would the other jail contained in it start ? If you deactivate = the > jail but leave the nullfs mapping on and try to restart EZJail ? Do the > other jails start ? After moving the jails to the correct directory, and rebooting several times everything has worked as expected. There have been no incident reports on any of the 14 jails and most contain relatively complex systems, databases, etc. > - What is the content of the different fstab.* and of the EZJail conf ? D= oes > any of it points inside the jail that survived the reboot ? > Not that I know of but I can provide this information in a follow-up post. All the jails were created with ezjail-admin. I do use "flavours" quite extensively. > Unfortunately since the server was "corrected" and we probably won't have= a > satisfying answer. But honestly the probability of a system bug is really > low. Very likely the "moved" jails were inside the surviving jail from th= e > beginning, and a mix of nullfs remap and lack of reboot masked this fact = for > a while. > As I told you earlier, this server has been running for over a year and we have rebooted many times. If there are such problems they exist by using the EzJail commands and I find this unlikely. We've been using EzJail extensively and this is the first time we've had any problems. here is the fstab of the base system: # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1d /tmp ufs rw 2 2 /dev/ad4s1f /usr ufs rw 2 2 /dev/ad4s1e /var ufs rw 2 2 /dev/ad6s1.journal /usr/jails ufs rw,async 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 here is the mount output is that's of any help: /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s1d on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1e on /var (ufs, local, soft-updates) /dev/ad6s1.journal on /usr/jails (ufs, asynchronous, local, gjournal) /usr/jails/basejail on /usr/jails/yabarana-php53/basejail (nullfs, local, read-only) devfs on /usr/jails/yabarana-php53/dev (devfs, local, multilabel) fdescfs on /usr/jails/yabarana-php53/dev/fd (fdescfs) procfs on /usr/jails/yabarana-php53/proc (procfs, local) /usr/jails/basejail on /usr/jails/yabarana-php52/basejail (nullfs, local, read-only) devfs on /usr/jails/yabarana-php52/dev (devfs, local, multilabel) fdescfs on /usr/jails/yabarana-php52/dev/fd (fdescfs) procfs on /usr/jails/yabarana-php52/proc (procfs, local) /usr/jails/basejail on /usr/jails/yabarana-cat58/basejail (nullfs, local, read-only) devfs on /usr/jails/yabarana-cat58/dev (devfs, local, multilabel) fdescfs on /usr/jails/yabarana-cat58/dev/fd (fdescfs) procfs on /usr/jails/yabarana-cat58/proc (procfs, local) /usr/jails/basejail on /usr/jails/testbed/basejail (nullfs, local, read-onl= y) devfs on /usr/jails/testbed/dev (devfs, local, multilabel) fdescfs on /usr/jails/testbed/dev/fd (fdescfs) procfs on /usr/jails/testbed/proc (procfs, local) /usr/jails/basejail on /usr/jails/pyugmao/basejail (nullfs, local, read-onl= y) devfs on /usr/jails/pyugmao/dev (devfs, local, multilabel) fdescfs on /usr/jails/pyugmao/dev/fd (fdescfs) procfs on /usr/jails/pyugmao/proc (procfs, local) /usr/jails/basejail on /usr/jails/php53base/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/php53base/dev (devfs, local, multilabel) fdescfs on /usr/jails/php53base/dev/fd (fdescfs) procfs on /usr/jails/php53base/proc (procfs, local) /usr/jails/basejail on /usr/jails/php52base/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/php52base/dev (devfs, local, multilabel) fdescfs on /usr/jails/php52base/dev/fd (fdescfs) procfs on /usr/jails/php52base/proc (procfs, local) /usr/jails/basejail on /usr/jails/mcs-cat58/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/mcs-cat58/dev (devfs, local, multilabel) fdescfs on /usr/jails/mcs-cat58/dev/fd (fdescfs) procfs on /usr/jails/mcs-cat58/proc (procfs, local) /usr/jails/basejail on /usr/jails/http-proxy/basejail (nullfs, local, read-= only) devfs on /usr/jails/http-proxy/dev (devfs, local, multilabel) fdescfs on /usr/jails/http-proxy/dev/fd (fdescfs) procfs on /usr/jails/http-proxy/proc (procfs, local) /usr/jails/basejail on /usr/jails/corcaribe-php53/basejail (nullfs, local, read-only) devfs on /usr/jails/corcaribe-php53/dev (devfs, local, multilabel) fdescfs on /usr/jails/corcaribe-php53/dev/fd (fdescfs) procfs on /usr/jails/corcaribe-php53/proc (procfs, local) devfs on /usr/jails/cmm-php52-1/dev (devfs, local, multilabel) /usr/jails/basejail on /usr/jails/cm-website/basejail (nullfs, local, read-= only) devfs on /usr/jails/cm-website/dev (devfs, local, multilabel) fdescfs on /usr/jails/cm-website/dev/fd (fdescfs) procfs on /usr/jails/cm-website/proc (procfs, local) /usr/jails/basejail on /usr/jails/cm-idvida/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/cm-idvida/dev (devfs, local, multilabel) fdescfs on /usr/jails/cm-idvida/dev/fd (fdescfs) procfs on /usr/jails/cm-idvida/proc (procfs, local) /usr/jails/basejail on /usr/jails/cat58base/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/cat58base/dev (devfs, local, multilabel) fdescfs on /usr/jails/cat58base/dev/fd (fdescfs) procfs on /usr/jails/cat58base/proc (procfs, local) /usr/jails/basejail on /usr/jails/cmm-php52-1/basejail (nullfs, local, read-only) fdescfs on /usr/jails/cmm-php52-1/dev/fd (fdescfs) procfs on /usr/jails/cmm-php52-1/proc (procfs, local) From owner-freebsd-questions@FreeBSD.ORG Thu May 3 13:34:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 561F41065672 for ; Thu, 3 May 2012 13:34:36 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id E572B8FC17 for ; Thu, 3 May 2012 13:34:35 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q43DZUKx025041 for freebsd-questions@freebsd.org; Thu, 3 May 2012 08:35:30 -0500 (CDT) Date: Thu, 3 May 2012 08:35:30 -0500 (CDT) From: Robert Bonomi Message-Id: <201205031335.q43DZUKx025041@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 13:34:36 -0000 Alejandro Imass wrote: [ megasnip ] > > Things to investigate : > > - When was the last time this box was rebooted normally ? Did it went fine ? > > After I moved the jails to the right place I archived the jails with > ezjail-admin and rebooted the server several times, and everything > worked as expected. Rephrasing -- when was the last time _before_the_problem_was_discovered_ that the machine was re-booted? > > Were the jails created at this time ? > > No. Most of these jails have been operational for over a year on this > server without any incidents. Clarifying the question -- were the jails created at the time of the last _prior_ reboot? i.e., had the machine been re-booted successfully _after_ the jails were installed, or was this the _first_ such reboot? It appears you misunderstood the 'at this time' reference -- it did ot mean 'at the time of the incident', but 'at the time of the last prior reboot'. If English is not your primary language, it is an understandable misread. > As I told you earlier, this server has been running for over a year > and we have rebooted many times. I don't believe you ever mentioed that particular point (multiple successful reboots after istallation) before. Repeating a prior question, _how_long_ before the problem showed up was the most recent re-boot? (Doesn't have to be exact -- an 'order of magnitude' estimate [a day, a week, a month, several months] is sufficient.) > If there are such problems they exist > by using the EzJail commands and I find this unlikely. What you 'find unlikely' is irrelevant. The entire situation is 'unlikely', yet it happened. So one -has- to look at unlikely things. > here is the mount output is that's of any help: [ first disk, and 'fdescfs', and 'procfs' references removed, for clarity ] > /dev/ad6s1.journal on /usr/jails (ufs, asynchronous, local, gjournal) > /usr/jails/basejail on /usr/jails/yabarana-php53/basejail (nullfs, > local, read-only) > /usr/jails/basejail on /usr/jails/yabarana-php52/basejail (nullfs, > local, read-only) > /usr/jails/basejail on /usr/jails/yabarana-cat58/basejail (nullfs, > local, read-only) > /usr/jails/basejail on /usr/jails/testbed/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/pyugmao/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/php53base/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/php52base/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/mcs-cat58/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/http-proxy/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/corcaribe-php53/basejail (nullfs, > local, read-only) > /usr/jails/basejail on /usr/jails/cm-website/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/cm-idvida/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/cat58base/basejail (nullfs, local, read-only) > /usr/jails/basejail on /usr/jails/cmm-php52-1/basejail (nullfs, local, > read-only) Yes, that is a good start at useful detail. It is, presumably, _after_ the problem, and _after_ you had restored things to their proper places. Is it safe to assume that you do -not- have such a 'mount' output from some time 'before' the problem? ( There's no rational reason why you -would- have such, but _if_ it existed, and there were any differences between 'then' and 'now', it could be very informative.) Aother critical piece of information is what diretories -- by full path name -- disappeared from 'where they were', and where -- by full path name, again -- did you find them, and _with_what_names_? If everything was moved from the same source point to the same destination, it's not necessary to itemize each one, but the details of _one_ 'typicaal' migration is needed. It is also significant if there was 'anything else' in the 'where they belonged' directory that was -not- moved. *OR* if there was anything else (something other than the '/' of a jail) there, that was _also_ moved. "Narrative" descriptions, as previously provided, and while clear to someone familiar with the machcine in question, are not sufficiently precise to allow an 'outsider' to follow the events without 'logically' replicating the setup, and then guessing at the meaning of any shorthands employed. One comment: for 'defensive' purposes it would be useful to break ad6 up into two slices, putting 'basejail' in it's own slice. Then, for production use, that slice can be mounted RO, and with the 'system immutable' flag set on everything in that filesystem. From owner-freebsd-questions@FreeBSD.ORG Thu May 3 14:43:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D90A0106566B for ; Thu, 3 May 2012 14:43:43 +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 72BD88FC18 for ; Thu, 3 May 2012 14:43:43 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q43EhYke012022; Thu, 3 May 2012 08:43:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q43EhYWP012019; Thu, 3 May 2012 08:43:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 3 May 2012 08:43:34 -0600 (MDT) From: Warren Block To: Albert Shih In-Reply-To: <20120503073311.GB4481@pcjas.obspm.fr> Message-ID: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <20120503073311.GB4481@pcjas.obspm.fr> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-327946576-1336052455=:11722" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Thu, 03 May 2012 08:43:34 -0600 (MDT) Cc: Jerome Herman , freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 14:43:43 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-327946576-1336052455=:11722 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Thu, 3 May 2012, Albert Shih wrote: > Le 02/05/2012 ? 10:27:56-0600, Warren Block a crit >> On Wed, 2 May 2012, Albert Shih wrote: >> >>> I think the problem is indeed comme from Xorg. >> >> Just to repeat: on this Gateway notebook, only one or the other of the >> touchpad or mouse would work until I enabled moused in /etc/rc.conf. >> Now either or both work, including when the USB mouse is connected after >> X starts. > > Sorry. > > I forget to thanks you the first time you answer me. > > But just after you send the message, I already try that, without any > result. Different hardware, possibly. For completeness, this machine has dbus running, hal is not installed, moused_enable="YES" is in /etc/rc.conf, and it requires a restart. Probably the touchpad on this system is USB internally, and a normal moused can't be started after devd starts a "nondefault" moused. xorg.conf has no InputDevice entries at all. The scroll wheel and middle click buttons work. ---902635197-327946576-1336052455=:11722-- From owner-freebsd-questions@FreeBSD.ORG Thu May 3 15:49:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA9C01065674 for ; Thu, 3 May 2012 15:49:43 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by mx1.freebsd.org (Postfix) with ESMTP id 4AC988FC25 for ; Thu, 3 May 2012 15:49:43 +0000 (UTC) Received: from eastrmimpo110.cox.net ([68.230.241.223]) by eastrmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120503154942.FLOJ18532.eastrmfepo203.cox.net@eastrmimpo110.cox.net>; Thu, 3 May 2012 11:49:42 -0400 Received: from serene.no-ip.org ([98.164.83.188]) by eastrmimpo110.cox.net with bizsmtp id 5Tph1j00U43nm9e02TpitT; Thu, 03 May 2012 11:49:42 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020201.4FA2A916.0067,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=CYya90xMJmhdzLh3tvutbK6t+plSfedX6DdwjXLSCKc= c=1 sm=1 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=F4D4Y6gUi4XSUMrqnG4xkg==:17 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=kviXuzpPAAAA:8 a=g5hizhSunwPR4eUnJ9MA:9 a=nMi2uESKdVDX4_p_VXMA:7 a=CjuIK1q_8ugA:10 a=jjUqNiGvsI0A:10 a=MSl-tDqOz04A:10 a=4vB-4DCPJfMA:10 a=F4D4Y6gUi4XSUMrqnG4xkg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q43Fnf8Z045521; Thu, 3 May 2012 10:49:41 -0500 (CDT) (envelope-from conrads@cox.net) Date: Thu, 3 May 2012 10:49:36 -0500 From: "Conrad J. Sabatier" To: Walter Hurry Message-ID: <20120503104936.56f396da@cox.net> In-Reply-To: References: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Unresolvable links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 15:49:43 -0000 On Fri, 27 Apr 2012 21:59:08 +0000 (UTC) Walter Hurry wrote: > Arising from a very useful link posted by Warren Block in another > thread: > > http://forums.freebsd.org/showpost.php?p=163415&postcount=17 , > > I have been running libchk. It now gives the following (relevant) > output: > > Unresolvable link(s) found in: /usr/local/lib/libreoffice/program/ > configmgr.uno.so > > libxmlreader.so > > Unresolvable link(s) found > in: /usr/local/lib/firefox/sdk/lib/libxul.so > > libmozsqlite3.so > > Unresolvable link(s) found in: /usr/local/lib/firefox/components/ > libmozgnome.so > > libmozalloc.so > > libxpcom.so > > Unresolvable link(s) found in: /usr/local/lib/firefox/components/ > libdbusservice.so > > libmozalloc.so > > libxpcom.so > > Unresolvable link(s) found in: /usr/local/lib/firefox/components/ > libbrowsercomps.so > > libmozalloc.so > > libxul.so > > libxpcom.so > > All these shared object files are present in one lib or another, so > my suspicion is that somehow the 'parent' shared objects are looking > for them in the wrong place. > > Any ideas on fixing this please? Unresolved symbol warning are normal for the mozilla stuff, since they use their own non-standard library paths. Just disregard them. -- Conrad J. Sabatier conrads@cox.net From owner-freebsd-questions@FreeBSD.ORG Thu May 3 16:06:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE6A61065674 for ; Thu, 3 May 2012 16:06:18 +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 A5F7B8FC1D for ; Thu, 3 May 2012 16:06:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SPyXh-00070D-RT for freebsd-questions@freebsd.org; Thu, 03 May 2012 18:06:10 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 18:06:09 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 18:06:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Thu, 3 May 2012 16:05:58 +0000 (UTC) Lines: 23 Message-ID: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9F1551.5040003@dichotomia.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 16:06:19 -0000 Alejandro Imass p2ee.org> writes: > ... > devfs on /usr/jails/cmm-php52-1/dev (devfs, local, multilabel) > ... > /usr/jails/basejail on /usr/jails/cmm-php52-1/basejail (nullfs, local, > read-only) > fdescfs on /usr/jails/cmm-php52-1/dev/fd (fdescfs) > procfs on /usr/jails/cmm-php52-1/proc (procfs, local) There is one thing that looks like an anomaly. For each jail, should the master template basejail be mounted into it first, followed by /dev and anything else in there ? /usr/jails/basejail on /usr/jails/cmm-php52-1/basejail (nullfs, local, read-only) devfs on /usr/jails/cmm-php52-1/dev (devfs, local, multilabel) fdescfs on /usr/jails/cmm-php52-1/dev/fd (fdescfs) procfs on /usr/jails/cmm-php52-1/proc (procfs, local) Does it matter ? jb From owner-freebsd-questions@FreeBSD.ORG Thu May 3 16:18:05 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8FF381065860 for ; Thu, 3 May 2012 16:18:05 +0000 (UTC) (envelope-from nec556@retena.com) Received: from resmaa12.ono.com (smtp12.ono.com [62.42.230.20]) by mx1.freebsd.org (Postfix) with ESMTP id 4B7C78FC0C for ; Thu, 3 May 2012 16:18:05 +0000 (UTC) Received: from GogPortatil.retena.com (85.219.45.167) by resmaa12.ono.com (8.5.113) (authenticated as nec556@retena.com) id 4EFDA3B501FEACC5; Thu, 3 May 2012 18:12:01 +0200 Message-ID: <4EFDA3B501FEACC5@> (added by postmaster@resmaa12.ono.com) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 03 May 2012 18:13:47 +0200 To: Warren Block From: Eduardo Morras In-Reply-To: References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <20120503073311.GB4481@pcjas.obspm.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Antivirus: AVG for E-mail 2012.0.1913 [2425/4975] Cc: freebsd-questions@FreeBSD.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 16:18:05 -0000 Can you disable the touchpad? In my laptop (Asus K5) if i press Fn+F9 the touchpad is disabled via ACPI and not detected by HAL nor Xorg. From owner-freebsd-questions@FreeBSD.ORG Thu May 3 16:45:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C07B3106566C for ; Thu, 3 May 2012 16:45:25 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6A98FC14 for ; Thu, 3 May 2012 16:45:25 +0000 (UTC) Received: by yhgm50 with SMTP id m50so1928710yhg.13 for ; Thu, 03 May 2012 09:45:18 -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=8Wu+tDcvDChHIvYN1pXxYCIpGhW9X1H7RlYHBsh4EPE=; b=GMOLoxsP4UJ6z99V/nMZJAE8CF7y+RHJTYqeEQg0pr2G3V5t4q57asdjw7dRtMT+2Q DDRfLbvt1pwLgO6S9aV/Erj7/ZPUrqMSFSaDTrX9vaGq/NM8PpGzNDI5RJbjbXHLRSaw P02uqzgPDqtfswx6Q7I2Qn3oWXMa4VJoobHq92Q0OaePfVMPwf0gK95JmrNB/dzUqTw/ sWzMpN64V7ei2eUjCPfCHAZiMn9q0mHHHMJ0t01JAwy31ugAezBykDus6EUuE/7XpvK1 C0o6A7tSUEQsWxfxsn/o5H7CWFD7Uy3HFKojfafqRkr1pToIIOY6aVsjdPFTpcoAnlSt Zxag== MIME-Version: 1.0 Received: by 10.50.216.232 with SMTP id ot8mr1284434igc.22.1336063518465; Thu, 03 May 2012 09:45:18 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.48.210 with HTTP; Thu, 3 May 2012 09:45:18 -0700 (PDT) Date: Thu, 3 May 2012 09:45:18 -0700 X-Google-Sender-Auth: jgHT0Y-9mdaEkrfeUM6yAHOi004 Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 16:45:25 -0000 On Tue, May 1, 2012 at 8:31 AM, Chris Maness wrote: > How do add a static route to rc.conf? > > Thanks, > Chris Maness http://www.freebsd.org/doc/handbook/network-routing.html see section 32.2.5.2 Persistent Configuration -- Noel Jones > I added: # Add Internal Net 2 as a static route static_routes="internalnet2" route_internalnet2="-net 44.18.44.0/24 192.168.1.33" to rc.conf per the section above. I rebooted and it was a no go. Did I miss something? Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:04:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEFD4106566B for ; Thu, 3 May 2012 17:04:56 +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 7E95B8FC0A for ; Thu, 3 May 2012 17:04:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id E3CFB5E42D for ; Thu, 3 May 2012 19:03:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.651 X-Spam-Level: X-Spam-Status: No, score=-1.651 tagged_above=-999 required=5 tests=[AWL=-0.653, 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 BVXvvg840Yyu for ; Thu, 3 May 2012 19:03:53 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-041-102.ekt.thalamus.net [195.216.41.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.bjare.net (Postfix) with ESMTPS id E4D7D5E434 for ; Thu, 3 May 2012 19:03:52 +0200 (CEST) Message-ID: <4FA2BAB3.4080007@eskk.nu> Date: Thu, 03 May 2012 19:04:51 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:04:56 -0000 The following message appears when I do freebsd-update install The following files will be added as part of updating to 8.2-RELEASE-p7: /usr/src/lib/libc/gen/libc_dlopen.c The following files will be updated as part of updating to 8.2-RELEASE-p7: /boot/kernel/kernel /lib/libcrypto.so.6 /usr/bin/openssl /usr/include/openssl/ssl.h /usr/include/openssl/ssl3.h /usr/lib/libcrypto.a /usr/lib/libssl.a /usr/lib/libssl.so.6 /usr/lib32/libcrypto.a /usr/lib32/libcrypto.so.6 /usr/lib32/libcrypto_p.a /usr/lib32/libssl.a /usr/lib32/libssl.so.6 /usr/lib32/libssl_p.a /usr/src/sys/conf/newvers.sh /var/db/mergemaster.mtree WARNING: FreeBSD 8.2-RELEASE-p6 is approaching its End-of-Life date. It is strongly recommended that you upgrade to a newer release within the next 2 months. root@bljbsd01~:freebsd-update install Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No such file or directory done. Should I worry about the libc_dlopen.c, or is it ok? Thanks /Leslie From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:14:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B09DA106566B for ; Thu, 3 May 2012 17:14:53 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6589B8FC1B for ; Thu, 3 May 2012 17:14:53 +0000 (UTC) Received: by yenl9 with SMTP id l9so2554473yen.13 for ; Thu, 03 May 2012 10:14:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=oTDEYMiATar92D0qrR0tiAkGvatSJdIptPtpea/dx3o=; b=eBbqoRFkf6Ad7PAW2N12DUthUsFmN0EZMcynlVvjGxFBkAKGOr+oJH30HPgFSokWL5 zm8YfoaaJQjSvvmtN1ShLvQ+8pTadUGV5w0ugWFCxB6FZM5ytYwSwz/QSgMxS7sggtJD Hij5tsNsSmTVOzUuOo78ojf3Hx5hOAKVtIg7gvu7PpKPgvaDN45rsj87BLeizvmZZkDI a1JBb4JWtMhgeQuBW1aZeNEj0r3xlOm0lLXoztGzhixIe6ut60m8F6Gzp2uvapd44F2o lC8LaH09ZV9o2V3XtaVsXsn/B0+l92fn36x+T3yliEzwHAmZpv95QpdJZGpcY6YhNQnB QicQ== MIME-Version: 1.0 Received: by 10.50.149.170 with SMTP id ub10mr1192585igb.43.1336065292669; Thu, 03 May 2012 10:14:52 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Thu, 3 May 2012 10:14:52 -0700 (PDT) In-Reply-To: <201205031335.q43DZUKx025041@mail.r-bonomi.com> References: <201205031335.q43DZUKx025041@mail.r-bonomi.com> Date: Thu, 3 May 2012 13:14:52 -0400 X-Google-Sender-Auth: rIOMYzopy9ni3P22_mEwganWArg Message-ID: From: Alejandro Imass To: Robert Bonomi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQm/wbDhi+cZHRHpB4X7yj40yGXrUA2M4eVl7MFgGr2QQwYoTMgthoLScMJVScwIp6KA3Tnl Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:14:53 -0000 On Thu, May 3, 2012 at 9:35 AM, Robert Bonomi wr= ote: > > Alejandro Imass wrote: > > [ megasnip ] > >> > Things to investigate : >> > - When was the last time this box was rebooted normally ? Did it went = fine ? >> >> After I moved the jails to the right place I archived the jails with >> ezjail-admin and rebooted the server several times, and everything >> worked as expected. > > Rephrasing -- when was the last time _before_the_problem_was_discovered_ > that the machine was re-booted? > The jails moved Friday 27th so the last reboot before that was Apr 4 and before Feb 29 Feb 29 10:18:46 nune reboot: rebooted by aimass Apr 4 19:45:03 nune reboot: rebooted by aimass Apr 27 19:47:06 nune reboot: rebooted by aimass Apr 28 02:03:57 nune reboot: rebooted by aimass >> > Were the jails created at this time ? >> >> No. Most of these jails have been operational for over a year on this >> server without any incidents. > > Clarifying the question -- were the jails created at the time of the last > _prior_ reboot? =A0i.e., had the machine been re-booted successfully _aft= er_ > the jails were installed, or was this the _first_ such reboot? > No not at all. Most of these jails were created last year, but here is the detail. cmm_php52_1 is the problematic jail with the MySQL, you will see a recent date in the config file because I recently added some cpuset as a band-aid to limit the jail's ability to bring down the whole system, leaving at least a couple of CPUs free to be able to ssh and shut it down. There is however a new jail corcaribe_php53 and was the reason we rebboted the server on Apr 4th, just to make sure that eveything would boot OK after reboot. -rw-r--r-- 1 root wheel 917 Feb 16 2011 cat58base -rw-r--r-- 1 root wheel 917 Apr 29 2011 cm_idvida -rw-r--r-- 1 root wheel 937 Apr 3 2011 cm_website -rw-r--r-- 1 root wheel 960 May 2 09:48 cmm_php52_1 -rw-r--r-- 1 root wheel 1037 Apr 4 20:00 corcaribe_php53 -rw-r--r-- 1 root wheel 950 Feb 16 2011 http_proxy -rw-r--r-- 1 root wheel 917 Aug 3 2011 mcs_cat58 -rw-r--r-- 1 root wheel 917 Feb 10 2011 php52base -rw-r--r-- 1 root wheel 917 Feb 12 2011 php53base -rw-r--r-- 1 root wheel 877 Dec 27 20:33 pyugmao -rw-r--r-- 1 root wheel 877 Mar 21 22:03 testbed -rw-r--r-- 1 root wheel 1017 May 13 2011 yabarana_cat58 -rw-r--r-- 1 root wheel 1017 Feb 13 2011 yabarana_php52 -rw-r--r-- 1 root wheel 1017 Feb 13 2011 yabarana_php53 > It appears you misunderstood the 'at this time' reference -- it did ot > mean 'at the time of the incident', but =A0'at the time of the last prior > reboot'. =A0If English is not your primary language, it is an understanda= ble > misread. > >> As I told you earlier, this server has been running for over a year >> and we have rebooted many times. > > I don't believe you ever mentioed that particular point (multiple > successful reboots after istallation) before. =A0Repeating a prior > question, _how_long_ before the problem showed up was the most recent > re-boot? =A0(Doesn't have to be exact -- an 'order of magnitude' estimate > [a day, a week, a month, several months] is sufficient.) > Apr 4th >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0If th= ere are such problems they exist >> by using the EzJail commands and I find this unlikely. > > What you 'find unlikely' is irrelevant. =A0The entire situation is 'unlik= ely', > yet it happened. =A0So one -has- to look at unlikely things. =A0 > funny >> here is the mount output is that's of any help: > > [ first disk, and 'fdescfs', and 'procfs' references removed, for clarity= ] > >> /dev/ad6s1.journal on /usr/jails (ufs, asynchronous, local, gjournal) >> /usr/jails/basejail on /usr/jails/yabarana-php53/basejail (nullfs, [...] > > Yes, that is a good start at useful detail. =A0It is, presumably, _after_ > the problem, and _after_ you had restored things to their proper places. > Yes. > Is it safe to =A0assume that you do -not- have such a 'mount' output from > some time 'before' the problem? =A0( There's no rational reason why you > -would- have such, but _if_ it existed, and there were any differences > between 'then' and 'now', it could be very informative.) > No, but from what I remember it's mostly very similar. I can pull off similar mount statement from other server(s) where we run similar set-ups and that have never failed if needed. > Aother critical piece of information is what diretories -- by full path > name -- disappeared from 'where they were', and where -- by full path nam= e, > again -- did you find them, and _with_what_names_? =A0 If everything was > moved from the same source point to the same destination, it's not necess= ary > to itemize each one, but the details of _one_ 'typicaal' migration is nee= ded. > It is also significant if there was 'anything else' in the 'where they > belonged' directory that was -not- moved. =A0*OR* if there was anything e= lse > (something other than the '/' of a jail) there, that was _also_ moved. > I took a screen shot because I somehow suspected no one would believe me, I don't know if I can attach it here but I can send it to you privately if not. > "Narrative" descriptions, as previously provided, and while clear to some= one > familiar with the machcine in question, are not sufficiently precise to a= llow > an 'outsider' to follow the events without 'logically' replicating the se= tup, > and then guessing at the meaning of any shorthands employed. > OK. I can provide mostly any information required. > > > One comment: for 'defensive' purposes it would be useful to break ad6 up > into two slices, putting 'basejail' in it's own slice. =A0Then, for produ= ction > use, that slice can be mounted RO, and with the 'system immutable' flag > set on everything in that filesystem. > Yes. From one of your posts that became somewhat clear to me: Having all the jails on a single 150GB slice seems like a bad idea. Thanks! Let me know if I can provide anything else to help determine the root cause. --=20 Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:17:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EE501065670 for ; Thu, 3 May 2012 17:17:03 +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 E95CD8FC0C for ; Thu, 3 May 2012 17:17:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 2586F5E428 for ; Thu, 3 May 2012 19:16:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.651 X-Spam-Level: X-Spam-Status: No, score=-1.651 tagged_above=-999 required=5 tests=[AWL=-0.653, 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 z91t2i7bi8r6 for ; Thu, 3 May 2012 19:16:06 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-041-102.ekt.thalamus.net [195.216.41.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.bjare.net (Postfix) with ESMTPS id BF4C35E415 for ; Thu, 3 May 2012 19:16:06 +0200 (CEST) Message-ID: <4FA2BD91.2070402@eskk.nu> Date: Thu, 03 May 2012 19:17:05 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FA2BAB3.4080007@eskk.nu> In-Reply-To: <4FA2BAB3.4080007@eskk.nu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Follow up....Re: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:17:03 -0000 2012-05-03 19:04, Leslie Jensen skrev: > > The following message appears when I do > > freebsd-update install > > > The following files will be added as part of updating to 8.2-RELEASE-p7: > /usr/src/lib/libc/gen/libc_dlopen.c > > The following files will be updated as part of updating to 8.2-RELEASE-p7: > /boot/kernel/kernel > /lib/libcrypto.so.6 > /usr/bin/openssl > /usr/include/openssl/ssl.h > /usr/include/openssl/ssl3.h > /usr/lib/libcrypto.a > /usr/lib/libssl.a > /usr/lib/libssl.so.6 > /usr/lib32/libcrypto.a > /usr/lib32/libcrypto.so.6 > /usr/lib32/libcrypto_p.a > /usr/lib32/libssl.a > /usr/lib32/libssl.so.6 > /usr/lib32/libssl_p.a > /usr/src/sys/conf/newvers.sh > /var/db/mergemaster.mtree > > WARNING: FreeBSD 8.2-RELEASE-p6 is approaching its End-of-Life date. > It is strongly recommended that you upgrade to a newer > release within the next 2 months. > > root@bljbsd01~:freebsd-update install > Installing updates...install: ///usr/src/lib/libc/gen/libc_dlopen.c: No > such file or directory > done. > > > > Should I worry about the libc_dlopen.c, or is it ok? > > > Thanks > > /Leslie > > > _______________________________________________ > 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" After a reboot my system now has the following label FreeBSD 8.2-RELEASE-p3 #0 How come it downgrades the label from p6 to p3 when upgrading to p7. I'm aware that I can rebuild the kernel but I just wanted to know. /Leslie From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:27:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A6B1106567C for ; Thu, 3 May 2012 17:27:03 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD48A8FC14 for ; Thu, 3 May 2012 17:27:02 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so3019580pbb.13 for ; Thu, 03 May 2012 10:27:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=FymCHaz6ocUjhbh+xDTgr83iBmGdRZYubE0A1NHk4B0=; b=XSPgKRnar0UhwcC/paM48B9ayXw7clfl0g6FcaMgSk3UNgSbiiFkcx7LSvMQt3w9WI A4oeLzrUFIwgD1zyS+axC60D7hHR/t9/YL5Fh48d+5xGUksAwbSjbyFz3PmuO7msXTbr tr/3/wctfuIBtc52HtQzo7r+iPy/X3Q7K8kK9S2teclJc1i5H/vqtxKt0nUBmg+kZIbg xs3oeCygVaXOJbxkfs4n+jUClTih9FcVz9MAW///dkZzqodD36kvIOOV4Uelutt7+nrB AsbcIC442YdbAQFuruR3zlvvd+ZxOymHkuzvmU0TmNXg1xIVg9SonYxGTpPISnfXgIai IgiA== MIME-Version: 1.0 Received: by 10.50.197.233 with SMTP id ix9mr1205660igc.26.1336065627268; Thu, 03 May 2012 10:20:27 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Thu, 3 May 2012 10:20:27 -0700 (PDT) In-Reply-To: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9F1551.5040003@dichotomia.fr> Date: Thu, 3 May 2012 13:20:27 -0400 X-Google-Sender-Auth: AQxvA0ABu0tz3_-6aGyqPIZftEI Message-ID: From: Alejandro Imass To: jb Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlf4j7dFXAog9kxYLj7AbFXNzOlNcBF2CDwhm1YYkc5+Or6XQSdIOIaMwcZOJSDSI6Sfr0I Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:27:03 -0000 On Thu, May 3, 2012 at 12:05 PM, jb wrote: > Alejandro Imass p2ee.org> writes: > >> ... >> devfs on /usr/jails/cmm-php52-1/dev (devfs, local, multilabel) >> ... >> /usr/jails/basejail on /usr/jails/cmm-php52-1/basejail (nullfs, local, >> read-only) >> fdescfs on /usr/jails/cmm-php52-1/dev/fd (fdescfs) >> procfs on /usr/jails/cmm-php52-1/proc (procfs, local) > > There is one thing that looks like an anomaly. > For each jail, should the master template basejail be mounted into it first, > followed by /dev and anything else in there ? > > /usr/jails/basejail on /usr/jails/cmm-php52-1/basejail (nullfs, local, > read-only) > devfs on /usr/jails/cmm-php52-1/dev (devfs, local, multilabel) > fdescfs on /usr/jails/cmm-php52-1/dev/fd (fdescfs) > procfs on /usr/jails/cmm-php52-1/proc (procfs, local) > > Does it matter ? I have no idea, but cmm-php52-1 is in fact the problematic jail with the MySQL problem. From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:41:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F33B0106566B for ; Thu, 3 May 2012 17:41: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 A86D18FC0A for ; Thu, 3 May 2012 17:41:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SQ01S-00078c-Gs for freebsd-questions@freebsd.org; Thu, 03 May 2012 19:40:58 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 19:40:58 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 19:40:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Thu, 3 May 2012 17:40:45 +0000 (UTC) Lines: 18 Message-ID: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9F1551.5040003@dichotomia.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:41:04 -0000 Alejandro Imass p2ee.org> writes: > ... > I have no idea, but cmm-php52-1 is in fact the problematic jail with > the MySQL problem. Could you please include displays of 1. your troubled machine's $ cat /etc/fstab Note: you already showed us 'mount' output. 2. your other trouble-free server's $ cat /etc/fstab $ mount jb From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:41:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82593106564A for ; Thu, 3 May 2012 17:41:34 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 388CA8FC12 for ; Thu, 3 May 2012 17:41:34 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2009210yhg.13 for ; Thu, 03 May 2012 10:41:33 -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:x-enigmail-version:content-type :content-transfer-encoding; bh=mbMeYftluym/PujiMxgeHUrN2Ap2osoJo6NbygTQYpA=; b=0zZAsWkRLL67RggXq1f3O3Ff46Hccz3OdcM8TTIsMqgOa0csr9EKoIn+QrFdPNWMhb TKGJ+uIbh1EnB7JDkjq5tDOkGnhkagrabdfu6pEZxhBNCJtn89w1E7lBHuGrJELmE3Fy UyuWwiYb5hGDHNvKFkDFEiOp3g4XgtBO7TrFu+LI86+HcbTC3vTLIE0eP6jbYTPRJb/X mcQ6Nvf2Vo3oH2+CyZFrCM8RtUiKihDbpS3YimA9tqxfHE4l+/ZSTclDpQ65orX4jkxA zp7/8gKncNJr8D7Vx6lnaG565Cub5ELmTx0zYIxp5rjbTNLm/5GLDE/itRanIGYMAw22 3PpA== Received: by 10.236.9.35 with SMTP id 23mr4052659yhs.41.1336066499407; Thu, 03 May 2012 10:34:59 -0700 (PDT) Received: from [192.168.70.186] ([12.107.221.2]) by mx.google.com with ESMTPS id q44sm26171251yhg.3.2012.05.03.10.34.58 (version=SSLv3 cipher=OTHER); Thu, 03 May 2012 10:34:58 -0700 (PDT) Message-ID: <4FA2C1C2.9000905@gmail.com> Date: Thu, 03 May 2012 12:34:58 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:41:34 -0000 On 5/3/2012 11:45 AM, Chris Maness wrote: > On Tue, May 1, 2012 at 8:31 AM, Chris Maness wrote: >> How do add a static route to rc.conf? >> >> Thanks, >> Chris Maness > > http://www.freebsd.org/doc/handbook/network-routing.html > > see section 32.2.5.2 Persistent Configuration > > -- Noel Jones > I added: > > # Add Internal Net 2 as a static route > static_routes="internalnet2" > route_internalnet2="-net 44.18.44.0/24 192.168.1.33" > > to rc.conf per the section above. I rebooted and it was a no go. Did > I miss something? Looks OK, and works for me. Wild guess is you need to enable netwait in rc.conf http://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5 (near the bottom) -- Noel Jones From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:49:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 819DD106566C for ; Thu, 3 May 2012 17:49:15 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 33DEB8FC12 for ; Thu, 3 May 2012 17:49:15 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2020217yhg.13 for ; Thu, 03 May 2012 10:49:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=K3A7DqoMt58RVmxwSvf1Q2Mbrzfk83Zl1S71k5U30zY=; b=DatxVicja25rlk+wB/rQGfCTqNg9VZsn+HdmUMoNYe7RaJh++drYIRPwornZZbXGYW jD6QVw2VFg1L9Wod4K/Arx4MvAoVkwHnxzFRsRS8KaVT+KVBUENG5LacQdLFZjaZEdIl 5LVhpTPSl4VZ9L47SvgFPdHy1eD3kdqDpdQYQONoarUh+NbW2ER1y85t1CalIiXOJsp3 6qtfZ3XBr2DrbdmriL2i7mwxuxVXOAcfY4An3Y+hT+BmD2ntif3ugMwNVVqanaCj5jHz DA7FjWuTTm909m+UKcGLmyqvsXLbXPOwGl37LPZ1tAbwcWTnQPaXSON8LH9T3/cZBWcr xjEQ== MIME-Version: 1.0 Received: by 10.50.197.233 with SMTP id ix9mr1255614igc.26.1336067354290; Thu, 03 May 2012 10:49:14 -0700 (PDT) Sender: aimass@yabarana.com Received: by 10.231.74.138 with HTTP; Thu, 3 May 2012 10:49:14 -0700 (PDT) In-Reply-To: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9F1551.5040003@dichotomia.fr> Date: Thu, 3 May 2012 13:49:14 -0400 X-Google-Sender-Auth: OO21Qfb4WUXuBlyJk4XQuTzFd94 Message-ID: From: Alejandro Imass To: jb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQlqT7mq1jIf3ux9Fwt4TklqDA2Figjf26iDlLfQkAxPFYDLnjbOF/Qiq+4Nrfh2P0rI10x+ Cc: freebsd-questions@freebsd.org Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:49:15 -0000 On Thu, May 3, 2012 at 1:40 PM, jb wrote: > Alejandro Imass p2ee.org> writes: > >> ... >> I have no idea, but cmm-php52-1 is in fact the problematic jail with >> the MySQL problem. > > Could you please include displays of > 1. your troubled machine's > =A0 $ cat /etc/fstab > =A0 Note: you already showed us 'mount' output. > 2. your other trouble-free server's > =A0 $ cat /etc/fstab > =A0 $ mount > The fstab was in a previous mail but here it is again... >From the troubled server: # Device Mountpoint FStype Options Dump Pass# /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1d /tmp ufs rw 2 2 /dev/ad4s1f /usr ufs rw 2 2 /dev/ad4s1e /var ufs rw 2 2 /dev/ad6s1.journal /usr/jails ufs rw,async 2 2 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 >From a good server (single disk machine): /dev/ad4s1b none swap sw 0 0 /dev/ad4s1a / ufs rw 1 1 /dev/ad4s1d /tmp ufs rw 2 2 /dev/ad4s1f.journal /usr ufs rw,async 2 2 /dev/ad4s1e /var ufs rw 2 2 /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/ad4s1d on /tmp (ufs, local, soft-updates) /dev/ad4s1f.journal on /usr (ufs, asynchronous, local, gjournal) /dev/ad4s1e on /var (ufs, local, soft-updates) /usr/jails/basejail on /usr/jails/httpProxy/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/httpProxy/dev (devfs, local, multilabel) fdescfs on /usr/jails/httpProxy/dev/fd (fdescfs) procfs on /usr/jails/httpProxy/proc (procfs, local) /usr/jails/basejail on /usr/jails/cat58base/basejail (nullfs, local, read-o= nly) devfs on /usr/jails/cat58base/dev (devfs, local, multilabel) fdescfs on /usr/jails/cat58base/dev/fd (fdescfs) procfs on /usr/jails/cat58base/proc (procfs, local) /usr/jails/basejail on /usr/jails/watwkyTesting/basejail (nullfs, local, read-only) devfs on /usr/jails/watwkyTesting/dev (devfs, local, multilabel) fdescfs on /usr/jails/watwkyTesting/dev/fd (fdescfs) procfs on /usr/jails/watwkyTesting/proc (procfs, local) /usr/jails/basejail on /usr/jails/mta1/basejail (nullfs, local, read-only) devfs on /usr/jails/mta1/dev (devfs, local, multilabel) fdescfs on /usr/jails/mta1/dev/fd (fdescfs) procfs on /usr/jails/mta1/proc (procfs, local) /usr/jails/basejail on /usr/jails/migdev/basejail (nullfs, local, read-only= ) devfs on /usr/jails/migdev/dev (devfs, local, multilabel) fdescfs on /usr/jails/migdev/dev/fd (fdescfs) procfs on /usr/jails/migdev/proc (procfs, local) > jb > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Thu May 3 17:50:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 460CA1065672 for ; Thu, 3 May 2012 17:50:32 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-pz0-f49.google.com (mail-pz0-f49.google.com [209.85.210.49]) by mx1.freebsd.org (Postfix) with ESMTP id 149938FC17 for ; Thu, 3 May 2012 17:50:32 +0000 (UTC) Received: by dadm1 with SMTP id m1so2109015dad.8 for ; Thu, 03 May 2012 10:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/P/XP08ex161Thv3yxdh4Riq/9MYb/dXDtjJQ9mrKBk=; b=SIrmo486PoWnWHHyz82n5J1HqBXVo4S/EOhRmv+x4VvH+F/DbTsP78S9dVp4O0DYml Wo4eIGBfwhg46LMBN5hTH/9PlrpB2wTyHuy+4/ov19yQ70fUIgKFKOahSiykfu1znkhz CpHzHSvA3q425YRBwl2YfO03kpOI/ADMz5tsOeiDtvGvosVM0UgmnHe6dqY3gsurYTl5 f5AD50m9MukHxUeE8WFpkchph9l70FPE8IPXWTzd71Dp2BMYKbJ9dokCtHngQakcQDpB 6YP3vKkg1FEZFRzRQEUwOXTE0N2nIdxYpd/C5ylofdwDKHe8eeKeSvY455aINiWXSdfL 09Iw== MIME-Version: 1.0 Received: by 10.50.45.167 with SMTP id o7mr1418586igm.22.1336067431335; Thu, 03 May 2012 10:50:31 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.48.210 with HTTP; Thu, 3 May 2012 10:50:31 -0700 (PDT) In-Reply-To: <4FA2C1C2.9000905@gmail.com> References: <4FA2C1C2.9000905@gmail.com> Date: Thu, 3 May 2012 10:50:31 -0700 X-Google-Sender-Auth: -0kyNjtqSOl4naCXgknaeRtibNk Message-ID: From: Chris Maness To: Noel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 17:50:32 -0000 >> >> # Add Internal Net 2 as a static route >> static_routes=3D"internalnet2" >> route_internalnet2=3D"-net 44.18.44.0/24 192.168.1.33" >> >> to rc.conf per the section above. =A0I rebooted and it was a no go. =A0D= id >> I miss something? > > Looks OK, and works for me. =A0Wild guess is you need to enable > netwait in rc.conf > http://www.freebsd.org/cgi/man.cgi?query=3Drc.conf&sektion=3D5 > (near the bottom) > > > =A0-- Noel Jones I will check that option out. I don't reboot that often, but when I do, I always forget to go back in and add my static routes. Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Thu May 3 18:27:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5586F106566B for ; Thu, 3 May 2012 18:27:22 +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 090D88FC0C for ; Thu, 3 May 2012 18:27:21 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SQ0kG-0002tv-Vj for freebsd-questions@freebsd.org; Thu, 03 May 2012 20:27:16 +0200 Received: from np-19-75.prenet.pl ([np-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 20:27:16 +0200 Received: from jb.1234abcd by np-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2012 20:27:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Date: Thu, 3 May 2012 18:27:05 +0000 (UTC) Lines: 42 Message-ID: References: <201204301136.q3UBa8fj083478@mail.r-bonomi.com> <4F9F1551.5040003@dichotomia.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.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; FreeBSD i386; rv:10.0.2) Gecko/20100101 Firefox/10.0.2) Subject: Re: UFS Crash and directories now missing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 18:27:22 -0000 Alejandro Imass p2ee.org> writes: > ... OK. There is this anomaly in your troubled jail. Because I have not been familiar with ezjail so I am learning it now as we go. I will suggest to you some steps by intuition, and you have to judge for both of us how to do it and what's appropriate. Feel free to give feedback anytime. I understand that this troubled jail can be stopped any time without any problems to your clients. Just in case do a backup of it with ezjail admin entry. Use ezjail admin entries by the way (no 'mv', 'cp', etc). I look at an ezjail tutorial right now and see the following: ezjail Default File Locations /usr/jails/ : Default location to store base jail system template. /usr/jails/flavours/ : Customization for each jail can be done via flavours. For e.g. adding default /etc/resolv.conf file or updating existing /etc/make.conf can be done here. /usr/jails/basejail/ : Base jail will be exported and mounted as read only for each jail. This will save disk space. /usr/local/etc/rc.d/ezjail.sh : Stop / Start / Restart jails script. /usr/local/etc/ezjail.conf : Configuration file for ezjail script. contains settings that control the operation of the ezjail rc script. It is also read by the ezjail-admin utility to figure out where it should perform its actions. /usr/local/etc/ezjail/ : All your jail configuration files are stored here. Now, your task is to figure out where your mounts are configured for that jail, those that are present in the 'mount' output. After that you would stop that jail and delete it (assuming no problem to your customer service) to get rid of those lines in mount output. The reconfigure that jail properly anew (do not use backup for this !) and create it again, check the 'mount' output to see proper sequence of mounts. Then restart the jail and see how it goes. Give us feedback as you go so we can follow you. jb From owner-freebsd-questions@FreeBSD.ORG Thu May 3 18:35:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AEA71065670 for ; Thu, 3 May 2012 18:35:42 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out5.iinet.net.au (outbound.icp-qv1-irony-out5.iinet.net.au [203.59.1.105]) by mx1.freebsd.org (Postfix) with ESMTP id C290B8FC0C for ; Thu, 3 May 2012 18:35:41 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAEvPok98lKjS/2dsb2JhbABEsnuBB4IJAQEBAwEBAjc/BQsLDSgRFBQEMROICAQMum2CVIg9hRRjBJNPgi6BEoRSNYoqgnqBRA X-IronPort-AV: E=Sophos;i="4.75,526,1330876800"; d="scan'208";a="349718583" Received: from unknown (HELO smtp.phoenix) ([124.148.168.210]) by outbound.icp-qv1-irony-out5.iinet.net.au with ESMTP; 04 May 2012 02:35:40 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id E62CF329D; Fri, 4 May 2012 04:35:39 +1000 (EST) Date: Fri, 4 May 2012 04:35:39 +1000 From: andrew clarke To: Leslie Jensen Message-ID: <20120503183539.GA48057@ozzmosis.com> References: <4FA2BAB3.4080007@eskk.nu> <4FA2BD91.2070402@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FA2BD91.2070402@eskk.nu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: Follow up....Re: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 18:35:42 -0000 On Thu 2012-05-03 19:17:05 UTC+0200, Leslie Jensen (leslie@eskk.nu) wrote: > After a reboot my system now has the following label > > FreeBSD 8.2-RELEASE-p3 #0 > > How come it downgrades the label from p6 to p3 when upgrading to p7. This is a FAQ. There's a thread about it here: http://lists.freebsd.org/pipermail/freebsd-questions/2010-June/217031.html Short answer: The patch level (-p3) displayed by uname -r after a reboot will not change if freebsd-update has not touched the kernel. As far as I know there haven't been any patches to the 8.2-REL kernel since -p3. /usr/src/sys/conf/newvers.sh is always updated by freebsd-update when there is an update. (Although now that I think about it that might not be true if you don't have the kernel sources installed?) Not exactly intuitive. Several Linux distros have a file named /etc/issue that shows the distro name and version. Perhaps this or something similar could be provided in future FreeBSD releases and updated by freebsd-update. $ cat /etc/issue Ubuntu 12.04 LTS \n \l Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Thu May 3 18:43:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A78F2106564A for ; Thu, 3 May 2012 18:43:40 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5930C8FC0A for ; Thu, 3 May 2012 18:43:40 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2096234yhg.13 for ; Thu, 03 May 2012 11:43: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:x-enigmail-version:content-type; bh=7RfHthZvkOtAn6oD8uUHaJDORpyxIiH1bD3eJv4hL5g=; b=wU71dKw8U9oIZKq6byoTOZMJE1QetbP1InPBHKDsIYTzVC0BAMkEMb6H2BwieiO/Vc 4EvPiotd+UwKftLExPu9EovUQecB14ySSE9Yllj89a8t2cXdXyc4d0x9CMiF54vkxH90 qvJRXsr1g6ok0SJ2BGCen2eA7uguOYpDHaKrLZn1B9TspdHtAVCmhYjB67I7oaFC6oL4 AGi+c78ofWTvCB6Df9TjqGVGXsQtlfMgsbjvko0JXrDpikqQ+LJ/I3p0PhE1oDjQnSBC 2kB/C+3t1deYuQ9IpbSz2Q6JSNvGVfPfUm0BFYfsLyDE5m/huZHD3DD3d57MObWi5Uu4 xJRw== Received: by 10.236.185.10 with SMTP id t10mr4163438yhm.112.1336069024867; Thu, 03 May 2012 11:17:04 -0700 (PDT) Received: from [192.168.70.186] ([12.107.221.2]) by mx.google.com with ESMTPS id d11sm26485839yhi.21.2012.05.03.11.17.03 (version=SSLv3 cipher=OTHER); Thu, 03 May 2012 11:17:03 -0700 (PDT) Message-ID: <4FA2CB9F.6050903@gmail.com> Date: Thu, 03 May 2012 13:17:03 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FA2C1C2.9000905@gmail.com> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 18:43:40 -0000 On 5/3/2012 1:08 PM, Michael Sierchio wrote: > > > On Thu, May 3, 2012 at 10:34 AM, Noel > wrote: > > On 5/3/2012 11:45 AM, Chris Maness wrote: > > On Tue, May 1, 2012 at 8:31 AM, Chris Maness chrismaness.com > wrote: > >> How do add a static route to rc.conf? > >> > >> Thanks, > >> Chris Maness > > > > http://www.freebsd.org/doc/handbook/network-routing.html > > > > see section 32.2.5.2 Persistent Configuration > > > > -- Noel Jones > > I added: > > > > # Add Internal Net 2 as a static route > > static_routes="internalnet2" > > route_internalnet2="-net 44.18.44.0/24 > 192.168.1.33" > > > > to rc.conf per the section above. I rebooted and it was a > no go. Did > > I miss something? > > Looks OK, and works for me. Wild guess is you need to enable > netwait in rc.conf > http://www.freebsd.org/cgi/man.cgi?query=rc.conf&sektion=5 > > (near the bottom) > > > This is 9.X-specific advice, and this option doesn't exist in 8- > or prior. Indeed, I should have mentioned that if you have freebsd-8x or earlier, this feature isn't built-in but can be easily added: http://freebsd.1045724.n5.nabble.com/Re-rc-8-script-waiting-for-the-network-to-become-usable-td4242157.html Or the earlier discussion: http://lists.freebsd.org/pipermail/freebsd-stable/2010-April/056521.html -- Noel Jones From owner-freebsd-questions@FreeBSD.ORG Thu May 3 18:48:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E163D106568E for ; Thu, 3 May 2012 18:48:16 +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 5EEE18FC14 for ; Thu, 3 May 2012 18:48:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 34A9E5E42A; Thu, 3 May 2012 20:47:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -1.651 X-Spam-Level: X-Spam-Status: No, score=-1.651 tagged_above=-999 required=5 tests=[AWL=-0.653, 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 1kTgtRmI6jvT; Thu, 3 May 2012 20:47:19 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c-195-216-041-102.ekt.thalamus.net [195.216.41.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.bjare.net (Postfix) with ESMTPS id 5E2CE5E41C; Thu, 3 May 2012 20:47:19 +0200 (CEST) Message-ID: <4FA2D2F1.3080706@eskk.nu> Date: Thu, 03 May 2012 20:48:17 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0.1 MIME-Version: 1.0 To: andrew clarke References: <4FA2BAB3.4080007@eskk.nu> <4FA2BD91.2070402@eskk.nu> <20120503183539.GA48057@ozzmosis.com> In-Reply-To: <20120503183539.GA48057@ozzmosis.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Follow up....Re: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 18:48:17 -0000 2012-05-03 20:35, andrew clarke skrev: > On Thu 2012-05-03 19:17:05 UTC+0200, Leslie Jensen (leslie@eskk.nu) wrote: > >> After a reboot my system now has the following label >> >> FreeBSD 8.2-RELEASE-p3 #0 >> >> How come it downgrades the label from p6 to p3 when upgrading to p7. > > This is a FAQ. There's a thread about it here: > > http://lists.freebsd.org/pipermail/freebsd-questions/2010-June/217031.html > > Short answer: The patch level (-p3) displayed by uname -r after a > reboot will not change if freebsd-update has not touched the kernel. > > As far as I know there haven't been any patches to the 8.2-REL kernel > since -p3. > > /usr/src/sys/conf/newvers.sh is always updated by freebsd-update when > there is an update. (Although now that I think about it that might not > be true if you don't have the kernel sources installed?) > > Not exactly intuitive. > > Several Linux distros have a file named /etc/issue that shows the > distro name and version. Perhaps this or something similar could be > provided in future FreeBSD releases and updated by freebsd-update. > > $ cat /etc/issue > Ubuntu 12.04 LTS \n \l > > Regards > Andrew > _______________________________________________ > 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" Thank you :-) I have read similar answers and was partly aware of this. But I was just curious to why. I'll accept it and let a kernel rebuild be a part of my updates. /Leslie From owner-freebsd-questions@FreeBSD.ORG Thu May 3 18:54:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDE211065670 for ; Thu, 3 May 2012 18:54:45 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 735508FC0A for ; Thu, 3 May 2012 18:54:45 +0000 (UTC) Received: by ggnk4 with SMTP id k4so360111ggn.13 for ; Thu, 03 May 2012 11:54:44 -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 :cc:content-type:x-gm-message-state; bh=Z3JNSfEwuU3wZffpsM24rX1RQQ+eSaw8SMYNRFsiEZw=; b=JbiqR/2FSKJcH4U8xthiljAud5CNPkKtjYR9f08pVJsgmAuh/KKlBaQv4ZdCnikdGR h0eIGWOOWY68AaSY1C1Eza1xCtlZFyBE5rfcdILr5AEfCDX28aFn1uclxYowvKkYHiRJ otS2K90/XUkjrkT0z5K5v1TnWFPCpSqIcy9tXuIfxuBbn2JnubGDnEdSIZSxlHib0zk4 QeKsQgvh6k+NzjenWpRA/xFPWyeSImllg6mZOnKEqvOxyZPE4Ac9v2q2Xy4pGDZp9N7L ItrAUDbP+xqkzvyzJzhI2iZXlWF+raFbeF+f+yjKyGDGAzprcC6+RIBdaOWcne7S+r/p ptKw== MIME-Version: 1.0 Received: by 10.236.37.168 with SMTP id y28mr4334610yha.111.1336071284710; Thu, 03 May 2012 11:54:44 -0700 (PDT) Received: by 10.236.18.135 with HTTP; Thu, 3 May 2012 11:54:44 -0700 (PDT) In-Reply-To: <4FA2CB9F.6050903@gmail.com> References: <4FA2C1C2.9000905@gmail.com> <4FA2CB9F.6050903@gmail.com> Date: Thu, 3 May 2012 11:54:44 -0700 Message-ID: From: Michael Sierchio To: Noel X-Gm-Message-State: ALoCoQmiF+r9EJz4Ik8B/aPYetm7LTiphRYBd4iJUPIP8n/yFyHoQrpo84FJe8Apenj54XQLxJbu Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 18:54:45 -0000 On Thu, May 3, 2012 at 11:17 AM, Noel wrote: > > Indeed, I should have mentioned that if you have freebsd-8x or > earlier, this feature isn't built-in but can be easily added: > > http://freebsd.1045724.n5.nabble.com/Re-rc-8-script-waiting-for-the-network-to-become-usable-td4242157.html > Or the earlier discussion: > http://lists.freebsd.org/pipermail/freebsd-stable/2010-April/056521.html > The link to the script in this thread is dead. > > From owner-freebsd-questions@FreeBSD.ORG Thu May 3 18:56:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B117E1065670 for ; Thu, 3 May 2012 18:56:18 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-qv1-irony-out6.iinet.net.au (outbound.icp-qv1-irony-out6.iinet.net.au [203.59.1.109]) by mx1.freebsd.org (Postfix) with ESMTP id 240898FC14 for ; Thu, 3 May 2012 18:56:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EACrUok98lKjS/2dsb2JhbABFsnuBB4IJAQEEATo/BQsLDSgRFBgxE4gIBLsCglSNUWMElX2FZDWKKoJ6 X-IronPort-AV: E=Sophos;i="4.75,526,1330876800"; d="scan'208";a="322437527" Received: from unknown (HELO smtp.phoenix) ([124.148.168.210]) by outbound.icp-qv1-irony-out6.iinet.net.au with ESMTP; 04 May 2012 02:56:16 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id F284132A7; Fri, 4 May 2012 04:56:15 +1000 (EST) Date: Fri, 4 May 2012 04:56:15 +1000 From: andrew clarke To: Leslie Jensen Message-ID: <20120503185615.GA50654@ozzmosis.com> References: <4FA2BAB3.4080007@eskk.nu> <4FA2BD91.2070402@eskk.nu> <20120503183539.GA48057@ozzmosis.com> <4FA2D2F1.3080706@eskk.nu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FA2D2F1.3080706@eskk.nu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: Follow up....Re: Updating for the FreeBSD Security Advisory FreeBSD-SA-12:01.openssl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 18:56:18 -0000 On Thu 2012-05-03 20:48:17 UTC+0200, Leslie Jensen (leslie@eskk.nu) wrote: > > Short answer: The patch level (-p3) displayed by uname -r after a > > reboot will not change if freebsd-update has not touched the kernel. ... > I have read similar answers and was partly aware of this. > > But I was just curious to why. > > I'll accept it and let a kernel rebuild be a part of my updates. If you're running the GENERIC kernel then you're only creating extra work for yourself by rebuilding it for the sole purpose of having uname -r show the "correct" patchlevel... On the other hand if you're running a custom kernel then you only need to rebuild the kernel when freebsd-update touches the kernel sources. I don't recall the kernel was touched at all with the most recently -p7 patch (openssl), for example, so there's absolutely no need to rebuild it. Apologies if this was already obvious. Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Thu May 3 19:20:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4F60106566C for ; Thu, 3 May 2012 19:20:40 +0000 (UTC) (envelope-from noeldude@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 546D08FC08 for ; Thu, 3 May 2012 19:20:40 +0000 (UTC) Received: by yhgm50 with SMTP id m50so2146869yhg.13 for ; Thu, 03 May 2012 12:20: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:x-enigmail-version:content-type; bh=YCIJ+9NES4kOEwIGJnWgQc42NtfOu9TvBXSN5pmaAmE=; b=zVboZvIHaLajUwuVEdp0t468h+qcoOhoCgaTJvkcU7PNDrUCUJTP7Ck775oaO4xrPW PLvPLSuRWT3Bk+xNdSYj79Ieuo49zls+OFhYa9zqoJ0ZBc9IWT0SA5xtv4nDLxftZsmv D9nINzZysZJGkstEEWNu9FVmhob3HvrkCHIO9rpVdocl8DfNtORcLWZvixII7dLj6cHG hFdWdOA51Cg4l8acb7KSKluIDxKGAdmwlXsQd7/3IxwTtCL/e0Q57xWbpyJh76D4nL4Y Vq1kJuMfgWwopzJw7u2MfzddOOLl13lRJCNdb3OgQvA5iVFzZEwpbfL3QAJJ6cFnLnbu +p6g== Received: by 10.236.187.68 with SMTP id x44mr4491751yhm.129.1336072506191; Thu, 03 May 2012 12:15:06 -0700 (PDT) Received: from [192.168.70.186] (50-200-12-74-static.hfc.comcastbusiness.net. [50.200.12.74]) by mx.google.com with ESMTPS id b4sm9510961anb.22.2012.05.03.12.15.04 (version=SSLv3 cipher=OTHER); Thu, 03 May 2012 12:15:05 -0700 (PDT) Message-ID: <4FA2D938.1060600@gmail.com> Date: Thu, 03 May 2012 14:15:04 -0500 From: Noel User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Michael Sierchio References: <4FA2C1C2.9000905@gmail.com> <4FA2CB9F.6050903@gmail.com> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Adding a Static Route to rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 19:20:40 -0000 On 5/3/2012 1:54 PM, Michael Sierchio wrote: > > > On Thu, May 3, 2012 at 11:17 AM, Noel > wrote: > > > > Indeed, I should have mentioned that if you have freebsd-8x or > earlier, this feature isn't built-in but can be easily added: > http://freebsd.1045724.n5.nabble.com/Re-rc-8-script-waiting-for-the-network-to-become-usable-td4242157.html > Or the earlier discussion: > http://lists.freebsd.org/pipermail/freebsd-stable/2010-April/056521.html > > > The link to the script in this thread is dead. > > > Then use the second thread, which includes the script in-line. From owner-freebsd-questions@FreeBSD.ORG Thu May 3 21:50:44 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A197E106567A for ; Thu, 3 May 2012 21:50:44 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 604E18FC0A for ; Thu, 3 May 2012 21:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=oKXubVuXzYzhRtoqGpc7yhRa0l6hkzjLzHuYl/u8z28=; b=UHKWaybuohmCFPxP3JOdz/Z9oDBCMw6y0QeugW132pN8QPAMgeoyayoZLff5x+ng9Tnq4/ZkGsFyr/PTYAwmGIV0+qD6DP8PIfZadfqjiAiYSOv4v/rBfoDvGal3NjCj9rvaxPhkgiEPW9mk0VJXmCWFfo/suHg8vS4fPTA8Ijk=; Received: from iglou3.iglou.com ([192.107.41.6]:51138 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1SQ3U3-0006bi-MG by authid with igloumta_auth for questions@freebsd.org; Thu, 03 May 2012 17:22:43 -0400 Received: from shell1.iglou.com ([192.107.41.17]:47263 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1SQ3U3-0003Bt-AA for questions@freebsd.org; Thu, 03 May 2012 17:22:43 -0400 Date: Thu, 3 May 2012 16:22:43 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b Cc: Subject: WITH_OPENSSL_PORT=yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 21:50:44 -0000 If WITH_OPENSSL_PORT=yes exists in /etc/make.conf, will the system compile against that as well or only applications? Darrel From owner-freebsd-questions@FreeBSD.ORG Thu May 3 22:12:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87119106566B for ; Thu, 3 May 2012 22:12:32 +0000 (UTC) (envelope-from mike@skew.org) Received: from chilled.skew.org (chilled.skew.org [70.90.116.205]) by mx1.freebsd.org (Postfix) with ESMTP id 57D3B8FC16 for ; Thu, 3 May 2012 22:12:32 +0000 (UTC) Received: from chilled.skew.org (localhost [127.0.0.1]) by chilled.skew.org (8.14.4/8.14.4) with ESMTP id q43LqNju004513 for ; Thu, 3 May 2012 15:52:24 -0600 (MDT) (envelope-from mike@chilled.skew.org) Received: (from mike@localhost) by chilled.skew.org (8.14.4/8.14.4/Submit) id q43LqNZO004512 for freebsd-questions@freebsd.org; Thu, 3 May 2012 15:52:23 -0600 (MDT) (envelope-from mike) From: Mike Brown Message-Id: <201205032152.q43LqNZO004512@chilled.skew.org> To: freebsd-questions@freebsd.org Date: Thu, 3 May 2012 15:52:23 -0600 (MDT) X-Whoa: whoa. X-Mailer: ELM [version 2.4ME+ PL125 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Subject: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 22:12:32 -0000 I installed 8.2-RELEASE when it was new, and have been just using freebsd-update since then. I run freebsd-update whenever there are new critical patches. But for some reason, my system's reported patchlevel number hasn't updated since p3. For example, with this latest OpenSSL security update, running 'freebsd-update fetch' says (among other things) "The following files will be updated as part of updating to 8.2-RELEASE-p7" and "WARNING: FreeBSD 8.2-RELEASE-p3 is approaching its End-of-Life date. It is strongly recommended that you upgrade to a newer release within the next 2 months." So apparently it really thinks I'm at -p3, when I know I'm at -p6, and was at -p5 before that, and -p4 before that. The fact that the latest update only included the OpenSSL files confirms that the relevant files have been getting updated when I 'freebsd-update install'. But 'uname -r' continues to return "8.2-RELEASE-p3". Rebooting doesn't help. Is there something I need to do in order to bump the reported patchlevel? I thought this was supposed to happen automatically, since I didn't have to do anything to get it up to -p3. Thanks, Mike From owner-freebsd-questions@FreeBSD.ORG Thu May 3 22:42:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA100106566C for ; Thu, 3 May 2012 22:42:04 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 8AEBC8FC0C for ; Thu, 3 May 2012 22:42:04 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q43Mh6x5030357; Thu, 3 May 2012 17:43:06 -0500 (CDT) Date: Thu, 3 May 2012 17:43:06 -0500 (CDT) From: Robert Bonomi Message-Id: <201205032243.q43Mh6x5030357@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, mike@skew.org In-Reply-To: <201205032152.q43LqNZO004512@chilled.skew.org> Cc: Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 22:42:04 -0000 Mike Brown wrote; > I installed 8.2-RELEASE when it was new, and have been just using > freebsd-update since then. I run freebsd-update whenever there are new > critical patches. But for some reason, my system's reported patchlevel number > hasn't updated since p3. [sneck] > But 'uname -r' continues to return "8.2-RELEASE-p3". Rebooting doesn't help. > Is there something I need to do in order to bump the reported patchlevel? I > thought this was supposed to happen automatically, since I didn't have to do > anything to get it up to -p3. Amazingly, this very question was covered on this list within the last few hours. Executive summary: the kernel ID string that uname reports changes only when the -kernel- is changed. -p4, -p5, -p6, and -p7. have -not- involved any changes to the kernel. hence the ID string has stayed at '-p3'. While this _is_ counter-intuitive, it does make sense to avoid pushing a new k ernel out, and/or forcing an admin to rebuild a custom kernel, when the -only- change would be to the ID string. From owner-freebsd-questions@FreeBSD.ORG Thu May 3 23:05:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E928106564A for ; Thu, 3 May 2012 23:05:23 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.208]) by mx1.freebsd.org (Postfix) with ESMTP id 15FCF8FC08 for ; Thu, 3 May 2012 23:05:23 +0000 (UTC) Date: Fri, 04 May 2012 01:05:15 +0200 From: vermaden To: Kalle =?iso-8859-1?q?M=F8ller?= X-Mailer: interia.pl/pf09 In-Reply-To: References: Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1336086315; bh=L73fy85V2iNCsjACyvlU/Jdy7YF5TiwZQgJtkPY8WFc=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NPsiOLD4JYN+shdJVSCl81jRXsmalwvQovcJUwiXBjef08iNRm47laFb/4JAgssDM Zco9AEThSugyRraK7Wm/lJxpK2CiqmvJ6yMIslUmOVI6bezduxQTtnRegadFYeiHeR iK/+qz2PvBs8ZiOdzqYtvfjB57+TJYlz9YQubwfo= Cc: freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 23:05:23 -0000 Hi, > I just tested your tool the last few days and I must say I love > it already. Though I can get one of the commands to work > - might be me or the syntax >=20 > beadm create [-e nonActiveBe | beName@snapshot] beName >=20 > I read it as you can do the following >=20 > beadm create beName@snapshot beName >=20 > Is that correct or is it >=20 > beadm create -e beName@snapshot beName >=20 > Well neither of those seems to work for me, can you give an example of th= e use? >=20 > Thanks > Kalle There are only 3 possible ways: 1. beadm create beName - this will create BE beName from currently booted B= E. 2. beadm create -e nonActiveBe beName - this will create BE beName from oth= er BE called nonActiveBe 3. beadm create -e beName@snapshot beName - this will create BE beName from= existing beName@snapshot snapshot At least these are the same possibilities that beadm(1M) at Illumos/Solaris= provides. Hope that helps ;) Regards, vermaden --=20 ... From owner-freebsd-questions@FreeBSD.ORG Thu May 3 23:10:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1948D1065672 for ; Thu, 3 May 2012 23:10:33 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.208]) by mx1.freebsd.org (Postfix) with ESMTP id C26568FC1D for ; Thu, 3 May 2012 23:10:32 +0000 (UTC) Date: Fri, 04 May 2012 01:10:31 +0200 From: vermaden To: Kalle =?iso-8859-1?q?M=F8ller?= X-Mailer: interia.pl/pf09 In-Reply-To: References: Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1336086632; bh=n9ZbsMqOHXv8c04Mf93crlU6q3qZ0geVSjAhqGX6A/Q=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=T5GBU9HZtwECTUXiiBvrODrOM35hTUcKCjlEOvyGWrC/ZxsTXFn+otzrQRuuXJIX9 lbAbseB8zev40dx9IudX40kqdkKEBa1BDz9yNydiLxv7XGOqiw5Q8s5OatxZx3R1L+ P0gsA1BW8XiiBjtXVALXH1hxm/9MK73ubv3bDGuM= Cc: freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 23:10:33 -0000 "Kalle M=C3=B8ller" : > And I forgot >=20 > If I do a create and destroy, I would assume my system > was back to same state, but you keep the snapshot > when I destroy the clone, dont know if its working as > intended (better safe to keep it than sorry) or you just > didn't think of it :) I added automatic deletion of snapshot origins at later versions, the 0.1 is now in Ports, but at SourceForge [1] or GitHub [2] there is 0.4 version already, so get the latest one, test more and let me know how the latest version works for You ;) [1] https://sourceforge.net/projects/beadm/ [2] https://github.com/vermaden/beadm Regards, vermaden --=20 ... From owner-freebsd-questions@FreeBSD.ORG Fri May 4 07:38:27 2012 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C878D106564A for ; Fri, 4 May 2012 07:38:27 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 348068FC14 for ; Fri, 4 May 2012 07:38:27 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q447cGHR004679 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 4 May 2012 08:38:23 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q447cGHR004679 Authentication-Results: smtp.infracaninophile.co.uk/q447cGHR004679; dkim=none (no signature); dkim-adsp=none Message-ID: <4FA3875E.10206@FreeBSD.org> Date: Fri, 04 May 2012 08:38:06 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Darrel References: In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA6AD7CCF55A79949735AA926" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: questions@FreeBSD.org Subject: Re: WITH_OPENSSL_PORT=yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 07:38:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA6AD7CCF55A79949735AA926 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/05/2012 21:22, Darrel wrote: > If WITH_OPENSSL_PORT=3Dyes exists in /etc/make.conf, will the system > compile against that as well or only applications? The base system always links against the copy of openssl in base irrespective of the WITH_OPENSSL_PORT setting: % grep WITH_OPENSSL_PORT /etc/make.conf WITH_OPENSSL_PORT=3D yes A sample application from the base that uses openssl: % ldd /usr/bin/ssh /usr/bin/ssh: [...] libcrypto.so.6 =3D> /lib/libcrypto.so.6 (0x8012dd000) [...] Whereas something installed from ports uses the ports version of openssl:= % ldd /usr/local/sbin/sendmail=09 /usr/local/sbin/sendmail: [...] libssl.so.8 =3D> /usr/local/lib/libssl.so.8 (0x800ce8000) libcrypto.so.8 =3D> /usr/local/lib/libcrypto.so.8 (0x800f4a000) [...] So, yes, you do need to update the system in the manner described in the recent FreeBSD-SA-12:01.openssl security advisory. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigA6AD7CCF55A79949735AA926 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+jh2gACgkQ8Mjk52CukIyJ7ACfVRHjbLzPSXBd8hcqFYO/py7s ODcAn103Z0MMS10ct0rIlMi4Q2j0be4H =ojoI -----END PGP SIGNATURE----- --------------enigA6AD7CCF55A79949735AA926-- From owner-freebsd-questions@FreeBSD.ORG Fri May 4 07:52:28 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D174C106566B for ; Fri, 4 May 2012 07:52:28 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 5903A8FC0A for ; Fri, 4 May 2012 07:52:28 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q447qOi1005091 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 4 May 2012 08:52:24 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q447qOi1005091 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1336117944; bh=sLItrCe7xpTStpIrerzfPNoPHdvgVUUaAXs989c4+Gg=; h=Date:From:To:Subject:References:In-Reply-To:Cc:Content-Type: Message-ID:Mime-Version; b=K3DaWbbIDMskJh8ZJmqBmtl0JagVAByG+lOrqixwJwpnhIp0u5Ehk3/nhykHu9Ozt tmUey3d6YynoJ/gQcgbNG9vjV5zjQ07RFN7AbdaDNaR7mwDReLw/TvlIFQl1ogQ775 qv0NVU6rLb1qT0YQbsh8axCu+GZF/vKGOqn1lGug= Message-ID: <4FA38AB8.7010806@infracaninophile.co.uk> Date: Fri, 04 May 2012 08:52:24 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201205032243.q43Mh6x5030357@mail.r-bonomi.com> In-Reply-To: <201205032243.q43Mh6x5030357@mail.r-bonomi.com> X-Enigmail-Version: 1.4.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2563DB417E68E6F500EED892" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 07:52:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2563DB417E68E6F500EED892 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/05/2012 23:43, Robert Bonomi wrote: > Amazingly, this very question was covered on this list within the last = few > hours. It's not that much of a coincidence. We always get a rash of queries like this every time there's a security advisory and consequently a lot of people are updating. > Executive summary: > the kernel ID string that uname reports changes only when the -kernel- = is > changed. >=20 > -p4, -p5, -p6, and -p7. have -not- involved any changes to the kernel. > hence the ID string has stayed at '-p3'. >=20 > While this _is_ counter-intuitive, it does make sense to avoid pushing = a > new k ernel out, and/or forcing an admin to rebuild a custom kernel, wh= en > the -only- change would be to the ID string. I wonder if it would be possible or indeed worthwhile to have a very small kld or sysctl that shows the current patch level and that can be updated without replacing the kernel entire. Obviously, this introduces the possibility of faking the patchlevel, so perhaps this should be constructed so it can only be modified on reboot. Hmmmm.... Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig2563DB417E68E6F500EED892 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+jirgACgkQ8Mjk52CukIwPZACdFTWpXyY8Mpg9bcEpyvBR0cuk R24Anim4N8p7+5MSf7lLTNLTF7Dc5Iow =JN2f -----END PGP SIGNATURE----- --------------enig2563DB417E68E6F500EED892-- From owner-freebsd-questions@FreeBSD.ORG Fri May 4 09:02:12 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63D6B106564A for ; Fri, 4 May 2012 09:02:12 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id C2F6B8FC16 for ; Fri, 4 May 2012 09:02:11 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q44923LS006551 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 4 May 2012 10:02:03 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q44923LS006551 Authentication-Results: smtp.infracaninophile.co.uk/q44923LS006551; dkim=none (no signature); dkim-adsp=none Message-ID: <4FA39B0A.9020009@FreeBSD.org> Date: Fri, 04 May 2012 10:02:02 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Mike Brown References: <201205032152.q43LqNZO004512@chilled.skew.org> In-Reply-To: <201205032152.q43LqNZO004512@chilled.skew.org> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7161818411F1811B3E96D12F" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@FreeBSD.org Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 09:02:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7161818411F1811B3E96D12F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/05/2012 22:52, Mike Brown wrote: > For example, with this latest OpenSSL security update, running 'freebsd= -update=20 > fetch' says (among other things) "The following files will be updated a= s part=20 > of updating to 8.2-RELEASE-p7" and "WARNING: FreeBSD 8.2-RELEASE-p3 is = > approaching its End-of-Life date. It is strongly recommended that you u= pgrade=20 > to a newer release within the next 2 months." Aside from the question of the version string embedded in the kernel not being updated which has been addressed elsewhere, this warning seems a bit unclear. It's actually the entire 8.2-RELEASE branch that is approaching EoL, not any specific patchlevel within it. (Individual patchlevels don't have an EoL concept per se: they just last until the next one comes out, or the whole branch goes out of support.) In other words, this message is warning you to update to 8.3-RELEASE or 9.0-RELEASE in the near future. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig7161818411F1811B3E96D12F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+jmwoACgkQ8Mjk52CukIz9TwCggEddUprdCPcypA2AMO7nNZCV v2cAn1ga5tWiBvZoG725JHe/yGpN4Cdj =yaHZ -----END PGP SIGNATURE----- --------------enig7161818411F1811B3E96D12F-- From owner-freebsd-questions@FreeBSD.ORG Fri May 4 09:13:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95D88106566B for ; Fri, 4 May 2012 09:13:03 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 440948FC08 for ; Fri, 4 May 2012 09:13:02 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q449E5iZ037677; Fri, 4 May 2012 04:14:05 -0500 (CDT) Date: Fri, 4 May 2012 04:14:05 -0500 (CDT) From: Robert Bonomi Message-Id: <201205040914.q449E5iZ037677@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, m.seaman@infracaninophile.co.uk In-Reply-To: <4FA38AB8.7010806@infracaninophile.co.uk> Cc: Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 09:13:03 -0000 > From owner-freebsd-questions@freebsd.org Fri May 4 02:54:56 2012 > Date: Fri, 04 May 2012 08:52:24 +0100 > From: Matthew Seaman > To: freebsd-questions@freebsd.org > Subject: Re: freebsd-update not updating reported patchlevel > > On 03/05/2012 23:43, Robert Bonomi wrote: > > Amazingly, this very question was covered on this list within the last few > > hours. > > It's not that much of a coincidence. ... No kidding. The 'amazingly' was a wry commentary on that very fact. > > I wonder if it would be possible or indeed worthwhile to have a very > small kld or sysctl that shows the current patch level and that can be > updated without replacing the kernel entire. Obviously, this introduces > the possibility of faking the patchlevel, so perhaps this should be > constructed so it can only be modified on reboot. What is required is a differentation between the _kernel_ revision level, and the patchlevel of the entire base system. Store the kernel revision level -in- the kernel. Use the 'standard' THREE-level version numbering {Major}.{Minor}.{revision} for the kernel. Bump 'revision' for each set fo kernel patches. The patchlevel info for the base system can be a simple data file. I'd suggest a dotfile' in /etc, mode 644, with the followig flags set: 'system append only', 'system undlink'. Bump 'patchlevel' every time -anything- in the base system changes, regardless of whether it is part of the kernel or the 'world'. Both kernel revision level and 'world' patchlevel are reset -only- when a new minor (or major) release of the O/S is installed. Aside from that, they increment semi-independantly -- 'world' patchlevel is always greater-equal to kernel revision level. Ideally, this is a _log_ of all the actual changes, something along the lines of: BEGIN updates updated {foo}, Vers x.y.z, old file renamed to {foo}.x.y.x-replaced patchfile {foo1} for {pathname}, patch application succeeded patchfile {foo2} for {pathname}, patch application FAILED obselete file {foo3} renamed to {foo3}.x.y.z-obselete END updates Now at patchlevel {quux} For 'audit' purposes', every line is prefixed with timestamp, login username/effective UID(as a username) the tty device from which the action was performed. When a new release of the O/S is installed, the patchlog file is renamed or deleted, and a single line of the form: END install Now at patchlevel 0 is written. Thus there is always an END line with the patchlevel ID. The numeric patchlevel is written as a fixed-width *right-justiied* field. Thus, the last 'END' starts at a 'known' position before the end of the file, allowing an application to do a direct fseek(3)/lseek(2) to it (or the patchlevel) without having to read the entire file. ('install' and 'updates' are chosen with malice aforethought, they're the same length ;) >From the command-line, 'tail -1 {patchlog}' gets everything. With this kind of setup, and assuming that all distributed patchfiles have 'unique' names, the 'patchlog' provides a roadmap for reconstructing the state of the kernel and 'world' as of any particular point in time. AT LEAST as important, it provides a record that would let one 'back out' an update, to revert to a prior system state, if needed. In fact, it would be 'easy' to have automation perform that task. From owner-freebsd-questions@FreeBSD.ORG Fri May 4 12:12:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7ECE106564A; Fri, 4 May 2012 12:12:10 +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 A077A8FC19; Fri, 4 May 2012 12:12:10 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SQHMn-0004sJ-Lt>; Fri, 04 May 2012 14:12:09 +0200 Received: from munin.geoinf.fu-berlin.de ([130.133.86.110]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SQHMn-0001z5-Iq>; Fri, 04 May 2012 14:12:09 +0200 Message-ID: <4FA3C7A1.6040908@zedat.fu-berlin.de> Date: Fri, 04 May 2012 14:12:17 +0200 From: "Hartmann, O." Organization: FU Berlin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120504 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.110 Cc: Subject: editors/libreoffice:internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 12:12:11 -0000 I found myself incapable of rebuilding/updating editors/libreoffice on ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms with the very same error message as shown below. It doesn't matter whether I try to build/update with CLANG or the legacy gcc 4.2.1. GCC 4.6 and 4.7 fail due to 32/64 bit incompatibilities (some weird errors occur, not further investigated). It seems impossible to rebuild even a former installed version of libreoffice. Resources are no problem, I build Libreoffice with "DISABLE_MAKE_JOBS" and in one case the box has 32GB of RAM - and is free of other duties for the time building LibreOffice. Regards, O. Hartmann [...] /usr/local/bin/xsltproc --nonet --stringparam uri \ Compiling: lingucomponent/source/thesaurus/libnth/ntreg.cxx Compiling: lingucomponent/source/thesaurus/libnth/nthesimp.cxx 'vnd.sun.star.expand:$LO_LIB_DIR/libspelllo.so' -o ../../../unxfbsd.pro/misc/spell.component \ /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt spell.component Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hreg.cxx Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx /usr/local/bin/xsltproc --nonet --stringparam uri \ 'vnd.sun.star.expand:$LO_LIB_DIR/libhyphenlo.so' -o ../../../../unxfbsd.pro/misc/hyphen.component \ /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt hyphen.component /usr/local/bin/xsltproc --nonet --stringparam uri \ 'vnd.sun.star.expand:$LO_LIB_DIR/liblnthlo.so' -o ../../../unxfbsd.pro/misc/lnth.component \ /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt lnth.component /usr/local/bin/xsltproc --nonet --stringparam uri \ 'vnd.sun.star.expand:$LO_LIB_DIR/libguesslanglo.so' -o ../../unxfbsd.pro/misc/guesslang.component \ /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt guesslang.component Making: guesslang.lib Making: libguesslanglo.so Entering /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lingucomponent/source/spellcheck/macosxspell Nothing to build for GUIBASE=unx Making: spell.lib Making: libspelllo.so Making: hyphen_lib.lib Making: libhyphenlo.so Making: lnth.lib Making: liblnthlo.so lingucomponent deliver Module 'lingucomponent' delivered successfully. 12 files copied, 2 files unchanged ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/ucb/source/ucp/cmis ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/odk/pack/gendocu it seems you are using a threaded build, which means that the actual compile error is probably hidden far above, and could be inside any of these other modules: ucb vcl please re-run build inside each one to isolate the problem. ----------------------------------------------------------------------- /usr/local/bin/bash cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2 source ./Env.Host.sh cd odk rm -Rf /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/odk/unxfbsd.pro # optional module 'clean' build when the problem is isolated and fixed exit and re-run 'make' from the top-level gmake[1]: *** [build] Error 1 gmake[1]: Leaving directory `/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2' gmake: *** [source-env-and-recurse] Error 2 *** Error code 1 Stop in /usr/ports/editors/libreoffice. *** Error code 1 Stop in /usr/ports/editors/libreoffice. ===>>> make failed for editors/libreoffice ===>>> Aborting update ===>>> Update for editors/libreoffice failed ===>>> Aborting update Terminated From owner-freebsd-questions@FreeBSD.ORG Fri May 4 12:51:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1413106566B for ; Fri, 4 May 2012 12:51:39 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 8944D8FC12 for ; Fri, 4 May 2012 12:51:39 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id q44CpVO6019906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 4 May 2012 14:51:32 +0200 Date: Fri, 4 May 2012 14:51:31 +0200 From: Albert Shih To: Jerome Herman Message-ID: <20120504125131.GA12022@pcjas.obspm.fr> References: <20120427161316.GA60361@pcjas.obspm.fr> <20120428205201.GB65903@pcjas.obspm.fr> <4F9C75F9.9070907@dichotomia.fr> <20120430113910.GC74076@pcjas.obspm.fr> <4F9EAD87.2000005@dichotomia.fr> <20120502150626.GF99014@pcjas.obspm.fr> <4FA19CA3.50903@dichotomia.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4FA19CA3.50903@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 4FA3D0D3.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FA3D0D3.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-questions@freebsd.org Subject: Re: Performance and mouse problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 12:51:40 -0000 Le 02/05/2012 ? 22:44:19+0200, Jerome Herman a crit > Ok here is what happens, > > In your system you have your touchpad declared both in a static way in > your xorg config, and probed by HAL. > What happens is that when xorg starts it first install the touchpad as > required by the config file, and then tries to install it again via > autodetection. Of course the second installation of the same device > doesn't work as the device is already busy with xorg, and xorg stops to > try to auto-install devices. > When you plug another mouse, xorg is notified that there are new > devices, but starts by trying to reinstall the touchpad, fails again for > the same reason as above and stops trying. > > In order to solve your problem you can try the following : > a) remove the touchpad lines from your xorg config. This way the > touchpad should be installed by auto detection. (simply comment it as > you might be needing it back soon) > b) forbid hal from probing the touchpad. If solution a fails, I would > explain to you how to do this if solution a) fails. I try this. I do a hal-device find the unique udi to have /dev/psm0 in input.device, udi = '/org/freedesktop/Hal/devices/psm_0' freebsd.driver = 'psm' (string) freebsd.unit = 0 (0x0) (int) platform.id = 'psm.0' (string) freebsd.device_file = '/dev/psm0' (string) info.capabilities = { 'input', 'input.mouse' } (string list) info.category = 'input' (string) input.device = '/dev/psm0' (string) input.x11_driver = 'mouse' (string) info.addons = { 'hald-addon-mouse-sysmouse' } (string list) info.udi = '/org/freedesktop/Hal/devices/psm_0' (string) info.parent = '/org/freedesktop/Hal/devices/atkbdc_0' (string) info.product = 'PS/2 Mouse' (string) info.subsystem = 'platform' (string) and add a new file in /usr/local/etc/hal/fdi/policy/ with true restart hald, reboot and...nothing :-( I've try also with something like true but same result. The touchpad still working and most important the mouse still NOT working. Any help ? Thanks. Regards. JAS -- Albert SHIH DIO btiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex Tlphone : 01 45 07 76 26/06 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: ven 4 mai 2012 14:42:00 CEST From owner-freebsd-questions@FreeBSD.ORG Fri May 4 14:45:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B63451065673 for ; Fri, 4 May 2012 14:45:27 +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 615B98FC12 for ; Fri, 4 May 2012 14:45:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx02.qsc.de (Postfix) with ESMTP id BEFEF1EB3B; Fri, 4 May 2012 16:45:19 +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 q44EjJkQ001930; Fri, 4 May 2012 16:45:19 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 May 2012 16:45:19 +0200 From: Polytropon To: Robert Bonomi Message-Id: <20120504164519.d04ba910.freebsd@edvax.de> In-Reply-To: <201205040914.q449E5iZ037677@mail.r-bonomi.com> References: <4FA38AB8.7010806@infracaninophile.co.uk> <201205040914.q449E5iZ037677@mail.r-bonomi.com> 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 Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 14:45:27 -0000 On Fri, 4 May 2012 04:14:05 -0500 (CDT), Robert Bonomi wrote: > What is required is a differentation between the _kernel_ revision level, > and the patchlevel of the entire base system. > > Store the kernel revision level -in- the kernel. Use the 'standard' > THREE-level version numbering {Major}.{Minor}.{revision} for the kernel. > Bump 'revision' for each set fo kernel patches. > > The patchlevel info for the base system can be a simple data file. > I'd suggest a dotfile' in /etc, mode 644, with the followig flags > set: 'system append only', 'system undlink'. > > Bump 'patchlevel' every time -anything- in the base system changes, > regardless of whether it is part of the kernel or the 'world'. Interesting approach. Both files could also be header files in /usr/include to store this information per #define. But in fact, I like the /etc idea better. Allow me to extent the approach: For -STABLE versions (e. g. if updated per CVS), those files could contain the "build number" and the date of the currently installed -STABLE "snapshot". A separation of a "kernel version file" and a "world version file" is useful in cases the kernel won't be touched, so no need to update its version file (as well as the kernel itself) by a binary update. The files should be easily parsable. They could even contain an assignment in sh syntax, as well as comments (for BSDL and $FreeBSD$ information). Their templates could be stored in the /usr/src subtree for the etc/ structure, so programs like "make" and "mergemaster" could access them from there. Maybe a binary command could be added to the base system to query this information (maybe "getent" could do that?). Here are some suggestions: /etc/kernversion VERSION="8.2" BRANCH="STABLE" BUILD="12345" DATE="2011-08-01 12:34:56" or /etc/kernversion VERSION="8.4" BRANCH="RELEASE" PATCH="2" DATE="2012-02-02 02:02:02" /etc/sysversion VERSION="8.4" BRANCH="RELEASE" PATCH="4" DATE="2012-04-04 04:04:04" This shows: Kernel has last been updated to patchlevel 2 (to check with "uname -r" will show that version), but the system has been updated two more times to patchlevel 4. The notation could be X.Y-pZ or X.Y.Z for -RELEASE installations, and X.Y-B for -STABLE installations. However, it's not hard to write any custom "parser and composer" if urgently needed. Maybe things also present in "uname -a" output (such as architecture and OS name) could be included, but I think that's not required because it's mostly obvious. :-) > Both kernel revision level and 'world' patchlevel are reset -only- > when a new minor (or major) release of the O/S is installed. Aside > from that, they increment semi-independantly -- 'world' patchlevel > is always greater-equal to kernel revision level. > > Ideally, this is a _log_ of all the actual changes, something along the > lines of: > > BEGIN updates > updated {foo}, Vers x.y.z, old file renamed to {foo}.x.y.x-replaced > patchfile {foo1} for {pathname}, patch application succeeded > patchfile {foo2} for {pathname}, patch application FAILED > obselete file {foo3} renamed to {foo3}.x.y.z-obselete > END updates Now at patchlevel {quux} > > For 'audit' purposes', every line is prefixed with > timestamp, > login username/effective UID(as a username) > the tty device from which the action was performed. > > When a new release of the O/S is installed, the patchlog file is renamed > or deleted, and a single line of the form: > > END install Now at patchlevel 0 > > is written. Thus there is always an END line with the patchlevel ID. > > The numeric patchlevel is written as a fixed-width *right-justiied* field. > > Thus, the last 'END' starts at a 'known' position before the end of the > file, allowing an application to do a direct fseek(3)/lseek(2) to it (or > the patchlevel) without having to read the entire file. ('install' and > 'updates' are chosen with malice aforethought, they're the same length ;) > > From the command-line, 'tail -1 {patchlog}' gets everything. Also very nice. By simply _viewing_ the file, the most non-current version will be discovered, so maybe (just _maybe_) re-ordering them in upside-down (newest version on top) would be better? Of course, this would not go well with the "log idea". Files like UPDATING in the /usr/ports and /usr/src tree use such an approach. Such a log file would not feel comfortable in /etc, it should rather go to /var or even /var/log. :-) > With this kind of setup, and assuming that all distributed patchfiles have > 'unique' names, the 'patchlog' provides a roadmap for reconstructing the > state of the kernel and 'world' as of any particular point in time. > > AT LEAST as important, it provides a record that would let one 'back out' > an update, to revert to a prior system state, if needed. In fact, it > would be 'easy' to have automation perform that task. How about performing "version skips", e. g. from -p1 to -p4 directly (using freebsd-update), or wider steps, e. g. from 8.3 to 8.4 (using sources per CVS)? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri May 4 16:43:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 53555106566C for ; Fri, 4 May 2012 16:43:53 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id DE4BC8FC15 for ; Fri, 4 May 2012 16:43:52 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q44Gin2r041736 for freebsd-questions@freebsd.org; Fri, 4 May 2012 11:44:49 -0500 (CDT) Date: Fri, 4 May 2012 11:44:49 -0500 (CDT) From: Robert Bonomi Message-Id: <201205041644.q44Gin2r041736@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120504164519.d04ba910.freebsd@edvax.de> Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 16:43:53 -0000 Polytropon wrote: > On Fri, 4 May 2012 04:14:05 -0500 (CDT), Robert Bonomi wrote: > > What is required is a differentation between the _kernel_ revision level, > > and the patchlevel of the entire base system. > > > > Store the kernel revision level -in- the kernel. Use the 'standard' > > THREE-level version numbering {Major}.{Minor}.{revision} for the kernel. > > Bump 'revision' for each set fo kernel patches. > > > > The patchlevel info for the base system can be a simple data file. > > I'd suggest a dotfile' in /etc, mode 644, with the followig flags > > set: 'system append only', 'system undlink'. > > > > Bump 'patchlevel' every time -anything- in the base system changes, > > regardless of whether it is part of the kernel or the 'world'. > > Interesting approach. Both files could also be header files > in /usr/include to store this information per #define. But > in fact, I like the /etc idea better. The 'state of the kernel' _belongs_ in /usr/src/sys, or similar. to be included in kernal builds, and where the *handful* of utilities -- e.g. lsof -- that are intimately coupled to the exact O/S version are already picking up 'system specific' gory details. /usr/include is definitely a 'wrong place'. Arguably, so is /etc. From the standpoint of 'a single place' for critical data, anything other than a kernel build should use what is in the 'uname' output. (See the notes on O'Brien, below.) _Very_few_ applications are concerned with the patchlevel of 'world'. rebuilding everything that #included a 'world patchlevel' file, when the only thing that changed was the patchlevel, is just plain silly. > Allow me to extent the approach: For -STABLE versions (e. g. if > updated per CVS), those files could contain the "build number" > and the date of the currently installed -STABLE "snapshot". Changes for 'other than that application' are -irrelevant- to any particular application. *PROPERLY* USED, CVS keywords provide automatic inclusion of this information -- for _every_ source module (.c or .h, and equivalents for other languages) in every executable build. For example, put the following lines in the start of every source module (before any '#include' lines); static char *_id = " @(#) $Id:$ " "\0\0" " @(#) Version: $Revision:$ Edited: $Date:$ " "\0\0" " @(#) Build: " __DATE__ " " __TIME__ " "; and similar lines in each #include (excluding the 'build' info), with the variable name being made 'unique' by appendinng the file name, and bracketed in #ifndef/#endif to ensure only a single inclusion in a given mudule. Recognizing that '@(#)' is a 'magic sequence' used by SCCS, and utilized by what(1). if 'what' is not available, it can be simulated by; strings {foo} | awk '/^@(#) / { $1=""; print; }' Add a similarly-constructed '_id_header' in the 'main' module, (making sure that 'main' is named first on the linker line) which provides a label, the 'published' Major/minor/revision number and a 'counter' of the number of builds (doe with a one-liner addition in the makefile target that builds the executable, and you get results like THIS: % what milter_daemon milter_daemon: version-control Version: 1.1.0(368) ---------------- milter_daemon.c,v 1.34 2010/11/04 23:54:02 bonomi Exp Version: 1.34 Edited: 2010/11/04 23:54:02 Build: Dec 20 2010 02:49:47 testharness.h,v 1.5 2010/11/04 23:53:37 bonomi Exp Version: 1.5 Edited: 2010/11/04 23:53:37 milter_includes.h,v 1.5 2010/11/04 23:53:37 bonomi Exp Version: 1.5 Edited: 2010/11/04 23:53:37 pass_dict.h,v 1.4 2010/11/04 23:53:37 bonomi Exp Version: 1.4 Edited: 2010/11/04 23:53:37 headers.h,v 1.4 2010/10/02 00:12:56 bonomi Exp Version: 1.4 Edited: 2010/10/02 00:12:56 mime_subs.h,v 1.4 2010/11/04 23:53:37 bonomi Exp Version: 1.4 Edited: 2010/11/04 23:53:37 milter_config_file.h,v 1.25 2010/11/27 21:43:02 bonomi Exp Version: 1.25 Edited: 2010/11/27 21:43:02 postfixer.h,v 1.8 2010/11/04 23:53:37 bonomi Exp Version: 1.8 Edited: 2010/11/04 23:53:37 mlfi_priv.h,v 1.9 2010/10/05 16:18:15 bonomi Exp Version: 1.9 Edited: 2010/10/05 16:18:15 checklists.h,v 1.3 2010/09/16 18:27:51 bonomi Exp Version: 1.3 Edited: 2010/09/16 18:27:51 per_user_config.h,v 1.2 2010/10/25 22:45:37 bonomi Exp Version: 1.2 Edited: 2010/10/25 22:45:37 pass_dictionary.c,v 1.5 2010/11/04 23:54:02 bonomi Exp Version: 1.5 Edited: 2010/11/04 23:54:02 Build: Dec 20 2010 02:49:49 headers.c,v 1.4 2010/10/02 00:12:56 bonomi Exp Version: 1.4 Edited: 2010/10/02 00:12:56 Build: Dec 20 2010 02:49:52 headers.h,v 1.4 2010/10/02 00:12:56 bonomi Exp Version: 1.4 Edited: 2010/10/02 00:12:56 mime_subs.c,v 1.5 2010/11/04 23:54:02 bonomi Exp Version: 1.5 Edited: 2010/11/04 23:54:02 Build: Dec 20 2010 02:49:52 mime_subs.h,v 1.4 2010/11/04 23:53:37 bonomi Exp Version: 1.4 Edited: 2010/11/04 23:53:37 shm_subs.c,v 1.10 2010/11/04 23:54:02 bonomi Exp Version: 1.10 Edited: 2010/11/04 23:54:02 Build: Dec 20 2010 02:49:46 milter_config_file.h,v 1.25 2010/11/27 21:43:02 bonomi Exp Version: 1.25 Edited: 2010/11/27 21:43:02 postfixer.h,v 1.8 2010/11/04 23:53:37 bonomi Exp Version: 1.8 Edited: 2010/11/04 23:53:37 shm_subs.h,v 1.7 2010/09/16 18:27:51 bonomi Exp Version: 1.7 Edited: 2010/09/16 18:27:51 shmblock.h,v 1.13 2010/11/27 21:43:02 bonomi Exp Version: 1.13 Edited: 2010/11/27 21:43:02 ... ... Given such output two different versions of the same executable, and by running a diff you know _exactly_ what modules changed, and what versions of those modules you need to compare to see -what- is different. This is _amazingly_ useful when chasing down 'something that _did_ work' but now *doesn't*. Its also D*MN useful if you ever need to reconstruct a makefile for a particular version. > A separation of a "kernel version file" and a "world version > file" is useful in cases the kernel won't be touched, so no > need to update its version file (as well as the kernel itself) > by a binary update. > > The files should be easily parsable. They could even contain > an assignment in sh syntax, as well as comments (for BSDL and > $FreeBSD$ information). Their templates could be stored in > the /usr/src subtree for the etc/ structure, so programs like > "make" and "mergemaster" could access them from there. > > Maybe a binary command could be added to the base system to > query this information (maybe "getent" could do that?). See above. Done 'right', this stuff is already all there, with _existing- tools. > Maybe things also present in "uname -a" output (such as architecture > and OS name) could be included, but I think that's not required > because it's mostly obvious. :-) Note; things that are readily 'available elsewhere' should -not- be included in anything. Keep the 'official' stuff in *one* place. let anything that needs it consult the 'offiical' values, rather than some 'non-authoritative' (and possibly inconsistent) copy. If it is in uname output, anything (other than uname, obviously) that needs it should get it _from_ uname. > > Both kernel revision level and 'world' patchlevel are reset -only- > > when a new minor (or major) release of the O/S is installed. Aside > > from that, they increment semi-independantly -- 'world' patchlevel > > is always greater-equal to kernel revision level. > > > > Ideally, this is a _log_ of all the actual changes, something along the > > lines of: > > > > BEGIN updates > > updated {foo}, Vers x.y.z, old file renamed to {foo}.x.y.x-replaced > > patchfile {foo1} for {pathname}, patch application succeeded > > patchfile {foo2} for {pathname}, patch application FAILED > > obselete file {foo3} renamed to {foo3}.x.y.z-obselete > > END updates Now at patchlevel {quux} > > > > For 'audit' purposes', every line is prefixed with > > timestamp, > > login username/effective UID(as a username) > > the tty device from which the action was performed. > > > > When a new release of the O/S is installed, the patchlog file is renamed > > or deleted, and a single line of the form: > > > > END install Now at patchlevel 0 > > > > is written. Thus there is always an END line with the patchlevel ID. > > > > The numeric patchlevel is written as a fixed-width *right-justiied* field. > > > > Thus, the last 'END' starts at a 'known' position before the end of the > > file, allowing an application to do a direct fseek(3)/lseek(2) to it (or > > the patchlevel) without having to read the entire file. ('install' and > > 'updates' are chosen with malice aforethought, they're the same length ;) > > > > From the command-line, 'tail -1 {patchlog}' gets everything. > > Also very nice. By simply _viewing_ the file, the most non-current > version will be discovered, so maybe (just _maybe_) re-ordering them > in upside-down (newest version on top) would be better? Definitely -not-. You obviously didn't notice that the file flags are 'sysem append only'. The entire point of my proposal is to make it an IMMUTATABLE RECORD of 'what was done'. 'add to top' has several disadvantages. First, a performance issue, you do have to read down the log to find the first 'END' line rather than being able to seek directly to it. Second, and the *BIG* one, you risk destroying the prior information by re-writing the file. Third, it makes it easier for a 'malicious' update to cover it's tracks. You are, I'm sure, familiar with "Murphy's Law". (Who was, by the way, a real person.) Let me introduce you to, "O'Brien's Law" -- it says, very simply, and pithily, "Murphy was an OPTIMIST!!!" For systems work, and expecilly 'logging' it is imperative to prevent any opportunity for O'Brien to get any handhold/traction on the situation. 'Add to top' _does_ give O'Brien some possible knobs to twist. Until you learn to "think like O'Brien", staying ahead of him requires a -lot- of forethought. When you learn to design stuff that _you_ can't break -- even if you are deliberately trying -- life gets a lot easier. *GRIN* > > With this kind of setup, and assuming that all distributed patchfiles have > > 'unique' names, the 'patchlog' provides a roadmap for reconstructing the > > state of the kernel and 'world' as of any particular point in time. > > > > AT LEAST as important, it provides a record that would let one 'back out' > > an update, to revert to a prior system state, if needed. In fact, it > > would be 'easy' to have automation perform that task. > > How about performing "version skips", e. g. from -p1 to -p4 > directly (using freebsd-update), or wider steps, e. g. from > 8.3 to 8.4 (using sources per CVS)? Like the Nike trademark says, "Just Do It!" If you do a direct update from -p1 to -p4, then when you 'unroll' the update, you'd revert to -p1. No way to revert directly to -p3 -- you "don't know" what changes were not in -p3. To go from -p4 to -p3 in that situation, you'd have to revert to -p1, then apply -p3. As for an O/S minor-version (or major, for that matter) update, that is outside the realm of a 'patchlevel management' system. Hopefully the version upgrade process has its -own- provisions to (a) back up, and (b) *log*, what is changed. Since that version upgrade process -would- involve changing/ replacing the above-described 'patchlog', It would require a -minor- additional tweak to back up 'obseleted' patchlog, in addition to the tweak to install the new 'one-line' patchlog described above.. From owner-freebsd-questions@FreeBSD.ORG Fri May 4 16:50:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2A4A1065670 for ; Fri, 4 May 2012 16:50:43 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 72A688FC1C for ; Fri, 4 May 2012 16:50:43 +0000 (UTC) Received: from www.magehandbook.com (archersrock.info [192.168.1.100]) by mail.magehandbook.com (Postfix) with ESMTP id 3VkfNr64Ngzs6 for ; Fri, 4 May 2012 12:50:36 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 04 May 2012 12:50:36 -0400 From: Daniel Staal To: Mail-Reply-To: In-Reply-To: <20120504164519.d04ba910.freebsd@edvax.de> References: <4FA38AB8.7010806@infracaninophile.co.uk> <201205040914.q449E5iZ037677@mail.r-bonomi.com> <20120504164519.d04ba910.freebsd@edvax.de> Message-ID: <5185f3974780d202f94939293ef65396@mail.magehandbook.com> X-Sender: DStaal@usa.net User-Agent: Roundcube Webmail/RCMAIL_VERSION Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: DStaal@usa.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 16:50:43 -0000 On 2012-05-04 10:45, Polytropon wrote: > Allow me to extent the approach: For -STABLE versions (e. g. if > updated per CVS), those files could contain the "build number" > and the date of the currently installed -STABLE "snapshot". > > A separation of a "kernel version file" and a "world version > file" is useful in cases the kernel won't be touched, so no > need to update its version file (as well as the kernel itself) > by a binary update. > > The files should be easily parsable. They could even contain > an assignment in sh syntax, as well as comments (for BSDL and > $FreeBSD$ information). Their templates could be stored in > the /usr/src subtree for the etc/ structure, so programs like > "make" and "mergemaster" could access them from there. > > Maybe a binary command could be added to the base system to > query this information (maybe "getent" could do that?). > > Here are some suggestions: > > /etc/kernversion > VERSION="8.2" > BRANCH="STABLE" > BUILD="12345" > DATE="2011-08-01 12:34:56" > > or > > /etc/kernversion > VERSION="8.4" > BRANCH="RELEASE" > PATCH="2" > DATE="2012-02-02 02:02:02" > > /etc/sysversion > VERSION="8.4" > BRANCH="RELEASE" > PATCH="4" > DATE="2012-04-04 04:04:04" > > This shows: Kernel has last been updated to patchlevel 2 (to > check with "uname -r" will show that version), but the system > has been updated two more times to patchlevel 4. > > The notation could be X.Y-pZ or X.Y.Z for -RELEASE installations, > and X.Y-B for -STABLE installations. However, it's not hard to > write any custom "parser and composer" if urgently needed. > > Maybe things also present in "uname -a" output (such as architecture > and OS name) could be included, but I think that's not required > because it's mostly obvious. :-) I think you could still get a machine-parseable version on one line, that's also a bit nicer for human reading. Perhaps something like this? (Partly inspired by RedHat's /etc/redhat-release) /etc/sysversion FreeBSD RELEASE 8.4-p4: 2012-04-04 04:04:04 You should be able to parse that with a few lines of C or shell, and it looks like something set up to be read by humans. You just need to define - and stick to - which pieces of information will be in there in what order. (For instance, I'd prefer '9.0-p0' to '9.0' Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Fri May 4 17:00:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACADC10656B7 for ; Fri, 4 May 2012 17:00:35 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 509FB8FC15 for ; Fri, 4 May 2012 17:00:35 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q44H1dr9041925; Fri, 4 May 2012 12:01:39 -0500 (CDT) Date: Fri, 4 May 2012 12:01:39 -0500 (CDT) From: Robert Bonomi Message-Id: <201205041701.q44H1dr9041925@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <4FA3C7A1.6040908@zedat.fu-berlin.de> Cc: ohartman@zedat.fu-berlin.de Subject: Re: editors/libreoffice:internal build errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 17:00:35 -0000 "Hartmann, O." wrote: > Cc: > Subject: editors/libreoffice:internal build errors: ERROR: error 65280 > > I found myself incapable of rebuilding/updating editors/libreoffice on > ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms with the > very same error message as shown below. Not to be obnoxious did you try doing what was recommended _in_the_error_ _message_? If so, what were the results of -that-? If not, _why_ not? From owner-freebsd-questions@FreeBSD.ORG Fri May 4 17:25:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F25106564A for ; Fri, 4 May 2012 17:25:51 +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 215CE8FC08 for ; Fri, 4 May 2012 17:25:51 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SQMGM-00019X-7g>; Fri, 04 May 2012 19:25:50 +0200 Received: from e178032166.adsl.alicedsl.de ([85.178.32.166] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SQMGM-0003Vz-47>; Fri, 04 May 2012 19:25:50 +0200 Message-ID: <4FA4111D.2060001@zedat.fu-berlin.de> Date: Fri, 04 May 2012 19:25:49 +0200 From: "Hartmann, O." Organization: FU Berlin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120504 Thunderbird/12.0.1 MIME-Version: 1.0 To: Robert Bonomi References: <201205041701.q44H1dr9041925@mail.r-bonomi.com> In-Reply-To: <201205041701.q44H1dr9041925@mail.r-bonomi.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.32.166 Cc: freebsd-questions@freebsd.org Subject: Re: editors/libreoffice:internal build errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 17:25:51 -0000 On 05/04/12 19:01, Robert Bonomi wrote: > "Hartmann, O." wrote: >> Cc: >> Subject: editors/libreoffice:internal build errors: ERROR: error 65280 >> >> I found myself incapable of rebuilding/updating editors/libreoffice on >> ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms with the >> very same error message as shown below. > > Not to be obnoxious did you try doing what was recommended _in_the_error_ > _message_? > > If so, what were the results of -that-? > > If not, _why_ not? > I did, I did and it ended up as it ended up in the past 5 years with Open-/LibreOffice and FreeBSD. It doesn't work. From owner-freebsd-questions@FreeBSD.ORG Fri May 4 17:30:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F96A106566B for ; Fri, 4 May 2012 17:30:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 269608FC17 for ; Fri, 4 May 2012 17:30:13 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id B286E3D003; Fri, 4 May 2012 19:30:05 +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 q44HU4NO002306; Fri, 4 May 2012 19:30:04 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 4 May 2012 19:30:04 +0200 From: Polytropon To: Robert Bonomi Message-Id: <20120504193004.c749ce16.freebsd@edvax.de> In-Reply-To: <201205041644.q44Gin2r041736@mail.r-bonomi.com> References: <20120504164519.d04ba910.freebsd@edvax.de> <201205041644.q44Gin2r041736@mail.r-bonomi.com> 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 Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 17:30:13 -0000 First of all, thanks for explaining your point of view. Allow me to add a few thoughts: On Fri, 4 May 2012 11:44:49 -0500 (CDT), Robert Bonomi wrote: > > Polytropon wrote: > > On Fri, 4 May 2012 04:14:05 -0500 (CDT), Robert Bonomi wrote: > > > What is required is a differentation between the _kernel_ revision level, > > > and the patchlevel of the entire base system. > > > > > > Store the kernel revision level -in- the kernel. Use the 'standard' > > > THREE-level version numbering {Major}.{Minor}.{revision} for the kernel. > > > Bump 'revision' for each set fo kernel patches. > > > > > > The patchlevel info for the base system can be a simple data file. > > > I'd suggest a dotfile' in /etc, mode 644, with the followig flags > > > set: 'system append only', 'system undlink'. > > > > > > Bump 'patchlevel' every time -anything- in the base system changes, > > > regardless of whether it is part of the kernel or the 'world'. > > > > Interesting approach. Both files could also be header files > > in /usr/include to store this information per #define. But > > in fact, I like the /etc idea better. > > The 'state of the kernel' _belongs_ in /usr/src/sys, or similar. to be > included in kernal builds, and where the *handful* of utilities -- e.g. > lsof -- that are intimately coupled to the exact O/S version are already > picking up 'system specific' gory details. Correct. I appreciate the idea of having _one_ centralized point for that information that is "authoritative" regarding all queries. Like "uname" displays several aspects of the kernel's data, it is limited in some regards: For example, if you have updated the system the binary way to -p3 which included a kernel change, uname will report that -p3 properly. If you follow -STABLE, you don't get the information of what "build" you currently have, so you cannot put it into relation "after what -p we currently are". % uname -r 8.2-STABLE I know there is some file in /usr/src where the "build" number can be obtained from (I think it's a #define), but it's not included in the kernel "queryable" data. > /usr/include is definitely a 'wrong place'. Arguably, so is /etc. > From the standpoint of 'a single place' for critical data, anything other > than a kernel build should use what is in the 'uname' output. (See the > notes on O'Brien, below.) > > _Very_few_ applications are concerned with the patchlevel of 'world'. > rebuilding everything that #included a 'world patchlevel' file, when > the only thing that changed was the patchlevel, is just plain silly. Oh, I didn't think about recompiling any stuff "against" such a header file. I did primarily assume it as a kind of "purely informative source", which could also be provided by a plain text file. > *PROPERLY* USED, CVS keywords provide automatic inclusion of this > information -- for _every_ source module (.c or .h, and equivalents for > other languages) in every executable build. Correct, but obtaining such data is often not possible by the application itself (except it has an extended "version option" or it includes that info in a help screen). For the kernel, uname prints various information (which are obtained from the kernel directly, which is good), but what program can do the same for the system? > See above. > Done 'right', this stuff is already all there, with _existing- tools. Not fully, if I see it correctly. E. g., what "build" number has a particular -STABLE installation? Or, if kernel and world are able to be updated independently - no kernel change, but a program change from -p to -p will leave the kernel's uname -r at -p, so how to tell easily that the world is at -p? > > Also very nice. By simply _viewing_ the file, the most non-current > > version will be discovered, so maybe (just _maybe_) re-ordering them > > in upside-down (newest version on top) would be better? > > Definitely -not-. > > You obviously didn't notice that the file flags are 'sysem append only'. Oh, I noticed that, and I know "appending on top" is always more complicated than appending (in the precise sense of what "to append" means). :-) > The entire point of my proposal is to make it an IMMUTATABLE RECORD of > 'what was done'. 'add to top' has several disadvantages. First, > a performance issue, you do have to read down the log to find the > first 'END' line rather than being able to seek directly to it. > Second, and the *BIG* one, you risk destroying the prior information > by re-writing the file. Third, it makes it easier for a 'malicious' > update to cover it's tracks. Additionally, _undoing_ operations would also be logged - not by omitting lines, but by a proper record that states how things have been reverted to a previous level, which is also very good for diagnostics. > Until you learn to "think like O'Brien", staying ahead of him requires a > -lot- of forethought. Oh, I often "think like O'Brien", and I don't remember, especially when I'm talking to 6079 Smith W., machen Sie die Augen auf! :-) On topic again: > When you learn to design stuff that _you_ can't break -- even if you are > deliberately trying -- life gets a lot easier. *GRIN* Very true. The idea of "proper append-only" and continuous logging is familiar to me in terms of database operations. Any state can be constructed from a proper log. In an extended approach, CVS uses the "only add information, not delete them" to manage versions, which is like "database, undelete, any version, progress meter and logging" all in one. :-) > If you do a direct update from -p1 to -p4, then when you 'unroll' the update, > you'd revert to -p1. No way to revert directly to -p3 -- you "don't know" > what changes were not in -p3. To go from -p4 to -p3 in that situation, you'd > have to revert to -p1, then apply -p3. That's the logical conclusion, I didn't argue against it. > As for an O/S minor-version (or major, for that matter) update, that is > outside the realm of a 'patchlevel management' system. Hopefully the version > upgrade process has its -own- provisions to (a) back up, and (b) *log*, what > is changed. Since that version upgrade process -would- involve changing/ > replacing the above-described 'patchlog', It would require a -minor- > additional tweak to back up 'obseleted' patchlog, in addition to the tweak to > install the new 'one-line' patchlog described above.. And it would solve the "controversy of kernel patch level vs. world patch level", and how to get the corresponding numbers. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri May 4 17:40:12 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56DCB106566C for ; Fri, 4 May 2012 17:40:12 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D4F068FC0C for ; Fri, 4 May 2012 17:40:11 +0000 (UTC) Received: by weyt57 with SMTP id t57so2552473wey.13 for ; Fri, 04 May 2012 10:40:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to :x-gm-message-state; bh=7aaOy+gxmRp/lJNGPPPfpAM0A1r/z+k5mQC3HFEDOxg=; b=SJ4g90W4IjKIXfIILO+DD4+yAN17CPHpdW6m5n5udtQaGyia98+hC9b0SL4j4qgzb9 zgul5kUtG8QoSXhFhyHTSrD5URQFznH2kKIx2GQHuYoaD9gyukHEjeLS9ESrQD6Kgo61 x/c40CrzLMvVY0fAbpC9mhXE4yhYks1fjOfplWhMZKBdI2zbEGqNVGv2Vto1YW8RYUmi KkI3GUCke1Z5EPAR0Nr9YTeyCsKKWTamlxPZjInUS+7mEKSwacvXE5a6voenbJS6mK5T wbkSZna7raCQRMoyHxbIAWf7Tf9hC3pUbf2Z9lUTk5YqfeFuGfo31L43bSo7MdpatYvR b70g== Received: by 10.180.78.164 with SMTP id c4mr15010720wix.10.1336153210980; Fri, 04 May 2012 10:40:10 -0700 (PDT) Received: from [192.168.0.2] (gut75-1-82-67-177-56.fbx.proxad.net. [82.67.177.56]) by mx.google.com with ESMTPS id ca3sm2579323wib.6.2012.05.04.10.40.08 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 May 2012 10:40:09 -0700 (PDT) References: <4FA38AB8.7010806@infracaninophile.co.uk> <201205040914.q449E5iZ037677@mail.r-bonomi.com> <20120504164519.d04ba910.freebsd@edvax.de> In-Reply-To: <20120504164519.d04ba910.freebsd@edvax.de> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9A405) From: Damien Fleuriot Date: Fri, 4 May 2012 19:40:05 +0200 To: Polytropon X-Gm-Message-State: ALoCoQnKm830cvf3pWLUqegcTKvKzLooDSwP4tTb1u9g8Br+GMMzMwT0l11vKTrCT/6tDFeaU+6A Cc: "freebsd-questions@freebsd.org" , Robert Bonomi Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 17:40:12 -0000 On 4 May 2012, at 16:45, Polytropon wrote: > On Fri, 4 May 2012 04:14:05 -0500 (CDT), Robert Bonomi wrote: >> What is required is a differentation between the _kernel_ revision level,= >> and the patchlevel of the entire base system. >>=20 >> Store the kernel revision level -in- the kernel. Use the 'standard' >> THREE-level version numbering {Major}.{Minor}.{revision} for the kernel.= >> Bump 'revision' for each set fo kernel patches. >>=20 >> The patchlevel info for the base system can be a simple data file. >> I'd suggest a dotfile' in /etc, mode 644, with the followig flags >> set: 'system append only', 'system undlink'. >>=20 >> Bump 'patchlevel' every time -anything- in the base system changes, >> regardless of whether it is part of the kernel or the 'world'. >=20 > Interesting approach. Both files could also be header files > in /usr/include to store this information per #define. But > in fact, I like the /etc idea better. >=20 > Allow me to extent the approach: For -STABLE versions (e. g. if > updated per CVS), those files could contain the "build number" > and the date of the currently installed -STABLE "snapshot". I have massive love for this idea, having to check the kern build date to ha= ve a rough idea of what 8-STABLE I'm running is too prone to errors. From owner-freebsd-questions@FreeBSD.ORG Fri May 4 18:14:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C9101065672 for ; Fri, 4 May 2012 18:14:13 +0000 (UTC) (envelope-from kenneth.hatteland@kleppnett.no) Received: from asav3.lyse.net (asav3.lyse.net [81.167.37.131]) by mx1.freebsd.org (Postfix) with ESMTP id CD1648FC15 for ; Fri, 4 May 2012 18:14:12 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by asav3.lyse.net (Postfix) with ESMTP id 2641584093 for ; Fri, 4 May 2012 19:51:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at lyse.net Received: from terra?hatteland1.org (129.81-166-80.customer.lyse.net [81.166.80.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kenneth.hatteland@kleppnett.no) by asav3.lyse.net (Postfix) with ESMTP id 9B47984074 for ; Fri, 4 May 2012 19:51:53 +0200 (CEST) Message-ID: <4FA41738.4040901@kleppnett.no> Date: Fri, 04 May 2012 19:51:52 +0200 From: Kenneth Hatteland User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 18:14:13 -0000 Since the alpha forum for FreeBSD is closed, and there has not been Alpha support since 6.4 I wondered about which OS to install on a alpha server I am getting quite soon. I guess FreeBSD 6.4 is perhaps not the best since it is not maintained and the ports tree likewise ? So I checked the 2 other main contenders and just wanted to ask if anyone here had an opinion what 2 install of the BSDs ? Or perhaps FreeBSD 6.4 is a good choice ( I have not tested Open or Net BSD so FreeBSD is my hometurf) The machine will probably be a server to have fun with and hopefully learn something from. Perhaps some server role in my rig, routing, security etc..... Any advise would be nice :) Kenneth From owner-freebsd-questions@FreeBSD.ORG Fri May 4 19:43:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D32106564A; Fri, 4 May 2012 19:43:03 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from gw17.lax01.mailroute.net (lax-gw17.mailroute.net [199.89.0.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2E32F8FC0C; Fri, 4 May 2012 19:43:03 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gw17.lax01.mailroute.net (Postfix) with ESMTP id B8D3566608C; Fri, 4 May 2012 19:34:47 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from gw17.lax01.mailroute.net ([199.89.0.117]) by localhost (gw17.lax01.mailroute.net.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id 5OHUo9zEXZpN; Fri, 4 May 2012 19:34:45 +0000 (GMT) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by gw17.lax01.mailroute.net (Postfix) with ESMTP id DEE21666515; Fri, 4 May 2012 19:34:45 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id DA4692B78; Fri, 4 May 2012 12:34:45 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: vermaden References: x-mayan-date: Long count = 12.19.19.6.9; tzolkin = 7 Muluc; haab = 12 Uo Date: Fri, 04 May 2012 12:34:45 -0700 In-Reply-To: (vermaden@interia.pl's message of "Fri, 27 Apr 2012 01:08:33 +0200 (CEST)") Message-ID: <86ipgbg2p6.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 19:43:03 -0000 >>>>> "vermaden" == vermaden writes: vermaden> I have just created new HOWTO [1] on how to use Boot Environments on vermaden> FreeBSD with new created utility *beadm* that I put on vermaden> SourceForge [2]. I have zfs-on-root using the classical documentation (everything under zpool, possibly with some sub-mounts, but I've left those out lately). Is there a way to transition my system to a form that beadm expects? I tried just running it, and it's upset that zpool/ROOT doesn't exist. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Fri May 4 20:02:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B64211065677 for ; Fri, 4 May 2012 20:02:30 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9408FC0A for ; Fri, 4 May 2012 20:02:30 +0000 (UTC) Received: from gamma.lan.locolomo.org (gamma.lan.locolomo.org [192.168.0.33]) by mail.locolomo.org (Postfix) with ESMTPSA id C66B61C0841 for ; Fri, 4 May 2012 21:56:52 +0200 (CEST) Message-ID: <4FA43484.6020909@locolomo.org> Date: Fri, 04 May 2012 21:56:52 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120420 Thunderbird/12.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FA41738.4040901@kleppnett.no> In-Reply-To: <4FA41738.4040901@kleppnett.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 20:02:30 -0000 On 04/05/2012 19:51, Kenneth Hatteland wrote: > So I checked the 2 other main contenders and just wanted to ask if > anyone here had an opinion what 2 install of the BSDs ? Or perhaps > FreeBSD 6.4 is a good choice ( I have not tested Open or Net BSD so > FreeBSD is my hometurf) The machine will probably be a server to have > fun with and hopefully learn something from. Perhaps some server role in > my rig, routing, security etc..... > > Any advise would be nice :) A few things you could consider: - which OS seems to be the most active? I recall NetBSD was about a dead end a few years ago, but maybe they got back. - which OS seems to offer you the best learning oportunity? If you're interested in security OpenBSD might be a choice. ... but then, why not try both, it's free. Or consider something completely different? If I had to go BSD, and not FreeBSD, I'd go with OpenBSD for the security. But I'd much rather like to try a microkernel system like QNX if that would be an alternative. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157 From owner-freebsd-questions@FreeBSD.ORG Fri May 4 20:03:15 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C603106564A; Fri, 4 May 2012 20:03:15 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id C94EF8FC0C; Fri, 4 May 2012 20:03:14 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQOiZ-0002Sa-RS; Fri, 04 May 2012 21:03:08 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQOiZ-0001a7-LH; Fri, 04 May 2012 21:03:07 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q44K37Dq030467; Fri, 4 May 2012 21:03:07 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q44K37bt030466; Fri, 4 May 2012 21:03:07 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 4 May 2012 21:03:07 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Message-ID: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 20:03:15 -0000 I've US Robotics 5411 wireless pccard device. It's identified as: # pciconf -lv *skip* siba_bwn0@pci0:3:0:0: class=0x028000 card=0x431814e4 chip=0x431814e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller' class = network and from dmesg: siba_bwn0: mem 0xcc502000-0xcc503fff irq 20 at device 0.0 on cardbus0 bwn0 on siba_bwn0 bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f ver 0x2050 rev 8) bwn0: DMA (32 bits) I've build a kernel with bwn(4), loaded the firmware module: # kldstat Id Refs Address Size Name 1 4 0xffffffff80200000 104fb98 kernel 2 1 0xffffffff81412000 28aa1 bwn_v4_ucode.ko # I created wlan device: bwn0: flags=8843 metric 0 mtu 2290 ether 00:c0:49:58:00:fe nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:c0:49:58:00:fe inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL I run wpa_supplicant: # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) Associated with 00:18:39:e6:46:b6 WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] I got issued the ip address by my wireless router. I see the card on the router: DHCP Active IP Table DHCP Server IP Address: 192.168.1.1 Client Host Name IP Address MAC Address Expires 192.168.1.104 00:c0:49:58:00:fe 23:58:54 I get /etc/resolve.conf set up automatically (through the wired connection): % cat /etc/resolv.conf # Generated by resolvconf search cable.virginmedia.net nameserver 194.168.4.100 nameserver 194.168.8.100 But I just can't get the wireless connection, even to the router: % ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ^C On the console I see: RX decryption attempted (old 0 keyidx 0x1) RX decryption attempted (old 0 keyidx 0x1) RX decryption attempted (old 0 keyidx 0x1) RX decryption attempted (old 0 keyidx 0x1) firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) Please help What am I doing wrong? What else can I try? Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri May 4 20:45:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A612F106564A for ; Fri, 4 May 2012 20:45:19 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 317988FC08 for ; Fri, 4 May 2012 20:45:19 +0000 (UTC) Received: by bkvi17 with SMTP id i17so3530059bkv.13 for ; Fri, 04 May 2012 13:45:18 -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=lK9F/lNeW36pgMrdGl6tie3+tkqSuvnYjnS6WlExj70=; b=TTzcJyIYqfQELRlvtV3bZQMEDs+uE0vJxpB24Smh9RvJndb1DZeePEamqFQH5+AzFy CKmABj0m36F2yPzkaRA9zeKNCokPpT7vuIUbfSpTtqZOEKDIIYPRmSNkapIHk1B+HntC YP7nu7vK3dpKU9TRCQzBPXysmZZdWJapiI9wyr1O5TsS+Yd3TtkZ3oD40Ncs21ZL1fJh sqK5jJBPZgcJbjTGMjjnTtRO09zgu2Xzmn1p37R4TEACJhaIVSSmPucTOFS+D5RF/q74 l9lCUL7FdnYUldqD9CPMYDYW9VuStCtcENaYzcC9MgfC602U02F7zJjUHUJ9/rL0M6XJ vI8w== MIME-Version: 1.0 Received: by 10.205.133.210 with SMTP id hz18mr2521484bkc.117.1336164318029; Fri, 04 May 2012 13:45:18 -0700 (PDT) Received: by 10.204.157.11 with HTTP; Fri, 4 May 2012 13:45:17 -0700 (PDT) In-Reply-To: <4FA43484.6020909@locolomo.org> References: <4FA41738.4040901@kleppnett.no> <4FA43484.6020909@locolomo.org> Date: Fri, 4 May 2012 16:45:17 -0400 Message-ID: From: Outback Dingo To: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 20:45:19 -0000 On Fri, May 4, 2012 at 3:56 PM, Erik N=F8rgaard wro= te: > On 04/05/2012 19:51, Kenneth Hatteland wrote: > >> So I checked the 2 other main contenders and just wanted to ask if >> anyone here had an opinion what 2 install of the BSDs ? Or perhaps >> FreeBSD 6.4 is a good choice ( I have not tested Open or Net BSD so >> FreeBSD is my hometurf) The machine will probably be a server to have >> fun with and hopefully learn something from. Perhaps some server role in >> my rig, routing, security etc..... >> >> Any advise would be nice :) QNX will not run on the Alpha architecture, freeBSD 6.4 in my opinion is still the far better choice for anything alpha the only other thing i would recommend oin that platorm would be OpenVMS from the hobbyist kit. But then again I only run real Operating systems on my Alphas :) > > > A few things you could consider: > > - which OS seems to be the most active? I recall NetBSD was about a dead = end > a few years ago, but maybe they got back. > > - which OS seems to offer you the best learning oportunity? If you're > interested in security OpenBSD might be a choice. > > ... but then, why not try both, it's free. > > Or consider something completely different? If I had to go BSD, and not > FreeBSD, I'd go with OpenBSD for the security. But I'd much rather like t= o > try a microkernel system like QNX if that would be an alternative. > > BR, Erik > > -- > M: +34 666 334 818 > T: +34 915 211 157 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Fri May 4 21:04:22 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB706106564A for ; Fri, 4 May 2012 21:04:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7C99B8FC0C for ; Fri, 4 May 2012 21:04:22 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQPfp-0004Zs-48; Fri, 04 May 2012 22:04:21 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQPfo-0002A2-UC; Fri, 04 May 2012 22:04:20 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q44L4KBi030665; Fri, 4 May 2012 22:04:20 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q44L4Kge030664; Fri, 4 May 2012 22:04:20 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 4 May 2012 22:04:20 +0100 From: Anton Shterenlikht To: Outback Dingo Message-ID: <20120504210420.GA30610@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Outback Dingo , Erik N?rgaard , freebsd-questions@freebsd.org References: <4FA41738.4040901@kleppnett.no> <4FA43484.6020909@locolomo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 21:04:22 -0000 On Fri, May 04, 2012 at 04:45:17PM -0400, Outback Dingo wrote: > On Fri, May 4, 2012 at 3:56 PM, Erik N?rgaard wrote: > > On 04/05/2012 19:51, Kenneth Hatteland wrote: > > > >> So I checked the 2 other main contenders and just wanted to ask if > >> anyone here had an opinion what 2 install of the BSDs ? Or perhaps > >> FreeBSD 6.4 is a good choice ( I have not tested Open or Net BSD so > >> FreeBSD is my hometurf) The machine will probably be a server to have > >> fun with and hopefully learn something from. Perhaps some server role in > >> my rig, routing, security etc..... > >> > >> Any advise would be nice :) > > QNX will not run on the Alpha architecture, freeBSD 6.4 in my opinion > is still the far better choice for anything alpha > the only other thing i would recommend oin that platorm would be > OpenVMS from the hobbyist kit. But then again > I only run real Operating systems on my Alphas :) 6.4 is way past EOL. It's irresponsible to recommend it. I've run VMS on Alphas for several years, there's nothing wrong with it. Indeed, it's very good. Plus VMS Alpha is highly optimised. You are unlikely to get a similar performance from any other OS on this architecture. If you want to learn UNIX, then I strongly recommend FreeBSD, but do not use an obsolete version. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri May 4 21:16:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65F55106566B for ; Fri, 4 May 2012 21:16:39 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DD0C18FC1B for ; Fri, 4 May 2012 21:16:38 +0000 (UTC) Received: by bkvi17 with SMTP id i17so3552317bkv.13 for ; Fri, 04 May 2012 14:16:38 -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=K1caeucXZ2Mj2no1ZUquAatoqqhS5LXgHvPWl1F2dvg=; b=x5tCdPxVC3PC1iD5qM2UYt0xsb2prba0z1BEoaGf8zDhYIW+FP4hLTu6Z9rnkczlet hvkLkzL6x5qS3X/jPSs+cu4Hv+cbZIUoX0z0opJCuEmVtB/KeC8JbgNp7uvpNXAJEgLn wGUfz/tx0TvTaXdWgTWpFWVrwHJOTjlqSzxK0cP17HyblBm7HAggxdNlj/u1DLbKYiXm aV1HBj2YTUdE3aCJE5Gjv2BV/cABEbgpvRDWLD3Vx/P8cyTi0lyd4YPk+FTM/Ce4ZOIF p7M28QwzRleGiMohx/11NnwP9OUEGeIyjtd99KZO3BPFt/V9oOgBvaIO+Pn8FhhuztfW Gkng== MIME-Version: 1.0 Received: by 10.204.141.18 with SMTP id k18mr2640312bku.27.1336166197872; Fri, 04 May 2012 14:16:37 -0700 (PDT) Received: by 10.204.157.11 with HTTP; Fri, 4 May 2012 14:16:37 -0700 (PDT) In-Reply-To: <20120504210420.GA30610@mech-cluster241.men.bris.ac.uk> References: <4FA41738.4040901@kleppnett.no> <4FA43484.6020909@locolomo.org> <20120504210420.GA30610@mech-cluster241.men.bris.ac.uk> Date: Fri, 4 May 2012 17:16:37 -0400 Message-ID: From: Outback Dingo To: Outback Dingo , "Erik N?rgaard" , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 21:16:39 -0000 On Fri, May 4, 2012 at 5:04 PM, Anton Shterenlikht wrote: > On Fri, May 04, 2012 at 04:45:17PM -0400, Outback Dingo wrote: >> On Fri, May 4, 2012 at 3:56 PM, Erik N?rgaard wrote: >> > On 04/05/2012 19:51, Kenneth Hatteland wrote: >> > >> >> So I checked the 2 other main contenders and just wanted to ask if >> >> anyone here had an opinion what 2 install of the BSDs ? Or perhaps >> >> FreeBSD 6.4 is a good choice ( I have not tested Open or Net BSD so >> >> FreeBSD is my hometurf) The machine will probably be a server to have >> >> fun with and hopefully learn something from. Perhaps some server role in >> >> my rig, routing, security etc..... >> >> >> >> Any advise would be nice :) >> >> QNX will not run on the Alpha architecture, freeBSD 6.4 in my opinion >> is still the far better choice for anything alpha >> the only other thing i would recommend oin that platorm would be >> OpenVMS from the hobbyist kit. But then again >> I only run real Operating systems on my Alphas :) > > 6.4 is way past EOL. It's irresponsible to recommend it. > I've run VMS on Alphas for several years, > there's nothing wrong with it. Indeed, > it's very good. Plus VMS Alpha is > highly optimised. You are unlikely to > get a similar performance from any other > OS on this architecture. not sure about "irresponsible" its the only real obvious choice and im not sure there isnt capability to rebuild the world to a later FreeBSD version though not sure how late a version, even though supports been "dropped" doesnt mean it cant be bought up to 7X or 8x ... the codes still in the tree, and its simply a trial and error rebuild does anyone know what the latest buildable FreeBSD would be on alpha and what model alpha.... could be 9x for all we know, though unlikely. and VMS may rock but even more legacy the 6.4....... though tried and true i agree. > > If you want to learn UNIX, then I strongly > recommend FreeBSD, but do not use an > obsolete version. > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri May 4 21:37:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD6A3106566C; Fri, 4 May 2012 21:37:02 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.208]) by mx1.freebsd.org (Postfix) with ESMTP id 64FDE8FC0C; Fri, 4 May 2012 21:37:02 +0000 (UTC) Date: Fri, 04 May 2012 23:37:01 +0200 From: vermaden To: "Randal L. Schwartz" X-Mailer: interia.pl/pf09 In-Reply-To: <86ipgbg2p6.fsf@red.stonehenge.com> References: <86ipgbg2p6.fsf@red.stonehenge.com> Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1336167421; bh=/rcYKFSJMbRw2x6L3CccyMg3xtW4VA4Yv1y95HhrWpQ=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=F3nWlAaKeSAJwYDGGanCPCfpaDYJwBkGr22ajDI9wkgVel6sjJyTgUQieEevIZMAm 9taNdRoxc/6MmAqcpcHoqX6aIrV5XRr5/Uf/CkwHP4JFfbol+ZJmK1/k+p4BITobqr 2Se5Dreh2PHCAbJetMqH+xQorr/cNvOj3ENK7rEQ= Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 21:37:02 -0000 > I have zfs-on-root using the classical documentation (everything under > zpool, possibly with some sub-mounts, but I've left those out lately). >=20 > Is there a way to transition my system to a form that beadm expects? > I tried just running it, and it's upset that zpool/ROOT doesn't exist. Hi, I would suggest using something like that: # zfs create -o mountpoint=3Dnone zpool/ROOT # zfs snapshot zpool@be # zfs clone zpool@be zpool/ROOT/default # fetch https://github.com/vermaden/beadm/blob/master/beadm # chmod +x beadm # ./beadm list # ./beadm activate default # reboot Be sure to use the latest *beadm* from one of these: https://raw.github.com/vermaden/beadm/master/beadm https://sourceforge.net/projects/beadm/ Let me know how these instructions work, especially if You got any errors o= r an unbootable system. It would be best if You would test this zpool root to sys/ROOT/be transitio= n under VirtualBox for 100% safety ;) Regards, vermaden --=20 ... From owner-freebsd-questions@FreeBSD.ORG Fri May 4 21:44:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A49E4106566B for ; Fri, 4 May 2012 21:44:47 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 52B9E8FC12 for ; Fri, 4 May 2012 21:44:47 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q44Ljpbr044152 for freebsd-questions@freebsd.org; Fri, 4 May 2012 16:45:51 -0500 (CDT) Date: Fri, 4 May 2012 16:45:51 -0500 (CDT) From: Robert Bonomi Message-Id: <201205042145.q44Ljpbr044152@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120504193004.c749ce16.freebsd@edvax.de> Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 21:44:47 -0000 Polytropon wrote: > > First of all, thanks for explaining your point of view. > Allow me to add a few thoughts: > > On Fri, 4 May 2012 11:44:49 -0500 (CDT), Robert Bonomi wrote: > > > > Polytropon wrote: > > > On Fri, 4 May 2012 04:14:05 -0500 (CDT), Robert Bonomi wrote: > > > > What is required is a differentation between the _kernel_ revision level, > > > > and the patchlevel of the entire base system. > > > > > > > > Store the kernel revision level -in- the kernel. Use the 'standard' > > > > THREE-level version numbering {Major}.{Minor}.{revision} for the kernel. > > > > Bump 'revision' for each set fo kernel patches. > > > > > > > > The patchlevel info for the base system can be a simple data file. > > > > I'd suggest a dotfile' in /etc, mode 644, with the followig flags > > > > set: 'system append only', 'system undlink'. > > > > > > > > Bump 'patchlevel' every time -anything- in the base system changes, > > > > regardless of whether it is part of the kernel or the 'world'. > > > > > > Interesting approach. Both files could also be header files > > > in /usr/include to store this information per #define. But > > > in fact, I like the /etc idea better. > > > > The 'state of the kernel' _belongs_ in /usr/src/sys, or similar. to be > > included in kernal builds, and where the *handful* of utilities -- e.g. > > lsof -- that are intimately coupled to the exact O/S version are already > > picking up 'system specific' gory details. > > Correct. I appreciate the idea of having _one_ centralized > point for that information that is "authoritative" regarding > all queries. Like "uname" displays several aspects of the > kernel's data, it is limited in some regards: > > For example, if you have updated the system the binary > way to -p3 which included a kernel change, uname will > report that -p3 properly. If you follow -STABLE, you > don't get the information of what "build" you currently > have, so you cannot put it into relation "after what > -p we currently are". > > % uname -r > 8.2-STABLE "uname -v", maybe ?? > > /usr/include is definitely a 'wrong place'. Arguably, so is /etc. > > From the standpoint of 'a single place' for critical data, anything other > > than a kernel build should use what is in the 'uname' output. (See the > > notes on O'Brien, below.) > > > > _Very_few_ applications are concerned with the patchlevel of 'world'. > > rebuilding everything that #included a 'world patchlevel' file, when > > the only thing that changed was the patchlevel, is just plain silly. > > > Oh, I didn't think about recompiling any stuff "against" > such a header file. I did primarily assume it as a kind > of "purely informative source", which could also be provided > by a plain text file. Then it -definitely- doesn't belong in the 'include' hierarchy. :) /etc is the proper place. > > *PROPERLY* USED, CVS keywords provide automatic inclusion of this > > information -- for _every_ source module (.c or .h, and equivalents for > > other languages) in every executable build. > > Correct, but obtaining such data is often not possible by the > application itself (except it has an extended "version option" > or it includes that info in a help screen). An app generally only needs to know the version information about itself. That info can be compiled in via proper use of CVS keywords. The app can access the internal variables containing the compiled-in data and parse those 'known-format' strings to extract specific subfields.. If needed 'externally', then what(1), as I showed, can provide _lots_ of info about the executable. You don't -need- an 'extended version' option, or an 'about' screen. what(1) ("second base!" :) is all you need. If one app is going to invoke another app, and needs to check version 'compatibility', then the app that is beinn invoked pretty much must have a capability -- e.g. a '--version' option -- to report it's version. If you're talking about trying to associate a particular patch/revison level of a particular program with a partiular 'world' patchlevel. That is a very different problem, and requires a separate separate solution, something like a 'correlation' database. > For the kernel, uname prints various information (which are > obtained from the kernel directly, which is good), but what > program can do the same for the system? For kernel info, any program that can 'popen' for write "uname -a". *grin* For the patchlevel of the 'world', TTBOMK it isn't recorded anywhere conveniently accessible. Thus the proposal for the /etc/{patchlog} file with a specific 'well defined' format -- to provide *the* (single) 'authoritative' place where such information is to be stored. > Not fully, if I see it correctly. E. g., what "build" number > has a particular -STABLE installation? Or, if kernel and world > are able to be updated independently - no kernel change, but a > program change from -p to -p will leave the > kernel's uname -r at -p, so how to tell easily that > the world is at -p? It doesn't presently exist. That's precisely what the solution I proposed addresses. In the complete solution I proposed, 'tail -1 /etc/{patchlog' Or, for a program, one can popen() that command, and read the output or even #include #include fd=fopen(PATCHLOG,"r"); fseek(fd,PATCHLOG_LAST,SEEK_END); fgets(line,sizeof(line),fd) > > The entire point of my proposal is to make it an IMMUTATABLE RECORD of > > 'what was done'. 'add to top' has several disadvantages. First, > > a performance issue, you do have to read down the log to find the > > first 'END' line rather than being able to seek directly to it. > > Second, and the *BIG* one, you risk destroying the prior information > > by re-writing the file. Third, it makes it easier for a 'malicious' > > update to cover it's tracks. > > Additionally, _undoing_ operations would also be logged - not > by omitting lines, but by a proper record that states how things > have been reverted to a previous level, which is also very good > for diagnostics. If it's being done by automation, it can either log all the individual 'undo' changes, or just log a 'reverting to patchlevel {foo} line. There are benefits to both approaches. If it's a 'manual' reversion, there's no way to guarantee anything gets added to the log. > > When you learn to design stuff that _you_ can't break -- even if you are > > deliberately trying -- life gets a lot easier. *GRIN* > > Very true. The idea of "proper append-only" and continuous logging > is familiar to me in terms of database operations. Any state can be > constructed from a proper log. In an extended approach, CVS uses > the "only add information, not delete them" to manage versions, > which is like "database, undelete, any version, progress meter > and logging" all in one. :-) > I used to do work for the financial/brokerage industry. There is a saying that "for any foolproof system there exists a _sufficiently_determined_ fool capable of breaking it." I can state, from years of experience, that that industry has a *LOT* of 'sufficiently determined' fools. and it's -never- their fault, and you have to fix it *IMMEDIATELY*, every second their app is off line costs ${BIG_BUCKS} > > > > If you do a direct update from -p1 to -p4, then when you 'unroll' the > > update, you'd revert to -p1. No way to revert directly to -p3 -- you > > "don't know" what changes were not in -p3. To go from -p4 to -p3 in > > that situation, you'd have to revert to -p1, then apply -p3. > > That's the logical conclusion, I didn't argue against it. Didn't claim you did. :) You asked a "what if", I just covered all the bases. > > As for an O/S minor-version (or major, for that matter) update, that is > > outside the realm of a 'patchlevel management' system. Hopefully the > > version upgrade process has its -own- provisions to (a) back up, and > > (b) *log*, what is changed. Since that version upgrade process -would- > > involve changing/eplacing the above-described 'patchlog', It would > > require a -minor- additional tweak to back up 'obseleted' patchlog, in > > addition to the tweak to install the new 'one-line' patchlog described > > above.. > > And it would solve the "controversy of kernel patch level vs. > world patch level", and how to get the corresponding numbers. I would *hope* so!! *grin* That was the problem that it was _designed_ to solve, after all.. From owner-freebsd-questions@FreeBSD.ORG Fri May 4 21:55:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6975B106564A for ; Fri, 4 May 2012 21:55:46 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 18AAE8FC23 for ; Fri, 4 May 2012 21:55:46 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q44LuX8e044219; Fri, 4 May 2012 16:56:33 -0500 (CDT) Date: Fri, 4 May 2012 16:56:33 -0500 (CDT) From: Robert Bonomi Message-Id: <201205042156.q44LuX8e044219@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Cc: mexas@bristol.ac.uk Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 21:55:46 -0000 Anton Shterenlikht wrote: > I've US Robotics 5411 wireless pccard device. > It's identified as: > > # pciconf -lv > *skip* > siba_bwn0@pci0:3:0:0: class=0x028000 card=0x431814e4 chip=0x431814e4 rev=0x02 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller' > class = network > > and from dmesg: > > siba_bwn0: mem 0xcc502000-0xcc503fff irq 20 at device 0.0 on cardbus0 > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f ver 0x2050 rev 8) > bwn0: DMA (32 bits) > > I've build a kernel with bwn(4), > loaded the firmware module: > > # kldstat > Id Refs Address Size Name > 1 4 0xffffffff80200000 104fb98 kernel > 2 1 0xffffffff81412000 28aa1 bwn_v4_ucode.ko > # > > I created wlan device: > > bwn0: flags=8843 metric 0 mtu 2290 > ether 00:c0:49:58:00:fe > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:c0:49:58:00:fe > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > status: associated > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme roaming MANUAL > > I run wpa_supplicant: > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) > Associated with 00:18:39:e6:46:b6 > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] > > I got issued the ip address by my wireless router. > > I see the card on the router: > > DHCP Active IP Table > DHCP Server IP Address: 192.168.1.1 > Client Host Name IP Address MAC Address Expires > 192.168.1.104 00:c0:49:58:00:fe 23:58:54 > > > I get /etc/resolve.conf set up automatically > (through the wired connection): > > % cat /etc/resolv.conf > # Generated by resolvconf > search cable.virginmedia.net > nameserver 194.168.4.100 > nameserver 194.168.8.100 > > > But I just can't get the wireless connection, > even to the router: > > % ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C > > On the console I see: > > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) > > > Please help It looks like you're missing a route. I suspect you've got a wired ethernet port, that is being conigured with a default address. and the default route points -there-. Please show the output of 'ifconfig -a', and 'netstat -nr'. From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:02:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A917106564A; Fri, 4 May 2012 22:02:03 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from gw16.lax01.mailroute.net (lax-gw16.mailroute.net [199.89.0.116]) by mx1.freebsd.org (Postfix) with ESMTP id 19AC48FC1A; Fri, 4 May 2012 22:02:03 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gw16.lax01.mailroute.net (Postfix) with ESMTP id F1FE55BC325; Fri, 4 May 2012 21:57:42 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from gw16.lax01.mailroute.net ([199.89.0.116]) by localhost (gw16.lax01.mailroute.net.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id 33wcWSFHg_Wp; Fri, 4 May 2012 21:57:41 +0000 (GMT) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by gw16.lax01.mailroute.net (Postfix) with ESMTP id CEA235BC2FB; Fri, 4 May 2012 21:57:41 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id BB06D218E; Fri, 4 May 2012 14:57:41 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: vermaden References: <86ipgbg2p6.fsf@red.stonehenge.com> x-mayan-date: Long count = 12.19.19.6.9; tzolkin = 7 Muluc; haab = 12 Uo Date: Fri, 04 May 2012 14:57:41 -0700 In-Reply-To: (vermaden@interia.pl's message of "Fri, 04 May 2012 23:37:01 +0200") Message-ID: <86d36jzk16.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:02:03 -0000 >>>>> "vermaden" == vermaden writes: vermaden> # fetch https://github.com/vermaden/beadm/blob/master/beadm Heh. That's HTML. I think you want fetch https://raw.github.com/vermaden/beadm/master/beadm vermaden> # chmod +x beadm vermaden> # ./beadm list vermaden> # ./beadm activate default vermaden> # reboot vermaden> Be sure to use the latest *beadm* from one of these: vermaden> https://raw.github.com/vermaden/beadm/master/beadm vermaden> https://sourceforge.net/projects/beadm/ vermaden> Let me know how these instructions work, especially if You got vermaden> any errors or an unbootable system. Oh, that worked perfectly, except for an error message during the create. and after reboot, "zfs set mountpoint=none zroot" would also seem to clean that up. vermaden> It would be best if You would test this zpool root to sys/ROOT/be transition under VirtualBox for 100% safety ;) vermaden> Regards, vermaden> vermaden vermaden> -- vermaden> ... vermaden> _______________________________________________ vermaden> freebsd-questions@freebsd.org mailing list vermaden> http://lists.freebsd.org/mailman/listinfo/freebsd-questions vermaden> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:05:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 347EB106566B for ; Fri, 4 May 2012 22:05:46 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id D1D848FC12 for ; Fri, 4 May 2012 22:05:45 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 0C7003CF53; Sat, 5 May 2012 00:05:43 +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 q44M5gpr003003; Sat, 5 May 2012 00:05:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 May 2012 00:05:42 +0200 From: Polytropon To: Robert Bonomi Message-Id: <20120505000542.34f8c1f5.freebsd@edvax.de> In-Reply-To: <201205042145.q44Ljpbr044152@mail.r-bonomi.com> References: <20120504193004.c749ce16.freebsd@edvax.de> <201205042145.q44Ljpbr044152@mail.r-bonomi.com> 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 Subject: Re: freebsd-update not updating reported patchlevel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:05:46 -0000 On Fri, 4 May 2012 16:45:51 -0500 (CDT), Robert Bonomi wrote: > > Polytropon wrote: > > > > First of all, thanks for explaining your point of view. > > Allow me to add a few thoughts: > > > > On Fri, 4 May 2012 11:44:49 -0500 (CDT), Robert Bonomi wrote: > > > > > > Polytropon wrote: > > > > On Fri, 4 May 2012 04:14:05 -0500 (CDT), Robert Bonomi wrote: > > > > > What is required is a differentation between the _kernel_ revision level, > > > > > and the patchlevel of the entire base system. > > > > > > > > > > Store the kernel revision level -in- the kernel. Use the 'standard' > > > > > THREE-level version numbering {Major}.{Minor}.{revision} for the kernel. > > > > > Bump 'revision' for each set fo kernel patches. > > > > > > > > > > The patchlevel info for the base system can be a simple data file. > > > > > I'd suggest a dotfile' in /etc, mode 644, with the followig flags > > > > > set: 'system append only', 'system undlink'. > > > > > > > > > > Bump 'patchlevel' every time -anything- in the base system changes, > > > > > regardless of whether it is part of the kernel or the 'world'. > > > > > > > > Interesting approach. Both files could also be header files > > > > in /usr/include to store this information per #define. But > > > > in fact, I like the /etc idea better. > > > > > > The 'state of the kernel' _belongs_ in /usr/src/sys, or similar. to be > > > included in kernal builds, and where the *handful* of utilities -- e.g. > > > lsof -- that are intimately coupled to the exact O/S version are already > > > picking up 'system specific' gory details. > > > > Correct. I appreciate the idea of having _one_ centralized > > point for that information that is "authoritative" regarding > > all queries. Like "uname" displays several aspects of the > > kernel's data, it is limited in some regards: > > > > For example, if you have updated the system the binary > > way to -p3 which included a kernel change, uname will > > report that -p3 properly. If you follow -STABLE, you > > don't get the information of what "build" you currently > > have, so you cannot put it into relation "after what > > -p we currently are". > > > > % uname -r > > 8.2-STABLE > > "uname -v", maybe ?? Like "uname -a" ("maximum output"), only the date of the kernel build is present. I'd like to know that "strange number" and how it relates (pre-/postdates) -p patch levels. > If you're talking about trying to associate a particular patch/revison > level of a particular program with a partiular 'world' patchlevel. That > is a very different problem, and requires a separate separate solution, > something like a 'correlation' database. Yes, that was my primary intention. > > For the kernel, uname prints various information (which are > > obtained from the kernel directly, which is good), but what > > program can do the same for the system? > > For kernel info, any program that can 'popen' for write "uname -a". *grin* > For the patchlevel of the 'world', TTBOMK it isn't recorded anywhere > conveniently accessible. I know that this "build" number is stored somewhere (I found it once!), I think it was a header file. Sure, you can grep for it, but it would be easier to make this information better accessible (and maybe even to put it into relation to a patch level number). > > Not fully, if I see it correctly. E. g., what "build" number > > has a particular -STABLE installation? Or, if kernel and world > > are able to be updated independently - no kernel change, but a > > program change from -p to -p will leave the > > kernel's uname -r at -p, so how to tell easily that > > the world is at -p? > > It doesn't presently exist. > > That's precisely what the solution I proposed addresses. > > In the complete solution I proposed, > 'tail -1 /etc/{patchlog' > > Or, for a program, > one can popen() that command, and read the output > or even > #include > #include > > fd=fopen(PATCHLOG,"r"); > fseek(fd,PATCHLOG_LAST,SEEK_END); > fgets(line,sizeof(line),fd) So when does it arrive in -CURRENT? :-) > > > The entire point of my proposal is to make it an IMMUTATABLE RECORD of > > > 'what was done'. 'add to top' has several disadvantages. First, > > > a performance issue, you do have to read down the log to find the > > > first 'END' line rather than being able to seek directly to it. > > > Second, and the *BIG* one, you risk destroying the prior information > > > by re-writing the file. Third, it makes it easier for a 'malicious' > > > update to cover it's tracks. > > > > Additionally, _undoing_ operations would also be logged - not > > by omitting lines, but by a proper record that states how things > > have been reverted to a previous level, which is also very good > > for diagnostics. > > If it's being done by automation, it can either log all the individual > 'undo' changes, or just log a 'reverting to patchlevel {foo} line. > There are benefits to both approaches. > > If it's a 'manual' reversion, there's no way to guarantee anything gets > added to the log. Let's assume that the standard ways (freebsd-update, make installworld or installkernel, mergemaster) are sufficiently considered to deal with the logging when undoing changes. Of course that could make things a bit complicated (e. g. overwriting "newer" files with "older" ones). > > > When you learn to design stuff that _you_ can't break -- even if you are > > > deliberately trying -- life gets a lot easier. *GRIN* > > > > Very true. The idea of "proper append-only" and continuous logging > > is familiar to me in terms of database operations. Any state can be > > constructed from a proper log. In an extended approach, CVS uses > > the "only add information, not delete them" to manage versions, > > which is like "database, undelete, any version, progress meter > > and logging" all in one. :-) > > > I used to do work for the financial/brokerage industry. There is a saying > that "for any foolproof system there exists a _sufficiently_determined_ > fool capable of breaking it." That is a general principle in _all_ IT-related work. :-) > I can state, from years of experience, that > that industry has a *LOT* of 'sufficiently determined' fools. and it's > -never- their fault, and you have to fix it *IMMEDIATELY*, every second their > app is off line costs ${BIG_BUCKS} Of couse, simply because "I didn't do any anything - I just go there and clickityclick!" :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:07:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 402CF106566C; Fri, 4 May 2012 22:07:05 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from gw15.lax01.mailroute.net (lax-gw15.mailroute.net [199.89.0.115]) by mx1.freebsd.org (Postfix) with ESMTP id 1D9F18FC1B; Fri, 4 May 2012 22:07:04 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gw15.lax01.mailroute.net (Postfix) with ESMTP id D7B3FE3639A; Fri, 4 May 2012 22:00:37 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from gw15.lax01.mailroute.net ([199.89.0.115]) by localhost (gw15.lax01.mailroute.net.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id AHoKguArczOA; Fri, 4 May 2012 22:00:36 +0000 (GMT) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by gw15.lax01.mailroute.net (Postfix) with ESMTP id D1D35E3639C; Fri, 4 May 2012 22:00:36 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id 97B832193; Fri, 4 May 2012 15:00:35 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: vermaden References: <86ipgbg2p6.fsf@red.stonehenge.com> <86d36jzk16.fsf@red.stonehenge.com> x-mayan-date: Long count = 12.19.19.6.9; tzolkin = 7 Muluc; haab = 12 Uo Date: Fri, 04 May 2012 15:00:35 -0700 In-Reply-To: <86d36jzk16.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Fri, 04 May 2012 14:57:41 -0700") Message-ID: <867gwrzjwc.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:07:05 -0000 >>>>> "Randal" == Randal L Schwartz writes: >>>>> "vermaden" == vermaden writes: vermaden> # fetch https://github.com/vermaden/beadm/blob/master/beadm Randal> and after reboot, "zfs set mountpoint=none zroot" would also seem to Randal> clean that up. Oh wait, it looks like zroot is still holding 1.04G of data... will that ever go away? Shouldn't all the data be in the /ROOT/xxx items? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:10:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA3551065675 for ; Fri, 4 May 2012 22:10:09 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 9867B8FC1D for ; Fri, 4 May 2012 22:10:09 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q44MB039044411; Fri, 4 May 2012 17:11:00 -0500 (CDT) Date: Fri, 4 May 2012 17:11:00 -0500 (CDT) From: Robert Bonomi Message-Id: <201205042211.q44MB039044411@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120504210420.GA30610@mech-cluster241.men.bris.ac.uk> Cc: mexas@bristol.ac.uk Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:10:09 -0000 Anton Shterenlikht wrote: > On Fri, May 04, 2012 at 04:45:17PM -0400, Outback Dingo wrote: > > On Fri, May 4, 2012 at 3:56 PM, Erik N?rgaard wrote: > > > On 04/05/2012 19:51, Kenneth Hatteland wrote: > > > > > >> So I checked the 2 other main contenders and just wanted to ask if > > >> anyone here had an opinion what 2 install of the BSDs ? Or perhaps > > >> FreeBSD 6.4 is a good choice ( I have not tested Open or Net BSD so > > >> FreeBSD is my hometurf) The machine will probably be a server to have > > >> fun with and hopefully learn something from. Perhaps some server role in > > >> my rig, routing, security etc..... > > >> > > >> Any advise would be nice :) > > > > QNX will not run on the Alpha architecture, freeBSD 6.4 in my opinion > > is still the far better choice for anything alpha > > the only other thing i would recommend oin that platorm would be > > OpenVMS from the hobbyist kit. But then again > > I only run real Operating systems on my Alphas :) > > 6.4 is way past EOL. It's irresponsible to recommend it. Dec ALPHAs are way past EOL. DEC, itself, is way past EOL. For obselete hardware one frequetly has no alternative but to run an obselete operating system. The OP has already decided on a *BSD. Recommending VMS, of any form, is not a 'helpful'/'responsive' response to his questions. You *don't*know* _why_ he has selected *BSD, so you have _no_ idea whether VMS is viable or his needs. Given that he -needs- a *BSD on _that_ hardware which which 'flavor' would you recomend? Or would you insist he discard that hardware and replace it with something current? inquiring minds want to know. *grin* From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:10:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA7CC106567A; Fri, 4 May 2012 22:10:10 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from gw17.lax01.mailroute.net (lax-gw17.mailroute.net [199.89.0.117]) by mx1.freebsd.org (Postfix) with ESMTP id 87CF98FC17; Fri, 4 May 2012 22:10:10 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gw17.lax01.mailroute.net (Postfix) with ESMTP id 425BF666684; Fri, 4 May 2012 22:10:08 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from gw17.lax01.mailroute.net ([199.89.0.117]) by localhost (gw17.lax01.mailroute.net.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id BRqkHKPFBkhv; Fri, 4 May 2012 22:10:06 +0000 (GMT) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by gw17.lax01.mailroute.net (Postfix) with ESMTP id BADEF6665C9; Fri, 4 May 2012 22:10:06 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id 91C1721A9; Fri, 4 May 2012 15:10:05 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: vermaden References: <86ipgbg2p6.fsf@red.stonehenge.com> <86d36jzk16.fsf@red.stonehenge.com> <867gwrzjwc.fsf@red.stonehenge.com> x-mayan-date: Long count = 12.19.19.6.9; tzolkin = 7 Muluc; haab = 12 Uo Date: Fri, 04 May 2012 15:10:05 -0700 In-Reply-To: <867gwrzjwc.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Fri, 04 May 2012 15:00:35 -0700") Message-ID: <86397fzjgi.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:10:10 -0000 >>>>> "Randal" == Randal L Schwartz writes: Randal> Oh wait, it looks like zroot is still holding 1.04G of data... will Randal> that ever go away? Shouldn't all the data be in the /ROOT/xxx Randal> items? And worse, the things from the readme don't work: locohost# ./beadm create upgrade cannot create 'zroot/ROOT/upgrade': invalid property '' cannot open 'zroot/ROOT/upgrade': dataset does not exist Created successfully So, no joy on this yet. This is FreeBSD 8.2. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:25:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B33D1065674; Fri, 4 May 2012 22:25:01 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from gw16.lax01.mailroute.net (lax-gw16.mailroute.net [199.89.0.116]) by mx1.freebsd.org (Postfix) with ESMTP id D93BE8FC08; Fri, 4 May 2012 22:25:00 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gw16.lax01.mailroute.net (Postfix) with ESMTP id B558E5BC317; Fri, 4 May 2012 22:25:00 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from gw16.lax01.mailroute.net ([199.89.0.116]) by localhost (gw16.lax01.mailroute.net.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id iGEpolCKZ-1S; Fri, 4 May 2012 22:24:59 +0000 (GMT) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by gw16.lax01.mailroute.net (Postfix) with ESMTP id B80885BC254; Fri, 4 May 2012 22:24:59 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id B222E21DF; Fri, 4 May 2012 15:24:59 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: vermaden References: <86ipgbg2p6.fsf@red.stonehenge.com> <86d36jzk16.fsf@red.stonehenge.com> <867gwrzjwc.fsf@red.stonehenge.com> <86397fzjgi.fsf@red.stonehenge.com> x-mayan-date: Long count = 12.19.19.6.9; tzolkin = 7 Muluc; haab = 12 Uo Date: Fri, 04 May 2012 15:24:59 -0700 In-Reply-To: <86397fzjgi.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Fri, 04 May 2012 15:10:05 -0700") Message-ID: <86y5p7y478.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:25:01 -0000 >>>>> "Randal" == Randal L Schwartz writes: Randal> This is FreeBSD 8.2. And no difference on 8.3 :( Should there have been a "promote" in there somewhere? It looks like the boot env is still dependent on the very old zroot. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Fri May 4 22:37:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 473ED1065670 for ; Fri, 4 May 2012 22:37:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 042D08FC16 for ; Fri, 4 May 2012 22:37:03 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx01.qsc.de (Postfix) with ESMTP id 464C53CF71; Sat, 5 May 2012 00:37:02 +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 q44Mb1IV003097; Sat, 5 May 2012 00:37:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 May 2012 00:37:01 +0200 From: Polytropon To: Robert Bonomi Message-Id: <20120505003701.080fdb85.freebsd@edvax.de> In-Reply-To: <201205042211.q44MB039044411@mail.r-bonomi.com> References: <20120504210420.GA30610@mech-cluster241.men.bris.ac.uk> <201205042211.q44MB039044411@mail.r-bonomi.com> 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: mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 22:37:03 -0000 On Fri, 4 May 2012 17:11:00 -0500 (CDT), Robert Bonomi wrote: > For obselete hardware one frequetly has no alternative but to run an > obselete operating system. Depending on the actual intention of use, it _may_ be no problem to use obsolete operating systems and software. (For example, I still have a FreeBSD 5.4 system with lots of applications installed, perfectly working on a 300 MHz system, intended for "special purposes"; I would _never_ use that as a server facing the Internet!) > The OP has already decided on a *BSD. Recommending VMS, of any form, is > not a 'helpful'/'responsive' response to his questions. You *don't*know* > _why_ he has selected *BSD, so you have _no_ idea whether VMS is viable > or his needs. > > Given that he -needs- a *BSD on _that_ hardware which which 'flavor' would > you recomend? Or would you insist he discard that hardware and replace > it with something current? inquiring minds want to know. *grin* It there is a _required_ reason to run Alpha hardware, an older FreeBSD OS isn't a bad choice. Depending on the availability of sources (per /usr/ports of _that_ version) or of packages (from the installation media of _that_ version, or $PACKAGESITE pointing to the correct archives on the FreBSD FTP server), software can be installed. There's also the excellent tool "portdowngrade". However, it may be a "try & miss" to find out what software still runs, what _current_ software can be made running, and what operation procedures still work. This _ALL_ depends on what the system should be used for. Only the OP can decide about what applies, and what doesn't. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri May 4 23:30:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7337106566B; Fri, 4 May 2012 23:30:18 +0000 (UTC) (envelope-from buganini@gmail.com) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) by mx1.freebsd.org (Postfix) with ESMTP id 5886A8FC08; Fri, 4 May 2012 23:30:18 +0000 (UTC) Received: by qabj40 with SMTP id j40so1791759qab.15 for ; Fri, 04 May 2012 16:30:17 -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:content-transfer-encoding; bh=idskGgJmHxggzibyrbXJtOlClLJRNhXB+yOfbjplmc0=; b=u7bt8v6ySaLPTHHmAMnUQKJ3R6UNif3Jl8TWxx5pHfsmE0gih2K/CPVIB07J9rNFvf Uh3U3evT0NR8mnXbecGhLqWRhSBeDjjpOHfzPfMbRe/vxYXvbNZcNpNxBknXl8kMrImp DxwA3PmkHwonuGR5pO/QZ87TtTiSaeFbuXUmjQZODooZyjViWc3dCB7G1HsszdGCu9R2 l7N8/xr+b1oPPdgtZOlqS0CsGWHHvI+WATgFmZmYMChTdER8eTOEPqqgaBPPsZH1EN3u BUpL4IggUOQ3Y7ifgcTJnKXbx8IViQAOVN5J1zvN04siAGF+rNzsGIzxOJAjgFHoo1Dj wYJQ== MIME-Version: 1.0 Received: by 10.224.73.77 with SMTP id p13mr13033889qaj.17.1336174217800; Fri, 04 May 2012 16:30:17 -0700 (PDT) Received: by 10.229.192.71 with HTTP; Fri, 4 May 2012 16:30:17 -0700 (PDT) In-Reply-To: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Date: Sat, 5 May 2012 07:30:17 +0800 Message-ID: From: Buganini To: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 23:30:18 -0000 how about `ifconfig wlan0 mode 11b` 11g sticks very soon for me and some other people. Regards, Buganini 2012/5/5 Anton Shterenlikht : > I've US Robotics 5411 wireless pccard device. > It's identified as: > > # pciconf -lv > *skip* > siba_bwn0@pci0:3:0:0: =C2=A0 class=3D0x028000 card=3D0x431814e4 chip=3D0x= 431814e4 rev=3D0x02 hdr=3D0x00 > =C2=A0 =C2=A0vendor =C2=A0 =C2=A0 =3D 'Broadcom Corporation' > =C2=A0 =C2=A0device =C2=A0 =C2=A0 =3D 'BCM4318 [AirForce One 54g] 802.11g= Wireless LAN Controller' > =C2=A0 =C2=A0class =C2=A0 =C2=A0 =C2=A0=3D network > > and from dmesg: > > siba_bwn0: mem 0xcc502000-0xcc503ff= f irq 20 at device 0.0 on cardbus0 > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf= 0x17f ver 0x2050 rev 8) > bwn0: DMA (32 bits) > > I've build a kernel with bwn(4), > loaded the firmware module: > > # kldstat > Id Refs Address =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Size =C2=A0 =C2= =A0 Name > =C2=A01 =C2=A0 =C2=A04 0xffffffff80200000 104fb98 =C2=A0kernel > =C2=A02 =C2=A0 =C2=A01 0xffffffff81412000 28aa1 =C2=A0 =C2=A0bwn_v4_ucode= .ko > # > > I created wlan device: > > bwn0: flags=3D8843 metric 0 mtu 2= 290 > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether 00:c0:49:58:00:fe > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd6 options=3D29 > =C2=A0 =C2=A0 =C2=A0 =C2=A0media: IEEE 802.11 Wireless Ethernet autoselec= t mode 11g > =C2=A0 =C2=A0 =C2=A0 =C2=A0status: associated > wlan0: flags=3D8843 metric 0 mtu = 1500 > =C2=A0 =C2=A0 =C2=A0 =C2=A0ether 00:c0:49:58:00:fe > =C2=A0 =C2=A0 =C2=A0 =C2=A0inet 192.168.1.104 netmask 0xffffff00 broadcas= t 192.168.1.255 > =C2=A0 =C2=A0 =C2=A0 =C2=A0nd6 options=3D29 > =C2=A0 =C2=A0 =C2=A0 =C2=A0media: IEEE 802.11 Wireless Ethernet OFDM/36Mb= ps mode 11g > =C2=A0 =C2=A0 =C2=A0 =C2=A0status: associated > =C2=A0 =C2=A0 =C2=A0 =C2=A0ssid lagartixa channel 11 (2462 MHz 11g) bssid= 00:18:39:e6:46:b6 > =C2=A0 =C2=A0 =C2=A0 =C2=A0country US authmode WPA2/802.11i privacy ON de= ftxkey UNDEF > =C2=A0 =C2=A0 =C2=A0 =C2=A0AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid= 450 bgscan > =C2=A0 =C2=A0 =C2=A0 =C2=A0bgscanintvl 300 bgscanidle 250 roam:rssi 7 roa= m:rate 5 protmode CTS > =C2=A0 =C2=A0 =C2=A0 =C2=A0wme roaming MANUAL > > I run wpa_supplicant: > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:18:39:e6:46:b6 (SSID=3D'lagartixa' freq=3D246= 2 MHz) > Associated with 00:18:39:e6:46:b6 > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=3DCCMP GTK=3DC= CMP] > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [= id=3D0 id_str=3D] > > I got issued the ip address by my wireless router. > > I see the card on the router: > > DHCP Active IP Table > DHCP Server IP Address: =C2=A0 192.168.1.1 > Client Host Name =C2=A0 =C2=A0 =C2=A0 =C2=A0IP Address =C2=A0 =C2=A0 =C2= =A0MAC Address =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Expires > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0192.168.1.104 =C2=A0 00:c0:49:58:00:fe =C2=A0 =C2=A0 =C2=A0 23:58= :54 > > > I get /etc/resolve.conf set up automatically > (through the wired connection): > > % cat /etc/resolv.conf > # Generated by resolvconf > search cable.virginmedia.net > nameserver 194.168.4.100 > nameserver 194.168.8.100 > > > But I just can't get the wireless connection, > even to the router: > > % ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C > > On the console I see: > > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > RX decryption attempted (old 0 keyidx 0x1) > firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) > > > Please help > > What am I doing wrong? > What else can I try? > > Many thanks > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri May 4 23:40:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A941F1065673 for ; Fri, 4 May 2012 23:40:47 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id 4C4D48FC15 for ; Fri, 4 May 2012 23:40:47 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=pTo8fR QJmn0G0OckzJzNNrSDgx50l8QSOAihqPVip8NlVdCJdiLBeKX+7EgQ35I+4NXUhn QosW7BJpHEz+EztB7ioAXtmVbZkb44PRPlixEdZSIg2kZigMMHjdGOcezNTu3AXC NVEPajz3nlTXhuwFFbtZG7EXaiasHHD4ft1eE= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=HtRNMoIBZynV 0ESgW9J8XWViirbIUmwuz7ZoSHctMhU=; b=YMD55onfnFcdRKLbflTzRHj+7O8L +5B4cGBmHC4FzGA76EyvGxHlMtadZqkTVtOqSYwIRbssgVyqv2osCXjh/LpPQzdA I/93t5Nob9UjahaiFoctrryqZUnpiIt1NyK5bHhNEZbYO/ddhZ4KeeWGqbiPUijQ UgzqjVwnR6jwB3Q= Received: (qmail 52421 invoked from network); 4 May 2012 18:40:39 -0500 Received: from unknown (HELO ?10.10.1.87?) (bryan@shatow.net@10.10.1.87) by sweb.xzibition.com with ESMTPA; 4 May 2012 18:40:39 -0500 Message-ID: <4FA468F5.5020302@shatow.net> Date: Fri, 04 May 2012 18:40:37 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Randal L. Schwartz" References: <86ipgbg2p6.fsf@red.stonehenge.com> <86d36jzk16.fsf@red.stonehenge.com> <867gwrzjwc.fsf@red.stonehenge.com> <86397fzjgi.fsf@red.stonehenge.com> In-Reply-To: <86397fzjgi.fsf@red.stonehenge.com> X-Enigmail-Version: 1.4.1 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, vermaden , freebsd-questions@freebsd.org Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 23:40:47 -0000 On 5/4/2012 5:10 PM, Randal L. Schwartz wrote: >>>>>> "Randal" == Randal L Schwartz writes: > > Randal> Oh wait, it looks like zroot is still holding 1.04G of data... will > Randal> that ever go away? Shouldn't all the data be in the /ROOT/xxx > Randal> items? > > And worse, the things from the readme don't work: > > locohost# ./beadm create upgrade > cannot create 'zroot/ROOT/upgrade': invalid property '' > cannot open 'zroot/ROOT/upgrade': dataset does not exist > Created successfully > > So, no joy on this yet. > > This is FreeBSD 8.2. > Hi, Those errors will be fixed in the next release, out in the next day or so. Still testing it. If you want to help test, it's out on vermaden's github right now. An updated port will be available soon as well. Regards, Bryan Drewery From owner-freebsd-questions@FreeBSD.ORG Fri May 4 23:53:20 2012 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FE5D1065670 for ; Fri, 4 May 2012 23:53:20 +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 BB6D18FC17 for ; Fri, 4 May 2012 23:53:19 +0000 (UTC) Received: from kw.news4all.se (c80-217-70-175.bredband.comhem.se [80.217.70.175]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id q44NmjpQ000504 for ; Sat, 5 May 2012 01:48:45 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <4FA46A9A.1020305@bananmonarki.se> Date: Sat, 05 May 2012 01:47:38 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:10.0.3) Gecko/20120411 Thunderbird/10.0.3 MIME-Version: 1.0 To: questions FreeBSD Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: 4294967287 messages downloaded - Thunderbird X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2012 23:53:20 -0000 Hello list! What and why is this? 4294967287 messages downloaded It does not make sense. From owner-freebsd-questions@FreeBSD.ORG Sat May 5 06:19:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E91CE106564A; Sat, 5 May 2012 06:19:19 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.208]) by mx1.freebsd.org (Postfix) with ESMTP id 992E88FC0C; Sat, 5 May 2012 06:19:19 +0000 (UTC) Date: Sat, 05 May 2012 08:19:11 +0200 From: vermaden To: "Randal L. Schwartz" X-Mailer: interia.pl/pf09 In-Reply-To: <86y5p7y478.fsf@red.stonehenge.com> References: <86ipgbg2p6.fsf@red.stonehenge.com> <86d36jzk16.fsf@red.stonehenge.com> <867gwrzjwc.fsf@red.stonehenge.com> <86397fzjgi.fsf@red.stonehenge.com> <86y5p7y478.fsf@red.stonehenge.com> Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=interia.pl; s=biztos; t=1336198752; bh=ELWlNuaKv6qUCefZMYhpd+3kaDYMW+4fuFIxYHPNiuI=; h=Date:From:Subject:To:Cc:X-Mailer:In-Reply-To:References: Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KYkkF0Y4PMIMK9cxSUonc9dwZy2XW7zhb2+JNZRzTJPZDHwKt8vbzVtWOeCq/VDjG Q24ylYfzmrIIDubW3OSj9DP3VrjS4ILugsi7D/84hEL3NjTl9OmyWBqyzqJ1e/3kPJ ncILyzoqK813fjNbs0YoPJsv/yh1TVUPfD/LkXHY= Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org, bryan@shatow.net Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 06:19:20 -0000 > And no difference on 8.3 :( >=20 > Should there have been a "promote" in there somewhere? It looks like > the boot env is still dependent on the very old zroot. Hi, I have just recreated from scratch Your zroot root setup under VirtualBox and tested it deeply. There was an interesting BUG in the *beadm* utility, or maybe it is a BUG in sh(1), I do not have that good knowledge of POSIX/sh(1) standards. To the point, check these two code snippets, they should do EXACLY the same, logic is the same, the differece is only the syntax. snippet 1: [ ${MOUNT} -eq 0 ] && { zfs set mountpoint=3D${TMPMNT} ${POOL}/ROOT/${2} zfs mount ${POOL}/ROOT/${2} } || { TMPMNT=3D${MOUNT} } snippet 2: if [ ${MOUNT} -eq 0 ]; then zfs set mountpoint=3D${TMPMNT} ${POOL}/ROOT/${2} zfs mount ${POOL}/ROOT/${2} else TMPMNT=3D${MOUNT} fi But unfortunately, it comes out that its not the same ... [ ${MOUNT} -eq 0 ] && { zfs set mountpoint=3D${TMPMNT} ${POOL}/ROOT/${2} zfs mount ${POOL}/ROOT/${2} # IF THIS LINE ABOVE FAILS (NOT RETURN 0) THEN # TMPMNT=3D${MOUNT} BELOW WILL BE EXECUTED } || { TMPMNT=3D${MOUNT} } The sollution can be put command that will always work (return 0 on exit) like that: [ ${MOUNT} -eq 0 ] && { zfs set mountpoint=3D${TMPMNT} ${POOL}/ROOT/${2} zfs mount ${POOL}/ROOT/${2} echo 1> /dev/null 2> /dev/null } || { TMPMNT=3D${MOUNT} } ... or to rewrite it under if/then/else which I did for the whole *beadm* utility and I no longer use || and && syntax, anywhere. As for Your problems, this worked for me on this VirtualBox test environment. # zfs promote zroot # zfs rollback zpool@be # zfs set mountpoint=3D/mnt zroot [ set vfs.root.mountfrom=3D"zfs:zroot" in /mnt/boot/loader.conf ] # zpool set bootfs=3Dzroot zroot # zfs set mountpoint=3Dnone zroot # reboot These above should bring back to the start point before You entered my instructions to try *beadm* and BEs. After reboot ... # zfs destroy -R zroot/ROOT # zfs create -o mountpoint=3Dnone zroot/ROOT # zfs send zpool@be | zfs recv zroot/ROOT/be # fetch https://raw.github.com/vermaden/beadm/master/beadm # chmod +x beadm # ./beadm list # ./beadm activate be # reboot Now You should have a working system with boot environments. Both GitHub and SourceForce have the latest fixed *beadm* version. Regards, vermaden --=20 ... From owner-freebsd-questions@FreeBSD.ORG Sat May 5 06:39:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB266106566B; Sat, 5 May 2012 06:39:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 5770D8FC0A; Sat, 5 May 2012 06:39:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id q456cIHN028218; Sat, 5 May 2012 16:38:19 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 5 May 2012 16:38:18 +1000 (EST) From: Ian Smith To: Anton Shterenlikht In-Reply-To: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Message-ID: <20120505163154.O78676@sola.nimnet.asn.au> References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 06:39:02 -0000 On Fri, 4 May 2012 21:03:07 +0100, Anton Shterenlikht wrote: [..] > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:c0:49:58:00:fe > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > status: associated > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme roaming MANUAL > > I run wpa_supplicant: > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) > Associated with 00:18:39:e6:46:b6 > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] > > I got issued the ip address by my wireless router. > > I see the card on the router: > > DHCP Active IP Table > DHCP Server IP Address: 192.168.1.1 > Client Host Name IP Address MAC Address Expires > 192.168.1.104 00:c0:49:58:00:fe 23:58:54 > > I get /etc/resolve.conf set up automatically > (through the wired connection): > > % cat /etc/resolv.conf > # Generated by resolvconf > search cable.virginmedia.net > nameserver 194.168.4.100 > nameserver 194.168.8.100 > > > But I just can't get the wireless connection, > even to the router: > > % ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > ping: sendto: No route to host > ping: sendto: No route to host > ^C What sayeth 'netstat -finet -rn' ? cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sat May 5 13:41:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A99B106566B; Sat, 5 May 2012 13:41:29 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from gw17.lax01.mailroute.net (lax-gw17.mailroute.net [199.89.0.117]) by mx1.freebsd.org (Postfix) with ESMTP id E96178FC0A; Sat, 5 May 2012 13:41:28 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by gw17.lax01.mailroute.net (Postfix) with ESMTP id BA229666661; Sat, 5 May 2012 13:41:27 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from gw17.lax01.mailroute.net ([199.89.0.117]) by localhost (gw17.lax01.mailroute.net.mailroute.net [127.0.0.1]) (mroute_mailscanner, port 10026) with LMTP id QBERwIDHcH9X; Sat, 5 May 2012 13:41:26 +0000 (GMT) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by gw17.lax01.mailroute.net (Postfix) with ESMTP id 462386665F8; Sat, 5 May 2012 13:41:26 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id 039EB321F; Sat, 5 May 2012 06:41:26 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: vermaden References: <86ipgbg2p6.fsf@red.stonehenge.com> <86d36jzk16.fsf@red.stonehenge.com> <867gwrzjwc.fsf@red.stonehenge.com> <86397fzjgi.fsf@red.stonehenge.com> <86y5p7y478.fsf@red.stonehenge.com> x-mayan-date: Long count = 12.19.19.6.10; tzolkin = 8 Oc; haab = 13 Uo Date: Sat, 05 May 2012 06:41:25 -0700 In-Reply-To: (vermaden@interia.pl's message of "Sat, 05 May 2012 08:19:11 +0200") Message-ID: <86d36iycca.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@FreeBSD.org, freebsd-questions@freebsd.org, bryan@shatow.net Subject: Re: HOWTO: FreeBSD ZFS Madness (Boot Environments) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 13:41:29 -0000 >>>>> "vermaden" == vermaden writes: vermaden> To the point, check these two code snippets, they should vermaden> do EXACLY the same, logic is the same, the differece is vermaden> only the syntax. vermaden> snippet 1: vermaden> [ ${MOUNT} -eq 0 ] && { vermaden> zfs set mountpoint=${TMPMNT} ${POOL}/ROOT/${2} vermaden> zfs mount ${POOL}/ROOT/${2} vermaden> } || { vermaden> TMPMNT=${MOUNT} vermaden> } vermaden> snippet 2: vermaden> if [ ${MOUNT} -eq 0 ]; then vermaden> zfs set mountpoint=${TMPMNT} ${POOL}/ROOT/${2} vermaden> zfs mount ${POOL}/ROOT/${2} vermaden> else vermaden> TMPMNT=${MOUNT} vermaden> fi No, no and no. I got burned by that about 30 years ago in shell programming. Every time I see someone use that, I shriek just a little bit. vermaden> ... or to rewrite it under if/then/else which I did for the whole vermaden> *beadm* utility and I no longer use || and && syntax, vermaden> anywhere. Good to see you've finally been burned. You'll never make that mistake again. :) vermaden> After reboot ... vermaden> # zfs destroy -R zroot/ROOT vermaden> # zfs create -o mountpoint=none zroot/ROOT vermaden> # zfs send zpool@be | zfs recv zroot/ROOT/be vermaden> # fetch https://raw.github.com/vermaden/beadm/master/beadm vermaden> # chmod +x beadm vermaden> # ./beadm list vermaden> # ./beadm activate be vermaden> # reboot vermaden> Now You should have a working system with boot environments. OK, I'll give that a try. Thanks for being persistent with me. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion From owner-freebsd-questions@FreeBSD.ORG Sat May 5 15:21:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8873F106564A for ; Sat, 5 May 2012 15:21:25 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1228FC08 for ; Sat, 5 May 2012 15:21:25 +0000 (UTC) Received: by obcni5 with SMTP id ni5so7291175obc.13 for ; Sat, 05 May 2012 08:21:19 -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=eXxBENcpQSh3AXHOw0blFQ/Og8xF5GDeRVfU5q7Ht/Y=; b=Ivx7ltOLSxlHweItv4S5fPhLTNhv4+ugmGjN6Q9QpNo7vvydPZFaQhLmkJqV/ipg1s vwpcQcIpm9Gwb2AifRkTSvJTmVmNisdv+GeX6bp0FhN59CdLC9IFfbHt5wnfthLnSqzc FxDHVc0S4YvWr+rgASjLLKqC7VzqNcMsgJvhwumRnli762yD2VLp/fAbInar7Zjd0Krx 15aiR9LaRRw/Iqsrqk3wVF2FY/vnWOeZBRaF8r7pFj6F+mABxBvXqLke5SZ1bZERa/PD Fl/ArMlualDSJxYLs5Rzky1deBDIdVMOTjOBDijxaMsHDC98OJ9JXi+6DLVksHxfubxg BTlg== Received: by 10.50.207.70 with SMTP id lu6mr5066651igc.62.1336231278801; Sat, 05 May 2012 08:21:18 -0700 (PDT) Received: from [192.168.1.3] (c-98-212-197-29.hsd1.il.comcast.net. [98.212.197.29]) by mx.google.com with ESMTPS id ew6sm1793310igc.6.2012.05.05.08.21.17 (version=SSLv3 cipher=OTHER); Sat, 05 May 2012 08:21:17 -0700 (PDT) Message-ID: <4FA54566.6050106@gmail.com> Date: Sat, 05 May 2012 10:21:10 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Best mail setup for home server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 15:21:25 -0000 I currently use my FreeBSD system as my generic unix server and some coding, along with occasional multimedia. I'd installed postfix years ago and kept using it. Right now, I use getmail with cron, dspam, and dovecot to handle my gmail account. I've never set up outgoing mail which makes changing email clients, or devices, annoying. Currently postfix is set to use dovecot's deliver command so that dovecot can sort and handle it. Before I deal with setting postfix to relay the mail, dealing with firewalls and other possible issues, is there a better alternative? I'd prefer that local mail "just works" even if I lose internet, and any email that gets as far as my server will at least eventually mail. The archlinux wiki seems to suggest ssmtp doesn't work properly with attachments. Instead it recommends msmtp, which requires an active internet connection to use. Dragonfly's dma is local only to the computer and not the LAN. Are the only options configuring sendmail or configuring postfix? From owner-freebsd-questions@FreeBSD.ORG Sat May 5 15:54:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D78CA106564A; Sat, 5 May 2012 15:54:59 +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 91D538FC0A; Sat, 5 May 2012 15:54:59 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SQhJt-0008M8-1q>; Sat, 05 May 2012 17:54:53 +0200 Received: from e178019154.adsl.alicedsl.de ([85.178.19.154] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SQhJs-0002o7-TT>; Sat, 05 May 2012 17:54:53 +0200 Message-ID: <4FA54D4A.4050703@zedat.fu-berlin.de> Date: Sat, 05 May 2012 17:54:50 +0200 From: "Hartmann, O." Organization: FU Berlin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120504 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.19.154 Cc: Subject: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 15:55:00 -0000 Hello lists. Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes massive trouble with net/openldap24-server (SASL enabled, so it is openldap-sasl-server). Last time OpenLDAP worked was Thursday last week, when obviously a problematic update to the OS was made - it is a wild guess, since I did daily make world and by the end of the day after the last make world things went worse. I'm sorry having no SVN release tag handy. Well, here some facts. 1) The update of net/openldap24-server has been performed earlier this month and has been run successfully (2.4.31). 2) It doesn't matter whether OpenLDAP is compiled with CLANG 3.1 or legacy GCC 4.2.1, compiled with CLANG, slapd(8C) coredumps immediately, compiled with gcc, it starts, but when slapd(8C) gets accessed, it coredumps immediately. A simple "id ohartmann" is enough. 3) I recompiled OpenLDAP 2.4.31 client and server and it requisites via "portmaster -f net/openldap24-server|client. No effect/success. I also recompiled every port used with OpenLDAP: security/pam_ldap and net/nss_ldap. 4) OpenLDAP server uses DB5 based backend. 5) The very same configuration (copied slap.d folder's .ldif files) works fine on FreeBSD 9.0-STABLE/amd64, even compiled with CLANG. This makes me believe this is a FreeBSD 10.0-CURRENT specific bug. 6) Following is a truss output of the following comand issued: /usr/local/libexec/slapd -d32 -o ldap -g ldap -F /usr/local/etc/openldap/slapd.d : [...] connect(8,{ AF_INET 192.168.0.128:389 },16) ERR#61 'Connection refused' shutdown(8,SHUT_RDWR) ERR#54 'Connection reset by pee r' close(8) = 0 (0x0) clock_gettime(13,{1336231852.000000000 }) = 0 (0x0) getpid() = 84297 (0x14949) sendto(3,"<163>May 5 17:30:52 slapd[84297"...,97,0x0,NULL,0x0) = 97 (0x61) sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGF PE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP| SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH |SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) sigaction(SIGPIPE,{ SIG_DFL SA_RESTART ss_t },{ SIG_IGN 0x0 ss_t }) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) 4fa547ac ldif_read_file: checksum error on "/usr/local/etc/openldap/slapd.d//cn= config/olcDatabase={1}hdb.ldif" 4fa547ac hdb_db_open: database "dc=walstatt,dc=dyndns,dc=org": unclean shutdown detected; attempting recovery. 4fa547ad hdb_db_open: database "cn=accesslog": unclean shutdown detected; attemp ting recovery. 4fa547ad slapd starting SIGNAL 11 (SIGSEGV) setgroups(0x1,0x802c7a000,0x802c7c001,0xffffffff,0x0,0x0) ERR#4 'Interrupted sys tem call' process exit, rval = 0 7) Desperately, I tried nearly every variation of the configurable "overlays", even those my configuration doesn't use. But this seems nonesense since OpenLDAP worked before. I'm floating like a dead man in the water and I was wondering if someone else doesn't face this problem. FreeBSD is said to be run in large environments, so at least one should have OpenLDAP as user backend running ... I need some help in this case. Regards, Oliver P.S. Please set me CC, I'm not subscribing list "questions". From owner-freebsd-questions@FreeBSD.ORG Sat May 5 16:24:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0875F106564A for ; Sat, 5 May 2012 16:24:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id A860D8FC0A for ; Sat, 5 May 2012 16:24:56 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQhmr-0005Me-Qr; Sat, 05 May 2012 17:24:50 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQhmr-0006qm-G9; Sat, 05 May 2012 17:24:49 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45GOnug033713; Sat, 5 May 2012 17:24:49 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45GOmXr033712; Sat, 5 May 2012 17:24:48 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 17:24:48 +0100 From: Anton Shterenlikht To: Robert Bonomi Message-ID: <20120505162448.GA33675@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Robert Bonomi , freebsd-questions@freebsd.org, mexas@bristol.ac.uk References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> <201205042156.q44LuX8e044219@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205042156.q44LuX8e044219@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i Cc: mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:24:57 -0000 On Fri, May 04, 2012 at 04:56:33PM -0500, Robert Bonomi wrote: > > Anton Shterenlikht wrote: > > I've US Robotics 5411 wireless pccard device. > > It's identified as: > > > > # pciconf -lv > > *skip* > > siba_bwn0@pci0:3:0:0: class=0x028000 card=0x431814e4 chip=0x431814e4 rev=0x02 hdr=0x00 > > vendor = 'Broadcom Corporation' > > device = 'BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller' > > class = network > > > > and from dmesg: > > > > siba_bwn0: mem 0xcc502000-0xcc503fff irq 20 at device 0.0 on cardbus0 > > bwn0 on siba_bwn0 > > bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf 0x17f ver 0x2050 rev 8) > > bwn0: DMA (32 bits) > > > > I've build a kernel with bwn(4), > > loaded the firmware module: > > > > # kldstat > > Id Refs Address Size Name > > 1 4 0xffffffff80200000 104fb98 kernel > > 2 1 0xffffffff81412000 28aa1 bwn_v4_ucode.ko > > # > > > > I created wlan device: > > > > bwn0: flags=8843 metric 0 mtu 2290 > > ether 00:c0:49:58:00:fe > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > > status: associated > > wlan0: flags=8843 metric 0 mtu 1500 > > ether 00:c0:49:58:00:fe > > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > > status: associated > > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > > wme roaming MANUAL > > > > I run wpa_supplicant: > > > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > > Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) > > Associated with 00:18:39:e6:46:b6 > > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] > > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] > > > > I got issued the ip address by my wireless router. > > > > I see the card on the router: > > > > DHCP Active IP Table > > DHCP Server IP Address: 192.168.1.1 > > Client Host Name IP Address MAC Address Expires > > 192.168.1.104 00:c0:49:58:00:fe 23:58:54 > > > > > > I get /etc/resolve.conf set up automatically > > (through the wired connection): > > > > % cat /etc/resolv.conf > > # Generated by resolvconf > > search cable.virginmedia.net > > nameserver 194.168.4.100 > > nameserver 194.168.8.100 > > > > > > But I just can't get the wireless connection, > > even to the router: > > > > % ping 192.168.1.1 > > PING 192.168.1.1 (192.168.1.1): 56 data bytes > > ping: sendto: No route to host > > ping: sendto: No route to host > > ^C > > > > On the console I see: > > > > RX decryption attempted (old 0 keyidx 0x1) > > RX decryption attempted (old 0 keyidx 0x1) > > RX decryption attempted (old 0 keyidx 0x1) > > RX decryption attempted (old 0 keyidx 0x1) > > firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) > > > > > > Please help > > It looks like you're missing a route. > > I suspect you've got a wired ethernet port, that is being conigured > with a default address. and the default route points -there-. > > Please show the output of 'ifconfig -a', and 'netstat -nr'. # ifconfig -a bge0: flags=8843 metric 0 mtu 1500 options=8009b ether 00:1a:4b:89:4b:4e inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 bwn0: flags=8843 metric 0 mtu 2290 ether 00:c0:49:58:00:fe nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843 metric 0 mtu 1500 ether 00:c0:49:58:00:fe inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g status: associated ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL # netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 624 bge0 127.0.0.1 link#8 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 0 bge0 192.168.1.101 link#1 UHS 0 0 lo0 192.168.1.104 link#10 UHS 0 0 lo0 Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 ::1 link#8 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 fe80::/10 ::1 UGRS lo0 fe80::%lo0/64 link#8 U lo0 fe80::1%lo0 link#8 UHS lo0 ff01::%lo0/32 ::1 U lo0 ff02::/16 ::1 UGRS lo0 ff02::%lo0/32 ::1 U lo0 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 16:28:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D42106566B; Sat, 5 May 2012 16:28:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 07F458FC15; Sat, 5 May 2012 16:28:37 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQhqW-00072u-5E; Sat, 05 May 2012 17:28:36 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQhqV-0006t8-TN; Sat, 05 May 2012 17:28:35 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45GSZxZ033723; Sat, 5 May 2012 17:28:35 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45GSZ7k033722; Sat, 5 May 2012 17:28:35 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 17:28:35 +0100 From: Anton Shterenlikht To: Buganini Message-ID: <20120505162835.GB33675@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Buganini , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:28:37 -0000 On Sat, May 05, 2012 at 07:30:17AM +0800, Buganini wrote: > how about > `ifconfig wlan0 mode 11b` > > 11g sticks very soon for me and some other people. > > Regards, > Buganini seems to make no difference: wlan0: flags=8843 metric 0 mtu 1500 ether 00:c0:49:58:00:fe inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11b status: associated ssid lagartixa channel 11 (2462 MHz 11b) bssid 00:18:39:e6:46:b6 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1 wme roaming MANUAL GEN4> ping bris.ac.uk ping: cannot resolve bris.ac.uk: Host name lookup failure GEN4> ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes ping: sendto: No route to host ping: sendto: No route to host ^C -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 16:31:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 15F92106564A; Sat, 5 May 2012 16:31:48 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id BD6B18FC0A; Sat, 5 May 2012 16:31:47 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQhta-00078g-Oh; Sat, 05 May 2012 17:31:47 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQhtZ-0006vW-Q4; Sat, 05 May 2012 17:31:45 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45GVjBP033745; Sat, 5 May 2012 17:31:45 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45GVjIx033744; Sat, 5 May 2012 17:31:45 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 17:31:45 +0100 From: Anton Shterenlikht To: Ian Smith Message-ID: <20120505163145.GC33675@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Ian Smith , Anton Shterenlikht , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org References: <20120504200307.GA30426@mech-cluster241.men.bris.ac.uk> <20120505163154.O78676@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120505163154.O78676@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.3i Cc: Anton Shterenlikht , freebsd-questions@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:31:48 -0000 On Sat, May 05, 2012 at 04:38:18PM +1000, Ian Smith wrote: > On Fri, 4 May 2012 21:03:07 +0100, Anton Shterenlikht wrote: > [..] > > wlan0: flags=8843 metric 0 mtu 1500 > > ether 00:c0:49:58:00:fe > > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > > status: associated > > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > > wme roaming MANUAL > > > > I run wpa_supplicant: > > > > # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf > > Trying to associate with 00:18:39:e6:46:b6 (SSID='lagartixa' freq=2462 MHz) > > Associated with 00:18:39:e6:46:b6 > > WPA: Key negotiation completed with 00:18:39:e6:46:b6 [PTK=CCMP GTK=CCMP] > > CTRL-EVENT-CONNECTED - Connection to 00:18:39:e6:46:b6 completed (auth) [id=0 id_str=] > > > > I got issued the ip address by my wireless router. > > > > I see the card on the router: > > > > DHCP Active IP Table > > DHCP Server IP Address: 192.168.1.1 > > Client Host Name IP Address MAC Address Expires > > 192.168.1.104 00:c0:49:58:00:fe 23:58:54 > > > > I get /etc/resolve.conf set up automatically > > (through the wired connection): > > > > % cat /etc/resolv.conf > > # Generated by resolvconf > > search cable.virginmedia.net > > nameserver 194.168.4.100 > > nameserver 194.168.8.100 > > > > > > But I just can't get the wireless connection, > > even to the router: > > > > % ping 192.168.1.1 > > PING 192.168.1.1 (192.168.1.1): 56 data bytes > > ping: sendto: No route to host > > ping: sendto: No route to host > > ^C > > What sayeth 'netstat -finet -rn' ? # netstat -finet -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 1437 bge0 127.0.0.1 link#8 UH 0 0 lo0 192.168.1.0/24 link#1 U 0 0 bge0 192.168.1.101 link#1 UHS 0 0 lo0 192.168.1.104 link#10 UHS 0 0 lo0 I've these lines in /etc/rc.conf: defaultrouter="192.168.1.1" ifconfig_bge0="DHCP" ifconfig_wlan0="DHCP" Does this look right? Many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 16:34:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07B92106566C; Sat, 5 May 2012 16:34:17 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3FDB58FC0C; Sat, 5 May 2012 16:34:16 +0000 (UTC) Received: by bkvi17 with SMTP id i17so4039087bkv.13 for ; Sat, 05 May 2012 09:34:15 -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=N4qEG43OdOblbUFjr6YZGJDjYkKI1zC6A8rb9Kz/5vA=; b=QZ+CuwWds1F8CAnJA2hlyJk4V1S7mozGXMtYbWz14147pqZAackAm6qw6POA9K28u5 NUozG2BixCqoTAYR/Y2EuQ6VoBoXg72cguioPmC4slc3ffGbWo00VH+Ap5DFngNxRo+b 19cZbKb2XiGAyaEoaXQ5NVprYFjX4nhgg4mrgqjQt2T/jJYuxNzmKgqCtIvgGak02WXQ zjf6tEamvOe1bPuBKK8nOBK/uLlrs7On6cuTDZdH+juC3s5jJ2R2s7DIqsSUm5T2CLuI ROpKFQGrQXJ7FEgcOdO92KSoCkHTOulTz0jcnAO7IjuXRpiOdmDJcEJi1LZ4rUtL1saH xnSA== MIME-Version: 1.0 Received: by 10.204.153.15 with SMTP id i15mr3529147bkw.74.1336235654848; Sat, 05 May 2012 09:34:14 -0700 (PDT) Received: by 10.204.171.138 with HTTP; Sat, 5 May 2012 09:34:14 -0700 (PDT) Received: by 10.204.171.138 with HTTP; Sat, 5 May 2012 09:34:14 -0700 (PDT) In-Reply-To: <4FA54D4A.4050703@zedat.fu-berlin.de> References: <4FA54D4A.4050703@zedat.fu-berlin.de> Date: Sat, 5 May 2012 17:34:14 +0100 Message-ID: From: Chris Rees To: "Hartmann, O." Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:34:17 -0000 On 5 May 2012 16:55, "Hartmann, O." wrote: > > Hello lists. > > Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes > massive trouble with net/openldap24-server (SASL enabled, so it is > openldap-sasl-server). > > Last time OpenLDAP worked was Thursday last week, when obviously a > problematic update to the OS was made - it is a wild guess, since I did > daily make world and by the end of the day after the last make world > things went worse. I'm sorry having no SVN release tag handy. > > Well, here some facts. > > 1) The update of net/openldap24-server has been performed earlier this > month and has been run successfully (2.4.31). > > 2) It doesn't matter whether OpenLDAP is compiled with CLANG 3.1 or > legacy GCC 4.2.1, compiled with CLANG, slapd(8C) coredumps immediately, > compiled with gcc, it starts, but when slapd(8C) gets accessed, it > coredumps immediately. A simple "id ohartmann" is enough. > > 3) I recompiled OpenLDAP 2.4.31 client and server and it requisites via > "portmaster -f net/openldap24-server|client. No effect/success. I also > recompiled every port used with OpenLDAP: security/pam_ldap and > net/nss_ldap. > > 4) OpenLDAP server uses DB5 based backend. > > 5) The very same configuration (copied slap.d folder's .ldif files) > works fine on FreeBSD 9.0-STABLE/amd64, even compiled with CLANG. This > makes me believe this is a FreeBSD 10.0-CURRENT specific bug. > > 6) Following is a truss output of the following comand issued: > > /usr/local/libexec/slapd -d32 -o ldap -g ldap -F > /usr/local/etc/openldap/slapd.d : > > [...] > connect(8,{ AF_INET 192.168.0.128:389 },16) ERR#61 'Connection refused' > shutdown(8,SHUT_RDWR) ERR#54 'Connection > reset by pee > r' > close(8) = 0 (0x0) > clock_gettime(13,{1336231852.000000000 }) = 0 (0x0) > getpid() = 84297 (0x14949) > sendto(3,"<163>May 5 17:30:52 slapd[84297"...,97,0x0,NULL,0x0) = 97 (0x61) > sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGF > PE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP| > SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH > |SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) > sigaction(SIGPIPE,{ SIG_DFL SA_RESTART ss_t },{ SIG_IGN 0x0 ss_t }) = 0 > (0x0) > sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) > 4fa547ac ldif_read_file: checksum error on > "/usr/local/etc/openldap/slapd.d//cn= > config/olcDatabase={1}hdb.ldif" > 4fa547ac hdb_db_open: database "dc=walstatt,dc=dyndns,dc=org": unclean > shutdown > detected; attempting recovery. > 4fa547ad hdb_db_open: database "cn=accesslog": unclean shutdown > detected; attemp > ting recovery. > 4fa547ad slapd starting > SIGNAL 11 (SIGSEGV) > setgroups(0x1,0x802c7a000,0x802c7c001,0xffffffff,0x0,0x0) ERR#4 > 'Interrupted sys > tem call' > process exit, rval = 0 > > > 7) Desperately, I tried nearly every variation of the configurable > "overlays", even those my configuration doesn't use. But this seems > nonesense since OpenLDAP worked before. > > I'm floating like a dead man in the water and I was wondering if someone > else doesn't face this problem. FreeBSD is said to be run in large > environments, so at least one should have OpenLDAP as user backend > running ... > > I need some help in this case. > Why are you running -CURRENT in production? Chris From owner-freebsd-questions@FreeBSD.ORG Sat May 5 16:43:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A0829106566C; Sat, 5 May 2012 16:43:46 +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 587608FC0A; Sat, 5 May 2012 16:43:46 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SQi5B-00049N-Lu>; Sat, 05 May 2012 18:43:45 +0200 Received: from e178019154.adsl.alicedsl.de ([85.178.19.154] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SQi5B-000504-Gu>; Sat, 05 May 2012 18:43:45 +0200 Message-ID: <4FA558C0.501@zedat.fu-berlin.de> Date: Sat, 05 May 2012 18:43:44 +0200 From: "Hartmann, O." Organization: FU Berlin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120504 Thunderbird/12.0.1 MIME-Version: 1.0 To: Chris Rees References: <4FA54D4A.4050703@zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.19.154 Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org Subject: Re: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 16:43:46 -0000 On 05/05/12 18:34, Chris Rees wrote: > On 5 May 2012 16:55, "Hartmann, O." wrote: >> >> Hello lists. >> >> Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes >> massive trouble with net/openldap24-server (SASL enabled, so it is >> openldap-sasl-server). >> >> Last time OpenLDAP worked was Thursday last week, when obviously a >> problematic update to the OS was made - it is a wild guess, since I did >> daily make world and by the end of the day after the last make world >> things went worse. I'm sorry having no SVN release tag handy. >> >> Well, here some facts. >> >> 1) The update of net/openldap24-server has been performed earlier this >> month and has been run successfully (2.4.31). >> >> 2) It doesn't matter whether OpenLDAP is compiled with CLANG 3.1 or >> legacy GCC 4.2.1, compiled with CLANG, slapd(8C) coredumps immediately, >> compiled with gcc, it starts, but when slapd(8C) gets accessed, it >> coredumps immediately. A simple "id ohartmann" is enough. >> >> 3) I recompiled OpenLDAP 2.4.31 client and server and it requisites via >> "portmaster -f net/openldap24-server|client. No effect/success. I also >> recompiled every port used with OpenLDAP: security/pam_ldap and >> net/nss_ldap. >> >> 4) OpenLDAP server uses DB5 based backend. >> >> 5) The very same configuration (copied slap.d folder's .ldif files) >> works fine on FreeBSD 9.0-STABLE/amd64, even compiled with CLANG. This >> makes me believe this is a FreeBSD 10.0-CURRENT specific bug. >> >> 6) Following is a truss output of the following comand issued: >> >> /usr/local/libexec/slapd -d32 -o ldap -g ldap -F >> /usr/local/etc/openldap/slapd.d : >> >> [...] >> connect(8,{ AF_INET 192.168.0.128:389 },16) ERR#61 'Connection > refused' >> shutdown(8,SHUT_RDWR) ERR#54 'Connection >> reset by pee >> r' >> close(8) = 0 (0x0) >> clock_gettime(13,{1336231852.000000000 }) = 0 (0x0) >> getpid() = 84297 (0x14949) >> sendto(3,"<163>May 5 17:30:52 slapd[84297"...,97,0x0,NULL,0x0) = 97 > (0x61) >> > sigprocmask(SIG_SETMASK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGF >> > PE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP| >> > SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH >> |SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0) >> sigaction(SIGPIPE,{ SIG_DFL SA_RESTART ss_t },{ SIG_IGN 0x0 ss_t }) = 0 >> (0x0) >> sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) >> 4fa547ac ldif_read_file: checksum error on >> "/usr/local/etc/openldap/slapd.d//cn= >> config/olcDatabase={1}hdb.ldif" >> 4fa547ac hdb_db_open: database "dc=walstatt,dc=dyndns,dc=org": unclean >> shutdown >> detected; attempting recovery. >> 4fa547ad hdb_db_open: database "cn=accesslog": unclean shutdown >> detected; attemp >> ting recovery. >> 4fa547ad slapd starting >> SIGNAL 11 (SIGSEGV) >> setgroups(0x1,0x802c7a000,0x802c7c001,0xffffffff,0x0,0x0) ERR#4 >> 'Interrupted sys >> tem call' >> process exit, rval = 0 >> >> >> 7) Desperately, I tried nearly every variation of the configurable >> "overlays", even those my configuration doesn't use. But this seems >> nonesense since OpenLDAP worked before. >> >> I'm floating like a dead man in the water and I was wondering if someone >> else doesn't face this problem. FreeBSD is said to be run in large >> environments, so at least one should have OpenLDAP as user backend >> running ... >> >> I need some help in this case. >> > > Why are you running -CURRENT in production? > > Chris > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Some has to report problems in the field and the new hardware in our science lab benefits from some advantages in FBSD 10, at least LLVM/CLANG 3.1. From owner-freebsd-questions@FreeBSD.ORG Sat May 5 17:17:30 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CC47106566C for ; Sat, 5 May 2012 17:17:30 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id D2E9B8FC1B for ; Sat, 5 May 2012 17:17:29 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q45HHOsr006243 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 5 May 2012 18:17:25 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q45HHOsr006243 Authentication-Results: smtp.infracaninophile.co.uk/q45HHOsr006243; dkim=none (no signature); dkim-adsp=none Message-ID: <4FA5609A.70604@FreeBSD.org> Date: Sat, 05 May 2012 18:17:14 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Joshua Isom References: <4FA54566.6050106@gmail.com> In-Reply-To: <4FA54566.6050106@gmail.com> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5E7F44BC797907EED421BF07" X-Virus-Scanned: clamav-milter 0.97.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" Subject: Re: Best mail setup for home server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 17:17:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5E7F44BC797907EED421BF07 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/05/2012 16:21, Joshua Isom wrote: > I currently use my FreeBSD system as my generic unix server and some > coding, along with occasional multimedia. I'd installed postfix years > ago and kept using it. Right now, I use getmail with cron, dspam, and > dovecot to handle my gmail account. I've never set up outgoing mail > which makes changing email clients, or devices, annoying. Currently > postfix is set to use dovecot's deliver command so that dovecot can sor= t > and handle it. Before I deal with setting postfix to relay the mail, > dealing with firewalls and other possible issues, is there a better > alternative? I'd prefer that local mail "just works" even if I lose > internet, and any email that gets as far as my server will at least > eventually mail. The archlinux wiki seems to suggest ssmtp doesn't wor= k > properly with attachments. Instead it recommends msmtp, which requires= > an active internet connection to use. Dragonfly's dma is local only to= > the computer and not the LAN. Are the only options configuring sendmai= l > or configuring postfix? Local mail will just work with postfix, but general mail may not work with the simpler servers like ssmtp or msmtp or dma. Given you've already got postfix installed and presumably have gained some familiarity with it over the time you've been using it, I can't see a good reason to switch to anything else. Any e-mail system will have problems if you lose internet connectivity: e-mail is critically dependent on the DNS, and if your MTA cannot lookup the data it needs, it is not going to get very far. Ideally it should just queue the mail to be dealt with as soon as connectivity improves -- a good MTA like postfix should do this as standard, although you might find it a good idea to run an instance of named as a local recursive resolver. There are some alternative MTAs to postfix (such as sendmail or exim), but given this is for personal use and presumably won't be handling all that much e-mail in any case, any of them would do the job admirably, and you main criterion for choosing which to use should be which one you know best. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig5E7F44BC797907EED421BF07 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+lYKMACgkQ8Mjk52CukIyemgCfUwt26tqmVcZdlZERYqC9pjwu SpwAnjpb20rqOdj4h7SxjwBWkWLuesl1 =Kotp -----END PGP SIGNATURE----- --------------enig5E7F44BC797907EED421BF07-- From owner-freebsd-questions@FreeBSD.ORG Sat May 5 17:37:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60F8F1065673 for ; Sat, 5 May 2012 17:37:05 +0000 (UTC) (envelope-from emmakhaze@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DE9548FC15 for ; Sat, 5 May 2012 17:37:04 +0000 (UTC) Received: by bkvi17 with SMTP id i17so4063435bkv.13 for ; Sat, 05 May 2012 10:37:03 -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=YPN2vHvp6kFYsrUnE584CI2hCTNQuBXABi/I34nMGVU=; b=IHYANyzNki6YB41adppJvsHShIId85eRrKageRecGVMuBbLRx0NRFCJlFrRp/ySfh7 wDmNDO3Aya5VGI7cQNfRNK255mncexgerbsbB/wYwh/EvmxyTSEIBww6yjiMNDsVnwND b/0i3K7mJXoC3PnHZyxF5rFsxmaUdba09Y2tvV9b8T3CViLQWX7WDt8PS7GciYXvLsBo FrGjDea3UYLp+pxzRy94M5CrwOT1f7P0kgW1O/kvxT4GGaxhCYZWDZD54LdGwSmJT/fS FpKn7pyl7vNljjGLE5T4mBoUDKTv+iojamwNm/fTlimvR3EELpC0JQJ2BYJb2gqHXLWs OVCg== MIME-Version: 1.0 Received: by 10.205.134.1 with SMTP id ia1mr1037948bkc.77.1336239423596; Sat, 05 May 2012 10:37:03 -0700 (PDT) Received: by 10.204.69.83 with HTTP; Sat, 5 May 2012 10:37:03 -0700 (PDT) Date: Sun, 6 May 2012 01:37:03 +0800 Message-ID: From: Emma Haze To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Broken link on your website X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 17:37:05 -0000 Hi There, Sorry, I'm not sure whether I've already contacted you about this, so I apologize if I'm notifying you a second time. But I had noticed that you have a broken link on your page at cybershade.us/freebsd/www/securitylinking to http://www.shmoo.com/securecode/, so I wanted to inform you in case you are not aware of this. And if you are still updating your website, I've included a similar resource on Secure Programming that you can replace the broken link with if you are interested. Thanks for maintaining a great site! Link: http://www.onlineitdegree.net/resources/secure-programming/ Best Regards, Emma From owner-freebsd-questions@FreeBSD.ORG Sat May 5 17:48:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46C651065672 for ; Sat, 5 May 2012 17:48:05 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id F03138FC12 for ; Sat, 5 May 2012 17:48:04 +0000 (UTC) Received: from gamma.lan.locolomo.org (gamma.lan.locolomo.org [192.168.0.33]) by mail.locolomo.org (Postfix) with ESMTPSA id BC9A71C0841 for ; Sat, 5 May 2012 19:48:03 +0200 (CEST) Message-ID: <4FA567D3.1060800@locolomo.org> Date: Sat, 05 May 2012 19:48:03 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4FA54566.6050106@gmail.com> In-Reply-To: <4FA54566.6050106@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Best mail setup for home server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 17:48:05 -0000 On 05/05/2012 17:21, Joshua Isom wrote: > Before I deal with setting postfix to relay the mail, > dealing with firewalls and other possible issues, is there a better > alternative? postfix will do the job, it just works, local mail will continue to just work. There are alternatives like qmail and sendmail, but why bother if you're already familiar with postfix? The issues you will have will likely be the same regardless of your choice of MTA: Relaying mail through your server may cause outgoing mail to end up in recipients spambox, that at least if your MTA will send directly to the recipient mail server and not relay through, say, your google account. I don't know if you can set postfix up to relay through gmail using your google account, or if it is a good idea - you have to configure it with your password and in plaintext I suppose. But, is this the solution? It sounds like you've got an overly complicated setup. If you use a mail client you can configure multiple accounts, download messages for offline use etc. A mail client like Thunderbird will queue your mail if the smtp server cannot be reached. Consider the issues you otherwise will have when you're away and can't reach your server. BR, Erik -- M: +34 666 334 818 T: +34 915 211 157 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 17:51:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 68BF2106566C for ; Sat, 5 May 2012 17:51:21 +0000 (UTC) (envelope-from kenneth.hatteland@kleppnett.no) Received: from asav4.lyse.net (asav4.lyse.net [81.167.36.150]) by mx1.freebsd.org (Postfix) with ESMTP id 2311D8FC08 for ; Sat, 5 May 2012 17:51:20 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by asav4.lyse.net (Postfix) with ESMTP id 89A3D6C115 for ; Sat, 5 May 2012 19:20:11 +0200 (CEST) X-Virus-Scanned: amavisd-new at lyse.net Received: from terra?hatteland1.org (129.81-166-80.customer.lyse.net [81.166.80.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kenneth.hatteland@kleppnett.no) by asav4.lyse.net (Postfix) with ESMTP id C9EE66C089 for ; Sat, 5 May 2012 19:20:10 +0200 (CEST) Message-ID: <4FA5614A.8050609@kleppnett.no> Date: Sat, 05 May 2012 19:20:10 +0200 From: Kenneth Hatteland User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120503 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 17:51:21 -0000 The idea of installing FreeBSD 6.4 and experiment with upgrading to7.x and above appeals to quite a lot. If anyone have tried this I`d like to know if it is doable. I guess I`ll pick up the server one of the coming days. The tip on using OpenVMS is okay, I googled it. But this seems to be a commercial OS, and I have no money to spend on it, and I get the server for free to play with. So BSD will be fine. I`ll try FreeBSD first, and OpenBSD next I think if the experience of FreeBSD 6.4 and above is not totally pleasant... Kenneth Hatteland From owner-freebsd-questions@FreeBSD.ORG Sat May 5 18:25:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E62E106566C for ; Sat, 5 May 2012 18:25:41 +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 E21B58FC08 for ; Sat, 5 May 2012 18:25:40 +0000 (UTC) Received: from r56.edvax.de (port-92-195-20-192.dynamic.qsc.de [92.195.20.192]) by mx02.qsc.de (Postfix) with ESMTP id B4F891DAF7; Sat, 5 May 2012 20:25:33 +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 q45IPXwR002225; Sat, 5 May 2012 20:25:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 5 May 2012 20:25:33 +0200 From: Polytropon To: Kenneth Hatteland Message-Id: <20120505202533.d0ad291d.freebsd@edvax.de> In-Reply-To: <4FA5614A.8050609@kleppnett.no> References: <4FA5614A.8050609@kleppnett.no> 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 Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 18:25:41 -0000 On Sat, 05 May 2012 19:20:10 +0200, Kenneth Hatteland wrote: > The idea of installing FreeBSD 6.4 and experiment with upgrading to7.x > and above appeals to quite a lot. If anyone have tried this I`d like to > know if it is doable. I guess I`ll pick up the server one of the coming > days. It should be useful to pay attention to all security considerations, and of course to features that the _software_ you want to run might require from the OS. > The tip on using OpenVMS is okay, I googled it. But this seems to be a > commercial OS, and I have no money to spend on it, and I get the server > for free to play with. So BSD will be fine. OpenVMS offers, if I remember correctly, "hobbyist licensing" which is less expensive than the commercial licensing. Additionally, I've heared of FreeVMS, but I'm not sure if it's still in development and will run on your hardware. It's supposed to be a free (of costs) VMS-compatible operating system, if I remember correctly. > I`ll try FreeBSD first, and OpenBSD next I think if the experience of > FreeBSD 6.4 and above is not totally pleasant... Try installing the OS, then continue with finding out what specific software (from ports or packages) you'll need. Update the system if needed, or if you're okay with a "not so current" system, just leave the software as-is, if it fits your needs. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat May 5 18:25:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5F4F106566B for ; Sat, 5 May 2012 18:25:47 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id C15F18FC0A for ; Sat, 5 May 2012 18:25:47 +0000 (UTC) Received: from atomizer64 (c-67-186-61-206.hsd1.pa.comcast.net [67.186.61.206]) by www6.pairlite.com (Postfix) with ESMTPSA id E5B23B861; Sat, 5 May 2012 14:19:26 -0400 (EDT) Date: Sat, 5 May 2012 14:19:25 -0400 From: Rod Person To: Kenneth Hatteland Message-ID: <20120505141925.62bfc8d6@atomizer64> In-Reply-To: <4FA5614A.8050609@kleppnett.no> References: <4FA5614A.8050609@kleppnett.no> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 18:25:48 -0000 On Sat, 05 May 2012 19:20:10 +0200 Kenneth Hatteland wrote: > The idea of installing FreeBSD 6.4 and experiment with upgrading > to7.x and above appeals to quite a lot. If anyone have tried this I`d > like to know if it is doable. I guess I`ll pick up the server one of > the coming days. I have an Aspen Durango II Alpha server that I'm pretty sure I was able to upgrade to 7.x using cvs. It been sitting ideal in my basement for a few years now. I don't think you can go above 7. > The tip on using OpenVMS is okay, I googled it. But this seems to be > a commercial OS, and I have no money to spend on it, and I get the > server for free to play with. So BSD will be fine. The hobby license is free. You just need the media, which I think sells for around 30 - 50 bucks when it pops up on Ebay. Not sure if the Hobbyist still sell media. -- Rod Person http://www.rodperson.com rodperson@rodperson.com "Let us in the name of the Holy Trinity, go on sending all the slaves that can be sold." - Letter from Christopher Columbus. J.A. Rawley, The Trans-Atlantic Slave Trade: A History. Pg.3 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 18:30:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D64A7106566C for ; Sat, 5 May 2012 18:30:40 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s11.blu0.hotmail.com (blu0-omc4-s11.blu0.hotmail.com [65.55.111.150]) by mx1.freebsd.org (Postfix) with ESMTP id 83E5B8FC12 for ; Sat, 5 May 2012 18:30:40 +0000 (UTC) Received: from BLU0-SMTP126 ([65.55.111.136]) by blu0-omc4-s11.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 5 May 2012 11:30:34 -0700 X-Originating-IP: [76.182.104.150] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([76.182.104.150]) by BLU0-SMTP126.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 5 May 2012 11:30:33 -0700 Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3VlJYg6X04z2CG46 for ; Sat, 5 May 2012 14:30:31 -0400 (EDT) Date: Sat, 5 May 2012 14:30:31 -0400 From: Carmel To: FreeBSD X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 05 May 2012 18:30:33.0429 (UTC) FILETIME=[283CA050:01CD2AED] Subject: problem with dhclient after update to FreeBSD-8.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 18:30:41 -0000 I just updated my system to "FreeBSD 8.3-STABLE #0" from version 8.2. I was getting warning messages regarding "webcamd" at boot-up; however, I got them fixed (I think) I loaded: cuse4bsd_load="YES" in the loader.conf file and placed: webcamd_enable="YES" in the rc.conf file. I had never used it before; however, I am assuming that the 8.3 version somehow requires it. I am still receiving an error message regarding "dhclient". This is an snippet of the screen logging at boot-up: nfe0: link state changed to DOWN Starting dhclient. nfe0: no link ....nfe0: link state changed to UP got link DHCPREQUEST on nfe0 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.101 -- renewal in 43200 seconds. Starting Network: lo0 nfe0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 nfe0: flags=8843 metric 0 mtu 1500 options=82008 ether 00:19:21:5d:34:de inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 media: Ethernet autoselect (100baseTX ) status: active add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1nfe0: link state changed to DOWN Starting devd. Starting webcamd. Attached ugen1.3[0] to cuse unit -1 Starting webcamd. Attached ugen1.3[1] to cuse unit -1 Starting webcamd. Attached ugen1.3[2] to cuse unit -1 Starting ums0 moused. Starting webcamd. Attached ugen1.4[0] to cuse unit -1 Starting webcamd. Attached ugen1.4[1] to cuse unit -1 dhclient already running? (pid=435). "dhclient" is listed as starting at the beginning of the log and again at the end. I never had this happen when using FreeBSD-8.2. I am still confused as to why "devd" wants to start "webcamd" All I guess I really have to get corrected is the "dhclient" thing, assuming it is a real problem and just not some useless noise. -- Carmel ✌ carmel_ny@hotmail.com From owner-freebsd-questions@FreeBSD.ORG Sat May 5 18:31:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C547D106566B for ; Sat, 5 May 2012 18:31:17 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id 73A058FC08 for ; Sat, 5 May 2012 18:31:17 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q45IW06Q055670; Sat, 5 May 2012 13:32:00 -0500 (CDT) Date: Sat, 5 May 2012 13:32:00 -0500 (CDT) From: Robert Bonomi Message-Id: <201205051832.q45IW06Q055670@mail.r-bonomi.com> To: freebsd-questions@freebsd.org In-Reply-To: <20120505162448.GA33675@mech-cluster241.men.bris.ac.uk> Cc: mexas@bristol.ac.uk Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 18:31:17 -0000 : Anton Shterenlikht wrote: > On Fri, May 04, 2012 at 04:56:33PM -0500, Robert Bonomi wrote: > > > > It looks like you're missing a route. > > > > I suspect you've got a wired ethernet port, that is being conigured > > with a default address. and the default route points -there-. > > > > Please show the output of 'ifconfig -a', and 'netstat -nr'. > > # ifconfig -a > bge0: flags=8843 metric 0 mtu 1500 > options=8009b > ether 00:1a:4b:89:4b:4e > inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > bwn0: flags=8843 metric 0 mtu 2290 > ether 00:c0:49:58:00:fe > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > status: associated > wlan0: flags=8843 metric 0 mtu 1500 > ether 00:c0:49:58:00:fe > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > status: associated > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > wme roaming MANUAL > > > > # netstat -nr > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGS 0 624 bge0 > 127.0.0.1 link#8 UH 0 0 lo0 > 192.168.1.0/24 link#1 U 0 0 bge0 > 192.168.1.101 link#1 UHS 0 0 lo0 > 192.168.1.104 link#10 UHS 0 0 lo0 > BINGO! You are using *both* a hard-wired connection (bge0) and a wireless (wan0) one. You have configured _both_ adresses on the *same* LAN netblock (192.168.1.0/255). This is a big 'no-no'. Different enterfaces o difereent LANs _have_ to be in different netblocks. As you can see from the 'routing table' *everything* is routed over 'bge0', the _wired_ connection. I don't knoe enough about your neteork 'architecture' to guess what you're -trying- to do, but you'r doing it wrong. At a -minimum-, you need to: 1) use different networks/subnets for the wired network (where 'bge0' is connected) and the wireless network (accessed through 'wlan0'). Tell the wireless access point to hand out DHCP addresses from the netblock 192.168.2.0/24, for example. 2) make sure that the configuration for 'bge0' does -not- set up that interface as the 'default' route. 3) ADD configurationn info to use 'wlan0' as the 'default' route. If you're tryinng to use this computer to 'share' the wireless connection with other machines on the wired network, you will need to enable 'gateway'/'forwarding'/'routing' on this box, to pass packets between the interfaces. From owner-freebsd-questions@FreeBSD.ORG Sat May 5 19:00:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00B0C106566C for ; Sat, 5 May 2012 19:00:54 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE248FC0C for ; Sat, 5 May 2012 19:00:53 +0000 (UTC) Received: by bkvi17 with SMTP id i17so4093417bkv.13 for ; Sat, 05 May 2012 12:00:46 -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=G6nlbQOUESuYxpnlHoCoKkdMxMi7Fb7QgOzYWCvVvZo=; b=VOX4UFR8dQ/u2PUDhHdhlsvivGwn4xg1TlwJe5rsYwl/SJN8VoVlLN9YSJkzvOJAqs nAER9XL6eLcMc3PkQhBuCkuGCGQ2Yk7huuYZsQwrG22w+ODUk8Z2drwVMZA8vRHlk8vB XLKuJQpGlxF+fOy0rGzqSea3OJiKXjdaq/c7byh2GP8LGrYt1Zd712TUbWVUWiNNqa/5 YynXYGcLgjfN+1YJH5BpqxF/q8SMrsYcpS3w0nthzFf8k/ZpQ2H7ZoCawBN4ZrMfr3vR gODEm+BlraMjEyc0VfgevkwWRPFYdoTOcZMwV2A3ePX2LdHMpNooVRFAOFYoNKkDFXhO PjfA== MIME-Version: 1.0 Received: by 10.204.128.149 with SMTP id k21mr3527359bks.42.1336244446190; Sat, 05 May 2012 12:00:46 -0700 (PDT) Received: by 10.204.157.11 with HTTP; Sat, 5 May 2012 12:00:46 -0700 (PDT) In-Reply-To: <20120505141925.62bfc8d6@atomizer64> References: <4FA5614A.8050609@kleppnett.no> <20120505141925.62bfc8d6@atomizer64> Date: Sat, 5 May 2012 15:00:46 -0400 Message-ID: From: Outback Dingo To: Rod Person Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kenneth Hatteland , freebsd-questions@freebsd.org Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 19:00:54 -0000 On Sat, May 5, 2012 at 2:19 PM, Rod Person wrote: > On Sat, 05 May 2012 19:20:10 +0200 > Kenneth Hatteland wrote: > >> The idea of installing FreeBSD 6.4 and experiment with upgrading >> to7.x and above appeals to quite a lot. If anyone have tried this I`d >> like to know if it is doable. I guess I`ll pick up the server one of >> the coming days. > > I have an Aspen Durango II Alpha server that I'm pretty sure I was able > to upgrade to 7.x using cvs. It been sitting ideal in my basement for a > few years now. I don't think you can go above 7. > >> The tip on using OpenVMS is okay, I googled it. But this seems to be >> a commercial OS, and I have no money to spend on it, and I get the >> server for free to play with. So BSD will be fine. > > The hobby license is free. You just need the media, which I think sells > for around 30 - 50 bucks when it pops up on Ebay. Not sure if the > Hobbyist still sell media. > According to http://www.openvmshobbyist.com/news.php The OpenVMS Hobbyist Program now has a new licensing portal on the popular OpenVMS.org site. You can find the announcement here: http://www.openvms.org/stories.php?story=3D12/01/27/8782690 License registration is located at http://www.openvms.org/pages.php?page=3DHobbyist And check out part where is says "In addition, the OpenVMS Hobbyist Program offers kits containing OpenVMS Base O/S software and selected Layered Products via download." I know this is something that's been asked about on several occasions, and HP has finally taken it to heart. This should also allow the Hobbyist Program to provide a lot more Layered Products that previously available. So it seems it is still possible, if he desired to pursue it. I still have FreeBSD Alpha, and OpenVMS Alpha/Itanium systems chugging along. > > -- > Rod Person =A0 =A0 =A0 =A0 http://www.rodperson.com =A0 =A0 rodperson@rod= person.com > > "Let us in the name of the Holy Trinity, go on sending all the slaves > =A0that can be sold." > - Letter from Christopher Columbus. > =A0J.A. Rawley, The Trans-Atlantic Slave Trade: A History. Pg.3 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" From owner-freebsd-questions@FreeBSD.ORG Sat May 5 19:11:43 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15AA106566B for ; Sat, 5 May 2012 19:11:43 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 855608FC0C for ; Sat, 5 May 2012 19:11:43 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQkOL-0000vl-KF; Sat, 05 May 2012 20:11:41 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQkOK-00012Z-RQ; Sat, 05 May 2012 20:11:40 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45JBen7034246; Sat, 5 May 2012 20:11:40 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45JBen6034245; Sat, 5 May 2012 20:11:40 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 20:11:40 +0100 From: Anton Shterenlikht To: Outback Dingo Message-ID: <20120505191140.GA34222@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Outback Dingo , Rod Person , Kenneth Hatteland , freebsd-questions@freebsd.org References: <4FA5614A.8050609@kleppnett.no> <20120505141925.62bfc8d6@atomizer64> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Kenneth Hatteland , freebsd-questions@freebsd.org, Rod Person Subject: Re: Off topic: NetBSD or OpenBSD for Alpha server ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 19:11:43 -0000 > I still have FreeBSD Alpha, and OpenVMS Alpha/Itanium systems chugging along. Now, ia64 is another story. I run fbsd 10-current on ia64. Have you tried fbsd on ia64? Are you at all interested in this? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 19:29:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423B6106564A for ; Sat, 5 May 2012 19:29:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id E90D58FC0C for ; Sat, 5 May 2012 19:29:36 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SQkff-00039q-QG; Sat, 05 May 2012 20:29:35 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SQkff-0003nA-12; Sat, 05 May 2012 20:29:35 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q45JTYvD034274; Sat, 5 May 2012 20:29:34 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q45JTYBu034273; Sat, 5 May 2012 20:29:34 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Sat, 5 May 2012 20:29:34 +0100 From: Anton Shterenlikht To: Robert Bonomi Message-ID: <20120505192934.GB34222@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Robert Bonomi , freebsd-questions@freebsd.org, mexas@bristol.ac.uk References: <20120505162448.GA33675@mech-cluster241.men.bris.ac.uk> <201205051832.q45IW06Q055670@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205051832.q45IW06Q055670@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i Cc: mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 19:29:37 -0000 On Sat, May 05, 2012 at 01:32:00PM -0500, Robert Bonomi wrote: > > : Anton Shterenlikht wrote: > > On Fri, May 04, 2012 at 04:56:33PM -0500, Robert Bonomi wrote: > > > > > > It looks like you're missing a route. > > > > > > I suspect you've got a wired ethernet port, that is being conigured > > > with a default address. and the default route points -there-. > > > > > > Please show the output of 'ifconfig -a', and 'netstat -nr'. > > > > # ifconfig -a > > bge0: flags=8843 metric 0 mtu 1500 > > options=8009b > > ether 00:1a:4b:89:4b:4e > > inet 192.168.1.101 netmask 0xffffff00 broadcast 192.168.1.255 > > nd6 options=29 > > media: Ethernet autoselect (100baseTX ) > > status: active > > lo0: flags=8049 metric 0 mtu 16384 > > options=3 > > inet6 ::1 prefixlen 128 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 > > inet 127.0.0.1 netmask 0xff000000 > > nd6 options=21 > > bwn0: flags=8843 metric 0 mtu 2290 > > ether 00:c0:49:58:00:fe > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g > > status: associated > > wlan0: flags=8843 metric 0 mtu 1500 > > ether 00:c0:49:58:00:fe > > inet 192.168.1.104 netmask 0xffffff00 broadcast 192.168.1.255 > > nd6 options=29 > > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g > > status: associated > > ssid lagartixa channel 11 (2462 MHz 11g) bssid 00:18:39:e6:46:b6 > > country US authmode WPA2/802.11i privacy ON deftxkey UNDEF > > AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 450 bgscan > > bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS > > wme roaming MANUAL > > > > > > > > # netstat -nr > > Routing tables > > > > Internet: > > Destination Gateway Flags Refs Use Netif Expire > > default 192.168.1.1 UGS 0 624 bge0 > > 127.0.0.1 link#8 UH 0 0 lo0 > > 192.168.1.0/24 link#1 U 0 0 bge0 > > 192.168.1.101 link#1 UHS 0 0 lo0 > > 192.168.1.104 link#10 UHS 0 0 lo0 > > > > BINGO! > > You are using *both* a hard-wired connection (bge0) and a wireless (wan0) one. > > You have configured _both_ adresses on the *same* LAN netblock > (192.168.1.0/255). > > This is a big 'no-no'. > > Different enterfaces o difereent LANs _have_ to be in different netblocks. > > As you can see from the 'routing table' *everything* is routed over 'bge0', > the _wired_ connection. > > > I don't knoe enough about your neteork 'architecture' to guess what you're > -trying- to do, but you'r doing it wrong. > > At a -minimum-, you need to: > 1) use different networks/subnets for the wired network (where 'bge0' is > connected) and the wireless network (accessed through 'wlan0'). Tell > the wireless access point to hand out DHCP addresses from the netblock > 192.168.2.0/24, for example. > 2) make sure that the configuration for 'bge0' does -not- set up that > interface as the 'default' route. > 3) ADD configurationn info to use 'wlan0' as the 'default' route. > > If you're tryinng to use this computer to 'share' the wireless connection > with other machines on the wired network, you will need to enable > 'gateway'/'forwarding'/'routing' on this box, to pass packets between > the interfaces. Thank you. Replying via wireless: # netstat -finet -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 1243 wlan0 127.0.0.1 link#8 UH 0 82 lo0 192.168.1.0/24 link#10 U 0 6 wlan0 192.168.1.104 link#10 UHS 0 0 lo0 # I'm afraid I understand very little from what you've written. Sorry to be such a shmuck. I've read a couple of books on networking, someting like Patterson & Hennesy (?) Networking - system approach (?), but I still find the whole networking area perfectly impenetrable. (If you can recommend a really introductory book on the subject, I'd really appreciate it. Something that explains the whole terminology behind e.g. netstat - protocol, socket, interface, multicast, etc.) So, what I did is I disabled bge completely, i.e. removed from /etc/rc.conf, and I remembered to include wlan0 in /etc/ipf.rules. This works ok. I'll need to think of an easy system to switch from bge to bwn. I usually use bge with static ip address at work and I'm trying to use bwn at home. Many thanks for your help -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Sat May 5 21:03:21 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E3EA106566C for ; Sat, 5 May 2012 21:03:21 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (mx-out.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id A6B948FC08 for ; Sat, 5 May 2012 21:03:20 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id q45L4Cba056717; Sat, 5 May 2012 16:04:12 -0500 (CDT) Date: Sat, 5 May 2012 16:04:12 -0500 (CDT) From: Robert Bonomi Message-Id: <201205052104.q45L4Cba056717@mail.r-bonomi.com> To: mexas@bristol.ac.uk In-Reply-To: <20120505192934.GB34222@mech-cluster241.men.bris.ac.uk> Cc: freebsd-questions@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 21:03:21 -0000 Anton Shterenlikht wrote; > I'm afraid I understand very little > from what you've written. Sorry > to be such a shmuck. I've read a couple > of books on networking, someting like > Patterson & Hennesy (?) Networking - system > approach (?), but I still find > the whole networking area perfectly > impenetrable. (If you can recommend > a really introductory book on the > subject, I'd really appreciate it. The following books are *NOT* easy reading, but will teach you nearly everything about how networking works: 'TCP/IP illustrated' Volumes 1 and 2 (3 is optional) "Internetworking with TCP/IP' Volumes 1 and 2 (3 is 'programming') These are the 'bibles' that virtully every professional has on their reference shelf (becaue they cover *everythig* from the very basics up), along with 'Unix Network Programming', which gets into the nitty-gritty details of the internals of writing software that communicates over the network. See also "TCP/IP Network Administration". This is an "O'Reilley Associates" book. Virtually *everything* they publish is excellent. If they've ever published an even mediocre book, _I_ have never encountered it. For 'minimalist'/'simplistic' descriptions of specific terms, see: Google for 'unix glossary of terms' for attidional useful wordists. > So, what I did is I disabled bge > completely, i.e. removed from /etc/rc.conf, > and I remembered to include wlan0 in > /etc/ipf.rules. This works ok. AH, if it is an 'either/or' situation, then life is a lot simpler. The 'ifconfig -a' output showed that _both_ interfaes were configured, "UP", with an IP address, *AND* that _both_ were connected to 'something'. Using both interfaces at the same time is significantly more complicated. 'Doable', just a bit tricky. And how you do it depends on 'whiich way' is 'out' (to the rest of the world.) > I'll need to think of an easy system > to switch from bge to bwn. I usually > use bge with static ip address at work > and I'm trying to use bwn at home. Write two simple shell sripts. One that doess the things you just did to 'remove' bge0, and enable bwn0/wlan0. And another that removes the bwn0/wlan0 references and adds the bge0 stu back in. If you're doing this by manipulating the rc.conf settings, then you can even stick an automatic reboot in the end of each of those scripts. If you turn on the machine and it comes up in the 'wrong' configuration, just run the script to change to the 'other' one. And reboot, if the script doesn't do it for you. When you have a better understanding of networking, and the the basic networking configuration commands ('ifconfig' and 'route', primarily), you can write scripts that make the operational changes -without- needing to reboot. Then you can leave the 'boot' configuration at whatever you 'normally' use (probably 'work'), and run the 'wireless' script to take down the ethernet ad bring up the Wi-Fi. From owner-freebsd-questions@FreeBSD.ORG Sat May 5 23:48:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E1A2106564A for ; Sat, 5 May 2012 23:48:35 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 1DC7F8FC08 for ; Sat, 5 May 2012 23:48:34 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id q45NQ05e070696; Sat, 5 May 2012 19:26:00 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sat, 5 May 2012 19:26:00 -0400 (EDT) From: Chris Hill To: Robert Bonomi In-Reply-To: <201205052104.q45L4Cba056717@mail.r-bonomi.com> Message-ID: References: <201205052104.q45L4Cba056717@mail.r-bonomi.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: mexas@bristol.ac.uk, freebsd-questions@freebsd.org Subject: Re: help debug bwn(4) wireless X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 23:48:35 -0000 On Sat, 5 May 2012, Robert Bonomi wrote: > Anton Shterenlikht wrote; [snip] >> ...I still find the whole networking area perfectly impenetrable. (If >> you can recommend a really introductory book on the subject, I'd >> really appreciate it. [snip] > See also "TCP/IP Network Administration". This is an "O'Reilley > Associates" book. Virtually *everything* they publish is excellent. > If they've ever published an even mediocre book, _I_ have never > encountered it. Anton, I'll second that recommendation. 'TCP/IP Network Administration' by Craig Hunt is an outstanding book; it taught me a lot about networking, really made the subject comprehensible. The other O'Reilly book that I found indispensable when getting started was 'Essential System Administration' by Aeleen Frisch. In fact, why don't I just "me too" about O'Reilly. Everything of theirs that I have seen has been excellent. [snip] -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Sat May 5 23:55:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE8E21065687; Sat, 5 May 2012 23:55:16 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 919308FC16; Sat, 5 May 2012 23:55:16 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:68f7:d8e6:6bfb:e905] (unknown [IPv6:2001:7b8:3a7:0:68f7:d8e6:6bfb:e905]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 0B5635C37; Sun, 6 May 2012 01:55:09 +0200 (CEST) Message-ID: <4FA5BDDC.4050307@FreeBSD.org> Date: Sun, 06 May 2012 01:55:08 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120425 Thunderbird/13.0 MIME-Version: 1.0 To: "Hartmann, O." References: <4FA54D4A.4050703@zedat.fu-berlin.de> In-Reply-To: <4FA54D4A.4050703@zedat.fu-berlin.de> X-Enigmail-Version: 1.5a1pre Content-Type: multipart/mixed; boundary="------------070005000407080202000300" Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org, David Xu Subject: Re: OpenLDAP 2.4.31 on FreeBSD 10.0-CURRENT/amd64 broken! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 May 2012 23:55:17 -0000 This is a multi-part message in MIME format. --------------070005000407080202000300 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 2012-05-05 17:54, Hartmann, O. wrote: > Since Friday, I have on all of our FreeBSD 10.0-CURRENT/amd64 boxes > massive trouble with net/openldap24-server (SASL enabled, so it is > openldap-sasl-server). > > Last time OpenLDAP worked was Thursday last week, when obviously a > problematic update to the OS was made I managed to reproduce the segfault you are seeing in slapd, which is caused by a problem in libthr.so, introduced in r234947. Please apply the attached diff, rebuild lib/libthr and install it, and then try your slapd tests again. Let us know. :) @David, can you please review this diff? It looks like there was a mistake merging from Perforce, where you also moved the line: sc = SC_LOOKUP(wchan); to the top of the _sleepq_add() function, just before the call to _sleepq_lookup(). If this isn't done, sc may be uninitialized when it is dereferenced later on in the function. --------------070005000407080202000300 Content-Type: text/x-diff; name="libthr-segfault-1.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libthr-segfault-1.diff" Index: lib/libthr/thread/thr_sleepq.c =================================================================== --- lib/libthr/thread/thr_sleepq.c (revision 234994) +++ lib/libthr/thread/thr_sleepq.c (working copy) @@ -113,11 +113,11 @@ _sleepq_add(void *wchan, struct pthread *td) struct sleepqueue_chain *sc; struct sleepqueue *sq; + sc = SC_LOOKUP(wchan); sq = _sleepq_lookup(wchan); if (sq != NULL) { SLIST_INSERT_HEAD(&sq->sq_freeq, td->sleepqueue, sq_flink); } else { - sc = SC_LOOKUP(wchan); sq = td->sleepqueue; LIST_INSERT_HEAD(&sc->sc_queues, sq, sq_hash); sq->sq_wchan = wchan; --------------070005000407080202000300--