From owner-freebsd-stable@FreeBSD.ORG Sun Mar 27 12:41:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B26FA1065672; Sun, 27 Mar 2011 12:41:18 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 141D68FC14; Sun, 27 Mar 2011 12:41:17 +0000 (UTC) Received: by fxm11 with SMTP id 11so2646796fxm.13 for ; Sun, 27 Mar 2011 05:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=RNw8cxP7uUema0n/2iBx6BBZ0XqmIMrHnxtccd3kl7g=; b=ar8m+psd84djSlwsEtFOVdFg54hew2SUjYbQ4cry2kcRg3EnF7MPXoGVxuNs6uSCeo 3gSM3qbmxLg/89cW4Cd33uRIwJh3WABvo6Y2LxDBJ3x6tWCmZzz5N2/HUI0UVgHTy1X1 9CP/ekMqqE46kyO7zPRT4RfWt2/tnJMIdMNDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=xFp/L9ahnj2oNKGHVsKWEr2oPl1LSBcQBt5URS+ea35ZuNzTW/2OR5Zkv6cKW5DuYJ axs7JoIAPJDsNzvH8qAEOTOQp7/lrlq8UexQJ8jngDAcpkjiMZpCwCJxx2Cv/m6AEwii w1R/wkpR5w7JZw4DafZqxd791d7zgpzmDT3YY= Received: by 10.223.59.81 with SMTP id k17mr3204143fah.94.1301228179896; Sun, 27 Mar 2011 05:16:19 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id n1sm1070163fam.16.2011.03.27.05.16.17 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Mar 2011 05:16:18 -0700 (PDT) From: Mikolaj Golub To: Freddie Cash References: <20110325075541.GA1742@garage.freebsd.pl> X-Comment-To: Freddie Cash Sender: Mikolaj Golub Date: Sun, 27 Mar 2011 15:16:15 +0300 In-Reply-To: (Freddie Cash's message of "Sat, 26 Mar 2011 10:52:08 -0700") Message-ID: <86zkogep2o.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: FreeBSD Filesystems , FreeBSD Stable , FreeBSD-Current , Pawel Jakub Dawidek Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2011 12:41:18 -0000 --=-=-= On Sat, 26 Mar 2011 10:52:08 -0700 Freddie Cash wrote: FC> hastd backtrace is here: FC> http://www.sd73.bc.ca/downloads/crash/hast-backtrace.png It is not a hastd crash, but a kernel crash triggered by hastd process. I am not sure I got the same crash as you but apparently the race is possible in g_gate on device creation. I got the following crash starting many hast providers simultaneously: fault virtual address = 0x0 #8 0xc0c11adc in calltrap () at /usr/src/sys/i386/i386/exception.s:168 #9 0xc086ac6b in g_gate_ioctl (dev=0xc6a24300, cmd=3374345472, addr=0xc9fec000 "\002", flags=3, td=0xc7ff0b80) at /usr/src/sys/geom/gate/g_gate.c:410 #10 0xc0853c5b in devfs_ioctl_f (fp=0xc9b9e310, com=3374345472, data=0xc9fec000, cred=0xc8c9c200, td=0xc7ff0b80) at /usr/src/sys/fs/devfs/devfs_vnops.c:678 #11 0xc09210cd in kern_ioctl (td=0xc7ff0b80, fd=3, com=3374345472, data=0xc9fec000 "\002") at file.h:262 #12 0xc0921254 in ioctl (td=0xc7ff0b80, uap=0xf5edbcec) at /usr/src/sys/kern/sys_generic.c:679 #13 0xc0916616 in syscallenter (td=0xc7ff0b80, sa=0xf5edbce4) at /usr/src/sys/kern/subr_trap.c:315 #14 0xc0c2b9ff in syscall (frame=0xf5edbd28) at /usr/src/sys/i386/i386/trap.c:1086 #15 0xc0c11b71 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:266 Or just creating many ggate devices simultaneously: for i in `jot 100`; do ./ggiocreate $i& done ggiocreate.c is attached. In my case the kernel crashes in g_gate_create() when checking for name collisions in strcmp(): /* Check for name collision. */ for (unit = 0; unit < g_gate_maxunits; unit++) { if (g_gate_units[unit] == NULL) continue; if (strcmp(name, g_gate_units[unit]->sc_provider->name) != 0) continue; mtx_unlock(&g_gate_units_lock); mtx_destroy(&sc->sc_queue_mtx); free(sc, M_GATE); return (EEXIST); } I think the issue is the following. When preparing sc we take g_gate_units_lock, check for name collision, fill sc fields except sc->sc_provider, and registers sc in g_gate_units[unit]. sc_provider is filled later, when g_gate_units_lock is released. So the scenario is possible: 1) Thread A registers sc in g_gate_units[unit] with g_gate_units[unit]->sc_provider still null and releases g_gate_units_lock. 2) Thread B traverses g_gate_units[] when checking for name collision and craches accessing g_gate_units[unit]->sc_provider->name. The attached patch fixes the issue in my case. -- Mikolaj Golub --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=ggiocreate.c Content-Transfer-Encoding: base64 I2luY2x1ZGUgPHN5cy9jZGVmcy5oPgojaW5jbHVkZSA8c3lzL3R5cGVzLmg+CgojaW5jbHVkZSA8 Z2VvbS9nYXRlL2dfZ2F0ZS5oPgoKI2luY2x1ZGUgPGVyci5oPgojaW5jbHVkZSA8ZXJybm8uaD4K I2luY2x1ZGUgPGZjbnRsLmg+CiNpbmNsdWRlIDxzdGRpby5oPgojaW5jbHVkZSA8c3RyaW5ncy5o PgoKaW50Cm1haW4gKGludCBhcmdjLCBjaGFyICphcmd2W10pCnsKCXN0cnVjdCBnX2dhdGVfY3Rs X2NyZWF0ZSBnZ2lvY3JlYXRlOwoJc3RydWN0IGdfZ2F0ZV9jdGxfY2FuY2VsIGdnaW9jYW5jZWw7 CglzdHJ1Y3QgZ19nYXRlX2N0bF9kZXN0cm95IGdnaW9kOwoJaW50IGZkLCB1bml0OwoKCWlmIChh cmdjIDwgMikKCQllcnJ4KDEsICJ1c2FnZTogZ2dpb2NyZWF0ZSBuYW1lIik7CgkKCWZkID0gb3Bl bigiL2Rldi8iIEdfR0FURV9DVExfTkFNRSwgT19SRFdSKTsKCWlmIChmZCA8IDApCgkJZXJyKDEs ICJVbmFibGUgdG8gb3BlbiAvZGV2LyIgR19HQVRFX0NUTF9OQU1FKTsKCWJ6ZXJvKCZnZ2lvY3Jl YXRlLCBzaXplb2YoZ2dpb2NyZWF0ZSkpOwoJZ2dpb2NyZWF0ZS5nY3RsX3ZlcnNpb24gPSBHX0dB VEVfVkVSU0lPTjsKCWdnaW9jcmVhdGUuZ2N0bF9tZWRpYXNpemUgPSAxMDI0ICogMTAyNDA7Cgln Z2lvY3JlYXRlLmdjdGxfc2VjdG9yc2l6ZSA9IDUxMjsKCWdnaW9jcmVhdGUuZ2N0bF9mbGFncyA9 IDA7CglnZ2lvY3JlYXRlLmdjdGxfbWF4Y291bnQgPSBHX0dBVEVfTUFYX1FVRVVFX1NJWkU7Cgln Z2lvY3JlYXRlLmdjdGxfdGltZW91dCA9IDA7CglnZ2lvY3JlYXRlLmdjdGxfdW5pdCA9IEdfR0FU RV9OQU1FX0dJVkVOOwoJc25wcmludGYoZ2dpb2NyZWF0ZS5nY3RsX25hbWUsIHNpemVvZihnZ2lv Y3JlYXRlLmdjdGxfbmFtZSksCgkgICAgInRlc3RoYXN0LyVzIiwgYXJndlsxXSk7CglpZiAoaW9j dGwoZmQsIEdfR0FURV9DTURfQ1JFQVRFLCAmZ2dpb2NyZWF0ZSkgIT0gMCkKCQllcnIoMSwgIlVu YWJsZSB0byBjcmVhdGUgdGVzdGhhc3QvJXMgZGV2aWNlIiwgYXJndlsxXSk7CgllbHNlCgkJdW5p dCA9IGdnaW9jcmVhdGUuZ2N0bF91bml0OwoJCglzbGVlcCgxMCk7CgoJYnplcm8oJmdnaW9kLCBz aXplb2YoZ2dpb2QpKTsKCWdnaW9kLmdjdGxfdmVyc2lvbiA9IEdfR0FURV9WRVJTSU9OOwoJZ2dp b2QuZ2N0bF91bml0ID0gdW5pdDsKCWdnaW9kLmdjdGxfZm9yY2UgPSAxOwoJaWYgKGlvY3RsKGZk LCBHX0dBVEVfQ01EX0RFU1RST1ksICZnZ2lvZCkgPCAwKQoJCWVycigxLCAiVW5hYmxlIHRvIGRl c3Ryb3kgdGVzdGhhc3QvJXMgZGV2aWNlIiwgYXJndlsxXSk7CgoJcmV0dXJuIDA7Cn0K --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=g_gate.patch Index: sys/geom/gate/g_gate.c =================================================================== --- sys/geom/gate/g_gate.c (revision 220050) +++ sys/geom/gate/g_gate.c (working copy) @@ -407,13 +407,14 @@ g_gate_create(struct g_gate_ctl_create *ggio) for (unit = 0; unit < g_gate_maxunits; unit++) { if (g_gate_units[unit] == NULL) continue; - if (strcmp(name, g_gate_units[unit]->sc_provider->name) != 0) + if (strcmp(name, g_gate_units[unit]->sc_name) != 0) continue; mtx_unlock(&g_gate_units_lock); mtx_destroy(&sc->sc_queue_mtx); free(sc, M_GATE); return (EEXIST); } + sc->sc_name = name; g_gate_units[sc->sc_unit] = sc; g_gate_nunits++; mtx_unlock(&g_gate_units_lock); @@ -432,6 +433,9 @@ g_gate_create(struct g_gate_ctl_create *ggio) sc->sc_provider = pp; g_error_provider(pp, 0); g_topology_unlock(); + mtx_lock(&g_gate_units_lock); + sc->sc_name = sc->sc_provider->name; + mtx_unlock(&g_gate_units_lock); if (sc->sc_timeout > 0) { callout_reset(&sc->sc_callout, sc->sc_timeout * hz, Index: sys/geom/gate/g_gate.h =================================================================== --- sys/geom/gate/g_gate.h (revision 220050) +++ sys/geom/gate/g_gate.h (working copy) @@ -76,6 +76,7 @@ * 'P:' means 'Protected by'. */ struct g_gate_softc { + char *sc_name; /* P: (read-only) */ int sc_unit; /* P: (read-only) */ int sc_ref; /* P: g_gate_list_mtx */ struct g_provider *sc_provider; /* P: (read-only) */ @@ -96,7 +97,6 @@ struct g_gate_softc { LIST_ENTRY(g_gate_softc) sc_next; /* P: g_gate_list_mtx */ char sc_info[G_GATE_INFOSIZE]; /* P: (read-only) */ }; -#define sc_name sc_provider->geom->name #define G_GATE_DEBUG(lvl, ...) do { \ if (g_gate_debug >= (lvl)) { \ --=-=-=-- From owner-freebsd-stable@FreeBSD.ORG Sun Mar 27 14:48:25 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ACB9106564A for ; Sun, 27 Mar 2011 14:48:25 +0000 (UTC) (envelope-from newsmanager@claflin.edu) Received: from msx.claflin.edu (msx.claflin.edu [65.83.118.39]) by mx1.freebsd.org (Postfix) with ESMTP id 15FFA8FC1F for ; Sun, 27 Mar 2011 14:48:24 +0000 (UTC) Received: from claflin-web (10.5.1.5) by cu-exchange.claflin.edu (10.10.20.31) with Microsoft SMTP Server id 8.1.436.0; Sun, 27 Mar 2011 10:38:09 -0400 MIME-Version: 1.0 From: "WealthMiners@gmail.com.com" To: freebsd-stable@freebsd.org Date: Sun, 27 Mar 2011 10:38:09 -0400 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID: Subject: Article sent from Claflin News Manager X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2011 14:48:25 -0000 IA0KSGVsbG8gRnJpZW5kLA0KDQpZb3VyIFdlYWx0aCBNaW5lcnMgU291cmNlIENhcGl0YWwh IFlvdSBDYW4gRWFybiBXaGlsZSBZb3UgU2xlZXAhISENCg0KSG93IENvdWxkIFlvdSBJbWFn aW5lIFRvIFNlbmQgWW91ciBBZHMgVG8gTW9yZSBUaGFuIDkwMCBNaWxsaW9uIEV2ZXJ5ZGF5 IEp1c3QgYSBGZXcgDQpDbGljayBvZiBZb3VyIE1vdXNlIEh1cnJ5IFRoaXMgTGltaXRlZCBI b3QgQnVzaW5lc3MgaW4gMjAxMSBGaXJzdCBDb21lIEZpcnN0IFNlcnZlLi4uDQoNCkNvbmdy YXR1bGF0aW9uczogR2V0IFlvdXIgRWFzeSAkODAwIEhvdCBDb21taXNzaW9ucyBOb3chISEN Cg0KSXQncyBTbyBTaW1wbGUgVGhhdCBFdmVuIEEgVGVuIFllYXIgT2xkIENvdWxkIExlYXJu IFRoaXMgSW4gVW5kZXIgMSBIb3VyISIiSXQgRG9lc24ndA0KTWF0dGVyIFdoZXJlIEluIFRo ZSBXb3JsZCBZb3UgQXJlIElmIFlvdSBIYXZlIEFuIEludGVybmV0IENvbm5lY3Rpb24gJiBB IFBDIFlvdSANCkNhbiBFYXJuIFRoZSAkODAwIEZvciBKdXN0IEEgRmV3IE1pbnV0ZXMgT2Yg Q2xpY2tpbmcgQSBNb3VzZSAiDQoNCkltYWdpbmUgd2FraW5nIHVwIGF0IDEwYW0gaW4gdGhl IG1vcm5pbmcsIGhhdmluZyBhIHF1aWNrIGxvb2sgYXQgeW91ciBQQyBhbmQgICAgICANCmZp bmRpbmcgIHRoZSBleGFjdCBpbmZvcm1hdGlvbiB5b3UgbmVlZCB0byBjb2xsZWN0IGEgcXVp Y2sgJDMwMCBieSBsdW5jaHRpbWUuIA0KWW91IGNvdWxkIHRha2UgIHRoZSBhZnRlcm5vb24g b2ZmLCBwbGF5IHNvbWUgZ29sZiwgZ28gc2hvcHBpbmcgb3Igc3BlbmQgc29tZSAgDQpxdWFs aXR5IHRpbWUgd2l0aCB0aGUgZmFtaWx5LiBUaGVuIGRvIHRoZSBzYW1lIHRoaW5nIGFnYWlu IGluIHRoZSBldmVuaW5nLCANCldoYXQgYSB3b25kZXJmdWwgY29uY2VwdCBhbmQgeW91IGNv dWxkIGJlIGRvaW5nIGl0IHRvZGF5LiANCg0KRXZlbiBkdXJpbmcgdGhlIGJvb20geWVhcnMg aW4gYW55IGVjb25vbXkgaXQncyBub3QgcG9zc2libGUgdG8gZmluZCBhIGZvcm0gDQpvZiBm cmVlIGluY29tZSwgQlVUIFRISVMgSVMgRVhBQ1RMWSBUSEFUISBhbmQgaXQgd2lsbCBtYWtl IHlvdSBmcmVlIG1vbmV5IGZvciAgIA0KdGhlIHJlc3Qgb2YgeW91ciBsaWZlLlRoaXMgSXMg Tm90IEdhbWJsaW5nLlRoaXMgSXMgTm90IFRyYWRpbmcuVGhpcyBJcyBOb3QgRXZlbiANCklu dmVzdGluZy5CZWNhdXNlIEl0J3MgSW1wb3NzaWJsZSBUaGF0IFlvdSBDYW4gTWFrZSBBIExv c3MsSXQgSXMgQSBNYXRoZW1hdGljYWwgDQpDZXJ0YWludHkgIFRoYXQgWW91IENhbiBVc2Ug VG8gTWFrZSBGcmVlIE1vbmV5IEZvciBUaGUgUmVzdCBPZiBZb3VyIExpZmUuDQogDQpJdCdz IEVhc3kgVG8gTWFrZSBNb25leSBFdmVyeWRheSBFdmVuIElmIFlvdSdyZSBTdGFydGluZyBG cm9tIFNjcmF0Y2ggV2l0aA0KWmVybyBLbm93bGVkZ2UsIEV4cGVyaWVuY2UgT3IgQnVkZ2V0 IUknbGwgU2hvdyBZb3UgRXhhY3RseSBIb3cuDQoNCldlJ3ZlIFN0YXJ0IHB1dHRpbmcgTmV3 IDMyIE1lbWJlcnMgaW4gWU9VUiBURUFNIGZvciB0aGUgTWFyY2ggMjQgdGgtMzEvIDIwMTEN CndlZWtseSBjb21taXNzaW9uIGN5Y2xlLi4uYW5kIEdST1dJTkcgZXZlcnlkYXkgZWFybiBi eSAkMTAwIHVwIHRvICQyMDAgb3IgbW9yZS4NCg0KSU1QT1JUQU5UOkFkdmFuY2UgRG9uJ3Qg ZGVsYXkgb24gTWFyY2ggMzEvIDIwMTEsaXMgdGhlIEN1dC1PZmYgZGF5IHRvIGxvY2sgIA0K aW4geW91ciBwb3NpdGlvbiB0aGVuIGZhc3RlciB5b3UgYWN0IHRoZSBoaWdoZXIgY29tbWlz c2lvbiB5b3UgIHdpbGwgZWFybiEhIQ0KDQpHbyBIZXJlIFRvIFNlY3VyZSBub3QgbGVzcyB0 aGFuICQ4MDAgY29tbWlzc2lvbiBOb3cgYW5kIGl0IHN0aWxsIGdyb3dpbmcgYXMgIA0KbWFu eSBwZW9wbGUgam9pbmluZyB1bmRlciB5b3UuIGlmIHlvdSBzZWN1cmUgeW91ciBwb3NpdGlv biByaWdodCBhd2F5OlRoZSAkODAwDQpDb21taXNzaW9uIHdpbGwgQXJyaXZlIFRocm91Z2gg eW91ciBQYXlwYWwgb3IgQ3JlZGl0IENhcmQgb24gQXByaWwvMjAvMjAxMS4uLkh1cnJ5ICAN CnRoaXMgbGltaXRlZCB0aW1lLCBvbmx5IDMgUG9zaXRpb25zIGFyZSBhdmFpbGFibGUgTm93 Lg0KDQpPbmNlIHlvdXIgTWVtYmVyc2hpcCBhcmUgc2V0IHVwLCB5b3Ugd2lsbCBiZSBhYmxl IHRvIGVhcm4gJDgwMCBpbiBsZXNzIHRoYW4gDQoyIGhvdXJzIGEgZGF5Lkkgd2lsbCBzaG93 IHlvdSBob3cgd2UgZG8gdGhhdCBhbmQgdGhlbiBJIHdpbGwgaGVscCB5b3UgdGhyb3VnaCAN CnRoZSBwcm9jZXNzIHNvIHRoYXQgWU9VIFNVQ0NFRUQhIEFuZCBFbmpveSEhISANCg0KWW91 IHdpbGwgYWNjZXNzIHlvdXIgJDgwMCBpbiBhbnkgQVRNIHdoZW4geW91IEpvaW4gZWFybHkg b3VyIHdlZWtseSBjeWNsZS4NCg0KQ2xpY2sgQmVsb3chISFBbmQgSm9pbiBSaWdodCBOb3cu Lg0KDQpodHRwczovL3d3dy5wbGltdXMuY29tL2pzcC9yZWRpcmVjdC5qc3A/Y29udHJhY3RJ ZD0yNzU3MDY2JnJlZmVycmVyPWtpbWF5DQoNCj4+Pj4+IFRoaXMgU25hcHNob3RzIGlzIFBy b3ZlbiBFYXJuIFdoZW4gWW91IEpvaW4gRWFybHkgPDw8PDw8PDwNCg0KVFlQRSAgIERBVEUg JiBUSU1FIC0tLS0tLS0gTkVXIE1FTUJFUlMgLS0tLS0tLS0tLS0tLS0gQ09VTlRSWQ0KDQpQ IC0tLSBNQVJDSC4gMjYgQCAyOjM4ICBBTS0tIFNhcnJhaCBHcmFudC0tLS0tLS0tLS0tLSBV bml0ZWQgU3RhdGVzDQpQIC0tLSBNQVJDSC4gMjYgQCAyOjUzICBBTS0tIEFuZHkgV2lsbGlh bSAtLS0tLS0tLS0tLSBVbml0ZWQgS2luZ2RvbQ0KUCAtLS0gTUFSQ0guIDI2IEAgMjo1NiAg QU0tLSBKZWZmcmV5IEphY29icy0tLS0tLS0tLS0gR2VybWFueQ0KTSAtLS0gTUFSQ0guIDI2 IEAgNDoxOSAgQU0tLSBNYXlldGggVGhvbXBzb24tLS0tLS0tLS0gU2luZ2Fwb3JlDQpQIC0t LSBNQVJDSC4gMjYgQCA0OjI4ICBBTS0tIENoYW5kcmVuYSBXaGl0ZS0tLS0tLS0tLSBJdGFs eQ0KUCAtLS0gTUFSQ0guIDI2IEAgMjozOCAgQU0tLSBKaW5reSBCdWZmZXItLS0tLS0tLS0t LS0gVW5pdGVkIFN0YXRlcw0KUCAtLS0gTUFSQ0guIDI2IEAgMjo1MyAgQU0tLSBBaWxhaW5l IFNtaXRoIC0tLS0tLS0tLS0gVW5pdGVkIEtpbmdkb20NClAgLS0tIE1BUkNILiAyNSBAIDI6 NTYgIEFNLS0gTWFuZGVuZSBKb25oc29uLS0tLS0tLS0tIEdlcm1hbnkNCk0gLS0tIE1BUkNI LiAyNSBAIDQ6MTkgIEFNLS0gQ3Jpc3RpYW4gR2F0bWFpdGFuLS0tLS0tIFNpbmdhcG9yZQ0K UCAtLS0gTUFSQ0guIDI1IEAgNDoyOCAgQU0tLSBKaG9uIENhcm1hbG9uLS0tLS0tLS0tLS0g SXRhbHkNCk0gLS0tIE1BUkNILiAyNSBAIDY6MDEgIEFNLS0gbGFsYWluZSBBbmRlcnNvbi0t LS0tLS0tIEF1c3RyYWxpYQ0KUCAtLS0gTUFSQ0guIDI1IEAgNzoxMSAgQU0tLSBSZWJlY2Nh IFVuZGVyd29vZC0tLS0tLS0gSHVuZ2FyeQ0KUCAtLS0gTUFSQ0guIDI1IEAgNzozOSAgQU0t LSBKZXJpY2hvIEphY2tzb24tLS0tLS0tLS0gQ2FuYWRhDQpQIC0tLSBNQVJDSC4gMjUgQCA5 OjQyICBBTS0tIFRob21hcyBTaWx2YSAtLS0tLS0tLS0tLSBTcmkgTGFua2ENCk0gLS0tIE1B UkNILiAyNSBAIDk6NTggIFBNLS0gR3JhY2UgVGF5bG9yLS0tLS0tLS0tLS0tIFVuaXRlZCBT dGF0ZXMNClAgLS0tIE1BUkNILiAyNSBAIDEwOjIxIFBNLS0gR2luYSBIZW5yeS0tLS0tLS0t LS0tLS0tIE5ldyBaZWFsYW5kDQpQIC0tLSBNQVJDSC4gMjQgQCAxMToyNCBQTS0tIE1vaGFt bWVkIEFobWVuIC0tLS0tLS0tLSBSb21hbmlhDQpNIC0tLSBNQVJDSC4gMjQgQCAxMTozMyBQ TS0tIFRyYWNleSBEdW5jYW4tLS0tLS0tLS0tLSBQdWVydG8gUmljbw0KUCAtLS0gTUFSQ0gu IDI0IEAgMTE6NDEgUE0tLSBKYW5lIFN0YXdydC0tLS0tLS0tLS0tLS0gVW5pdGVkIFN0YXRl cw0KUCAtLS0gTUFSQ0guIDI0IEAgMTE6NDcgUE0tLSBKYW5pY2UgWW91bmdzdG93bi0tLS0t LS0gVGFpd2FuDQpQIC0tLSBNQVJDSC4gMjQgQCAxMTo1MyBQTS0tIFNoaXJsZXkgT25nLS0t LS0tLS0tLS0tLSBDaGluYQ0KUCAtLS0gTUFSQ0guIDI0IEAgMTo0NSAgQU0tLSBSeWFubiBM YW1iZXJ0IC0tLS0tLS0tLS0gRXVyb3BlDQpNIC0tLSBNQVJDSC4gMjQgQCAxMjozNCBBTS0t IE5pY2sgR2F1Y2kgLS0tLS0tLS0tLS0tLSBDYWxlZm9ybmlhDQpNIC0tLSBNQVJDSC4gMjQg QCAxMDoyNCBBTS0tIERvbiBSaWxleSAtLS0tLS0tLS0tLS0tLSBOZXRoZXJsYW5kDQpQIC0t LSBNQVJDSC4gMjQgQCAxMDozMCBBTS0tIExvcm5lIFdoaXR0YWtlciAtLS0tLS0tLSBTd2V0 emVybGFuZA0KUCAtLS0gTUFSQ0guIDI0IEAgMDI6MTQgQU0tLSBBc2h3YW5pIFZvaHJhIC0t LS0tLS0tLS0gQnJhemlsDQpNIC0tLSBNQVJDSC4gMjQgQCAyOjM0ICBBTS0tIEtldmluIEh1 bnQgLS0tLS0tLS0tLS0tLSBVbml0ZWQgU3RhdGVzDQpQIC0tLSBNQVJDSC4gMjQgQCAxOjU0 ICBBTS0tIENoYXJsZXMgQnJvd24tLS0tLS0tLS0tLSBVbml0ZWQgU3RhdGVzDQoNClRoZXJl Zm9yZSwgeW91IGhhdmUgYSBHVUFSQU5URUVEICQ4MDAgQ29tbWlzc2lvblMgIGV2ZXJ5IG1v bnRoIGZyb20gbm93IG9uIQ0KDQpFYXJuICQyNVBlciBQcm9jZXNzIUVhY2ggJDI1IHggMzIg PSAkODAwIENvbW1pc3Npb24gd2lsbCBiZSB5b3Vycy4uLg0KDQpCZSBTdXJlIHRvIENvcHkg dGhlIGxpbmsgYmVsb3cgJiBQYXN0ZSBpbnRvIHlvdXIgYnJvd3NlciBhbmQgcHJlc3MgZW50 ZXI6DQpUbyBTZWN1cmUgeW91ciAkODAwIGNvbW1pc3Npb24hDQoNCllvdSB3aWxsIGFjY2Vz cyB5b3VyICQ4MDAgaW4gYW55IEFUTSB3aGVuIHlvdSBKb2luIGVhcmx5IG91ciB3ZWVrbHkg Y3ljbGUuDQogDQpDbGljayBCZWxvdyEhIUFuZCBKb2luIFJpZ2h0IE5vdy4uDQoNCmh0dHBz Oi8vd3d3LnBsaW11cy5jb20vanNwL3JlZGlyZWN0LmpzcD9jb250cmFjdElkPTI3NTcwNjYm cmVmZXJyZXI9a2ltYXkNCg0KSnVzdCBvbmUgc2ltcGxlIHBheW1lbnQgb2YgJDI1IGFuZCB5 b3UgY291bGQgaGF2ZSBlYXJuICQ4MDAgUmVtZW1iZXIgbm8gb25lIGVsc2UgICAgDQpDYW4g Z2l2ZSB0aGlzIGtpbmQgb2YgbW9uZXkgZXZlcnkgMjB0aCBvZiB0aGUgbW9udGguIFRvZGF5 IGl0cyAkODAwIEZvciB0aGUgICANCnN0YXJ0IG9mIHRoZSBtb250aCBvZiBNYXJjaCAyMDEx IGlmIGdvZXMgdXAgZGFpbHkgdW50aWwgdGhlIGVuZCBvZiB0aGUgbW9udGguDQoNCllvdSBt dXN0IFVQR1JBREUgcmlnaHQgYXdheSBvciBiZWZvcmUgb3RoZXJzIGRvLi4uLg0KDQpCdXNp bmVzcyBNYW5hZ2VyIFN1Y2Nlc3MsIEthcmVuIEphY2tzb24NCldlYWx0aE1pbmVyc0BnbWFp bC5jb20uY29tIA0KTUFJTiBPRkZJQ0UsIFVTQSwgVUssIEF1c3RyYWxpYSwgQXNpYSwgRXVy b3BlDQoNCg0KDQoNCg0KaHR0cDovL3d3dy5jbGFmbGluLmVkdS9OZXdzLz9hPTk1NiZ6PTEN Cg0KX19fX19fX19fX18NClZpc2l0IHVzIGF0IDoNCmh0dHA6Ly93d3cuY2xhZmxpbi5lZHU= From owner-freebsd-stable@FreeBSD.ORG Sun Mar 27 20:02:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36881065690; Sun, 27 Mar 2011 20:02:13 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C9D528FC0A; Sun, 27 Mar 2011 20:02:12 +0000 (UTC) Received: by mail-fx0-f54.google.com with SMTP id 11so2819599fxm.13 for ; Sun, 27 Mar 2011 13:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=t+iur5Sb6vp25CFtvZaYK55NauMgmwJR8RldTxQM3jM=; b=pGuFI9k1UFrRuHLiSCWudbRn8NT0obqIFVB7C+0cUTXgtNjOdzTGmZOskac7ip61P9 qg1m1g8ar1g0RTlcCCTeChPFitX6SPi5f3uo8MaSPvappIoO3OIF3mqQboHWv7+03BzS wvA+OUf58XjsCecOJxTPw1CvgemCzBDJ4J8pw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=sn6p8agLrS2s+ItIbNNgCSxsBPOBNtOxnh65qhxvdXJDKommyIM/UwnbZbGtP0NBIP ushvL+Pyds6RcCNFYKH/z621H3bUJ7huS2b64xiIBnGWz0sx3ZVZDf7gnb1CLY/s+j/o 3BwdHRtY8r1PM3DvuxqO/8pvhQWj4avnqdpSk= Received: by 10.223.15.92 with SMTP id j28mr3565462faa.56.1301256132473; Sun, 27 Mar 2011 13:02:12 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id c24sm1198140fak.7.2011.03.27.13.02.10 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Mar 2011 13:02:11 -0700 (PDT) From: Mikolaj Golub To: Mikolaj Golub References: <20110325075541.GA1742@garage.freebsd.pl> <86zkogep2o.fsf@kopusha.home.net> X-Comment-To: Mikolaj Golub Sender: Mikolaj Golub Date: Sun, 27 Mar 2011 23:02:09 +0300 In-Reply-To: <86zkogep2o.fsf@kopusha.home.net> (Mikolaj Golub's message of "Sun, 27 Mar 2011 15:16:15 +0300") Message-ID: <86k4fke3i6.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Filesystems , Pawel Jakub Dawidek , FreeBSD-Current , FreeBSD Stable Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Mar 2011 20:02:14 -0000 On Sun, 27 Mar 2011 15:16:15 +0300 Mikolaj Golub wrote to Freddie Cash: MG> The attached patch fixes the issue in my case. The patch is committed to current. -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 07:20:10 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBCAC106564A; Mon, 28 Mar 2011 07:20:10 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (unknown [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2038FC0C; Mon, 28 Mar 2011 07:20:10 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (89.112.15.178.pppoe.eltel.net [89.112.15.178]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id B21FD4AC2D; Mon, 28 Mar 2011 11:20:09 +0400 (MSD) Date: Mon, 28 Mar 2011 11:20:07 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <895726715.20110328112007@serebryakov.spb.ru> To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Subject: Backup tool fot ZFS with all "classic dump(8)" fetatures -- what should I use? (or is here any way to make dump -L works well on large FFS2+SU?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 07:20:10 -0000 Hello, Freebsd-stable. Now I'm backing up my HOME filesystem with dump(8). It works perfectly for 80GiB FS with many features: snapshot for consistency, levels, "nodump" flag (my users use it a lot!), ability to extract only one removed file from backup without restoring full FS, simple sctipy wrap-up for levels schedule, etc. On new server I have huge HOME (500GiB). And even if it is filled up only with 25GiB of data, creating snapshot takes about 10 minutes, freeze all I/O, and sometimes FAILS (!!!). I'm thinking to transfer GOME filesystem to ZFS. But I can not find appropriate tools for backing it up. Here is some requirements: (1) One-file (one-stream) backup. Not directory mirror. I need to store it on FTP server and upload with single command. (2) Levels & increment backups. Now I have "Monthly (0) - Weekly (1,2,3) - daily (4,5,6,7,8,9)" scheme. I could afford other schemes, but if they doesn't store full backup every day and doesn't need full backup more often than weekly. (3) Minimum of local metadata. Storing previous backups locally to calculate next one is not appropriate solution. "zfs send" needs previous snapshots for incremental backup, for example. (4) Working with snapshot (I think, it is trivial in case of ZFS). (5) Backup exclusions should be controlled by users (not super-user) thems= elves, like "nodump" flag in case of FFS/dump(8). "zfs send" can not provide this. I have very responsible users, so full backup now takes only up to 10GiB when all HOME FS is about 25GiB, so it is big help when backup is sent over Internet to other host. (6) Storing of ALL FS-specific information -- ACLs, etc. (7) Free :) Is here something like this for ZFS? "zfs send" looks promising, EXCEPT item (5) and, maybe, (3) :( gnu tar looks like everything but (6) :( --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 07:44:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B1E1065672 for ; Mon, 28 Mar 2011 07:44:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id A7EB28FC15 for ; Mon, 28 Mar 2011 07:44:50 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Q4785-000Ft0-1B for freebsd-stable@freebsd.org; Mon, 28 Mar 2011 09:44:49 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 28 Mar 2011 09:44:49 +0200 From: Daniel Braniss Message-ID: Subject: mountd stuck X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 07:44:51 -0000 I am runing mountd with -e (experimental :-) this is happening too often lately, where mountd just stops responding mountd 11762 [dp->dp_config_rwlock] 8.93r 0.00u 0.00s 0% 1320k any help/clues? thanks, danny From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 08:10:16 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BE4C1065673; Mon, 28 Mar 2011 08:10:16 +0000 (UTC) (envelope-from eugene@home.wdc.spb.ru) Received: from mail.wdc.spb.ru (mail.wdc.spb.ru [89.223.110.23]) by mx1.freebsd.org (Postfix) with ESMTP id C41528FC13; Mon, 28 Mar 2011 08:10:15 +0000 (UTC) Received: from mail.wdc.spb.ru (localhost [127.0.0.1]) by mail.wdc.spb.ru (Postfix) with ESMTP id 681F87FF490; Mon, 28 Mar 2011 11:55:08 +0400 (MSD) Received: by mail.wdc.spb.ru (Postfix, from userid 66) id 672637FF76A; Mon, 28 Mar 2011 11:55:08 +0400 (MSD) Received: from home.my.intranet (localhost [127.0.0.1]) by home.my.intranet (Postfix) with ESMTP id 8F8CD416BBB; Mon, 28 Mar 2011 11:52:22 +0400 (MSD) Received: from home.my.intranet (home.my.intranet [192.168.2.1]) by home.my.intranet (Postfix) with ESMTP id 4A20E416BB9; Mon, 28 Mar 2011 11:52:22 +0400 (MSD) Message-ID: <4D903E36.9060004@home.wdc.spb.ru> Date: Mon, 28 Mar 2011 11:52:22 +0400 From: "Eugene V. Boontseff" Organization: warm home company User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110306 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------090001080509020001010909" X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: ClamAV using ClamSMTP X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Long =?utf-8?q?=C2=ABSuspend_time=C2=BB_when_reading_large_files_?= =?utf-8?q?from_gjournal_partions=2E?= X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eugene@wdc.spb.ru List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 08:10:16 -0000 This is a multi-part message in MIME format. --------------090001080509020001010909 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, freebsd-geom. On FreeBSD 8.2-RELEASE long periods of «Suspend time» have been detected - tens of seconds - while reading large files from gjournal partition: For example: root@mail [/var/tmp]# du -h /var/tmp/access.log 8.3G /var/tmp/access.log root@mail[/var/tmp]# dd if=/var/tmp/access.log of=/dev/null 17417604 +1 records in 17417604 +1 records out 8917813440 bytes transferred in 50.760701 secs (175,683,418 bytes/sec) root@mail[/var/tmp] # grep \/var/var/log/messages ... Mar 27 14:48:08 mail kernel: GEOM_JOURNAL [1]: Suspend time of /var: 0.018053s Mar 27 14:48:18 mail kernel: GEOM_JOURNAL [1]: Msync time of /var: 0.020182s Mar 27 14:49:03 mail kernel: GEOM_JOURNAL [1]: Sync time of /var: 0.022150s Mar 27 14:49:03 mail kernel: GEOM_JOURNAL [1]: Suspend time of /var: 45.187463s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Mar 27 14:49:13 mail kernel: GEOM_JOURNAL [1]: Msync time of /var: 0.014821s Mar 27 14:49:13 mail kernel: GEOM_JOURNAL [1]: Sync time of /var: 0.017499s Mar 27 14:49:13 mail kernel: GEOM_JOURNAL [1]: Suspend time of /var: 0.016974s ... At the time when «Suspend time» = 45.187463s, all operations on the disk (gjournal partition) are blocked. All processes (htttp, squid, sshd, pop3d, imapd, and even login) are waiting for the expiration of this time. And only after that continue to operate normally. This does not happen if not only read but also simultaneously write to the partition with gjournal. (dd if=/var/tmp/access.log of=/var/tmp/a.log or cp /var/tmp /access.log /var/spool/uucppublic) Partion with gjournal is located on a hardware RAID 10 - driver aac. I put a ordinary sata disk in the computer and create a gjournal partition on it.. On the sata drive it worked fine. So I guess that the problem is in the driver aac. Could it be so because the aac driver does not support BIO_FLUSH? PS. root@mail[/var/tmp]# gjournal list Geom name: gjournal 609973015 ID: 609973015 Providers: 1. Name: ad6p4.journal Mediasize: 456084396032 (425G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: ad6p4 Mediasize: 494739102208 (461G) Sectorsize: 512 Mode: r1w1e1 Jend: 494739101696 Jstart: 456084396032 Role: Data, Journal Geom name: gjournal 2757859993 ID: 2757859993 Providers: 1. Name: aacd0p5.journal Mediasize: 498216205824 (464G) Sectorsize: 512 Mode: r1w1e2 Consumers: 1. Name: aacd0p5 Mediasize: 536870912000 (500G) Sectorsize: 512 Mode: r1w1e1 Jend: 536870911488 Jstart: 498216205824 Role: Data, Journal Server uses 12 G memory. --------------090001080509020001010909-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 08:43:39 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16E36106566C for ; Mon, 28 Mar 2011 08:43:39 +0000 (UTC) (envelope-from mamalos@eng.auth.gr) Received: from vergina.eng.auth.gr (vergina.eng.auth.gr [155.207.18.1]) by mx1.freebsd.org (Postfix) with ESMTP id 964928FC0C for ; Mon, 28 Mar 2011 08:43:35 +0000 (UTC) Received: from mamalacation.ee.auth.gr (mamalacation.ee.auth.gr [155.207.33.29]) by vergina.eng.auth.gr (8.14.3/8.14.3) with ESMTP id p2S8hYSf087019 for ; Mon, 28 Mar 2011 11:43:34 +0300 (EEST) (envelope-from mamalos@eng.auth.gr) Message-ID: <4D904A31.8090107@eng.auth.gr> Date: Mon, 28 Mar 2011 11:43:29 +0300 From: George Mamalakis User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110109 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: stable@freebsd.org References: <4D8B5501.5090802@eng.auth.gr> In-Reply-To: <4D8B5501.5090802@eng.auth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: nsswitch problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 08:43:39 -0000 On 24/03/2011 16:28, George Mamalakis wrote: > Hello everybody, > > In short: > > nsswitch seems not to honor (fully) the criteria and actions of > nsswitch.conf. A detailed analysis of my problem can be found on this > thread (it's on freebsd forums, and it hasn't been answered yet): > > http://forums.freebsd.org/showthread.php?t=22716 > > Thank you all for your time and help in advance, > > I hope that somebody will help me realize how nsswitch works, so as to > see if and how caching may help me on an nss_ldap authenticated > configuration, > > regards, > > mamalos > Anybody having an idea on what might be wrong with the nsswitch mechanism? Have I used the wrong mailing list? Should I have used freebsd-questions instead? Thank you all for your time in advance. mamalos -- George Mamalakis IT Officer Electrical and Computer Engineer (Aristotle Un. of Thessaloniki), MSc (Imperial College of London) Department of Electrical and Computer Engineering Faculty of Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 09:47:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E63A3106566C; Mon, 28 Mar 2011 09:47:26 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id 845CF8FC13; Mon, 28 Mar 2011 09:47:26 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q492g-0004HU-EE; Mon, 28 Mar 2011 10:47:22 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q492g-000CvZ-DI; Mon, 28 Mar 2011 10:47:22 +0100 To: fjwcash@gmail.com, trociny@freebsd.org In-Reply-To: <86zkogep2o.fsf@kopusha.home.net> Message-Id: From: Pete French Date: Mon, 28 Mar 2011 10:47:22 +0100 Cc: freebsd-fs@freebsd.org, pjd@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 09:47:27 -0000 > It is not a hastd crash, but a kernel crash triggered by hastd process. > > I am not sure I got the same crash as you but apparently the race is possible > in g_gate on device creation. > > I got the following crash starting many hast providers simultaneously: This is very interestng to me - my successful ZFS+HAST only had a single drive, but in my new setup I am intending to use two HAST processes and then mirror across thhem under ZFS, so I am likely to hit this bug. Are the processes stable once launched ? I dont have a system on whcih to try your patch at the moment, but will do so when I get the opportunity! From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 10:52:52 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD0AA106564A; Mon, 28 Mar 2011 10:52:52 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id B97608FC18; Mon, 28 Mar 2011 10:52:51 +0000 (UTC) Received: by wwk4 with SMTP id 4so1596784wwk.1 for ; Mon, 28 Mar 2011 03:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:organization:references :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=KViQbIxGRkfFC1VESkTyldOT3bJ/nQHrGEjGbMnWNzo=; b=h4z5H97oRpkcl3MwDgITGaBtwOl3O7Xeao5wszwLSHwXo/IoPo4btPFc+/md6EdeVS mB883b5Hi0maPHsXKEaWrsA4FBXac9OxhnSw46Z2aiDgy3HNvovAcDE04xVVHb29cojc Suh6QKz6TMn8RZSJ+Zd2VwNqddX6XocVamXJc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=VEXjXYf4Wg6bDy8B/eZu2YLO5mM0Lhezj9cqnBtPoIe30frrvvRDX9rzEyhkbQtIJD 7bbNWCxnexfNtKVSAYfAyz5LGn+x/9OxI1yVdjzCWCjjclT8tCSdlUXXggKhbKMYEEXO yMXxEYDzIkDTRig3u9m3kjuOnAiwODnJLNRWA= Received: by 10.216.9.200 with SMTP id 50mr2585158wet.83.1301309570572; Mon, 28 Mar 2011 03:52:50 -0700 (PDT) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id c54sm1436080wer.30.2011.03.28.03.52.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Mar 2011 03:52:49 -0700 (PDT) From: Mikolaj Golub To: Pete French Organization: TOA Ukraine References: Sender: Mikolaj Golub Date: Mon, 28 Mar 2011 13:52:45 +0300 In-Reply-To: (Pete French's message of "Mon, 28 Mar 2011 10:47:22 +0100") Message-ID: <86wrjj5xfm.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org, freebsd-current@freebsd.org, pjd@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 10:52:52 -0000 On Mon, 28 Mar 2011 10:47:22 +0100 Pete French wrote: >> It is not a hastd crash, but a kernel crash triggered by hastd process. >> >> I am not sure I got the same crash as you but apparently the race is possible >> in g_gate on device creation. >> >> I got the following crash starting many hast providers simultaneously: PF> This is very interestng to me - my successful ZFS+HAST only had PF> a single drive, but in my new setup I am intending to use two PF> HAST processes and then mirror across thhem under ZFS, so I am PF> likely to hit this bug. Are the processes stable once launched ? Yes, you may hit it only on hast devices creation. The workaround is to avoid using 'hastctl role primary all', start providers one by one instead. -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 11:48:36 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E5A7106564A for ; Mon, 28 Mar 2011 11:48:36 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 380148FC19 for ; Mon, 28 Mar 2011 11:48:35 +0000 (UTC) Received: by qwc9 with SMTP id 9so2071874qwc.13 for ; Mon, 28 Mar 2011 04:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=tR7pyPJNv0Scdtz3YDUT2x0PUKLaZO0c1HLcmnSeXoI=; b=LDsDLN0VY/hwkRYdAjXojJ5CyfY1Xld7oqJ1Vgx9Hy63yiY4LOCr44v1JqTxd0hRXB X8WwXWRRpV7qaGiRRJ3Y43RH9wtdc6U4q8ynV8pc2SaSkXTg2aXWnLy3Kb/xXE4pYLPC JMMXazk5kO1Qwyg8pSErtoHQzIjDbKaV525BE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dCo8RqmK6rBuM8GmumkG4+M4ZSXPjv42MZdvvXubtYuZfxzpx3/VqjGOD2t/EvzEbz OHCznbhJ1WI8UjF7Z4YQvurfUmMf9diDOfmo5ND0aLnk0qIZnDFmDnXiTvgijpVQWdds yHORnQpj716ybUC6+tEbReQRnDygu8KQgJrhI= MIME-Version: 1.0 Received: by 10.229.105.96 with SMTP id s32mr3118222qco.185.1301311321225; Mon, 28 Mar 2011 04:22:01 -0700 (PDT) Received: by 10.229.91.144 with HTTP; Mon, 28 Mar 2011 04:22:00 -0700 (PDT) Date: Mon, 28 Mar 2011 13:22:00 +0200 Message-ID: From: Claus Guttesen To: FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1 Subject: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 11:48:36 -0000 I've setup a server with FreeBSD 8.2 (prerelase) and patched zfs to ver. 28. The server has 11 disks each 2 TB in raidz2. The performance is very good and I've got approx. 117 MB/s on plain GB nics using iscsi. I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 servers using nfs, but when there is alot of i/o the server becomes unresponsive, easily triggered by installing ie. ms-sql. The server itself is up but is not reachable from the network. When I take the nic down and up again connection to the network is reestablished (ip-wise). A friend of mine has suggested that I disable the zil. The page http://wiki.freebsd.org/ZFSTuningGuide says 'Disabling ZIL is not recommended where data consistency is required (such as database servers) but will not result in file system corruption.' Has anyone tried to disable zil and achieved better performance and still maintain a consistent filesystem? -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare twitter.com/kometen From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 11:50:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2352210656D0; Mon, 28 Mar 2011 11:50:41 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 02D9B8FC17; Mon, 28 Mar 2011 11:50:39 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA27894; Mon, 28 Mar 2011 14:50:38 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4D90760D.70906@freebsd.org> Date: Mon, 28 Mar 2011 14:50:37 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: lev@freebsd.org References: <895726715.20110328112007@serebryakov.spb.ru> In-Reply-To: <895726715.20110328112007@serebryakov.spb.ru> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Backup tool fot ZFS with all "classic dump(8)" fetatures -- what should I use? (or is here any way to make dump -L works well on large FFS2+SU?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 11:50:41 -0000 on 28/03/2011 10:20 Lev Serebryakov said the following: > Hello, Freebsd-stable. > > Now I'm backing up my HOME filesystem with dump(8). It works > perfectly for 80GiB FS with many features: snapshot for consistency, > levels, "nodump" flag (my users use it a lot!), ability to extract > only one removed file from backup without restoring full FS, simple > sctipy wrap-up for levels schedule, etc. > > On new server I have huge HOME (500GiB). And even if it is filled > up only with 25GiB of data, creating snapshot takes about 10 minutes, > freeze all I/O, and sometimes FAILS (!!!). > > I'm thinking to transfer GOME filesystem to ZFS. But I can not find > appropriate tools for backing it up. Here is some requirements: > > (1) One-file (one-stream) backup. Not directory mirror. I need to > store it on FTP server and upload with single command. > > (2) Levels & increment backups. Now I have "Monthly (0) - Weekly > (1,2,3) - daily (4,5,6,7,8,9)" scheme. I could afford other schemes, > but if they doesn't store full backup every day and doesn't need full > backup more often than weekly. > > (3) Minimum of local metadata. Storing previous backups locally to > calculate next one is not appropriate solution. "zfs send" needs > previous snapshots for incremental backup, for example. > > (4) Working with snapshot (I think, it is trivial in case of ZFS). > > (5) Backup exclusions should be controlled by users (not super-user) themselves, > like "nodump" flag in case of FFS/dump(8). "zfs send" can not > provide this. I have very responsible users, so full backup > now takes only up to 10GiB when all HOME FS is about 25GiB, so it > is big help when backup is sent over Internet to other host. > > (6) Storing of ALL FS-specific information -- ACLs, etc. > > (7) Free :) > > Is here something like this for ZFS? "zfs send" looks promising, > EXCEPT item (5) and, maybe, (3) :( > > gnu tar looks like everything but (6) :( I have a script built around zfs snapshot and star (archivers/star) that has functionality similar to your requirements. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 12:15:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ACF81065677 for ; Mon, 28 Mar 2011 12:15:48 +0000 (UTC) (envelope-from feld@feld.me) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3FB8FC08 for ; Mon, 28 Mar 2011 12:15:47 +0000 (UTC) Received: by iwn33 with SMTP id 33so4403007iwn.13 for ; Mon, 28 Mar 2011 05:15:47 -0700 (PDT) Received: by 10.43.57.211 with SMTP id wh19mr6842417icb.1.1301314547436; Mon, 28 Mar 2011 05:15:47 -0700 (PDT) Received: from tech304 (supranet-tech.secure-on.net [66.170.8.18]) by mx.google.com with ESMTPS id he40sm2929439ibb.67.2011.03.28.05.15.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Mar 2011 05:15:46 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-stable@freebsd.org References: Date: Mon, 28 Mar 2011 07:15:43 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Mark Felder" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.10 (FreeBSD) Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 12:15:48 -0000 Hello, I'd be curious to know how much memory you have. Also, you mention both iSCSI and NFS in the post and also say that you are using ESX with NFS. Can you reconfirm that you're definitely using NFS and not iSCSI? This is a type of setup I've been investigating myself and I hope you succeed. Regards, Mark From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 12:26:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A23106566B for ; Mon, 28 Mar 2011 12:26:26 +0000 (UTC) (envelope-from mdonada@auroraalimentos.com.br) Received: from mx.auroraalimentos.com.br (mx.auroraalimentos.com.br [200.228.43.6]) by mx1.freebsd.org (Postfix) with ESMTP id 312928FC08 for ; Mon, 28 Mar 2011 12:26:25 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx.auroraalimentos.com.br (Postfix) with ESMTP id EB059848129 for ; Mon, 28 Mar 2011 09:04:45 -0300 (BRT) X-Virus-Scanned: Servidor de e-mail em amavisd-new at mx Received: from mx.auroraalimentos.com.br ([127.0.0.1]) by localhost (mx.auroraalimentos.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cex3RMgXMcZ6 for ; Mon, 28 Mar 2011 09:04:44 -0300 (BRT) Received: from [127.0.0.1] (unknown [121.1.16.22]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx.auroraalimentos.com.br (Postfix) with ESMTPSA id 9A95684810A for ; Mon, 28 Mar 2011 09:04:44 -0300 (BRT) Message-ID: <4D907951.9070000@auroraalimentos.com.br> Date: Mon, 28 Mar 2011 09:04:33 -0300 From: =?ISO-8859-1?Q?M=E1rcio_Luciano_Donada?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: install: aibs.ko: No such file or directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 12:26:26 -0000 I am updated on FreeBSD 8.1-RELEASE-p2 to 8.2-STABLE using cvsup.conf, as follows: *default host=cvsup2.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all #ports-all Then to build system use the following command: # cd /usr/src # make -j4 buildworld && make -j4 buildkernel KERCONF=VPN2 && make -j4 installkernel KERNCONF=VPN2 but when making the final part, which is the installation it reports me the following error: install: aibs.ko: No such file or directory *** Error code 71 1 error *** Error code 2 But if I build only the kernel VPN2 he successfully completed. My Kernel is, This is just a copy of GENERIC including the following lines: device pf device pflog device pfsync device crypto options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_CDNR options ALTQ_PRIQ options ALTQ_NOPCC options ALTQ_DEBUG options TCP_SIGNATURE options IPSEC options IPSEC_DEBUG options SC_DISABLE_REBOOT -- Mrcio Luciano Donada Aurora Alimentos - T.I. Matriz Coop. Central Oeste Catarinense From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 13:43:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E21831065674 for ; Mon, 28 Mar 2011 13:43:03 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6CED68FC1D for ; Mon, 28 Mar 2011 13:43:03 +0000 (UTC) Received: by wyf23 with SMTP id 23so3327501wyf.13 for ; Mon, 28 Mar 2011 06:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=spb0n9rPw+qrbOeUeKYZJTiVjpXM0LYHc9gnBblMMzQ=; b=nx/xfhwzopblidKDuTkt3qqY6m5Qx6eSJ02ViSbr55Xl99lt/RsNjY+5UvaStTnCIX bKVfSJYUUYupCKT4pl7l87zTrcMsyz52G2SskaF9Sann173R2yJtLgDMjf4Uo+vU6OiE DyJLYt8kK0cVus6g2KCi5lzUhuvNszuZf4V3A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=jJryQVGBo8QDMZp+LUNMM+7IeUNhOJaD0/ZfDZoACSfVVEnxcwJt7tdUXosND3ktaS OoQfvTesZ//+3DltKMvnI0zC6ziWcHSBh8EdbRi4EB71EIYwfVKCPpmHdqdDBimpctT7 ugorG3o9zbk+2JrwpXRrus/krxF/BbxX7yaiw= Received: by 10.216.167.65 with SMTP id h43mr2743998wel.17.1301318402789; Mon, 28 Mar 2011 06:20:02 -0700 (PDT) Received: from [10.10.10.131] (ppp-94-65-20-31.home.otenet.gr [94.65.20.31]) by mx.google.com with ESMTPS id r57sm1490775wes.1.2011.03.28.06.19.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Mar 2011 06:20:00 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: George Kontostanos In-Reply-To: <4D907951.9070000@auroraalimentos.com.br> Date: Mon, 28 Mar 2011 16:21:19 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <30AE8A19-E6F0-4332-B95A-ABBC5066C1C5@gmail.com> References: <4D907951.9070000@auroraalimentos.com.br> To: =?utf-8?Q?M=C3=A1rcio_Luciano_Donada?= X-Mailer: Apple Mail (2.1084) Cc: freebsd-stable@freebsd.org Subject: Re: install: aibs.ko: No such file or directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 13:43:04 -0000 Don't use the -j flag when installing your kernel. make installkernel KERNCONF=3DVPN2 On 28 =CE=9C=CE=B1=CF=81 2011, at 3:04 =CE=BC.=CE=BC., M=C3=A1rcio = Luciano Donada wrote: > I am updated on FreeBSD 8.1-RELEASE-p2 to 8.2-STABLE using cvsup.conf, > as follows: >=20 > *default host=3Dcvsup2.FreeBSD.org > *default base=3D/usr > *default prefix=3D/usr > *default release=3Dcvs tag=3DRELENG_8 > *default delete use-rel-suffix > *default compress > src-all > #ports-all >=20 > Then to build system use the following command: >=20 > # cd /usr/src > # make -j4 buildworld && make -j4 buildkernel KERCONF=3DVPN2 && make = -j4 > installkernel KERNCONF=3DVPN2 >=20 > but when making the final part, which is the installation it reports = me > the following error: >=20 > install: aibs.ko: No such file or directory > *** Error code 71 > 1 error > *** Error code 2 >=20 > But if I build only the kernel VPN2 he successfully completed. My = Kernel > is, This is just a copy of GENERIC including the following lines: >=20 > device pf > device pflog > device pfsync > device crypto > options ALTQ > options ALTQ_CBQ > options ALTQ_RED > options ALTQ_RIO > options ALTQ_HFSC > options ALTQ_CDNR > options ALTQ_PRIQ > options ALTQ_NOPCC > options ALTQ_DEBUG > options TCP_SIGNATURE > options IPSEC > options IPSEC_DEBUG > options SC_DISABLE_REBOOT >=20 > --=20 > M=C3=A1rcio Luciano Donada > Aurora Alimentos - T.I. Matriz > Coop. Central Oeste Catarinense >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to = "freebsd-stable-unsubscribe@freebsd.org" From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 14:31:16 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B77B9106564A for ; Mon, 28 Mar 2011 14:31:16 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 654E38FC0C for ; Mon, 28 Mar 2011 14:31:16 +0000 (UTC) Received: by iwn33 with SMTP id 33so4552924iwn.13 for ; Mon, 28 Mar 2011 07:31:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=GmJjFzWnsUJ5WUybe5dkksWg4HRxgpI3VHk7KP7Tfys=; b=rsFSTlTWiziabrDgHfvg0rSM3FkWiBaLOsj1E5clRTDSNbuuerfBewDIxpSbeRpRVS 6zJYKmKIs3TqkmIoA0icfOQoN6RImAkOeIDv3msJJS+TDclvpym/hG0eHl+HUTlswKy0 IFIitjBdGL++IA28FJe8R9cJsnFNkQkEXQCNE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=mXtMzwStFEYXLOxuqrANstllrM/GoyJOCBRUM5tWTQDZmME5QPcy4bLo/zZGmDvbcr XdeyA/McisgFs+Ef4DLtckRfcfLmnzIX3Y4u7rqIgX9unIfCiU3iyHPknKniiUYorKGl /SscDwo98Xvct8Ou+KbaNLmFw0M0mw8ipwIL8= Received: by 10.43.64.132 with SMTP id xi4mr6911027icb.165.1301322674321; Mon, 28 Mar 2011 07:31:14 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-181-153-110.dsl.klmzmi.sbcglobal.net [99.181.153.110]) by mx.google.com with ESMTPS id hc41sm1437406ibb.64.2011.03.28.07.31.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Mar 2011 07:31:12 -0700 (PDT) Sender: "J. Hellenthal" Date: Mon, 28 Mar 2011 10:30:59 -0400 From: "J. Hellenthal" To: Lev Serebryakov In-Reply-To: <895726715.20110328112007@serebryakov.spb.ru> Message-ID: References: <895726715.20110328112007@serebryakov.spb.ru> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Backup tool fot ZFS with all "classic dump(8)" fetatures -- what should I use? (or is here any way to make dump -L works well on large FFS2+SU?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 14:31:16 -0000 On Mon, 28 Mar 2011 03:20, lev@ wrote: > Hello, Freebsd-stable. > > Now I'm backing up my HOME filesystem with dump(8). It works > perfectly for 80GiB FS with many features: snapshot for consistency, > levels, "nodump" flag (my users use it a lot!), ability to extract > only one removed file from backup without restoring full FS, simple > sctipy wrap-up for levels schedule, etc. > > On new server I have huge HOME (500GiB). And even if it is filled > up only with 25GiB of data, creating snapshot takes about 10 minutes, > freeze all I/O, and sometimes FAILS (!!!). > > I'm thinking to transfer GOME filesystem to ZFS. But I can not find > appropriate tools for backing it up. Here is some requirements: > > (1) One-file (one-stream) backup. Not directory mirror. I need to > store it on FTP server and upload with single command. > > (2) Levels & increment backups. Now I have "Monthly (0) - Weekly > (1,2,3) - daily (4,5,6,7,8,9)" scheme. I could afford other schemes, > but if they doesn't store full backup every day and doesn't need full > backup more often than weekly. > > (3) Minimum of local metadata. Storing previous backups locally to > calculate next one is not appropriate solution. "zfs send" needs > previous snapshots for incremental backup, for example. > > (4) Working with snapshot (I think, it is trivial in case of ZFS). > > (5) Backup exclusions should be controlled by users (not super-user) themselves, > like "nodump" flag in case of FFS/dump(8). "zfs send" can not > provide this. I have very responsible users, so full backup > now takes only up to 10GiB when all HOME FS is about 25GiB, so it > is big help when backup is sent over Internet to other host. > > (6) Storing of ALL FS-specific information -- ACLs, etc. > > (7) Free :) > > Is here something like this for ZFS? "zfs send" looks promising, > EXCEPT item (5) and, maybe, (3) :( > > gnu tar looks like everything but (6) :( > There is information all over the place for this. I would suggest that you take the time and go over the required reading to understand ZFS and its concepts before you jump into conclusions. Here is some docs to start with. http://download.oracle.com/docs/cd/E19253-01/819-5461/index.html http://hub.opensolaris.org/bin/view/Community+Group+zfs/faq http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 14:32:30 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 638C61065675 for ; Mon, 28 Mar 2011 14:32:30 +0000 (UTC) (envelope-from fjwcash@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 1CBA68FC20 for ; Mon, 28 Mar 2011 14:32:29 +0000 (UTC) Received: by ywf9 with SMTP id 9so1342351ywf.13 for ; Mon, 28 Mar 2011 07:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UZDD8qIbM7BZbzZUxA7AlwTbF0OoFGWj3MO2GtVX07g=; b=HMu2vJ2eD1qBbzVWTya/wD39GGvRMgkedU9W5sWpQP7KsfLkGtdjy99Wb1UztcqPho 03RC2xJ+ecp7B5i5pLrz2DOcVGXP5Vtd+Km5Q9ZF+C9CY9LvGHtwbxq2eaAEYP5DruKh nini05w/9OP8cI0HBk9a/MfnzKnrg9cNxDqZg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=od1OWk7qtZiv2bTSi87RPzlZUu5Y2Af/KTjwqE1Y9mhoww24Vhs3mJzlWzdFIH4Lv/ rmqznqK2d2/Hhwi28U8s9ScY9mrCTcDWMMFgYMSWzrQ5l4m8eOU377FA7I9UcbG/rKF6 AvESw8v9FpTGUuuULhW3/bX/d8I4pJ+5+FYEY= MIME-Version: 1.0 Received: by 10.91.32.2 with SMTP id k2mr3555796agj.19.1301322749256; Mon, 28 Mar 2011 07:32:29 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Mon, 28 Mar 2011 07:32:29 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Mar 2011 07:32:29 -0700 Message-ID: From: Freddie Cash To: Claus Guttesen Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 14:32:30 -0000 On Mon, Mar 28, 2011 at 4:22 AM, Claus Guttesen wrote: > I've setup a server with FreeBSD 8.2 (prerelase) and patched zfs to > ver. 28. The server has 11 disks each 2 TB in raidz2. The performance > is very good and I've got approx. 117 MB/s on plain GB nics using > iscsi. > > I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 > servers using nfs, but when there is alot of i/o the server becomes > unresponsive, easily triggered by installing ie. ms-sql. The server > itself is up but is not reachable from the network. When I take the > nic down and up again connection to the network is reestablished > (ip-wise). > > A friend of mine has suggested that I disable the zil. The page > http://wiki.freebsd.org/ZFSTuningGuide says 'Disabling ZIL is not > recommended where data consistency is required (such as database > servers) but will not result in file system corruption.' > > Has anyone tried to disable zil and achieved better performance and > still maintain a consistent filesystem? If your disk controller has a lot of cache on it, and a battery backup, then enabling the write cache and disabling the ZIL can be faster, without sacrifising consistency (the write cache on the controller acts like a ZIL). There's several threads on the zfs-discuss mailing list where this is discussed. However, the better solution, and the one most recommended for those using NFS with ZFS, is to install a small, write-optimised, SLC-based SSD to the system as a separate log (SLOG/ZIL) device. NFS is a very sync-heavy protocol, and having a super-fast ZIL sitting on a separate SSD will greatly improve things. -- Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 14:38:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25E0810656B1 for ; Mon, 28 Mar 2011 14:38:07 +0000 (UTC) (envelope-from sclark46@earthlink.net) Received: from elasmtp-curtail.atl.sa.earthlink.net (elasmtp-curtail.atl.sa.earthlink.net [209.86.89.64]) by mx1.freebsd.org (Postfix) with ESMTP id ECAF08FC16 for ; Mon, 28 Mar 2011 14:38:06 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=sqWT6gyMwnlY1yWgKDi9soej/5PtJQ5YaWV9c3QoBMgkdUUUu3aEYuGwOiG541dR; h=Received:Message-ID:Date:From:Reply-To:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-ELNK-Trace:X-Originating-IP; Received: from [69.22.83.66] (helo=joker.seclark.com) by elasmtp-curtail.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Q4Da2-00087o-C9; Mon, 28 Mar 2011 10:38:06 -0400 Message-ID: <4D909D4D.2020201@earthlink.net> Date: Mon, 28 Mar 2011 10:38:05 -0400 From: Stephen Clark User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 MIME-Version: 1.0 To: VANHULLEBUS Yvan References: <4D8CC2C5.7020508@earthlink.net> <20110326160034.GA62127@zeninc.net> In-Reply-To: <20110326160034.GA62127@zeninc.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: a437fbc6971e80f61aa676d7e74259b7b3291a7d08dfec79a36fd8cd1eb03d8a8c5ba6bba41d7b36350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.22.83.66 Cc: FreeBSD Stable Subject: Re: SPD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sclark46@earthlink.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 14:38:07 -0000 On 03/26/2011 12:00 PM, VANHULLEBUS Yvan wrote: > On Fri, Mar 25, 2011 at 12:28:53PM -0400, Stephen Clark wrote: > >> Hi, >> > Hi. > > > >> If one has multiple entries in the SPD some representing more specific >> network addresses not to be encrypted and sent over an >> ipsec tunnel vs more general networks that would be encrypted would this >> work? >> >> In other words say I have a x.x.0.0/16 that should encrypted but in that >> x.x.0.0/16 I don't want x.x.84.0/23 >> to be encrypted could I do that? If so is dependent on the order the SPD >> entries are made? >> > Yes, SPD entries are ordered. > > Just set up first specific SPD entries for traffic which must not be > encrypted, then the tunnel/transport entries for networks. > > > Yvan. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > Hi Yvan, Thanks for the info. I for one certainly appreciate all you and Timo do for ipsec-tools. Regards, Steve -- "They that give up essential liberty to obtain temporary safety, deserve neither liberty nor safety." (Ben Franklin) "The course of history shows that as a government grows, liberty decreases." (Thomas Jefferson) From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 14:56:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37B19106564A for ; Mon, 28 Mar 2011 14:56:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id E0E478FC13 for ; Mon, 28 Mar 2011 14:56:55 +0000 (UTC) Received: from outgoing.leidinger.net (p5B1548A0.dip.t-dialin.net [91.21.72.160]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id F27B9844015; Mon, 28 Mar 2011 16:41:16 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id EB91117B9; Mon, 28 Mar 2011 16:41:13 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2SEfDuC067736; Mon, 28 Mar 2011 16:41:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 28 Mar 2011 16:41:13 +0200 Message-ID: <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> Date: Mon, 28 Mar 2011 16:41:13 +0200 From: Alexander Leidinger To: Claus Guttesen References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: F27B9844015.AFDDB X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0.077, required 6, autolearn=disabled, TW_ZF 0.08) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1301928077.79173@RF+CLVWr6poExBvF9PXr1Q X-EBL-Spam-Status: No Cc: FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 14:56:56 -0000 Quoting Claus Guttesen (from Mon, 28 Mar 2011 13:22:00 +0200): > I've setup a server with FreeBSD 8.2 (prerelase) and patched zfs to > ver. 28. The server has 11 disks each 2 TB in raidz2. The performance > is very good and I've got approx. 117 MB/s on plain GB nics using > iscsi. > > I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 > servers using nfs, but when there is alot of i/o the server becomes > unresponsive, easily triggered by installing ie. ms-sql. The server > itself is up but is not reachable from the network. When I take the > nic down and up again connection to the network is reestablished > (ip-wise). > > A friend of mine has suggested that I disable the zil. The page > http://wiki.freebsd.org/ZFSTuningGuide says 'Disabling ZIL is not > recommended where data consistency is required (such as database > servers) but will not result in file system corruption.' > > Has anyone tried to disable zil and achieved better performance and > still maintain a consistent filesystem? The ZIL is not linked to NIC down/up events. It is a completely different topic. I suggest to find the real problem instead of doing some random tuning (which is not tuning in this case but foot-shooting). FYI: disabling the ZIL is someting to do if you are desperate, do not care about production incidents, and everything else (if the ZIL is the problem -- which most probably it isn't by reading your message -- a (maybe write optimized) SSD as a log device could be a solution) does not solve the issue. Bye, Alexander. -- I'll eat ANYTHING that's BRIGHT BLUE!! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 15:25:44 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6315B106566C for ; Mon, 28 Mar 2011 15:25:44 +0000 (UTC) (envelope-from mdonada@auroraalimentos.com.br) Received: from mx.auroraalimentos.com.br (mx.auroraalimentos.com.br [200.228.43.6]) by mx1.freebsd.org (Postfix) with ESMTP id 0808E8FC22 for ; Mon, 28 Mar 2011 15:25:43 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx.auroraalimentos.com.br (Postfix) with ESMTP id 649FB848122 for ; Mon, 28 Mar 2011 12:25:40 -0300 (BRT) X-Virus-Scanned: Servidor de e-mail em amavisd-new at mx Received: from mx.auroraalimentos.com.br ([127.0.0.1]) by localhost (mx.auroraalimentos.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ESCI-SE2ypQP for ; Mon, 28 Mar 2011 12:25:39 -0300 (BRT) Received: from [127.0.0.1] (unknown [121.1.16.22]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx.auroraalimentos.com.br (Postfix) with ESMTPSA id ED9CE84810D for ; Mon, 28 Mar 2011 12:25:38 -0300 (BRT) Message-ID: <4D90A867.10505@auroraalimentos.com.br> Date: Mon, 28 Mar 2011 12:25:27 -0300 From: =?UTF-8?B?TcOhcmNpbyBMdWNpYW5vIERvbmFkYQ==?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D907951.9070000@auroraalimentos.com.br> <30AE8A19-E6F0-4332-B95A-ABBC5066C1C5@gmail.com> In-Reply-To: <30AE8A19-E6F0-4332-B95A-ABBC5066C1C5@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: install: aibs.ko: No such file or directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 15:25:44 -0000 Hi Geoge, without the option-j to make the error is exactly the same. Em 28/3/2011 10:21, George Kontostanos escreveu: > Don't use the -j flag when installing your kernel. > > make installkernel KERNCONF=VPN2 > > On 28 Μαρ 2011, at 3:04 μ.μ., Márcio Luciano Donada wrote: > >> I am updated on FreeBSD 8.1-RELEASE-p2 to 8.2-STABLE using cvsup.conf, >> as follows: >> >> *default host=cvsup2.FreeBSD.org >> *default base=/usr >> *default prefix=/usr >> *default release=cvs tag=RELENG_8 >> *default delete use-rel-suffix >> *default compress >> src-all >> #ports-all >> >> Then to build system use the following command: >> >> # cd /usr/src >> # make -j4 buildworld && make -j4 buildkernel KERCONF=VPN2 && make -j4 >> installkernel KERNCONF=VPN2 >> >> but when making the final part, which is the installation it reports me >> the following error: >> >> install: aibs.ko: No such file or directory >> *** Error code 71 >> 1 error >> *** Error code 2 >> >> But if I build only the kernel VPN2 he successfully completed. My Kernel >> is, This is just a copy of GENERIC including the following lines: >> >> device pf >> device pflog >> device pfsync >> device crypto >> options ALTQ >> options ALTQ_CBQ >> options ALTQ_RED >> options ALTQ_RIO >> options ALTQ_HFSC >> options ALTQ_CDNR >> options ALTQ_PRIQ >> options ALTQ_NOPCC >> options ALTQ_DEBUG >> options TCP_SIGNATURE >> options IPSEC >> options IPSEC_DEBUG >> options SC_DISABLE_REBOOT >> >> -- >> Márcio Luciano Donada >> Aurora Alimentos - T.I. Matriz >> Coop. Central Oeste Catarinense >> >> _______________________________________________ >> freebsd-stable@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > -- Márcio Luciano Donada Aurora Alimentos - T.I. Matriz Coop. Central Oeste Catarinense From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 16:12:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59EB1106566C for ; Mon, 28 Mar 2011 16:12:50 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDAD8FC0C for ; Mon, 28 Mar 2011 16:12:49 +0000 (UTC) Received: by gxk28 with SMTP id 28so1391526gxk.13 for ; Mon, 28 Mar 2011 09:12:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=g82RutLp+9j7sy6+iefOD0+o3zufK1lWcxe1qJXW5Jw=; b=ZfmKp7XjATNmGaVmAYtfKp1T8GY52V/F5atfS/a7EEM4u34MFsJxIQSbARf42+zAVm eMJOb9QWHkeMoXX9u+eKIgY9GNYQU3toJFK8u02hXUIN+aea9llkg6zvKkBe00NIu9KH BS8FrC+s1TeZq/R0hjqalsiciitjMzNYzvUL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=rEERZ2nRAwerWcUUSUnkjAhtCFTJvMDD/b4vH7jqSffxADGIW3rTuCnIfxdjMOdYil EgnXXNj/1HAb7yB11bPVZhwRZiErNWchcnEiQFQmKwCvMvFL3Yyru8vN0q9yGNFDXLJs mDZgu24NfWyqwx7c8eYeMAMM5pr03PKJNkN2Q= Received: by 10.151.47.9 with SMTP id z9mr3916491ybj.306.1301328769129; Mon, 28 Mar 2011 09:12:49 -0700 (PDT) Received: from disbatch.dataix.local ([99.181.153.110]) by mx.google.com with ESMTPS id f5sm1411441ybh.13.2011.03.28.09.12.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Mar 2011 09:12:46 -0700 (PDT) Sender: "J. Hellenthal" Date: Mon, 28 Mar 2011 12:12:43 -0400 From: "J. Hellenthal" To: =?ISO-8859-15?Q?M=E1rcio_Luciano_Donada?= In-Reply-To: <4D90A867.10505@auroraalimentos.com.br> Message-ID: References: <4D907951.9070000@auroraalimentos.com.br> <30AE8A19-E6F0-4332-B95A-ABBC5066C1C5@gmail.com> <4D90A867.10505@auroraalimentos.com.br> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: install: aibs.ko: No such file or directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 16:12:50 -0000 On Mon, 28 Mar 2011 11:25, mdonada@ wrote: > Hi Geoge, > > without the option-j to make the error is exactly the same. > You will have to re-build kernel. Start from scratch. -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 16:26:32 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 207EB1065674 for ; Mon, 28 Mar 2011 16:26:32 +0000 (UTC) (envelope-from mamalos@eng.auth.gr) Received: from vergina.eng.auth.gr (vergina.eng.auth.gr [155.207.18.1]) by mx1.freebsd.org (Postfix) with ESMTP id 91CDB8FC13 for ; Mon, 28 Mar 2011 16:26:31 +0000 (UTC) Received: from mamalacation.ee.auth.gr (mamalacation.ee.auth.gr [155.207.33.29]) by vergina.eng.auth.gr (8.14.3/8.14.3) with ESMTP id p2SGQTCt025658 for ; Mon, 28 Mar 2011 19:26:30 +0300 (EEST) (envelope-from mamalos@eng.auth.gr) Message-ID: <4D90B6B0.80902@eng.auth.gr> Date: Mon, 28 Mar 2011 19:26:24 +0300 From: George Mamalakis User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110109 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: stable@freebsd.org References: <4D8B5501.5090802@eng.auth.gr> <4D904A31.8090107@eng.auth.gr> In-Reply-To: <4D904A31.8090107@eng.auth.gr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: nsswitch problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 16:26:32 -0000 On 28/03/2011 11:43, George Mamalakis wrote: > On 24/03/2011 16:28, George Mamalakis wrote: >> Hello everybody, >> >> In short: >> >> nsswitch seems not to honor (fully) the criteria and actions of >> nsswitch.conf. A detailed analysis of my problem can be found on this >> thread (it's on freebsd forums, and it hasn't been answered yet): >> >> http://forums.freebsd.org/showthread.php?t=22716 >> >> Thank you all for your time and help in advance, >> >> I hope that somebody will help me realize how nsswitch works, so as >> to see if and how caching may help me on an nss_ldap authenticated >> configuration, >> >> regards, >> >> mamalos >> > > Anybody having an idea on what might be wrong with the nsswitch > mechanism? > > Have I used the wrong mailing list? Should I have used > freebsd-questions instead? > > Thank you all for your time in advance. > > mamalos > Hmm, I found two more problems with nsswitch, regarding su(1) this time: 1) If I use SASL authentication in nss_ldap, then when I try to: $ su - Password: # On /var/log/messages I get the error: Mar 28 18:17:03 mamalacation su: GSSAPI Error: Miscellaneous failure (see text) (open(/tmp/krb5cc_1001): No such file or directory^B) Mar 28 18:17:03 mamalacation su: nss_ldap: could not search LDAP server - Server is unavailable which is a bit peculiar, since 1001 is my default user (mamalos), and it seems that su(1) tries to find a principal with a uid=1001 when it tries to access nsswitch information, instead of using the sasl_authid user from /usr/local/etc/nss_ldap.conf. If I use binddn=blabla, then everything works just fine. 2) When my /etc/nsswitch.conf reads: hosts: ldap files group: ldap files and I run: $ id mamalos uid=1001(mamalos) gid=513(Domain Users) groups=513(Domain Users),512(Domain Admins),0(wheel),814(puppet) we see that mamalos is a member of the wheel group. But when I try to su(1) to root I get a "BAD SU mamalos to root" in /var/log/messages. When my /etc/nsswitch.conf reads: hosts: files ldap group: files ldap and I run: $ id mamalos uid=1001(mamalos) gid=1001(mamalos) groups=1001(mamalos),0(wheel),814(puppet),512(Domain Admins) then, suing to root works just fine. The same holds when I run id(1) (with no arguments); in that case, the system replies with the information it finds in the first resource (ldap on the first example, file on the second) and stops. That said, I come into two separate conclusions: 1) SASL authentication in nss_ldap doesn't seem to be fully functional. 2) It seems that some commands call functions that honor the criteria/actions fields of /etc/nsswitch.conf, while other commands call functions that don't (like the id and getent). Any comments on these issues are welcome, mamalos -- George Mamalakis IT Officer Electrical and Computer Engineer (Aristotle Un. of Thessaloniki), MSc (Imperial College of London) Department of Electrical and Computer Engineering Faculty of Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 16:46:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D666106566C for ; Mon, 28 Mar 2011 16:46:57 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 47DC68FC14 for ; Mon, 28 Mar 2011 16:46:56 +0000 (UTC) Received: by qwc9 with SMTP id 9so2334261qwc.13 for ; Mon, 28 Mar 2011 09:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pwSgtQD7R3zctQPXY3yCU5JjZ9Owwb8BuqBmbXtCfBs=; b=cbGfN5/GAejDLzlPjrElFxmgNvtOsL9gKcv8Ygu2dDQuljWr8XKmLkVlrycIs+qpK2 zyXZ32mU78BU5lQSZkdzohkQs7d+8D8+LWu4SdrhnouCuHTo9xvRvj1BXFjNAUtarvBM fXNp5v7xQAtfnquZqT3mMwcUwaEF5W+RU8y9c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=J5/RAeJAm+YOtqIXP/uGBJSSocSjSxCkn3MhfmJi6GcYylLW0rSPLSji/wmLzsTx+D S4+3Oaxs0vbLaz/D5XbNuBHXQ8KEzCCoRBFdXgIz3FZ+SrC0PW160aXucH4BelMIL10k Z2/Bwiv2nI/XZYmDaOBkbRQ50QWxySeqAVVi8= MIME-Version: 1.0 Received: by 10.229.214.204 with SMTP id hb12mr3374835qcb.261.1301330816444; Mon, 28 Mar 2011 09:46:56 -0700 (PDT) Received: by 10.229.91.144 with HTTP; Mon, 28 Mar 2011 09:46:56 -0700 (PDT) In-Reply-To: <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> References: <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> Date: Mon, 28 Mar 2011 18:46:56 +0200 Message-ID: From: Claus Guttesen To: Alexander Leidinger , FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 16:46:57 -0000 >> I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 >> servers using nfs, but when there is alot of i/o the server becomes >> unresponsive, easily triggered by installing ie. ms-sql. The server >> itself is up but is not reachable from the network. When I take the >> nic down and up again connection to the network is reestablished >> (ip-wise). >> >> A friend of mine has suggested that I disable the zil. The page >> http://wiki.freebsd.org/ZFSTuningGuide says 'Disabling ZIL is not >> recommended where data consistency is required (such as database >> servers) but will not result in file system corruption.' >> >> Has anyone tried to disable zil and achieved better performance and >> still maintain a consistent filesystem? > > The ZIL is not linked to NIC down/up events. It is a completely different > topic. I suggest to find the real problem instead of doing some random > tuning (which is not tuning in this case but foot-shooting). I'm aware of that, but the only way the problem shows up is when a windows machine performs an installation or a windows update (and has alot of updates in the pipeline). When traffic (i/o) is low to moderate it justs goes along without any issues. And if the same virtual windows-installation is on an iscsi-partition (mounted by the vmware-server) I can't reproduce the problem. So if disabling the zil did make a difference I would install a dedicated zil-ssd-device. And if that did alleviate my problem the issue could be related to windows performing alot of small reads and writes. Hence why I wanted to disable the zil. > FYI: disabling the ZIL is someting to do if you are desperate, do not care > about production incidents, and everything else (if the ZIL is the problem > -- which most probably it isn't by reading your message -- a (maybe write > optimized) SSD as a log device could be a solution) does not solve the > issue. Thank you for your input. I will get a ssd-drive. -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare twitter.com/kometen From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 16:50:30 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D348106564A for ; Mon, 28 Mar 2011 16:50:30 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 364658FC12 for ; Mon, 28 Mar 2011 16:50:29 +0000 (UTC) Received: by qwc9 with SMTP id 9so2337161qwc.13 for ; Mon, 28 Mar 2011 09:50:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=c4DD8UV5ol/15X6BwVJhqhCxwnErcCwWnatW0rtyWvM=; b=ncYmKfz0SGuIDXtCzu3rdKg9w+jF50moEZz0X64fHnGSyEOfXLLFM07Aq+3/xpjidD wCcWff6IHb8Rf8TskPLCg+KsXBQi7vAOUSVOXJETqsJvwUlw7Ag/4FrLe81ep2b5TJHL o/SlKcH2WzQwpawCFQPcEjaMd55m87gdF0GnQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YK9wGN7SeXmVFASQeUDeMICqLVd6BbJOYtykWuu+oE9xPMD7/k1Y4Wv21lgA/8wEwo 9SdGVx/mRoC3bLUca6xhtDh1dXNU02NeaiZXO3U9IsvqGWsAlKtaH4hHXHLRVGb97D1k m9WcY+2Nh7xcwLr6TPys75JN+WDWu6aVgTeSA= MIME-Version: 1.0 Received: by 10.229.105.96 with SMTP id s32mr3500509qco.185.1301331029095; Mon, 28 Mar 2011 09:50:29 -0700 (PDT) Received: by 10.229.91.144 with HTTP; Mon, 28 Mar 2011 09:50:29 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Mar 2011 18:50:29 +0200 Message-ID: From: Claus Guttesen To: Freddie Cash Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 16:50:30 -0000 > If your disk controller has a lot of cache on it, and a battery > backup, then enabling the write cache and disabling the ZIL can be > faster, without sacrifising consistency (the write cache on the > controller acts like a ZIL). =A0There's several threads on the > zfs-discuss mailing list where this is discussed. It's an areca sata-controller with 512 MB battery backed cache. > However, the better solution, and the one most recommended for those > using NFS with ZFS, is to install a small, write-optimised, SLC-based > SSD to the system as a separate log (SLOG/ZIL) device. > > NFS is a very sync-heavy protocol, and having a super-fast ZIL sitting > on a separate SSD will greatly improve things. Thank you. I'll get a ssd-drive (also suggested by Alexander). --=20 regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare twitter.com/kometen From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 18:29:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A94571065670 for ; Mon, 28 Mar 2011 18:29:15 +0000 (UTC) (envelope-from mark@islandnet.com) Received: from cluster1.islandnet.com (cluster.islandnet.com [199.175.106.50]) by mx1.freebsd.org (Postfix) with ESMTP id 959B18FC08 for ; Mon, 28 Mar 2011 18:29:15 +0000 (UTC) Received: from [199.175.106.221] (port=28275 helo=helpdesk.islandnet.com) by blade1.islandnet.com with SMTP id 1Q4H0e-0008IA-56 for freebsd-stable@freebsd.org; Mon, 28 Mar 2011 11:17:48 -0700 From: Mark Morley To: FreeBSD Stable Date: Mon, 28 Mar 2011 11:17:48 -0700 X-Priority: 3 X-Mailer: Islandnet.com Helpdesk Webmail Message-Id: <771acm1t.1301336268@helpdesk.islandnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: ZFS pool on FreeBSD 8.2-STABLE broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 18:29:15 -0000 Hi there, I have a small backup server (8.2-STABLE). It boots from ufs and has a zfs pool for backups that consists of 8 drives configured as 4 mirrored devices, totally around 2.5 TB. Been working great, no issues, until the past few days when remote rsyncs to it have started to get very slow (it's only at around %50 capacity). Rebooting it helps for a while, then it gets slow again. But this isn't the problem now... After the last reboot, it froze while booting right at the point where the file system gets mounted. No errors, it just doesn't proceed past the ZFS version message. I rebooted single user and tried to access it with "zpool status", and the command hangs in the same way. Any attempt to access it ("zfs list", for example) does the same thing. The disks themselves seem fine. They are all connected to a pair of Adaptec RAID controllers (configured as individual drives, with mirroring handled by zfs) and the controller software shows them all to be intact. I disabled zfs in rc.conf and was able to boot, but I can't access the pool. Any ideas on how to diagnose and hopefully repair this? Mark From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 18:38:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94425106567C for ; Mon, 28 Mar 2011 18:38:56 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 247E88FC1D for ; Mon, 28 Mar 2011 18:38:55 +0000 (UTC) Received: by bwz12 with SMTP id 12so3362459bwz.13 for ; Mon, 28 Mar 2011 11:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ObMCasc+0ZOj051nd37xi/zeZPUNNORg3uFCSWOMu3I=; b=RiWpL1rGoOInrBghQjXJAEGXkrp00bpF4yKIR9DWXfsLf5QWHinOuDshKlatE7qmSf pZtcXIDnHQ7Rd97zu41N0sSKiBzoEPZ26B57A8xZABNMoGSiqYSrehnM88JHsBA9J9hQ wMsj7UuBnlazaXve7o5cIsbA6HBY6YD7/YCiM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=j4zrhfpHucxsqtfU7KPY6UVsDBAcBSB6AlSmgyfALmAD1bki5EeR8K6ePoYmx6eyhK Ecgpm+D9TjSv+3lTxeoocfsFjZhLX5u9vGRoor/Pg7zx0JUbbao7UKjrETIYGqsuIWxN 4PYf0lsUpczFRtyEiHy5NoWwWGN5hzlXX+9xg= MIME-Version: 1.0 Received: by 10.204.17.11 with SMTP id q11mr3632961bka.131.1301337534810; Mon, 28 Mar 2011 11:38:54 -0700 (PDT) Received: by 10.204.47.8 with HTTP; Mon, 28 Mar 2011 11:38:54 -0700 (PDT) In-Reply-To: <771acm1t.1301336268@helpdesk.islandnet.com> References: <771acm1t.1301336268@helpdesk.islandnet.com> Date: Mon, 28 Mar 2011 13:38:54 -0500 Message-ID: From: Scot Hetzel To: Mark Morley Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable Subject: Re: ZFS pool on FreeBSD 8.2-STABLE broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 18:38:56 -0000 On Mon, Mar 28, 2011 at 1:17 PM, Mark Morley wrote: > Hi there, > > I have a small backup server (8.2-STABLE). =A0It boots from ufs and has a= zfs pool for backups that consists of 8 drives configured as 4 mirrored de= vices, totally around 2.5 TB. > > Been working great, no issues, until the past few days when remote rsyncs= to it have started to get very slow (it's only at around %50 capacity). = =A0Rebooting it helps for a while, then it gets slow again. =A0But this isn= 't the problem now... > > After the last reboot, it froze while booting right at the point where th= e file system gets mounted. =A0No errors, it just doesn't proceed past the = ZFS version message. > > I rebooted single user and tried to access it with "zpool status", and th= e command hangs in the same way. =A0Any attempt to access it ("zfs list", f= or example) does the same thing. > > The disks themselves seem fine. =A0They are all connected to a pair of Ad= aptec RAID controllers (configured as individual drives, with mirroring han= dled by zfs) and the controller software shows them all to be intact. > > I disabled zfs in rc.conf and was able to boot, but I can't access the po= ol. > > Any ideas on how to diagnose and hopefully repair this? > Your going to need to download a recent -CURRENT ISO that contans zfs v28, then you can try to recover the pool as outlined in this post http://opensolaris.org/jive/message.jspa?messageID=3D445269 zpool import -nfF -R /mnt rpool If it reports that it can get back to good pool state, then do actual import with zpool import -fF -R /mnt rpool In case first command cannot rewind to older state, try to add -X option: zpool import -nfFX -R /mnt rpool and if it says that it can recover your pool with some data loss and you are ok with it, then do actual import zpool import -fFX -R /mnt rpool Note: I haven't given this a try on my system yet, let me know how it goes = ;-). Scot From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 18:10:05 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B0701065674 for ; Mon, 28 Mar 2011 18:10:05 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id B78BA8FC12 for ; Mon, 28 Mar 2011 18:10:04 +0000 (UTC) Received: (qmail 6477 invoked by uid 89); 28 Mar 2011 17:56:50 -0000 Received: from unknown (HELO claydesktop) (clay@milos.co.za@192.168.200.6) by lisa.milos.co.za with ESMTPA; 28 Mar 2011 17:56:50 -0000 Message-ID: From: "Clayton Milos" To: Date: Mon, 28 Mar 2011 18:57:35 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Mailman-Approved-At: Mon, 28 Mar 2011 19:26:16 +0000 Cc: freebsd-stable@freebsd.org Subject: GELI speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 18:10:05 -0000 Hi Pawel I'm running GELI encryption on a hardware RAID5 (8x1TB), formatted to 6.3T usable space using i386 FreeBSD 7.3-PRERELEASE. Write speeds to the drive are just over 40MB/s which is not too bad but I would like to improve it as the drive gets 270MB/s without encryption. I've run the following tests: dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096 4294967296 bytes transferred in 99.763266 secs (43051591 bytes/sec) and then dd if=/dev/zero of=test.file bs=1m count=1024 1073741824 bytes transferred in 26.118988 secs (41109626 bytes/sec) There is not much speed lost due to the filesystem throughput or the RAID card. I have 2 AMD Opteron 248 (2205.02-MHz 686-class CPU) in the box. I have just bought another motherboard that will accept dual-core and intend on upgrading to 2 dual core CPU's. My next step is to install AMD64 FreeBSD 8.2 to see if this improves performance any. I did not install AMD64 originally because it was giving some issues and I didn't have time to debug it. Will AMD64 have any speed improvement on encryption processing, being 64 bit? Also will having more cores help if I am using the box as a Samba share? I have a Cavium 1230 and Cavium Nitrox XL encryption cards available to me. So far I cannot see any drivers available for them for FreeBSD and even with the SDK I could not write a driver as my knowledge of C is not very good. Would these cards or another supported encryption card that can do AES-CBC 128 help with the speed? Is the GELI provider able to take advantage of encryption coprocessors? Thanks Clay From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 19:26:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7BAB1065694 for ; Mon, 28 Mar 2011 19:26:50 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 60FD38FC20 for ; Mon, 28 Mar 2011 19:26:50 +0000 (UTC) Received: from outgoing.leidinger.net (p5B1548A0.dip.t-dialin.net [91.21.72.160]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id EA625844017; Mon, 28 Mar 2011 21:26:23 +0200 (CEST) Received: from unknown (IO.Leidinger.net [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 04FD817DA; Mon, 28 Mar 2011 21:26:20 +0200 (CEST) Date: Mon, 28 Mar 2011 21:26:21 +0200 From: Alexander Leidinger To: Claus Guttesen Message-ID: <20110328212621.0000696d@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8cvs47 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: EA625844017.A0150 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1301945185.82507@4GIXGzBYTD3UEn7xKIio2w X-EBL-Spam-Status: No Cc: FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 19:26:50 -0000 On Mon, 28 Mar 2011 18:50:29 +0200 Claus Guttesen wrote: > > However, the better solution, and the one most recommended for those > > using NFS with ZFS, is to install a small, write-optimised, > > SLC-based SSD to the system as a separate log (SLOG/ZIL) device. > > > > NFS is a very sync-heavy protocol, and having a super-fast ZIL > > sitting on a separate SSD will greatly improve things. > > Thank you. I'll get a ssd-drive (also suggested by Alexander). You need to be aware that the same redundancy concerns apply to the log device as for the normal pool. If you only have one SSD, as soon as it crashes you lose data. If you have two in a mirror, you can survive the loss of one. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 20:03:10 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26505106564A for ; Mon, 28 Mar 2011 20:03:10 +0000 (UTC) (envelope-from dlt@mebtel.net) Received: from mail960c35.nsolutionszone.com (mail960c35.nsolutionszone.com [209.235.152.150]) by mx1.freebsd.org (Postfix) with ESMTP id B3B528FC12 for ; Mon, 28 Mar 2011 20:03:09 +0000 (UTC) X-POP-User: dlt.mebtel.net Received: from localhost (99-194-23-158.dyn.centurytel.net [99.194.23.158]) by mail960c35.nsolutionszone.com (8.13.6/8.13.1) with ESMTP id p2SHJc1J030974 for ; Mon, 28 Mar 2011 17:19:40 GMT Date: Mon, 28 Mar 2011 13:19:38 -0400 From: Derek Tattersall To: Stable List Message-ID: <20110328171938.GA8681@lorne.arm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-CSC: 0 X-CHA: v=1.1 cv=+CM8qBcK0/djPaTo1AtPGqkTQ+nLFRwUxUpdlw+eXTs= c=1 sm=1 a=z1TLwsU0kBEA:10 a=9CWlab_pHo8A:10 a=GPr01A5e9VcA:10 a=kj9zAlcOel0A:10 a=5FSmvsqyZ8dLHOg+TByL6Q==:17 a=xwPayol1AAAA:8 a=CjxXgO3LAAAA:8 a=pGLkceISAAAA:8 a=BpwPfq8t89Cq0SKZ2AYA:9 a=c2Jf2JDGRa1s-1cPrbSNjWqkh1gA:4 a=CjuIK1q_8ugA:10 a=0Ob1RWNGeVAA:10 a=rC2wZJ5BpNYA:10 a=MSl-tDqOz04A:10 a=5FSmvsqyZ8dLHOg+TByL6Q==:117 Cc: Subject: Problem using POSIX message queues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dlt@mebtel.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 20:03:10 -0000 While trying to develop an understanding of the use POSIX message queues, I found that issuing a mq_open (2) call, resulted in Bad system call: 12 error message. I have tried to run the tools/regression/mqueue tests, but they fail in mq_open with the bad system call error. In addition, the mq_open (2) man page refers to mq_timedreceive (3), mq_timedsend(3) which exist as section 2 man pages and a mq_unlink(3) man page which I can't find at all. I hope I am the first to try the use of the posix message queues and that this is just some teething problems. My test case ran without problems under linux, Fedora 14. -- Best regards, Derek Tattersall dlt@mebtel.net dlt666@yahoo.com dtatters@gmail.com From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 20:06:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256071065670; Mon, 28 Mar 2011 20:06:48 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 84CB38FC15; Mon, 28 Mar 2011 20:06:47 +0000 (UTC) Received: by yie12 with SMTP id 12so1504050yie.13 for ; Mon, 28 Mar 2011 13:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=NXg609SdF0hMNEGm0DRYYAT9/J8sljE139yLOzfweWM=; b=EphSr5rSpAZ0N6ouQZyNrNHVD3pCrDr2Ffa/xy0ONp5ufxEUmkQE/E1mSWXUMSBLmQ FDw6L+qhbqmlIFAlktfNphP44B2AC0xheJAprkS10uI9ktCpgLhAf/T/9J/yyUCjzBf0 y1ZCrFTU1CjaWmgj4jZBjiHYX7hgyw6/HkHNA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dbDiTJTbG91Bg/o304EahLrqUjHw0gWOrI2ZcfaEb8lrnNMjYvFgcx+5WcrISa8tQX uWvDDWJSBOyLQNw6W5bNdXo6/xU5BfS21VtuPTFZEYQjFGfPsO/z+kxblUGfQd0dUF3i bTMp4ueWIsz2HJbSct8tJuiFjc3cehdLesxUQ= MIME-Version: 1.0 Received: by 10.91.76.2 with SMTP id d2mr4256904agl.208.1301342806632; Mon, 28 Mar 2011 13:06:46 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Mon, 28 Mar 2011 13:06:46 -0700 (PDT) In-Reply-To: <86zkogep2o.fsf@kopusha.home.net> References: <20110325075541.GA1742@garage.freebsd.pl> <86zkogep2o.fsf@kopusha.home.net> Date: Mon, 28 Mar 2011 13:06:46 -0700 Message-ID: From: Freddie Cash To: Mikolaj Golub Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Filesystems , FreeBSD Stable , FreeBSD-Current , Pawel Jakub Dawidek Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 20:06:48 -0000 On Sun, Mar 27, 2011 at 5:16 AM, Mikolaj Golub wrote: On Sat, 26 Mar 2011 10:52:08 -0700 Freddie Cash wrote: > > =C2=A0FC> hastd backtrace is here: > =C2=A0FC> http://www.sd73.bc.ca/downloads/crash/hast-backtrace.png > > It is not a hastd crash, but a kernel crash triggered by hastd process. Ah, interesting. > I am not sure I got the same crash as you but apparently the race is poss= ible > in g_gate on device creation. 95% of the time that it would crash, would be when creating the /dev/hast/* devices (switching to primary role). Most of the crashes happened when doing "hastctl role primary all", but would occasionally happen when doing it manually for each resource. Creating the resources by hand, one every 2 seconds or so, would usually create them all without crashing. The other 5% of the time, the hastd crashes occurred either when importing the ZFS pool, or when running multiple parallel rsyncs to the pool. hastd was always shown as the last running process in the backtrace onscreen. > I got the following crash starting many hast providers simultaneously: > > fault virtual address =C2=A0 =3D 0x0 > > #8 =C2=A00xc0c11adc in calltrap () at /usr/src/sys/i386/i386/exception.s:= 168 > #9 =C2=A00xc086ac6b in g_gate_ioctl (dev=3D0xc6a24300, cmd=3D3374345472, > =C2=A0 =C2=A0addr=3D0xc9fec000 "\002", flags=3D3, td=3D0xc7ff0b80) > =C2=A0 =C2=A0at /usr/src/sys/geom/gate/g_gate.c:410 > #10 0xc0853c5b in devfs_ioctl_f (fp=3D0xc9b9e310, com=3D3374345472, > =C2=A0 =C2=A0data=3D0xc9fec000, cred=3D0xc8c9c200, td=3D0xc7ff0b80) > =C2=A0 =C2=A0at /usr/src/sys/fs/devfs/devfs_vnops.c:678 > #11 0xc09210cd in kern_ioctl (td=3D0xc7ff0b80, fd=3D3, com=3D3374345472, > =C2=A0 =C2=A0data=3D0xc9fec000 "\002") at file.h:262 > #12 0xc0921254 in ioctl (td=3D0xc7ff0b80, uap=3D0xf5edbcec) > =C2=A0 =C2=A0at /usr/src/sys/kern/sys_generic.c:679 > #13 0xc0916616 in syscallenter (td=3D0xc7ff0b80, sa=3D0xf5edbce4) > =C2=A0 =C2=A0at /usr/src/sys/kern/subr_trap.c:315 > #14 0xc0c2b9ff in syscall (frame=3D0xf5edbd28) > =C2=A0 =C2=A0at /usr/src/sys/i386/i386/trap.c:1086 > #15 0xc0c11b71 in Xint0x80_syscall () > =C2=A0 =C2=A0at /usr/src/sys/i386/i386/exception.s:266 > > Or just creating many ggate devices simultaneously: > > for i in `jot 100`; do > =C2=A0 =C2=A0./ggiocreate $i& > done > > ggiocreate.c is attached. > > In my case the kernel crashes in g_gate_create() when checking for name > collisions in strcmp(): > > =C2=A0 =C2=A0 =C2=A0 =C2=A0/* Check for name collision. */ > =C2=A0 =C2=A0 =C2=A0 =C2=A0for (unit =3D 0; unit < g_gate_maxunits; unit+= +) { > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (g_gate_units[u= nit] =3D=3D NULL) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0continue; > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0if (strcmp(name, g= _gate_units[unit]->sc_provider->name) !=3D 0) > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0continue; > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mtx_unlock(&g_gate= _units_lock); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mtx_destroy(&sc->s= c_queue_mtx); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0free(sc, M_GATE); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return (EEXIST); > =C2=A0 =C2=A0 =C2=A0 =C2=A0} > > I think the issue is the following. When preparing sc we take > g_gate_units_lock, check for name collision, fill sc fields except > sc->sc_provider, and registers sc in g_gate_units[unit]. sc_provider is f= illed > later, when g_gate_units_lock is released. So the scenario is possible: > > 1) Thread A registers sc in g_gate_units[unit] with > g_gate_units[unit]->sc_provider still null and releases g_gate_units_lock= . > > 2) Thread B traverses g_gate_units[] when checking for name collision and > craches accessing g_gate_units[unit]->sc_provider->name. > > The attached patch fixes the issue in my case. Patch applied cleanly to 8-STABLE with ZFSv28 patch also applied. Just to be safe, did a full buildwold/kernel cycle, running GENERIC kernel. So far, I have not been able to produce a crash in hastd, through several reboots, switching from primary to secondary and back, and just switching from primary to init and back. So far, so good. Now to see if I can reproduce any of the ZFS crashes I had earlier. --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 20:34:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 873AF106564A for ; Mon, 28 Mar 2011 20:34:07 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 01E438FC08 for ; Mon, 28 Mar 2011 20:34:06 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p2SKY3uf047899 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 28 Mar 2011 23:34:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p2SKY3Ys027364; Mon, 28 Mar 2011 23:34:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p2SKY3Le027363; Mon, 28 Mar 2011 23:34:03 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 28 Mar 2011 23:34:03 +0300 From: Kostik Belousov To: Derek Tattersall Message-ID: <20110328203403.GV78089@deviant.kiev.zoral.com.ua> References: <20110328171938.GA8681@lorne.arm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ORETLaVUHcUs2XX7" Content-Disposition: inline In-Reply-To: <20110328171938.GA8681@lorne.arm.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Stable List Subject: Re: Problem using POSIX message queues X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 20:34:07 -0000 --ORETLaVUHcUs2XX7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 28, 2011 at 01:19:38PM -0400, Derek Tattersall wrote: > While trying to develop an understanding of the use POSIX message > queues, I found that issuing a mq_open (2) call, resulted in Bad system > call: 12 error message. I have tried to run the tools/regression/mqueue > tests, but they fail in mq_open with the bad system call error. In > addition, the mq_open (2) man page refers to mq_timedreceive (3), > mq_timedsend(3) which exist as section 2 man pages and a mq_unlink(3) > man page which I can't find at all. Try "kldload mqueuefs" before the tests. --ORETLaVUHcUs2XX7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk2Q8LoACgkQC3+MBN1Mb4gOcACgn+rlFzA4toLO/JhYSsCXwIIc 5NAAnR7oC7z4FyZyR2GIE3t/g97SIY2v =CjpL -----END PGP SIGNATURE----- --ORETLaVUHcUs2XX7-- From owner-freebsd-stable@FreeBSD.ORG Mon Mar 28 22:16:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13D10106566C for ; Mon, 28 Mar 2011 22:16:13 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id C19898FC12 for ; Mon, 28 Mar 2011 22:16:12 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAGAHkU2DaFvO/2dsb2JhbACERaF2iGusK5BvgSeDS3cEjHc X-IronPort-AV: E=Sophos;i="4.63,258,1299474000"; d="scan'208";a="116224299" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 28 Mar 2011 18:16:11 -0400 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id B38C7B3F52; Mon, 28 Mar 2011 18:16:11 -0400 (EDT) Date: Mon, 28 Mar 2011 18:16:11 -0400 (EDT) From: Rick Macklem To: Claus Guttesen Message-ID: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2692) Cc: FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 22:16:13 -0000 > > I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 > servers using nfs, but when there is alot of i/o the server becomes > unresponsive, easily triggered by installing ie. ms-sql. The server > itself is up but is not reachable from the network. When I take the > nic down and up again connection to the network is reestablished > (ip-wise). > Others have made good comments w.r.t. the zil, however if all IP activity on the server has stopped (and is fixed via "ifconfig XX down; ifconfig XX up") it sounds more like a network device driver issue to me? So, is it just NFS that wedges or all IP activity and does NFS come back to life after the "ifconfig XX up"? rick From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 04:57:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01427106566C for ; Tue, 29 Mar 2011 04:57:43 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id A657E8FC0A for ; Tue, 29 Mar 2011 04:57:42 +0000 (UTC) Received: by qwc9 with SMTP id 9so2735247qwc.13 for ; Mon, 28 Mar 2011 21:57:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=D1Wq/3NdOQ+p5iL6FbfyFyXl+YKgV5u/8fFs8Wxh9is=; b=ngwCpY9A6BH6on9IYhjhIQNjriydiUjaLkxfpOFMBL+gQj3qBeh+iwNTY6gn6odTiR IStaHLFcoaXaNs65U4YLIMnFUzpIaL6OVTnfD+mZTuiVOyDW4iL+EK/jE5SVSmlfvWjo bJpwnDJButmMBbFDGjvcr1Z8Y3fpcfwYT+OiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OgYjsvXAIVWWyoQUHyspgEdcdoVR3w6pen9QpUsGHORexP0DTm0RuwIwvGN5fBX16P sCmo1nQdlu9+8Wt3woFG4dnmdkkmo1caftx6lRUZDIMJQH68zEKq3SSKULzx8akYTN2m 25ayhY/b/ULB0+j/fHvB+aliiueZ4QvI0BIwA= MIME-Version: 1.0 Received: by 10.229.214.204 with SMTP id hb12mr3888373qcb.261.1301374660818; Mon, 28 Mar 2011 21:57:40 -0700 (PDT) Received: by 10.229.91.144 with HTTP; Mon, 28 Mar 2011 21:57:40 -0700 (PDT) In-Reply-To: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> References: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> Date: Tue, 29 Mar 2011 06:57:40 +0200 Message-ID: From: Claus Guttesen To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 04:57:43 -0000 >> I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 >> servers using nfs, but when there is alot of i/o the server becomes >> unresponsive, easily triggered by installing ie. ms-sql. The server >> itself is up but is not reachable from the network. When I take the >> nic down and up again connection to the network is reestablished >> (ip-wise). >> > So, is it just NFS that wedges or all IP activity and does NFS come > back to life after the "ifconfig XX up"? All ip-activitiy, dns, ssh etc. on the interface (ip-address) that is mounted. So whenever I test I log in to the server using the other ip-address and whenever it stops responding to ping or my screen session stops I reload the interfaces and the traffic resumes. -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare twitter.com/kometen From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 05:32:27 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8E6106564A for ; Tue, 29 Mar 2011 05:32:27 +0000 (UTC) (envelope-from jhsu802701@jasonhsu.com) Received: from meso.stormserver1.net (meso.stormserver1.net [72.52.153.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0B0AA8FC16 for ; Tue, 29 Mar 2011 05:32:26 +0000 (UTC) Received: from mn-74-5-64-245.dhcp.embarqhsd.net ([74.5.64.245]:49846 helo=localhost) by meso.stormserver1.net with smtp (Exim 4.69) (envelope-from ) id 1Q4RXv-00039W-Ad for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 00:32:51 -0500 Date: Tue, 29 Mar 2011 01:32:23 -0400 From: Jason Hsu To: freebsd-stable@freebsd.org Message-Id: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.18.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - meso.stormserver1.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jasonhsu.com X-Source: X-Source-Args: X-Source-Dir: Subject: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 05:32:27 -0000 I've been trying to switch from Linux to BSD for my everyday computing (email, word processing, spreadsheets, etc.), but I couldn't get things to work properly. I've been so spoiled by the quickness and user-friendliness of antiX/Swift Linux and Puppy Linux for so long. I have a backlog of stuff to do, so I'm sticking to Linux for now as my main OS. However, I might try BSD in VirtualBox and on my laptop. Are there any good tutorials for using BSD on the desktop? I'm having much more difficulty finding good information on BSD than was the case for Linux. In retrospect, this shouldn't be a surprise given that Linux is relatively mainstream while BSD is very obscure. Some questions: 1. Is it possible to install KDE, GNOME, or other DE from the FreeBSD CD in a reasonable amount of time? KDE and GNOME are huge programs, and having to download them would take too long. 2. What's lighter than PCBSD and GhostBSD? I tried the live DVDs on my laptop (1.4 GHz processor, 1.25 GB of RAM) and found both BSD distros to be very sluggish. Ubuntu and Mint were faster and fit on a CD, and these two distros have been criticized as bloatware. Also, the keyboard didn't work in GhostBSD. 3. How do I triple-boot Puppy Linux, antiX/Swift Linux, and DragonflyBSD? I already use a Puppy Linux/Swift Linux dual boot. For the life of me, I couldn't figure out what to put in the menu.lst file to allow DragonflyBSD to boot. (By contrast, antiX Linux and Swift Linux automatically add the appropriate entries in menu.lst.) 4. What are the Linux Mint and Puppy Linux of the BSD universe? I consider these two distros to set the standard in the Linux universe, because they're so user-friendly. These are the distros I've set out to compete against in developing Swift Linux. -- Jason Hsu From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 06:19:31 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E752106564A for ; Tue, 29 Mar 2011 06:19:31 +0000 (UTC) (envelope-from egrosbein@rdtc.ru) Received: from eg.sd.rdtc.ru (eg.sd.rdtc.ru [62.231.161.221]) by mx1.freebsd.org (Postfix) with ESMTP id 3BCB38FC16 for ; Tue, 29 Mar 2011 06:19:28 +0000 (UTC) Received: from eg.sd.rdtc.ru (localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.14.4/8.14.4) with ESMTP id p2T5xeKF087271; Tue, 29 Mar 2011 12:59:40 +0700 (NOVST) (envelope-from egrosbein@rdtc.ru) Message-ID: <4D917547.7050908@rdtc.ru> Date: Tue, 29 Mar 2011 12:59:35 +0700 From: Eugene Grosbein User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.9.2.13) Gecko/20110112 Thunderbird/3.1.7 MIME-Version: 1.0 To: Clayton Milos References: In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, pjd@freebsd.org Subject: Re: GELI speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 06:19:31 -0000 On 29.03.2011 00:57, Clayton Milos wrote: > Hi Pawel > > I'm running GELI encryption on a hardware RAID5 (8x1TB), formatted to 6.3T > usable space using i386 FreeBSD 7.3-PRERELEASE. Write speeds to the drive > are just over 40MB/s which is not too bad but I would like to improve it as > the drive gets 270MB/s without encryption. > > I've run the following tests: > dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096 > 4294967296 bytes transferred in 99.763266 secs (43051591 bytes/sec) > and then > dd if=/dev/zero of=test.file bs=1m count=1024 > 1073741824 bytes transferred in 26.118988 secs (41109626 bytes/sec) > > There is not much speed lost due to the filesystem throughput or the RAID > card. You can also try increase reading performance by using geom_cache with sufficiently large cache. It won't impact on linear reads but for general operations like directory lookups, many short reads etc. it can decrease number of decrypt requests. Eugene Grosbein From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 06:26:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 3A399106566C for ; Tue, 29 Mar 2011 06:26:15 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 877731647C0; Tue, 29 Mar 2011 06:26:05 +0000 (UTC) Message-ID: <4D917B7B.1020106@FreeBSD.org> Date: Mon, 28 Mar 2011 23:26:03 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Thunderbird/3.1.9 MIME-Version: 1.0 To: Jason Hsu References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 06:26:15 -0000 On 03/28/2011 22:32, Jason Hsu wrote: > I've been trying to switch from Linux to BSD for my everyday computing (email, word processing, spreadsheets, etc.), but I couldn't get things to work properly. I've been so spoiled by the quickness and user-friendliness of antiX/Swift Linux and Puppy Linux for so long. I have a backlog of stuff to do, so I'm sticking to Linux for now as my main OS. However, I might try BSD in VirtualBox and on my laptop. > > Are there any good tutorials for using BSD on the desktop? Simple answer, if your only goal is to have a Unix-like desktop, you're better off sticking with Linux. FreeBSD is not really focused on desktop use, whereas a lot of the Linux distributions are, and if you're happy with the ones you are using there is no good reason to switch. If you want to use FreeBSD as a desktop because you have a desire to learn FreeBSD, your best bet is visit the home page at http://www.FreeBSD.org/, look under Documentation, and start reading the Handbook. hope this helps, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 06:27:02 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98DE31065674 for ; Tue, 29 Mar 2011 06:27:02 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 29DDC8FC26 for ; Tue, 29 Mar 2011 06:27:01 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta07.emeryville.ca.mail.comcast.net with comcast id QuR81g0061eYJf8A7uT1SK; Tue, 29 Mar 2011 06:27:01 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta19.emeryville.ca.mail.comcast.net with comcast id QuT01g0081t3BNj01uT0yB; Tue, 29 Mar 2011 06:27:01 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 4EBBC9B422; Mon, 28 Mar 2011 23:27:00 -0700 (PDT) Date: Mon, 28 Mar 2011 23:27:00 -0700 From: Jeremy Chadwick To: Jason Hsu Message-ID: <20110329062700.GA63420@icarus.home.lan> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 06:27:02 -0000 On Tue, Mar 29, 2011 at 01:32:23AM -0400, Jason Hsu wrote: > I've been trying to switch from Linux to BSD for my everyday computing > (email, word processing, spreadsheets, etc.), but I couldn't get > things to work properly. I've been so spoiled by the quickness and > user-friendliness of antiX/Swift Linux and Puppy Linux for so long. I > have a backlog of stuff to do, so I'm sticking to Linux for now as my > main OS. However, I might try BSD in VirtualBox and on my laptop. > > Are there any good tutorials for using BSD on the desktop? I'm having > much more difficulty finding good information on BSD than was the case > for Linux. In retrospect, this shouldn't be a surprise given that > Linux is relatively mainstream while BSD is very obscure. If desktop BSD is more your style, you might want to look into using PC-BSD, which is based on FreeBSD. You did mention it in the portion of your text that I removed though. But I have no experience with it (I mainly use FreeBSD for servers). To answer your Subject question directly: I can't speak for others, but the way I did it was by giving up Linux entirely and forcing myself to use FreeBSD. Gaining familiarity took years upon years. In no way shape or form do I think I'm a "FreeBSD master" -- there is a lot of change going on, and a lot of pieces to the OS that I do not understand. That is just the nature of the beast, and applies to all OSes -- even Windows. I'm just now learning PowerShell at my workplace; my brain feels like it's full. Maybe a sympathy (empathy?) story will relieve some of your stress and keep your spirits up. I started with Linux 0.99pl45, installed on my 486 via floppies. I helped test CSLIP code since Oregon State at the time was putting some new Annex dial-in boxes into place that offered CSLIP vs. SLIP. The concept of Slackware existed but was basically just "a thing to get Linux on your machine"; there weren't other choices (to my knowledge). The last Linux version I used heavily was the 1.3.x series, and did experiment with the 2.0.x series as well. There were 4 reasons I gave up on Linux (for our servers): 1) I was sick and tired of having to apply patches on top of patches. To fix a serious bug or add a needed feature in the kernel, you'd have to dig through mailing lists, find a patch -- usually 30-40KBytes in size -- and apply it. Then if you needed something else, you'd have to do the same thing -- and the patches usually were from different people and (key point) did not apply cleanly with one another. In the late 1.3.x days I was literally applying 8 or 9 patches (anyone remember the "ac" patchset from Alan Cox? Still a sore spot for me), and having to re-work them by hand almost every time. Amusingly, parts of FreeBSD are becoming like this, but the source code is still managed centrally and you get everything you need from csup/src-all for a working system. 2) Package management didn't exist. There was this "thing" ( ;-) ) that eventually got created called RPM, but it didn't jibe with what Slackware did, so you ended up with a mix-match system: some programs built from source, others from RPMs. I preferred to build everything from source, dropped it all into /usr/src, made my own scripts to run configure/make/etc. with the right arguments, and so on. I did all the dependency management myself by hand. The experience I gained from this still applies even today. 3) Our systems were rooted on two separate occasions. On both occasions the attackers gained access through combinations of badly-written daemons and kernel exploits (and in the case of the latter, often ones which hadn't been announced on lists; there was no official "security mailing list" back then -- remember, no distros). FreeBSD was known for being more secure (not flawless, just better in this regard) at the time. There's also something that doesn't get discussed often enough: Linux is incredibly popular and as such is a huge focus for l33t h4x0r k1dz. The BSDs are not so much a focus, which is a big plus. Example: recently one of our users had his website compromised through a PHP bug, and the attacker attempted to install a rootkit for Linux. Naturally it broke (it even had "FreeBSD support" in it, but obviously the kids didn't test it ever, which further supports my point). I had the users' website down for about 24 hours while I did a security analysis, found the hole, restored his account from a 16-hour-old backup, and immediately had him upgrade the software so he wouldn't be compromised again. 4) The state of the firewall stack in Linux was -- and still is -- a complete disgrace. This actually *is* a slam against Linux. :-) ipfwadm, then ipchains, then iptables. FreeBSD ipfw was a godsend compared to those, and today, pf(4) blows everything out of the water. One of my home routers is Linux-based and every time I have to bust out "iptables -L" I want to throw up. I "understand" it, I just think it's a horrible way to represent and control a firewalling layer. My personal opinion is that you're being impatient -- though your concerns and questions being justified/legitimate, please don't get me wrong or take that as an insult. I've only seen you on the list recently asking some good questions, but you may be feeling what I did when I switched from Linux to FreeBSD -- very overwhelmed. Everything was so different, lots of useful or convenient things didn't seem to exist (and still don't), and finding the BSD version of a Linux "thing" was a scary ordeal. Anyway... I tend to recommend to people that they use whatever OS they prefer, whatever works best for them, whatever meets their familiarity levels. If that's Linux, awesome. If NetBSD, awesome. If Windows XP, awesome. If OS X, awesome. With virtualisation out there -- things like VMware Workstation, Xen, etc. you can experiment with a new OS without leaving your current one. Maybe that would be a better choice for you right now? -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 06:55:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B9091065680 for ; Tue, 29 Mar 2011 06:55:07 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9F70C8FC0A for ; Tue, 29 Mar 2011 06:55:06 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4SpV-0003TD-I7 for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 08:55:05 +0200 Received: from 93-139-99-61.adsl.net.t-com.hr ([93.139.99.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 08:55:05 +0200 Received: from gour by 93-139-99-61.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Mar 2011 08:55:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Gour Date: Tue, 29 Mar 2011 08:19:23 +0200 Lines: 104 Message-ID: <20110329081923.7ab516f0@atmarama.net> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/wlUftp_z0xDkjsafyEyzY/j"; protocol="application/pgp-signature" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 93-139-99-61.adsl.net.t-com.hr X-Newsreader: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-unknown-linux-gnu) X-Face: 3Cy8q3pLN"sFiKpp%e^3=GTSm2xV5z:O1:| :WC~ei/w@ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 06:55:07 -0000 --Sig_/wlUftp_z0xDkjsafyEyzY/j Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 29 Mar 2011 01:32:23 -0400 Jason Hsu wrote: > I've been trying to switch from Linux to BSD for my everyday > computing (email, word processing, spreadsheets, etc.), but I > couldn't get things to work properly. =20 I'm in the same boat, and will try today again... > Are there any good tutorials for using BSD on the desktop? I'm > having much more difficulty finding good information on BSD than was > the case for Linux. In retrospect, this shouldn't be a surprise > given that Linux is relatively mainstream while BSD is very obscure. I can recommend to take a look at PC-BSD (http://www.pcbsd.org/) and it handbook (http://wiki.pcbsd.org/index.php/PC-BSD_Users_Handbook) which gives lot of information how to install & use it. > 1. Is it possible to install KDE, GNOME, or other DE from the > FreeBSD CD in a reasonable amount of time? KDE and GNOME are huge > programs, and having to download them would take too long.=20 Try latest PC-BSD 9-0 snapshot which offers KDE/GNOME/LXDE/XFCE for install and some other WMs (awesome, etc.) > 2. What's lighter than PCBSD and GhostBSD? I tried the live DVDs > on my laptop (1.4 GHz processor, 1.25 GB of RAM) and found both BSD > distros to be very sluggish. Don't know. I just played with PC-BSD which I'll put on my desktop (5yr old laptop is already running PC-BSD with XFCE). Maybe the problem was KDE if you installed that DE. > 3. How do I triple-boot Puppy Linux, antiX/Swift Linux, and > DragonflyBSD? PC-BSD handbook gives information how to dual-boot with GRUB. I personally did not try since I want to migrate from Linux and won't keep GRUB. > 4. What are the Linux Mint and Puppy Linux of the BSD universe? I > consider these two distros to set the standard in the Linux > universe, because they're so user-friendly. These are the distros > I've set out to compete against in developing Swift Linux. I never used Linux Mint nor Puppy Linux, but I believe that e.g. PC-BSD wants to be something like Ubuntu Linux in regard to its usability. In the last ~4yrs I use Archlinux for which I several times heard it is "the most BSD-like distro" (Prior to Arch, I spent >5yrs with Gentoo). However, there is one nice feature of PC-BSD coming in 9.0 and may be used in other BSD-es as well. Please, read this paper: http://blog.pcbsd.org/2011/03/formal-paper-on-new-pbi-9-format/ All the best with your switch. ;) Sincerely, Gour =20 --=20 =E2=80=9CIn the material world, conceptions of good and bad are all mental speculations=E2=80=A6=E2=80=9D (Sri Caitanya Mahaprabhu) http://atmarama.net | Hlapicina (Croatia) | GPG: CDBF17CA --Sig_/wlUftp_z0xDkjsafyEyzY/j Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJNkXnrAAoJECrfh83NvxfKAJAP/0w41sGn3+rtbC9bhhGp7weI HbHrEuWJlpxVMLU0Api/INqZ/2uMn1tojX1P2ZSzp2Eqmim1GGvvgCir0ukAhTDM r21H9kBB3Jq93MzmAlaARK4NhXnoMIUiOrPcGrFoXZ3VtvkXypnmc06Gob3aWIzQ 6Km97VANSUpDq1LzKCEPUEOa/cwewNu3Ejx9er+h1m9bYoU/eQUZOcNvl8xnHNAa rTb/GefgIVsfa9MMYh4jYapJDLdwzzJyC8dgqvmD9G7TzTwsroeH+Ks2eexqQwOK WbP3Jf+DtfwDKFY/u8H6wSEbGyXfoU6k/EAPtEjV3MqvpRIxWkRYEssaeH6pWyg6 UvKDt/YwBZuMzdp4A7KdL2aOe7a738oHC13SnOHSeewaaZ84MQpI3/gOq33xDaAN yokiihg4h+KiTkxrPhXW39Ynm5cbZi/Oxe17IAQ9Lg4lbeX/gWPTGYBzj4B/KBPF iOGBqAo0XjqaRt7YpvNUQVJSpACXtfu9KoKrp8GvuVIH/6L0vegCOKlRnXLbWa2f Uj7idPrZ6MNR6eNCqbonv/E83Xr1pUSWCmhn4nw6aIur4YAXhrWeAY5XweUrHoGS QaBXgJN5gUO2yXnnnDyQkMmwst4pLw20Qj4jSdWPIK+8hJ+eRXLkSA6mBg7Oe5lU OQtjWM3MA/b64pOlSVik =iOwi -----END PGP SIGNATURE----- --Sig_/wlUftp_z0xDkjsafyEyzY/j-- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 06:56:38 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 334BB1065673 for ; Tue, 29 Mar 2011 06:56:38 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ01.datapipe-corp.net (exfesmq01.datapipe-corp.net [64.106.130.71]) by mx1.freebsd.org (Postfix) with ESMTP id B2B838FC1B for ; Tue, 29 Mar 2011 06:56:37 +0000 (UTC) Received: from nat.myhome (64.106.131.250) by EXFESMQ01.datapipe-corp.net (64.106.130.71) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 29 Mar 2011 02:46:25 -0400 Date: Tue, 29 Mar 2011 01:46:47 -0500 From: "Paul A. Procacci" To: Jason Hsu Message-ID: <20110329064647.GH51685@nat.myhome> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 06:56:38 -0000 Hello Jason, (Highly Opinionated Piece) > Are there any good tutorials for using BSD on the desktop? I'm having mu= ch more difficulty finding good information on BSD than was the case for Li= nux. In retrospect, this shouldn't be a surprise given that Linux is relat= ively mainst ream while BSD is very obscure. PC-BSD is probably your best bet. (http://www.pcbsd.org/) With that said, I recall some debate a while back, but it's my opinion that= FreeBSD doesn't make the greatest desktop OS. There are many obstacles to= getting things working properly. There are lots of examples to choose fro= m, but I'll start with two in particular that are a necesity for me: skype,= wine (amd64) Naturally, it's been several months since I've tried and the above might ha= ve changed, but certianly it is a headache. The problem is really the soft= ware vendors whom target Linux (alsa crap for example). That doesn't mean = you can't ru n FreeBSD as a desktop (or any variant thereof), I've done it for many many= years, but at this time I stick to windows as I'm a heavy gamer. In regards to being obscure, it's my belief that FreeBSD as a desktop is li= mping by, but when you get right down to it, it makes for a wonderful serve= r, probably the best there is. > > Some questions: > 1. Is it possible to install KDE, GNOME, or other DE from the FreeBSD CD= in a reasonable amount of time? KDE and GNOME are huge programs, and havi= ng to download them would take too long. You can either a) install it from cd like you mentioned or b) install it us= ing the pkg_add command: pkg_add -r kdebase4 The same goes for gnome. pkg_add -r gnome2 (I think) > 2. What's lighter than PCBSD and GhostBSD? I tried the live DVDs on my = laptop (1.4 GHz processor, 1.25 GB of RAM) and found both BSD distros to be= very sluggish. Ubuntu and Mint were faster and fit on a CD, and these two= distros hav e been criticized as bloatware. Also, the keyboard didn't work in GhostBSD= . This is the FreeBSD mailing list. The question regarding GhostBSD is proba= bly better suited for that mailing list. Your claim about Ubuntu and Mint = being faster should be backed up with evidence. Quite the contrary I find = FreeBSD to *feel* faster than any linux distro I've tried. Obviously this = is highly opinionated. > 3. How do I triple-boot Puppy Linux, antiX/Swift Linux, and DragonflyBSD= ? I already use a Puppy Linux/Swift Linux dual boot. For the life of me, = I couldn't figure out what to put in the menu.lst file to allow DragonflyBS= D to boot. (By contrast, antiX Linux and Swift Linux automatically add the appropriate= entries in menu.lst.) Not sure. I don't use grub. Sorry. > 4. What are the Linux Mint and Puppy Linux of the BSD universe? I consi= der these two distros to set the standard in the Linux universe, because th= ey're so user-friendly. These are the distros I've set out to compete agai= nst in devel oping Swift Linux. I don't know what these distros are. Should they be a desktop environment,= I believe PC-BSD is what you should be comparing them to. I don't think P= C-BSD is as polished as any desktop linux distro. ####################################### ####################################### Just to reiterate: Do I love FreeBSD..absolutely, my favorite OS in fact. Does it have proble= ms in the Desktop area of all things...absolutely...but it my perception th= at it's a server OS anyways. If skype, wine and other little tidbits worked properly I'd be using FreeBS= D as a desktop hands down. Linux I keep for *other stuff* that commercial vendors won't budge on, and = that's probably all, otherwise (IMHO) it's garbage. Not sure if any of this helps...I hope it does. > > -- > Jason Hsu > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Paul Procacci Manager, UNIX Support Services Datapipe Managed Global IT Services 1.201.792.4847 (international) 1.888.749.5821 (toll free) This message may contain confidential or privileged information. If you ar= e not the intended recipient, please advise us immediately and delete this = message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm f= or further information on confidentiality and the risks of non-secure elect= ronic communication. If you cannot access these links, please notify us by = reply message and we will send the contents to you. From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 09:33:10 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA2A2106566C for ; Tue, 29 Mar 2011 09:33:10 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5362A8FC12 for ; Tue, 29 Mar 2011 09:33:09 +0000 (UTC) Received: by bwz12 with SMTP id 12so36319bwz.13 for ; Tue, 29 Mar 2011 02:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=Yd9axhrjbV50hLor0ISoEORr0gxUNviIjrrd0L8TboM=; b=fLxp4rPLy3hdvQ863w41Id/4CPb5DRgycNrulQZ6ZLkSdCF8b4sDoEhrC5h3PPSZzG NpGTFDFzQxdLVq/p/wu600CJhJxBn+ICYzkhmEzPdznydy4luZjGS2mZZF13RXgUkesu /Xz8fYwiEUZzSqdl5Xb4hCQCH8A9rtROI1bcE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=T5j7ubT1TNsmErSlMnonmw5kVkrDh+mVeXADD4AAWvha/Z2caEpgO76m6doO5jmbh3 PdiHhbMxpJH/aYgu65nObqTcW9OFw5wG3CpG2xChO6qdHnGBoUfW0FSoUofAAHGi9p9p WAHeCv45yoTGYWprKrdrTJ/oOaJQoK28cE8Zc= Received: by 10.204.26.215 with SMTP id f23mr4774385bkc.140.1301391189166; Tue, 29 Mar 2011 02:33:09 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id 16sm3271007bkm.18.2011.03.29.02.33.07 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 02:33:08 -0700 (PDT) From: Michal Varga To: Jason Hsu In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Tue, 29 Mar 2011 11:33:05 +0200 Message-ID: <1301391185.71226.36.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 09:33:10 -0000 As with other people that replied before - my opinions reflect my opinions that might actually *not* suit your personal needs. But you asked. On Tue, 2011-03-29 at 01:32 -0400, Jason Hsu wrote: > Some questions: > 1. Is it possible to install KDE, GNOME, or other DE from the FreeBSD > CD in a reasonable amount of time? KDE and GNOME are huge programs, > and having to download them would take too long. I feel that this was alwas the case, so yes as far as I know (haven't been installing any stock off-the-disc FreeBSD recently). But I can hardly imagine any FreeBSD "power user" (what a silly term that is anyway) that doesn't want to build his own, *proper* and properli fine-tuned FreeBSD. If prebuilt packages are what you're looking for, you are most probably not looking for FreeBSD, but something like a PC-BSD or a similar toy. FreeBSD is, to help you draw a comparison, very close to the Gentoo of the Linux world. Hope that clears some things up. > 2. What's lighter than PCBSD and GhostBSD? I tried the live DVDs on > my laptop (1.4 GHz processor, 1.25 GB of RAM) and found both BSD > distros to be very sluggish. Ubuntu and Mint were faster and fit on a > CD, and these two distros have been criticized as bloatware. Also, > the keyboard didn't work in GhostBSD. Deploy your own fine tuned FreeBSD (not that there is any other way to properly use FreeBSD in a single/home configuration anyway). After that, build and install the ports you need, properly configure them (both compile-time and run-time). There is nothing more lighter, adn faster, you could ever get from anywhere. Comparison with the monstrous bloatware the kind of Ubuntu and Mint is really silly, probably comparison with ArchLinux cold still hold somehow, but even that's a borderline case. The comparison you're looking for again is "Gentoo". Also somewhat more opinionated piece: Get a real desktop computer. Seriously. You don't want to build your own ports/packages on a 1.4GHz laptop, or at least, not for too long (pun intended). > 3. How do I triple-boot Puppy Linux, antiX/Swift Linux, and > DragonflyBSD? I'm not sure that's the best question for a FreeBSD mailing list, or at least, I'm not able to anwser to that. > 4. What are the Linux Mint and Puppy Linux of the BSD universe? I > consider these two distros to set the standard in the Linux universe, > because they're so user-friendly. These are the distros I've set out > to compete against in developing Swift Linux. > None, there is no Windows Vista equivalent for a FreeBSD world. Again - if that's what you're looking for instead of a hand-built and fine-tuned operating system, you're much better with systems like PC-BSD. FreeBSD won't do you much good and only hinder you in this case. FreeBSD is an amazing desktop OS (which I say as an exclusive FreeBSD desktop user for a decade, so I probably even have a little bit of experience in that field, in contrast with 'some' other specific people that replied to you before me), but only If you're looking to put what FreeBSD offers into good use (that is, for a start - a solid, clean, polished and very modular and maintaineable OS). But the feel I get from your questions is that you're really looking for a magical Windows Vista clone, but with a magical BSD sticker that will magically raise your horse power just by the sheer magical power of its own awesomeness. It really doesn't work that way. I mean, seriously - "Linux Mint"? (Yes, and sadly, I know it well, but I'm somewhat baffled that you might be actually looking for that *again* in a BSD world, like if the Linux version wasn't enough for a lifetime). So honestly, In that case, for the love of god, at least get a proper Mac. Because that's what you're in fact looking for. m. (Disclaimer: I'm in no way trolling and everything I wrote is completely dead serious.) -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 10:13:12 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30F19106566B for ; Tue, 29 Mar 2011 10:13:12 +0000 (UTC) (envelope-from mamalos@eng.auth.gr) Received: from vergina.eng.auth.gr (vergina.eng.auth.gr [155.207.18.1]) by mx1.freebsd.org (Postfix) with ESMTP id 91BB48FC1F for ; Tue, 29 Mar 2011 10:13:11 +0000 (UTC) Received: from mamalacation.ee.auth.gr (mamalacation.ee.auth.gr [155.207.33.29]) by vergina.eng.auth.gr (8.14.3/8.14.3) with ESMTP id p2TAD9GM030222 for ; Tue, 29 Mar 2011 13:13:09 +0300 (EEST) (envelope-from mamalos@eng.auth.gr) Message-ID: <4D91B0B1.6090107@eng.auth.gr> Date: Tue, 29 Mar 2011 13:13:05 +0300 From: George Mamalakis User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110109 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: NFS tuning over ZFS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 10:13:12 -0000 Hi everybody, I want to use a setup of nfsv3,krb5i mountpoints for my users' homefolders. The clients are linux (Ubuntu) and the server is FreeBSD-8-STABLE. The clients use autofs for mounting the users' homefolders. Once a user logs in, their folder is mounted, and the user has access to their homefolder via nfs. When I run ls(1), the system sometimes "stalls" before it responds. At the moment I am in the pilot phase, so there is no load on the server or client to cause this stall, since I am the only user using this setup. The delay in this ls(1) command is present even if I mount the homefolder without the use of kerberos. Hence, I started reading about NFS tuning both for linux and FreeBSD. What I found in a few resources regarding linux, was to enable async mounts on the client if I was willing to take the risk of compromising data integrity. I've tried mounting the share with the async option set, just for the sake of experimentation, but with no luck (mount(8) doesn't show 'async' among the mount options). I didn't look into it more deeply, so I moved on. As far as my next tuning candidate is concerned -the server- the shares are stored on a ufs partition of an esxi FreeBSD-image, for the moment. Once my proof-of-concept period is completed, the setup will be migrated to a real system and the homefolders are meant to be stored on a ZFS zraid partition. The server uses a 6-disk raid on an IBM 8k raid controller with memory and battery backup. I will create a 15GB volume (raid6) for the root filesystem, and will "export" the remaining space of each disk as a separate, equal-size volume. This way, I will be able to create the ZFS raid over these 6 volumes and then I will export the filesystem using NFS. From what I've read so far, both on this list and on http://wiki.freebsd.org/ZFSTuningGuide, it is stated that if ZIL is disabled or put on a SSD separate disk, NFS over ZFS performance is enhanced. On some mails of this list, specifically those with the subject ""zfs, nfs and zil" started by Claus Guttesen, it is mentioned that ZIL 'may' be disabled if the underlying system uses an analogous data integrity mechanism. So, after all this intro, here are my two simple questions: 1) If I enable this mechanism on my controller, will my filesystem be safe in a case of power outage? 2) Is there a good, up-to-date guide for NFS performance for FreeBSD? Thank you all for your time in advance, mamalos -- George Mamalakis IT Officer Electrical and Computer Engineer (Aristotle Un. of Thessaloniki), MSc (Imperial College of London) Department of Electrical and Computer Engineering Faculty of Engineering Aristotle University of Thessaloniki phone number : +30 (2310) 994379 From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 11:03:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF34C106566C for ; Tue, 29 Mar 2011 11:03:20 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7036B8FC0C for ; Tue, 29 Mar 2011 11:03:20 +0000 (UTC) Received: by qyk27 with SMTP id 27so27529qyk.13 for ; Tue, 29 Mar 2011 04:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=aeT/OVPhznubhRk2D5/P4ih3XgcLqGKPH+wSCMPAlaw=; b=vUkB/cBPyRsgsRgZ3yKbYtGvlXqjJduxXec2C64yMcXjFSKpkqz9DAgvYUAjJGxb5c HsVKl2BFDRw8hS41gPzUIZJuOcDzITWlZIBvrI97ylgpCuuUJT859I6mER3Me8EfX2OA XjBAuCiKxRnlGhfJWWJ96lCABpnkV1EpT5vDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Nn4+cCw3aRkSD2aqutbH7xrU38/s8rIaQPiyCD2C9Fm7sGoxCQGDE6PE8oCEayvnyN RyF5G3HZ4mLLvplWJmiEEU7jvnPBmMy56MhU3NgqKy55Xu6BrABJvdm0ajxfE09aQl7p Kb1uNpPMJUhHpz+dXfE8uFEOAQmzi+B28VYLI= MIME-Version: 1.0 Received: by 10.224.173.141 with SMTP id p13mr4490006qaz.67.1301396599607; Tue, 29 Mar 2011 04:03:19 -0700 (PDT) Received: by 10.224.67.21 with HTTP; Tue, 29 Mar 2011 04:03:19 -0700 (PDT) In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> Date: Tue, 29 Mar 2011 07:03:19 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Jason Hsu Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 11:03:20 -0000 On Tue, Mar 29, 2011 at 1:32 AM, Jason Hsu wrote: > I've been trying to switch from Linux to BSD for my everyday computing > (email, word processing, spreadsheets, etc.), but I couldn't get things to > work properly. I've been so spoiled by the quickness and user-friendliness > of antiX/Swift Linux and Puppy Linux for so long. I have a backlog of stuff > to do, so I'm sticking to Linux for now as my main OS. However, I might try > BSD in VirtualBox and on my laptop. > > Are there any good tutorials for using BSD on the desktop? I'm having much > more difficulty finding good information on BSD than was the case for Linux. > In retrospect, this shouldn't be a surprise given that Linux is relatively > mainstream while BSD is very obscure. > > Some questions: > > 1. Is it possible to install KDE, GNOME, or other DE from the FreeBSD CD > in a reasonable amount of time? KDE and GNOME are huge programs, and having > to download them would take too long. > > 2. What's lighter than PCBSD and GhostBSD? I tried the live DVDs on my > laptop (1.4 GHz processor, 1.25 GB of RAM) and found both BSD distros to be > very sluggish. Ubuntu and Mint were faster and fit on a CD, and these two > distros have been criticized as bloatware. Also, the keyboard didn't work > in GhostBSD. > > 3. How do I triple-boot Puppy Linux, antiX/Swift Linux, and DragonflyBSD? > I already use a Puppy Linux/Swift Linux dual boot. For the life of me, I > couldn't figure out what to put in the menu.lst file to allow DragonflyBSD > to boot. (By contrast, antiX Linux and Swift Linux automatically add the > appropriate entries in menu.lst.) > > 4. What are the Linux Mint and Puppy Linux of the BSD universe? I > consider these two distros to set the standard in the Linux universe, > because they're so user-friendly. These are the distros I've set out to > compete against in developing Swift Linux. > > -- > Jason Hsu > 1. Within FreeBSD RELEASE 8.2 DVD , there are GNOME , and KDE . Therefore , it is not necessary to download them . During install , both of them may be installed . After installation , it is possible to select either GNOME or KDE by specifying them in rc.conf , or .xinitrc files . All of these steps are explained very well in the Handbook . There is NO need to compile FreeBSD for installation , but if it is necessary to customize some of its features , it can be compiled by using information given in the Handbook . 2. I am experiencing very slow behavior in amd 64 Release 8.2 ( I could NOT be able to understand the reason , FreeBSD base is very fast but problem is GNOME and KDE ) , but i386 Release 8.2 is sufficiently fast . I am using Intel DG965WH main board which may be the cause of slowness , but I do not know , because I do not have any other main board to check apart from the fact that other distributions ( other than than BSD based ) on the same main board are not exhibiting such a slow behavior . I think , this is a temporary problem and in the new stable releases , this problem will not be present . 3. Personally I never use any hard disk for multiple operating systems . 4. PC-BSD is very user-friendly with respect to installation and usage . Most parameters are set in the distribution . It comes with GNOME , KDE ( default ) , XFCE . Any one of them selectable in any time during boot . PC-BSD is completely based on FreeBSD with added ready made GNOME , KDE , XFCE and others as pre-installed . It is possible to install FreeBSD ( ignoring PC-BSD added features ) during installation of PC-BSD as an alternative . FreeBSD is not worse than PC-BSD but it requires very well knowledge of the Handbook , because all of the settings should be specified by the user in configuration files . FreeBSD is a well-designed and important operating system and it is a complex software to perform significant processing in servers . Single user desktop side is a little weak with respect to parameter settings . Instead of being permissively set defaults , they are set restrictively . This feature is causing very big difficulty for the beginners and preventing wide adoption ( with respect to my opinion ) . For example , my need is to use USB stick and DVD/CD auto-mount frequently . I have set all of the parameters with respect to the information given in the Handbook . Even I studied PC-BSD to complete possible missing parts . As a root , auto mount is possible in GNOME or KDE as when they are inserted , it is possible to see their contents by the file manages ( Nautilus or Dolphin ) . When I login as a user , a very ridiculous feature called PolicyKit , is saying that mount is NOT permitted although all of the parameters are set by the root permitting user mounts of these media . Why ? I do not know . In PC-BSD , this is possible . This shows that , I am missing some settings , but I could not be able to find which ones . This very small difficulty is preventing my daily use of FreeBSD and it is diverting me to Linux x86_64 . ( GNOME and KDE in PC-BSD Release 8.2 are very slow in amd64 , means they are unusable ) . My suggestion is to use another computer for installing and working on FreeBSD , PC-BSD to properly learn their structure instead of trying to install them in existing hard disk with actually used for other operating systems . If your laptop/computer allows USB boots , it is also possible to use external hard disks for installations and using them . Even they can be installed on USB sticks having sufficient capacity . I prefer external hard disks because their prices are not very higher than USB sticks ( for example , 32 GB USB sticks ranges from $ 55 to $ 110 , whereas external 500 GB HDD prices ranges from $ 68 to $ 100 given in an internet site of a computer shop with the advantage that HDD is much and much faster than USB sticks . ) If your need is daily use of FreeBSD or PC-BSD , PC-BSD is easier to use . Its additional package system is PBI but it is possible to install any port or package from FreeBSD by using pkg_add , pkg_delete , pkg_info , etc. , in an ( administrative terminal window selected from menus ) . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 11:22:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8A08106566B for ; Tue, 29 Mar 2011 11:22:50 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2935F8FC12 for ; Tue, 29 Mar 2011 11:22:49 +0000 (UTC) Received: by eyg7 with SMTP id 7so16488eyg.13 for ; Tue, 29 Mar 2011 04:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=BqPzNLxrKwA46fRHx3rm/yMiHhYZU8Rl58CBfC1uwo4=; b=M39d4Vrz2WVtGa6YBhzvpIKqFYz0MBURraHWVCHsMSPECxw2z2KpK8lZnyU5HHwUVW SrXBjx9psulehuqfQp8YFRG3E1W9M59ORCjKE29onbVr2Pg9hmgNX3ld+lMMIEGQ3rgv b3HbaGZamjdVvUImxL6PB2bICtgu6lFeVZze8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ON6ZmMF2nGpu22EuDAVW/lTBL4fgw4xrgoFXa6Uc8StA7fF0pYPDnkekuYklueoidF RZ5qrb0gA8OggmPW+Aq8hX4fn4gPVWTGiuH7Cqn+A5z7m0xt9n+y335eIqx79/oPS8Zi Ps5R004hHOBOaeOo5yHRqlD+tTeW8xM5OJOOs= MIME-Version: 1.0 Received: by 10.213.21.194 with SMTP id k2mr2458423ebb.18.1301396364533; Tue, 29 Mar 2011 03:59:24 -0700 (PDT) Received: by 10.213.29.83 with HTTP; Tue, 29 Mar 2011 03:59:24 -0700 (PDT) In-Reply-To: <1301391185.71226.36.camel@xenon> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> Date: Tue, 29 Mar 2011 12:59:24 +0200 Message-ID: From: Christian Walther To: Michal Varga Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 11:22:50 -0000 Hi, On 29 March 2011 11:33, Michal Varga wrote: > As with other people that replied before - my opinions reflect my > opinions that might actually *not* suit your personal needs. But you > asked. > > On Tue, 2011-03-29 at 01:32 -0400, Jason Hsu wrote: >> Some questions: >> 1. =A0Is it possible to install KDE, GNOME, or other DE from the FreeBSD >> CD in a reasonable amount of time? =A0KDE and GNOME are huge programs, >> and having to download them would take too long. > > I feel that this was alwas the case, so yes as far as I know (haven't > been installing any stock off-the-disc FreeBSD recently). But I can > hardly imagine any FreeBSD "power user" (what a silly term that is > anyway) that doesn't want to build his own, *proper* and properli > fine-tuned FreeBSD. If prebuilt packages are what you're looking for, > you are most probably not looking for FreeBSD, but something like a > PC-BSD or a similar toy. What's the benefit of building everything from source? Yes, you can configure some of the ports, but in these days you'll end up with stuff you don't want to have anyway. I'm a zsh user and have hardly any need for bash, except that there are ports that have it as run and/or build dependency. And I reckon it's rather difficult to setup a system without having python and ruby installed. Compiling from source can be done on fast, modern systems, e.g. amd64. My primary "workstation" is a rusty Thinkpad T30. Building all ports from scratch takes two days, and we're not talking about any IDE. Additionally, using compiler optimization doesn't seem to be that recommended anymore, since it can break code, thus leading to nasty results. Which is why several developers state in their trouble shooting guide to rebuild their application with default settings before opening a bug report. This further decreases the benefit of compiling everything from scratch. FreeBSDs resource utilization is rather low, which makes it a perfect OS for smaller or older systems (NetBSD is best here, I guess). And you probably don't want to build ports on such a system. Which is why I am really thankful that there are pre built packages available, and that people are keeping it up to date. Besides: I think it's one of FreeBSDs strength that you can decide not only on how to use it, but on how to install it. You have the choice to install FreeBSD and compile from ports, install FreeBSD and use packages, or use PC-BSD with a juicy graphical installer. It opens our beloved OS to a wider audience and makes it more suitable for different tasks. >> 2. =A0What's lighter than PCBSD and GhostBSD? =A0I tried the live DVDs o= n >> my laptop (1.4 GHz processor, 1.25 GB of RAM) and found both BSD >> distros to be very sluggish. =A0Ubuntu and Mint were faster and fit on a >> CD, and these two distros have been criticized as bloatware. =A0Also, >> the keyboard didn't work in GhostBSD. > > Deploy your own fine tuned FreeBSD (not that there is any other way to > properly use FreeBSD in a single/home configuration anyway). After that, > build and install the ports you need, properly configure them (both > compile-time and run-time). There is nothing more lighter, adn faster, > you could ever get from anywhere. This is true, but can be done with packages as well. > Comparison with the monstrous bloatware the kind of Ubuntu and Mint is > really silly, probably comparison with ArchLinux cold still hold > somehow, but even that's a borderline case. The comparison you're > looking for again is "Gentoo". > > Also somewhat more opinionated piece: Get a real desktop computer. > Seriously. You don't want to build your own ports/packages on a 1.4GHz > laptop, or at least, not for too long (pun intended). And again: Packages. It depends on the OP what he considers being the best for his purposes. I agree with you on a streamlined FreeBSD install w/o any unnecessary packages being added. Which means I would rather use Xfce instead of KDE or Gnome. Maybe even a nice window manager. [...] > FreeBSD is an amazing desktop OS (which I say as an exclusive FreeBSD > desktop user for a decade, so I probably even have a little bit of > experience in that field, in contrast with 'some' other specific people > that replied to you before me), but only If you're looking to put what > FreeBSD offers into good use (that is, for a start - a solid, clean, > polished and very modular and maintaineable OS). This is a two sided sword.. Yes, FreeBSD can be an amazing desktop OS - it provides rock stable base system - changes are done with continuity in mind - it contains a good choice of WiFi driver - it supports suspend, hibernate and power management - nearly every interesting piece of OSS is available for it On the downside there seem to be some work needing to be done IRT kernel based 3D acceleration. I don't know the current status, but the last I heard was that NVidias drivers can't be ported to FreeBSD because the kernel lacks some functionality required (something related to addressing the graphics board directly from software, AFAIK). So if you want the latest features and eye candy (say, KDE4s Plasma) and make heavy use of xcompmgr, there might be better choices. The problem here is that "desktop OS" is not a well defined term. My configuration consists of FreeBSD + Xorg + StumpWM (Lisp based tiling WM) , the apps I am using are Firefox (or uzbl), Gimp, Xsane and lots of urxvts with vim, mocp, mutt. > But the feel I get from your questions is that you're really looking for > a magical Windows Vista clone, but with a magical BSD sticker that will > magically raise your horse power just by the sheer magical power of its > own awesomeness. It really doesn't work that way. Hm, not sure. Most people get to know either Linux or Windows first, so they assume that an OS w/o graphical installer has to be prehistoric stuff. That it can be differently -- and that this mustn't be a big thing is step two and three. ;) Regards Christian From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 07:52:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 729631065673 for ; Tue, 29 Mar 2011 07:52:15 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id C71B58FC1A for ; Tue, 29 Mar 2011 07:52:14 +0000 (UTC) Received: (qmail 67951 invoked by uid 89); 29 Mar 2011 07:52:12 -0000 Received: from unknown (HELO claydesktop) (clay@milos.co.za@192.168.200.6) by lisa.milos.co.za with ESMTPA; 29 Mar 2011 07:52:12 -0000 Message-ID: <7891ACBE8A1D4A71BEFEAA7D98A7591B@claydesktop> From: "Clayton Milos" To: "Eugene Grosbein" References: <4D917547.7050908@rdtc.ru> Date: Tue, 29 Mar 2011 08:53:07 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Mailman-Approved-At: Tue, 29 Mar 2011 11:27:12 +0000 Cc: freebsd-stable@freebsd.org, pjd@freebsd.org Subject: Re: GELI speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 07:52:15 -0000 > On 29.03.2011 00:57, Clayton Milos wrote: >> Hi Pawel >> >> I'm running GELI encryption on a hardware RAID5 (8x1TB), formatted to >> 6.3T >> usable space using i386 FreeBSD 7.3-PRERELEASE. Write speeds to the drive >> are just over 40MB/s which is not too bad but I would like to improve it >> as >> the drive gets 270MB/s without encryption. >> >> I've run the following tests: >> dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096 >> 4294967296 bytes transferred in 99.763266 secs (43051591 bytes/sec) >> and then >> dd if=/dev/zero of=test.file bs=1m count=1024 >> 1073741824 bytes transferred in 26.118988 secs (41109626 bytes/sec) >> >> There is not much speed lost due to the filesystem throughput or the RAID >> card. > > You can also try increase reading performance by using geom_cache > with sufficiently large cache. It won't impact on linear reads > but for general operations like directory lookups, many short reads etc. > it can decrease number of decrypt requests. > > Eugene Grosbein > Thanks Eugene. unfortunately I have some large directories with ~2000 files in them so if that slowed down it would be painful. Clay From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 11:34:11 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1069A106564A for ; Tue, 29 Mar 2011 11:34:11 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [IPv6:2a01:4f8:130:6021::50]) by mx1.freebsd.org (Postfix) with ESMTP id 73BFF8FC19 for ; Tue, 29 Mar 2011 11:34:10 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id A1CAA2BF98 for ; Tue, 29 Mar 2011 13:20:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NfxvkNh-Iv-Q for ; Tue, 29 Mar 2011 13:20:45 +0200 (CEST) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id 7AB362BF46 for ; Tue, 29 Mar 2011 13:20:45 +0200 (CEST) From: Denny Schierz To: stable@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ykXySr4PpJErAbcEIeif" Date: Tue, 29 Mar 2011 13:17:01 +0200 Message-ID: <1301397421.11113.250.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Cc: Subject: way for failover zpool (no HAST needed) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 11:34:11 -0000 --=-ykXySr4PpJErAbcEIeif Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi, my two nodes are running fine with 8.2-stable and the LSI 9200-8e and now, I want to build a failover for the Zpool (and later ISCSI target) Both nodes are connected to the same disks (jbod) and now I need a way, to get the zpool(s) running on the node with the CARP public IP. I found something about carp, hooks, devd etc. pp. My first thought was: carp -> hook -> zpool import -> devd -> ISCSI target up Problem HostA: no network: carp -> hook -> zpool export -> devd -> ISCSI target down -> OK Back to master shouldn't be a problem, I think ... Problem HostA: power off: carp -> hook -> zpool import -> devd -> ISCSI target up -> OK But a bad problem could be: Problem HostA: SAS Cntrl/cabel problem: carp is up and running ..., no reason to failover to slave ... -> bad So, I mean, I have to use devd who takes notes, that the /dev/da* disks are gone or inaccessible and inform carp or shutdown the network interface to force carp switching over to slave. So any hints are welcome :-) If it works, I will write a howto for that one :-) cu denny --=-ykXySr4PpJErAbcEIeif Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2Rv6kACgkQKlzhkqt9P+COVQCgn7UoiN3CJ1Ig34nEdCdkN5pE wVYAnjdCGDMw2EdKX02n00xB75Vtpkoo =LCGb -----END PGP SIGNATURE----- --=-ykXySr4PpJErAbcEIeif-- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 11:36:08 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 584E11065673 for ; Tue, 29 Mar 2011 11:36:08 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 3D8688FC16 for ; Tue, 29 Mar 2011 11:36:07 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta14.emeryville.ca.mail.comcast.net with comcast id QzXb1g00216AWCUAEzc7M9; Tue, 29 Mar 2011 11:36:07 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta06.emeryville.ca.mail.comcast.net with comcast id Qzc61g00m1t3BNj8Szc7AL; Tue, 29 Mar 2011 11:36:07 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 933609B422; Tue, 29 Mar 2011 04:36:06 -0700 (PDT) Date: Tue, 29 Mar 2011 04:36:06 -0700 From: Jeremy Chadwick To: Christian Walther Message-ID: <20110329113606.GA69065@icarus.home.lan> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 11:36:08 -0000 On Tue, Mar 29, 2011 at 12:59:24PM +0200, Christian Walther wrote: > What's the benefit of building everything from source? Yes, you can > configure some of the ports, but in these days you'll end up with > stuff you don't want to have anyway. I'm a zsh user and have hardly > any need for bash, except that there are ports that have it as run > and/or build dependency. Apologies if I'm missing something here, but: What if you're a zsh user who wants PCRE support, or a statically-linked shell (for cases of emergency)? You get to rebuild from source, as the package only provides what the defaults are (ZFS_PCRE=off). So, the package wouldn't suffice: # cd /usr/ports/shells/zsh # make showconfig ===> The following configuration options are available for zsh-4.3.11: ZSH_GDBM=off (default) "Enable GDBM support (GPL)" ZSH_MEM=on (default) "Enable zsh-mem and zsh-secure-free options" ZSH_MAILDIR=on (default) "Enable support for Maildirs in MAIL(PATH)" ZSH_MULTIBYTE=on (default) "Enable multibyte character support" ZSH_PCRE=off (default) "Enable PCRE support" ZSH_STATIC=off (default) "Build static executable" ===> Use 'make config' to modify these settings > And I reckon it's rather difficult to setup a system without having > python and ruby installed. Up until recent Apache 2.2.x releases, absolutely none of our systems had Python installed (I'm still sore about that and would love to know why it's suddenly needed). And absolutely none of them have Ruby. The setup of these systems is far from difficult, and all systems are built from ports/source too (sans 2 packages, see below). > Besides: I think it's one of FreeBSDs strength that you can decide not > only on how to use it, but on how to install it. You have the choice > to install FreeBSD and compile from ports, install FreeBSD and use > packages, or use PC-BSD with a juicy graphical installer. Agreed. > [talk about bloat, and how it's avoidable with packages] This is not always the case. /etc/make.conf on our systems have lots of WITHOUT_xxx=true entries, solely to diminish the amount of bloat by removing unneeded features from ports/third-party software. Using a package would pull in lots of dependencies -- the worst of which by far is anything that pulls in X-related things -- which I don't want to deal with. The only packages we use are 1) perl and 2) python26, and that's because the defaults there are decent/work great for us. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 12:33:53 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BA93106564A for ; Tue, 29 Mar 2011 12:33:53 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8E1A18FC0A for ; Tue, 29 Mar 2011 12:33:52 +0000 (UTC) Received: by ewy1 with SMTP id 1so37790ewy.13 for ; Tue, 29 Mar 2011 05:33:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iLW6MuLBG6T9JIl3mTQH1cbcvTs7BorD50ONvoNfjwQ=; b=YXSA66vWMod025I7h2xP7TdNHBNSjLbaWGKD8Yr61iSHui72SDl91UTnQpSfj5JMwp zSu4wyxbocfI0FxjI2RUtbDemkPlsTRlamZ3vks0Y0frSX+7Wtj04O1jhFZPVTetsb6e s9tt/DplEqVKxMV3jY4bEuwx67unhu51kCmfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TXZI5UxfvU93TGNbgVjxfq/sfpPPYrmoKdclOQExa+kwad2Ie2O68HWJvxvWnQbtUq bboDSfFRdnVxtOvP0NV8ymlFEuorzr+TgSeu+joM2WKATsu41FbtqgHOdOje1xEL8fOT cMiLn2GXaHE+JDJ3yrX/DPoB/8DvWA/MDs8GM= MIME-Version: 1.0 Received: by 10.213.21.194 with SMTP id k2mr23403ebb.18.1301402031356; Tue, 29 Mar 2011 05:33:51 -0700 (PDT) Received: by 10.213.29.83 with HTTP; Tue, 29 Mar 2011 05:33:51 -0700 (PDT) In-Reply-To: <20110329113606.GA69065@icarus.home.lan> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> <20110329113606.GA69065@icarus.home.lan> Date: Tue, 29 Mar 2011 14:33:51 +0200 Message-ID: From: Christian Walther To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 12:33:53 -0000 Hello Jeremy, On 29 March 2011 13:36, Jeremy Chadwick wrote: > On Tue, Mar 29, 2011 at 12:59:24PM +0200, Christian Walther wrote: [ZSH PCRE Support] Up to now I probably had to need for pcre, since I haven't noticed that it's not part of the package. ;) And in case of an emergency I stick to /sbin/sh. :) But I got your point: It does make sense to install from ports when you want a configuration that's different to the port default. >> And I reckon it's rather difficult to setup a system without having >> python and ruby installed. > > Up until recent Apache 2.2.x releases, absolutely none of our systems > had Python installed (I'm still sore about that and would love to know > why it's suddenly needed). =A0And absolutely none of them have Ruby. =A0T= he > setup of these systems is far from difficult, and all systems are built > from ports/source too (sans 2 packages, see below). Are we talking about desktops or servers? ;) Of course the ports that end up on a system are related to the choices that are being made in the first place. I think that the existence of Ruby on my laptop is due to the fact that I installed portupgrade, which can be easily avoided by using portmaster. On the other hand I'm pretty sure that I have at least one other package installed that relies on Ruby. Maybe those two are bad examples because they are fairly wide spread programming languages anyway, and as a user I want an app to perform specific tasks. IMO Python nearly can't be avoided unless you avoid some widespread applications, such as Gpodder and Gimp. But downloading a pre built package saves me lots of time... :) >> [talk about bloat, and how it's avoidable with packages] > > This is not always the case. =A0/etc/make.conf on our systems have lots o= f > WITHOUT_xxx=3Dtrue entries, solely to diminish the amount of bloat by > removing unneeded features from ports/third-party software. =A0Using a > package would pull in lots of dependencies -- the worst of which by far > is anything that pulls in X-related things -- which I don't want to deal > with. Agreed, especially on servers. For my own, very personal workload it's something different: I need to administer it in my spare time, which happens to be exactly the time I want to use it for other purposes. And compiling a port "in the background" slows down my machine, partly because I'm kind of paranoid and use geli. Dealing with dependencies is an awkward business IMO, especially when it comes to GUI based apps from the Gnome or KDE ecosystems. There are several ports that are listed as Gtk- or Qt-based, instead of Gnome or KDE, but somewhere have a dependency on Gnome or KDE base packages. And eventually you'll end up having at least half of Gnome or KDE on your harddisk anyway. One of my favorite examples is (lib)smbclient: I don't use smb anywhere and I don't want to have it on my system. Disabling it where ever possible doesn't help much, because some ports rely on libsmbclient during runtime. libgnome-vfs is another example and I guess there was a port that requires libgnome-vfs to be compiled with libsmbclient support. Oh yes, and there's dbus. And hal. So in the end I decided that the time required to tweak the port configuration is not worth the effort. Which is not the fault of the ports system. My take is that nowadays the number of dependencies increase. A normal IDE user probably won't notice because he either has the dependencies installed, or just doesn't care. > The only packages we use are 1) perl and 2) python26, and that's because > the defaults there are decent/work great for us. I use ports on my home server, which is a quad core amd64. It's just fun watching a compile, but it only takes minutes to build what I consider my base packages (zsh, vim, screen/tmux). ;) Regards Christian From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 12:53:46 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C2B5106566C for ; Tue, 29 Mar 2011 12:53:46 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id BA6348FC16 for ; Tue, 29 Mar 2011 12:53:45 +0000 (UTC) Received: by bwz12 with SMTP id 12so163857bwz.13 for ; Tue, 29 Mar 2011 05:53:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=nN7gE8zjU/f4O8AHbpek3zXMyUk1W3Y46vtEvAhmi9Q=; b=EwpASHcDwIc0GAQOrp1Y3R8KrUpN1Lu5gd79FSbICGI8Av1bpMwxUa/uCTaVoVuM9f Ep0KWn1PKYBVoFwjoSXa4xyWlzu1YNzVBVNJkiN5WOG3v0c6V8qpmYk3P6Y817BirI3F mAgx1VnhVKPv8YKwgLJ5eqPM/xsUCiZSDw/eM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=K7G5nsi+uCfrATcC15RJe2W/0XmRC79fnb3CIQ8a897hRCo1VfMbKk/s87B4ReOPpX SczYh4iKsC0/e1jJj0z7dCZfrSONz2XrRf4VcS0+ieJZJGFHnF5HyE4vm32L/wTmci3t HnTHZzELgvGLdYAr2XYGNeZeMIrHEb7irmDpg= Received: by 10.204.133.91 with SMTP id e27mr4987264bkt.23.1301403223205; Tue, 29 Mar 2011 05:53:43 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id t1sm3406826bkx.7.2011.03.29.05.53.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 05:53:42 -0700 (PDT) From: Michal Varga To: Christian Walther In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Tue, 29 Mar 2011 14:53:39 +0200 Message-ID: <1301403219.71335.111.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 12:53:46 -0000 Hi, On Tue, 2011-03-29 at 12:59 +0200, Christian Walther wrote: > What's the benefit of building everything from source? Yes, you can > configure some of the ports, but in these days you'll end up with > stuff you don't want to have anyway. I'm a zsh user and have hardly > any need for bash, except that there are ports that have it as run > and/or build dependency. And I reckon it's rather difficult to setup a > system without having python and ruby installed. Well, port options aren't only about removing unneeded stuff, but also the other way around - make that application actually able to perform some task so in the end, you don't need three different ones to successfully finish a single specific process. Take, as one example, the mplayer/mencoder combo (which Thomas Zander [re]started actively maintaining recently, and is doing an awesome job with that). Get mplayer, turn off every possible option you can and all you get is a glorified "hello world" program (well, it might be even able to display that hello world graphically, yay). Now do it the other way, learn what all the respective techs (and so dependencies) mean and do, pull in whatever stuff you need to get your work (or entertainment time or whatever else) done, fine tune your compiler whistles (multimedia processing benefits heavily from extended instruction sets, I obviously don't need to stress that), and poof, you end up with a single most complete multimedia playback AND transcoding package that covers most people's 99% needs [citation needed]. But many people don't get that (sometimes just simply don't know), so they end up with systems polluted with multiple sets of multimedia packages that "sometimes work, sometimes don't". Then a user comes to you complaining how FreeBSD sucks, that this or that video stream doesn't work, DVDs don't work, some things work in Totem, some only work in crappy VLC, "ZOMG I need flashez for my Youtubez!" (yeah, sure you do), some even keep Xine backends for "this or that that only plays with it", some run Windows video encoding software over Wine to get their stuff done (and crashing five times during the process). Now you ask the guy - "But why are you doing that? I'm perfectly sure that for example, mplayer covers everything you just mentioned and I know first hand that these things work there as they should, everybody does it, I do that daily, for years straight without any issues." "No no no they don't, look I tried it, it just said soemthing about not supported or whatever and then crashed after or dunno it simply didn't work, so I used Totem like that's the other media thingie and that didn't work either dunno some graphics driver or what error heh but who cares, brb going to boot up Windows". "Sigh, fine, but then out of curiosity, where did you get that mplayer of yours?" "Like how, where? I only did the 'pkg_add -something mplayer' or whatever like they said on the web, and it sucks and doesn't work, sorry but it's the FreeBSD way, it's simply that FreeBSD is broken, and it sucks, everybody says that, so it must be, like, true. Yeah." "Duh.. Ok. Yeah then." Now you probably see where I'm getting at with all the fine-tuning mumbo and configurations and customizations. Yes, FreeBSD takes time, but it gives you the possibility and opportunity to do it. You don't need to - there are prebuilt generic packages that do generic stuff (somehow), there are systems like PC-BSD that already come "complete" and well - do stuff - somehow, but FreeBSD *lets* you do much more, the moment you realize that you need to. To put it as a hyperbole - if you just want generic stock off-the-shelf crap, yes, FreeBSD has that (too). Some, or *most* of it might even work. Some might be bloated, some might be insufficiently 'stock-configured' so instead of one, you will end up with system stuffed with multiple applications of the same kind, only because "some of them sometimes work with something and some with the rest". But for people that want the control and need the control and need to get under the hood and tune it for the best possible outcome, FreeBSD offers everything all the way down like no other OS does. It's probably not worth the hassle for your regular grandma, but then, that's why there is this other "FreeBSD for dummies", it's called Mac OSX. And it's pretty good. > Compiling from source can be done on fast, modern systems, e.g. amd64. > My primary "workstation" is a rusty Thinkpad T30. Building all ports > from scratch takes two days, and we're not talking about any IDE. You can always build your "tuned" ports infrastructure someplace else and deploy everything on T30 via packages after (see what I did here?). Sure, it's probably not worth it simply for a single personal machine (you can keep running the T over night and let it crunch through your own FreeBSD "universe", you rarely rebuild totally everything from scratch), but try maintaining a larger workplace and the return is instantly huge. That's when you realize what a lumbering 7-legged dinosaur the stock FreeBSD is and why it needs to be cleansed with fire, first, and repeatedly. > Additionally, using compiler optimization doesn't seem to be that > recommended anymore, since it can break code, thus leading to nasty > results. I wouldn't agree there. The basic O2 is perfectly safe for ages now (O3 not so, *but* depends on your time and resources to put into testing and possible troublesolving, and even then you might still turn out to be a winner in most cases in the end). Processor specific optimizations are a must too, otherwise you don't even need the fancy new one with the latest SSSSSE9-THIS-TIME-IN-STEREO, when your plan is to keep using just the raw i386 out of it, that's like buying a latest state-of-the-art sportbike and for the rest of the life keep dragging it tied behind a Pinto. > Which is why several developers state in their trouble > shooting guide to rebuild their application with default settings > before opening a bug report. This further decreases the benefit of > compiling everything from scratch. "State". Several developers are simply lazy and nobody pays them to debug someone elses issues. Keeping it simple and unified saves anyone's time, but mostly theirs. I personally support this approach and everyone sane should. [I snipped a large part because this is getting seriously way too long, but I agree with many of your points there, so now just to one more thing...] > On the downside there seem to be some work needing to be done IRT > kernel based 3D acceleration. I don't know the current status, but the > last I heard was that NVidias drivers can't be ported to FreeBSD > because the kernel lacks some functionality required (something > related to addressing the graphics board directly from software, > AFAIK). Nvidia has 100% support on FreeBSD (not comparable to their Windows/Linux support, but great nevertheless): http://www.nvidia.com/object/freebsd-x86-260.19.44-driver.html http://www.nvidia.com/object/freebsd-x64-260.19.44-driver.html Nvidia's drivers on FreeBSD are pure complete awesome sauce and they would cook you a dinner if you asked them to, and clean up in the morning afterwards. (No, really, I don't work for Nvidia and I'm probably years away from any possibilities for fanboy-ishms, but this is how it really is.. So you are mistaken, Nvidia single handedly saved FreeBSD on desktops many years ago and does it till present times, over and over. No, they're not that much into charity, but some of their corporate customers run FreeBSD, so this is the outcome, and it's pretty good). > So if you want the latest features and eye candy (say, KDE4s Plasma) > and make heavy use of xcompmgr, there might be better choices. Don't believe that (see above). m. -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 13:51:59 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB494106566C for ; Tue, 29 Mar 2011 13:51:59 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 6040D8FC17 for ; Tue, 29 Mar 2011 13:51:59 +0000 (UTC) Received: from outgoing.leidinger.net (p5B15464E.dip.t-dialin.net [91.21.70.78]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 76D20844015; Tue, 29 Mar 2011 15:51:54 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 6870B1885; Tue, 29 Mar 2011 15:51:51 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2TDpoal099704; Tue, 29 Mar 2011 15:51:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 29 Mar 2011 15:51:49 +0200 Message-ID: <20110329155149.167768mu74in1ios@webmail.leidinger.net> Date: Tue, 29 Mar 2011 15:51:49 +0200 From: Alexander Leidinger To: Claus Guttesen References: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 76D20844015.AD759 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0, required 6, autolearn=disabled) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1302011515.39216@u6SjrVckn4iS+5sga4+kWA X-EBL-Spam-Status: No Cc: Rick Macklem , FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 13:51:59 -0000 Quoting Claus Guttesen (from Tue, 29 Mar 2011 06:57:40 +0200): >>> I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 >>> servers using nfs, but when there is alot of i/o the server becomes >>> unresponsive, easily triggered by installing ie. ms-sql. The server >>> itself is up but is not reachable from the network. When I take the >>> nic down and up again connection to the network is reestablished >>> (ip-wise). >>> >> So, is it just NFS that wedges or all IP activity and does NFS come >> back to life after the "ifconfig XX up"? > > All ip-activitiy, dns, ssh etc. on the interface (ip-address) that is > mounted. So whenever I test I log in to the server using the other > ip-address and whenever it stops responding to ping or my screen > session stops I reload the interfaces and the traffic resumes. Are the two NICs the same brand/driver/board? If not, could you try to switch the networks on them and test if the problem persists? It would also be nice if you could tell which driver/chip the NIC with the problem is. Bye, Alexander. -- Q: What do monsters eat? A: Things. Q: What do monsters drink? A: Coke. (Because Things go better with Coke.) http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 13:53:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 410BA106566C for ; Tue, 29 Mar 2011 13:53:24 +0000 (UTC) (envelope-from prvs=062d22129=stephen@missouri.edu) Received: from mxtip01-umsystem-out.um.umsystem.edu (mxtip01-umsystem-out.um.umsystem.edu [209.106.229.49]) by mx1.freebsd.org (Postfix) with ESMTP id 02F4C8FC1A for ; Tue, 29 Mar 2011 13:53:23 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAKLckU3RauUo/2dsb2JhbAClTXe8K4hshWoEhTyLGgY Received: from um-tsmtpout1.um.umsystem.edu ([209.106.229.40]) by mxtip01-mizzou-out.um.umsystem.edu with ESMTP; 29 Mar 2011 08:25:12 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.229.34]) by um-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Mar 2011 08:25:12 -0500 Received: from [192.168.1.69] ([173.202.227.194]) by um-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Mar 2011 08:25:12 -0500 Message-ID: <4D91DDB7.8090400@missouri.edu> Date: Tue, 29 Mar 2011 08:25:11 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101206 SeaMonkey/2.0.11 MIME-Version: 1.0 To: Jason Hsu References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Mar 2011 13:25:12.0227 (UTC) FILETIME=[BB79CF30:01CBEE14] Cc: "freebsd-stable@freebsd.org" Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 13:53:24 -0000 Jason Hsu wrote: > I've been trying to switch from Linux to BSD for my everyday computing (email, word processing, spreadsheets, etc.), but I couldn't get things to work properly. I've been so spoiled by the quickness and user-friendliness of antiX/Swift Linux and Puppy Linux for so long. I have a backlog of stuff to do, so I'm sticking to Linux for now as my main OS. However, I might try BSD in VirtualBox and on my laptop. > I have to say that I am taking a bit of the opposite route. I learned Unix on SunOS, and so when I tried i386 Unix's, FreeBSD wasn't that hard for me. I have slowly learned quite a lot about its inner workings. From a system administrator's perspective, FreeBSD is pure delight. But the desktop experience of Ubuntu is so easy, and it works so much "out of the box" that I am switching to Ubuntu for a lot of my everyday desktop needs. So, for example, getting flash to work properly with firefox on amd64 is too much of a pain under FreeBSD. And my new ASUS laptop has an elan touchpad, which Ubuntu could handle out of the box, but FreeBSD couldn't recognize its special features. One place I do use my computer a lot is with floating point numerically intensive programming. I find that FreeBSD and Unix take turns as to who does this the best. As of today, FreeBSD is definitely winning. So I will always keep both OS's on my computers. Another thing I love about the ports system in FreeBSD is that you can compile the code yourself, switch on or off many of the features of that particular piece of software, but still have it play nice with the FreeBSD packaging system. Maybe there is a similar thing I can do with Ubuntu, but I haven't figured it out yet. And I'm not prepared to go another route like gentoo - what's the point when I already have FreeBSD. From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 14:04:46 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9789D106564A for ; Tue, 29 Mar 2011 14:04:46 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6C0268FC12 for ; Tue, 29 Mar 2011 14:04:46 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 0B77846B2A; Tue, 29 Mar 2011 10:04:46 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9651F8A01B; Tue, 29 Mar 2011 10:04:45 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Tue, 29 Mar 2011 10:04:44 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103291004.45095.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 29 Mar 2011 10:04:45 -0400 (EDT) Cc: Jason Hsu , Christian Walther , Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 14:04:46 -0000 On Tuesday, March 29, 2011 6:59:24 am Christian Walther wrote: > On the downside there seem to be some work needing to be done IRT > kernel based 3D acceleration. I don't know the current status, but the > last I heard was that NVidias drivers can't be ported to FreeBSD > because the kernel lacks some functionality required (something > related to addressing the graphics board directly from software, > AFAIK). Actually, all of the kernel features NVidia needed were added in 7.3 and newer and the nvidia driver works great on both i386 and amd64 now. You can also use nvidia-settings to configure several things like multiple monitors, etc. rather easily. -- John Baldwin From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 16:52:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F087E106566B for ; Tue, 29 Mar 2011 16:52:41 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id A8AA28FC12 for ; Tue, 29 Mar 2011 16:52:41 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LIT006RMW7RTJ70@thalia-smout.broadpark.no> for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 18:52:39 +0200 (CEST) Received: from kg-v2.kg4.no ([84.48.120.215]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LIT008LGW7RY172@terra-smin.broadpark.no> for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 18:52:39 +0200 (CEST) Date: Tue, 29 Mar 2011 18:52:38 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20110329185238.08c7e6e4.torfinn.ingolfsen@broadpark.no> In-reply-to: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 16:52:42 -0000 On Tue, 29 Mar 2011 01:32:23 -0400 Jason Hsu wrote: > I've been trying to switch from Linux to BSD for my everyday computing (email, word processing, spreadsheets, etc.), but I couldn't get things to work properly. > I've been so spoiled by the quickness and user-friendliness of antiX/Swift Linux and Puppy Linux for so long. I have a backlog of stuff to do, so I'm sticking to Linux for now as my main OS. > However, I might try BSD in VirtualBox and on my laptop. IMO; get a second machine (laptop or workstation / desktop) and install FreeBSD on that. After you get it working the way you want, you can dump your Linux machine. > Are there any good tutorials for using BSD on the desktop? I'm having much more difficulty finding good information on BSD than was the case for Linux. > In retrospect, this shouldn't be a surprise given that Linux is relatively mainstream while BSD is very obscure. I really don't understand this question. If you really are asking about *using* BSD on the desktop, there are very few, if any, differences compared to Linux. The basic GUI is the same (Xorg), the DE's are the same (the big ones being KDE, Gnome and Xfce), and almost all user programs are the same. What is the difference your perceive? Myself, I have kept one laptop running Linux (Xubuntu), because of two things: a) it is very hard (in Norway at least) to find and buy a laptop that will work almost 100% with FreeBSD, unless I want to double (or more) the price I can get a good laptop for. Somehow, Linux manages to adjust to most of the "fails to meet specifications" problems of laptop vendors today. b) Often, I need (or want) to check out a new service or program that only runs on Linux (for the time being). My main workstation is a desktop, running FreeBSD. All my test machines (most of them have desktops installed) run FreeBSD. Granted, many of them are triple-boot and run Linux and other BSDs as well, for testing purposes. My servers run FreeBSD. HTH -- Regards, Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 16:53:23 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3D501065679 for ; Tue, 29 Mar 2011 16:53:22 +0000 (UTC) (envelope-from prvs=0623c498d=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id B8D538FC0C for ; Tue, 29 Mar 2011 16:53:22 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoMAJgNkk2BbgogVmdsb2JhbAClWAEhAiTFBIVqBIU8lB8 X-IronPort-AV: E=Sophos;i="4.63,263,1299477600"; d="scan'208";a="57035283" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2011 11:52:17 -0500 Date: Tue, 29 Mar 2011 11:52:16 -0500 From: Paul Schmehl To: Stephen Montgomery-Smith , Jason Hsu Message-ID: <4DF9AD397C8F82F334184D23@utd71538.local> In-Reply-To: <4D91DDB7.8090400@missouri.edu> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D91DDB7.8090400@missouri.edu> 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: freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 16:53:23 -0000 --On March 29, 2011 8:25:11 AM -0500 Stephen Montgomery-Smith wrote: > > But the desktop experience of Ubuntu is so easy, and it works so much > "out of the box" that I am switching to Ubuntu for a lot of my everyday > desktop needs. Not to belabor the point, but this is precisely why I switched from FreeBSD to Mac for my desktop. For a desktop OS I need something unix-like but with good graphics and all the capabilities of flash, movies, etc., etc. That can be done on FreeBSD, but it takes some work. I work on servers. I don't want to work on my desktop. All my servers are FreeBSD. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 17:12:35 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3889E1065679 for ; Tue, 29 Mar 2011 17:12:35 +0000 (UTC) (envelope-from prvs=0623c498d=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 09D298FC17 for ; Tue, 29 Mar 2011 17:12:34 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoMAPkKkk2BbgogVmdsb2JhbAClWAEhAiSJHrtbhWoEhTw X-IronPort-AV: E=Sophos;i="4.63,263,1299477600"; d="scan'208";a="53542676" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2011 11:43:13 -0500 Date: Tue, 29 Mar 2011 11:43:12 -0500 From: Paul Schmehl To: Jason Hsu , freebsd-stable@freebsd.org Message-ID: In-Reply-To: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.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: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 17:12:35 -0000 --On March 29, 2011 1:32:23 AM -0400 Jason Hsu wrote: > > Some questions: > 1. Is it possible to install KDE, GNOME, or other DE from the FreeBSD CD > in a reasonable amount of time? KDE and GNOME are huge programs, and > having to download them would take too long. I wouldn't recommend installing from the CD for two reasons. 1) The installation is "old", so you will have to update it anyway. Why not just build it from source to begin with? 2) You don't have the same flexibility you do when installing it from ports. There you can pick and choose what is installed. Although you think of KDE as huge, it's actually made up of lots of little pieces and parts, each of which get installed separately when you build from source. So, you aren't downloading a monolith. You're fetching this and building it, then that and building it until the entire thing is done. What it *is* is time consuming. > 3. How do I triple-boot Puppy Linux, antiX/Swift > Linux, and DragonflyBSD? I already use a Puppy Linux/Swift Linux dual > boot. For the life of me, I couldn't figure out what to put in the > menu.lst file to allow DragonflyBSD to boot. (By contrast, antiX Linux > and Swift Linux automatically add the appropriate entries in menu.lst.) Why triple boot when you can run VMs? When you triple boot you only have access to one OS at a time. When you run VMs, you have access to all your OSes all the time. Much handier and more useful, I think. > 4. What are the Linux Mint and Puppy Linux of the BSD universe? I > consider these two distros to set the standard in the Linux universe, > because they're so user-friendly. These are the distros I've set out to > compete against in developing Swift Linux. FreeBSD is first and foremost a server OS. Desktop support is lacking when compared to the other major OSes (Windows, Mac and Linux). You can make it work, if you want to, but that's not what its primary function is. If you want a user friendly desktop OS, FreeBSD is probably not your best choice. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 17:20:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07F96106566C for ; Tue, 29 Mar 2011 17:20:47 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5278FC12 for ; Tue, 29 Mar 2011 17:20:46 +0000 (UTC) Received: by fxm11 with SMTP id 11so497507fxm.13 for ; Tue, 29 Mar 2011 10:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6sx4PCb0+oeboo+VL1qiwRtRaLhynpC6fMTa36yk5qM=; b=BC4rEW1P6ePLfUsV95dW+0o5T1QaaMnZU2MWOEXoiprk8/hWE6/oU0VqOjrfIR+P9G 6VrlsfKWWLw6h6NKWnkLAlATE2HnBrIqdzkmcKhq416KXu2PCDzSqQsCSt9RadfdXwGk bfcNGm78Ik9WV9Xb5UFLaf6TavCDnAgmMH0BI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X8JRvJIkJ0eCjwe9zIwhem5EHA6spNa6m7zRDl5X7g4tznP7pPCc9ShurYmUOBs0eC zJXPjhhX3Hh7U3kEPiRTkP/Ja/bKYA8je0zgKbfUX7Y81FzbbO9M8dqK8g7wQQjwY2Ao ZRKHi6Hd4ZG1PuY6GxiDCpElk0ww3NXsXiwwI= MIME-Version: 1.0 Received: by 10.223.13.137 with SMTP id c9mr49107faa.60.1301419245389; Tue, 29 Mar 2011 10:20:45 -0700 (PDT) Received: by 10.223.101.208 with HTTP; Tue, 29 Mar 2011 10:20:45 -0700 (PDT) In-Reply-To: References: <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> Date: Tue, 29 Mar 2011 12:20:45 -0500 Message-ID: From: Adam Vande More To: Claus Guttesen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alexander Leidinger , FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 17:20:47 -0000 On Mon, Mar 28, 2011 at 11:46 AM, Claus Guttesen wrote: > I'm aware of that, but the only way the problem shows up is when a > windows machine performs an installation or a windows update (and has > alot of updates in the pipeline). When traffic (i/o) is low to > moderate it justs goes along without any issues. And if the same > virtual windows-installation is on an iscsi-partition (mounted by the > vmware-server) I can't reproduce the problem. So if disabling the zil > did make a difference I would install a dedicated zil-ssd-device. And > if that did alleviate my problem the issue could be related to windows > performing alot of small reads and writes. Hence why I wanted to > disable the zil. > What did someone say about shooting yourself on the foot? http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Disabling_the_ZIL_.28Don.27t.29 I don't think you can even disable it on newer versions of ZFS so it may be something of a moot point. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 17:20:59 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 950981065788 for ; Tue, 29 Mar 2011 17:20:59 +0000 (UTC) (envelope-from avg@freebsd.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id DC6E78FC15 for ; Tue, 29 Mar 2011 17:20:58 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA26150; Tue, 29 Mar 2011 20:20:46 +0300 (EEST) (envelope-from avg@freebsd.org) Message-ID: <4D9214ED.9010406@freebsd.org> Date: Tue, 29 Mar 2011 20:20:45 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Paul Schmehl References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 17:20:59 -0000 on 29/03/2011 19:43 Paul Schmehl said the following: > FreeBSD is first and foremost a server OS. Desktop support is lacking when > compared to the other major OSes (Windows, Mac and Linux). You can make it work, > if you want to, but that's not what its primary function is. Chiming in on a random post. FreeBSD is whatever its users and developers make it to be. FreeBSD is positioned as a general purpose OS and different people use it in very different ways. From embedded through servers to desktops. Yes, really. You can share your experience about FreeBSD as a desktop, I can share mine (which is quite different from yours), those would be interesting (and perhaps useful) anecdotes. But, please, let's refrain from labeling FreeBSD and cornering it into some niche. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 17:31:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 914A11065673 for ; Tue, 29 Mar 2011 17:31:22 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 185118FC15 for ; Tue, 29 Mar 2011 17:31:21 +0000 (UTC) Received: by bwz12 with SMTP id 12so431801bwz.13 for ; Tue, 29 Mar 2011 10:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=VFjjhb/wLOinAiiQiQYvQm9SjHgdMiozJkeEMYYHg7Y=; b=Hxc1YOJ0mGmWzSRgDVq7MfC33GdC35FIbl6fpCcRF6kHRk9Z6i8oH/dy7WPcJ8jzXM SjiWyT/sKXY9b2jXjdc09BIgHedkfcRL/npx/Bk8TmWxREknXRaRtXaNzcHWBHoCR/Qw ylKzysNGCDzScpj9LM2enn69xSMLf2Z8CHDP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=hq2zk9aHoBjdlQyzVCtsryleVnV89ZARu1AN1bcaW9UwcTqTWbYpCE4AZo9SyVDpbb MQLU38ecyJAngYU7ADyRpDAipzntVH3Yd2ZS8JtAUmFnu8a29xQGRnX9+XKwo7QuePmx /5KSp+ICFB4VB/VWeHm4PRwC5XC6S3YEpOwx4= Received: by 10.204.83.212 with SMTP id g20mr68351bkl.55.1301419650430; Tue, 29 Mar 2011 10:27:30 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id x6sm3587772bkv.12.2011.03.29.10.27.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 10:27:29 -0700 (PDT) From: Michal Varga To: Paul Schmehl In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Tue, 29 Mar 2011 19:27:26 +0200 Message-ID: <1301419646.71335.123.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 17:31:22 -0000 On Tue, 2011-03-29 at 11:43 -0500, Paul Schmehl wrote: > FreeBSD is first and foremost a server OS. Could you support your claim with some examples, please? > Desktop support is lacking when compared to the other major OSes > (Windows, Mac and Linux). Here too. How is "desktop support" on FreeBSD lacking? > You can make it > work, if you want to, but that's not what its primary function is. Where can I find some detailed information about what is FreeBSD's "primary funtion" and what does that even mean in the first place? > If you want a user friendly desktop OS, FreeBSD is probably not your best > choice. Why? How is KDE, Gnome, XFCE or some potential other desktop environment different from the literally exactly same one running on, say, Linux? m. -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 17:41:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D01F110656A7 for ; Tue, 29 Mar 2011 17:41:22 +0000 (UTC) (envelope-from nzp@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) by mx1.freebsd.org (Postfix) with ESMTP id 7B1538FC13 for ; Tue, 29 Mar 2011 17:41:20 +0000 (UTC) Received: from auk.riseup.net (auk-pn.riseup.net [10.0.1.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 2BC1225E8BF for ; Tue, 29 Mar 2011 10:22:55 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nzp@auk.riseup.net) with ESMTPSA id 2B87749F8 Date: Tue, 29 Mar 2011 19:22:56 +0200 From: Nikola =?utf-8?B?UGF2bG92acSH?= To: freebsd-stable@freebsd.org Message-ID: <20110329172256.GD46127@sputnjik.localdomain> Mail-Followup-To: freebsd-stable@freebsd.org References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.97 at mx1 X-Virus-Status: Clean Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 17:41:22 -0000 On Tue, Mar 29, 2011 at 12:59:24PM +0200, Christian Walther wrote: > > On the downside there seem to be some work needing to be done IRT > kernel based 3D acceleration. I don't know the current status, but the > last I heard was that NVidias drivers can't be ported to FreeBSD > because the kernel lacks some functionality required (something > related to addressing the graphics board directly from software, > AFAIK). > So if you want the latest features and eye candy (say, KDE4s Plasma) > and make heavy use of xcompmgr, there might be better choices. As others have pointed out NVidia drivers for FreeBSD have been available for some time, and they work just fine. As far as eye candy goes, I assure you KDE Plasma bells and whistles (compositing etc.) work just fine even on a 9 year old Pentium 4 w/ 1GB RAM and an NVidia GeForce 6200. I'm actually amazed how well it works, it's faster than XFCE on Slackware was... Weird stuff. O.o (I'm not really implying anything, just noticing something I didn't expect.) -- Toddlers are the stormtroopers of the Lord of Entropy. From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 17:56:11 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0499C106564A for ; Tue, 29 Mar 2011 17:56:11 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 88BFE8FC16 for ; Tue, 29 Mar 2011 17:56:10 +0000 (UTC) Received: by eyg7 with SMTP id 7so152766eyg.13 for ; Tue, 29 Mar 2011 10:56:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jmeNnw9vasKVzfJvPIo8CifGRD8daenntstQX1uGNKI=; b=VCJtlLwr10aSMFj4qu276SlVz6DKRXyXPRdhlqYU3JCbC17XHXSpgcp6mhhMkDalI4 /1hTGrstZIjgW23BKyAF/lV7Fgh23O6Xp0bzqTHybak5wUhAnJkO0UGc3EAWxjbocF4I fKqdpEPfGxfYQ4UZDWmPkngDHP9E4pEyVB360= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tgrjBKGe8J3g2KHl4m1KVZUkiA8B4eIfsmRN1F59yqFxNqRDP8GgRk82tFdyLlxGGq e4BUEBS38BG3ve1NqbbUDwXifL9VIh4Dc324LgVV80GSYqKZD2WR0I8q4AckIEYYoZwo YM5s/dB8aXifodN8dBIZfl+g8UUyOeb64Iogs= MIME-Version: 1.0 Received: by 10.213.97.70 with SMTP id k6mr305951ebn.75.1301421369231; Tue, 29 Mar 2011 10:56:09 -0700 (PDT) Received: by 10.213.29.83 with HTTP; Tue, 29 Mar 2011 10:56:09 -0700 (PDT) In-Reply-To: <20110329172256.GD46127@sputnjik.localdomain> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> <20110329172256.GD46127@sputnjik.localdomain> Date: Tue, 29 Mar 2011 19:56:09 +0200 Message-ID: From: Christian Walther To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-2?Q?Nikola_Pavlovi=E6?= Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 17:56:11 -0000 2011/3/29 Nikola Pavlovi=C4=87 : > On Tue, Mar 29, 2011 at 12:59:24PM +0200, Christian Walther wrote: [...] > As others have pointed out NVidia drivers for FreeBSD have been > available for some time, and they work just fine. Yes, thanks for pointing that out, everybody. :) > As far as eye candy goes, I assure you KDE Plasma bells and whistles > (compositing etc.) work just fine even on a 9 year old Pentium 4 w/ 1GB > RAM and an NVidia GeForce 6200. =C2=A0I'm actually amazed how well it wor= ks, > it's faster than XFCE on Slackware was... =C2=A0Weird stuff. O.o (I'm not > really implying anything, just noticing something I didn't expect.) Nice. :) Maybe it's time to give KDE4 another try. Its' graphics performance seems be to have been improved with Release 4.2 anyway (at least I've been told), and my last test was with an early 4.0 release. My wifes' laptop is on Linux for some time now, and I already noticed that nspluginwrapper + flash plugin are stable even after updates. From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:14:06 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F332106566C for ; Tue, 29 Mar 2011 18:14:06 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D77A68FC13 for ; Tue, 29 Mar 2011 18:14:05 +0000 (UTC) Received: by wwc33 with SMTP id 33so516819wwc.31 for ; Tue, 29 Mar 2011 11:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=DfEzELqh1xHZVfXQq39VUvzZWbN6T9bi8QtHnu1RSXs=; b=BZfwNpN4ad6NqTn0i8mXVyzQlWZo0X9VZV3DeXor+XjsNjKms6RutfaXj7+CBb3uhu C0GkMODVXgAn1aBOUMWjC4nb3IsusvMrQMlPXDxXrIWmOEQI6KkYQIoMNm+ci0LtZeBt aAN3MwkNaU9L/Vd1doTukXNu+p6NCMbX/Ds0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SXFqGSF+o6SjctDbieZDCMBsWvfH5C4EYNCiwD7k/Oj1mOG7294ROjPFEs3+eReZWE dgrk/hfjRxUyN+BsjCtTdltjg3o2tKdKe9TrspUJTVwsExwmApfOxnH4tMDExKzWKDn7 nqNqv2c/VMG1PvdbDLlb3pMpvYR85/51mlJgY= MIME-Version: 1.0 Received: by 10.216.145.221 with SMTP id p71mr4838260wej.9.1301421063919; Tue, 29 Mar 2011 10:51:03 -0700 (PDT) Received: by 10.216.52.209 with HTTP; Tue, 29 Mar 2011 10:51:03 -0700 (PDT) In-Reply-To: <1301419646.71335.123.camel@xenon> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> Date: Tue, 29 Mar 2011 10:51:03 -0700 Message-ID: From: Matthew Fleming To: Michal Varga Content-Type: text/plain; charset=ISO-8859-1 Cc: Paul Schmehl , Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:14:06 -0000 On Tue, Mar 29, 2011 at 10:27 AM, Michal Varga wrote: > On Tue, 2011-03-29 at 11:43 -0500, Paul Schmehl wrote: >> Desktop support is lacking when compared to the other major OSes >> (Windows, Mac and Linux). > > Here too. How is "desktop support" on FreeBSD lacking? I realize a desktop means many things to many people, but the biggest thing holding me back from using FreeBSD on a desktop is flash support. I spent a little time trying to follow online instructions and I didn't get anything working. I use my Mac 90% of the time as just a web browser. I use my PC 90% of the time just to play Civ 5. I use Linux at work because I can use all the SCM tools I want (that FreeBSD also has) but also I can listen to pandora and watch youtube videos while I work. Cheers, matthew From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:20:09 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBB2E1065672 for ; Tue, 29 Mar 2011 18:20:09 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3E9028FC0C for ; Tue, 29 Mar 2011 18:20:08 +0000 (UTC) Received: by bwz12 with SMTP id 12so474314bwz.13 for ; Tue, 29 Mar 2011 11:20:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=UsnN+1L9Z7MsnhN9PFS+Lk5ApBtoIneOGEiqrWyyWdk=; b=B+0uP/mbMMCrAl6Ymq384nQQ5A2bNywpNln8B7A1sJU3KH5dnxttTEWHmHHNCZaMlt s+xMSkQXeJUudeDHwroUymEa9NGW2Ly24eTE+XzlV4HQu4+H0BnlZdLAXmwWS31MRKvU 5EtwEAeuBmXpBQg5vNZSk5PJLmu1yKDxXSt3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ZrB23UB3JCG7D7B1qcy5HRDhKsAwcs05MuU1UVJaI+jzUnH4ooHYtlbEQFqIDx/AVR 3H57twGIl+OTHY8TnhTNKaKfeb1O73HRjhbwPKzMTZNyFQ1mqBjHt3YUAZfFltreojvd 6H0yMRW5/IEuox2CjuYLM5jKRb/D4bV01g3z8= Received: by 10.204.20.71 with SMTP id e7mr124450bkb.144.1301422807983; Tue, 29 Mar 2011 11:20:07 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id v21sm3616902bkt.23.2011.03.29.11.20.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 11:20:06 -0700 (PDT) From: Michal Varga To: Matthew Fleming In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Tue, 29 Mar 2011 20:20:04 +0200 Message-ID: <1301422804.71335.143.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:20:09 -0000 On Tue, 2011-03-29 at 10:51 -0700, Matthew Fleming wrote: > On Tue, Mar 29, 2011 at 10:27 AM, Michal Varga wrote: > > Here too. How is "desktop support" on FreeBSD lacking? > > I realize a desktop means many things to many people, but the biggest > thing holding me back from using FreeBSD on a desktop is flash > support. I spent a little time trying to follow online instructions > and I didn't get anything working. Lack of Flash support - a proprietary closed exploit-ridden hellhole - sorry, I mean - "application" - that's in no way tied to FreeBSD and controlled by a legendarily uncompetent company that blantantly refuses to release a FreeBSD version of this very fine and awesome rootkit (a good decision that one can only support, so really, what's the issue) is hardly something that could even remotely be FreeBSD's fault. I mean, this is what we're talking about: http://secunia.com/advisories/search/?search=adobe+flash But even in a completely hypothetical scenario where Flash wouldn't be the world's most famous never-ending exploit carnival in the entire existence of the universe, how that makes FreeBSD less desktop friendly or less desktop capable? Adobe decided to not release their software on FreeBSD (again, thank you Adobe, that's a thousand less attack vectors daily to worry about), but there is no issue with FreeBSD with regard to that, isn't it? This isn't the case that "FreeBSD broke the Flash" (ok, this isn't funny anymore), there was never any FreeBSD Flash in the first place. So no FreeBSD issue exists, or at least I can't see it, or maybe I simply don't get something here. There is also no Microsoft Windows Management Console for FreeBSD, does it make FreeBSD lacking, insufficient, or broken in some specific server area? m. -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:24:31 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FA981065676 for ; Tue, 29 Mar 2011 18:24:31 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 56A338FC1B for ; Tue, 29 Mar 2011 18:24:29 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA27117; Tue, 29 Mar 2011 21:24:28 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4D9223DB.7010701@FreeBSD.org> Date: Tue, 29 Mar 2011 21:24:27 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Matthew Fleming References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:24:31 -0000 on 29/03/2011 20:51 Matthew Fleming said the following: > On Tue, Mar 29, 2011 at 10:27 AM, Michal Varga wrote: >> On Tue, 2011-03-29 at 11:43 -0500, Paul Schmehl wrote: >>> Desktop support is lacking when compared to the other major OSes >>> (Windows, Mac and Linux). >> >> Here too. How is "desktop support" on FreeBSD lacking? > > I realize a desktop means many things to many people, but the biggest > thing holding me back from using FreeBSD on a desktop is flash > support. I spent a little time trying to follow online instructions > and I didn't get anything working. Strange. I followed some instructions that I googled up and it was like "install these two ports and run that command" and everything worked. And still does :) (I think that it was www/linux-f10-flashplugin10, www/nspluginwrapper and running nspluginwrapper -v -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so as a user for which I enabled the plugin). -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:34:51 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1CBC106566C for ; Tue, 29 Mar 2011 18:34:50 +0000 (UTC) (envelope-from mark@islandnet.com) Received: from cluster3.islandnet.com (cluster.islandnet.com [199.175.106.52]) by mx1.freebsd.org (Postfix) with ESMTP id D13458FC08 for ; Tue, 29 Mar 2011 18:34:50 +0000 (UTC) Received: from [199.175.106.221] (port=12522 helo=helpdesk.islandnet.com) by blade3.islandnet.com with SMTP id 1Q4dkg-000JcI-AN ; Tue, 29 Mar 2011 11:34:50 -0700 From: Mark Morley To: Scot Hetzel Date: Tue, 29 Mar 2011 11:34:50 -0700 X-Priority: 3 X-Mailer: Islandnet.com Helpdesk Webmail Message-Id: <14240cm1t.1301423690@helpdesk.islandnet.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Stable Subject: Re: ZFS pool on FreeBSD 8.2-STABLE broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:34:51 -0000 On Mon, 28 Mar 2011 13:38:54 -0500 Scot Hetzel wrote: On Mon, Mar 28, 2011 at 1:17 PM, Mark Morley wrote: > Hi there, > > I have a small backup server (8.2-STABLE). �It boots from ufs and has azfs pool for backups that consists of 8 drives configured as 4 mirrored devices, totally around 2.5 TB. > > Been working great, no issues, until the past few days when remote rsyncsto it have started to get very slow (it's only at around %50 capacity). �Rebooting it helps for a while, then it gets slow again. �But this isn't the problem now... > > After the last reboot, it froze while booting right at the point where the file system gets mounted. �No errors, it just doesn't proceed past the ZFS version message. > > I rebooted single user and tried to access it with "zpool status", and the command hangs in the same way. �Any attempt to access it ("zfs list", for example) does the same thing. > > The disks themselves seem fine. �They are all connected to a pair of Adaptec RAID controllers (configured as individual drives, with mirroring handled by zfs) and the controller software shows them all to be intact. > > I disabled zfs in rc.conf and was able to boot, but I can't access the pool. > > Any ideas on how to diagnose and hopefully repair this? > Your going to need to download a recent -CURRENT ISO that contans zfs v28, then you can try to recover the pool as outlined in this post http://opensolaris.org/jive/message.jspa?messageID=445269 Well, what I did was rebuild world and kernel top 9.0-CURRENT and reboot. It was able to see and access the zfs file system immediately without having to import it. I did a zpool upgrade to v28 and all seems well so far. Mark From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:41:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF90E106564A for ; Tue, 29 Mar 2011 18:41:22 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [76.96.59.211]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2A28FC1D for ; Tue, 29 Mar 2011 18:41:22 +0000 (UTC) Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by QMTA11.westchester.pa.mail.comcast.net with comcast id R5hh1g0010ldTLk5B6U7RZ; Tue, 29 Mar 2011 18:28:07 +0000 Received: from hanssachs.home ([24.61.85.144]) by omta04.westchester.pa.mail.comcast.net with comcast id R6U61g00U36qgMk3Q6U7DS; Tue, 29 Mar 2011 18:28:07 +0000 Received: from algo by hanssachs.home with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4de8-000JwL-TH; Tue, 29 Mar 2011 14:28:04 -0400 From: Alex Goncharov To: Michal Varga In-reply-to: <1301422804.71335.143.camel@xenon> (message from Michal Varga on Tue, 29 Mar 2011 20:20:04 +0200) References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <1301422804.71335.143.camel@xenon> Message-Id: Sender: Alex Goncharov Date: Tue, 29 Mar 2011 14:28:04 -0400 Cc: pschmehl_lists@tx.rr.com, jhsu802701@jasonhsu.com, mdf356@gmail.com, freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Goncharov List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:41:22 -0000 ,--- Michal (Tue, 29 Mar 2011 20:20:04 +0200) ----* | There is also no Microsoft Windows Management Console for FreeBSD, does | it make FreeBSD lacking, insufficient, or broken in some specific server | area? It's time to switch this char elsewhere, to -help, perhaps, no? -- Alex -- alex-goncharov@comcast.net -- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:54:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 863B41065672 for ; Tue, 29 Mar 2011 18:54:29 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0E36C8FC17 for ; Tue, 29 Mar 2011 18:54:28 +0000 (UTC) Received: by ewy1 with SMTP id 1so179481ewy.13 for ; Tue, 29 Mar 2011 11:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cUGcqZoRRIY6OFgeOPnRCjb0AobXafJjv0lhE3tGPps=; b=AB9cvxhJAvegnzOzU/fk+qsjNPjxd+OqAGhhbyCTyNFK24ntr39IDWt/FL6p7MCRKL 7Se/+l+EaS2AMjI4i5oYnRiVc4hC28pn0hjf408t2uO++SzWiZ20/Gbf9Mdd8y42Nlkq Vsoldkb5rDOEX++KELhWWo8wRmH1wHBrOnVkc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=jrmTHZQNgRJlxfj9E4RFEL9lRC8VeLv6QEBfGfcCSOqT38XjdseqXBeXpCvJzz1gGv k2FQDR218mjTJleLwisSkEHu6u5bkDqDnq7Mkgy0IMP3C8cgfbIZgigRGvx4eP3A9Z7n zdEyetLJF87+XIEJU2Zt0QEiHue+jTGc7VDCs= MIME-Version: 1.0 Received: by 10.213.20.213 with SMTP id g21mr388097ebb.56.1301424866384; Tue, 29 Mar 2011 11:54:26 -0700 (PDT) Received: by 10.213.29.83 with HTTP; Tue, 29 Mar 2011 11:54:26 -0700 (PDT) In-Reply-To: <1301403219.71335.111.camel@xenon> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> <1301403219.71335.111.camel@xenon> Date: Tue, 29 Mar 2011 20:54:26 +0200 Message-ID: From: Christian Walther To: Michal Varga Content-Type: text/plain; charset=ISO-8859-1 Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:54:29 -0000 On 29 March 2011 14:53, Michal Varga wrote: > Hi, > [Port building, mplayer/mencoder example w/o options] Packages are build with the default ports options. These turn out to be suitable for me, so I guess they are suitable for others, as well. I never said that building from source is pointless -- at least this was not my intention. > Now do it the other way, learn what all the respective techs (and so > dependencies) mean and do, pull in whatever stuff you need to get your > work (or entertainment time or whatever else) done, fine tune your > compiler whistles (multimedia processing benefits heavily from extended > instruction sets, I obviously don't need to stress that), and poof, you > end up with a single most complete multimedia playback AND transcoding > package that covers most people's 99% needs [citation needed]. Certainly. This is a question of the use case. I haven't seen a single case where mplayer was unable to playback a file. [FreeBSD user complaining about missing mplayer capabilities] IMO this is about education. Firstly I expect FreeBSD users to read the documentation, in this case "Packages and ports", which at least should give them a hint that packages are not everything in existence. Secondly there are mailing lists and forums where one can ask in case something doesn't work as expected. Changing an OS or distro just because something doesn't work IMO doesn't count as problem solving strategy. ;) And I think that the problem with mplayer exists on Linux as well, due to licensing and legal issues. > Now you probably see where I'm getting at with all the fine-tuning mumbo > and configurations and customizations. Yes, FreeBSD takes time, but it > gives you the possibility and opportunity to do it. You don't need to - > there are prebuilt generic packages that do generic stuff (somehow), > there are systems like PC-BSD that already come "complete" and well - do > stuff - somehow, but FreeBSD *lets* you do much more, the moment you > realize that you need to. Exactly. > To put it as a hyperbole - if you just want generic stock off-the-shelf > crap, yes, FreeBSD has that (too). Some, or *most* of it might even > work. Some might be bloated, some might be insufficiently > 'stock-configured' so instead of one, you will end up with system > stuffed with multiple applications of the same kind, only because "some > of them sometimes work with something and some with the rest". But for > people that want the control and need the control and need to get under > the hood and tune it for the best possible outcome, FreeBSD offers > everything all the way down like no other OS does. Yes, it's about freedom, really. :) And since the OP asked of how to proceed I think it's fair to mention packages. I entirely disregarded pre built packages time, because I thought it best to compile everything myself. When I state that my T30 takes two days to build all ports I need and want is not a claim, I've seen it several times. ;) We have some great tools to deal with updates, but even with those and "make config-recursive" I occasionally checked the machine in the morning and saw a dialog window asking for a ports configuration. This is not a real problem but costs precious hour. And the machine consumes energy. Download packages enables me to run a shutdown when I go to bed. >> Compiling from source can be done on fast, modern systems, e.g. amd64. >> My primary "workstation" is a rusty Thinkpad T30. Building all ports >> from scratch takes two days, and we're not talking about any IDE. > > You can always build your "tuned" ports infrastructure someplace else > and deploy everything on T30 via packages after (see what I did here?). Yes, I know. And I decided not do so -- which is my choice. >> Additionally, using compiler optimization doesn't seem to be that >> recommended anymore, since it can break code, thus leading to nasty >> results. > > I wouldn't agree there. The basic O2 is perfectly safe for ages now (O3 > not so, *but* depends on your time and resources to put into testing and > possible troublesolving, and even then you might still turn out to be a > winner in most cases in the end). Processor specific optimizations are a > must too, otherwise you don't even need the fancy new one with the > latest SSSSSE9-THIS-TIME-IN-STEREO, when your plan is to keep using just > the raw i386 out of it, that's like buying a latest state-of-the-art > sportbike and for the rest of the life keep dragging it tied behind a > Pinto. Well, you gain much by the speed of the CPU alone. ;) And I reckon that most tools that I use really don't care if they're build for i386 or i686. It does make sense for video encoding, decoding of course, and number crunching (raytracing for example). [Optimization and debuging] > Several developers are simply lazy and nobody pays them to debug someone > elses issues. Keeping it simple and unified saves anyone's time, but > mostly theirs. I personally support this approach and everyone sane > should. It's not only that, wrong compiler options can really break valid code. We're not talking about -O2 here, but -O3 on gcc 4.x is a candidate here. And then there are really harmful ones, such as -funroll-loops and -fforce-mem. Thing is, there are Gentoo folks who have those set system wide. A nice read IRT to optimization is http://www.gentoo.org/doc/en/gcc-optimization.xml They basically recommend to stick to -march, -O, and -pipe Yes, I once had a Gentoo system running, which is why I became conservative when it comes to optimization. ;) [Snipped the NVidia part -- got it :)] From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 18:57:53 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2822A1065670; Tue, 29 Mar 2011 18:57:53 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 85A348FC12; Tue, 29 Mar 2011 18:57:52 +0000 (UTC) Received: by fxm11 with SMTP id 11so601717fxm.13 for ; Tue, 29 Mar 2011 11:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=dyvQw1UiPhgpV7MsUI9U7DEGT9URP1sujFF3fdHIMoo=; b=n8KKKqcdZfPAbm0aqHVqbXR1tkqvnTHYs31v3EF70aVYzTqtAaaA7lTpuYGEILrNrj 6uNiw2KXhZCp8quDPR6LORQ96JtmpS8BQTe+af+hdL1pRy/sjs06vkp9JhPh1HiZylpI vcgEMASsRrF9x1yYq/OGEfk1FtijwMpbq5dv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=o/onVIn6xbgO8kmDv6wHZM4Oa6spCCkz4nzWJKyaQs3lZ5quvmc5uehKrvVUBZYhsu yiHLmQLvNmn/lDVqKX28H6N+LRWvGaBtgh2zXrIa0LBPzjfSdkGX5Bci/bT0bqkWfSUz 1J+pLbIuzG5vkOPX+32F7X67S5u9m1H3JPkso= MIME-Version: 1.0 Received: by 10.223.67.210 with SMTP id s18mr205095fai.41.1301425071304; Tue, 29 Mar 2011 11:57:51 -0700 (PDT) Received: by 10.223.101.208 with HTTP; Tue, 29 Mar 2011 11:57:51 -0700 (PDT) In-Reply-To: <4D9223DB.7010701@FreeBSD.org> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <4D9223DB.7010701@FreeBSD.org> Date: Tue, 29 Mar 2011 13:57:51 -0500 Message-ID: From: Adam Vande More To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Matthew Fleming Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 18:57:53 -0000 On Tue, Mar 29, 2011 at 1:24 PM, Andriy Gapon wrote: > Strange. I followed some instructions that I googled up and it was like > "install > these two ports and run that command" and everything worked. And still > does :) > > (I think that it was www/linux-f10-flashplugin10, www/nspluginwrapper and > running > nspluginwrapper -v -i > /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so > as a user for which I enabled the plugin). > Ditto, flash has usable for years via the linux plugin. It's not perfect and those stalls are really annoying, but then again flash doesn't work perfectly on my Windows XP VM either. I've used FreeBSD as desktop and server install for years, and it's been good. I do everything I'd do on a commercial OS. My policy is if a friend or family calls me for support, the third time I have to go to their place and find malware I move them to FreeBSD. I don't have to travel so much anymore but I still get the occasional thing like /tmp being full. Now it's easy though because ssh still works quite well over a slow DSL link. Whatever your desktop system runs, there is a certain overhead to learn and maintain it. Maybe FreeBSD is a little higher than others, but the for me the net gain is worth it. I don't have the brain capacity to learn the ins and outs of every Linux distro that exists, and all the major ones I'm familiar with have flaws I'd rather not adopt. To come back to the original thread question: You were basically scolded a week or two ago because you continued to ask rudimentary questions that are covered by the handbook. You disregarded that advice, but I'll try again. RTFM. If you would bother to actually read stuff before asking questions, many of those questions would not exist. IMO, FreeBSD documentation is one of it's biggest advantages. If you're not going to utilize it what is the point in adopting the OS? I think a entry on people who are obsessed with collecting OS's warrants an entry in the DSM IV. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:02:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5410D106566B for ; Tue, 29 Mar 2011 19:02:57 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh3.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1A1FE8FC1B for ; Tue, 29 Mar 2011 19:02:56 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh3.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q4dSY-0003cq-7M for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 14:16:07 -0400 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 29 Mar 2011 11:16:04 -0700 Date: Tue, 29 Mar 2011 11:16:04 -0700 From: Chip Camden To: freebsd-stable@freebsd.org Message-ID: <20110329181604.GD98537@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D9214ED.9010406@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VMt1DrMGOVs3KQwf" Content-Disposition: inline In-Reply-To: <4D9214ED.9010406@freebsd.org> 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 - wh3.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: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:02:57 -0000 --VMt1DrMGOVs3KQwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Andriy Gapon on Tuesday, 29 March 2011: > on 29/03/2011 19:43 Paul Schmehl said the following: > > FreeBSD is first and foremost a server OS. Desktop support is lacking = when > > compared to the other major OSes (Windows, Mac and Linux). You can mak= e it work, > > if you want to, but that's not what its primary function is. >=20 > Chiming in on a random post. > FreeBSD is whatever its users and developers make it to be. > FreeBSD is positioned as a general purpose OS and different people use it= in very > different ways. From embedded through servers to desktops. Yes, really. >=20 > You can share your experience about FreeBSD as a desktop, I can share min= e (which > is quite different from yours), those would be interesting (and perhaps u= seful) > anecdotes. > But, please, let's refrain from labeling FreeBSD and cornering it into so= me niche. >=20 Hear, hear! I use it for my desktop, and I'm quite happy with it. --=20 =2Eo. | Sterling (Chip) Camden | http://camdensoftware.com =2E.o | sterling@camdensoftware.com | http://chipsquips.com ooo | 2048R/D6DBAF91 | http://chipstips.com --VMt1DrMGOVs3KQwf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNkiHkAAoJEIpckszW26+RhScIAIoUAe3YIW3EeZwfDMvtOv/e SiQWmurdApGN8QpSLwIrnJP3uEWfH09TbqbF+TkCcDdHjWE6yFl/d6KXLrlO6Nzw PehFwkjiAfUaTiTBkCnwBned2xXghHqgCiPOE9+Hu/KbEHVCL9ZCutgL8yPI6QIh O671N0B7yoU8NN/ih6WsOgcpvj1x/z1nAgFItwf7joGRL15ax64TRmjNy+oCDnLB PmH6US238nb0HY8yMyklBfd8HqdlgWtTrhtmJ47Wwo/Ui8t5n1ApEWkK7dIBQXRt /rr1fxIw+z5/V0YQx5t7R8DiK8IEAT/GT9+oL60QSyYOTp+mET0S/hvrR/98dtQ= =EHi9 -----END PGP SIGNATURE----- --VMt1DrMGOVs3KQwf-- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:11:10 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C33261065670 for ; Tue, 29 Mar 2011 19:11:10 +0000 (UTC) (envelope-from prvs=0623c498d=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 931EC8FC1B for ; Tue, 29 Mar 2011 19:11:10 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcKAG0ukk2BbgogVmdsb2JhbAClWQEhAiSJHrt7hWoEhTyORQ X-IronPort-AV: E=Sophos;i="4.63,264,1299477600"; d="scan'208";a="57045576" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2011 14:11:08 -0500 Date: Tue, 29 Mar 2011 14:11:07 -0500 From: Paul Schmehl To: Michal Varga , Paul Schmehl Message-ID: <87B0CCF2B38381F29EE67BA4@utd71538.local> In-Reply-To: <1301419646.71335.123.camel@xenon> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> 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: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:11:10 -0000 --On March 29, 2011 7:27:26 PM +0200 Michal Varga wrote: > On Tue, 2011-03-29 at 11:43 -0500, Paul Schmehl wrote: > >> FreeBSD is first and foremost a server OS. > > Could you support your claim with some examples, please? > Seriously? Visit Netcraft. > >> Desktop support is lacking when compared to the other major OSes >> (Windows, Mac and Linux). > > Here too. How is "desktop support" on FreeBSD lacking? > > Just getting Xorg working correctly can be a challenge. Installing a DM adds another layer of complexity that some find daunting. Flash, Java, Youtube - all take extra work and in some cases (amd64) don't work very well at all. Check the questions archives for innumerable examples. For a new user, printing can be difficult to get working correctly. So can figuring out how to use a CD. The graphics are not up to par with Windows, much less Mac OS. I have used and continue to use numerous OSes; Windows (every OS since Workgroups 3.0), Mac (every OS since 6.x), Ubuntu, RedHat, Slackware, Gentoo, CentOS, OpenBSD, AIX, Solaris and FreeBSD (just to name a few), and I can assure you that FreeBSD's desktop system is not on the same par with the others with the exception of OpenBSD, AIX and Solaris. I ran FreeBSD as a desktop system on my primary computer for about three years and through several in-place upgrades (from 6.2 to 8.0) without ever formatting and reinstalling. I've used Gnome, KDE and xfce and played around with wm during a minimalist phase. >> You can make it >> work, if you want to, but that's not what its primary function is. > > Where can I find some detailed information about what is FreeBSD's > "primary funtion" and what does that even mean in the first place? > Don't you think you're being a little silly here? I've used FreeBSD as a server OS for over ten years and it is hands down the best OS for that function that I have ever used. But as a desktop, it is less than stellar. I am *not* being critical of the folks who make FreeBSD what it is, but it's obvious to anyone who uses it that the desktop functionality is not the primary focus. I *love* FreeBSD. I'm a port maintainer, so that should show you the level of commitment that I have to the OS. But a desktop OS, it ain't. It can be made one by a skilled user, but even I got tired of having to constantly tweak it. Upgrade Xorg and all of a sudden crap stops working again. (Remember hal? Then hal goes away....) Upgrade KDE and it breaks functionality. Then you troubleshoot, figure out what went wrong and get it working again. I now use a Mac and run FreeBSD in VMWare Fusion. Much less hassle. > >> If you want a user friendly desktop OS, FreeBSD is probably not your >> best choice. > > Why? How is KDE, Gnome, XFCE or some potential other desktop environment > different from the literally exactly same one running on, say, Linux? > If you are really serious, install Ubuntu. Then tell me you can get the same results from the FreeBSD installer without tweaking. Launch a browser and run flash. Try to get Java working on all web pages. Go to Youtube and see if you can watch a video. Ubuntu does it out of the box. FreeBSD only does it after you tweak and tweak and tweak and google and google and google. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:16:26 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 602F5106564A for ; Tue, 29 Mar 2011 19:16:26 +0000 (UTC) (envelope-from jhsu802701@jasonhsu.com) Received: from meso.stormserver1.net (meso.stormserver1.net [72.52.153.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3D2D08FC08 for ; Tue, 29 Mar 2011 19:16:25 +0000 (UTC) Received: from mn-74-5-64-245.dhcp.embarqhsd.net ([74.5.64.245]:42977 helo=localhost) by meso.stormserver1.net with smtp (Exim 4.69) (envelope-from ) id 1Q4ePK-0004C2-RZ for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 14:16:51 -0500 Date: Tue, 29 Mar 2011 14:16:22 -0500 From: Jason Hsu To: freebsd-stable@freebsd.org Message-Id: <20110329141622.59e31557.jhsu802701@jasonhsu.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.18.9; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - meso.stormserver1.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jasonhsu.com X-Source: X-Source-Args: X-Source-Dir: Subject: Best first desktop BSD distro X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:16:26 -0000 Thanks for your thoughts on making the move from Linux to BSD. I'm not making the move because I don't like Linux. Instead, I want to learn BSD. I find that the best way to familiarize myself with a distro is to adopt it as my main distro (for web browsing, email, word processing, etc.). But the challenge of BSD have so far proven too much for me. It would take too long to configure FreeBSD to my liking. I couldn't figure out what to enter in GRUB to multi-boot Linux and BSD. I tried PC-BSD, GhostBSD, and DragonflyBSD in VirtualBox. I've found PC-BSD agonizingly slow to install and operate, and KDE didn't even boot up when I logged in. GhostBSD has too many things that don't work, such as the keyboard on my laptop and my Internet connection on my desktop. DragonflyBSD didn't boot up in Virtualbox. I recommend Linux Mint as a first Linux distro. It's user-friendly, well-established, widely used, includes codecs/drivers that Ubuntu doesn't, and has a Windows-like user interface. For those with older computers, I recommend Puppy Linux or antiX Linux as a first distro. I'm looking for the analogous choice in the BSD world. So what do you recommend as my first desktop BSD distro? What desktop BSD distro is so easy to use that even Paris Hilton can handle it? Please keep in mind that I have a slow Internet connection, and these BSD distros are ENORMOUS. It took some 12-14 hours to download PC-BSD. -- Jason Hsu From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:17:20 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02DAE106566B for ; Tue, 29 Mar 2011 19:17:20 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh3.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id B80F58FC0C for ; Tue, 29 Mar 2011 19:17:19 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh3.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q4ePk-0005aM-Dc for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 15:17:17 -0400 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 29 Mar 2011 12:17:15 -0700 Date: Tue, 29 Mar 2011 12:17:15 -0700 From: Chip Camden To: freebsd-stable@freebsd.org Message-ID: <20110329191715.GC2281@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-stable@freebsd.org References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <4D9223DB.7010701@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FsscpQKzF/jJk6ya" 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 - wh3.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: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:17:20 -0000 --FsscpQKzF/jJk6ya Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Adam Vande More on Tuesday, 29 March 2011: >=20 > I think a entry on people who are obsessed with collecting OS's warrants = an > entry in the DSM IV. >=20 Well, I probably warrant my own entry in the DSM IV (just ask my wife). --=20 =2Eo. | Sterling (Chip) Camden | http://camdensoftware.com =2E.o | sterling@camdensoftware.com | http://chipsquips.com ooo | 2048R/D6DBAF91 | http://chipstips.com --FsscpQKzF/jJk6ya Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNkjA7AAoJEIpckszW26+Rp9cIAKZjs6ReQQciY/v6MUp2zNgH pEUhU4YmexelwyKoXWde3Il0IxaRVBgQ8uMb5D6aPhtSLpGChZoqEZX/V6cLk0Ra ZzJAh5cx7xjHPjkPWjVc1VsTkF5csJIyVg90O2FjWyv+ME13eFyqa6C/uwleTzO2 6zh6iRuATLTktFnkEGnPQvQVHAJEsSWCMu72wJzDFra7pHH4BmxzPK4zZUjJd9rA mLvjUIoUSCeSdK5k8aM5Lj5JBWa0uCGYXIFfRs2vmTYaltmXsGpeb5UAjjaT3BhI kwOavpXyTGGWbUhIuY+ol3m13MkYfzVxjYs6mPyfqbRT7+fbwPsSWaZ6sGZEVqU= =/jZJ -----END PGP SIGNATURE----- --FsscpQKzF/jJk6ya-- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:32:19 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9121F106566B for ; Tue, 29 Mar 2011 19:32:19 +0000 (UTC) (envelope-from prvs=0623c498d=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 5A79F8FC15 for ; Tue, 29 Mar 2011 19:32:19 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcKANQykk2BbgogVmdsb2JhbAClWQEhAiSJHrtyhWoEhTyORQ X-IronPort-AV: E=Sophos;i="4.63,264,1299477600"; d="scan'208";a="53554587" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2011 14:32:16 -0500 Date: Tue, 29 Mar 2011 14:32:15 -0500 From: Paul Schmehl To: Michal Varga , Matthew Fleming Message-ID: <55976D748BCC94E34839C2A6@utd71538.local> In-Reply-To: <1301422804.71335.143.camel@xenon> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <1301422804.71335.143.camel@xenon> 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: Paul Schmehl , Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:32:19 -0000 --On March 29, 2011 8:20:04 PM +0200 Michal Varga wrote: > On Tue, 2011-03-29 at 10:51 -0700, Matthew Fleming wrote: >> On Tue, Mar 29, 2011 at 10:27 AM, Michal Varga >> wrote: >> > Here too. How is "desktop support" on FreeBSD lacking? >> >> I realize a desktop means many things to many people, but the biggest >> thing holding me back from using FreeBSD on a desktop is flash >> support. I spent a little time trying to follow online instructions >> and I didn't get anything working. > > Lack of Flash support - a proprietary closed exploit-ridden hellhole - > sorry, I mean - "application" - that's in no way tied to FreeBSD and > controlled by a legendarily uncompetent company that blantantly refuses > to release a FreeBSD version of this very fine and awesome rootkit (a > good decision that one can only support, so really, what's the issue) is > hardly something that could even remotely be FreeBSD's fault. I mean, > this is what we're talking about: > Michal, calm down. No one is blaming FreeBSD for any of this. But seriously, man, install FreeBSD - no ports - then run a desktop system for me. You can't. That's how silly your argument is. You can't do it, because FreeBSD does not have a system-installed desktop. Even Xorg is a port. No way is the crap that other people (like Adobe) put out the fault of FreeBSD, but by the same token, you can hardly claim FreeBSD is good desktop system when it doesn't even have a display system without the use of ports. Flash may be riddled with holes (it clearly is) but those are Windows holes. If I'm running flash on FreeBSD (if I can even get it working), I could care less about Windows exploits. It may come as a shock to you (it certainly seems to) but there are actually legitimate reasons for needing a functional flash installation. Nothing can be all things to all people. FreeBSD is a fantastic server OS. As a desktop OS, not so much. Since this is rapidly descending into bizarro world, I'll let you have the last word. You clearly are eager to defend FreeBSD to the hilt, no matter how ridiculous your argument becomes. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:34:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A5E7106566C for ; Tue, 29 Mar 2011 19:34:07 +0000 (UTC) (envelope-from prvs=062d22129=stephen@missouri.edu) Received: from mxtip01-umsystem-out.um.umsystem.edu (mxtip01-umsystem-out.um.umsystem.edu [209.106.229.49]) by mx1.freebsd.org (Postfix) with ESMTP id B99678FC21 for ; Tue, 29 Mar 2011 19:34:06 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At8JAKczkk3RauUo/2dsb2JhbACER6EIBnFVLwGFUYIcqj6ISohsgSeDTHcEhTyLGgaDJQ Received: from um-tsmtpout1.um.umsystem.edu ([209.106.229.40]) by mxtip01-mizzou-out.um.umsystem.edu with ESMTP; 29 Mar 2011 14:34:05 -0500 Received: from um-tsmtpout1.um.umsystem.edu ([209.106.229.35]) by um-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Mar 2011 14:34:05 -0500 Received: from [192.168.1.69] ([173.202.227.194]) by um-tsmtpout1.um.umsystem.edu with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Mar 2011 14:34:05 -0500 Message-ID: <4D92342C.8040705@missouri.edu> Date: Tue, 29 Mar 2011 14:34:04 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101206 SeaMonkey/2.0.11 MIME-Version: 1.0 To: Michal Varga References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <1301422804.71335.143.camel@xenon> In-Reply-To: <1301422804.71335.143.camel@xenon> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Mar 2011 19:34:05.0471 (UTC) FILETIME=[43EAD2F0:01CBEE48] Cc: Paul Schmehl , Jason Hsu , Matthew Fleming , "freebsd-stable@freebsd.org" Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:34:07 -0000 Michal Varga wrote: > On Tue, 2011-03-29 at 10:51 -0700, Matthew Fleming wrote: > >> On Tue, Mar 29, 2011 at 10:27 AM, Michal Varga wrote: >> >>> Here too. How is "desktop support" on FreeBSD lacking? >>> >> I realize a desktop means many things to many people, but the biggest >> thing holding me back from using FreeBSD on a desktop is flash >> support. I spent a little time trying to follow online instructions >> and I didn't get anything working. >> > Lack of Flash support - a proprietary closed exploit-ridden hellhole - > sorry, I mean - "application" - that's in no way tied to FreeBSD and > controlled by a legendarily uncompetent company that blantantly refuses > to release a FreeBSD version of this very fine and awesome rootkit (a > good decision that one can only support, so really, what's the issue) is > hardly something that could even remotely be FreeBSD's fault. I mean, > this is what we're talking about: > > http://secunia.com/advisories/search/?search=adobe+flash > > But even in a completely hypothetical scenario where Flash wouldn't be > the world's most famous never-ending exploit carnival in the entire > existence of the universe, how that makes FreeBSD less desktop friendly > or less desktop capable? Adobe decided to not release their software on > FreeBSD (again, thank you Adobe, that's a thousand less attack vectors > daily to worry about), but there is no issue with FreeBSD with regard to > that, isn't it? This isn't the case that "FreeBSD broke the Flash" (ok, > this isn't funny anymore), there was never any FreeBSD Flash in the > first place. So no FreeBSD issue exists, or at least I can't see it, or > maybe I simply don't get something here. > > There is also no Microsoft Windows Management Console for FreeBSD, does > it make FreeBSD lacking, insufficient, or broken in some specific server > area? > 1. Lack of good flash support is most definitely not FreeBSD's fault. But if you want easy to use flash support, you don't care who's fault it is, you just care where you can get it. 2. I have found i386 flash support works well on FreeBSD. But on the amd64, my experience was that it was very flaky. (But I do agree that Windows is also flaky.) 3. Whether or not the use wants the ability to install a proprietary closed exploit-ridden hellhole depends upon what they want. If they want to go to movie web sites and view the latest trailers complete with all the flashy add ons, then FreeBSD is not the way to go. Of course, if your idea of a good desktop experience is as a software development environment, or to write math papers in latex, or to check email with little to no risk of acquiring the latest virus, FreeBSD wins out hands down. Stephen From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:37:09 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA716106564A for ; Tue, 29 Mar 2011 19:37:09 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3F11C8FC1D for ; Tue, 29 Mar 2011 19:37:08 +0000 (UTC) Received: by bwz12 with SMTP id 12so542004bwz.13 for ; Tue, 29 Mar 2011 12:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8LRXKRHVksBPNE1g3olOIAlsstI44AhrB99AX+6EOUQ=; b=VGdAZ1uAD3iuMmelhrAxPsMlE90h78Nik6lGUQtBfoRVR3ipFjgMXmoqEYwshNnwsx NLrXIRnApT+OL4wIK0loeMFQr59iiFQAn1LhxPUQ87npqvKh/ueoexkqNSnGXqvTVXVd 11t1UyS+M7WEVZae9lfZ5zUDzQ1AL+OL8USEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ta/m6pzucH2srjy7fkDB0h3rELcNmMGCyT9x/tGV6jAUucsdzEN8+U1a6LHfXbHbns vdWNoLw0o5vMCgS5v2miDk3FK7RkXbCR5uRlc6j8Rgs9tjdLguaG3znjhau+ABNX65qc MWE1HedPQmkOSOHaNQwon/1rVtCJnOCvYS1PA= MIME-Version: 1.0 Received: by 10.204.19.6 with SMTP id y6mr215700bka.159.1301427428085; Tue, 29 Mar 2011 12:37:08 -0700 (PDT) Received: by 10.204.118.200 with HTTP; Tue, 29 Mar 2011 12:37:07 -0700 (PDT) In-Reply-To: <87B0CCF2B38381F29EE67BA4@utd71538.local> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <87B0CCF2B38381F29EE67BA4@utd71538.local> Date: Tue, 29 Mar 2011 14:37:07 -0500 Message-ID: From: Adam Vande More To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:37:09 -0000 On Tue, Mar 29, 2011 at 2:11 PM, Paul Schmehl wrote: > Go to Youtube and see if you can watch a video. Ubuntu does it out of the > box. FreeBSD only does it after you tweak and tweak and tweak and google > and google and google. Or just follow the instructions. If people really find that difficult I'm not sure any OS is going to be the answer long term. If you do enough computer use you'll have to follow instructions at some point. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html Java is a different matter. Handbook should be updated to use the iced tea plugin since the other java plugin doesn't work on new FF plus it's other deficiencies. Comparing Ubuntu and FreeBSD is a false choice and if you want a rough equivalent of ubuntu, use PCBSD. I don't agree with what you say is so hard, but there are options to take most of that overhead away. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:37:35 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64DB610657B7 for ; Tue, 29 Mar 2011 19:37:35 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 104CE8FC08 for ; Tue, 29 Mar 2011 19:37:34 +0000 (UTC) Received: by qwc9 with SMTP id 9so436006qwc.13 for ; Tue, 29 Mar 2011 12:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AYKAvg9dgfum1nFMASIVN/WZuG27LIKPeEHh4QdqoDw=; b=sk6CCGLVtyL3AN5J57NBZfXc2rRq2G7gH0uyL03r46BYjsy++zsuDZsCZJ7W1jeIqd EDl36Lp2emBHTxE0wicKgIY8H13iMlSXwd35mMZAAD3I1sivY9vzSvgtPRoffkjjfykr zr9hFPWe5ihhxmB3TdLguNLKotHs+mBR63w64= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=vOtDdhWgH0LIXBud+WgfIWpNzb4GNQnE/DtXMG9jCdaSepk2yzga4msuY7ZG2x3Jae 7+hzKoP8kH5/Tofqzvpw8/ToQ9O8f6gLaXpSW4ey9m5tIy8Rh3Z8NH/TsJZSLnDZLH4/ tIIVP/QqNHsctAYd9oO3mLG9BwLaWjm2KxtZg= MIME-Version: 1.0 Received: by 10.224.183.79 with SMTP id cf15mr242106qab.0.1301427454154; Tue, 29 Mar 2011 12:37:34 -0700 (PDT) Received: by 10.229.91.144 with HTTP; Tue, 29 Mar 2011 12:37:34 -0700 (PDT) In-Reply-To: <20110329155149.167768mu74in1ios@webmail.leidinger.net> References: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> <20110329155149.167768mu74in1ios@webmail.leidinger.net> Date: Tue, 29 Mar 2011 21:37:34 +0200 Message-ID: From: Claus Guttesen To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 Cc: Rick Macklem , FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:37:35 -0000 >> All ip-activitiy, dns, ssh etc. on the interface (ip-address) that is >> mounted. So whenever I test I log in to the server using the other >> ip-address and whenever it stops responding to ping or my screen >> session stops I reload the interfaces and the traffic resumes. > > Are the two NICs the same brand/driver/board? If not, could you try to > switch the networks on them and test if the problem persists? It would also > be nice if you could tell which driver/chip the NIC with the problem is. It's a supermicro server with dual igb-nics on the mainboard. I did try other cables and other ports on the switch (hp procurve). I don't have access to the server atm. but I'll get the chip-info in a day or two. Both ip-addresses are on same subnet. Speed is autonegotiated to 1 GB full duplex on server and switch. No errors detected using netstat or on switch. -- regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare twitter.com/kometen From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:43:25 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 0F6C8106566C for ; Tue, 29 Mar 2011 19:43:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B6AD714DB69; Tue, 29 Mar 2011 19:43:24 +0000 (UTC) Message-ID: <4D92365C.5060008@FreeBSD.org> Date: Tue, 29 Mar 2011 12:43:24 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Thunderbird/3.1.9 MIME-Version: 1.0 To: Adam Vande More References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <87B0CCF2B38381F29EE67BA4@utd71538.local> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:43:25 -0000 On 03/29/2011 12:37, Adam Vande More wrote: > Java is a different matter. Handbook should be updated to use the iced tea > plugin since the other java plugin doesn't work on new FF plus it's other > deficiencies. It's been update for some time now. :) http://www.freebsd.org/doc/en/books/handbook/desktop-browsers.html -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:49:30 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F0CB1065670 for ; Tue, 29 Mar 2011 19:49:30 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh3.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8A18FC12 for ; Tue, 29 Mar 2011 19:49:30 +0000 (UTC) Received: from c-24-22-230-24.hsd1.wa.comcast.net ([24.22.230.24] helo=_HOSTNAME_) by wh3.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q4eus-0006WR-SH for freebsd-stable@freebsd.org; Tue, 29 Mar 2011 15:49:27 -0400 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Tue, 29 Mar 2011 12:49:25 -0700 Date: Tue, 29 Mar 2011 12:49:25 -0700 From: Chip Camden To: "freebsd-stable@freebsd.org" Message-ID: <20110329194925.GE2281@libertas.local.camdensoftware.com> Mail-Followup-To: "freebsd-stable@freebsd.org" References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <1301422804.71335.143.camel@xenon> <4D92342C.8040705@missouri.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T6xhMxlHU34Bk0ad" Content-Disposition: inline In-Reply-To: <4D92342C.8040705@missouri.edu> 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 - wh3.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: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:49:30 -0000 --T6xhMxlHU34Bk0ad Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Stephen Montgomery-Smith on Tuesday, 29 March 2011: > 3. Whether or not the use wants the ability to install a proprietary=20 > closed exploit-ridden hellhole depends upon what they want. If they=20 > want to go to movie web sites and view the latest trailers complete with= =20 > all the flashy add ons, then FreeBSD is not the way to go. Of course,=20 > if your idea of a good desktop experience is as a software development=20 > environment, or to write math papers in latex, or to check email with=20 > little to no risk of acquiring the latest virus, FreeBSD wins out hands= =20 > down. >=20 A most excellent point. Define "desktop system." I couldn't care less about Flash, myself. A secure, fast, and open development box is what I need. =20 >=20 --=20 =2Eo. | Sterling (Chip) Camden | http://camdensoftware.com =2E.o | sterling@camdensoftware.com | http://chipsquips.com ooo | 2048R/D6DBAF91 | http://chipstips.com --T6xhMxlHU34Bk0ad Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJNkjfFAAoJEIpckszW26+RGesIAKthvrcm5b8BhY+mifEff+7C xAdPeDpCtVOvKht6Bq/fDO57Qu/IzoygtMHN/BzlgNEf1aeEY3Ke9SXF/fQAkETq q9bD+iEJZBErgBRzndLk0HQ1V+qQiGrvOIXYqkIA/1rkpOJbBDSmEtjUOTqaVwxF IOY5gG4zflLSemi/giZurOImFeCRNRQAJn4duyA8TqnmE3KuwU9ggoR5BZT9bQxI eEcwTu65t7v1DvTnCReWkjbe36+4Lyh+KFWbBvtfEovXjuaEjw0VgNVwLUAxNQXn iIUJPTn4LIOWXE0ej8N+cBDd2WpWcn9DGTuI4Nwyb0bRDQqOx5PGTVyXUz6st5U= =voN0 -----END PGP SIGNATURE----- --T6xhMxlHU34Bk0ad-- From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:54:53 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id AE5581065677 for ; Tue, 29 Mar 2011 19:54:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 1E281158CC3; Tue, 29 Mar 2011 19:54:53 +0000 (UTC) Message-ID: <4D92390C.4080609@FreeBSD.org> Date: Tue, 29 Mar 2011 12:54:52 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Thunderbird/3.1.9 MIME-Version: 1.0 To: Paul Schmehl References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <1301422804.71335.143.camel@xenon> <55976D748BCC94E34839C2A6@utd71538.local> In-Reply-To: <55976D748BCC94E34839C2A6@utd71538.local> X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Jason Hsu , Matthew Fleming , Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:54:53 -0000 On 03/29/2011 12:32, Paul Schmehl wrote: > That's how silly your argument is. You can't do it, because FreeBSD > does not have a system-installed desktop. Even Xorg is a port. It is in linux too, it's just that the various distros who focus on the desktop have bundled it into the default installation so when you install $distro you get a complete desktop environment from the beginning. If you look under the hood, you can see the individual packages that make up the "desktop." For those arguing that FreeBSD is a great desktop OS, I would encourage you to spend some time using some of the linux versions mentioned in this thread. Or if you want to be really blown away just start with Ubuntu. For some of you, the first reaction will be "this is not what I'm used to!" but I encourage you to try and get past that, and look at things from the "average user's" point of view. Most computer users don't want to spend time fiddling with their OS, the just want to do their thing (web, mail, documents and spreadsheets being the vast majority of "things" they want to do). For those purposes a distro like Ubuntu completely blows FreeBSD out of the water in terms of coming out of the box in a fully functional state, and in terms of ease of use for maintenance, updates, etc. there is no comparison. All that said, I personally have been using a FreeBSD desktop in a multi-boot environment for over 15 years, the last 10 have been primarily on -current. But I *like* to fiddle with stuff, fix/report bugs, etc. If you want to learn the OS, it's a great way to go. But that's why I asked Jason what his goals were in my first message. If your goal is simply to have a desktop environment that's easy to use, FreeBSD is not it. We need to be honest with ourselves about that if we're ever going to make progress on it. Doug PS, it would be really helpful if people could tone down the language a bit, and the vitriol a lot. Thanks. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 19:58:01 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39472106567B for ; Tue, 29 Mar 2011 19:58:01 +0000 (UTC) (envelope-from prvs=0623c498d=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 078028FC17 for ; Tue, 29 Mar 2011 19:57:58 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvwKAPI4kk2BbgogVmdsb2JhbACER6AwYgEhAiSJHqoykTGBJ4NMdwSFPI5F X-IronPort-AV: E=Sophos;i="4.63,264,1299477600"; d="scan'208";a="57048491" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2011 14:57:56 -0500 Date: Tue, 29 Mar 2011 14:57:55 -0500 From: Paul Schmehl To: Adam Vande More , Paul Schmehl Message-ID: <4351D0CD39E5FC00C9A55C6C@utd71538.local> In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <87B0CCF2B38381F29EE67BA4@utd71538.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 19:58:01 -0000 --On March 29, 2011 2:37:07 PM -0500 Adam Vande More=20 wrote: > > On Tue, Mar 29, 2011 at 2:11 PM, Paul Schmehl > wrote: > > Go to Youtube and see if you can watch a video. =C2=A0Ubuntu does it out = of > the box. =C2=A0FreeBSD only does it after you tweak and tweak and tweak = and > google and google and google. > > > Or just follow the instructions.=C2=A0 If people really find that = difficult > I'm not sure any OS is going to be the answer long term.=C2=A0 If you do > enough computer use you'll have to follow instructions at some point. > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browser > s.html > Imagine that. And yet you can find numerous posts in questions from people = who struggle with it. Must be stupid people then, huh? > Java is a different matter.=C2=A0 Handbook should be updated to use the = iced > tea plugin since the other java plugin doesn't work on new FF plus it's > other deficiencies. > At least you're willing to admit there have been some deficiencies.... > Comparing Ubuntu and FreeBSD is a false choice and if you want a rough > equivalent of ubuntu, use PCBSD.=C2=A0 I don't agree with what you say is = so > hard, but there are options to take most of that overhead away. Can we at least agree that the OP found it hard? Could we further agree=20 that he's not the first one to encounter problems? Sure FreeBSD isn't hard for those of us who have used it for years, but=20 seriously, to expect a newbie to just roll the OS out, get a desktop up and = running, install a functional flash and java without encountering any=20 difficult issues is a bit unrealistic, don't you think? As I stated in another reply, I just got tired of the hassle of constantly=20 having to fix things that were working fine before I ran portupgrade. And=20 I gave up on flash. It simply did not work. I just installed VirtualBox=20 and ran Windows 7 in it. I finally asked myself why I was wasting my valuable time trying to get and = maintain functionality that "just worked" on the Mac. The answer was, stop = wasting your time. Again, this is *not* a knock on FreeBSD, but there is a world of difference = between installing an OS that runs a window display system (like Xorg) and=20 a DM (like KDE) and flash and java and all the things that I am forced to=20 use for my work out of the box and installing all those ports and=20 maintaining them and fixing the problems that inevitably occur. That's why my desktop OS is now a Mac. Because when I have to attend a=20 meeting using Adobe Connect (which I will doing next week), I can't do that = in a FreeBSD desktop without a *lot* of work and tweaking, if at all. When = I need to do a remote session with a vendor to fix yet-another-problem on a = stupid Windows server, I need Java to work flawlessly with Go To My PC. It = may or may not do that on FreeBSD. No, it's not FreeBSD's "fault", but who = really gives a damn when it needs to work? And, after all, isn't that the OP's complaint? --=20 Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 20:07:03 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85313106566B for ; Tue, 29 Mar 2011 20:07:03 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 314668FC0C for ; Tue, 29 Mar 2011 20:07:02 +0000 (UTC) Received: by qwc9 with SMTP id 9so458577qwc.13 for ; Tue, 29 Mar 2011 13:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ormelKV9gP1Q3YOQAXcdQBFdu/OK8U1rl7XM84nWgmE=; b=NdQ4oaiYA9ANIRRw/ug5cQkOGBwZNWWFbVCtsxPiTMxzzSHrc9/xoGlbvnh1/uGs5Y Wm1rIk3b1tE7eR3vmhZApR5cw5Y5DnwXSszpMV0Jv+LiBOesQghbRfbsBusI+GIgXj4/ gHzdG3FxPY7I7bM82EFDkr4kv4yRBIFPKiKQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Hhu6dRVeb7yFeyqkQsXxXp/MfKbsknnYC4Md3nGK/O5EBLpSQNTj/fV3NoW08Qy8jF X51XUWSGDfYu77FguYM6x3JLf1ouTdUPSdVoFONIDqVAXWr7Jblni/LimjDODeMxAty9 qbbyHYvOX3S8oLsGpQ3howd12j7BqMUGaeEoM= MIME-Version: 1.0 Received: by 10.224.9.197 with SMTP id m5mr251905qam.367.1301429222250; Tue, 29 Mar 2011 13:07:02 -0700 (PDT) Received: by 10.224.67.21 with HTTP; Tue, 29 Mar 2011 13:07:02 -0700 (PDT) In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> Date: Tue, 29 Mar 2011 16:07:02 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Paul Schmehl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 20:07:03 -0000 On Tue, Mar 29, 2011 at 12:43 PM, Paul Schmehl wr= ote: > --On March 29, 2011 1:32:23 AM -0400 Jason Hsu > wrote: > > ... > >> 4. What are the Linux Mint and Puppy Linux of the BSD universe? I >> consider these two distros to set the standard in the Linux universe, >> because they're so user-friendly. These are the distros I've set out to >> compete against in developing Swift Linux. >> > > FreeBSD is first and foremost a server OS. Desktop support is lacking wh= en > compared to the other major OSes (Windows, Mac and Linux). You can make = it > work, if you want to, but that's not what its primary function is. > > If you want a user friendly desktop OS, FreeBSD is probably not your best > choice. > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > Business of an operating system is to manage the resources of the computer hardware and execute suitably written user programs whatever the subjects o= f those programs are . Therefore distinguishing between =C2=A8Server Operating System=C2=A8 and = =C2=A8Desktop Operating System=C2=A8 is an artificial discrimination which these may be attributed to configuration parameters . If a so-called =C2=A8operating system=C2=A8 lacks any capability to manage = either of these parts ( hardware and software ) , it is my opinion that =C2=A8operati= ng system=C2=A8 is not a proper name for it . When we consider the FreeBSD from point of view of operating systems , it i= s a wonderful operating system . Then what is the trouble which is not widely adopted for desktop usage and actually by super computers ? In my opinion , it is the default installation configuration . The attitude for default configuration seems to make it restrictive against easy use as much as possible . The wrong point is ( that design decision ) that make it unusable by the inexperienced or first time users . During its design of user interface the above fact is not taken into consideration very much ( with respect to my opinion ) . Please do NOT take my ideas against the FreeBSD developers . These ideas ar= e expressed just to illuminate difficulties and discuss possible remedies . When a point is difficult for a computer engineer with more than forty year= s of computing experience , please think its level of difficulty . During install , it is possible to ask whether that computer will be used b= y multiple users or a single user which this fact is asked explicitly BUT not utilized sufficiently : Questions and answers by the installer : Will be NSF server ? NO . Will be NSF client ? NO . Will be FTP server ? NO . Will be GATEWAY ? NO . etc. All the information about whether the computer will be used as a server or = a desktop computer is given by the above answers . Therefore , it is VERY EAS= Y to select installed configuration files with respect to the answers to the above questions : For the server : Very restrictive settings , because server administrators need high level of security , For the single user : Very permissive settings for the user land , because single users need easy usage , but very restrictive settings for the root related parts to prevent malicious software invasion . The point is very clear : The computer is belong to me : I can crash it , I can destroy it , I can throw it to fire , and the worst case , I can insert another operating system installer and completely erase FreeBSD on it , BUT I can NOT auto mount a USB stick ( which is possible to do it since 1998 in Windows ) , I can NOT auto mount a DVD/CD ( which is possible , perhaps it started with first Windows in 1995 ) , although such operations are also possible in FreeBSD always . Then , it is not possible to understand why FreeBSD is isolating itself fro= m society . To see the amount of adoption , please consider the following web site ( in my opinion even it is not necessary to look elsewhere for level of adoption because from Central Limit Theorem of Statistics , we can conclude that a sample size of 500 is a complete representative of whole universe ) : http://www.top500.org/ At the right top of its page , there is a Statistics part . >From its ( Statistics Type ) part select ( Operating System Family ) and click Generate : http://www.top500.org/stats/list/36/osf For 11/2011 among top 500 super computers : Linux 459 Windows 5 Unix 19 BSD based 1 : OpenSolaris Mixed 16 . >From its ( Statistics Type ) part select ( Processor Family ) and click Generate : http://www.top500.org/stats/list/36/procfam Power 40 Nec 1 Sparc 1 Intel IA-64 5 : Itanium Intel EMT64T 392 : amd64 in FreeBSD AMD x86_64 57 : amd64 in FreeBSD Intel Core 1 : i386 or amd64 in FreeBSD Others 2 I am NOT against Linux or any other operating system , but my concern is when a very high technology is available in FreeBSD , why it is NOT used extensively which it is sure that it is useful for society . Then , what may be the solutions : Instead of pursuing a solid rock Handbook , please include a facility on each page to get opinions , questions of users about information given in that page , and link these responses to TODO pages , to track problems . These opinions or questions will be more informal with respect to problem reports . When the SVN is inspected , in some directories there are man pages along with the corresponding programs . My impression is that each program of the operating system does not have such pairs . For the missing pairs , move man pages into the respective directories and always update man pages when the respective programs are updated to keep man pages as synchronized . Some man pages are really very cryptic which is not possible to understand them . In the ( man page ) display pages of the FreeBSD web site , allow user opinions and questions to be entered and link these to man page TODO lists . In the same way , distribute all of the respective Handbook pages into program directories , and update them with the programs along with man page= s . Some Handbook pages may be directly generated form man pages by combining the Handbook page and the man page . This will reduce maintenance requirements . The quality of the Handbook is very high ( and very good ) . This makes it difficult to maintain . Allow simple tutorial pages to be linked and included into Handbook to supply application case studies , etc. At present , these pages are scattered all over the internet and many of them are related to older versions which they are useful for users of these older versions , but new versions do not have respective tutorials . A new user will obviously start from the latest release without having sufficiently available tutorials . The Handbook is NOT a sufficiently detailed tutorial book which its purpos= e is NOT to be such a detailed tutorial book . It is necessary to enrich it b= y supplying tutorial page links to its pages which these pages should be stored into FreeBSD servers to protect them from frequent disappearing or modification cases of web sites . Allow people to submit plain text files for possible inclusion into Handboo= k to be used by other ( developers or committers ) to utilize as starting parts as to be formatted . Every possible contributor may not know SGML sufficiently well . During installation distinguish between server related settings and single user related settings , and select installed configuration files with respect to this structure . It is very obvious that any solution attempt requires human time and monetary allocations . There is a problem : egg from chicken , chicken from egg . A few months ago , www.wikipedia.org collected more than 15 million dollars by a contribution help campaign with participants reaching to approximately 2 million ( if I remember correctly ) persons with average contribution level around 10 dollars . Last year , their need was around 7 million dollars . If it is possible , such campaigns may be arranged yearly by the FreeBSD Foundation to cover development costs . I believe in that FreeBSD is used mainly in servers and owners of these servers will participate such campaigns because outcome will be directly usable by them . The single user persons need a very easily usable highly secure operating systems , therefore they also wish to support the FreeBSD development because their contributions will return to themselves as more high quality operating system . Thank you very much with my best wishes for FreeBSD developers and its user= s ( with the rest of humanity ) . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 20:20:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F4DC106564A for ; Tue, 29 Mar 2011 20:20:50 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E9F358FC12 for ; Tue, 29 Mar 2011 20:20:49 +0000 (UTC) Received: by bwz12 with SMTP id 12so578870bwz.13 for ; Tue, 29 Mar 2011 13:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fqea3nL4S3bv25PM5FjYuWAZR1zDj3n8EpT8+iwlaEc=; b=ncm4zr+g4iAdKw/UG4WMvt6S+cy4dsuvEvgqHwY7h7PvsNNFBeo9fi3IHHB7VUOlhU YzqE8WH3FUL8fi49ilzoeMtDkfMw8ttrXuO4QmrioYiLNl+lzzzGlcTwgu2Ic1LP7Hri NxYwb0p3obtLSszfZwrwKS6ft4UyRDqkIo8JE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=XMPxhRB16Qfnq68kCRrEAZ5rl1ovR5mCfE7zRd4uyk6LAN+zKdEPShBFcYOsEvMfQs J99R5zfKB4Z/TcnPbyMOsQHzysWd5azcJOIggtaCYVtdXeX3V4LpWFB+SZSpkWK0q+/U 6lMAswp7cKOWgdZibByPlh1l0YFr1GTyKHgfM= MIME-Version: 1.0 Received: by 10.204.19.6 with SMTP id y6mr264676bka.159.1301430048571; Tue, 29 Mar 2011 13:20:48 -0700 (PDT) Received: by 10.204.118.200 with HTTP; Tue, 29 Mar 2011 13:20:48 -0700 (PDT) In-Reply-To: <4351D0CD39E5FC00C9A55C6C@utd71538.local> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <87B0CCF2B38381F29EE67BA4@utd71538.local> <4351D0CD39E5FC00C9A55C6C@utd71538.local> Date: Tue, 29 Mar 2011 15:20:48 -0500 Message-ID: From: Adam Vande More To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 20:20:50 -0000 On Tue, Mar 29, 2011 at 2:57 PM, Paul Schmehl wrote: > Or just follow the instructions. If people really find that difficult >> I'm not sure any OS is going to be the answer long term. If you do >> enough computer use you'll have to follow instructions at some point. >> >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browser >> s.html >> >> Imagine that. And yet you can find numerous posts in questions from > people who struggle with it. Must be stupid people then, huh? I'll let you answer that. > > Java is a different matter. Handbook should be updated to use the iced >> tea plugin since the other java plugin doesn't work on new FF plus it's >> other deficiencies. >> >> > At least you're willing to admit there have been some deficiencies.... And yet I was already proven wrong on that point. > Comparing Ubuntu and FreeBSD is a false choice and if you want a rough > equivalent of ubuntu, use PCBSD. I don't agree with what you say is so > hard, but there are options to take most of that overhead away. > Can we at least agree that the OP found it hard? Could we further agree > that he's not the first one to encounter problems? > What's so hard about PCBSD? > > Sure FreeBSD isn't hard for those of us who have used it for years, but > seriously, to expect a newbie to just roll the OS out, get a desktop up and > running, install a functional flash and java without encountering any > difficult issues is a bit unrealistic, don't you think? > Depends on what you mean by newbie. Someone who's an experienced *nix person it shouldn't be that hard at all. Coming from a Windows background or someone that thinks gnome is ubuntu yeah it probably a real shock to the system. However the fact that they are here means they are willing to learn. If you aren't, it's not the thing for you. That's why my desktop OS is now a Mac. Because when I have to attend a > meeting using Adobe Connect (which I will doing next week), I can't do that > in a FreeBSD desktop without a *lot* of work and tweaking, if at all. When > I need to do a remote session with a vendor to fix yet-another-problem on a > stupid Windows server, I need Java to work flawlessly with Go To My PC. It > may or may not do that on FreeBSD. No, it's not FreeBSD's "fault", but who > really gives a damn when it needs to work. All those are your problems, not FreeBSD ones because I can assure they work. For example, promox uses a web java applet to control it's VNC connections. I use it without issue all the time. Not including compile time, it took like 6 minutes to install and test. And in response to Doug: Once again, comparing Ubuntu to FreeBSD is a false choice. Use Debian <==> FreeBSD, Ubuntu <==> PCBSD and you'll see the overhead of running such a system swings the other way. Getting a current version of KDE running properly on Debian is no small feat, whereas typically on FreeBSD it's just a compile away. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 20:30:01 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2103C106566C for ; Tue, 29 Mar 2011 20:30:01 +0000 (UTC) (envelope-from prvs=0623c498d=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id DD8AF8FC0C for ; Tue, 29 Mar 2011 20:30:00 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcKAPQ/kk2BbgogVmdsb2JhbAClWQEhAiSJHrtthWoEhTyORQ X-IronPort-AV: E=Sophos;i="4.63,264,1299477600"; d="scan'208";a="57050826" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Mar 2011 15:29:58 -0500 Date: Tue, 29 Mar 2011 15:29:55 -0500 From: Paul Schmehl To: Adam Vande More , Paul Schmehl Message-ID: <7009D44E51FB261CF95E6EB6@utd71538.local> In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <87B0CCF2B38381F29EE67BA4@utd71538.local> <4351D0CD39E5FC00C9A55C6C@utd71538.local> 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: Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 20:30:01 -0000 --On March 29, 2011 3:20:48 PM -0500 Adam Vande More wrote: > On Tue, Mar 29, 2011 at 2:57 PM, Paul Schmehl > wrote: > >> Or just follow the instructions. If people really find that difficult >>> I'm not sure any OS is going to be the answer long term. If you do >>> enough computer use you'll have to follow instructions at some point. >>> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-brows >>> er s.html >>> >>> Imagine that. And yet you can find numerous posts in questions from >> people who struggle with it. Must be stupid people then, huh? > > > I'll let you answer that. > Your response, more than any other single thing written, perfectly encapsulates what is "wrong" with the FreeBSD community. Can't make it work? Gee, you must be dumb. It's working for me. In response to the rest, I will simply recommend that you read Mehmet Erol Sanliturk's eloquent explanation. If you don't get what the problem is then, you're not going to, and Mehmet said it much better than I. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 20:41:11 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 4FA891065672 for ; Tue, 29 Mar 2011 20:41:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-5.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id A7573151296; Tue, 29 Mar 2011 20:41:10 +0000 (UTC) Message-ID: <4D9243E6.1020105@FreeBSD.org> Date: Tue, 29 Mar 2011 13:41:10 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110319 Thunderbird/3.1.9 MIME-Version: 1.0 To: Adam Vande More References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <87B0CCF2B38381F29EE67BA4@utd71538.local> <4351D0CD39E5FC00C9A55C6C@utd71538.local> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Paul Schmehl , Jason Hsu , freebsd-stable@freebsd.org, Michal Varga Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 20:41:11 -0000 On 03/29/2011 13:20, Adam Vande More wrote: > On Tue, Mar 29, 2011 at 2:57 PM, Paul Schmehlwrote: > >> Or just follow the instructions. If people really find that difficult >>> I'm not sure any OS is going to be the answer long term. If you do >>> enough computer use you'll have to follow instructions at some point. >>> >>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browser >>> s.html >>> >>> Imagine that. And yet you can find numerous posts in questions from >> people who struggle with it. Must be stupid people then, huh? Paul, this is a good example of the kind of vitriol that isn't really helpful. Please tone it down. To address the content of your concern, I've been using flash on FreeBSD for a long time. It's gone through phases where it's been easier, harder, more and less successful. At the moment it's working pretty well, but I agree with you that it's not an ideal situation. However regarding the documentation, the URL that was posted has been stable for a long time ("years," can't tell you exactly how many). However, like a lot of other topics there is stale documentation outside of FreeBSD, and other generally bad advice that gets passed around from user to user. That's a difficult problem for us to address directly. >> Comparing Ubuntu and FreeBSD is a false choice Yes, that's sort of my point. :) Ubuntu is literally in a class by itself in terms of both the OOB and long-term use experiences. So if all you want is a Unix'y desktop OS (and you can't afford/don't want a mac), use it, and be happy. If you have other goals (such as learning Unix internals generally, or a specific OS) then you have other areas you can focus on, such as FreeBSD. Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 20:55:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CACE106566C for ; Tue, 29 Mar 2011 20:55:29 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.emeryville.ca.mail.comcast.net (qmta14.emeryville.ca.mail.comcast.net [76.96.27.212]) by mx1.freebsd.org (Postfix) with ESMTP id 7D97D8FC1A for ; Tue, 29 Mar 2011 20:55:29 +0000 (UTC) Received: from omta18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by qmta14.emeryville.ca.mail.comcast.net with comcast id R8uM1g0051bwxycAE8vVRf; Tue, 29 Mar 2011 20:55:29 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta18.emeryville.ca.mail.comcast.net with comcast id R8vT1g00N1t3BNj8e8vT2p; Tue, 29 Mar 2011 20:55:28 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 539C59B422; Tue, 29 Mar 2011 13:55:27 -0700 (PDT) Date: Tue, 29 Mar 2011 13:55:27 -0700 From: Jeremy Chadwick To: Claus Guttesen Message-ID: <20110329205527.GA77676@icarus.home.lan> References: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> <20110329155149.167768mu74in1ios@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Alexander Leidinger , Rick Macklem , FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 20:55:29 -0000 On Tue, Mar 29, 2011 at 09:37:34PM +0200, Claus Guttesen wrote: > >> All ip-activitiy, dns, ssh etc. on the interface (ip-address) that is > >> mounted. So whenever I test I log in to the server using the other > >> ip-address and whenever it stops responding to ping or my screen > >> session stops I reload the interfaces and the traffic resumes. > > > > Are the two NICs the same brand/driver/board? If not, could you try to > > switch the networks on them and test if the problem persists? It would also > > be nice if you could tell which driver/chip the NIC with the problem is. > > It's a supermicro server with dual igb-nics on the mainboard. I did > try other cables and other ports on the switch (hp procurve). I don't > have access to the server atm. but I'll get the chip-info in a day or > two. Both ip-addresses are on same subnet. > > Speed is autonegotiated to 1 GB full duplex on server and switch. No > errors detected using netstat or on switch. Something tells me (gut feeling) the virtualisation part is probably somehow responsible for the problem, quote: > I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 > servers using nfs, but when there is alot of i/o the server becomes > unresponsive, easily triggered by installing ie. ms-sql. The server > itself is up but is not reachable from the network. When I take the > nic down and up again connection to the network is reestablished > (ip-wise). Can you remove ESXi from the picture and see if the problem continues? If it does, we should probably pull Jack Vogel into the discussion, as Supermicro predominantly uses Intel-based NICs. He'll need output from "pciconf -lvcb" and "dmesg" to assist. But before pulling him in, please see if you can remove ESXi from the picture. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 20:55:39 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47CE2106567E for ; Tue, 29 Mar 2011 20:55:39 +0000 (UTC) (envelope-from jhellenthal@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 ECDE88FC25 for ; Tue, 29 Mar 2011 20:55:38 +0000 (UTC) Received: by gyg13 with SMTP id 13so294696gyg.13 for ; Tue, 29 Mar 2011 13:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=51AE7PGcfLsnyiixkkLa5a6aOPnSSV2xs9e4dckJPww=; b=kFkkX9nesJ7/QsIoCeq2B2AddreBB2llt0GV3UupWZHOryQxNFIJSufNem+htdPT5/ JihJGEO9JFZoXw2WHtjiZsDGHAtQWz832seZb3DpjrtWzaqNgiCI5IWNtnf9qhVWX/Jk 7TVokoE8xK3ouX5LqoE02ZWEd4iIAuFLjqBME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=mcLiNWxPHGcdr9if2sOH48/1dftlJp8G2gu8PwJSyrXkKXPLGWZYBMMT0RBK0lWGMR JWBH/Hec9pop6XnLts/89gl3Ad0sBZcJFgLV8UPnAQUkSa65LornFFZja6yohVGzmPXT p1wwT14hsYzKOKGP2Y3VXu2zFDy8Xt2yH0pGQ= Received: by 10.151.61.4 with SMTP id o4mr679841ybk.266.1301432138099; Tue, 29 Mar 2011 13:55:38 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-181-153-110.dsl.klmzmi.sbcglobal.net [99.181.153.110]) by mx.google.com with ESMTPS id o2sm2043260ybn.21.2011.03.29.13.55.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 13:55:37 -0700 (PDT) Sender: "J. Hellenthal" Date: Tue, 29 Mar 2011 16:55:34 -0400 From: "J. Hellenthal" To: Jason Hsu In-Reply-To: <20110329141622.59e31557.jhsu802701@jasonhsu.com> Message-ID: References: <20110329141622.59e31557.jhsu802701@jasonhsu.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Stable Subject: Re: Best first desktop BSD distro X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 20:55:39 -0000 First I would recommend posting to the correct mailing list. Second I would recommend as much googling as your fingers can stand. Third BSD != Linux and this has been discussed in depth in previous articles. Fourth and foremost I would place a pretty good bet that Paris Hilton could setup and run a FreeBSD desktop. Followup-to: questions@ Remove-to: stable@ On Tue, 29 Mar 2011 15:16, jhsu802701@ wrote: > Thanks for your thoughts on making the move from Linux to BSD. I'm not > making the move because I don't like Linux. Instead, I want to learn > BSD. I find that the best way to familiarize myself with a distro is to > adopt it as my main distro (for web browsing, email, word processing, > etc.). But the challenge of BSD have so far proven too much for me. > It would take too long to configure FreeBSD to my liking. I couldn't > figure out what to enter in GRUB to multi-boot Linux and BSD. I tried > PC-BSD, GhostBSD, and DragonflyBSD in VirtualBox. I've found PC-BSD > agonizingly slow to install and operate, and KDE didn't even boot up > when I logged in. GhostBSD has too many things that don't work, such as > the keyboard on my laptop and my Internet connection on my desktop. > DragonflyBSD didn't boot up in Virtualbox. > > I recommend Linux Mint as a first Linux distro. It's user-friendly, > well-established, widely used, includes codecs/drivers that Ubuntu > doesn't, and has a Windows-like user interface. For those with older > computers, I recommend Puppy Linux or antiX Linux as a first distro. > I'm looking for the analogous choice in the BSD world. > > So what do you recommend as my first desktop BSD distro? What desktop > BSD distro is so easy to use that even Paris Hilton can handle it? > > Please keep in mind that I have a slow Internet connection, and these > BSD distros are ENORMOUS. It took some 12-14 hours to download PC-BSD. > > -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 21:03:35 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EFB51065670 for ; Tue, 29 Mar 2011 21:03:35 +0000 (UTC) (envelope-from garmitage@swin.edu.au) Received: from gpo3.cc.swin.edu.au (gpo3.cc.swin.edu.au [136.186.1.32]) by mx1.freebsd.org (Postfix) with ESMTP id 277948FC1C for ; Tue, 29 Mar 2011 21:03:34 +0000 (UTC) Received: from [136.186.229.43] (garmitage2.caia.swin.edu.au [136.186.229.43]) by gpo3.cc.swin.edu.au (8.14.3/8.14.3) with ESMTP id p2TKBj2a025019 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Wed, 30 Mar 2011 07:11:47 +1100 Message-ID: <4D923CF7.6070006@swin.edu.au> Date: Wed, 30 Mar 2011 07:11:35 +1100 From: grenville armitage User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101029 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20110329141622.59e31557.jhsu802701@jasonhsu.com> In-Reply-To: <20110329141622.59e31557.jhsu802701@jasonhsu.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Best first desktop BSD distro X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 21:03:35 -0000 On 03/30/2011 06:16, Jason Hsu wrote: [..] > So what do you recommend as my first desktop BSD distro? PC-BSD. Seriously. You say you've got it already, so try it on real hardware rather than inside virtualbox. I use PC-BSD 8.1 for both my home and work desktops. Try using PC-BSD's "PBI" package system for plug-n-play installation of common things like Firefox, Thunderbird, VirtualBox, etc from the GUI. (Some of them are already on the PC-BSD DVD image as PBI files.) Is PC-BSD "better" than the best linux desktop distros? Probably not. But it is a good way to get a FreeBSD desktop running. cheers, gja From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 21:04:31 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB4D0106567A for ; Tue, 29 Mar 2011 21:04:31 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 624988FC12 for ; Tue, 29 Mar 2011 21:04:31 +0000 (UTC) Received: by qwc9 with SMTP id 9so500891qwc.13 for ; Tue, 29 Mar 2011 14:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=R/eZfIkiusjwpUXkPBIIx2x+kHQzR74Mf81raEPXR/w=; b=B1yoP4UGilbrhYDq42HYPqw66ztdTCRDuMejYncmvzh4wDGQ43fMVQSMRLXxMREndy QuHIw9s8rOatXvtVgfi3m3OdO7kx9Ys2mWQHLCC75751dFt8+76iras+HIzaULvTyuXH M69UAe7U2YGTyA+I7bKQKfrS2K+R/QCOTEWII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Pf3fZaMYcogpe+jUwSy7wR4IJrxrqWlxEzMDfhaujduFVXz47Ko5FybULyMqNHkwoE jk0PhGLHKIpk05/+uKYw3g2D8Ko0S80akgirseuhLHGJ9I6QqV7JpImGbzJLGkoRp36j 8G6p0PsykTxRVtw/5K0xJksC9a5VC92+OB6tI= MIME-Version: 1.0 Received: by 10.224.70.195 with SMTP id e3mr303018qaj.317.1301432670619; Tue, 29 Mar 2011 14:04:30 -0700 (PDT) Received: by 10.224.67.21 with HTTP; Tue, 29 Mar 2011 14:04:30 -0700 (PDT) In-Reply-To: <20110329141622.59e31557.jhsu802701@jasonhsu.com> References: <20110329141622.59e31557.jhsu802701@jasonhsu.com> Date: Tue, 29 Mar 2011 17:04:30 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Jason Hsu Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Best first desktop BSD distro X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 21:04:31 -0000 On Tue, Mar 29, 2011 at 3:16 PM, Jason Hsu wrote: > Thanks for your thoughts on making the move from Linux to BSD. I'm not > making the move because I don't like Linux. Instead, I want to learn BSD. > I find that the best way to familiarize myself with a distro is to adopt it > as my main distro (for web browsing, email, word processing, etc.). But the > challenge of BSD have so far proven too much for me. It would take too long > to configure FreeBSD to my liking. I couldn't figure out what to enter in > GRUB to multi-boot Linux and BSD. I tried PC-BSD, GhostBSD, and > DragonflyBSD in VirtualBox. I've found PC-BSD agonizingly slow to install > and operate, and KDE didn't even boot up when I logged in. GhostBSD has too > many things that don't work, such as the keyboard on my laptop and my > Internet connection on my desktop. DragonflyBSD didn't boot up in > Virtualbox. > > I recommend Linux Mint as a first Linux distro. It's user-friendly, > well-established, widely used, includes codecs/drivers that Ubuntu doesn't, > and has a Windows-like user interface. For those with older computers, I > recommend Puppy Linux or antiX Linux as a first distro. I'm looking for the > analogous choice in the BSD world. > > So what do you recommend as my first desktop BSD distro? What desktop BSD > distro is so easy to use that even Paris Hilton can handle it? > > Please keep in mind that I have a slow Internet connection, and these BSD > distros are ENORMOUS. It took some 12-14 hours to download PC-BSD. > > -- > Jason Hsu > Please consider http://www.freebsdmall.com/cgi-bin/fm where you may find ready-made DVD or CD , printed Handbook , and others to offset your slow internet link . I do not know your country but it is very likely that you may find ready made FreeBSD or PC-BSD DVD or CD on sale in your country . For a new starter , PC-BSD is good . After studying structure of PC-BSD , it may be a good and pleasing learning work by installing FreeBSD from PC-BSD DVD or directly from FreeBSD released DVD or CDs by following the FreeBSD Handbook . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 21:05:57 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6ED21065674 for ; Tue, 29 Mar 2011 21:05:57 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 34E0B8FC1C for ; Tue, 29 Mar 2011 21:05:56 +0000 (UTC) Received: by fxm11 with SMTP id 11so722956fxm.13 for ; Tue, 29 Mar 2011 14:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=hfVDwbe4zw7qByhAG5lFbYc050+AVjGXPP1EEt4IWIE=; b=DA6IHc7Uj5dpOPkQGW7h+YbKM3F4b7qmDZFtJoqQAyo7m8W/LiCh5QCffnMO8QAs/1 2ISefVikXdhRt/mkPfA35cyIwd5GKCa6E2iBd9K/YVJ5AmgoYVBi+uVENYfERvQy3gje YMuKPgOVUObO18t5WPUGwA7hVZ6WTGVSwf+OI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=Guaprm9GfggtQ0UUrQAcCHZQJu3E5zcOrqFG0A6ionbjtCJ07hTJSf52D58wuDYVos 6J5qXhZK9bwFKg8H3jLtE3DVjao77WBsj+2CQX0j6cIwoUGDzlbeVBX1BVeWldnTxoRL 0WP2fMGsV/gvoG/oLgQ0sIWSqPZ+gIP9wc0UI= Received: by 10.223.44.89 with SMTP id z25mr311741fae.74.1301430995231; Tue, 29 Mar 2011 13:36:35 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id l4sm2131243fan.14.2011.03.29.13.36.33 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Mar 2011 13:36:34 -0700 (PDT) From: Mikolaj Golub To: Denny Schierz References: <1301397421.11113.250.camel@pcdenny> X-Comment-To: Denny Schierz Sender: Mikolaj Golub Date: Tue, 29 Mar 2011 23:36:32 +0300 In-Reply-To: <1301397421.11113.250.camel@pcdenny> (Denny Schierz's message of "Tue, 29 Mar 2011 13:17:01 +0200") Message-ID: <86ipv1ll4f.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: stable@freebsd.org Subject: Re: way for failover zpool (no HAST needed) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 21:05:57 -0000 On Tue, 29 Mar 2011 13:17:01 +0200 Denny Schierz wrote: DS> hi, DS> my two nodes are running fine with 8.2-stable and the LSI 9200-8e and DS> now, I want to build a failover for the Zpool (and later ISCSI target) DS> Both nodes are connected to the same disks (jbod) and now I need a way, DS> to get the zpool(s) running on the node with the CARP public IP. You don't need HAST but might you want to try net-mgmt/hastmon? :-) I wrote it because didn't like much failovering with CARP. For hastmon you need at least 3 hosts: 2 cluster nodes (primary/secondary) and watchdog. Watchdog is polling the states of the cluster nodes. Secondary decides to failover when: 1) There is no connection with primary. 2) There are complaints from watchdog. The configuration is simple and would look like below (on all 3 hosts): resource iscsi { exec /etc/iscsi.sh on hostA { remote hostB priority 0 } on hostB { remote hostA priority 1 } on hostW { remote hostA hostB } } /etc/iscsi.sh script should support at least 3 arguments: start -- switch node to primary (iscsi up, IP up, etc); stop -- switch node to secondary; status -- return current status (0 - UP, 1 - DOWN, 2 - UNKNOWN). You can find more information in README: http://code.google.com/p/hastmon/wiki/README -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 21:18:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 154D71065677 for ; Tue, 29 Mar 2011 21:18:47 +0000 (UTC) (envelope-from kometen@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id BA9E48FC12 for ; Tue, 29 Mar 2011 21:18:46 +0000 (UTC) Received: by qwc9 with SMTP id 9so510259qwc.13 for ; Tue, 29 Mar 2011 14:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WTi8VkoECAo0Q5EWBfcPeY9I+lW/2ItAgGhutKgfve0=; b=mKl/Zzb6H/CyFUncQZNGubxmaQyqXwlyX+fjfdaeqA2JZrnMO06GuXUbjDIY5Hgalj /n7eRBDEBLBdOFqHnGHl6cOHM/G3T45ggE4WfchmcD7RRNBb71d27J6lys4pNgG0TBvy TURm/fSWMbrjc1N0HY2bRlGTlK7SwRUoYAl8k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QBQHxGtkeBXwc03M4XxtiDcHKtv3ri9u80d69INN8xmCeUQQ5pntlfcDsWHzisDsY4 981pp8IUwaMYlPS526bHkSszS3kt2O1e9nTUcGNSRon5ltll6M9+vk7BKBj2ggN/FKZ3 iNOk7Ui4pMGd3dLAX2fRhJRjbICoStQCV+4zs= MIME-Version: 1.0 Received: by 10.229.105.96 with SMTP id s32mr322207qco.185.1301433525986; Tue, 29 Mar 2011 14:18:45 -0700 (PDT) Received: by 10.229.91.144 with HTTP; Tue, 29 Mar 2011 14:18:45 -0700 (PDT) In-Reply-To: <20110329205527.GA77676@icarus.home.lan> References: <113777190.2282503.1301350571721.JavaMail.root@erie.cs.uoguelph.ca> <20110329155149.167768mu74in1ios@webmail.leidinger.net> <20110329205527.GA77676@icarus.home.lan> Date: Tue, 29 Mar 2011 23:18:45 +0200 Message-ID: From: Claus Guttesen To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Alexander Leidinger , Rick Macklem , FreeBSD Stable Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 21:18:47 -0000 >> It's a supermicro server with dual igb-nics on the mainboard. I did >> try other cables and other ports on the switch (hp procurve). I don't >> have access to the server atm. but I'll get the chip-info in a day or >> two. Both ip-addresses are on same subnet. >> >> Speed is autonegotiated to 1 GB full duplex on server and switch. No >> errors detected using netstat or on switch. > > Something tells me (gut feeling) the virtualisation part is probably > somehow responsible for the problem, quote: > >> I'm mounting the FreeBSD-server from a couple of vmware esxi 4.1 >> servers using nfs, but when there is alot of i/o the server becomes >> unresponsive, easily triggered by installing ie. ms-sql. The server >> itself is up but is not reachable from the network. When I take the >> nic down and up again connection to the network is reestablished >> (ip-wise). > > Can you remove ESXi from the picture and see if the problem continues? > If it does, we should probably pull Jack Vogel into the discussion, as > Supermicro predominantly uses Intel-based NICs. =A0He'll need output from > "pciconf -lvcb" and "dmesg" to assist. > > But before pulling him in, please see if you can remove ESXi from the > picture. I've done some testing i Feb. when I initially installed the server with samba and iscsi from a windows 7 client and managed to get approx. 118 MB/s on plain GB nics. I copied some 30-40 GB and never had a hickup. Then I mounted iscsi from vmware and migrated some windows-servers and it behaved well. When we moved to nfs the peculiar problems began to arise. I will redo my testing from my windows 7 client to verify that my memory do not put a spell on me! I've also begun to move some virtual windows-servers back to iscsi and mount the iscsi-volume from several vmware-servers. Vmfs is cluster-aware and should handle it just fine. In a few days I'll move a server I know causes problems to iscsi and I'll post the results. Thank you for your input! :-) --=20 regards Claus When lenity and cruelty play for a kingdom, the gentler gamester is the soonest winner. Shakespeare twitter.com/kometen From owner-freebsd-stable@FreeBSD.ORG Tue Mar 29 22:52:39 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC9CA106564A for ; Tue, 29 Mar 2011 22:52:39 +0000 (UTC) (envelope-from telbizov@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 889C28FC13 for ; Tue, 29 Mar 2011 22:52:39 +0000 (UTC) Received: by qyk27 with SMTP id 27so620965qyk.13 for ; Tue, 29 Mar 2011 15:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=oobO/jDJeGIpbUmb043T99ciGL8ZB6Di6OuMiaoDaOU=; b=YPURDzqrlOBL+XGDemIEGqeX56OKUDLqcoPUSFoKCiCWMhIw8HDO6XJUBflYZ3NVvv LL2wmUbUxoKhGsQJuOb2mOvCsmVCuUePvIrOC1NYLKlS5ia5LM9EXKWAbNDr55HkOElK alGebl6x8Ho3rUg1RcJmpCQn4lCFoYO7etzoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=saDCv85ZwIesTz8ucifwHM4MEI7oUqbuNkkgAuXS63uL2QgvSKHq2SX6S7eEFM2xEq KSKQsfli7+b5ImwfIvb8NP8CbNiv/ffugHSiQvPSPBmoAxMFHvMaZuQvqGIEVPaWndGq M+qKXy2WYwXY9xPM6LzIxM28xDzgu8K1wfHl4= MIME-Version: 1.0 Received: by 10.229.71.77 with SMTP id g13mr386213qcj.116.1301437469795; Tue, 29 Mar 2011 15:24:29 -0700 (PDT) Received: by 10.229.225.4 with HTTP; Tue, 29 Mar 2011 15:24:29 -0700 (PDT) In-Reply-To: <1301397421.11113.250.camel@pcdenny> References: <1301397421.11113.250.camel@pcdenny> Date: Tue, 29 Mar 2011 15:24:29 -0700 Message-ID: From: Rumen Telbizov To: Denny Schierz Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@freebsd.org Subject: Re: way for failover zpool (no HAST needed) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2011 22:52:39 -0000 Hi Denny, Although I haven't fully implemented this yet I was thinking of a failover system based on carp + ifstated (/usr/ports/net/ifstated). ifstated will allow you to execute stuff on events like the carp interface becoming the master/backup. As a side note I'd suggest that you consider using something like IPMI to shutdown power on the remote node when you take over/import the zpool. At least this was my biggest fear - getting into a splitbrain and both nodes using the pool. I was even thinking of telneting to the APC PDUs and shutting down ports ;) Anyway I hope this is a useful idea. Very interested of what others have done to implement a redundant/failover ZFS solution. Cheers, Rumen Telbizov On Tue, Mar 29, 2011 at 4:17 AM, Denny Schierz wrote: > hi, > > my two nodes are running fine with 8.2-stable and the LSI 9200-8e and > now, I want to build a failover for the Zpool (and later ISCSI target) > > Both nodes are connected to the same disks (jbod) and now I need a way, > to get the zpool(s) running on the node with the CARP public IP. > > I found something about carp, hooks, devd etc. pp. My first thought was: > > carp -> hook -> zpool import -> devd -> ISCSI target up > > Problem HostA: no network: > > carp -> hook -> zpool export -> devd -> ISCSI target down -> OK > > Back to master shouldn't be a problem, I think ... > > > Problem HostA: power off: > > carp -> hook -> zpool import -> devd -> ISCSI target up -> OK > > But a bad problem could be: > > Problem HostA: SAS Cntrl/cabel problem: > > carp is up and running ..., no reason to failover to slave ... -> bad > > So, I mean, I have to use devd who takes notes, that the /dev/da* disks > are gone or inaccessible and inform carp or shutdown the network > interface to force carp switching over to slave. > > So any hints are welcome :-) > > If it works, I will write a howto for that one :-) > > cu denny > > > -- Rumen Telbizov http://telbizov.com From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 00:48:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 575F51065672 for ; Wed, 30 Mar 2011 00:48:37 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id AF2E98FC17 for ; Wed, 30 Mar 2011 00:48:36 +0000 (UTC) Received: (qmail 42261 invoked by uid 89); 30 Mar 2011 00:48:34 -0000 Received: from unknown (HELO claydesktop) (clay@milos.co.za@192.168.200.6) by lisa.milos.co.za with ESMTPA; 30 Mar 2011 00:48:34 -0000 Message-ID: <4E14579005B647BB932C09347031544B@claydesktop> From: "Clayton Milos" To: "Clayton Milos" References: <4D917547.7050908@rdtc.ru> <7891ACBE8A1D4A71BEFEAA7D98A7591B@claydesktop> Date: Wed, 30 Mar 2011 01:48:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: pjd@freebsd.org, freebsd-stable@freebsd.org Subject: Re: GELI speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 00:48:37 -0000 >> On 29.03.2011 00:57, Clayton Milos wrote: >>> Hi Pawel >>> >>> I'm running GELI encryption on a hardware RAID5 (8x1TB), formatted to >>> 6.3T >>> usable space using i386 FreeBSD 7.3-PRERELEASE. Write speeds to the >>> drive >>> are just over 40MB/s which is not too bad but I would like to improve it >>> as >>> the drive gets 270MB/s without encryption. >>> >>> I've run the following tests: >>> dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096 >>> 4294967296 bytes transferred in 99.763266 secs (43051591 bytes/sec) >>> and then >>> dd if=/dev/zero of=test.file bs=1m count=1024 >>> 1073741824 bytes transferred in 26.118988 secs (41109626 bytes/sec) >>> >>> There is not much speed lost due to the filesystem throughput or the >>> RAID >>> card. >> >> You can also try increase reading performance by using geom_cache >> with sufficiently large cache. It won't impact on linear reads >> but for general operations like directory lookups, many short reads etc. >> it can decrease number of decrypt requests. >> >> Eugene Grosbein >> > > Thanks Eugene. unfortunately I have some large directories with ~2000 > files in them so if that slowed down it would be painful. > > Clay I've upgraded to i386 8.2-RELEASE as the amd64 version was still crashing. It could be a hardware incompatability with the HADMA motherboard. Now on 8.2-RELEASE when I run "geli onetime -s 4096 gzero" it crashes the box with a kernel fault. Clay From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 00:59:47 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E882F106568C for ; Wed, 30 Mar 2011 00:59:47 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ01.datapipe-corp.net (exfesmq01.datapipe-corp.net [64.106.130.71]) by mx1.freebsd.org (Postfix) with ESMTP id AFCC18FC24 for ; Wed, 30 Mar 2011 00:59:47 +0000 (UTC) Received: from nat.myhome (64.106.131.250) by EXFESMQ01.datapipe-corp.net (64.106.130.71) with Microsoft SMTP Server (TLS) id 8.2.254.0; Tue, 29 Mar 2011 20:59:45 -0400 Date: Tue, 29 Mar 2011 20:00:06 -0500 From: "Paul A. Procacci" To: "J. Hellenthal" Message-ID: <20110330010006.GA75988@nat.myhome> References: <20110329141622.59e31557.jhsu802701@jasonhsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: quoted-printable Cc: Jason Hsu , FreeBSD Stable Subject: Re: Best first desktop BSD distro X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 00:59:48 -0000 On Tue, Mar 29, 2011 at 04:55:34PM -0400, J. Hellenthal wrote: > > I would place a pretty good bet that Paris Hilton could setup > and run a FreeBSD desktop. > What are you smoking? I want some. ;P -- Paul Procacci Manager, UNIX Support Services Datapipe Managed Global IT Services 1.201.792.4847 (international) 1.888.749.5821 (toll free) This message may contain confidential or privileged information. If you ar= e not the intended recipient, please advise us immediately and delete this = message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm f= or further information on confidentiality and the risks of non-secure elect= ronic communication. If you cannot access these links, please notify us by = reply message and we will send the contents to you. From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 06:23:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 598991065670 for ; Wed, 30 Mar 2011 06:23:43 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFC88FC12 for ; Wed, 30 Mar 2011 06:23:42 +0000 (UTC) Received: from outgoing.leidinger.net (p5B154942.dip.t-dialin.net [91.21.73.66]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id EF423844015; Wed, 30 Mar 2011 08:23:37 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 9B00D1923; Wed, 30 Mar 2011 08:23:34 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p2U6NXH1032491; Wed, 30 Mar 2011 08:23:33 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 30 Mar 2011 08:23:33 +0200 Message-ID: <20110330082333.50834ni1ky33etmo@webmail.leidinger.net> Date: Wed, 30 Mar 2011 08:23:33 +0200 From: Alexander Leidinger To: Adam Vande More References: <20110328164113.70512us1tv7w5gcg@webmail.leidinger.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.6) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: EF423844015.AF07D X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=0, required 6, autolearn=disabled) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1302071018.71028@Kqwa4Yw9F6qPGYu5OpDkaw X-EBL-Spam-Status: No Cc: FreeBSD Stable , Claus Guttesen Subject: Re: zfs, nfs and zil X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 06:23:43 -0000 Quoting Adam Vande More (from Tue, 29 Mar 2011 12:20:45 -0500): > On Mon, Mar 28, 2011 at 11:46 AM, Claus Guttesen wrote: > >> I'm aware of that, but the only way the problem shows up is when a >> windows machine performs an installation or a windows update (and has >> alot of updates in the pipeline). When traffic (i/o) is low to >> moderate it justs goes along without any issues. And if the same >> virtual windows-installation is on an iscsi-partition (mounted by the >> vmware-server) I can't reproduce the problem. So if disabling the zil >> did make a difference I would install a dedicated zil-ssd-device. And >> if that did alleviate my problem the issue could be related to windows >> performing alot of small reads and writes. Hence why I wanted to >> disable the zil. >> > > What did someone say about shooting yourself on the foot? Because without the ZIL there is no synchronous write (and IIRC no fsync). Without such a sync-write/fsync your software gets an OK (data on disk) when it isn't. The software may ACK to someone else the data is safe and the other side marks the data as processed. When the system crashes, this data is lost while the world thinks the data is there. Every MTA is working like this. Databases rely on this too. > http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Disabling_the_ZIL_.28Don.27t.29 > > I don't think you can even disable it on newer versions of ZFS so it may be > something of a moot point. Newer versions don't matter on 8.x for the moment. Bye, Alexander. -- I think we are in Rats Alley where the dead men lost their bones. -- T. S. Eliot http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 06:51:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 506BC106566B; Wed, 30 Mar 2011 06:51:18 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 0E9A68FC19; Wed, 30 Mar 2011 06:51:17 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id E7C607E8D9; Wed, 30 Mar 2011 17:32:58 +1100 (EST) Message-ID: <4D92CE95.7040505@freebsd.org> Date: Wed, 30 Mar 2011 17:32:53 +1100 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110304 Lightning/1.0b2 Thunderbird/3.1.8 MIME-Version: 1.0 To: Alexander Motin References: <4CD45209.5010607@FreeBSD.org> <4CDE5B8C.4000102@FreeBSD.org> In-Reply-To: <4CDE5B8C.4000102@FreeBSD.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lauren.room52.net Cc: Brandon Gooch , freebsd-scsi@freebsd.org, FreeBSD-Current , FreeBSD Stable Subject: Re: Sense fetching [Was: cdrtools /devel ...] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 06:51:18 -0000 On 11/13/10 20:34, Alexander Motin wrote: > Brandon Gooch wrote: >> 2010/11/5 Alexander Motin : >>> Hi. >>> >>> I've reviewed tests that scgcheck does to SCSI subsystem. It shown >>> combination of several issues in both CAM, ahci(4) and cdrtools itself. >>> Several small patches allow us to pass most of that tests: >>> http://people.freebsd.org/~mav/sense/ >>> >>> ahci_resid.patch: Add support for reporting residual length on data >>> underrun. SCSI commands often returns results shorter then expected. >>> Returned value allows application to know/check how much data it really >>> has. It is also important for sense fetching, as ATAPI and USB devices >>> return sense as data in response to REQUEST_SENSE command. >>> >>> sense_resid.patch: When manually requesting sense data (ATAPI or USB), >>> request only as much data as user requested (not the fixed structure >>> size), and return respective sense residual length. >>> >>> pass_autosence.patch: Unless CAM_DIS_AUTOSENSE is set, always fetch >>> sense if not done by SIM, independently of CAM_PASS_ERR_RECOVER. As soon >>> as device freeze released before returning to user-level, user-level >>> application by definition can't reliably fetch sense data if some other >>> application (like hald) tries to access device same time. >>> >>> cdrtools.patch: Make libscg (part of cdrtools) on FreeBSD to submit >>> wanted sense length to CAM and do not clear sense return buffer. It is >>> mostly cosmetics, important probably only for scgcheck. >>> >>> Testers and reviewers welcome. I am especially interested in opinion >>> about pass_autosence.patch -- may be we should lower sense fetching even >>> deeper, to make it work for all cam_periph_runccb() consumers. >> >> Hey mav, sorry to chime in after so long here, but have some of these >> patches been committed (as of r215179)? >> >> Which patches are still applicable for testing? I assume the cdrtools >> patch for sure... > > Now uncommitted pass_autosence.patch and possibly cdrtools.patch. > To add another data point, I just applied the pass_autosence.patch to my ahci enabled 8.2-STABLE r220153 kernel and I can now burn successfully with cdrecord. The same kernel without the patch was unable to burn (though it could erase disks ok). Cheers, Lawrence From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 07:18:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C38E106564A for ; Wed, 30 Mar 2011 07:18:48 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2B3FF8FC0A for ; Wed, 30 Mar 2011 07:18:47 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Q4pfy-000Ny3-IW for freebsd-stable@freebsd.org; Wed, 30 Mar 2011 09:18:46 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Mar 2011 09:18:46 +0200 From: Daniel Braniss Message-ID: Subject: mountd stuck in ZFS code. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 07:18:48 -0000 I have been running the experimental nfs/mount for some time now, and it mostly works, except with this particular case, where the mountd just gets stuck: mountd 11762 [dp->dp_config_rwlock] 8.93r 0.00u 0.00s 0% 1320k and stops respondig. I can't reproduce it at will, but it happens quiet often. The host in question is an nfs/zfs server, runing 8-stable and zfs ZFS pool version 15 ZFS filesystem version 4 cheers, danny From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 07:57:45 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AF76106564A; Wed, 30 Mar 2011 07:57:45 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 94DBB8FC13; Wed, 30 Mar 2011 07:57:44 +0000 (UTC) Received: by fxm11 with SMTP id 11so1078428fxm.13 for ; Wed, 30 Mar 2011 00:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-pgp-agent:x-mailer; bh=mumSkRyth6UW3zzvgiEkOL1EFk1ElN6b0oGjvaHYWaE=; b=apX695pdanwYo1qlv95yhnnp/dtdSRhYUnu8oi6sRzisILdcKmg0YGm8rFBP1hAZ/C QanYWnLEq7spDmaUOF6hAN39GZEpvg5d1katSeKvLGNO5kIgxmzeAZNuW/teHijNkDNa zvWDhRCMVG4+xswPLAwWTOtoNJAd2jhs+B7tg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-pgp-agent :x-mailer; b=Sk1Qxsd/F1A/05UIpOzzG3+DjCUQns4GobJHNfyzVe3hSx6x1UCD3BFkUVED1b4H/Y 0/wfjJkD3kXzXns64allquxriqqbnHNU1xlZ8BcSLwJG5nUwDresd+w5y+Q3ILgENjXE f13uztH/Cxi4LPbtCnf5PFrGbgiRShXfSQexY= Received: by 10.223.127.210 with SMTP id h18mr293186fas.67.1301471863368; Wed, 30 Mar 2011 00:57:43 -0700 (PDT) Received: from imba-brutale.totalterror.net (93-152-151-19.ddns.onlinedirect.bg [93.152.151.19]) by mx.google.com with ESMTPS id n7sm2254636fam.35.2011.03.30.00.57.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 00:57:41 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Nikolay Denev In-Reply-To: <20110301101015.GN78089@deviant.kiev.zoral.com.ua> Date: Wed, 30 Mar 2011 10:57:39 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <08280117-07E0-42CF-A250-3E418E48A8E7@gmail.com> References: <20110301101015.GN78089@deviant.kiev.zoral.com.ua> To: Kostik Belousov X-Pgp-Agent: GPGMail 1.3.3 X-Mailer: Apple Mail (2.1084) Cc: stable@freebsd.org, Robert Watson Subject: Re: FYI: Userspace DTrace MFC to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 07:57:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 1, 2011, at 12:10 PM, Kostik Belousov wrote: > On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: >> On 1 Mar, 2011, at 01:33 , Robert Watson wrote: >>=20 >>> Dear all: >>>=20 >>> Just an FYI that I've gone ahead and merged userspace DTrace support = to FreeBSD 8.x from 9.x. While it appeared to pass build tests locally, = boot and run, etc, this is a non-trivial merge, and it's possible I've = messed up. If so, apologies in advance, and I'll try to resolve any = problems as quickly as I can! >>>=20 >>> And of course, many thanks go to Rui Paulo, who did the port of = userspace DTrace to FreeBSD 9.x with support from the FreeBSD = Foundation! >>>=20 >>> Thanks, >>>=20 >>> Robert N M Watson >>> Computer Laboratory >>> University of Cambridge >>>=20 >>=20 >> That's great news! Many thanks to all that made this possible! >>=20 >> I have a quick question though, now do I have to rebuild my world = with "WITH_CTF" ? >> I'm asking because I did that by mistake some months ago on a = RELENG_8 machine, and >> the world that was built had some problems, like gcc giving segfault = 11 while compiling world or some ports. >>=20 > It was a known issue that ctfconvert (I think it is ctfconvert) = damages > statically linked binaries. Most likely, it was not fixed yet. I can confirm this is not fixed yet. I have two STABLE-8 machines which had their world rebuilt with WITH_CTF = option, and now I'm unable to rebuild the world as both machines fail with = Segmentation Fault: 11 on exactly the same place : mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include = -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib = -I/usr/src/gnu/usr.bin/gperf = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc =20 cc: Internal error: Segmentation fault: 11 (program cc1plus) Please submit a full bug report. See for instructions. mkdep: compile failed *** Error code 1 Stop in /usr/src/gnu/usr.bin/gperf. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Regards, Nikolay -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAk2S4nMACgkQHNAJ/fLbfrmHJwCgmpMQVdv5DUuz+exWyTIsew0/ 0EcAn0kMguIUwwczwDxKeayG9pEDRiBy =3DK4KJ -----END PGP SIGNATURE----- From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 08:48:56 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FA511065673; Wed, 30 Mar 2011 08:48:56 +0000 (UTC) (envelope-from lichray@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 06DCF8FC12; Wed, 30 Mar 2011 08:48:55 +0000 (UTC) Received: by gyg13 with SMTP id 13so497244gyg.13 for ; Wed, 30 Mar 2011 01:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=VOE+c0AErYPLy5I42Ygm5doWiYPkdDesql8H08qQYLo=; b=GR0U0ehhMAduzh/NCF+FpDRTAypb2hBWubWPpcHw0wcujsyZJoNipVRYqafsGU8agZ wJrqvffJidzw3lROKf4gtnhu/pQeRI0jM1+kbYVw7ZpQM/JmIlJ8+YeW23uh4RpauhNa pR6BWUEDJzJ8tuXSulAT+HlMKdpP9sODE4LEU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bNxRGpPpokTCINoSDxv+ZScboUJiz+Ofb0RMAUq9Avjs4wIVahauGBhSmBGug2yX4L psyickWxyRvEc1M2pg/9jxbnxcZKH+2QDm0ttQgRrwq6OzCVEgFP9Lz1SE55LxH0pixm lVXLWRxEOWSxv7GKJsZ8pqbaAap2fGvc2gQVA= MIME-Version: 1.0 Received: by 10.146.50.6 with SMTP id x6mr916907yax.17.1301473443160; Wed, 30 Mar 2011 01:24:03 -0700 (PDT) Received: by 10.146.84.1 with HTTP; Wed, 30 Mar 2011 01:24:03 -0700 (PDT) In-Reply-To: <08280117-07E0-42CF-A250-3E418E48A8E7@gmail.com> References: <20110301101015.GN78089@deviant.kiev.zoral.com.ua> <08280117-07E0-42CF-A250-3E418E48A8E7@gmail.com> Date: Wed, 30 Mar 2011 03:24:03 -0500 Message-ID: From: Zhihao Yuan To: Nikolay Denev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , stable@freebsd.org, Robert Watson Subject: Re: FYI: Userspace DTrace MFC to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 08:48:56 -0000 On Wed, Mar 30, 2011 at 2:57 AM, Nikolay Denev wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Mar 1, 2011, at 12:10 PM, Kostik Belousov wrote: > >> On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: >>> On 1 Mar, 2011, at 01:33 , Robert Watson wrote: >>> >>>> Dear all: >>>> >>>> Just an FYI that I've gone ahead and merged userspace DTrace support t= o FreeBSD 8.x from 9.x. =C2=A0While it appeared to pass build tests locally= , boot and run, etc, this is a non-trivial merge, and it's possible I've me= ssed up. =C2=A0If so, apologies in advance, and I'll try to resolve any pro= blems as quickly as I can! >>>> >>>> And of course, many thanks go to Rui Paulo, who did the port of usersp= ace DTrace to FreeBSD 9.x with support from the FreeBSD Foundation! >>>> >>>> Thanks, >>>> >>>> Robert N M Watson >>>> Computer Laboratory >>>> University of Cambridge >>>> >>> >>> That's great news! Many thanks to all that made this possible! >>> >>> I have a quick question though, now do I have to rebuild my world with = "WITH_CTF" ? >>> I'm asking because I did that by mistake some months ago on a RELENG_8 = machine, and >>> the world that was built had some problems, like gcc giving segfault 11= while compiling world or some ports. >>> >> It was a known issue that ctfconvert (I think it is ctfconvert) damages >> statically linked binaries. Most likely, it was not fixed yet. > > I can confirm this is not fixed yet. > > I have two STABLE-8 machines which had their world rebuilt with WITH_CTF = option, > and now I'm unable to rebuild the world as both machines fail with Segmen= tation Fault: 11 on exactly the same place : > > mkdep -f .depend -a =C2=A0 =C2=A0-I/usr/obj/usr/src/tmp/legacy/usr/includ= e -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib -I/usr/src/gnu/us= r.bin/gperf =C2=A0/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/boo= l-array.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.c= c /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc /usr/= src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc /usr/src/gnu/u= sr.bin/gperf/../../../contrib/gperf/src/key-list.cc /usr/src/gnu/usr.bin/gp= erf/../../../contrib/gperf/src/list-node.cc /usr/src/gnu/usr.bin/gperf/../.= ./../contrib/gperf/src/main.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/= gperf/src/new.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/opti= ons.cc /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc /= usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc /usr/src/gnu/= usr.bin/gperf/../../../contrib/gperf/src/vectors.cc /usr/src/gnu/usr.bin/gp= erf/../../../contrib/gperf/src/version.cc /usr/src/gnu/usr.bin/gperf/../../= ../contrib/gperf/lib/hash.cc > cc: Internal error: Segmentation fault: 11 (program cc1plus) > Please submit a full bug report. > See for instructions. > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/gperf. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. I have met this problem before. WITH_CTF on world is not required to use DTrace, and it seems that the gcc is broken. If can get a working gcc4.2 in the base system, you are ucky. Or, you can download a base system for the FreeBSD FTP site, and install it to a temp path, then copy the gcc binary to /usr/bin. > > Regards, > Nikolay > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: GPGTools - http://gpgtools.org > > iEYEARECAAYFAk2S4nMACgkQHNAJ/fLbfrmHJwCgmpMQVdv5DUuz+exWyTIsew0/ > 0EcAn0kMguIUwwczwDxKeayG9pEDRiBy > =3DK4KJ > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Zhihao Yuan The best way to predict the future is to invent it. From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 08:55:36 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F49E106566B for ; Wed, 30 Mar 2011 08:55:36 +0000 (UTC) (envelope-from linuxmail@4lin.net) Received: from mail.4lin.net (mail.4lin.net [46.4.210.97]) by mx1.freebsd.org (Postfix) with ESMTP id 1CE0A8FC0A for ; Wed, 30 Mar 2011 08:55:35 +0000 (UTC) Received: from localhost (angelica.4lin.net [127.0.0.1]) by mail.4lin.net (Postfix) with ESMTP id EAAF52C09E for ; Wed, 30 Mar 2011 10:59:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at mail.4lin.net Received: from mail.4lin.net ([127.0.0.1]) by localhost (mail.4lin.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pMNQOlXtrkuR for ; Wed, 30 Mar 2011 10:59:02 +0200 (CEST) Received: from [130.83.160.152] (pcdenny.rbg.informatik.tu-darmstadt.de [130.83.160.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.4lin.net (Postfix) with ESMTPSA id D32AA25BD1 for ; Wed, 30 Mar 2011 10:59:02 +0200 (CEST) From: Denny Schierz To: stable@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-upinOVMG7tnw1I+M0wn8" Date: Wed, 30 Mar 2011 10:55:12 +0200 Message-ID: <1301475313.11113.260.camel@pcdenny> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Cc: Subject: OSX GlobalSAN and istgt problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 08:55:36 -0000 --=-upinOVMG7tnw1I+M0wn8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hi, i've installed isgt and it works fine with Windows7 and Linux Debian (Sqeeze) and Ubuntu 10.10, but not for OSX 10.6.7: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Mar 30 10:32:59 iscsihead-m istgt[3658]: Login from isch (130.83.160.187) on iqn.san.rbg.informatik.tu-darmstadt.de:10gb LU1 (130.83.160.87:3260,1), ISID=3D801504000000, TSIH=3D4, CID=3D1045, HeaderDigest=3Doff, DataDigest=3Doff Mar 30 10:32:59 iscsihead-m istgt[3658]: istgt_iscsi.c:4164:istgt_iscsi_transfer_out: ***WARNING*** pending_pdus > 0 Mar 30 10:33:17 iscsihead-m last message repeated 2755 times Mar 30 10:33:17 iscsihead-m istgt[3658]: istgt_iscsi.c:4244:istgt_iscsi_transfer_out: ***ERROR*** iscsi_read_pdu() failed Mar 30 10:33:17 iscsihead-m istgt[3658]: istgt_lu_disk.c:1753:istgt_lu_disk_transfer_data: ***ERROR*** iscsi_transfer_out() Mar 30 10:33:17 iscsihead-m istgt[3658]: istgt_lu_disk.c:3591:istgt_lu_disk_lbwrite: ***ERROR*** lu_disk_transfer_data() failed Mar 30 10:33:17 iscsihead-m istgt[3658]: istgt_lu_disk.c:5355:istgt_lu_disk_execute: ***ERROR*** lu_disk_lbwrite() failed Mar 30 10:33:17 iscsihead-m istgt[3658]: istgt_iscsi.c:4164:istgt_iscsi_transfer_out: ***WARNING*** pending_pdus > 0 Mar 30 10:33:33 iscsihead-m last message repeated 2296 times Mar 30 10:43:33 iscsihead-m istgt[3658]: istgt_iscsi.c:4164:istgt_iscsi_transfer_out: ***WARNING*** pending_pdus > 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D The ISCSI Target is a Xeon 2x 3Ghz with 4GB Ram and the volume is ZFS under FreeBSD-8(.2)-stable Chap etc. isn't used .. any suggestions? cu denny --=-upinOVMG7tnw1I+M0wn8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAk2S7+wACgkQKlzhkqt9P+DNSgCfdiIFTZqPqjHuxGQgCHY3WRLH UNwAnR05nyjSYJPM8VWn/FO3MLETeFh4 =zmec -----END PGP SIGNATURE----- --=-upinOVMG7tnw1I+M0wn8-- From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 08:56:10 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906C1106566C; Wed, 30 Mar 2011 08:56:10 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB6318FC0C; Wed, 30 Mar 2011 08:56:09 +0000 (UTC) Received: by bwz12 with SMTP id 12so958962bwz.13 for ; Wed, 30 Mar 2011 01:56:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to:x-mailer; bh=U2zQse5B/VwfsO5hdFJd/FlS3SoOA1LQNZHA4tYH1aM=; b=WCq/771QCW2MogXVD0/6LOgClf9gsCPznxx2D+x8iJWDxQjlFr3isYIvwmGm3ct/uT qt7jkhjrgRS6ws3JRuSPZgUhPtFFMpiYYXB3Pclqaa7dgLdm6zyeK0TO+Xa34Z60qCmx J8ZfBQsf427fkNEnAHW2HKufRWTTC+pI8MjLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=wzT1GXeQCeXEF2o8kgpq93SiaTm3GiGjjuyx9jap0fJeYgAVtSkg0Wh2DBdPeveQ6U qEHyg0UmpykdLShFNJpquIbjqORFXirVfHE48bq4u9tivhwsp9qv5gaBQrj1bp8NXToU Ihv50aetlNUcvTsDIpwCd4CKxjiIOZF1D1J+U= Received: by 10.204.180.80 with SMTP id bt16mr768954bkb.184.1301475368648; Wed, 30 Mar 2011 01:56:08 -0700 (PDT) Received: from imba-brutale.totalterror.net (93-152-151-19.ddns.onlinedirect.bg [93.152.151.19]) by mx.google.com with ESMTPS id q24sm141220bks.9.2011.03.30.01.56.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 01:56:07 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) From: Nikolay Denev In-Reply-To: Date: Wed, 30 Mar 2011 11:56:05 +0300 Message-Id: <16E90817-1FFF-4790-8E77-3A66C3D7F016@gmail.com> References: <20110301101015.GN78089@deviant.kiev.zoral.com.ua> <08280117-07E0-42CF-A250-3E418E48A8E7@gmail.com> To: Zhihao Yuan X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Kostik Belousov , stable@freebsd.org, Robert Watson Subject: Re: FYI: Userspace DTrace MFC to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 08:56:10 -0000 On Mar 30, 2011, at 11:24 AM, Zhihao Yuan wrote: > On Wed, Mar 30, 2011 at 2:57 AM, Nikolay Denev = wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >>=20 >> On Mar 1, 2011, at 12:10 PM, Kostik Belousov wrote: >>=20 >>> On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: >>>> On 1 Mar, 2011, at 01:33 , Robert Watson wrote: >>>>=20 >>>>> Dear all: >>>>>=20 >>>>> Just an FYI that I've gone ahead and merged userspace DTrace = support to FreeBSD 8.x from 9.x. While it appeared to pass build tests = locally, boot and run, etc, this is a non-trivial merge, and it's = possible I've messed up. If so, apologies in advance, and I'll try to = resolve any problems as quickly as I can! >>>>>=20 >>>>> And of course, many thanks go to Rui Paulo, who did the port of = userspace DTrace to FreeBSD 9.x with support from the FreeBSD = Foundation! >>>>>=20 >>>>> Thanks, >>>>>=20 >>>>> Robert N M Watson >>>>> Computer Laboratory >>>>> University of Cambridge >>>>>=20 >>>>=20 >>>> That's great news! Many thanks to all that made this possible! >>>>=20 >>>> I have a quick question though, now do I have to rebuild my world = with "WITH_CTF" ? >>>> I'm asking because I did that by mistake some months ago on a = RELENG_8 machine, and >>>> the world that was built had some problems, like gcc giving = segfault 11 while compiling world or some ports. >>>>=20 >>> It was a known issue that ctfconvert (I think it is ctfconvert) = damages >>> statically linked binaries. Most likely, it was not fixed yet. >>=20 >> I can confirm this is not fixed yet. >>=20 >> I have two STABLE-8 machines which had their world rebuilt with = WITH_CTF option, >> and now I'm unable to rebuild the world as both machines fail with = Segmentation Fault: 11 on exactly the same place : >>=20 >> mkdep -f .depend -a -I/usr/obj/usr/src/tmp/legacy/usr/include = -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib = -I/usr/src/gnu/usr.bin/gperf = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc = /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc >> cc: Internal error: Segmentation fault: 11 (program cc1plus) >> Please submit a full bug report. >> See for instructions. >> mkdep: compile failed >> *** Error code 1 >>=20 >> Stop in /usr/src/gnu/usr.bin/gperf. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> *** Error code 1 >>=20 >> Stop in /usr/src. >> *** Error code 1 >>=20 >> Stop in /usr/src. >=20 > I have met this problem before. WITH_CTF on world is not required to > use DTrace, and it seems that the gcc is broken. If can get a working > gcc4.2 in the base system, you are ucky. Or, you can download a base > system for the FreeBSD FTP site, and install it to a temp path, then > copy the gcc binary to /usr/bin. >=20 Yes, but since now the userspace DTrace portions have been MFCed I = believe one needs a world WITH_CTF to use it? Anyways, I've already fixed my installations, exactly by downloading a = ISO image and extracting only the=20 GCC stuff. Regards, Nikolay= From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 10:13:54 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFB891065670 for ; Wed, 30 Mar 2011 10:13:54 +0000 (UTC) (envelope-from mlerota@claresco.hr) Received: from eu1sys200aog109.obsmtp.com (eu1sys200aog109.obsmtp.com [207.126.144.127]) by mx1.freebsd.org (Postfix) with SMTP id 0BEED8FC0A for ; Wed, 30 Mar 2011 10:13:53 +0000 (UTC) Received: from source ([74.125.82.53]) (using TLSv1) by eu1sys200aob109.postini.com ([207.126.147.11]) with SMTP ID DSNKTZMCYHHtVzBAXO0We7mwaIHpTMZDjOsN@postini.com; Wed, 30 Mar 2011 10:13:54 UTC Received: by mail-ww0-f53.google.com with SMTP id 40so1227737wwj.10 for ; Wed, 30 Mar 2011 03:13:52 -0700 (PDT) Received: by 10.216.244.71 with SMTP id l49mr925992wer.65.1301478692879; Wed, 30 Mar 2011 02:51:32 -0700 (PDT) Received: from cosmos.claresco.hr (zid.claresco.hr [89.201.163.42]) by mx.google.com with ESMTPS id c54sm2366137wer.6.2011.03.30.02.51.29 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 02:51:31 -0700 (PDT) From: Marko Lerota To: Jason Hsu In-Reply-To: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> (Jason Hsu's message of "Mon, 21 Mar 2011 19:31:26 -0500") Organization: *BSD Users - Fanatics Dept. References: <20110321193126.006fd02c.jhsu802701@jasonhsu.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC Date: Wed, 30 Mar 2011 11:51:41 +0200 Message-ID: <87wrjh2axe.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable@freebsd.org Subject: Re: WANTED: good server tutorial X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 10:13:54 -0000 Jason Hsu writes: > I'm looking for a good step-by-step quick-and-dirty FreeBSD server > tutorial for the current stable version. Most of the tutorials I've > seen are for outdated versions of FreeBSD. > > My setup is: Internet -> Modem -> Firewall/server computer -> Ethernet > switch -> Other computers I wrote some tutorial/article about this topic. Feel free to comment. http://www.techaddictive.com/linux-unix/freebsd-router-firewall-howto/ -- Marko Lerota Sent from my Gnus Mailer From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 10:30:10 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98A881065670 for ; Wed, 30 Mar 2011 10:30:10 +0000 (UTC) (envelope-from mlerota@claresco.hr) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) by mx1.freebsd.org (Postfix) with SMTP id B61FB8FC0A for ; Wed, 30 Mar 2011 10:30:09 +0000 (UTC) Received: from source ([74.125.82.49]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKTZMGME2StARQXrEA1QiX6Ctj6875wrkM@postini.com; Wed, 30 Mar 2011 10:30:10 UTC Received: by mail-ww0-f49.google.com with SMTP id 39so1117939wwb.30 for ; Wed, 30 Mar 2011 03:30:08 -0700 (PDT) Received: by 10.216.172.15 with SMTP id s15mr469996wel.70.1301481008356; Wed, 30 Mar 2011 03:30:08 -0700 (PDT) Received: from cosmos.claresco.hr (zid.claresco.hr [89.201.163.42]) by mx.google.com with ESMTPS id x1sm2934563wbh.53.2011.03.30.03.30.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 03:30:05 -0700 (PDT) From: Marko Lerota To: Doug Barton In-Reply-To: <4D917B7B.1020106@FreeBSD.org> (Doug Barton's message of "Mon, 28 Mar 2011 23:26:03 -0700") Organization: *BSD Users - Fanatics Dept. References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC Date: Wed, 30 Mar 2011 12:30:16 +0200 Message-ID: <87tyek99zb.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jason Hsu , freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 10:30:10 -0000 Doug Barton writes: >> Are there any good tutorials for using BSD on the desktop? > > Simple answer, if your only goal is to have a Unix-like desktop, > you're better off sticking with Linux. FreeBSD is not really focused > on desktop use, whereas a lot of the Linux distributions are, and if > you're happy with the ones you are using there is no good reason to > switch. I agree with that. I had problems with Flash on AMD64 so sometimes I couldn't watch Youtube videos :-). And that's not good at all :-). I'm now using Linux as a desktop, and I'm not completely satisfied with it. But all the servers are on FreeBSD, and I'm completely satisfied with this. -- Marko Lerota Sent from my Gnus Mailer From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 10:42:32 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E445C106566B; Wed, 30 Mar 2011 10:42:32 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id AE4E38FC15; Wed, 30 Mar 2011 10:42:32 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q4sr8-000Lhe-8Y; Wed, 30 Mar 2011 11:42:30 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q4sr8-000KvH-7f; Wed, 30 Mar 2011 11:42:30 +0100 To: dougb@FreeBSD.org, mlerota@claresco.hr In-Reply-To: <87tyek99zb.fsf@cosmos.claresco.hr> Message-Id: From: Pete French Date: Wed, 30 Mar 2011 11:42:30 +0100 Cc: jhsu802701@jasonhsu.com, freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 10:42:33 -0000 > I agree with that. I had problems with Flash on AMD64 so sometimes Am impressed - I didnt realise it was possible at all under amd64! I ended up using 'gnash' which doesnt really do the job to be honest, but it better than nothing. These days I find the best solution is keeping a copy of Windows inside VirtualBox for those moments when I need stuff that freeBSD can't do (primarily talking to HP iLo's these days, since I can't make Java work in Firefox) As a desktop to get work done I can't fault BSD - but would I use it at home for general browsing ? No, too many things don't work properly. OSX all the way there I'm afraid... -pete. From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 11:08:16 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEDE2106566B for ; Wed, 30 Mar 2011 11:08:16 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 87B5A8FC0A for ; Wed, 30 Mar 2011 11:08:16 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q4tG1-0001xf-LX for freebsd-stable@freebsd.org; Wed, 30 Mar 2011 13:08:13 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Mar 2011 13:08:13 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Mar 2011 13:08:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Wed, 30 Mar 2011 13:07:57 +0200 Lines: 15 Message-ID: References: <4D917547.7050908@rdtc.ru> <7891ACBE8A1D4A71BEFEAA7D98A7591B@claydesktop> <4E14579005B647BB932C09347031544B@claydesktop> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <4E14579005B647BB932C09347031544B@claydesktop> X-Enigmail-Version: 1.1.2 Subject: Re: GELI speed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 11:08:16 -0000 On 30/03/2011 02:48, Clayton Milos wrote: > Now on 8.2-RELEASE when I run "geli onetime -s 4096 gzero" it crashes > the box with a kernel fault. You need to obtain information about the crash. Add a line to /etc/rc.conf: dumpdev="AUTO" (assuming you have decent swap space on an unencrypted drive), then reboot, make it crash and look at information written to /var/crash. Post at least the panic backtrace. From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 11:15:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD7431065670; Wed, 30 Mar 2011 11:15:18 +0000 (UTC) (envelope-from mlerota@claresco.hr) Received: from eu1sys200aog112.obsmtp.com (eu1sys200aog112.obsmtp.com [207.126.144.133]) by mx1.freebsd.org (Postfix) with SMTP id 04A5B8FC1C; Wed, 30 Mar 2011 11:15:17 +0000 (UTC) Received: from source ([74.125.82.182]) (using TLSv1) by eu1sys200aob112.postini.com ([207.126.147.11]) with SMTP ID DSNKTZMQxBbpFfSdiDXN0xmqQw8uzvFwkVOJ@postini.com; Wed, 30 Mar 2011 11:15:18 UTC Received: by wyf23 with SMTP id 23so1163147wyf.13 for ; Wed, 30 Mar 2011 04:15:16 -0700 (PDT) Received: by 10.227.12.17 with SMTP id v17mr1059784wbv.157.1301483716438; Wed, 30 Mar 2011 04:15:16 -0700 (PDT) Received: from cosmos.claresco.hr (zid.claresco.hr [89.201.163.42]) by mx.google.com with ESMTPS id y29sm2962384wbd.21.2011.03.30.04.15.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 04:15:15 -0700 (PDT) From: Marko Lerota To: Pete French In-Reply-To: (Pete French's message of "Wed, 30 Mar 2011 11:42:30 +0100") Organization: *BSD Users - Fanatics Dept. References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC Date: Wed, 30 Mar 2011 13:15:27 +0200 Message-ID: <87lizw97w0.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dougb@FreeBSD.org, freebsd-stable@freebsd.org, jhsu802701@jasonhsu.com Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 11:15:18 -0000 Pete French writes: > Am impressed - I didnt realise it was possible at all under amd64! I > ended up using 'gnash' which doesnt really do the job to be honest, > but it better than nothing. These days I find the best solution is > keeping a copy of Windows inside VirtualBox for those moments > when I need stuff that freeBSD can't do (primarily talking to HP iLo's > these days, since I can't make Java work in Firefox) Now you reminded me how pissed I was as a sysadmin :-). I had to deal with IBM RSA's and Dell DRAC's. They all use Java. Use to hate everything that came with Java :-). -- Marko Lerota Sent from my Gnus Mailer From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 11:40:40 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 838A6106564A; Wed, 30 Mar 2011 11:40:40 +0000 (UTC) (envelope-from mh@kernel32.de) Received: from crivens.kernel32.de (crivens.asm68k.org [81.169.171.191]) by mx1.freebsd.org (Postfix) with ESMTP id 4835A8FC14; Wed, 30 Mar 2011 11:40:39 +0000 (UTC) Received: from www.terrorteam.de (localhost [127.0.0.1]) by crivens.kernel32.de (Postfix) with ESMTP id 0FEF9B0345; Wed, 30 Mar 2011 13:23:48 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Wed, 30 Mar 2011 13:23:47 +0200 From: Marian Hettwer To: Marko Lerota In-Reply-To: <87lizw97w0.fsf@cosmos.claresco.hr> References: <87lizw97w0.fsf@cosmos.claresco.hr> Message-ID: <007a515610a8ab00662b9501460158e4@localhost> X-Sender: mh@kernel32.de User-Agent: RoundCube Webmail/0.1-rc2 Cc: jhsu802701@jasonhsu.com, dougb@FreeBSD.org, freebsd-stable@freebsd.org, Pete French Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 11:40:40 -0000 On Wed, 30 Mar 2011 13:15:27 +0200, Marko Lerota wrote: > Pete French writes: > >> Am impressed - I didnt realise it was possible at all under amd64! I >> ended up using 'gnash' which doesnt really do the job to be honest, >> but it better than nothing. These days I find the best solution is >> keeping a copy of Windows inside VirtualBox for those moments >> when I need stuff that freeBSD can't do (primarily talking to HP iLo's >> these days, since I can't make Java work in Firefox) > > Now you reminded me how pissed I was as a sysadmin :-). I had to deal > with IBM RSA's and Dell DRAC's. They all use Java. Use to hate everything > that came with Java :-). hehe. yeah, I had the very same impression, back in the days. It's totally Off Topic, but with HP iLO go and use the serial console via ssh. Way better than the bloody java applet ;) ./Marian From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 12:00:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76E871065677 for ; Wed, 30 Mar 2011 12:00:18 +0000 (UTC) (envelope-from jomarcar@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E1E7A8FC12 for ; Wed, 30 Mar 2011 12:00:09 +0000 (UTC) Received: by vxc34 with SMTP id 34so1131415vxc.13 for ; Wed, 30 Mar 2011 05:00:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=LV9iTsg33K05T6ggCazGCpdyq8NHksZ6nH7u9QPUGRI=; b=a3YgsKe2lh5yHUdwpd0/qkmVKw/ja8orEia/ailOPgRnrwM2nCQ3ZIMjoipCf2NeoF Ic+pF6/IgrdXKUGg/d4Wcq/AKkSzb5QhxkOvSVsYzi6vYN6269pYIFZvwETVhOZYEDPm jWOPhfZVW3a5e3Nn5v2/e72lt0bn9K4bEj9b4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fN6eF+W6DedjjWtTZNrKV1tqqW1sQ2A9okfdyfJyAZIQNVyaNPbO1lq+xuM8Basfvh F+gaRL/Arpk9PtM/jv6zmXkyusPiQ4qmvUa8l84t98x+Ud3b0iUYK9LyXRHXayABdMsp O8ZyfVu10RzzjwlvgiF8JpU6PkkBAE6jbBOJI= MIME-Version: 1.0 Received: by 10.52.100.70 with SMTP id ew6mr950803vdb.95.1301484583112; Wed, 30 Mar 2011 04:29:43 -0700 (PDT) Received: by 10.52.163.4 with HTTP; Wed, 30 Mar 2011 04:29:42 -0700 (PDT) Date: Wed, 30 Mar 2011 12:29:42 +0100 Message-ID: From: =?UTF-8?Q?Jos=C3=A9_Miguel_Mart=C3=ADnez_Carrasco?= To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 12:00:18 -0000 Hi, I read interesting comments about using FreeBSD as your main desktop. Here are my experience. I use FreeBSD as my main working environment. I'm a java developer using openjdk6 with no issues. Regarding flash, I don't use it and invest that time learning FreeBSD. I agree with Steve Jobs :) Finally, the greatest mistake is not reading the terrific FreeBSD handbook. Best. Jos=C3=A9 Miguel Mart=C3=ADnez Carrasco --------------------------------------- http://www.jm2dev.com http://identi.ca/jm2dev http://twitter.com/jm2dev From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 12:05:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3B25106564A for ; Wed, 30 Mar 2011 12:05:34 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta14.westchester.pa.mail.comcast.net (qmta14.westchester.pa.mail.comcast.net [76.96.59.212]) by mx1.freebsd.org (Postfix) with ESMTP id 380388FC0A for ; Wed, 30 Mar 2011 12:05:33 +0000 (UTC) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta14.westchester.pa.mail.comcast.net with comcast id RPyn1g0031YDfWL5EQ5auk; Wed, 30 Mar 2011 12:05:34 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta20.westchester.pa.mail.comcast.net with comcast id RQ5Y1g00F1t3BNj3gQ5YVV; Wed, 30 Mar 2011 12:05:34 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id D5C059B423; Wed, 30 Mar 2011 05:05:30 -0700 (PDT) Date: Wed, 30 Mar 2011 05:05:30 -0700 From: Jeremy Chadwick To: Pete French Message-ID: <20110330120530.GA92950@icarus.home.lan> References: <87tyek99zb.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: mlerota@claresco.hr, dougb@FreeBSD.org, freebsd-stable@freebsd.org, jhsu802701@jasonhsu.com Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 12:05:34 -0000 On Wed, Mar 30, 2011 at 11:42:30AM +0100, Pete French wrote: > > I agree with that. I had problems with Flash on AMD64 so sometimes > > Am impressed - I didnt realise it was possible at all under amd64! I > ended up using 'gnash' which doesnt really do the job to be honest, > but it better than nothing. These days I find the best solution is > keeping a copy of Windows inside VirtualBox for those moments > when I need stuff that freeBSD can't do (primarily talking to HP iLo's > these days, since I can't make Java work in Firefox) Funny that -- even in a server-centric environment I still test FreeBSD changes (patches, major changes to ports, etc.) on my workstation PC (Windows XP) running FreeBSD under VMware Workstation. I have a home FreeBSD box for stuff, but depending on what I'm testing I can't risk data loss or "filesystem craziness" on it. Instead, I'll use VMware. And in some cases I'll even throw a 3rd disk into my Windows XP box for VMware to use as a direct/dedicated device, just so I can poke at SATA stuff and not risk hurting anything. Furthermore, for doing certain administrative tasks on Windows, I'll often run Windows XP under VMware too. A good example is something I'm working on now: trying to figure out/understand how to build a WinPE bootable ISO so I can deal with Windows-oriented problems at home. Microsoft, for reasons unknown to me, doesn't make this process even remotely easy. I spent my entire Monday trying to get things like BartPE to work (failed miserably on a USB stick but worked fine on a CD), yet even once I got into the thing, I found utilities like DISKPART wouldn't work (service wasn't running). Really quite a sad state of affairs. Anyway, the 2nd paragraph above is unrelated to the FreeBSD side of things, but I just thought I'd share my pain with other sysadmins out there. It's 2011 yet we still go through all this pain and rigmarole just to get something worthwhile. System Administrator Appreciation Day (last Friday of July) really needs more attention. And us SAs should be sure to appreciate other SAs too. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 13:07:04 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 203201065670; Wed, 30 Mar 2011 13:07:04 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 338B08FC13; Wed, 30 Mar 2011 13:07:02 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA15356; Wed, 30 Mar 2011 16:07:00 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4D932AF3.7040008@FreeBSD.org> Date: Wed, 30 Mar 2011 16:06:59 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Doug Barton References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301419646.71335.123.camel@xenon> <1301422804.71335.143.camel@xenon> <55976D748BCC94E34839C2A6@utd71538.local> <4D92390C.4080609@FreeBSD.org> In-Reply-To: <4D92390C.4080609@FreeBSD.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 13:07:04 -0000 on 29/03/2011 22:54 Doug Barton said the following: > For those arguing that FreeBSD is a great desktop OS I have even a stronger opinion: FreeBSD is the *best* desktop for _me_. I emphasize again - personally for _me_: for _my_ uses, for _my_ habits, for _my_ etc. (And for my family's ones too, just in case). > I would encourage you to > spend some time using some of the linux versions mentioned in this thread. Been there, done that, nothing changed :) So, instead of suggesting what's best for other person, let's just share our experiences and let that other person try and decide. That is: "I found Linux to be a better desktop than FreeBSD" is fine by me. "Use Linux as a desktop because it's better than FreeBSD [for you]" is not. Thanks. -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 13:54:14 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E252106566B for ; Wed, 30 Mar 2011 13:54:14 +0000 (UTC) (envelope-from alp@rsu.ru) Received: from mail.r61.net (mail.r61.net [195.208.245.249]) by mx1.freebsd.org (Postfix) with ESMTP id AC9308FC0C for ; Wed, 30 Mar 2011 13:54:13 +0000 (UTC) Received: from pyhalov.cc.rsu.ru (pyhalov.cc.rsu.ru [195.208.252.128]) (authenticated bits=0) by mail.r61.net (8.14.4/8.14.4) with ESMTP id p2UDOZfn044231 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT) for ; Wed, 30 Mar 2011 17:24:36 +0400 (MSD) (envelope-from alp@rsu.ru) Message-ID: <4D932F13.1060105@rsu.ru> Date: Wed, 30 Mar 2011 17:24:35 +0400 From: Alexander Pyhalov User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110306 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: boot0 bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 13:54:14 -0000 Hello. I have IBM blade, which is connected to EMC Clarion disk storage (2 FC adapters connected to 2 FC switches, so system sees 4 paths to storage). One lun is provided to the system. The problem is that FreeBSD doesn't boot randomly (at least 1 attempt from 5 boots is unsuccessful). The blade stalls and I see only blank screen. I've tried other operating systems - OpenIndiana b148 and Ubuntu 10.10 - each of them has booted perfectly 10 times without any issues. I don't see any messages from boot1 stage and system is logged in to EMC storage with only one path. When the system boots successfully, I can see on EMC Clarion that it is connected with all paths. I've tried to use boot0 from CURRENT - results are the same (boot fails randomly). How can I debug this issue? Additional info: # uname -a FreeBSD fbsdhost5.xx 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219027M: Wed Mar 9 15:12:21 MSK 2011 alp@xx:/usr/obj/usr/src-releng-8.2/sys/ibm-hs-21xm-vnet-amd64.releng-8.2 amd64 # camcontrol devlist -v scbus0 on isp0 bus 0: at scbus0 target 0 lun 0 (sg0,pass0,da0) at scbus0 target 1 lun 0 (sg1,pass1,da1) <> at scbus0 target -1 lun -1 () scbus1 on isp1 bus 0: at scbus1 target 0 lun 0 (sg2,pass2,da2) at scbus1 target 1 lun 0 (sg3,pass3,da3) <> at scbus1 target -1 lun -1 () scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun -1 (xpt0) # gmultipath status Name Status Components multipath/fbsdhost5tst N/A da0 da1 da2 da3 # gpart show => 63 33554367 multipath/fbsdhost5tst MBR (16G) 63 33543657 1 freebsd [active] (16G) 33543720 10710 - free - (5.2M) => 0 33543657 multipath/fbsdhost5tsts1 BSD (16G) 0 16 - free - (8.0K) 16 18863577 1 freebsd-ufs (9.0G) 18863593 4194304 2 freebsd-swap (2.0G) 23057897 2097152 4 freebsd-ufs (1.0G) 25155049 8388608 5 freebsd-ufs (4.0G) # boot0cfg -v /dev/multipath/fbsdhost5tst # flag start chs type end chs offset size 1 0x80 0: 1: 1 0xa5 39:254:63 63 33543657 version=2.0 drive=0x80 mask=0xf ticks=182 bell=# (0x23) options=packet,update,nosetdrv volume serial ID 9090-9090 default_selection=F1 (Slice 1) # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/multipath/fbsdhost5tsts1a 9129786 4522594 3876810 54% / devfs 1 1 0 100% /dev /dev/multipath/fbsdhost5tsts1d 1012974 12 931926 0% /tmp /dev/multipath/fbsdhost5tsts1e 4058062 141846 3591572 4% /var -- Best regards, Alexander Pyhalov, system administrator of Computer Center of Southern Federal University From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 14:49:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D9E9106566C; Wed, 30 Mar 2011 14:49:41 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id A0AB58FC17; Wed, 30 Mar 2011 14:49:40 +0000 (UTC) Received: by wwc33 with SMTP id 33so1537041wwc.31 for ; Wed, 30 Mar 2011 07:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=N1dgZOd/s7rmLLGRaaQm/A/OSkCBugmFTa7ypRdLQfU=; b=W3Z4xBnf2tmN5yzWh11mMF4cFlEytjjM4hlVsR5HKXghs/eNAcMBaadzIv7ztEoMCl IHsmFImmVreCr/mRQupVZgz0YulnynWfTkY2Lff4s2xiVA1SC6Vks+Fe+9Z1RHEH7SeF H/eyI6MB2VMOO3DbGGo8LuVfxCk3fQ3JY+z18= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wF/MBVZCXxJ5rMBhG2WuaOE5Zf6+LMGfgppzJrqlIMCYpP8T1zYDsM0b/RfmGu1XvF GxY51Y3b39WhZQJJ27goFyakootLUx0AvhkaqXWHbyF2k6U822HCRJ4IbVLcUkxBeO9K NfBXIQ6/DwBhV39NBCGonPA6a0uCiH1hDhQ8U= MIME-Version: 1.0 Received: by 10.227.197.21 with SMTP id ei21mr1333830wbb.107.1301495220448; Wed, 30 Mar 2011 07:27:00 -0700 (PDT) Received: by 10.227.68.200 with HTTP; Wed, 30 Mar 2011 07:26:59 -0700 (PDT) In-Reply-To: <87tyek99zb.fsf@cosmos.claresco.hr> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> <87tyek99zb.fsf@cosmos.claresco.hr> Date: Wed, 30 Mar 2011 16:26:59 +0200 Message-ID: From: Oliver Pinter To: Marko Lerota Content-Type: text/plain; charset=ISO-8859-1 Cc: Doug Barton , freebsd-stable@freebsd.org, Jason Hsu Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 14:49:41 -0000 http://hup.hu/node/94286 ;) On 3/30/11, Marko Lerota wrote: > Doug Barton writes: > >>> Are there any good tutorials for using BSD on the desktop? >> >> Simple answer, if your only goal is to have a Unix-like desktop, >> you're better off sticking with Linux. FreeBSD is not really focused >> on desktop use, whereas a lot of the Linux distributions are, and if >> you're happy with the ones you are using there is no good reason to >> switch. > > I agree with that. I had problems with Flash on AMD64 so sometimes > I couldn't watch Youtube videos :-). And that's not good at all :-). > I'm now using Linux as a desktop, and I'm not completely satisfied > with it. But all the servers are on FreeBSD, and I'm completely > satisfied with this. > > -- > Marko Lerota > Sent from my Gnus Mailer > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 15:01:57 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19C4D106566B for ; Wed, 30 Mar 2011 15:01:57 +0000 (UTC) (envelope-from icke@2egos.de) Received: from nm14-vm0.bullet.mail.ukl.yahoo.com (nm14-vm0.bullet.mail.ukl.yahoo.com [217.146.183.250]) by mx1.freebsd.org (Postfix) with SMTP id 805FC8FC18 for ; Wed, 30 Mar 2011 15:01:56 +0000 (UTC) Received: from [217.146.183.182] by nm14.bullet.mail.ukl.yahoo.com with NNFMP; 30 Mar 2011 15:01:55 -0000 Received: from [77.238.184.54] by tm13.bullet.mail.ukl.yahoo.com with NNFMP; 30 Mar 2011 15:01:55 -0000 Received: from [127.0.0.1] by smtp123.mail.ukl.yahoo.com with NNFMP; 30 Mar 2011 15:01:55 -0000 X-Yahoo-Newman-Id: 378551.74760.bm@smtp123.mail.ukl.yahoo.com Received: from mehl.local (icke@188.192.9.84 with login) by smtp123.mail.ukl.yahoo.com with SMTP; 30 Mar 2011 15:01:55 +0000 GMT X-Yahoo-SMTP: hSYVlr.swBA8ndWK7fpfKkYtvaERpjIpVj06O183j5_nKSjn X-YMail-OSG: rkhY3OcVM1kk8wpCrH5QdUeFhTpnHnM0AtBkGAQn5_2zTJx LjENobpNVqoN1W8QrRkNB3t3L7tbGMnxfsVaPVuLfnQ8.q1e9uvPT6DMUWV7 j1pXS8Ef_kY75YQtilkn9XB7Sp.EYBPI6hvFXdw7jEz.L8GNyK3kgepgiy33 r8NymZd5UfnFlrrx9U76EDDw6xYYXXchoZbcK4RPxX15_98flRkxllYwFoiL kUhQdQ7CBWrNOngwPp4MF_aIvwdavOnIekxLy5NUj.AMck6QfznvF0UhNBjh BclXkRJsp2NM- X-Yahoo-Newman-Property: ymail-3 Received: from eddy.local (unknown [192.168.0.102]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mehl.local (Postfix) with ESMTPSA id BA67B8FC0B0 for ; Wed, 30 Mar 2011 16:03:55 +0000 (UTC) Message-ID: <4D9345DC.7050501@2egos.de> Date: Wed, 30 Mar 2011 17:01:48 +0200 From: joseph User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de-DE; rv:1.9.2.15) Gecko/20110314 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4D66C4CB.1060207@2egos.de> <4D68082E.30207@gthcfoundation.org> <4D6816E2.2020700@2egos.de> <201102261338.36821.bschmidt@freebsd.org> In-Reply-To: <201102261338.36821.bschmidt@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: urtw0: could not allocate USB transfers X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 15:01:57 -0000 Hey anyone just for the record. The update didn't solve my problem. I tried a linux to run this stick and it runs the 8187se driver. So the issue isn't realy a failure more another unsupported device. Now i use another device and if somebody will implement this chipset im willing to provide my device. Thanks for your help. on 26 February 2011 13:38, Bernhard Schmidt wrote: > On Friday 25 February 2011 21:53:54 joseph wrote: >> Thanks for your fast answers! >> I tryed your suggestions but only the urtw driver shows interrest in >> my usb wlan device. >> The patched urtw still gives the same error massage. >> Could a update to 8.2 fix this issue? > Possibly, worth a try. > From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 15:10:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30966106566B; Wed, 30 Mar 2011 15:10:29 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 835788FC0A; Wed, 30 Mar 2011 15:10:28 +0000 (UTC) Received: by bwz12 with SMTP id 12so1240493bwz.13 for ; Wed, 30 Mar 2011 08:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=E01etw6r5mQb8GmOSnXaiaEFSM3zROCdOfGTIxv2Y2o=; b=GeO+yfn33Q1prDJcouf5eq4vfhvKMJI1NXFumfT3qQ8kBxqAhedjOi8tarhg9YsSBF 2+EZ+MAnJ5ODDtc1D3saMm5Vtn4xBTr3kP0nrZTg6cLDaK/OAnqqK5M40CR3TM1yYXL+ wdUEY9vDwtSG5EB23JaypVoLNiRzWpMdr/vNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=YM50Ku1AOieTiSi4h0rWCS0rary7KGMNmYiomcpqIjpEixyqwiYFdtLA4RF53SJavT fEHPJM89i7A4+B9w5LkShLUYnXAeZXZ7dVUNs/nV7od3+Zv9m0P7ohBpgtJ83I08FlK5 0NFYhnN+ieeIFxY+UyFMX5XhKOhE3bF2vxYkE= Received: by 10.204.29.18 with SMTP id o18mr1164685bkc.12.1301497827315; Wed, 30 Mar 2011 08:10:27 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id t1sm134414bkx.19.2011.03.30.08.10.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 08:10:26 -0700 (PDT) From: Michal Varga To: Oliver Pinter In-Reply-To: References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> <87tyek99zb.fsf@cosmos.claresco.hr> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Wed, 30 Mar 2011 17:10:23 +0200 Message-ID: <1301497823.1511.57.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Marko Lerota , Doug Barton , freebsd-stable@freebsd.org, Jason Hsu Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 15:10:29 -0000 On Wed, 2011-03-30 at 16:26 +0200, Oliver Pinter wrote: > http://hup.hu/node/94286 ;) > 1. $ portinstall -v www/epiphany $ epiphany "http://www.youtube.com/html5" $ epiphany "http://www.youtube.com/watch?v=XBH1dcHoL6Y" 2. $ portinstall -v multimedia/quvi multimedia/mplayer $ cat ~/bin/streamvid quvi -f best "$1" --exec "mplayer -prefer-ipv4 %u 1>&2" > /dev/null $ streamvid "http://www.youtube.com/watch?v=XBH1dcHoL6Y" 3. $ portinstall -v multimedia/cclive $ cclive -f best "http://www.youtube.com/watch?v=XBH1dcHoL6Y" m. -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 15:17:35 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D186106564A for ; Wed, 30 Mar 2011 15:17:35 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id AC14B8FC0C for ; Wed, 30 Mar 2011 15:17:34 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA17494; Wed, 30 Mar 2011 18:17:28 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4D934987.2080209@FreeBSD.org> Date: Wed, 30 Mar 2011 18:17:27 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9 MIME-Version: 1.0 To: Michal Varga References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> <87tyek99zb.fsf@cosmos.claresco.hr> <1301497823.1511.57.camel@xenon> In-Reply-To: <1301497823.1511.57.camel@xenon> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Marko Lerota , Jason Hsu , freebsd-stable@FreeBSD.org, Oliver Pinter Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 15:17:35 -0000 on 30/03/2011 18:10 Michal Varga said the following: > On Wed, 2011-03-30 at 16:26 +0200, Oliver Pinter wrote: >> http://hup.hu/node/94286 ;) >> > > 1. > $ portinstall -v www/epiphany > $ epiphany "http://www.youtube.com/html5" > $ epiphany "http://www.youtube.com/watch?v=XBH1dcHoL6Y" > > > 2. > $ portinstall -v multimedia/quvi multimedia/mplayer > $ cat ~/bin/streamvid > quvi -f best "$1" --exec "mplayer -prefer-ipv4 %u 1>&2" > /dev/null > $ streamvid "http://www.youtube.com/watch?v=XBH1dcHoL6Y" > > > 3. > $ portinstall -v multimedia/cclive > $ cclive -f best "http://www.youtube.com/watch?v=XBH1dcHoL6Y" > There is also multimedia/minitube -- Andriy Gapon From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 15:50:01 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EDC31065678 for ; Wed, 30 Mar 2011 15:50:01 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F2A6D8FC1A for ; Wed, 30 Mar 2011 15:50:00 +0000 (UTC) Received: by qyk27 with SMTP id 27so1139932qyk.13 for ; Wed, 30 Mar 2011 08:50:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hGitUu7h7aRA1ZotI4bAoRtzszfbI0/6uJ9FQWBRRLs=; b=MiZ9qsP98uwsVTatEGWAMF2HKY2mNB/c1UZQPdDNkejwOU6bH6HZ0q6ChlpgR/r8z7 zeYN2dj1Ktmu1rWyOPWj7gQTUp+wLESCYWIWLW3MWjDZsyvSN111ISqA37R28qK1T+TF l79gQhFvFUTv2UxvSPatvMmiARXaW8z5enYdk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LmTtpVtR3a99dMTzxFGnzyoYTvGfGUognA1WIUIHc7Al0yZ1Lapq8F+6okePcWYg4/ MCvyYfiD8qHgRwLOgwd6E9R04b9YEPndUjHZTna9WMBHJzQB26lo/4sbcj770jiTWvDn Y2zCuk6GVW4C/N0hkQksGG3q0VaHuQpgRmSPE= MIME-Version: 1.0 Received: by 10.224.219.68 with SMTP id ht4mr1232685qab.217.1301500200050; Wed, 30 Mar 2011 08:50:00 -0700 (PDT) Received: by 10.224.67.21 with HTTP; Wed, 30 Mar 2011 08:50:00 -0700 (PDT) In-Reply-To: <4D932F13.1060105@rsu.ru> References: <4D932F13.1060105@rsu.ru> Date: Wed, 30 Mar 2011 11:50:00 -0400 Message-ID: From: Mehmet Erol Sanliturk To: Alexander Pyhalov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: boot0 bug? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 15:50:01 -0000 On Wed, Mar 30, 2011 at 9:24 AM, Alexander Pyhalov wrote: > Hello. > I have IBM blade, which is connected to EMC Clarion disk storage (2 FC > adapters connected to 2 FC switches, so system sees 4 paths to storage). One > lun is provided to the system. The problem is that FreeBSD doesn't boot > randomly (at least 1 attempt from 5 boots is unsuccessful). The blade stalls > and I see only blank screen. > I've tried other operating systems - OpenIndiana b148 and Ubuntu 10.10 - > each of them has booted perfectly 10 times without any issues. > > I don't see any messages from boot1 stage and system is logged in to EMC > storage with only one path. When the system boots successfully, I can see on > EMC Clarion that it is connected with all paths. I've tried to use boot0 > from CURRENT - results are the same (boot fails randomly). > How can I debug this issue? > > Additional info: > # uname -a > FreeBSD fbsdhost5.xx 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219027M: Wed Mar > 9 15:12:21 MSK 2011 alp@xx:/usr/obj/usr/src-releng-8.2/sys/ibm-hs-21xm-vnet-amd64.releng-8.2 > amd64 > > # camcontrol devlist -v > scbus0 on isp0 bus 0: > at scbus0 target 0 lun 0 (sg0,pass0,da0) > at scbus0 target 1 lun 0 (sg1,pass1,da1) > <> at scbus0 target -1 lun -1 () > scbus1 on isp1 bus 0: > at scbus1 target 0 lun 0 (sg2,pass2,da2) > at scbus1 target 1 lun 0 (sg3,pass3,da3) > <> at scbus1 target -1 lun -1 () > scbus-1 on xpt0 bus 0: > <> at scbus-1 target -1 lun -1 (xpt0) > > # gmultipath status > Name Status Components > multipath/fbsdhost5tst N/A da0 > da1 > da2 > da3 > # gpart show > => 63 33554367 multipath/fbsdhost5tst MBR (16G) > 63 33543657 1 freebsd [active] (16G) > 33543720 10710 - free - (5.2M) > > => 0 33543657 multipath/fbsdhost5tsts1 BSD (16G) > 0 16 - free - (8.0K) > 16 18863577 1 freebsd-ufs (9.0G) > 18863593 4194304 2 freebsd-swap (2.0G) > 23057897 2097152 4 freebsd-ufs (1.0G) > 25155049 8388608 5 freebsd-ufs (4.0G) > > # boot0cfg -v /dev/multipath/fbsdhost5tst > # flag start chs type end chs offset size > 1 0x80 0: 1: 1 0xa5 39:254:63 63 33543657 > > version=2.0 drive=0x80 mask=0xf ticks=182 bell=# (0x23) > options=packet,update,nosetdrv > volume serial ID 9090-9090 > default_selection=F1 (Slice 1) > > # df > Filesystem 1K-blocks Used Avail Capacity Mounted > on > /dev/multipath/fbsdhost5tsts1a 9129786 4522594 3876810 54% / > devfs 1 1 0 100% /dev > /dev/multipath/fbsdhost5tsts1d 1012974 12 931926 0% /tmp > /dev/multipath/fbsdhost5tsts1e 4058062 141846 3591572 4% /var > > -- > Best regards, > Alexander Pyhalov, > system administrator of Computer Center of Southern Federal University > I will mention the following issue similar to above problem as my observation . The problem is NOT only belong to FreeBSD , all of the BSD based operating systems ( such as PC-BSD , NetBSD , DragonFlyBSD ) independent from version numbers are exhibiting the same behavior . Assume an operating system other than BSD based operating systems is booted on my computer ( Intel DG965WH board ) and then it is shut down . When I start the booting of an BSD based operating system , it is exactly crashing at some point , especially when it becomes necessary to accept a user response . In that point it is unknown whether key board is locked or there is another problem . What ever the reason is , it is necessary to hard reset the computer . The second and subsequent boots are successful . When another operating system is booted , the above crash-successes cycle is starting again . Neither of the other operating systems ( mostly Linux and others ) is exhibiting such a behavior what ever is the previously booted operating system . I can say that this issue is only belong to BSD based operating systems . I do not know the reason , but I suspect that there is a missing part in the booting code , especially within initialization code at the beginning . First , unsuccessful boot is setting some value(s) , but itself is crashing , the subsequent booting is using that previously set value(s) and they are succeeding up to the point where the other operating systems is setting that or those value(s) differently . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 16:49:28 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050C5106566B; Wed, 30 Mar 2011 16:49:28 +0000 (UTC) (envelope-from lichray@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 94C8A8FC17; Wed, 30 Mar 2011 16:49:27 +0000 (UTC) Received: by qwc9 with SMTP id 9so1104188qwc.13 for ; Wed, 30 Mar 2011 09:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JFmasQEk+33lduDzjGZZMFoBwQIO4Tj7POndKsKb5Jg=; b=Xatm9D4IdU4jLwtWlyTqsTFwesHCtRl29Sn0nNAbe3UnUY+yBJSc2IoFuxU2IaUE3c I/orvHMXSRMmM5xa3iF6rtDbGnqmr9z/d4ps8+aPxYJyvqA0+JnBNHLR4NI/5JhtbwhJ 8jyKyczjqBPIk6I9Z2dqnUDBx9c7fYDpIpYLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=fUPbGLZ50YWuGcc2mPdFXMWqi9Sm4EECU/0HTeUsWvE6/aWZGhwNHkR6u6z1tdg3Eu SzgIELd0sUIdkxEx6jmkydiAIsTW1KOSEVrPbQXwe2h5+HgcCYUwyDCgQtUjiP0a1/Wy 16dZdlnGJcGSigusNzg4cE++Wp26Pq29u+NBc= MIME-Version: 1.0 Received: by 10.224.138.16 with SMTP id y16mr1287376qat.255.1301503766784; Wed, 30 Mar 2011 09:49:26 -0700 (PDT) Received: by 10.224.20.19 with HTTP; Wed, 30 Mar 2011 09:49:26 -0700 (PDT) In-Reply-To: <16E90817-1FFF-4790-8E77-3A66C3D7F016@gmail.com> References: <20110301101015.GN78089@deviant.kiev.zoral.com.ua> <08280117-07E0-42CF-A250-3E418E48A8E7@gmail.com> <16E90817-1FFF-4790-8E77-3A66C3D7F016@gmail.com> Date: Wed, 30 Mar 2011 11:49:26 -0500 Message-ID: From: Zhihao Yuan To: Nikolay Denev Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Kostik Belousov , stable@freebsd.org, Robert Watson Subject: Re: FYI: Userspace DTrace MFC to stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 16:49:28 -0000 On Wed, Mar 30, 2011 at 3:56 AM, Nikolay Denev wrote: > > On Mar 30, 2011, at 11:24 AM, Zhihao Yuan wrote: > > On Wed, Mar 30, 2011 at 2:57 AM, Nikolay Denev wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > On Mar 1, 2011, at 12:10 PM, Kostik Belousov wrote: > > On Tue, Mar 01, 2011 at 11:03:07AM +0200, Nikolay Denev wrote: > > On 1 Mar, 2011, at 01:33 , Robert Watson wrote: > > Dear all: > > Just an FYI that I've gone ahead and merged userspace DTrace support to > FreeBSD 8.x from 9.x. =C2=A0While it appeared to pass build tests locally= , boot > and run, etc, this is a non-trivial merge, and it's possible I've messed = up. > =C2=A0If so, apologies in advance, and I'll try to resolve any problems a= s > quickly as I can! > > And of course, many thanks go to Rui Paulo, who did the port of userspace > DTrace to FreeBSD 9.x with support from the FreeBSD Foundation! > > Thanks, > > Robert N M Watson > > Computer Laboratory > > University of Cambridge > > > That's great news! Many thanks to all that made this possible! > > I have a quick question though, now do I have to rebuild my world with > "WITH_CTF" ? > > I'm asking because I did that by mistake some months ago on a RELENG_8 > machine, and > > the world that was built had some problems, like gcc giving segfault 11 > while compiling world or some ports. > > It was a known issue that ctfconvert (I think it is ctfconvert) damages > > statically linked binaries. Most likely, it was not fixed yet. > > I can confirm this is not fixed yet. > > I have two STABLE-8 machines which had their world rebuilt with WITH_CTF > option, > > and now I'm unable to rebuild the world as both machines fail with > Segmentation Fault: 11 on exactly the same place : > > mkdep -f .depend -a =C2=A0 =C2=A0-I/usr/obj/usr/src/tmp/legacy/usr/includ= e > -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib > -I/usr/src/gnu/usr.bin/gperf > =C2=A0/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-array.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/gen-perf.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/hash-table.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/iterator.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/key-list.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/list-node.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/main.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/new.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/options.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/read-line.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/trace.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/vectors.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/version.cc > /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib/hash.cc > > cc: Internal error: Segmentation fault: 11 (program cc1plus) > > Please submit a full bug report. > > See for instructions. > > mkdep: compile failed > > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/gperf. > > *** Error code 1 > > Stop in /usr/src. > > *** Error code 1 > > Stop in /usr/src. > > *** Error code 1 > > Stop in /usr/src. > > I have met this problem before. WITH_CTF on world is not required to > use DTrace, and it seems that the gcc is broken. If can get a working > gcc4.2 in the base system, you are ucky. Or, you can download a base > system for the FreeBSD FTP site, and install it to a temp path, then > copy the gcc binary to /usr/bin. > > > Yes, but since now the userspace DTrace portions have been MFCed I believ= e > one needs a world WITH_CTF to use it? > Anyways, I've already fixed my installations, exactly by downloading a IS= O > image and extracting only the > GCC stuff. > Regards, > Nikolay WITH_CTF adds the DTrace provider support to a program (if I was wrong, please correct me). So far, DTrace on FreeBSD is intended for kernel tracing. Some day in the future, we may have DTrace support for the userland tools (we do have userland providers, but they are used to debug a program in general). --=20 Zhihao Yuan The best way to predict the future is to invent it. From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 17:30:30 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B76B106564A for ; Wed, 30 Mar 2011 17:30:30 +0000 (UTC) (envelope-from corky1951@comcast.net) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 40DEE8FC08 for ; Wed, 30 Mar 2011 17:30:30 +0000 (UTC) Received: from omta05.emeryville.ca.mail.comcast.net ([76.96.30.43]) by qmta12.emeryville.ca.mail.comcast.net with comcast id RUua1g0030vp7WLACVHLQ8; Wed, 30 Mar 2011 17:17:20 +0000 Received: from comcast.net ([98.203.142.76]) by omta05.emeryville.ca.mail.comcast.net with comcast id RVHJ1g00C1f6R9u8RVHJ5z; Wed, 30 Mar 2011 17:17:19 +0000 Received: by comcast.net (sSMTP sendmail emulation); Wed, 30 Mar 2011 10:17:18 -0700 Date: Wed, 30 Mar 2011 10:17:17 -0700 From: Charlie Kester To: freebsd-stable@freebsd.org Message-ID: <20110330171717.GF32087@comcast.net> Mail-Followup-To: freebsd-stable@freebsd.org References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> <87tyek99zb.fsf@cosmos.claresco.hr> <1301497823.1511.57.camel@xenon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <1301497823.1511.57.camel@xenon> User-Agent: Mutt/1.4.2.3i X-Mailer: Mutt 1.4.2.3i X-Composer: Vim 7.3 Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 17:30:30 -0000 On Wed 30 Mar 2011 at 08:10:23 PDT Michal Varga wrote: >On Wed, 2011-03-30 at 16:26 +0200, Oliver Pinter wrote: >> http://hup.hu/node/94286 ;) >> > >1. >$ portinstall -v www/epiphany >$ epiphany "http://www.youtube.com/html5" >$ epiphany "http://www.youtube.com/watch?v=XBH1dcHoL6Y" Firefox4 is now in ports, and also supports html5. From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 17:46:14 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FDE10656F2 for ; Wed, 30 Mar 2011 17:46:14 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1A2628FC14 for ; Wed, 30 Mar 2011 17:46:13 +0000 (UTC) Received: by bwz12 with SMTP id 12so1385955bwz.13 for ; Wed, 30 Mar 2011 10:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:cc:in-reply-to:references :content-type:organization:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=8LU+qdeEiFiM99Z+PNTeqtIugeA7MUjaKv6OaBrm934=; b=rS0tvfBkefzObYrtJ9nQS+KDcA3ZAKLyZzpCeecuHLfku4kjg1UAXhYhzRadDqtNfx Q5dvxzgvk+ZDZKlqInucXfDmsM1gPCQAGEjckIxYtV8TAi1cu3rlnh140F1NvrL5n2Qb i/T2mEx7vq6/O8LmZfbuPbMQ+2QZOZYHyyo0k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:organization :date:message-id:mime-version:x-mailer:content-transfer-encoding; b=iUtXYUgS1FDspVC6VUQ2yj7Q88J2PrgFZI9PivAAWhebnstznSJNoYk+6tWZwKNCOw Ft0xxUBsYxmuHyq9fLrx306LfjY2xgPCIy/+JQ5JnkXgN1V1xVAkxLEIrM5/Oekk5ma0 +SWGph9PgpTxswhMTHkMUeNkJX58bMNNkGIww= Received: by 10.204.154.199 with SMTP id p7mr1390730bkw.114.1301507172914; Wed, 30 Mar 2011 10:46:12 -0700 (PDT) Received: from [10.0.101.2] (254.166.broadband10.iol.cz [90.177.166.254]) by mx.google.com with ESMTPS id w3sm227013bkt.17.2011.03.30.10.46.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 10:46:12 -0700 (PDT) From: Michal Varga To: Charlie Kester In-Reply-To: <20110330171717.GF32087@comcast.net> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> <87tyek99zb.fsf@cosmos.claresco.hr> <1301497823.1511.57.camel@xenon> <20110330171717.GF32087@comcast.net> Content-Type: text/plain; charset="UTF-8" Organization: Stonehenge Date: Wed, 30 Mar 2011 19:46:09 +0200 Message-ID: <1301507169.1513.6.camel@xenon> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 17:46:14 -0000 On Wed, 2011-03-30 at 10:17 -0700, Charlie Kester wrote: > On Wed 30 Mar 2011 at 08:10:23 PDT Michal Varga wrote: > >On Wed, 2011-03-30 at 16:26 +0200, Oliver Pinter wrote: > >> http://hup.hu/node/94286 ;) > >> > > > >1. > >$ portinstall -v www/epiphany > >$ epiphany "http://www.youtube.com/html5" > >$ epiphany "http://www.youtube.com/watch?v=XBH1dcHoL6Y" > > Firefox4 is now in ports, and also supports html5. Only partially. Firefox supports only Google's WEBM video codec for political reasons, completely ignoring the major one - H.264 (sure, there is Ogg Theora too, but nobody uses that). So Firefox's usefulness on HTML5 video is at this moment very limited. I picked Epiphany in my example as it uses gstreamer backend for HTML5 video and thus plays everything that gstreamer has codecs for, which is basically everything. m. -- Michal Varga, Stonehenge (Gmail account) From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 18:53:31 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1C3E106566C for ; Wed, 30 Mar 2011 18:53:31 +0000 (UTC) (envelope-from jhellenthal@gmail.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 5B6EE8FC18 for ; Wed, 30 Mar 2011 18:53:31 +0000 (UTC) Received: by yxl31 with SMTP id 31so754558yxl.13 for ; Wed, 30 Mar 2011 11:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:in-reply-to :message-id:references:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; bh=TRZENxh/uHT/bu3RXjj19fvCj/GsNwaBcAuCBcaAoAA=; b=ne5MpCEtikXPmSlJjoKHhJVlvnaCXOaIR87j2d9XkWRzPmBwL2W52Wu/LDbs+YaVbs 8j11d2Hkv10qiNx8g84Oy9m4/kNNoG2Ii4l+PjUIaqL1rixrGRIGwMOYIKcx/LojqBHH yAAyvGf9OPO/OVCCGd+AMt7CW/9iECGNTjRdo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=IvDfdqMC9Nsbcpf328SZwjqkS7llNFf6xgirDtR+GHAI8rvrOoKGRYoG6ZrabXtWwE gysrWRrFwzTlYxTAR7nRrOb9GjnHZ9fkJXsziSR4fcVmo5wloYiRcFNFTz22l+fKXEx4 qa3E1EA//uyVE84vCw8bNVnb1YwnGl3HkEoLU= Received: by 10.236.201.136 with SMTP id b8mr2257670yho.121.1301511210562; Wed, 30 Mar 2011 11:53:30 -0700 (PDT) Received: from disbatch.dataix.local (adsl-99-181-153-110.dsl.klmzmi.sbcglobal.net [99.181.153.110]) by mx.google.com with ESMTPS id l74sm177182yhn.45.2011.03.30.11.53.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2011 11:53:28 -0700 (PDT) Sender: "J. Hellenthal" Date: Wed, 30 Mar 2011 14:53:16 -0400 From: "J. Hellenthal" To: Mark Morley In-Reply-To: <14240cm1t.1301423690@helpdesk.islandnet.com> Message-ID: References: <14240cm1t.1301423690@helpdesk.islandnet.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Cc: Scot Hetzel , FreeBSD Stable Subject: Re: ZFS pool on FreeBSD 8.2-STABLE broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 18:53:31 -0000 On Tue, 29 Mar 2011 14:34, mark@ wrote: > On Mon, 28 Mar 2011 13:38:54 -0500 Scot Hetzel wrote: On Mon, Mar 28, 2011 at 1:17 PM, Mark Morley wrote: >> Hi there, >> >> I have a small backup server (8.2-STABLE). ???It boots from ufs and has azfs pool for backups that consists of 8 drives configured as 4 mirrored devices, totally around 2.5 TB. >> >> Been working great, no issues, until the past few days when remote rsyncsto it have started to get very slow (it's only at around %50 capacity). ???Rebooting it helps for a while, then it gets slow again. ???But this isn't the problem now... >> >> After the last reboot, it froze while booting right at the point where the file system gets mounted. ???No errors, it just doesn't proceed past the ZFS version message. >> >> I rebooted single user and tried to access it with "zpool status", and the command hangs in the same way. ???Any attempt to access it ("zfs list", for example) does the same thing. >> >> The disks themselves seem fine. ???They are all connected to a pair of Adaptec RAID controllers (configured as individual drives, with mirroring handled by zfs) and the controller software shows them all to be intact. >> >> I disabled zfs in rc.conf and was able to boot, but I can't access the pool. >> >> Any ideas on how to diagnose and hopefully repair this? >> > > Your going to need to download a recent -CURRENT ISO that contans zfs > v28, then you can try to recover the pool as outlined in this post > http://opensolaris.org/jive/message.jspa?messageID=445269 > > Well, what I did was rebuild world and kernel top 9.0-CURRENT and reboot. It was able to see and access the zfs file system immediately without having to import it. I did a zpool upgrade to v28 and all seems well so far. > He specifically does not need -9 to get v28 code for this recovery operation. Martin Matuska does a pretty swell job of keeping these [1] up-to-date so in-case something does go wrong it can be fixed fairly quickly without having to go through and rebuild this and that. 1. http://mfsbsd.vx.sk/ -- Regards, J. Hellenthal (0x89D8547E) JJH48-ARIN From owner-freebsd-stable@FreeBSD.ORG Wed Mar 30 20:24:33 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69717106566C for ; Wed, 30 Mar 2011 20:24:33 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 1FBF18FC15 for ; Wed, 30 Mar 2011 20:24:32 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LIW003CE0OV5H00@thalia-smout.broadpark.no> for freebsd-stable@freebsd.org; Wed, 30 Mar 2011 22:24:31 +0200 (CEST) Received: from kg-v2.kg4.no ([84.48.120.215]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LIW00N2J0OU1DK0@terra-smin.broadpark.no> for freebsd-stable@freebsd.org; Wed, 30 Mar 2011 22:24:31 +0200 (CEST) Date: Wed, 30 Mar 2011 22:24:30 +0200 From: Torfinn Ingolfsen To: freebsd-stable@freebsd.org Message-id: <20110330222430.936744f2.torfinn.ingolfsen@broadpark.no> In-reply-to: References: <14240cm1t.1301423690@helpdesk.islandnet.com> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: ZFS pool on FreeBSD 8.2-STABLE broken? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2011 20:24:33 -0000 On Wed, 30 Mar 2011 14:53:16 -0400 "J. Hellenthal" wrote: > He specifically does not need -9 to get v28 code for this recovery > operation. Martin Matuska does a pretty swell job of keeping these [1] > up-to-date so in-case something does go wrong it can be fixed fairly > quickly without having to go through and rebuild this and that. > > 1. http://mfsbsd.vx.sk/ Ah... very useful tools. Thanks for mentioning. And thanks to Martin Matuska for doing this. Have a nice day, everyone. -- Regards, Torfinn Ingolfsen From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 02:02:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83F5C1065672 for ; Fri, 1 Apr 2011 02:02:42 +0000 (UTC) (envelope-from nm.knife@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4BEC28FC0C for ; Fri, 1 Apr 2011 02:02:42 +0000 (UTC) Received: by iwn33 with SMTP id 33so3778673iwn.13 for ; Thu, 31 Mar 2011 19:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=UFwZmhWZxCH6Y7Z5iI0LqO9ni2rSyi+/H8KK1Gn8cvI=; b=HlDAom+f380fa0x5VErjAprDkfRg4jJ8d784gxs2SPMHPd/0VJIArPd21XL0PA3Vvk d6uByI3zIbVlwHHbpTB06+bsTCwn2JaWPirSiap/VlxIy7Wv0a/v61kpMD+MM7ExWLRK rUbYCpXeFTq9IV5+jWQdjhw4zkqhihGGgm7Ns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DOk11E0oWGWpuA+pSTsBcjBqzKMHTuPy5QQ6vE1QQpbZcI+gPB1CiFfjv2z77EAGih niTp2A++V9yAinLoZICElYshpsVyGdPYE/Ya1NWNxSyb1pnFS1XqBMU9kDGmBF42S8Zx mVwaM+c8tVRU25MLHO1LpC1WX1ggVrDFsX5Jo= MIME-Version: 1.0 Received: by 10.231.180.94 with SMTP id bt30mr3392129ibb.23.1301621891088; Thu, 31 Mar 2011 18:38:11 -0700 (PDT) Received: by 10.231.45.210 with HTTP; Thu, 31 Mar 2011 18:38:11 -0700 (PDT) In-Reply-To: <1301507169.1513.6.camel@xenon> References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <4D917B7B.1020106@FreeBSD.org> <87tyek99zb.fsf@cosmos.claresco.hr> <1301497823.1511.57.camel@xenon> <20110330171717.GF32087@comcast.net> <1301507169.1513.6.camel@xenon> Date: Thu, 31 Mar 2011 18:38:11 -0700 Message-ID: From: =?windows-1251?B?y/7h7uzo8CDD8Ojj7vDu4g==?= To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 02:02:42 -0000 I've been using Opera forever. It as an old and proven browser and it runs natively on FreeBSD. You can have the Linux flash plugin attached to it and still run the native FreeBSD version. It also supports html5. -- Lyubomir Grigorov (bgalakazam) From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 10:40:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FF2E106566B; Fri, 1 Apr 2011 10:40:15 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id EB8E98FC13; Fri, 1 Apr 2011 10:40:14 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q5blz-000Czm-Of; Fri, 01 Apr 2011 11:40:11 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q5blz-00084y-NW; Fri, 01 Apr 2011 11:40:11 +0100 To: petefrench@ingresso.co.uk, trociny@freebsd.org In-Reply-To: <86wrjj5xfm.fsf@in138.ua3> Message-Id: From: Pete French Date: Fri, 01 Apr 2011 11:40:11 +0100 Cc: freebsd-fs@freebsd.org, pjd@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 10:40:15 -0000 > Yes, you may hit it only on hast devices creation. The workaround is to avoid > using 'hastctl role primary all', start providers one by one instead. Interesting to note that I just hit a lockup in hast (the discs froze up - could not run hastctl or zpool import, and could not kill them). I have two hast devices instead of one, but I am starting them individually instead of using 'all'. The copde includes all the latest patches which have gone into STABLE over the last few days, none of which look particularly controversial! I havent tried your atch yet, nor been able to reporduce the lockup, but thought you might be interested to know that I also had problems with multiple providers. cheers, -pete. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 11:22:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54B7D106564A; Fri, 1 Apr 2011 11:22:48 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id 11F808FC0A; Fri, 1 Apr 2011 11:22:48 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q5cRC-000EXF-KS; Fri, 01 Apr 2011 12:22:46 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q5cRC-0000iz-JX; Fri, 01 Apr 2011 12:22:46 +0100 To: fjwcash@gmail.com, trociny@freebsd.org In-Reply-To: Message-Id: From: Pete French Date: Fri, 01 Apr 2011 12:22:46 +0100 Cc: freebsd-fs@freebsd.org, pjd@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 11:22:48 -0000 > The other 5% of the time, the hastd crashes occurred either when > importing the ZFS pool, or when running multiple parallel rsyncs to > the pool. hastd was always shown as the last running process in the > backtrace onscreen. This is what I am seeing - did you manage to reproduce this with the patch, or does it fix the issue for you ? Am doing more test now, with only a single hast device to see if it is stable. Am Ok to run without mirroring across hast devices for now, but wouldnt like to do so long term! -pete. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 11:27:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 152201065670 for ; Fri, 1 Apr 2011 11:27:42 +0000 (UTC) (envelope-from mlerota@claresco.hr) Received: from eu1sys200aog114.obsmtp.com (eu1sys200aog114.obsmtp.com [207.126.144.137]) by mx1.freebsd.org (Postfix) with SMTP id 69E9D8FC1D for ; Fri, 1 Apr 2011 11:27:41 +0000 (UTC) Received: from source ([74.125.82.54]) (using TLSv1) by eu1sys200aob114.postini.com ([207.126.147.11]) with SMTP ID DSNKTZW2rNo6yr4btNVK4yBKll3IEz5FKLnt@postini.com; Fri, 01 Apr 2011 11:27:41 UTC Received: by wwd20 with SMTP id 20so3960373wwd.11 for ; Fri, 01 Apr 2011 04:27:40 -0700 (PDT) Received: by 10.216.133.199 with SMTP id q49mr1142655wei.17.1301657259971; Fri, 01 Apr 2011 04:27:39 -0700 (PDT) Received: from cosmos.claresco.hr (zid.claresco.hr [89.201.163.42]) by mx.google.com with ESMTPS id k76sm948723wej.19.2011.04.01.04.27.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 04:27:39 -0700 (PDT) From: Marko Lerota To: freebsd-stable@freebsd.org Organization: *BSD Users - Fanatics Dept. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC Date: Fri, 01 Apr 2011 13:27:40 +0200 Message-ID: <87d3l6p5xv.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 11:27:42 -0000 Today one of my home servers lost power two times in a short period of time. After that, the system just couldn't get up. Background checks couldn't get started. The messages was how / /tmp /var etc...had to much errors. And at the end, always got this: "automatic reboot will start in 15sec". I went to single user mode, and ran FSCK manually. That solved the problem. But the server was down for 2 hours. This is not the first time that I had to do this. Every now and then I have seen this on BSD servers without UPS. My question is: Would it happen if I had ZFS as a file system on all partitions including root? The setup was FreeBSD 8.1, with two disks in raid 1 with gmirror. -- Marko Lerota Sent from my Gnus Mailer From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 12:17:44 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21445106566B for ; Fri, 1 Apr 2011 12:17:44 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D06B68FC08 for ; Fri, 1 Apr 2011 12:17:43 +0000 (UTC) Received: by iwn33 with SMTP id 33so4308637iwn.13 for ; Fri, 01 Apr 2011 05:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=qWnX42vYdOjvRGebJELpPi308YVG2eqH2s5jUbOWdCg=; b=QekSNcgyM7o5nwEWTwEF41jJOaaExkEPZGKt/3TeLFUpRIjPLROdw1tpeqft918Zp/ I2XpYnDk2zASIlAXHfZ3EJf9ZBWNsx7UAfyZEy/6vA5FM1cOIo8W2vRCoXtewTTxcvmM MONhEWY4+ltQ9Cp6N0QVVhFs+VZ2vuV9HBfp0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HnPJSFCYHC+1FWQZlUGL5LsBL24H3USFMG+cqKdKoYp/sEqguaClRsogZ9stKnItsj byGL2ZZGgEJAfXJfSR8o/lZ1sMJfmtVRVsx6zYRoq0k1E2ak4GE+SIafD0xgCaXBmye7 VRqqCcq+pIj6zjVSp+Su09pRn6JwYaqJrFEJ0= MIME-Version: 1.0 Received: by 10.42.170.6 with SMTP id d6mr5169891icz.304.1301660262499; Fri, 01 Apr 2011 05:17:42 -0700 (PDT) Received: by 10.231.33.1 with HTTP; Fri, 1 Apr 2011 05:17:42 -0700 (PDT) In-Reply-To: <87d3l6p5xv.fsf@cosmos.claresco.hr> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> Date: Fri, 1 Apr 2011 15:17:42 +0300 Message-ID: From: George Kontostanos To: Marko Lerota Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 12:17:44 -0000 Not with the same behavior and it depends on what your server is doing at the time of the power interruption. In most cases you wouldn't see anything but ZFS is not the solution to your problem. ZFS is not designed to replace the needs of a UPS. On Fri, Apr 1, 2011 at 2:27 PM, Marko Lerota wrote: > Today one of my home servers lost power two times in a short > period of time. After that, the system just couldn't get up. > Background checks couldn't get started. The messages was how > / /tmp /var etc...had to much errors. And at the end, always > got this: "automatic reboot will start in 15sec". > > I went to single user mode, and ran FSCK manually. That solved > the problem. But the server was down for 2 hours. > > This is not the first time that I had to do this. Every now > and then I have seen this on BSD servers without UPS. > > My question is: > > Would it happen if I had ZFS as a file system on all partitions > including root? > > The setup was FreeBSD 8.1, with two disks in raid 1 with gmirror. > > -- > Marko Lerota > Sent from my Gnus Mailer > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > -- George Kontostanos aisecure.net From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 12:31:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D79E106566C; Fri, 1 Apr 2011 12:31:42 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 92F628FC17; Fri, 1 Apr 2011 12:31:41 +0000 (UTC) Received: by wwc33 with SMTP id 33so3862779wwc.31 for ; Fri, 01 Apr 2011 05:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:organization:references :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=bqNf/7fEK7qxSIg9S8OIcCHJLt8Rcc3c2UBI+62+pAg=; b=k1Q+4VG66AllL4RQ0nd3iqdSFI+F8M9hyf1PCTJnkEcxC4aGqguTtx/fAYgsrxx7bX UujtrF8+iZX79XS8U+xjdz/HDjWmmIhXap0y7F99TQLegA1i4zI+we1TQLnIMFTHIEKo a7CwXxbqLwbpV10oOHnweFW07myExWI4cWPIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=Y51PgGxrnqR/YHYEkkRnfTh4Tn+P8I36EMZTMEppFMkytJn/xKEj8r566lHO6N0Pq7 KFq6wWa5k6v2pYcYlAq1zAt9jters7N5Mv6qNMpLCLY4T8gm63wEC7ZSj9teGCjZmJRR 0BPaAvj50FiCVloC6UOOWXDwOBcpFogXdEKyo= Received: by 10.216.121.208 with SMTP id r58mr771357weh.61.1301661100530; Fri, 01 Apr 2011 05:31:40 -0700 (PDT) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id x1sm1240001wbh.53.2011.04.01.05.31.38 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 05:31:39 -0700 (PDT) From: Mikolaj Golub To: Pete French Organization: TOA Ukraine References: Sender: Mikolaj Golub Date: Fri, 01 Apr 2011 15:31:36 +0300 In-Reply-To: (Pete French's message of "Fri, 01 Apr 2011 11:40:11 +0100") Message-ID: <86wrjei253.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-fs@freebsd.org, pjd@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 12:31:42 -0000 On Fri, 01 Apr 2011 11:40:11 +0100 Pete French wrote: >> Yes, you may hit it only on hast devices creation. The workaround is to avoid >> using 'hastctl role primary all', start providers one by one instead. PF> Interesting to note that I just hit a lockup in hast (the discs froze PF> up - could not run hastctl or zpool import, and could not kill PF> them). I have two hast devices instead of one, but I am starting them PF> individually instead of using 'all'. The copde includes all the latest PF> patches which have gone into STABLE over the last few days, none of which PF> look particularly controversial! PF> I havent tried your atch yet, nor been able to reporduce the lockup, but PF> thought you might be interested to know that I also had problems with PF> multiple providers. This looks like a different problem. If you have this again please provide the output of 'procstat -kka'. -- Mikolaj Golub From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 12:32:45 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCF0B1065672; Fri, 1 Apr 2011 12:32:45 +0000 (UTC) (envelope-from petefrench@ingresso.co.uk) Received: from constantine.ingresso.co.uk (constantine.ingresso.co.uk [IPv6:2001:470:1f09:176e::3]) by mx1.freebsd.org (Postfix) with ESMTP id 948488FC15; Fri, 1 Apr 2011 12:32:45 +0000 (UTC) Received: from dilbert.london-internal.ingresso.co.uk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ingresso.co.uk with esmtps (TLSv1:AES256-SHA:256) (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Q5dWs-000GvP-2N; Fri, 01 Apr 2011 13:32:42 +0100 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q5dWs-0000xJ-1N; Fri, 01 Apr 2011 13:32:42 +0100 To: petefrench@ingresso.co.uk, trociny@freebsd.org In-Reply-To: <86wrjei253.fsf@in138.ua3> Message-Id: From: Pete French Date: Fri, 01 Apr 2011 13:32:42 +0100 Cc: freebsd-fs@freebsd.org, pjd@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 12:32:45 -0000 > This looks like a different problem. If you have this again please provide the > output of 'procstat -kka'. Will do... -pete. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 12:39:05 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D76D106566B for ; Fri, 1 Apr 2011 12:39:05 +0000 (UTC) (envelope-from amarat@ksu.ru) Received: from mx3.ksu.ru (mx3.ksu.ru [83.69.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id 269B08FC0A for ; Fri, 1 Apr 2011 12:39:03 +0000 (UTC) Received: from unknown (HELO ruby.ksu.ru) ([178.213.240.4]) by ironport1.ksu.ru with ESMTP; 01 Apr 2011 16:08:44 +0400 X-Pass-Through: Kazan State University Network Received: from zealot.ksu.ru ([194.85.245.161]) by ksu.ru (8.13.4/8.13.4) with ESMTP id p31C31Om032516; Fri, 1 Apr 2011 12:03:01 GMT Received: from zealot.ksu.ru (localhost.lnet [127.0.0.1]) by zealot.ksu.ru (8.14.4/8.14.4) with ESMTP id p31C7PZs036892; Fri, 1 Apr 2011 16:07:25 +0400 (MSD) (envelope-from amarat@ksu.ru) Message-ID: <4D95BFFD.2040307@ksu.ru> Date: Fri, 01 Apr 2011 16:07:25 +0400 From: "Marat N.Afanasyev" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101215 Firefox/3.6.15 MIME-Version: 1.0 To: Marko Lerota References: <87d3l6p5xv.fsf@cosmos.claresco.hr> In-Reply-To: <87d3l6p5xv.fsf@cosmos.claresco.hr> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020908030707020208080209" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 12:39:05 -0000 This is a cryptographically signed message in MIME format. --------------ms020908030707020208080209 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Marko Lerota wrote: > Today one of my home servers lost power two times in a short > period of time. After that, the system just couldn't get up. > Background checks couldn't get started. The messages was how > / /tmp /var etc...had to much errors. And at the end, always > got this: "automatic reboot will start in 15sec". > > I went to single user mode, and ran FSCK manually. That solved > the problem. But the server was down for 2 hours. > > This is not the first time that I had to do this. Every now > and then I have seen this on BSD servers without UPS. > > My question is: > > Would it happen if I had ZFS as a file system on all partitions > including root? > > The setup was FreeBSD 8.1, with two disks in raid 1 with gmirror. > I'm afraid that in case of sequential power loss you will be faced with=20 broken filesystems regardless of filesystem you're using. and I suppose=20 that data on your servers costs, at least, ten times more than any UPS=20 that should safely shut down your server in case of black out. --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =ED=C1=D2=C1=D4 =E1=C6=C1=CE=C1=D3=D8=C5= =D7 --------------ms020908030707020208080209-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 13:29:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 874FE106564A for ; Fri, 1 Apr 2011 13:29:41 +0000 (UTC) (envelope-from mlerota@claresco.hr) Received: from eu1sys200aog109.obsmtp.com (eu1sys200aog109.obsmtp.com [207.126.144.127]) by mx1.freebsd.org (Postfix) with SMTP id D8CDB8FC0C for ; Fri, 1 Apr 2011 13:29:40 +0000 (UTC) Received: from source ([74.125.82.43]) (using TLSv1) by eu1sys200aob109.postini.com ([207.126.147.11]) with SMTP ID DSNKTZXTQz4oLQ4WewJDTSWoulLB41j6itlL@postini.com; Fri, 01 Apr 2011 13:29:40 UTC Received: by mail-ww0-f43.google.com with SMTP id 17so3354765wwb.12 for ; Fri, 01 Apr 2011 06:29:39 -0700 (PDT) Received: by 10.216.123.69 with SMTP id u47mr3945867weh.16.1301664579002; Fri, 01 Apr 2011 06:29:39 -0700 (PDT) Received: from cosmos.claresco.hr (zid.claresco.hr [89.201.163.42]) by mx.google.com with ESMTPS id c54sm1000079wer.30.2011.04.01.06.29.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 06:29:37 -0700 (PDT) From: Marko Lerota To: freebsd-stable@freebsd.org In-Reply-To: (George Kontostanos's message of "Fri, 1 Apr 2011 15:17:42 +0300") Organization: *BSD Users - Fanatics Dept. References: <87d3l6p5xv.fsf@cosmos.claresco.hr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC Date: Fri, 01 Apr 2011 15:29:39 +0200 Message-ID: <874o6ip0ak.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 13:29:41 -0000 George Kontostanos writes: > Not with the same behavior and it depends on what your server is doing at > the time of the power interruption. It was in stage of booting after first power loss. > but ZFS is not the solution to your problem. ZFS is not designed to replace > the needs of a UPS. I'm just asking if this wouldn't happen if I used ZFS. I read that ZFS don't need fsck because the files are always consistent on filesystem regardless of power loses. That the corruption can occur only if disks are damaged. But not when power goes down. I'm not planing to buy UPS for home use. -- Marko Lerota Sent from my Gnus Mailer From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 14:18:03 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B1EE106566B; Fri, 1 Apr 2011 14:18:03 +0000 (UTC) (envelope-from fjwcash@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 0D0038FC13; Fri, 1 Apr 2011 14:18:02 +0000 (UTC) Received: by ywf9 with SMTP id 9so1644792ywf.13 for ; Fri, 01 Apr 2011 07:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hhYgRZzxQZ9eSzDt4Ga4096kf+EKibrlQ4ZLg6EMPsc=; b=u/IqUM1L/fDTW+6aYoMgwJE3kD5UHvtcQiWuH8M8tavlJg4xN1BqGwGDfq4CyyDheY laAg5EJIk9BQ9kl6ctkiLIc1y3cqINdIFtOZKReJbIGPcWL8GqnuEVsrxhOKbVu1H2Ev zBBdW8T4rJ7O2HDP35yNW1RmVJQUfZKuyewLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gY108ENFj0Vm7+qvcuv8ZIL7xI8KbhTIlz2maolyu0xOZKN4OxYKE9tyVh+E9JlK1v XGz8vMHAY1E/4+m7fPMAGeQuVjgPRdHJzH6G8HgwZkHPLb73Pbw0wbFOImAOHBxLhMxB wBSS2QG9RyWW0TNgdyDvB9Q+R0RF22uH7AbOM= MIME-Version: 1.0 Received: by 10.91.56.2 with SMTP id i2mr1065604agk.19.1301667482163; Fri, 01 Apr 2011 07:18:02 -0700 (PDT) Received: by 10.90.100.10 with HTTP; Fri, 1 Apr 2011 07:18:01 -0700 (PDT) In-Reply-To: References: Date: Fri, 1 Apr 2011 07:18:01 -0700 Message-ID: From: Freddie Cash To: Pete French Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: trociny@freebsd.org, freebsd-fs@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org, pjd@freebsd.org Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 14:18:03 -0000 On Fri, Apr 1, 2011 at 4:22 AM, Pete French wro= te: >> The other 5% of the time, the hastd crashes occurred either when >> importing the ZFS pool, or when running multiple parallel rsyncs to >> the pool. =C2=A0hastd was always shown as the last running process in th= e >> backtrace onscreen. > > This is what I am seeing - did you manage to reproduce this with the patc= h, > or does it fix the issue for you ? Am doing more test now, with only a si= ngle > hast device to see if it is stable. Am Ok to run without mirroring across > hast devices for now, but wouldnt like to do so long term! I have not been able to crash or hang the box since applying Mikolaj's patc= h. I've tried the following: - destroy pool - create pool - destroy hast providers - create hast providers - switch from master to slave via hastctl using "role secondary all" - switch from slave to master via hastctl using "role primary all" - switch roles via hast-carp-switch which does one provider per second - import/export pool I've been running 6 parallel rsyncs for the past 48 hours, getting a consistent 200 Mbps of transfers, with just under 2 TB of deduped data in the pool, without any lockups. So far, so good. --=20 Freddie Cash fjwcash@gmail.com From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 14:45:04 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677F3106564A for ; Fri, 1 Apr 2011 14:45:04 +0000 (UTC) (envelope-from zkolic@sbb.rs) Received: from smtp9.sbb.rs (smtp9.sbb.rs [89.216.2.41]) by mx1.freebsd.org (Postfix) with ESMTP id C9C668FC14 for ; Fri, 1 Apr 2011 14:45:03 +0000 (UTC) Received: from faust (cable-94-189-181-151.dynamic.sbb.rs [94.189.181.151]) by smtp9.sbb.rs (8.14.0/8.14.0) with ESMTP id p31Ej1cA002139 for ; Fri, 1 Apr 2011 16:45:01 +0200 Received: by faust (Postfix, from userid 1001) id 0B9C617024; Fri, 1 Apr 2011 16:44:17 +0200 (CEST) Date: Fri, 1 Apr 2011 16:44:16 +0200 From: Zoran Kolic To: freebsd-stable@freebsd.org Message-ID: <20110401144416.GA998@faust> References: <20110401120035.D723110656D2@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110401120035.D723110656D2@hub.freebsd.org> X-SMTP-Vilter-Version: 1.3.2 X-SBB-Virus-Status: clean X-SBB-Spam-Score: -2.0 Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 14:45:04 -0000 > I've been using Opera forever. It as an old and proven browser and it runs > natively on FreeBSD. You can have the Linux flash plugin attached to it and > still run the native FreeBSD version. It also supports html5. I use Conkeror on both desktop and laptop and simply cannot imagine to go back to . Just wonna stress how my nodes run no more than 10 processes at the boot time and how that differs from whatever os I en- countered so far. As almost all posters on this topic I do not care for a dime if someone finds freebsd hard to configure to suit. It is part of the game and fun itself. Best regards Zoran From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 15:42:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC7781065672 for ; Fri, 1 Apr 2011 15:42:33 +0000 (UTC) (envelope-from amarat@ksu.ru) Received: from mx3.ksu.ru (mx3.ksu.ru [83.69.96.40]) by mx1.freebsd.org (Postfix) with ESMTP id ED4BE8FC15 for ; Fri, 1 Apr 2011 15:42:32 +0000 (UTC) Received: from unknown (HELO ruby.ksu.ru) ([178.213.240.4]) by ironport1.ksu.ru with ESMTP; 01 Apr 2011 19:42:18 +0400 X-Pass-Through: Kazan State University Network Received: from zealot.ksu.ru ([194.85.245.161]) by ksu.ru (8.13.4/8.13.4) with ESMTP id p31FXHhs013323; Fri, 1 Apr 2011 15:33:17 GMT Received: from zealot.ksu.ru (localhost.lnet [127.0.0.1]) by zealot.ksu.ru (8.14.4/8.14.4) with ESMTP id p31Fbejl038274; Fri, 1 Apr 2011 19:37:40 +0400 (MSD) (envelope-from amarat@ksu.ru) Message-ID: <4D95F143.8080001@ksu.ru> Date: Fri, 01 Apr 2011 19:37:39 +0400 From: "Marat N.Afanasyev" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20101215 Firefox/3.6.15 MIME-Version: 1.0 To: Marko Lerota References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> In-Reply-To: <874o6ip0ak.fsf@cosmos.claresco.hr> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms080903030903020306070002" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 15:42:34 -0000 This is a cryptographically signed message in MIME format. --------------ms080903030903020306070002 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Marko Lerota wrote: > George Kontostanos writes: > >> Not with the same behavior and it depends on what your server is doing= at >> the time of the power interruption. > > It was in stage of booting after first power loss. > >> but ZFS is not the solution to your problem. ZFS is not designed to re= place >> the needs of a UPS. > > I'm just asking if this wouldn't happen if I used ZFS. I read that ZFS > don't need fsck because the files are always consistent on filesystem > regardless of power loses. That the corruption can occur only if disks > are damaged. But not when power goes down. I'm not planing to buy UPS > for home use. > to ensure consistency you should turn off physical drive caches, and=20 degrade performance significantly, sometimes up to 1000x. if this is=20 what you want, you may use either zfs or sync ufs. in such case you may=20 be almost sure that your filesystems are consistent. but if you use=20 drive's cache, then without UPS you will face data loss and vanished=20 filesystem earlier or later --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =ED=C1=D2=C1=D4 =E1=C6=C1=CE=C1=D3=D8=C5= =D7 --------------ms080903030903020306070002-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 15:47:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDDB91065673 for ; Fri, 1 Apr 2011 15:47:34 +0000 (UTC) (envelope-from sec@42.org) Received: from ice.42.org (v6.42.org [IPv6:2001:608:9::1]) by mx1.freebsd.org (Postfix) with ESMTP id 73AC48FC1B for ; Fri, 1 Apr 2011 15:47:34 +0000 (UTC) Received: by ice.42.org (Postfix, from userid 1000) id 9FB752841C; Fri, 1 Apr 2011 17:47:32 +0200 (CEST) Date: Fri, 1 Apr 2011 17:47:32 +0200 From: Stefan `Sec` Zehl To: Marko Lerota Message-ID: <20110401154732.GC37730@ice.42.org> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d3l6p5xv.fsf@cosmos.claresco.hr> User-Agent: Mutt/1.4.2.3i I-love-doing-this: really X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle: Accept-Languages: de, en X-URL: http://sec.42.org/ Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 15:47:34 -0000 Hi, On Fri, Apr 01, 2011 at 13:27 +0200, Marko Lerota wrote: > Today one of my home servers lost power two times in a short > period of time. After that, the system just couldn't get up. > Background checks couldn't get started. The messages was how > / /tmp /var etc...had to much errors. And at the end, always > got this: "automatic reboot will start in 15sec". > > I went to single user mode, and ran FSCK manually. That solved > the problem. But the server was down for 2 hours. If you want to get rid of the reboot loop, set: background_fsck="NO" Then it will either come up, or ask for help if anything fails. If you absolutely want the server to come up, you can set this fsck_y_enable="YES" Assuming you're in the habit of answering "yes" to fsck's questions, this will do it automatically in case of problems. (Both settings are for /etc/rc.conf, of course) CU, Sec -- One of the strongest advantages of plain-text email is that people cannot use the typesetting features they want. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 15:48:16 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F64C106566C for ; Fri, 1 Apr 2011 15:48:16 +0000 (UTC) (envelope-from bob@immure.com) Received: from maul.immure.com (adsl-66-136-206-1.dsl.austtx.swbell.net [66.136.206.1]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE658FC08 for ; Fri, 1 Apr 2011 15:48:15 +0000 (UTC) Received: from rancor.immure.com (rancor.immure.com [10.1.132.9]) by maul.immure.com (8.14.4/8.14.4) with ESMTP id p31FPdWP070655; Fri, 1 Apr 2011 10:25:39 -0500 (CDT) (envelope-from bob@immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.4/8.14.4/Submit) id p31FPdTS092256; Fri, 1 Apr 2011 10:25:39 -0500 (CDT) (envelope-from bob) Date: Fri, 1 Apr 2011 10:25:39 -0500 From: Bob Willcox To: Marko Lerota Message-ID: <20110401152538.GA92060@rancor.immure.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874o6ip0ak.fsf@cosmos.claresco.hr> User-Agent: Mutt/1.5.20 (2009-06-14) X-immure-MailScanner-Information: Please contact the ISP for more information X-immure-MailScanner-ID: p31FPdWP070655 X-immure-MailScanner: Found to be clean X-immure-MailScanner-From: bob@immure.com X-Spam-Status: No Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bob Willcox List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 15:48:16 -0000 On Fri, Apr 01, 2011 at 03:29:39PM +0200, Marko Lerota wrote: > George Kontostanos writes: > > > Not with the same behavior and it depends on what your server is doing at > > the time of the power interruption. > > It was in stage of booting after first power loss. > > > but ZFS is not the solution to your problem. ZFS is not designed to replace > > the needs of a UPS. > > I'm just asking if this wouldn't happen if I used ZFS. I read that ZFS > don't need fsck because the files are always consistent on filesystem > regardless of power loses. That the corruption can occur only if disks > are damaged. But not when power goes down. I'm not planing to buy UPS > for home use. I really don't know much about ZFS, but I do know about disks (I work on SAS device drivers for AIX and deal with lots of disks); and I doubt that any filesystem is going to be immune to sudden power failures when writing to a disk. At least I wouldn't trust them. If you care about the integrity of your data, I would reconsider your plans about the UPS. -- Bob Willcox Trying to explain things to people who already know bob@immure.com everything is like trying to teach a bear to dance; Austin, TX it's useless, and it annoys the bear. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 15:53:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADDB81065670 for ; Fri, 1 Apr 2011 15:53:22 +0000 (UTC) (envelope-from nzp@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [204.13.164.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8F1448FC12 for ; Fri, 1 Apr 2011 15:53:22 +0000 (UTC) Received: from auk.riseup.net (auk-pn.riseup.net [10.0.1.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 8C35918DAF2 for ; Fri, 1 Apr 2011 08:53:21 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nzp@auk.riseup.net) with ESMTPSA id 2F67E49D3 Date: Fri, 1 Apr 2011 17:53:25 +0200 From: Nikola =?utf-8?B?UGF2bG92acSH?= To: freebsd-stable@freebsd.org Message-ID: <20110401155325.GA57989@sputnjik.localdomain> Mail-Followup-To: freebsd-stable@freebsd.org References: <20110329013223.ddca7453.jhsu802701@jasonhsu.com> <1301391185.71226.36.camel@xenon> <20110329172256.GD46127@sputnjik.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.97 at mx1 X-Virus-Status: Clean Subject: Re: Best way to switch from Linux to BSD X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 15:53:22 -0000 On Tue, Mar 29, 2011 at 07:56:09PM +0200, Christian Walther wrote: > 2011/3/29 Nikola Pavlović : > > As far as eye candy goes, I assure you KDE Plasma bells and whistles > > (compositing etc.) work just fine even on a 9 year old Pentium 4 w/ 1GB > > RAM and an NVidia GeForce 6200.  I'm actually amazed how well it works, > > it's faster than XFCE on Slackware was...  Weird stuff. O.o (I'm not > > really implying anything, just noticing something I didn't expect.) > > Nice. :) > Maybe it's time to give KDE4 another try. I haven't used KDE in years, but a few months ago I switched to FreeBSD on my desktop and since there's nothing but KDE and Gnome on the installation DVD, I figured it wouldn't hurt anything if I tried KDE (I really don't like Gnome :). And whaddya know, I ended up liking it, it feels comfortable. I'm certainly not a fan of the whole Akonadi, Nepomuk, Telepathy, etc. hysteria, but as long as I don't need to run and use it I'm happy to ignore it and just use features I need/want. > Its' graphics performance > seems be to have been improved with Release 4.2 anyway (at least I've > been told), and my last test was with an early 4.0 release. My wifes' > laptop is on Linux for some time now, and I already noticed that > nspluginwrapper + flash plugin are stable even after updates. My experience with Flash on FreeBSD has so far been just fine. Sure, it crashes and coredumps often, but when it does I just reload the page and/or "pkill npviewer" and everything's fine. In fact, I had more trouble with it on Linux: after watching a lot of videos or after leaving a page w/ a video loaded for a few hours it would stop working and Firefox would have to be restarted (at least that's the only solution I found). That said, I really go out of my way to avoid Flash, and when I need it for watching videos I tend to use tools that stream flv through Mplayer, for example multimedia/youtube-viewer, and others have mentioned multimedia/minitube, multimedia/cclive and multimedia/quvi. In fact I prefer that method to playing it in a browser, but I'm the kind of person who thinks www/surfraw is better than doing a search in a browser directly. ;) -- An authority is a person who can tell you more about something than you really care to know. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 16:27:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28AC3106564A for ; Fri, 1 Apr 2011 16:27:13 +0000 (UTC) (envelope-from clay@milos.co.za) Received: from lisa.milos.co.za (lisa.milos.co.za [109.169.49.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9992D8FC08 for ; Fri, 1 Apr 2011 16:27:12 +0000 (UTC) Received: (qmail 50931 invoked by uid 89); 1 Apr 2011 16:27:10 -0000 Received: from unknown (HELO claydesktop) (clay@milos.co.za@84.203.138.134) by lisa.milos.co.za with ESMTPA; 1 Apr 2011 16:27:10 -0000 Message-ID: <563A03036A7A45429F7D6CC83FFF5B22@claydesktop> From: "Clayton Milos" To: "Marko Lerota" References: <87d3l6p5xv.fsf@cosmos.claresco.hr><874o6ip0ak.fsf@cosmos.claresco.hr> <20110401152538.GA92060@rancor.immure.com> Date: Fri, 1 Apr 2011 17:27:34 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 16:27:13 -0000 > On Fri, Apr 01, 2011 at 03:29:39PM +0200, Marko Lerota wrote: >> George Kontostanos writes: >> >> > Not with the same behavior and it depends on what your server is doing >> > at >> > the time of the power interruption. >> >> It was in stage of booting after first power loss. >> >> > but ZFS is not the solution to your problem. ZFS is not designed to >> > replace >> > the needs of a UPS. >> >> I'm just asking if this wouldn't happen if I used ZFS. I read that ZFS >> don't need fsck because the files are always consistent on filesystem >> regardless of power loses. That the corruption can occur only if disks >> are damaged. But not when power goes down. I'm not planing to buy UPS >> for home use. > > I really don't know much about ZFS, but I do know about disks (I work on > SAS > device drivers for AIX and deal with lots of disks); and I doubt that any > filesystem is going to be immune to sudden power failures when writing to > a > disk. At least I wouldn't trust them. If you care about the integrity of > your > data, I would reconsider your plans about the UPS. > > -- > Bob Willcox Trying to explain things to people who already > know > bob@immure.com everything is like trying to teach a bear to > dance; > Austin, TX it's useless, and it annoys the bear. I used to live in Sotuh Africa where the power gets bad at times. A UPS was a requirement for me to get my work done uninterrupted. Small UPS units are not expensive nowadays and it will protect the power supplies from brownouts and spikes as well. You will seldom make as good a small investment as a UPS. If you are really anti-UPS for some reason then at least do what Stefan suggested or go into the BIOS and set the motherboard's power state after AC failure to OFF. This means you will have to press a button to power it on again which should be when the power is stable again. Honestly though, if the power is as bad as it seems where you are I'm surprised you haven't bought a UPS already. You can get them at 50 Euro for a small one. It will pay for iself in hardware cost alone. I've had power spikes taking out PSU's and hard drives before. -Clay From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 17:02:40 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0924106564A for ; Fri, 1 Apr 2011 17:02:40 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [168.103.150.6]) by mx1.freebsd.org (Postfix) with ESMTP id 858E08FC18 for ; Fri, 1 Apr 2011 17:02:40 +0000 (UTC) Received: from webmail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id p31H2PoV096917; Fri, 1 Apr 2011 10:02:32 -0700 (PDT) (envelope-from chris#@1command.com) Received: from udns0.ultimatedns.net ([168.103.150.26]) (Local authenticated user inf0s) by webmail.1command.com with HTTP; Fri, 1 Apr 2011 10:02:32 -0700 (PDT) Message-ID: <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> In-Reply-To: <874o6ip0ak.fsf@cosmos.claresco.hr> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> Date: Fri, 1 Apr 2011 10:02:32 -0700 (PDT) From: "Chris H" To: freebsd-stable@freebsd.org User-Agent: HRC Internet Messaging/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Cc: mlerota@claresco.hr Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 17:02:40 -0000 On Fri, April 1, 2011 6:29 am, Marko Lerota wrote: > George Kontostanos writes: > > >> Not with the same behavior and it depends on what your server is doing at >> the time of the power interruption. > > It was in stage of booting after first power loss. > > >> but ZFS is not the solution to your problem. ZFS is not designed to replace >> the needs of a UPS. > > I read that ZFS don't need fsck because the files are always consistent on filesystem regardless > of power loses. That the corruption can occur only if disks are damaged. But not > when power goes down. Complete nonsense. The information you read was false. > > -- > Marko Lerota > Sent from my Gnus Mailer > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > -- //////////////////////////////////////////////////// If only Western Electric had found a way to offer binary licenses for the UNIX system back in 1974, the UNIX system would be running on all PC's today rather than DOS/Windows. --en UNIX veritas! //////////////////////////////////////////////////// From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 17:38:46 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9C8C106564A for ; Fri, 1 Apr 2011 17:38:46 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 58E3E8FC18 for ; Fri, 1 Apr 2011 17:38:45 +0000 (UTC) Received: by fxm11 with SMTP id 11so3605138fxm.13 for ; Fri, 01 Apr 2011 10:38:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=IOybeeWZ2sn3rWxGtVpWeom/LqXuUjHEwZDbbBTO6W8=; b=sKh5KUgzO3Xgz9qa7+LRZyo6FqHcKjUS2Sk8Moe65xYmxQGAta725KNW3JfHmNI/Qa 3J1XMU+5Kk4jzvUAZYLM7ZlAl03i27Ikp6cJStfBzW7ssoTE8RL0BKz+p3VsUkgpqYwz UqGEZlYRoUV87obIsOv8phWwy1AhWSgSF+fqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=hstiHsZfyNSiK01mZLvHDtf0tHCBygT+uNKenDwA1E6w82CNBKxxvugq1FTjk02KUt 5v+a/L29d+Mxe4svY/Clgx1vzIYtzA3Q7GC8DcBa17wX2Na0EjJ36j3N39Cs75+ex7PE t73tWl4YCZZ6QiFFRMpX/n3kXOWqbrVD/m9QQ= MIME-Version: 1.0 Received: by 10.223.127.210 with SMTP id h18mr3020995fas.79.1301679523470; Fri, 01 Apr 2011 10:38:43 -0700 (PDT) Received: by 10.223.101.208 with HTTP; Fri, 1 Apr 2011 10:38:43 -0700 (PDT) In-Reply-To: <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> Date: Fri, 1 Apr 2011 12:38:43 -0500 Message-ID: From: Adam Vande More To: Chris H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mlerota@claresco.hr, freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 17:38:47 -0000 On Fri, Apr 1, 2011 at 12:02 PM, Chris H wrote: > On Fri, April 1, 2011 6:29 am, Marko Lerota wrote: > > I read that ZFS don't need fsck because the files are always consistent > on > filesystem regardless > > of power loses. That the corruption can occur only if disks are damaged. > But not > > when power goes down. > > Complete nonsense. The information you read was false. > No, it's really not. ZFS's lack of recovery tools at least in the beginning were basically non existent. This is because ZFS uses a COW model with an atomic data management unit design which by it's nature addresses thing like fsck, and sudden power loss. However, things outside of a FS's control still allow corrution to happen so as UPS is just as important with ZFS as your traditional FS. Perhaps more important because the difficulty from recovering from some types of pool corruption. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 17:43:56 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAC001065672 for ; Fri, 1 Apr 2011 17:43:56 +0000 (UTC) (envelope-from victor@bsdes.net) Received: from equilibrium.bsdes.net (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.freebsd.org (Postfix) with ESMTP id 7E4AA8FC12 for ; Fri, 1 Apr 2011 17:43:56 +0000 (UTC) Received: by equilibrium.bsdes.net (Postfix, from userid 1001) id 4DEA13983D; Fri, 1 Apr 2011 19:43:54 +0200 (CEST) Date: Fri, 1 Apr 2011 19:43:54 +0200 From: Victor Balada Diaz To: stable@freebsd.org Message-ID: <20110401174354.GE1289@equilibrium.bsdes.net> References: <20110326003348.GQ36706@equilibrium.bsdes.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nmemrqcdn5VTmUEE" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20110326003348.GQ36706@equilibrium.bsdes.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: geli(4) memory leak X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 17:43:56 -0000 --nmemrqcdn5VTmUEE Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Sat, Mar 26, 2011 at 01:33:48AM +0100, Victor Balada Diaz wrote: > Hello, > > I'm trying to setup a new geli disk and i'm seeing what looks like a memory leak. > After initializing the device i've tried to do the dd command from /dev/random > like this one: > > dd if=/dev/random of=/dev/da0p1.eli bs=1m > Hello again, I've found the cause of the memory leak and i attach a patch to fix it. I hope the patch is good enough to get committed or at least helps someone made a better patch and commit it. Patched file is src/sys/geom/eli/g_eli.c The problem happens when you're using data integrity verification and you need to write more than MAXPHYS. If you look at g_eli_integrity.c:314 you'll see that geli creates a second request to write all that's needed. Each of the request get the callback to g_eli_write_done once they're done. The first request will get up to g_eli.c:209 and find that there are still requests pending so instead of calling g_io_deliver to notify it's written data, it just returns and waits until all requests are done to say everything's OK. The problem is that once you return, you're leaking this g_bio. You can see with vmstat -z how g_bio increases and never releases memory. I just destroy the current bio before returning and that prevents the memory leak. Regards. Victor. -- La prueba ms fehaciente de que existe vida inteligente en otros planetas, es que no han intentado contactar con nosotros. --nmemrqcdn5VTmUEE Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="g_eli.c.patch" --- g_eli.c 2010-12-21 18:09:25.000000000 +0100 +++ g_eli.c.patched 2011-04-01 19:16:41.000000000 +0200 @@ -206,8 +206,10 @@ * Do we have all sectors already? */ pbp->bio_inbed++; - if (pbp->bio_inbed < pbp->bio_children) + if (pbp->bio_inbed < pbp->bio_children) { + g_destroy_bio(bp); return; + } free(pbp->bio_driver2, M_ELI); pbp->bio_driver2 = NULL; if (pbp->bio_error != 0) { --nmemrqcdn5VTmUEE-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 18:09:34 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C6FA106566C for ; Fri, 1 Apr 2011 18:09:34 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9D30E8FC16 for ; Fri, 1 Apr 2011 18:09:33 +0000 (UTC) Received: by ewy1 with SMTP id 1so1213628ewy.13 for ; Fri, 01 Apr 2011 11:09:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dx8/zhAQCXvoYuZC7FkPQc945ap2hUQLIMvgID4YQCE=; b=xrVYEYr+Ay5RFLfEa7BY+T4EsDCLyVKdGzVvZAAA5w3WCJLr8utAqyVSdBb5PxDaMq ZKD4Ej4yvRqGckJ6hQMQDdExTCHKU90y2MklI5T0CKnAh1tP2lS9c7BsJYrGMd1rmOOD inzLYwYkzuX792D4JvaxzCt6QtmhHgFHEHk+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=X9ZnpcJxOULqBZw/hvZnwR/yn2ByTExW7SpCV6xMGoeZX8BTVCi8gfJl4MSt9gPCBp idbas63wmMxL6mvFjI1dPiSu1fDBicP7H71PRGJIbGYxpXQL1+o4przTwP2qqCpcxXDQ WHdx9uU0oXWMLVMO08kl+UOpFdg9gDknWI7u4= MIME-Version: 1.0 Received: by 10.213.22.148 with SMTP id n20mr584194ebb.40.1301681371973; Fri, 01 Apr 2011 11:09:31 -0700 (PDT) Received: by 10.213.4.140 with HTTP; Fri, 1 Apr 2011 11:09:31 -0700 (PDT) In-Reply-To: References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> Date: Fri, 1 Apr 2011 20:09:31 +0200 Message-ID: From: Christian Walther To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: mlerota@claresco.hr, freebsd-stable@freebsd.org, Chris H Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 18:09:34 -0000 On 1 April 2011 19:38, Adam Vande More wrote: > On Fri, Apr 1, 2011 at 12:02 PM, Chris H wrote: > >> On Fri, April 1, 2011 6:29 am, Marko Lerota wrote: >> > =A0I read that ZFS don't need fsck because the files are always consis= tent >> on >> filesystem regardless >> > of power loses. That the corruption can occur only if disks are damage= d. >> But not >> > when power goes down. >> >> Complete nonsense. The information you read was false. >> > > =A0No, it's really not. =A0ZFS's lack of recovery tools at least in the > beginning were basically non existent. =A0 This is because ZFS uses a COW > model with an atomic data management unit design which by it's nature > addresses thing like fsck, and sudden power loss. Indeed. By copy on write and its' b-tree ZFS ensures consistency, however, this does not mean that there's no data loss. Writes are done in a transaction group, including an updated version of the b-tree. Only if all the new information has been written successfully the new b-tree "is tagged as valid" and becomes active. (Which is the reason why you can't rm files in a full pool.) If there's a power failure during a write ZFS recovers automatically during the mount (or zpool import, not sure on this one) _by deleting the inconsistent data_ and thus reverting to the last known state. Additionally, a transaction group may consist of several writes that reach a total size (I think 128Kb per default). If there are small and slow writes (e.g.to a Logfie) these are cached up to 30 seconds. If a power failure or any other kind of discruptive failure happens you'll loose all the information cached. From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 20:31:12 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 5F1A7106566B for ; Fri, 1 Apr 2011 20:31:12 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id B90F814D971; Fri, 1 Apr 2011 20:31:11 +0000 (UTC) Message-ID: <4D963610.7000404@FreeBSD.org> Date: Fri, 01 Apr 2011 13:31:12 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: Stefan `Sec` Zehl References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <20110401154732.GC37730@ice.42.org> In-Reply-To: <20110401154732.GC37730@ice.42.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marko Lerota , freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 20:31:12 -0000 On 4/1/2011 8:47 AM, Stefan `Sec` Zehl wrote: > If you want to get rid of the reboot loop, set: > > background_fsck="NO" > > Then it will either come up, or ask for help if anything fails. > > If you absolutely want the server to come up, you can set this > > fsck_y_enable="YES" +1 -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 21:04:15 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D0E6106566B; Fri, 1 Apr 2011 21:04:15 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id BBAB88FC15; Fri, 1 Apr 2011 21:04:14 +0000 (UTC) Received: by fxm11 with SMTP id 11so3765853fxm.13 for ; Fri, 01 Apr 2011 14:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:x-comment-to :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=CxVGeAmE3HAOdZ5OnHd/qKNnoFFe1b5Sq7b3qWxeKUM=; b=PGFoLtYit+ZEeuA4htf/04R4yA7PMCvx+zQgckMm0I68rZGPlanOJoOj7NSau5rvha gTwPSTIAkm2HaCNhwPfS4VB1EN70dcNwEZPA2D1OKeoz5VUgv0pNawSH7wnHtzIsESaj zlc5U+CwYuRk5OLqeMwoe4fvP02wgiZWCLcv8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=Xe+DRN7iyLuPQlIa3mj86qDwqYiGh69OSi+4kx/MSQx5JekD+sO2uEa01xBJ4UKi+9 v/kcarertyIfqZ0Q473sIw6IvXWJqo4VLNsgBFDAY6xFcwARQfjf9AqhJzsp+c68NpCr 1rs95Vgo2DaHawGpjKEPlnnLU/hv6RgEHE3bc= Received: by 10.223.10.141 with SMTP id p13mr545807fap.109.1301691853549; Fri, 01 Apr 2011 14:04:13 -0700 (PDT) Received: from localhost ([95.69.172.154]) by mx.google.com with ESMTPS id 17sm891504far.43.2011.04.01.14.04.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 14:04:12 -0700 (PDT) From: Mikolaj Golub To: Victor Balada Diaz References: <20110326003348.GQ36706@equilibrium.bsdes.net> <20110401174354.GE1289@equilibrium.bsdes.net> X-Comment-To: Victor Balada Diaz Sender: Mikolaj Golub Date: Sat, 02 Apr 2011 00:04:09 +0300 In-Reply-To: <20110401174354.GE1289@equilibrium.bsdes.net> (Victor Balada Diaz's message of "Fri, 1 Apr 2011 19:43:54 +0200") Message-ID: <86pqp53cqe.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Cc: Kostik Belousov , stable@freebsd.org, Pawel Jakub Dawidek Subject: Re: geli(4) memory leak X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 21:04:15 -0000 --=-=-= On Fri, 1 Apr 2011 19:43:54 +0200 Victor Balada Diaz wrote: VBD> On Sat, Mar 26, 2011 at 01:33:48AM +0100, Victor Balada Diaz wrote: >> Hello, >> >> I'm trying to setup a new geli disk and i'm seeing what looks like a memory leak. >> After initializing the device i've tried to do the dd command from /dev/random >> like this one: >> >> dd if=/dev/random of=/dev/da0p1.eli bs=1m >> VBD> Hello again, VBD> I've found the cause of the memory leak and i attach a patch to fix it. I hope VBD> the patch is good enough to get committed or at least helps someone made a better VBD> patch and commit it. Patched file is src/sys/geom/eli/g_eli.c VBD> The problem happens when you're using data integrity verification and you need VBD> to write more than MAXPHYS. If you look at g_eli_integrity.c:314 you'll VBD> see that geli creates a second request to write all that's needed. VBD> Each of the request get the callback to g_eli_write_done once they're done. The VBD> first request will get up to g_eli.c:209 and find that there are still requests VBD> pending so instead of calling g_io_deliver to notify it's written data, it just VBD> returns and waits until all requests are done to say everything's OK. The problem VBD> is that once you return, you're leaking this g_bio. You can see with vmstat -z how VBD> g_bio increases and never releases memory. VBD> I just destroy the current bio before returning and that prevents the memory leak. For me your patch look correct. But the same issue is for read :-). Also, to avoid the leak I think we can just do g_destroy_bio() before "all sectors" check. See the attached patch (had some testing). -- Mikolaj Golub --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=g_eli.c.patch Index: sys/geom/eli/g_eli.c =================================================================== --- sys/geom/eli/g_eli.c (revision 220168) +++ sys/geom/eli/g_eli.c (working copy) @@ -160,13 +160,13 @@ g_eli_read_done(struct bio *bp) pbp = bp->bio_parent; if (pbp->bio_error == 0) pbp->bio_error = bp->bio_error; + g_destroy_bio(bp); /* * Do we have all sectors already? */ pbp->bio_inbed++; if (pbp->bio_inbed < pbp->bio_children) return; - g_destroy_bio(bp); sc = pbp->bio_to->geom->softc; if (pbp->bio_error != 0) { G_ELI_LOGREQ(0, pbp, "%s() failed", __func__); @@ -202,6 +202,7 @@ g_eli_write_done(struct bio *bp) if (bp->bio_error != 0) pbp->bio_error = bp->bio_error; } + g_destroy_bio(bp); /* * Do we have all sectors already? */ @@ -215,7 +216,6 @@ g_eli_write_done(struct bio *bp) pbp->bio_error); pbp->bio_completed = 0; } - g_destroy_bio(bp); /* * Write is finished, send it up. */ --=-=-=-- From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 21:21:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3E5D1065676 for ; Fri, 1 Apr 2011 21:21:36 +0000 (UTC) (envelope-from chris#@1command.com) Received: from mail.1command.com (mail.1command.com [168.103.150.6]) by mx1.freebsd.org (Postfix) with ESMTP id B74C58FC1C for ; Fri, 1 Apr 2011 21:21:36 +0000 (UTC) Received: from webmail.1command.com (localhost.1command.com [127.0.0.1]) by mail.1command.com (8.13.3/8.13.3) with ESMTP id p31LKnlf097851; Fri, 1 Apr 2011 14:20:55 -0700 (PDT) (envelope-from chris#@1command.com) Received: from udns0.ultimatedns.net ([168.103.150.26]) (Local authenticated user inf0s) by webmail.1command.com with HTTP; Fri, 1 Apr 2011 14:21:26 -0700 (PDT) Message-ID: <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> In-Reply-To: References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> Date: Fri, 1 Apr 2011 14:21:26 -0700 (PDT) From: "Chris H" To: freebsd-stable@freebsd.org User-Agent: HRC Internet Messaging/1.5.2 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit Cc: amvandemore@gmail.com, mlerota@claresco.hr Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 21:21:37 -0000 On Fri, April 1, 2011 10:38 am, Adam Vande More wrote: > On Fri, Apr 1, 2011 at 12:02 PM, Chris H wrote: > > >> On Fri, April 1, 2011 6:29 am, Marko Lerota wrote: >> >>> I read that ZFS don't need fsck because the files are always consistent >>> >> on filesystem regardless >>> of power loses. That the corruption can occur only if disks are damaged. >> But not >> >>> when power goes down. >> >> Complete nonsense. The information you read was false. >> >> > > No, it's really not. ZFS's lack of recovery tools at least in the > beginning were basically non existent. This is because ZFS uses a COW model > with an atomic data management unit design which by it's nature addresses thing > like fsck, and sudden power loss. However, things outside of a FS's control > still allow corrution to happen so as UPS is just as important with ZFS as your > traditional FS. Perhaps more important because the difficulty from recovering > from some types of pool corruption. > Greetings, Not to sound disagreeable, but if I interrupt the power during a disk write, no amount of ZFS will insure that the hardware completes it's write without electricity. Nor will any amount of ZFS prevent data corruption as a result of that interrupted write. > -- > Adam Vande More > > -- //////////////////////////////////////////////////// If only Western Electric had found a way to offer binary licenses for the UNIX system back in 1974, the UNIX system would be running on all PC's today rather than DOS/Windows. --en UNIX veritas! //////////////////////////////////////////////////// From owner-freebsd-stable@FreeBSD.ORG Fri Apr 1 21:42:22 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D02C81065673 for ; Fri, 1 Apr 2011 21:42:22 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0198FC0C for ; Fri, 1 Apr 2011 21:42:22 +0000 (UTC) Received: by mail-bw0-f54.google.com with SMTP id 12so3465473bwz.13 for ; Fri, 01 Apr 2011 14:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=5nO46j3uvGt7h5aHhbsfByyylEMefb/j5c6/0Wg8+HY=; b=oePMC1e3eMc2CXmktC+NyyqCzJOgJSLeThaAZ6AaDcwXWkIZVjyzpUq1lXuZFBVtzC LCY2mipaEV1iqfr7Qm8TvfHhsWUKeuD3n2ns3Urj3mQfMjjUuG6wVFMZPWuMd6HYQvH7 gj17vTlpUn9iBysHvUpuAMuxorJm/s92IzKkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KbNILlwWHU7N4qMRQGh/MZ6JKlfJHeVDkALY3+7fVh/+zPNqf86Em/Zx7PQMB3YHke L1ItmxBhbvzG+z97ElFEvnpBaDnKVcxlhUtb/Ds+fvKsZTy857Bo+X1uW4DFqQAvw+m4 D2zotMIc4mhKt2C+jUoA1f5ZTLLFwFbJsnEwc= MIME-Version: 1.0 Received: by 10.204.136.1 with SMTP id p1mr139202bkt.105.1301694141975; Fri, 01 Apr 2011 14:42:21 -0700 (PDT) Received: by 10.204.118.200 with HTTP; Fri, 1 Apr 2011 14:42:21 -0700 (PDT) In-Reply-To: <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> Date: Fri, 1 Apr 2011 16:42:21 -0500 Message-ID: From: Adam Vande More To: Chris H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mlerota@claresco.hr, freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 21:42:23 -0000 On Fri, Apr 1, 2011 at 4:21 PM, Chris H wrote: > > > Greetings, > Not to sound disagreeable, but > if I interrupt the power during a disk write, no amount of ZFS will insure > that > the hardware completes it's write without electricity. Nor will any amount > of > ZFS prevent data corruption as a result of that interrupted write. > As already stated, if the write doesn't complete, the transaction group is rolled back to the last consistent state, so no corruption. There is plenty of literature of subject of how ZFS works internally to insure this: http://www.sun.com/bigadmin/features/articles/zfs_part1.scalable.jsp ZFS's capabilities may seem contrary to your opinion, but properly implemented it does exactly what you say it cannot do. -- Adam Vande More From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 03:35:52 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D9C9106566B for ; Sat, 2 Apr 2011 03:35:52 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [65.120.238.197]) by mx1.freebsd.org (Postfix) with ESMTP id 81BBA8FC0C for ; Sat, 2 Apr 2011 03:35:52 +0000 (UTC) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.4/8.14.1) with ESMTP id p323ZpN2018667 for ; Fri, 1 Apr 2011 20:35:51 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.4/8.13.4/Submit) id p323Zp8Q018666; Fri, 1 Apr 2011 20:35:51 -0700 (PDT) Date: Fri, 1 Apr 2011 20:35:51 -0700 (PDT) From: Matthew Dillon Message-Id: <201104020335.p323Zp8Q018666@apollo.backplane.com> To: freebsd-stable@freebsd.org References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 03:35:52 -0000 The core of the issue here comes down to two things: First, a power loss to the drive will cause the drive's dirty write cache to be lost, that data will not make it to disk. Nor do you really want to turn of write caching on the physical drive. Well, you CAN turn it off, but if you do performance will become so bad that there's no point. So turning off the write caching is really a non-starter. The solution to this first item is for the OS/filesystem to issue a disk flush command to the drive at appropriate times. If I recall the ZFS implementation in FreeBSD *DOES* do this for transaction groups, which guarantees that a prior transaction group is fully synced before a new ones starts running (HAMMER in DragonFly also does this). (Just getting an 'ack' from the write transaction over the SATA bus only means the data made it to the drive's cache, not that it made it to the platter). I'm not sure about UFS vis-a-vie the recent UFS logging features... it might be an option but I don't know if it is a default. Perhaps someone can comment on that. One last note here. Many modern drives have very large ram caches. OCZ's SSDs have something like 256MB write caches and many modern HDs now come with 32MB and 64MB caches. Aged drives with lots of relocated sectors and bit errors can also take a very long time to perform writes on certain sectors. So these large caches take time to drain and one can't really assume that an acknowledged write to disk will actually make it to the disk under adverse circumstances any more. All sorts of bad things can happen. Finally, the drives don't order their writes to the platter (you can set a bit to tell them to, but like many similar bits in the past there is no real guarantee that the drives will honor it). So if two transactions do not have a disk flush command inbetween them it is possible for data from the second transaction to commit to the platter before all the data from the first transaction commits to the platter. Or worse, for the non-transactional data to update out of order relative to the transactional data which was supposed to commit first. Hence IMHO the OS/filesystem must use the disk flush command in such situations for good reliability. -- The second problem is that a physical loss of power to the drive can cause the drive to physically lose one or more sectors, and can even effectively destroy the drive (even with the fancy auto-park)... if the drive happens to be in the middle of a track write-back when power is lost it is possible to lose far more than a single sector, including sectors unrelated to recent filesystem operations. The only solution to #2 is to make sure your machines (or at least the drives if they happen to be in external enclosures) are connected to a UPS and that the machines are communicating with the UPS via something like the "apcupsd" port. AND also that you test to make sure the machines properly shut themselves down when AC is lost before the UPS itself runs out of battery time. After all, a UPS won't help if the machines don't at least idle their drives before power is lost!!! I learned this lesson the hard way about 3 years ago. I had something like a dozen drives in two raid arrays doing heavy write activity and lost physical power and several of the drives were totally destroyed, with thousands of sector errors. Not just one or two... thousands. (It is unclear how SSDs react to physical loss of power during heavy writing activity. Theoretically while they will certainly lose their write cache they shouldn't wind up with any read errors). -Matt From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 08:23:18 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6030D106566B for ; Sat, 2 Apr 2011 08:23:18 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 34B838FC15 for ; Sat, 2 Apr 2011 08:23:17 +0000 (UTC) Received: by iwn33 with SMTP id 33so5217118iwn.13 for ; Sat, 02 Apr 2011 01:23:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.135.74 with SMTP id o10mr6818130ict.12.1301731022728; Sat, 02 Apr 2011 00:57:02 -0700 (PDT) Received: by 10.231.60.10 with HTTP; Sat, 2 Apr 2011 00:57:02 -0700 (PDT) In-Reply-To: <201104020335.p323Zp8Q018666@apollo.backplane.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> <201104020335.p323Zp8Q018666@apollo.backplane.com> Date: Sat, 2 Apr 2011 09:57:02 +0200 Message-ID: From: Olivier Smedts To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 08:23:18 -0000 2011/4/2 Matthew Dillon : > =A0 =A0The core of the issue here comes down to two things: > > =A0 =A0First, a power loss to the drive will cause the drive's dirty writ= e cache > =A0 =A0to be lost, that data will not make it to disk. =A0Nor do you real= ly want > =A0 =A0to turn of write caching on the physical drive. =A0Well, you CAN t= urn it > =A0 =A0off, but if you do performance will become so bad that there's no = point. > =A0 =A0So turning off the write caching is really a non-starter. > > =A0 =A0The solution to this first item is for the OS/filesystem to issue = a > =A0 =A0disk flush command to the drive at appropriate times. =A0If I reca= ll the > =A0 =A0ZFS implementation in FreeBSD *DOES* do this for transaction group= s, > =A0 =A0which guarantees that a prior transaction group is fully synced be= fore > =A0 =A0a new ones starts running (HAMMER in DragonFly also does this). > =A0 =A0(Just getting an 'ack' from the write transaction over the SATA bu= s only > =A0 =A0means the data made it to the drive's cache, not that it made it t= o > =A0 =A0the platter). Amen ! > =A0 =A0I'm not sure about UFS vis-a-vie the recent UFS logging features..= . > =A0 =A0it might be an option but I don't know if it is a default. =A0Perh= aps > =A0 =A0someone can comment on that. > > =A0 =A0One last note here. =A0Many modern drives have very large ram cach= es. > =A0 =A0OCZ's SSDs have something like 256MB write caches and many modern = HDs > =A0 =A0now come with 32MB and 64MB caches. =A0Aged drives with lots of re= located > =A0 =A0sectors and bit errors can also take a very long time to perform w= rites > =A0 =A0on certain sectors. =A0So these large caches take time to drain an= d one > =A0 =A0can't really assume that an acknowledged write to disk will actual= ly > =A0 =A0make it to the disk under adverse circumstances any more. =A0All s= orts > =A0 =A0of bad things can happen. > > =A0 =A0Finally, the drives don't order their writes to the platter (you c= an > =A0 =A0set a bit to tell them to, but like many similar bits in the past = there > =A0 =A0is no real guarantee that the drives will honor it). =A0So if two > =A0 =A0transactions do not have a disk flush command inbetween them it is > =A0 =A0possible for data from the second transaction to commit to the pla= tter > =A0 =A0before all the data from the first transaction commits to the plat= ter. > =A0 =A0Or worse, for the non-transactional data to update out of order re= lative > =A0 =A0to the transactional data which was supposed to commit first. > > =A0 =A0Hence IMHO the OS/filesystem must use the disk flush command in su= ch > =A0 =A0situations for good reliability. > > =A0 =A0-- > > =A0 =A0The second problem is that a physical loss of power to the drive c= an > =A0 =A0cause the drive to physically lose one or more sectors, and can ev= en > =A0 =A0effectively destroy the drive (even with the fancy auto-park)... i= f the > =A0 =A0drive happens to be in the middle of a track write-back when power= is > =A0 =A0lost it is possible to lose far more than a single sector, includi= ng > =A0 =A0sectors unrelated to recent filesystem operations. > > =A0 =A0The only solution to #2 is to make sure your machines (or at least= the > =A0 =A0drives if they happen to be in external enclosures) are connected = to > =A0 =A0a UPS and that the machines are communicating with the UPS via > =A0 =A0something like the "apcupsd" port. =A0AND also that you test to ma= ke > =A0 =A0sure the machines properly shut themselves down when AC is lost be= fore > =A0 =A0the UPS itself runs out of battery time. =A0After all, a UPS won't= help > =A0 =A0if the machines don't at least idle their drives before power is l= ost!!! > > =A0 =A0I learned this lesson the hard way about 3 years ago. =A0I had som= ething > =A0 =A0like a dozen drives in two raid arrays doing heavy write activity = and > =A0 =A0lost physical power and several of the drives were totally destroy= ed, > =A0 =A0with thousands of sector errors. =A0Not just one or two... thousan= ds. > > =A0 =A0(It is unclear how SSDs react to physical loss of power during hea= vy > =A0 =A0writing activity. =A0Theoretically while they will certainly lose = their > =A0 =A0write cache they shouldn't wind up with any read errors). > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0-Matt > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas." From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 08:45:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9649010657C5; Sat, 2 Apr 2011 08:45:41 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 40BC18FC13; Sat, 2 Apr 2011 08:45:40 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id DBE0F46B74; Sat, 2 Apr 2011 10:45:39 +0200 (CEST) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C3B3E45C9C; Sat, 2 Apr 2011 10:44:35 +0200 (CEST) Date: Sat, 2 Apr 2011 10:44:31 +0200 From: Pawel Jakub Dawidek To: Freddie Cash Message-ID: <20110402084431.GB1849@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: FreeBSD Filesystems , FreeBSD-Current , FreeBSD Stable Subject: Re: Any success stories for HAST + ZFS? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 08:45:41 -0000 --s2ZSL+KKDSLx8OML Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 24, 2011 at 01:36:32PM -0700, Freddie Cash wrote: > [Not sure which list is most appropriate since it's using HAST + ZFS > on -RELEASE, -STABLE, and -CURRENT. Feel free to trim the CC: on > replies.] >=20 > I'm having a hell of a time making this work on real hardware, and am > not ruling out hardware issues as yet, but wanted to get some > reassurance that someone out there is using this combination (FreeBSD > + HAST + ZFS) successfully, without kernel panics, without core dumps, > without deadlocks, without issues, etc. I need to know I'm not > chasing a dead rabbit. I just committed a fix for a problem that might look like a deadlock. With trociny@ patch and my last fix (to GEOM GATE and hastd) do you still have any issues? --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --s2ZSL+KKDSLx8OML Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2W4e8ACgkQForvXbEpPzT5MQCcCyNhQpd0Ql+wNhlciiNm1N+w m1YAoKJX8PAnwxzQy/U+myNAt0tIeUjU =xeh6 -----END PGP SIGNATURE----- --s2ZSL+KKDSLx8OML-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 09:23:31 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD056106564A; Sat, 2 Apr 2011 09:23:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-legacy.sentex.ca (freebsd-legacy.sentex.ca [IPv6:2607:f3e0:0:3::6502:9a]) by mx1.freebsd.org (Postfix) with ESMTP id 717638FC08; Sat, 2 Apr 2011 09:23:31 +0000 (UTC) Received: from freebsd-legacy.sentex.ca (localhost [127.0.0.1]) by freebsd-legacy.sentex.ca (8.14.4/8.14.4) with ESMTP id p329NUjw099240; Sat, 2 Apr 2011 09:23:30 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-legacy.sentex.ca (8.14.4/8.14.4/Submit) id p329NUVh099239; Sat, 2 Apr 2011 09:23:30 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 2 Apr 2011 09:23:30 GMT Message-Id: <201104020923.p329NUVh099239@freebsd-legacy.sentex.ca> X-Authentication-Warning: freebsd-legacy.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_7 tinderbox] failure on sparc64/sparc64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 09:23:31 -0000 TB --- 2011-04-02 08:01:56 - tinderbox 2.6 running on freebsd-legacy.sentex.ca TB --- 2011-04-02 08:01:56 - starting RELENG_7 tinderbox run for sparc64/sparc64 TB --- 2011-04-02 08:01:56 - cleaning the object tree TB --- 2011-04-02 08:02:09 - cvsupping the source tree TB --- 2011-04-02 08:02:09 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca -s /usr/home/tinderbox/RELENG_7/sparc64/sparc64/supfile TB --- 2011-04-02 08:02:15 - building world TB --- 2011-04-02 08:02:15 - MAKEOBJDIRPREFIX=/obj TB --- 2011-04-02 08:02:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-04-02 08:02:15 - TARGET=sparc64 TB --- 2011-04-02 08:02:15 - TARGET_ARCH=sparc64 TB --- 2011-04-02 08:02:15 - TZ=UTC TB --- 2011-04-02 08:02:15 - __MAKE_CONF=/dev/null TB --- 2011-04-02 08:02:15 - cd /src TB --- 2011-04-02 08:02:15 - /usr/bin/make -B buildworld >>> World build started on Sat Apr 2 08:02:16 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Apr 2 09:14:14 UTC 2011 TB --- 2011-04-02 09:14:14 - generating LINT kernel config TB --- 2011-04-02 09:14:14 - cd /src/sys/sparc64/conf TB --- 2011-04-02 09:14:14 - /usr/bin/make -B LINT TB --- 2011-04-02 09:14:14 - building LINT kernel TB --- 2011-04-02 09:14:14 - MAKEOBJDIRPREFIX=/obj TB --- 2011-04-02 09:14:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-04-02 09:14:14 - TARGET=sparc64 TB --- 2011-04-02 09:14:14 - TARGET_ARCH=sparc64 TB --- 2011-04-02 09:14:14 - TZ=UTC TB --- 2011-04-02 09:14:14 - __MAKE_CONF=/dev/null TB --- 2011-04-02 09:14:14 - cd /src TB --- 2011-04-02 09:14:14 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Apr 2 09:14:14 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/kern/kern_intr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/kern/kern_jail.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/kern/kern_kse.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/kern/kern_kthread.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/kern/kern_ktr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mcmodel=medany -msoft-float -ffreestanding -Werror /src/sys/kern/kern_ktrace.c /src/sys/kern/kern_ktrace.c: In function 'ktrprocctor_entered': /src/sys/kern/kern_ktrace.c:548: error: 'struct sysentvec' has no member named 'sv_flags' *** Error code 1 Stop in /obj/sparc64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-04-02 09:23:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-04-02 09:23:30 - ERROR: failed to build lint kernel TB --- 2011-04-02 09:23:30 - 3982.34 user 649.40 system 4894.34 real http://tinderbox.freebsd.org/tinderbox-releng_7-RELENG_7-sparc64-sparc64.full From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 09:34:31 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD3B01065678 for ; Sat, 2 Apr 2011 09:34:31 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 4550F8FC1B for ; Sat, 2 Apr 2011 09:34:30 +0000 (UTC) Received: from hugo10.ka.punkt.de ([217.29.45.10]) by gate1.intern.punkt.de with ESMTP id p329YTN6099210 for ; Sat, 2 Apr 2011 11:34:29 +0200 (CEST) Received: from [217.29.46.3] ([217.29.46.3]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id p329YTD8093157 for ; Sat, 2 Apr 2011 11:34:29 +0200 (CEST) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Sat, 2 Apr 2011 11:34:32 +0200 Message-Id: To: FreeBSD Stable Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: ahci.ko in RELENG_8_2, what about atacontrol cap? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 09:34:31 -0000 Hi, all, On my system using the "old" ATA driver, I can use a command like this to get useful information about my disk drives: ------------------------------------------------------------ nas-pmh# atacontrol cap ad4 Protocol SATA revision 2.x device model ST32000542AS serial number 5XW251QF firmware revision CC34 cylinders 16383 heads 16 sectors/track 63 lba supported 268435455 sectors lba48 supported 3907029168 sectors dma supported overlap not supported Feature Support Enable Value Vendor write cache yes yes read ahead yes yes Native Command Queuing (NCQ) yes - 31/0x1F Tagged Command Queuing (TCQ) no no 31/0x1F SMART yes yes microcode download yes yes security yes no power management yes yes advanced power management yes yes 49344/0xC0C0 automatic acoustic management yes yes 254/0xFE 254/0xFE ------------------------------------------------------------ When I switch to the new AHCI driver the drives are connected to the CAM subsystem: ------------------------------------------------------------ nas-pmh# camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (ada2,pass2) at scbus3 target 0 lun 0 (ada3,pass3) at scbus4 target 0 lun 0 (da0,pass4) ------------------------------------------------------------ But: ------------------------------------------------------------ nas-pmh# camcontrol inquiry ada0 nas-pmh# camcontrol readcap ada0 (pass0:ahcich0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0=20 (pass0:ahcich0:0:0:0): CAM status: CCB request was invalid ------------------------------------------------------------ Obvious question: is there a way to get the same information (NCQ = support, write cache status, ...) with the new driver? Thanks, Patrick --=20 punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: J=FCrgen Egeling AG Mannheim 108285 From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 09:40:41 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25651106566C for ; Sat, 2 Apr 2011 09:40:41 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by mx1.freebsd.org (Postfix) with ESMTP id E1C038FC14 for ; Sat, 2 Apr 2011 09:40:40 +0000 (UTC) Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta02.westchester.pa.mail.comcast.net with comcast id SZgf1g0030QuhwU52Zghlh; Sat, 02 Apr 2011 09:40:41 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta02.westchester.pa.mail.comcast.net with comcast id SZgf1g00h1t3BNj3NZggsG; Sat, 02 Apr 2011 09:40:41 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 7B4E69B429; Sat, 2 Apr 2011 02:40:38 -0700 (PDT) Date: Sat, 2 Apr 2011 02:40:38 -0700 From: Jeremy Chadwick To: "Patrick M. Hausen" Message-ID: <20110402094038.GA3521@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Stable Subject: Re: ahci.ko in RELENG_8_2, what about atacontrol cap? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 09:40:41 -0000 On Sat, Apr 02, 2011 at 11:34:32AM +0200, Patrick M. Hausen wrote: > Hi, all, > > On my system using the "old" ATA driver, I can use a command like this > to get useful information about my disk drives: > > ------------------------------------------------------------ > nas-pmh# atacontrol cap ad4 > > Protocol SATA revision 2.x > device model ST32000542AS > serial number 5XW251QF > firmware revision CC34 > cylinders 16383 > heads 16 > sectors/track 63 > lba supported 268435455 sectors > lba48 supported 3907029168 sectors > dma supported > overlap not supported > > Feature Support Enable Value Vendor > write cache yes yes > read ahead yes yes > Native Command Queuing (NCQ) yes - 31/0x1F > Tagged Command Queuing (TCQ) no no 31/0x1F > SMART yes yes > microcode download yes yes > security yes no > power management yes yes > advanced power management yes yes 49344/0xC0C0 > automatic acoustic management yes yes 254/0xFE 254/0xFE > ------------------------------------------------------------ > > When I switch to the new AHCI driver the drives are connected to > the CAM subsystem: > > ------------------------------------------------------------ > nas-pmh# camcontrol devlist > at scbus0 target 0 lun 0 (ada0,pass0) > at scbus1 target 0 lun 0 (ada1,pass1) > at scbus2 target 0 lun 0 (ada2,pass2) > at scbus3 target 0 lun 0 (ada3,pass3) > at scbus4 target 0 lun 0 (da0,pass4) > ------------------------------------------------------------ > > But: > > ------------------------------------------------------------ > nas-pmh# camcontrol inquiry ada0 > nas-pmh# camcontrol readcap ada0 > (pass0:ahcich0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 > (pass0:ahcich0:0:0:0): CAM status: CCB request was invalid > ------------------------------------------------------------ > > > Obvious question: is there a way to get the same information (NCQ support, > write cache status, ...) with the new driver? You want "camcontrol identify adaX". DO NOT confuse this with "camcontrol inquiry adaX" (this won't work). identify = for ATA inquiry = for SCSI See camcontrol(8) man page for specifics. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 10:34:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385621065673; Sat, 2 Apr 2011 10:34:29 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from fep27.mx.upcmail.net (fep27.mx.upcmail.net [62.179.121.47]) by mx1.freebsd.org (Postfix) with ESMTP id 483068FC0A; Sat, 2 Apr 2011 10:34:27 +0000 (UTC) Received: from edge05.upcmail.net ([192.168.13.212]) by viefep14-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20110402101757.KWEA1458.viefep14-int.chello.at@edge05.upcmail.net>; Sat, 2 Apr 2011 12:17:57 +0200 Received: from pinky ([213.46.23.80]) by edge05.upcmail.net with edge id SaHv1g00g1jgp3H05aHwei; Sat, 02 Apr 2011 12:17:57 +0200 X-SourceIP: 213.46.23.80 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org, "Lev Serebryakov" References: <895726715.20110328112007@serebryakov.spb.ru> Date: Sat, 02 Apr 2011 12:18:00 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <895726715.20110328112007@serebryakov.spb.ru> User-Agent: Opera Mail/11.01 (Win32) X-Cloudmark-Analysis: v=1.1 cv=CqMFsqQC4gx7bBgpmnW/wKYuJF/a5pXPeCAfngFtYkU= c=1 sm=0 a=CeLh-koh8aAA:10 a=2SeDAVI1De4A:10 a=bgpUlknNv7MA:10 a=kj9zAlcOel0A:10 a=6I5d2MoRAAAA:8 a=2U9UMn1IRtENjP8MFb8A:9 a=GVfkVPEfbwqaSSjG61AA:7 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: Subject: Re: Backup tool fot ZFS with all "classic dump(8)" fetatures -- what should I use? (or is here any way to make dump -L works well on large FFS2+SU?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 10:34:29 -0000 Looked at rsync or tarsnap? On Mon, 28 Mar 2011 09:20:07 +0200, Lev Serebryakov wrote: > Hello, Freebsd-stable. > > Now I'm backing up my HOME filesystem with dump(8). It works > perfectly for 80GiB FS with many features: snapshot for consistency, > levels, "nodump" flag (my users use it a lot!), ability to extract > only one removed file from backup without restoring full FS, simple > sctipy wrap-up for levels schedule, etc. > > On new server I have huge HOME (500GiB). And even if it is filled > up only with 25GiB of data, creating snapshot takes about 10 minutes, > freeze all I/O, and sometimes FAILS (!!!). > > I'm thinking to transfer GOME filesystem to ZFS. But I can not find > appropriate tools for backing it up. Here is some requirements: > > (1) One-file (one-stream) backup. Not directory mirror. I need to > store it on FTP server and upload with single command. > > (2) Levels & increment backups. Now I have "Monthly (0) - Weekly > (1,2,3) - daily (4,5,6,7,8,9)" scheme. I could afford other schemes, > but if they doesn't store full backup every day and doesn't need full > backup more often than weekly. > > (3) Minimum of local metadata. Storing previous backups locally to > calculate next one is not appropriate solution. "zfs send" needs > previous snapshots for incremental backup, for example. > > (4) Working with snapshot (I think, it is trivial in case of ZFS). > > (5) Backup exclusions should be controlled by users (not super-user) > themselves, > like "nodump" flag in case of FFS/dump(8). "zfs send" can not > provide this. I have very responsible users, so full backup > now takes only up to 10GiB when all HOME FS is about 25GiB, so it > is big help when backup is sent over Internet to other host. > > (6) Storing of ALL FS-specific information -- ACLs, etc. > > (7) Free :) > > Is here something like this for ZFS? "zfs send" looks promising, > EXCEPT item (5) and, maybe, (3) :( > > gnu tar looks like everything but (6) :( From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 10:45:04 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E87791065670 for ; Sat, 2 Apr 2011 10:45:04 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 90D1F8FC0A for ; Sat, 2 Apr 2011 10:45:04 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 1006445F1F; Sat, 2 Apr 2011 12:18:00 +0200 (CEST) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 7CF6B45684; Sat, 2 Apr 2011 12:17:54 +0200 (CEST) Date: Sat, 2 Apr 2011 12:17:50 +0200 From: Pawel Jakub Dawidek To: Mikolaj Golub Message-ID: <20110402101750.GD1849@garage.freebsd.pl> References: <20110326003348.GQ36706@equilibrium.bsdes.net> <20110401174354.GE1289@equilibrium.bsdes.net> <86pqp53cqe.fsf@kopusha.home.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EY/WZ/HvNxOox07X" Content-Disposition: inline In-Reply-To: <86pqp53cqe.fsf@kopusha.home.net> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: Victor Balada Diaz , stable@freebsd.org, Kostik Belousov Subject: Re: geli(4) memory leak X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 10:45:05 -0000 --EY/WZ/HvNxOox07X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 02, 2011 at 12:04:09AM +0300, Mikolaj Golub wrote: > For me your patch look correct. But the same issue is for read :-). Also,= to > avoid the leak I think we can just do g_destroy_bio() before "all sectors" > check. See the attached patch (had some testing). The patch looks good. Please commit. > Index: sys/geom/eli/g_eli.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/geom/eli/g_eli.c (revision 220168) > +++ sys/geom/eli/g_eli.c (working copy) > @@ -160,13 +160,13 @@ g_eli_read_done(struct bio *bp) > pbp =3D bp->bio_parent; > if (pbp->bio_error =3D=3D 0) > pbp->bio_error =3D bp->bio_error; > + g_destroy_bio(bp); > /* > * Do we have all sectors already? > */ > pbp->bio_inbed++; > if (pbp->bio_inbed < pbp->bio_children) > return; > - g_destroy_bio(bp); > sc =3D pbp->bio_to->geom->softc; > if (pbp->bio_error !=3D 0) { > G_ELI_LOGREQ(0, pbp, "%s() failed", __func__); > @@ -202,6 +202,7 @@ g_eli_write_done(struct bio *bp) > if (bp->bio_error !=3D 0) > pbp->bio_error =3D bp->bio_error; > } > + g_destroy_bio(bp); > /* > * Do we have all sectors already? > */ > @@ -215,7 +216,6 @@ g_eli_write_done(struct bio *bp) > pbp->bio_error); > pbp->bio_completed =3D 0; > } > - g_destroy_bio(bp); > /* > * Write is finished, send it up. > */ --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --EY/WZ/HvNxOox07X Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk2W984ACgkQForvXbEpPzTrXQCfVJtZr2sOU63RLytIRNXjziBO fWAAni761TsmDtlrn2O44yFQSpQv1Sjj =oYkr -----END PGP SIGNATURE----- --EY/WZ/HvNxOox07X-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 14:44:12 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A5BD106564A for ; Sat, 2 Apr 2011 14:44:12 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id E12C18FC0A for ; Sat, 2 Apr 2011 14:44:11 +0000 (UTC) Received: (qmail 23531 invoked from network); 2 Apr 2011 14:17:30 -0000 Received: from unknown (HELO ?192.168.0.2?) (spawk@96.224.221.101) by acm.poly.edu with CAMELLIA256-SHA encrypted SMTP; 2 Apr 2011 14:17:30 -0000 Message-ID: <4D972FF7.6010901@acm.poly.edu> Date: Sat, 02 Apr 2011 10:17:27 -0400 From: Boris Kochergin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101031 Thunderbird/3.1.6 MIME-Version: 1.0 To: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Kernel memory leak in 8.2-PRERELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 14:44:12 -0000 Ahoy. This morning, I awoke to the following on one of my servers: pid 59630 (httpd), uid 80, was killed: out of swap space pid 59341 (find), uid 0, was killed: out of swap space pid 23134 (irssi), uid 1001, was killed: out of swap space pid 49332 (sshd), uid 1001, was killed: out of swap space pid 69074 (httpd), uid 0, was killed: out of swap space pid 11879 (eggdrop-1.6.19), uid 1001, was killed: out of swap space ... And so on. The machine is: FreeBSD exodus.poly.edu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: Thu Dec 2 11:39:21 EST 2010 spawk@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS amd64 10:13AM up 120 days, 20:06, 2 users, load averages: 0.00, 0.01, 0.00 The memory line from top intrigued me: Mem: 16M Active, 48M Inact, 6996M Wired, 229M Cache, 828M Buf, 605M Free The machine has 8 gigs of memory, and I don't know what all that wired memory is being used for. There is a large-ish (6 x 1.5-TB) ZFS RAID-Z2 on it which has had a disk in the UNAVAIL state for a few months: # zpool status pool: home state: DEGRADED status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Replace the device using 'zpool replace'. see: http://www.sun.com/msg/ZFS-8000-4J scrub: none requested config: NAME STATE READ WRITE CKSUM home DEGRADED 0 0 0 raidz2 DEGRADED 0 0 0 ada0 ONLINE 0 0 0 ada1 ONLINE 0 0 0 ada2 ONLINE 0 0 0 ada3 ONLINE 0 0 0 ada4 ONLINE 0 0 0 ada5 UNAVAIL 0 85 11 experienced I/O failures errors: No known data errors "vmstat -m" and "vmstat -z" output: http://acm.poly.edu/~spawk/vmstat-m.txt http://acm.poly.edu/~spawk/vmstat-z.txt Anyone have a clue? I know it's just going to happen again if I reboot the machine. It is still up in case there are diagnostics for me to run. -Boris From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 15:31:07 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAA011065672 for ; Sat, 2 Apr 2011 15:31:06 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 686D08FC08 for ; Sat, 2 Apr 2011 15:31:05 +0000 (UTC) Received: from omta17.westchester.pa.mail.comcast.net ([76.96.62.89]) by qmta12.westchester.pa.mail.comcast.net with comcast id SfC11g0081vXlb85CfX6Tq; Sat, 02 Apr 2011 15:31:06 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta17.westchester.pa.mail.comcast.net with comcast id SfX51g00L1t3BNj3dfX5v1; Sat, 02 Apr 2011 15:31:06 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id E46839B429; Sat, 2 Apr 2011 08:31:03 -0700 (PDT) Date: Sat, 2 Apr 2011 08:31:03 -0700 From: Jeremy Chadwick To: Boris Kochergin Message-ID: <20110402153103.GA10283@icarus.home.lan> References: <4D972FF7.6010901@acm.poly.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D972FF7.6010901@acm.poly.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD-STABLE Mailing List Subject: Re: Kernel memory leak in 8.2-PRERELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 15:31:07 -0000 On Sat, Apr 02, 2011 at 10:17:27AM -0400, Boris Kochergin wrote: > Ahoy. This morning, I awoke to the following on one of my servers: > > pid 59630 (httpd), uid 80, was killed: out of swap space > pid 59341 (find), uid 0, was killed: out of swap space > pid 23134 (irssi), uid 1001, was killed: out of swap space > pid 49332 (sshd), uid 1001, was killed: out of swap space > pid 69074 (httpd), uid 0, was killed: out of swap space > pid 11879 (eggdrop-1.6.19), uid 1001, was killed: out of swap space > ... > > And so on. > > The machine is: > > FreeBSD exodus.poly.edu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: > Thu Dec 2 11:39:21 EST 2010 > spawk@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS amd64 > > 10:13AM up 120 days, 20:06, 2 users, load averages: 0.00, 0.01, 0.00 > > The memory line from top intrigued me: > > Mem: 16M Active, 48M Inact, 6996M Wired, 229M Cache, 828M Buf, 605M Free > > The machine has 8 gigs of memory, and I don't know what all that > wired memory is being used for. There is a large-ish (6 x 1.5-TB) > ZFS RAID-Z2 on it which has had a disk in the UNAVAIL state for a > few months: The ZFS ARC is what's responsible for your large wired count. How much swap space do you have? You excluded that line from top. "swapinfo" would also be helpful, but would indicate the same thing. If you lack swap (which is a bad idea for a lot of reasons), then the machine running out of available memory for userspace (a process which grew too large, thus impacting others which were trying to malloc() at the time) would make sense. Can you please provide /boot/loader.conf and /etc/sysctl.conf ? > # zpool status > pool: home > state: DEGRADED > status: One or more devices could not be used because the label is > missing or > invalid. Sufficient replicas exist for the pool to continue > functioning in a degraded state. > action: Replace the device using 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-4J > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > home DEGRADED 0 0 0 > raidz2 DEGRADED 0 0 0 > ada0 ONLINE 0 0 0 > ada1 ONLINE 0 0 0 > ada2 ONLINE 0 0 0 > ada3 ONLINE 0 0 0 > ada4 ONLINE 0 0 0 > ada5 UNAVAIL 0 85 11 experienced I/O failures > > errors: No known data errors I would also recommend fixing ada5; I'm not sure why any SA would let a bad disk sit in a machine for "a few months". Though, hopefully, this doesn't cause extra memory usage or something odd behind the scenes (in the kernel). I'm going to assume the two things are completely unrelated. > "vmstat -m" and "vmstat -z" output: > > http://acm.poly.edu/~spawk/vmstat-m.txt > http://acm.poly.edu/~spawk/vmstat-z.txt > > Anyone have a clue? I know it's just going to happen again if I > reboot the machine. It is still up in case there are diagnostics for > me to run. The above vmstat data won't be too helpful since you need to see what's going on "over time" and not what the values are right now. There may be one of them that indicates available userspace vs. available kmem. Basically what you need is the equivalent of Solaris sar(1), so that you can see memory usage of processes/etc. over time and find out if something went crazy and started going malloc-crazy. If the kernel itself ran out, you'd be seeing a panic. Sorry if these ideas/comments seem like a ramble, I've been up all night trying to decode a circa-1992 font routine in 65816 assembly, heh. :-) -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB | From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 15:33:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CA7B106566B for ; Sat, 2 Apr 2011 15:33:24 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 0ACA98FC08 for ; Sat, 2 Apr 2011 15:33:23 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p32FXGf9041922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Apr 2011 18:33:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id p32FXGB9083624; Sat, 2 Apr 2011 18:33:16 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id p32FXFwb083623; Sat, 2 Apr 2011 18:33:15 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 2 Apr 2011 18:33:15 +0300 From: Kostik Belousov To: Boris Kochergin Message-ID: <20110402153315.GP78089@deviant.kiev.zoral.com.ua> References: <4D972FF7.6010901@acm.poly.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dKHLzz1xuYXI/NqC" Content-Disposition: inline In-Reply-To: <4D972FF7.6010901@acm.poly.edu> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FreeBSD-STABLE Mailing List Subject: Re: Kernel memory leak in 8.2-PRERELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 15:33:24 -0000 --dKHLzz1xuYXI/NqC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 02, 2011 at 10:17:27AM -0400, Boris Kochergin wrote: > Ahoy. This morning, I awoke to the following on one of my servers: >=20 > pid 59630 (httpd), uid 80, was killed: out of swap space > pid 59341 (find), uid 0, was killed: out of swap space > pid 23134 (irssi), uid 1001, was killed: out of swap space > pid 49332 (sshd), uid 1001, was killed: out of swap space > pid 69074 (httpd), uid 0, was killed: out of swap space > pid 11879 (eggdrop-1.6.19), uid 1001, was killed: out of swap space > ... >=20 > And so on. >=20 > The machine is: >=20 > FreeBSD exodus.poly.edu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: Thu=20 > Dec 2 11:39:21 EST 2010 =20 > spawk@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS amd64 >=20 > 10:13AM up 120 days, 20:06, 2 users, load averages: 0.00, 0.01, 0.00 >=20 > The memory line from top intrigued me: >=20 > Mem: 16M Active, 48M Inact, 6996M Wired, 229M Cache, 828M Buf, 605M Free >=20 > The machine has 8 gigs of memory, and I don't know what all that wired=20 > memory is being used for. There is a large-ish (6 x 1.5-TB) ZFS RAID-Z2= =20 > on it which has had a disk in the UNAVAIL state for a few months: >=20 > # zpool status > pool: home > state: DEGRADED > status: One or more devices could not be used because the label is=20 > missing or > invalid. Sufficient replicas exist for the pool to continue > functioning in a degraded state. > action: Replace the device using 'zpool replace'. > see: http://www.sun.com/msg/ZFS-8000-4J > scrub: none requested > config: >=20 > NAME STATE READ WRITE CKSUM > home DEGRADED 0 0 0 > raidz2 DEGRADED 0 0 0 > ada0 ONLINE 0 0 0 > ada1 ONLINE 0 0 0 > ada2 ONLINE 0 0 0 > ada3 ONLINE 0 0 0 > ada4 ONLINE 0 0 0 > ada5 UNAVAIL 0 85 11 experienced I/O failures >=20 > errors: No known data errors >=20 > "vmstat -m" and "vmstat -z" output: >=20 > http://acm.poly.edu/~spawk/vmstat-m.txt > http://acm.poly.edu/~spawk/vmstat-z.txt >=20 > Anyone have a clue? I know it's just going to happen again if I reboot=20 > the machine. It is still up in case there are diagnostics for me to run. Try r218795. Most likely, your issue is not leak. --dKHLzz1xuYXI/NqC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk2XQbsACgkQC3+MBN1Mb4jsWQCfcIagL5WRwCFMO0MjDSO7Sf4Z z2EAni1sRLol/5WiFUIymo5h4TyulXCL =uPoF -----END PGP SIGNATURE----- --dKHLzz1xuYXI/NqC-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 15:41:13 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 005AF1065672 for ; Sat, 2 Apr 2011 15:41:13 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 93C728FC12 for ; Sat, 2 Apr 2011 15:41:12 +0000 (UTC) Received: (qmail 25235 invoked from network); 2 Apr 2011 15:41:10 -0000 Received: from unknown (HELO ?192.168.0.2?) (spawk@96.224.221.101) by acm.poly.edu with CAMELLIA256-SHA encrypted SMTP; 2 Apr 2011 15:41:10 -0000 Message-ID: <4D974393.80606@acm.poly.edu> Date: Sat, 02 Apr 2011 11:41:07 -0400 From: Boris Kochergin User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101031 Thunderbird/3.1.6 MIME-Version: 1.0 To: Kostik Belousov References: <4D972FF7.6010901@acm.poly.edu> <20110402153315.GP78089@deviant.kiev.zoral.com.ua> In-Reply-To: <20110402153315.GP78089@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-STABLE Mailing List Subject: Re: Kernel memory leak in 8.2-PRERELEASE? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 15:41:13 -0000 On 04/02/11 11:33, Kostik Belousov wrote: > On Sat, Apr 02, 2011 at 10:17:27AM -0400, Boris Kochergin wrote: >> Ahoy. This morning, I awoke to the following on one of my servers: >> >> pid 59630 (httpd), uid 80, was killed: out of swap space >> pid 59341 (find), uid 0, was killed: out of swap space >> pid 23134 (irssi), uid 1001, was killed: out of swap space >> pid 49332 (sshd), uid 1001, was killed: out of swap space >> pid 69074 (httpd), uid 0, was killed: out of swap space >> pid 11879 (eggdrop-1.6.19), uid 1001, was killed: out of swap space >> ... >> >> And so on. >> >> The machine is: >> >> FreeBSD exodus.poly.edu 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: Thu >> Dec 2 11:39:21 EST 2010 >> spawk@exodus.poly.edu:/usr/obj/usr/src/sys/EXODUS amd64 >> >> 10:13AM up 120 days, 20:06, 2 users, load averages: 0.00, 0.01, 0.00 >> >> The memory line from top intrigued me: >> >> Mem: 16M Active, 48M Inact, 6996M Wired, 229M Cache, 828M Buf, 605M Free >> >> The machine has 8 gigs of memory, and I don't know what all that wired >> memory is being used for. There is a large-ish (6 x 1.5-TB) ZFS RAID-Z2 >> on it which has had a disk in the UNAVAIL state for a few months: >> >> # zpool status >> pool: home >> state: DEGRADED >> status: One or more devices could not be used because the label is >> missing or >> invalid. Sufficient replicas exist for the pool to continue >> functioning in a degraded state. >> action: Replace the device using 'zpool replace'. >> see: http://www.sun.com/msg/ZFS-8000-4J >> scrub: none requested >> config: >> >> NAME STATE READ WRITE CKSUM >> home DEGRADED 0 0 0 >> raidz2 DEGRADED 0 0 0 >> ada0 ONLINE 0 0 0 >> ada1 ONLINE 0 0 0 >> ada2 ONLINE 0 0 0 >> ada3 ONLINE 0 0 0 >> ada4 ONLINE 0 0 0 >> ada5 UNAVAIL 0 85 11 experienced I/O failures >> >> errors: No known data errors >> >> "vmstat -m" and "vmstat -z" output: >> >> http://acm.poly.edu/~spawk/vmstat-m.txt >> http://acm.poly.edu/~spawk/vmstat-z.txt >> >> Anyone have a clue? I know it's just going to happen again if I reboot >> the machine. It is still up in case there are diagnostics for me to run. > Try r218795. Most likely, your issue is not leak. Thanks. Will update to today's 8-STABLE and report back. -Boris From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 17:31:05 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0F34106564A for ; Sat, 2 Apr 2011 17:31:05 +0000 (UTC) (envelope-from dmagda@ee.ryerson.ca) Received: from eccles.ee.ryerson.ca (ee.ryerson.ca [141.117.1.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE1A8FC15 for ; Sat, 2 Apr 2011 17:31:04 +0000 (UTC) Received: from [10.0.1.3] (bas2-toronto09-1176130867.dsl.bell.ca [70.26.85.51]) (authenticated bits=0) by eccles.ee.ryerson.ca (8.14.4/8.14.4) with ESMTP id p32GtCel001946 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 2 Apr 2011 12:55:18 -0400 (EDT) (envelope-from dmagda@ee.ryerson.ca) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: David Magda In-Reply-To: <201104020335.p323Zp8Q018666@apollo.backplane.com> Date: Sat, 2 Apr 2011 12:55:15 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <1D1A4498-0CE0-4CE7-8DD3-6066B85C82AF@ee.ryerson.ca> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> <201104020335.p323Zp8Q018666@apollo.backplane.com> To: Matthew Dillon X-Mailer: Apple Mail (2.1082) Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 17:31:05 -0000 On Apr 1, 2011, at 23:35, Matthew Dillon wrote: > The solution to this first item is for the OS/filesystem to issue a > disk flush command to the drive at appropriate times. If I recall = the > ZFS implementation in FreeBSD *DOES* do this for transaction = groups, > which guarantees that a prior transaction group is fully synced = before > a new ones starts running (HAMMER in DragonFly also does this). > (Just getting an 'ack' from the write transaction over the SATA bus = only > means the data made it to the drive's cache, not that it made it to > the platter). It should also be noted that some drives ignore or lie about these flush = commands: i.e., they say they flushed the buffers but did not in fact do = so. This is sometimes done on cheap SATA drives, but also on expensive = SANS. If the former's case it's often to help with benchmark numbers. In = the latter's case, it's usually okay because the buffers are actually = NVRAM, and so are safe across power cycles. There are also some = USB-to-SATA chipsets that don't handle flush commands and simply ACK = them without passing them to the drive, so yanking a drive can cause = problems. There has been quite a bit of discussion on the zfs-discuss list on this = topic of the years, especially when it comes to (consumer) SSDs. From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 18:43:33 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABFA21065670 for ; Sat, 2 Apr 2011 18:43:33 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 7936F8FC1A for ; Sat, 2 Apr 2011 18:43:33 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.74 (FreeBSD)) (envelope-from ) id 1Q65nI-000Ejp-0t; Sat, 02 Apr 2011 14:43:32 -0400 Date: Sat, 2 Apr 2011 14:43:31 -0400 From: Gary Palmer To: David Magda Message-ID: <20110402184331.GA43505@in-addr.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> <201104020335.p323Zp8Q018666@apollo.backplane.com> <1D1A4498-0CE0-4CE7-8DD3-6066B85C82AF@ee.ryerson.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1D1A4498-0CE0-4CE7-8DD3-6066B85C82AF@ee.ryerson.ca> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: freebsd-stable@freebsd.org Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 18:43:33 -0000 On Sat, Apr 02, 2011 at 12:55:15PM -0400, David Magda wrote: > On Apr 1, 2011, at 23:35, Matthew Dillon wrote: > > > The solution to this first item is for the OS/filesystem to issue a > > disk flush command to the drive at appropriate times. If I recall the > > ZFS implementation in FreeBSD *DOES* do this for transaction groups, > > which guarantees that a prior transaction group is fully synced before > > a new ones starts running (HAMMER in DragonFly also does this). > > (Just getting an 'ack' from the write transaction over the SATA bus only > > means the data made it to the drive's cache, not that it made it to > > the platter). > > It should also be noted that some drives ignore or lie about these flush commands: i.e., they say they flushed the buffers but did not in fact do so. This is sometimes done on cheap SATA drives, but also on expensive SANS. If the former's case it's often to help with benchmark numbers. In the latter's case, it's usually okay because the buffers are actually NVRAM, and so are safe across power cycles. There are also some USB-to-SATA chipsets that don't handle flush commands and simply ACK them without passing them to the drive, so yanking a drive can cause problems. SANs are *theoretically* safer because of their battery backed caches, however it's not guaranteed - I've seen an array controller crash and royally screw the data sets as a result, even when the cache was allegedly mirrored to the redundant controller in the array. NVRAM/battery backed cache protects against certain failures but introduces other failures in their place. You have to do your own risk/benefit analysis before seeing which is the best solution for your usage scenario. As long as it is "in transit" to permanent storage, it's at risk. All the disk redundancy/battery backed caches in the world is no replacement for a comprehensive *and regularly tested* backup strategy. Regards, Gary From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 18:57:21 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11DA01065672 for ; Sat, 2 Apr 2011 18:57:21 +0000 (UTC) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (apollo.backplane.com [65.120.238.197]) by mx1.freebsd.org (Postfix) with ESMTP id D74D28FC1E for ; Sat, 2 Apr 2011 18:57:20 +0000 (UTC) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.14.4/8.14.1) with ESMTP id p32IvKnl024215 for ; Sat, 2 Apr 2011 11:57:20 -0700 (PDT) Received: (from dillon@localhost) by apollo.backplane.com (8.14.4/8.13.4/Submit) id p32IvKfE024214; Sat, 2 Apr 2011 11:57:20 -0700 (PDT) Date: Sat, 2 Apr 2011 11:57:20 -0700 (PDT) From: Matthew Dillon Message-Id: <201104021857.p32IvKfE024214@apollo.backplane.com> To: freebsd-stable@freebsd.org References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> <201104020335.p323Zp8Q018666@apollo.backplane.com> <1D1A4498-0CE0-4CE7-8DD3-6066B85C82AF@ee.ryerson.ca> Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 18:57:21 -0000 :It should also be noted that some drives ignore or lie about these flush commands: i.e., they say they flushed the buffers but did not in fact do so. This is sometimes done on cheap SATA drives, but also on expensive SANS. If the former's case it's often to help with benchmark numbers. In the latter's case, it's usually okay because the buffers are actually NVRAM, and so are safe across power cycles. There are also some USB-to-SATA chipsets that don't handle flush commands and simply ACK them without passing them to the drive, so yanking a drive can cause problems. : :There has been quite a bit of discussion on the zfs-discuss list on this topic of the years, especially when it comes to (consumer) SSDs. Remember also that numerous ZFS studies have been debunked in recent years, though I agree with the idea that going that extra mile requires not trusting anything. In many respects ZFS's biggest enemy now is bugs in ZFS itself (or the OS it runs under), and not so much glitches in the underlying storage framework. I am unaware of *ANY* mainstream hard drive or SSD made in the last 10 years which ignores the disk flush command. In previous decades HD vendors played games with caching all the time but there are fewer HD vendors now and they all compete heavily with each other... they don't play those games any more for fear of losing their reputation. There is very little vendor loyalty in the hard drive business. When it comes to SSDs there are all sorts of fringe vendors, and I certainly would not trust any of those, but if you stick to well known vendors like Intel or OCZ it will work. Look for who's chipsets are under the hood more than for whos name is slapped onto the SSD and get as close to the source as you can. Most current-day disk flush command issues are at a higher level. For example, numerous VMs ignore the command (don't even bother to fsync() the underlying block devices or files!). There isn't anything you can do about a VM other than complain about it to the vendor. I've been hit by this precisely issue running HAMMER inside a VM on a windows box. If the VM blue-screen's the windows box (which happens quite often) the data on-disk can wind up corrupted beyond all measure. People who use VMs with direct-attached filesystems basically rely on the host computer never crashing and should really have no expectation of storage reliability short of running the VM inside an IBM mainframe. That is the unfortunate truth. With USB the primary culprit is virtually *all* USB/Firewire/SATA bridges, as you noted, because I think there are only like 2 or 3 actual manufacturers and they are all broken. The USB standard itself shares the blame for this. It is a really horrible standard. USB-sticks are the ones that typically either lock up or return success but don't actually flush their (fortunately limited) caches. Nobody in their right mind uses USB to attach a disk when reliability is important. It's fine to have it... I have lots of USB sticks and a few USB-attached HDs lying around, but I have *ZERO* expectation of reliability from them and neither should anyone else. SD cards are in the same category as USB. Useful but untrustworthy. Other fringe consumer crap, like fake-raid (BIOS-based RAID), is equally unreliable when it comes to dealing with outright crashes. Always fun to have drives which can't be moved to other machines if a mobo dies! Not! With network attached drives the standard itself is broken. It tries to define command completion as the data being on-media which is stupid when no other direct-attached standard requires that. Stupidity in standards is a primary factor in vendors ignoring portions of standards. In the case of network-attached drives implemented with direct-attached drives on machines with software drivers to bridge to the network, it comes down to whether the software deals with the flush command properly, because it sure as hell isn't going to sync each write command all the way to the media! But frankly, none of these issues should stop anyone from not using the command or rationalizing it away. Not that I am blaming anyone for trying to rationalize it away, I am simply pointing out that in a market as large as the generic 'storage' market is, there are always going to be tons of broken stuff out there to avoid. It's buyer beware. What we care about here, in this discussion, is direct-attached SATA/eSATA/SAS, port multipliers and other external enclosure bridges, high-end SCSI phys and, NVRAM aside (which is arguable), real RAID hardware. And well-known vendors (fringe SSDs do not count). That covers 90% of the market and 99% of the cases where protocol reliability is required. -Matt Matthew Dillon From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 20:18:46 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D652106564A for ; Sat, 2 Apr 2011 20:18:46 +0000 (UTC) (envelope-from florian@wagner-flo.net) Received: from umbracor.wagner-flo.net (umbracor.wagner-flo.net [213.165.81.202]) by mx1.freebsd.org (Postfix) with ESMTP id 49D6C8FC12 for ; Sat, 2 Apr 2011 20:18:46 +0000 (UTC) Received: from naclador.mos32.de (ppp-93-104-1-42.dynamic.mnet-online.de [93.104.1.42]) by umbracor.wagner-flo.net (Postfix) with ESMTPSA id E1D5E3C058F6 for ; Sat, 2 Apr 2011 22:00:30 +0200 (CEST) Date: Sat, 2 Apr 2011 22:00:29 +0200 From: Florian Wagner To: freebsd-stable@freebsd.org Message-ID: <20110402220029.243d1993@naclador.mos32.de> In-Reply-To: <201104021857.p32IvKfE024214@apollo.backplane.com> References: <87d3l6p5xv.fsf@cosmos.claresco.hr> <874o6ip0ak.fsf@cosmos.claresco.hr> <7b15d37d28f8ddac9eb81e4390231c96.HRCIM@webmail.1command.com> <14c23d4bf5b47a7790cff65e70c66151.HRCIM@webmail.1command.com> <201104020335.p323Zp8Q018666@apollo.backplane.com> <1D1A4498-0CE0-4CE7-8DD3-6066B85C82AF@ee.ryerson.ca> <201104021857.p32IvKfE024214@apollo.backplane.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/Y3.lLhNQ=WTn+5cSOhvRVAH"; protocol="application/pgp-signature" Subject: Re: Constant rebooting after power loss X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 20:18:46 -0000 --Sig_/Y3.lLhNQ=WTn+5cSOhvRVAH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > I am unaware of *ANY* mainstream hard drive or SSD made in the > last 10 years which ignores the disk flush command. In previous > decades HD vendors played games with caching all the time but there > are fewer HD vendors now and they all compete heavily with each > other... they don't play those games any more for fear of losing > their reputation. There is very little vendor loyalty in the hard > drive business. >=20 > When it comes to SSDs there are all sorts of fringe vendors, and I > certainly would not trust any of those, but if you stick to > well known vendors like Intel or OCZ it will work. Look for who's > chipsets are under the hood more than for whos name is slapped > onto the SSD and get as close to the source as you can. As far as my knowledges goes all mainstream non-enterprise SSD do not obey the cache flush command at all. The question for a recommended SSD for ZIL-use regularly comes up on the zfs-discuss mailing list and the general consensus seems that no non-enterprise SSD can really be recommended because of this issue. The only publicly available SSDs which do not exhibit this are those with a Sandforce enterprise controller (SF-1500 if my memory serves me correctly) and a capacitor (OCZ sells such models) and the Intel X25-E with it's write cache turned off (also resulting in horrible write performance all around). I've had the chance to verify this with a Corsair Force SSD with the SF-1200 controller. It consistently "lost" about 1,2 to 1,5 MB of data which it claimed to have committed to disk.=20 Regards Florian --Sig_/Y3.lLhNQ=WTn+5cSOhvRVAH Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk2XgF0ACgkQLvW/2gp2pPymlACffemZgtR4pFVoMUSEKuWbLD66 3D8AoIHflFfAQK8nmXb5fCWvR1Hxt8xF =d/4u -----END PGP SIGNATURE----- --Sig_/Y3.lLhNQ=WTn+5cSOhvRVAH-- From owner-freebsd-stable@FreeBSD.ORG Sat Apr 2 21:33:56 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E64E8106568F; Sat, 2 Apr 2011 21:33:56 +0000 (UTC) (envelope-from antiduh@csh.rit.edu) Received: from brownstoat.csh.rit.edu (mail.csh.rit.edu [129.21.49.169]) by mx1.freebsd.org (Postfix) with ESMTP id B4DE08FC15; Sat, 2 Apr 2011 21:33:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by brownstoat.csh.rit.edu (Postfix) with ESMTP id 2C5977F902; Sat, 2 Apr 2011 17:16:12 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at csh.rit.edu Received: from brownstoat.csh.rit.edu ([127.0.0.1]) by localhost (brownstoat.csh.rit.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lW4oiuj0hpnA; Sat, 2 Apr 2011 17:16:12 -0400 (EDT) Received: from corrugated.mshome.net (cpe-184-153-112-141.rochester.res.rr.com [184.153.112.141]) by brownstoat.csh.rit.edu (Postfix) with ESMTPSA id BB61E7F55B; Sat, 2 Apr 2011 17:16:11 -0400 (EDT) Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org, "Lev Serebryakov" References: <895726715.20110328112007@serebryakov.spb.ru> Date: Sat, 02 Apr 2011 17:18:54 -0400 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Kevin Thompson" Message-ID: In-Reply-To: <895726715.20110328112007@serebryakov.spb.ru> User-Agent: Opera Mail/11.01 (Win32) Cc: Subject: Re: Backup tool fot ZFS with all "classic dump(8)" fetatures -- what should I use? (or is here any way to make dump -L works well on large FFS2+SU?) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2011 21:33:57 -0000 On Mon, 28 Mar 2011 03:20:07 -0400, Lev Serebryakov wrote: > I'm thinking to transfer GOME filesystem to ZFS. But I can not find > appropriate tools for backing it up. Here is some requirements: Have you considered a full-up backup solution, like bacula? It's a client/server/server model backup system - there's a server process that coordinates all actions ('director'), various server process that run on machines with the devices/mounts/disks for storing the backups ('storage daemons') and then each client runs a little process to give access to the backup servers ('file daemons'). It allows you to specify a large amount of behavior. You can store backup to disk/file and to tape. If using disks/files, you can backup to the same file always, backup to files with 1gb max etc, or backup to a new file each time iirc. It has support for arbitrary schedules with each schedule being able to specify the dump level (full, incremental, differential) It uses a database in the director for metadata. And, iirc, it honors the nodump flag, stores ACLs, etc. Most importantly, it has support for pre- and post-backup hooks, so you can tell it to snapshot beforehand and then (probably, see below) use the post-hook to push the data where you want. Reading about your requirement #1, I'm guessing that the backup data is being collected locally and then sent over ftp for permanent storage. Do you have control over this remote machine? Could you replace ftp with bacula's networked client/server model? This might be the one spot that would be hard to make bacula work for you, I'm not sure since I haven't played with bacula in this configuration and I'm not exactly sure what your restrictions are. Even then, you could probably mount the FTP server as a 'file system' ala sshfs and have the storage daemon write it directly to the mounted file system. And yeah, it's free. http://www.bacula.org If you want to give it a shot, you can set it up on a little test machine and have it backup to itself. I might recommend doing this anyway since you'll want to be able to experiment with configuration and controls before trying it on your production machine. --Kevin