From owner-freebsd-questions@FreeBSD.ORG Sun Jul 14 06:51:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 39CCBC52 for ; Sun, 14 Jul 2013 06:51:29 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ea0-f182.google.com (mail-ea0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C394777E for ; Sun, 14 Jul 2013 06:51:28 +0000 (UTC) Received: by mail-ea0-f182.google.com with SMTP id d10so7150430eaj.41 for ; Sat, 13 Jul 2013 23:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=bkkg0wPuqEPf+JeUz3WTLmNp9tblf9OkFY7lkdzvxFg=; b=noQgOMcb2C8WNRGtYTe50ehOHC5OZJB/81lgLzDi+EAz5yr7nRxLwSZ0YPVCk113se jt1fVnUos7Ux2PWBERtJi0Yis08LLIuu5nHN0RE3cB9/x8bcauTrbO6Eny9aLqzbhzoC grKKPYWHBcpnsowrs2EYJso5VcEpTqBxFSv6oLZvthPPp/CGqjRn9tURpturgn62N79Y bk8+puOv0T8VGKCdFTzA3ayJQF0TMJYM18XPdJo2s23ZnyLdd/ei1T6Cbj21rKRJanBv vQx/B0h9s5/JA60QBJf11hnKCjCarJgcT4SZTtOkJKCTWLKw3x0FBIL7NaW1V6bZcJHM nfVg== MIME-Version: 1.0 X-Received: by 10.14.184.4 with SMTP id r4mr53745848eem.100.1373782844629; Sat, 13 Jul 2013 23:20:44 -0700 (PDT) Received: by 10.14.212.2 with HTTP; Sat, 13 Jul 2013 23:20:44 -0700 (PDT) X-Originating-IP: [76.104.147.221] In-Reply-To: References: <67um8rd2r07ipc.fsf@saturn.laptop> <67um8r61wsei8l.fsf@saturn.laptop> Date: Sat, 13 Jul 2013 23:20:44 -0700 Message-ID: Subject: Re: OT: rsync on Mac OSX From: David Brodbeck To: "freebsd-questions@freebsd.org" X-Gm-Message-State: ALoCoQlLBCpcmkoTf8HCuiwxHeNuR6Xa9gOnIAFLk8vFBghipEu7gvmd6d4Be4L2it36YT8MvfQq Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2013 06:51:29 -0000 On Fri, Jul 12, 2013 at 11:25 AM, Chris Maness wrote: > Thank you for the detailed description of what resource forks are. One > more clue in this mystery is that appending .mov extension to it fixes the > problem. That makes some sense, since without the resource fork some MacOS software would have trouble identifying the type of the file. The extension provides that information in another way. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 14 07:57:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4DB8F1AC for ; Sun, 14 Jul 2013 07:57:13 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id DB9C88B6 for ; Sun, 14 Jul 2013 07:57:12 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail07.adl2.internode.on.net with ESMTP; 14 Jul 2013 17:27:10 +0930 Message-ID: <51E259D3.8000608@ShaneWare.Biz> Date: Sun, 14 Jul 2013 17:27:07 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Frank Leonhardt Subject: Re: jls usage References: <51DF59B1.4020107@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201FBF9CF@ltcfiswmsgmb21> <51DFCDD2.2010104@fjl.co.uk> <13CA24D6AB415D428143D44749F57D7201FC19A4@ltcfiswmsgmb21> <51E01A22.7030306@fjl.co.uk> <51E021AA.5030905@fjl.co.uk> <51E02729.7070203@fjl.co.uk> <51E0D3C9.3020505@ShaneWare.Biz> <51E115AB.6030004@fjl.co.uk> In-Reply-To: <51E115AB.6030004@fjl.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2013 07:57:13 -0000 On 13/07/2013 18:24, Frank Leonhardt wrote: > Next question: How do you kill a PR you've changed your mind about? just submit a follow up requesting that it be closed as the fix has been applied. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 14 11:38:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4CA5291 for ; Sun, 14 Jul 2013 11:38:08 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by mx1.freebsd.org (Postfix) with ESMTP id 1B33BDD7 for ; Sun, 14 Jul 2013 11:38:07 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id g12so14505563oah.25 for ; Sun, 14 Jul 2013 04:38:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=+O4FsH0SI5kbOUuon/6AU+yofTsTNctqPszNkxi1AHA=; b=fDdQ/5w9mGd59pQfgDv1yLoKgf/vzr+C3eq0OxPzF2mZWigUlGW0Qx0hhlAr9Ztqvr 0fEneeJ13ZpW9RQ2d8arCrr2+xkOvPnJBDMWl7BGRMiW4bN6WQeN386jbev6CJVJf/qp WU+vOKNRvqUrfhGaYP87o3ig0Xy9ChUzmx0IKZz1AIJACVy1RZHgRX13jYPgVwIoxRyf 4tGV/n9X3AvbvbCT0RFyJZy1wPiPUcQsHZ6Srea1uDPcOP6kxEz30BCMep8e1nI06Nyj ZXWzcQZVs8DoytGWmhDcsaIfLnnnpxBu82XCJ7HrV4S/684t/5ic/EO6trGBjqmPhuPE fTxg== MIME-Version: 1.0 X-Received: by 10.60.45.38 with SMTP id j6mr40421689oem.56.1373801887407; Sun, 14 Jul 2013 04:38:07 -0700 (PDT) Received: by 10.182.144.226 with HTTP; Sun, 14 Jul 2013 04:38:07 -0700 (PDT) X-Originating-IP: [101.175.139.248] Date: Sun, 14 Jul 2013 21:38:07 +1000 Message-ID: Subject: Re-add lost device entries without a reboot; troubleshoot RAID card From: Jason Birch To: "freebsd-questions@freebsd.org" X-Gm-Message-State: ALoCoQley3UtAZhVvze6Dsihd8C+M+PDm0iCAGUHaw6c59sfja/9jkt9TD4fihsKVVdsRWNlztTH Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2013 11:38:08 -0000 I have several hard drives running through an M1015 flashed to think it's an LSI 9211-8i IT. I've been running them successfully for the last three months through mps(4) as part of a raidz pool, but had the pool drop to a degraded state when /dev/da0 (and associated gpt device) disappeared after some apparent errors. After a reboot, I noticed that the disk that disappeared - da0 - was successfully probed and resilvered back in to the existing pool. I ran a short SMART self test and everything was fine. I ran a long SMART self test and the drive disappeared again towards the end of the scan (I didn't get a chance to view the results) I'd like to know if there's a way to suggest to 're-probe' connections to see if there are any devices that can be reconnected. It's clear that the drive is still around and at least partially responsive - is there a way I can online this disk, as just a device in its own right, such that I can finishing running the SMART diagnostics? I've read some old mentions of mps not being the most stable thing under load, but the mentions are over a year old. The initial failure happened right at the time the daily periodic was running (Which includes a check for negative permissions on the zfs partition) and the second failure was during a SMART long test, so I guess there's potential for "load" there. How might I go about diagnosing whether this is just the drive or possibly the card itself? I suppose the obvious "Move it off the raid card" is probably a good first start... $ uname -a FreeBSD blackfyre 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 dmesg output when things started going south the first time: Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 5a ca e4 98 0 0 8 0 length 4096 SMID 563 terminated ioc 804b scsi 0 state c xfer 0 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23 55 ec 58 0 0 8 0 length 4096 SMID 557 terminated ioc 804b scsi 0 state c xfer 0 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 5a d7 a7 f8 0 0 8 0 length 4096 SMID 889 terminated ioc 804b scsi 0 state c xfer 0 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23 55 ec 60 0 0 8 0 length 4096 SMID 61 terminated ioc 804b scsi 0 state c xfer 0 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23 55 ec 60 0 0 8 0 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status Error Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check Condition Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per sense data) Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23 55 ec a0 0 0 8 0 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status Error Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check Condition Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per sense data) Device picked up again on restart: Jul 14 15:04:15 blackfyre kernel: da0 at mps0 bus 0 scbus0 target 0 lun 0 Jul 14 15:04:15 blackfyre kernel: da0: Fixed Direct Access SCSI-6 device Jul 14 15:04:15 blackfyre kernel: da0: 600.000MB/s transfers Jul 14 15:04:15 blackfyre kernel: da0: Command Queueing enabled Jul 14 15:04:15 blackfyre kernel: da0: 2861588MB (5860533168 512 byte sectors: 255H 63S/T 364801C) Device going south a second time: Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d 7d 76 10 0 0 38 0 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status Error Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check Condition Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED COMMAND asc:47,3 (Information unit iuCRC error detected) Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per sense data) Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d 94 b8 20 0 0 38 0 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status Error Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check Condition Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED COMMAND asc:47,3 (Information unit iuCRC error detected) Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per sense data) Culminating in the device being removed from /dev/: Jul 14 18:39:17 blackfyre kernel: (noperiph:mps0:0:0:0): SMID 3 finished recovery after aborting TaskMID 667 Jul 14 18:39:17 blackfyre kernel: mps0: mpssas_free_tm releasing simq Jul 14 18:39:22 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 969 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:39:25 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 774 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:39:29 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 880 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:39:33 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 722 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:39:33 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 244 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:39:37 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 length 0 SMID 911 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:40:02 blackfyre kernel: mps0: mpssas_alloc_tm freezing simq Jul 14 18:40:02 blackfyre kernel: mps0: mpssas_remove_complete on handle 0x0009, IOCStatus= 0x0 Jul 14 18:40:02 blackfyre kernel: mps0: mpssas_free_tm releasing simq Jul 14 18:40:02 blackfyre kernel: (da0:(pass0:mps0:0:0:mps0:0:0): lost device - 3 outstanding, 2 refs Jul 14 18:40:02 blackfyre kernel: 0:0): passdevgonecb: devfs entry is gone Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): oustanding 2 Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): oustanding 1 Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): oustanding 0 Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): removing device entry Jul 14 18:40:34 blackfyre kernel: mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x804b Jul 14 18:40:34 blackfyre last message repeated 4 times Jul 14 18:40:34 blackfyre kernel: _mapping_get_dev_info: failed to compute the hashed SAS Address for SATA device with handle 0x0009 Jul 14 18:40:34 blackfyre kernel: mpssas_get_sata_identify: error reading SATA PASSTHRU; iocstatus = 0x804b Jul 14 18:40:34 blackfyre last message repeated 4 times Jul 14 18:41:10 blackfyre kernel: mps0: mpssas_alloc_tm freezing simq Jul 14 18:41:12 blackfyre kernel: (probe0:mps0:0:6:0): INQUIRY. CDB: 12 0 0 0 24 0 length 36 SMID 75 terminated ioc 804b scsi 0 state c xfer 0 Jul 14 18:41:12 blackfyre kernel: mps0: IOCStatus = 0x4b while resetting device 0x9 Jul 14 18:41:12 blackfyre kernel: mps0: mpssas_free_tm releasing simq From owner-freebsd-questions@FreeBSD.ORG Sun Jul 14 15:24:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2F69718E for ; Sun, 14 Jul 2013 15:24:47 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id EA77F63B for ; Sun, 14 Jul 2013 15:24:46 +0000 (UTC) Received: from [93.104.26.38] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UyOAB-0001hA-FM for freebsd-questions@freebsd.org; Sun, 14 Jul 2013 17:24:39 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.7/8.14.3) with ESMTP id r6EFOb8B003035 for ; Sun, 14 Jul 2013 17:24:37 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.7/8.14.3/Submit) id r6EFOa7e003034 for freebsd-questions@freebsd.org; Sun, 14 Jul 2013 17:24:36 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 14 Jul 2013 17:24:36 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: FreeBSD's CUPS / Postscript / Printing mailing-list Message-ID: <20130714152436.GA2993@La-Habana> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.26.38 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2013 15:24:47 -0000 Hello, I'm now and than in the need of discussing CUPS / Postscript related printing questions. In the past there was www.cups.org with a CUPS related bug tracking system and user forums around CUPS. It seems that the server crashed some time ago and it's unknown when (and how) it will come back to life. Even when, it seems that some important part of CUPS (the text filters) is split away to the 'open printing folks', and I'm unsure if the forums will cover the full tool chain: from the file, through the job scheduler, filters, backend and printer device. That's why I wanted to ask, what about our own mailing list like freebsd-printing@ ? Even in the new age of colourful images, printing is essential for servers, and sometimes a tough job. Comments? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Sun Jul 14 15:45:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 977C5494 for ; Sun, 14 Jul 2013 15:45:12 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 693DB6B7 for ; Sun, 14 Jul 2013 15:45:12 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3btXJ73DyLz1DSx for ; Sun, 14 Jul 2013 11:45:11 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3btXJ55zDYz1nYv for ; Sun, 14 Jul 2013 11:45:09 -0400 (EDT) Message-ID: <201307141145100081.00DCC832@smtp.24cl.home> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Sun, 14 Jul 2013 11:45:10 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: resolvconf.conf in 9.1 Content-Type: text/plain; charset="ISO-8859-1" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jul 2013 15:45:12 -0000 I am trying to figure out and understand the config file resolvconf.conf. The man page is a bit on the sketchy side, and I see no reference for resolvconf.conf in the Handbook. Most of what google finds looks like it is Linux-oriented, and that seems to be an entirely different config structure for resolvconf, i.e., a directory of files instead of a file of variables. For example, I would like to change the order in which the name servers appear in resolv.conf. There is one interface (fxp0) that is assigned both IPv4 and IPv6 addresses. IPv4 uses DHCP to obtain the address and two nameservers. IPv6 uses rtadvd to obtain the IP address and nameserver (RDNSS). The IPv4 nameservers appear before the IPv6 nameserver in resolv.conf, and I would like the IPv6 nameserver to be first on the resolv.conf list. What parameter in resolvconf.conf controls the order in which nameservers are placed in resolv.conf? Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 07:47:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 266A6FC8 for ; Mon, 15 Jul 2013 07:47:24 +0000 (UTC) (envelope-from bganesh05@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by mx1.freebsd.org (Postfix) with ESMTP id B82FCE23 for ; Mon, 15 Jul 2013 07:47:23 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hj3so2509822wib.6 for ; Mon, 15 Jul 2013 00:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ekCercYns+FtUjrEpl2n5l66BsIFJwAs8SBSLIjMhcg=; b=mZo3+/mx/ygaUOEzf4B6XQ4Lq39K/zFRu7qNKiTpeKVTUzbgemikTVJLCeVJt2Xmr9 aNFMv8ZNEaBT/wN7SYJINE+jP61YR9oXqkA1TaZBh5GKVHVal/sj/Bs6/cr1rub0MreS 5ePSLr9GMdDhBeMsZj+cnYi/0PWxTo+UTeIINxh0p1oo2IR29akP0aiqOBzy5P4l9qNq sKVBwm1+zm3UJJAQ+gBl8f4oIPxkuLHMl7JQtUt8uZ4o5gMvNVkqeHgh5rzQHffEhCrp GGFixlUqOKTsS0QrhZrqm6Vnz/He4SYtuX3PtKisdfl4+gi+GW96AaBLiijPsSHWonTn +WIw== MIME-Version: 1.0 X-Received: by 10.194.19.130 with SMTP id f2mr30289282wje.22.1373874442850; Mon, 15 Jul 2013 00:47:22 -0700 (PDT) Received: by 10.194.27.195 with HTTP; Mon, 15 Jul 2013 00:47:22 -0700 (PDT) Date: Mon, 15 Jul 2013 15:47:22 +0800 Message-ID: Subject: How to create NanoBSD iso image to install NanoBSD on vmware machine? From: Ganesh Borse To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 07:47:24 -0000 Dear Friends, I am new to Nanobsd and trying to create an iso image which can be installed on vmware machine. I created an iso image using the disk image (/usr/obj/nanobsd.full/_.disk.image) generated according to steps given in NanoBSD How To . VM could boot up with this ISO image, but I got an error as below before I could get OS installation prompt: mount: /dev/ad0s3: No such file or directory mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh Cannot read termcap database; using dumb terminal settings. # do I need to use different commands or options to create iso image while using nanobsd.sh script? Please help. Many thanks in advance for your help and time. Best Regards, - ganesh From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 07:56:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5583E341 for ; Mon, 15 Jul 2013 07:56:50 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qc0-x234.google.com (mail-qc0-x234.google.com [IPv6:2607:f8b0:400d:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3CEE83 for ; Mon, 15 Jul 2013 07:56:50 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id a1so6107965qcx.39 for ; Mon, 15 Jul 2013 00:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=EHXznupNwz8VP9yRF/JzYQNCKEi5o9HHmgInVatqrag=; b=r4akINz3Pz1iE2xMZhAz+2fgEioMTwk2NaOCo8j6bzLgc9nH1K0CZx/FylwZAo/JIM gFvN84qm/Ismdki55LY4bDf2PyWQjhbWQ/oNd+AfAnjSQl3QKfdZTTi+stWuDU1KZi18 nMlLFDHTLiZ9o4kBpgC8d7nXVX7Es+wGMOxTD1rCIO0Zf43OfU16oSwgDQii/oq6K9Qr hnK6msTQi+G8KHVR8M7az/Ycb+uAeVRQt4k2ALT65e6ECqhTjPQIFZwDSwU+skoD82Wz VZ4XUQ2rr7SixfAQFVNORgahTo5HPnvxybsq/VwQA0A0f6nwDSo0gJNdQie3pQXzHCpR 8k5w== MIME-Version: 1.0 X-Received: by 10.229.138.135 with SMTP id a7mr3670478qcu.29.1373875009630; Mon, 15 Jul 2013 00:56:49 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.49.0.235 with HTTP; Mon, 15 Jul 2013 00:56:49 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 14:56:49 +0700 X-Google-Sender-Auth: cEt-ILq67jPwDPWL8bPFhfPVAYQ Message-ID: Subject: Re: How to create NanoBSD iso image to install NanoBSD on vmware machine? From: Olivier Nicole To: Ganesh Borse Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 07:56:50 -0000 Ganesh, > I am new to Nanobsd and trying to create an iso image which can be > installed on vmware machine. > > I created an iso image using the disk image > (/usr/obj/nanobsd.full/_.disk.image) generated according to steps > given in NanoBSD > How To . > > VM could boot up with this ISO image, but I got an error as below before I > could get OS installation prompt: > > mount: /dev/ad0s3: No such file or directory > mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh What type of disk have you defined on your VMWare virtual server? The default is SCSI, which corresponds to /dev/da, not ad. Olivier > Cannot read termcap database; > using dumb terminal settings. > # > > > do I need to use different commands or options to create iso image while > using nanobsd.sh script? > > Please help. > > Many thanks in advance for your help and time. > > Best Regards, > - ganesh > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 08:14:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3F2A7C2F for ; Mon, 15 Jul 2013 08:14:46 +0000 (UTC) (envelope-from bganesh05@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by mx1.freebsd.org (Postfix) with ESMTP id CB67A2B5 for ; Mon, 15 Jul 2013 08:14:45 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hj3so2539509wib.4 for ; Mon, 15 Jul 2013 01:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=a6SvW9FVPhjxu8Itg9GXb68KgS3CirfFAQlW8fhc6sQ=; b=etiey93e4p/t5d1tyVqjMzXAIbTymZxS5X8Gz86j+cZbhRYb6NFy68TgjWk23YBr6v UE7RF9ioQoRMuJLK/T++2zD2nS1mljK5kl6YRfH5dG12EBCphEeszfIiKsnySr2c/TDC pvDgge57A7FuPaf01URuQbNNOwxMYlijqPrUMR7whsEnffOKpB5be3Xx3UpDTXvBmhv8 Q0XlMcrJtMBVroX71OCd4fzYuCWdCt/kq8Ish9mL9oMa6ECd8Q2lAI2CII5qmFTGDZu6 Mv0EIvsfM/pVs26s6RnYEp7lzR9h+99cqquy7WDVBy2f9ahsG3zT5lZVw4103InlyXwN jZYg== MIME-Version: 1.0 X-Received: by 10.180.7.164 with SMTP id k4mr7964146wia.40.1373876084893; Mon, 15 Jul 2013 01:14:44 -0700 (PDT) Received: by 10.194.27.195 with HTTP; Mon, 15 Jul 2013 01:14:44 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 16:14:44 +0800 Message-ID: Subject: Re: How to create NanoBSD iso image to install NanoBSD on vmware machine? From: Ganesh Borse To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 08:14:46 -0000 Hi Olivier, Hard Disk is configured as IDE (IDE 1:1), vm settings. When freebsd image is booting in this VM, before getting the above error, following logs are displayed on boost console: ada0: ATA-4 device ... ... ada0: Previously was known as ad3 .. Trying to mount root from cd9660:/dev/iso9660/nanoISO [ro]... Thanks On Mon, Jul 15, 2013 at 3:56 PM, Olivier Nicole wrote: > Ganesh, > > > I am new to Nanobsd and trying to create an iso image which can be > > installed on vmware machine. > > > > I created an iso image using the disk image > > (/usr/obj/nanobsd.full/_.disk.image) generated according to steps > > given in NanoBSD > > How To . > > > > VM could boot up with this ISO image, but I got an error as below before > I > > could get OS installation prompt: > > > > mount: /dev/ad0s3: No such file or directory > > mount -o ro /dev/ad0s3 /conf/default/etc failed: droppnig into /bin/sh > > What type of disk have you defined on your VMWare virtual server? The > default is SCSI, which corresponds to /dev/da, not ad. > > Olivier > > > Cannot read termcap database; > > using dumb terminal settings. > > # > > > > > > do I need to use different commands or options to create iso image while > > using nanobsd.sh script? > > > > Please help. > > > > Many thanks in advance for your help and time. > > > > Best Regards, > > - ganesh > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 08:55:39 2013 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2B2ECABE for ; Mon, 15 Jul 2013 08:55:39 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id 86CCD969 for ; Mon, 15 Jul 2013 08:55:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by 28amen.org (8.14.5/8.13.6) with ESMTP id r6F8khE4081504 for ; Mon, 15 Jul 2013 08:47:01 GMT Message-ID: <51E3B6F3.7090304@robinlea.com> Date: Mon, 15 Jul 2013 15:46:43 +0700 From: john francis lee User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: questions@FreeBSD.org Subject: NVIDIA GeForce 6100/nForce 430 chipset Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 08:55:39 -0000 2.2.1.2. FreeBSD/amd64 There are two classes of processors capable of running FreeBSD/amd64. The first are AMD64 processors, including the AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors. The second class of processors that can use FreeBSD/amd64 includes those using the Intel® EM64T architecture. Examples of these processors include the Intel® Core™ 2 Duo, Quad, Extreme processor families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of processors, and the Intel® Core™ i3, i5 and i7 processors. /If you have a machine based on an nVidia nForce3 Pro-150, you ///must///use the BIOS setup to disable the IO APIC. If you do not have an option to do this, you will likely have to disable ACPI instead. There are bugs in the Pro-150 chipset for which we have not yet found a workaround./ I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 6100/nForce 430 chipset. Is that OK? Thanks. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 09:02:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 616E8C5D for ; Mon, 15 Jul 2013 09:02:14 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) by mx1.freebsd.org (Postfix) with ESMTP id E3A019C0 for ; Mon, 15 Jul 2013 09:02:13 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id x10so9248364lbi.33 for ; Mon, 15 Jul 2013 02:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=3NzBPWDsnBA+wigLCESplzgLZ9vE1K1anuyvTKf9tnM=; b=owWoEOXcU3M+Xjxxl/tWCIKO2uRPQ//lQYmcZ42c4mdykPKetqWlZdP2CSj8OIaREK BwzxsrWjlzbMTR+mZaq8xuRWlrl7WEOJ85cm7wB15xHKG/gTBJEvvtTbswoZMkibJlQm qYxYK3bNmf7BkaYIsnuolzgIx4zlMcEQgc9plmfWcUmInRN1QJBvsbi886FRiSKfyk7u nKL6/HJW6FJX1w6u4ndW9wMgRQbvw/PTHfWwgcBlIZmQ0NUdrH39A2k6ibmHdNLfigua mWcd4UykHXKnKE5GAq9SaSSA/O+CLBT/t53jzBXSEd36UHEtUoPbe74qWzEAkFx2WDBS vnRA== MIME-Version: 1.0 X-Received: by 10.152.28.66 with SMTP id z2mr24231119lag.5.1373878932768; Mon, 15 Jul 2013 02:02:12 -0700 (PDT) Received: by 10.112.67.135 with HTTP; Mon, 15 Jul 2013 02:02:12 -0700 (PDT) Date: Mon, 15 Jul 2013 13:32:12 +0430 Message-ID: Subject: find netmask for offered lease in dhclient code From: s m To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 09:02:14 -0000 hello all, i want to change dhclient code and customize it. in order to do that, i need to know the netmask for offered ip. i see code and found that struct client_lease *offered_leases, keeps information about offered lease such as ip address but this structure hasn't any field about netmask. i don't know how i can find the netmak for this offered ip address. any one has traced dhclient code before? how can i see the netmask for offered ip? thanks in advance, SAM From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 09:13:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A2EBFF0 for ; Mon, 15 Jul 2013 09:13:04 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qe0-x231.google.com (mail-qe0-x231.google.com [IPv6:2607:f8b0:400d:c02::231]) by mx1.freebsd.org (Postfix) with ESMTP id 01ADBA29 for ; Mon, 15 Jul 2013 09:13:03 +0000 (UTC) Received: by mail-qe0-f49.google.com with SMTP id cz11so6181444qeb.8 for ; Mon, 15 Jul 2013 02:13:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=IKYVdNHNzRlTO96lg9Gi5kWxu/AhEtJvaU0oVshSzgg=; b=rsZcKLj3Gt3p+0CddOKWrgd478lMn0aTNOqAyQ40m9SJE8sf6V9n2PX8kh/OCTnyGS fvnHGUJf0eReajNHALADM7Zfhzrx3wbIMBQsCAj3J9jLdWS7BG52fLmY1iEh0MgGhvcK vwNKFgninB7qdyBYCRhYxPWDKLSW67CmHKxPg0VTh7OHLRxslmNo7MB+eFxQENsfVW4Z fEZvTdFevmAQs6xaD0H8UnC5Zn6NF7jiOXzXeyYVg/QnEEnYjfkMQACxxCHAyJVDdxcj 5JXyUkkLYJcGfRHcrdlYlKDJNnPBL1DwyRyi0ANpUTy/GxM/iT9Anw2xrzN63oF+/y2R czHA== MIME-Version: 1.0 X-Received: by 10.224.188.74 with SMTP id cz10mr52232016qab.31.1373879583557; Mon, 15 Jul 2013 02:13:03 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.49.0.235 with HTTP; Mon, 15 Jul 2013 02:13:03 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 16:13:03 +0700 X-Google-Sender-Auth: ip4N0cYP1ll-RqKNszqQHejy8H4 Message-ID: Subject: Re: find netmask for offered lease in dhclient code From: Olivier Nicole To: s m Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 09:13:04 -0000 Hi, > i want to change dhclient code and customize it. in order to do that, i > need to know the netmask for offered ip. i see code and found that struct > client_lease *offered_leases, keeps information about offered lease such > as ip address but this structure hasn't any field about netmask. i don't > know how i can find the netmak for this offered ip address. According to wireshark, it's in option t=1, l=4 Olivier > any one has traced dhclient code before? how can i see the netmask for > offered ip? > > thanks in advance, > SAM > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 09:18:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BD8873FE for ; Mon, 15 Jul 2013 09:18:40 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-ob0-f174.google.com (mail-ob0-f174.google.com [209.85.214.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8BC40A8E for ; Mon, 15 Jul 2013 09:18:40 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wd20so13605747obb.19 for ; Mon, 15 Jul 2013 02:18:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=peW4Ty/BFWDbyXVpNTai7HWOTbZg4u0cjNR/pUBi2iQ=; b=cS2CefrikKGdnYjCnoNX8a37qTT2jZ8Cjhityf6njuf7RJXH3r5AyFAB9ym9iItkui ruIX7AVXgFZHW8rvdW6CisJCSu70v8MSH9YzfE2RjVfiPAHG4+XO37fZWSssRXnVBgrI KN5y08/gaCiwOT9ACnTjUiVlkSPIL/b0SIsIYNApk9ebejIRujSFIp+uwHHC8ZqKHhA9 trl1rkaKt4XBHhqiZs8nhUl1O23letnjRZ1rDydlf5g+uQyqZrhSGVxQuhx0XEcpp4Wu nTT67dSdiJjS8F7u+Xw+ozutXUXjvgAhNjDHYegfnOxyGHUFVGWdd9ddDrSshC/tC9Db UJ1g== MIME-Version: 1.0 X-Received: by 10.182.33.103 with SMTP id q7mr43046210obi.77.1373879914029; Mon, 15 Jul 2013 02:18:34 -0700 (PDT) Received: by 10.182.144.226 with HTTP; Mon, 15 Jul 2013 02:18:33 -0700 (PDT) X-Originating-IP: [101.175.139.248] In-Reply-To: References: Date: Mon, 15 Jul 2013 19:18:33 +1000 Message-ID: Subject: Re: Re-add lost device entries without a reboot; troubleshoot RAID card From: Jason Birch To: "freebsd-questions@freebsd.org" X-Gm-Message-State: ALoCoQkweeTP6jw7s8/tPK21dLNPIBz4XdgPOrOVhTb3zcQDGrYkpPfZA9tZKk+kmrawU5oiIpZG Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 09:18:40 -0000 On Sun, Jul 14, 2013 at 9:38 PM, Jason Birch wrote: > I have several hard drives running through an M1015 flashed to think it's > an LSI 9211-8i IT. I've been running them successfully for the last three > months through mps(4) as part of a raidz pool, but had the pool drop to a > degraded state when /dev/da0 (and associated gpt device) disappeared after > some apparent errors. > > After a reboot, I noticed that the disk that disappeared - da0 - was > successfully probed and resilvered back in to the existing pool. I ran a > short SMART self test and everything was fine. I ran a long SMART self test > and the drive disappeared again towards the end of the scan (I didn't get a > chance to view the results) > > I'd like to know if there's a way to suggest to 're-probe' connections to > see if there are any devices that can be reconnected. It's clear that the > drive is still around and at least partially responsive - is there a way I > can online this disk, as just a device in its own right, such that I can > finishing running the SMART diagnostics? > > I've read some old mentions of mps not being the most stable thing under > load, but the mentions are over a year old. The initial failure happened > right at the time the daily periodic was running (Which includes a check > for negative permissions on the zfs partition) and the second failure was > during a SMART long test, so I guess there's potential for "load" there. > How might I go about diagnosing whether this is just the drive or possibly > the card itself? I suppose the obvious "Move it off the raid card" is > probably a good first start... > > $ uname -a > FreeBSD blackfyre 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 > 11:42:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > dmesg output when things started going south the first time: > > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 > 5a ca e4 98 0 0 8 0 length 4096 SMID 563 terminated ioc 804b scsi 0 state c > xfer 0 > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 > 23 55 ec 58 0 0 8 0 length 4096 SMID 557 terminated ioc 804b scsi 0 state c > xfer 0 > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 > 5a d7 a7 f8 0 0 8 0 length 4096 SMID 889 terminated ioc 804b scsi 0 state c > xfer 0 > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 > 23 55 ec 60 0 0 8 0 length 4096 SMID 61 terminated ioc 804b scsi 0 state c > xfer 0 > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 > 23 55 ec 60 0 0 8 0 > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI > Status Error > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check > Condition > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT > ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) > Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per > sense data) > Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 > 23 55 ec a0 0 0 8 0 > Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI > Status Error > Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check > Condition > Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT > ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred) > Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per > sense data) > > Device picked up again on restart: > > Jul 14 15:04:15 blackfyre kernel: da0 at mps0 bus 0 scbus0 target 0 lun 0 > Jul 14 15:04:15 blackfyre kernel: da0: Fixed > Direct Access SCSI-6 device > Jul 14 15:04:15 blackfyre kernel: da0: 600.000MB/s transfers > Jul 14 15:04:15 blackfyre kernel: da0: Command Queueing enabled > Jul 14 15:04:15 blackfyre kernel: da0: 2861588MB (5860533168 512 byte > sectors: 255H 63S/T 364801C) > > Device going south a second time: > > Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d > 7d 76 10 0 0 38 0 > Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI > Status Error > Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check > Condition > Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED > COMMAND asc:47,3 (Information unit iuCRC error detected) > Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per > sense data) > Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d > 94 b8 20 0 0 38 0 > Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI > Status Error > Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check > Condition > Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED > COMMAND asc:47,3 (Information unit iuCRC error detected) > Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per > sense data) > > > Culminating in the device being removed from /dev/: > > Jul 14 18:39:17 blackfyre kernel: (noperiph:mps0:0:0:0): SMID 3 finished > recovery after aborting TaskMID 667 > Jul 14 18:39:17 blackfyre kernel: mps0: mpssas_free_tm releasing simq > Jul 14 18:39:22 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: > 0 0 0 0 0 0 length 0 SMID 969 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:39:25 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: > 0 0 0 0 0 0 length 0 SMID 774 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:39:29 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: > 0 0 0 0 0 0 length 0 SMID 880 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:39:33 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: > 0 0 0 0 0 0 length 0 SMID 722 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:39:33 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: > 0 0 0 0 0 0 length 0 SMID 244 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:39:37 blackfyre kernel: (da0:mps0:0:0:0): TEST UNIT READY. CDB: > 0 0 0 0 0 0 length 0 SMID 911 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:40:02 blackfyre kernel: mps0: mpssas_alloc_tm freezing simq > Jul 14 18:40:02 blackfyre kernel: mps0: mpssas_remove_complete on handle > 0x0009, IOCStatus= 0x0 > Jul 14 18:40:02 blackfyre kernel: mps0: mpssas_free_tm releasing simq > Jul 14 18:40:02 blackfyre kernel: (da0:(pass0:mps0:0:0:mps0:0:0): lost > device - 3 outstanding, 2 refs > Jul 14 18:40:02 blackfyre kernel: 0:0): passdevgonecb: devfs entry is gone > Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): oustanding 2 > Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): oustanding 1 > Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): oustanding 0 > Jul 14 18:40:02 blackfyre kernel: (da0:mps0:0:0:0): removing device entry > Jul 14 18:40:34 blackfyre kernel: mpssas_get_sata_identify: error reading > SATA PASSTHRU; iocstatus = 0x804b > Jul 14 18:40:34 blackfyre last message repeated 4 times > Jul 14 18:40:34 blackfyre kernel: _mapping_get_dev_info: failed to compute > the hashed SAS Address for SATA device with handle 0x0009 > Jul 14 18:40:34 blackfyre kernel: mpssas_get_sata_identify: error reading > SATA PASSTHRU; iocstatus = 0x804b > Jul 14 18:40:34 blackfyre last message repeated 4 times > Jul 14 18:41:10 blackfyre kernel: mps0: mpssas_alloc_tm freezing simq > Jul 14 18:41:12 blackfyre kernel: (probe0:mps0:0:6:0): INQUIRY. CDB: 12 0 > 0 0 24 0 length 36 SMID 75 terminated ioc 804b scsi 0 state c xfer 0 > Jul 14 18:41:12 blackfyre kernel: mps0: IOCStatus = 0x4b while resetting > device 0x9 > Jul 14 18:41:12 blackfyre kernel: mps0: mpssas_free_tm releasing simq > > I should note that `camcontrol rescan 0` (Or `camcontrol rescan all`) won't find da0. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 09:28:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2585E93B for ; Mon, 15 Jul 2013 09:28:37 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) by mx1.freebsd.org (Postfix) with ESMTP id A42C5B24 for ; Mon, 15 Jul 2013 09:28:36 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id w20so9211589lbh.10 for ; Mon, 15 Jul 2013 02:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xi/s64ueuH8h5U9vR0R+3xuKL6yrZ5BZXkwhnpFu6Do=; b=jDv5lvxENrTCNr8770MCRvaxdIniAHT9SWGryqkp+z8mIsOGQdVZd+836Ie1kE6gE/ 7vJpz+eLh3ez5MXH8pMRGGeeESYBO/Z0qBHxIoQuKEp4JNyiCF3YnEcuweAvTwFzVBED 8t+vXHcbMTzwRprdUVaebdLFOksZKR3aIG8O8TjDM5+ReHGGOPA0il+3Txkv7t0srQGq 2iZ+VJIZX5CV5uuOmY+wCiherhqmzavft13evHpFTzhO/oNf348vj3qYJUIG3bzPs3qu 36pjYA+HmeGV5R19yo5fnIhYwtJqo814+M/sKXK1LhzmGU9mnK8HISR2l2DHEaSTwr+t 3/TA== X-Received: by 10.112.55.104 with SMTP id r8mr23680399lbp.49.1373880515520; Mon, 15 Jul 2013 02:28:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.76.39 with HTTP; Mon, 15 Jul 2013 02:27:55 -0700 (PDT) In-Reply-To: References: From: saeedeh motlagh Date: Mon, 15 Jul 2013 13:57:55 +0430 Message-ID: Subject: Re: find netmask for offered lease in dhclient code To: Olivier Nicole Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 09:28:37 -0000 thanks Olivier, but may i ask you to explain it more? i have seen that there is a struct option_data in offered_lease in code but when these options set, how can i see the netmask value? where is it kept? On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole wrote: > Hi, > > > i want to change dhclient code and customize it. in order to do that, i > > need to know the netmask for offered ip. i see code and found that struct > > client_lease *offered_leases, keeps information about offered lease such > > as ip address but this structure hasn't any field about netmask. i don't > > know how i can find the netmak for this offered ip address. > > According to wireshark, it's in option t=1, l=4 > > Olivier > > > any one has traced dhclient code before? how can i see the netmask for > > offered ip? > > > > thanks in advance, > > SAM > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- *Sa.M* From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 09:34:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1455BA59 for ; Mon, 15 Jul 2013 09:34:08 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id CFF5CB6B for ; Mon, 15 Jul 2013 09:34:07 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id e10so6216185qcy.27 for ; Mon, 15 Jul 2013 02:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zfXzsZBvs1Dd22Et+T7ihuQpQMbzA27XyQMLh9e7TjM=; b=NQaDMjoqhUDQPoNl+7dmYGyYSHcP1/0tp/5A11ay2+ekpPdWYt1P4SG5McO9isRBQt ppbdfbMZbqmfduHRgOjZt2IHIng5gJpCBXHP3F+717l56vShKmG/VeEa1/67lqtOIQJY ktNVvPjteANwxHT6fcKff8ttqDynttQhgFpTdB+I25VoG1I1NcgmxbXAh1jHFDFN2tLw KERhrZMV/ByBy2qQSdgmEJKS2kYCHx27MWCnNRWO1p/JJzFGb+jA7+6XhkRb68NbbI9H YsO41itWSQI2f0AuCssYc88WFPbBj2N4GQgzlwrFLq2snNrh9UtbVLX1hwyD9VZyBC9s bcLg== MIME-Version: 1.0 X-Received: by 10.49.14.161 with SMTP id q1mr49285378qec.50.1373880847344; Mon, 15 Jul 2013 02:34:07 -0700 (PDT) Received: by 10.49.0.235 with HTTP; Mon, 15 Jul 2013 02:34:07 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 16:34:07 +0700 Message-ID: Subject: Re: find netmask for offered lease in dhclient code From: Olivier Nicole To: saeedeh motlagh Content-Type: text/plain; charset=ISO-8859-1 Cc: Olivier Nicole , s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 09:34:08 -0000 > thanks Olivier, but may i ask you to explain it more? i have seen that > there is a struct option_data in offered_lease in code but when these > options set, how can i see the netmask value? where is it kept? Well, I am afraid I have no more explanation, I just did a dhcp renew while running wireshark and check the contents of the dialog. I could see that in the DHCP offer, there is an option field with holds the netmask. I did not dig any further. Olivier > > > On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole > wrote: > >> Hi, >> >> > i want to change dhclient code and customize it. in order to do that, i >> > need to know the netmask for offered ip. i see code and found that struct >> > client_lease *offered_leases, keeps information about offered lease such >> > as ip address but this structure hasn't any field about netmask. i don't >> > know how i can find the netmak for this offered ip address. >> >> According to wireshark, it's in option t=1, l=4 >> >> Olivier >> >> > any one has traced dhclient code before? how can i see the netmask for >> > offered ip? >> > >> > thanks in advance, >> > SAM >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > *Sa.M* > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 09:42:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E73EDD7E for ; Mon, 15 Jul 2013 09:42:48 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 6F1E7BBB for ; Mon, 15 Jul 2013 09:42:48 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id eb20so9310549lab.1 for ; Mon, 15 Jul 2013 02:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ag3oRdx/AcREOqSNjwskyfBIPWGf7y/e7NbS+kvNH3o=; b=u3L3ZtPWFhnhXlwTv41MRW+uS3PqR617eNFhf4sddRPQYpmTM9182p0sCg0mcZM4JG ZOMocMoCpVdcqQ6RT085u5stGdWrV1pfwgkngV95ESzje3mv8xfJmUZQY9nP0eiY6sFH 95+/t7n7/MhxkSeJlKPFAmbA2A4vT1bPbTyhBCpB9NvVDA0bFH8UR5czeTH0Z6BvMASz mEBYwXABGMR5pMayhDpc2rp2rfgUe2WNfDR8RXYqO+BanxnB3jPByMId4nZ9HWo9CXeG QUHvK9g0ivixUQcgkCxt91nHRsHo4qywqqnCoCAc2XZZetfkwoWKwl//E3CA8oso+q95 jpDQ== MIME-Version: 1.0 X-Received: by 10.152.27.169 with SMTP id u9mr23818063lag.8.1373881367275; Mon, 15 Jul 2013 02:42:47 -0700 (PDT) Received: by 10.112.67.135 with HTTP; Mon, 15 Jul 2013 02:42:47 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Jul 2013 14:12:47 +0430 Message-ID: Subject: Re: find netmask for offered lease in dhclient code From: s m To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Olivier Nicole , saeedeh motlagh , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 09:42:49 -0000 thank you so much. it is a hint for me to search more in code. i hope to find something. On Mon, Jul 15, 2013 at 2:04 PM, Olivier Nicole wrote: > > thanks Olivier, but may i ask you to explain it more? i have seen that > > there is a struct option_data in offered_lease in code but when these > > options set, how can i see the netmask value? where is it kept? > > Well, I am afraid I have no more explanation, I just did a dhcp renew > while running wireshark and check the contents of the dialog. I could > see that in the DHCP offer, there is an option field with holds the > netmask. I did not dig any further. > > Olivier > > > > > > > On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole < > olivier.nicole@cs.ait.ac.th > >> wrote: > > > >> Hi, > >> > >> > i want to change dhclient code and customize it. in order to do that, > i > >> > need to know the netmask for offered ip. i see code and found that > struct > >> > client_lease *offered_leases, keeps information about offered lease > such > >> > as ip address but this structure hasn't any field about netmask. i > don't > >> > know how i can find the netmak for this offered ip address. > >> > >> According to wireshark, it's in option t=1, l=4 > >> > >> Olivier > >> > >> > any one has traced dhclient code before? how can i see the netmask for > >> > offered ip? > >> > > >> > thanks in advance, > >> > SAM > >> > _______________________________________________ > >> > freebsd-questions@freebsd.org mailing list > >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> > To unsubscribe, send any mail to " > >> freebsd-questions-unsubscribe@freebsd.org" > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to " > >> freebsd-questions-unsubscribe@freebsd.org" > >> > > > > > > > > -- > > *Sa.M* > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 10:58:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E711EC78 for ; Mon, 15 Jul 2013 10:58:00 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45]) by mx1.freebsd.org (Postfix) with ESMTP id B5B70F08 for ; Mon, 15 Jul 2013 10:58:00 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j1so15296626oag.4 for ; Mon, 15 Jul 2013 03:57:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=dGuYvPsY2l8M4G4Qrm0RtNk0oFlsQpUdPU9JzejEl+Y=; b=fzQLMWV40Ec3qhxJpvW0cngE2+V5CS9azWwlkOZosGfX+XD25I+FochuFmeHJPMtf9 4zTXA7NQxrsnr9xQppxTGBf+XRU7xQM8FKIeZptCJSDX9QWpwNNZbdn0iTvOnKL6n4zc /BLVoGy7P9htUalsdt4q3vehFu9rmh3DRHBGDi6vwQ5AKKQFt4C/7En9qgIF/ZTpnki+ AsG6l7kSfjAxJdJXfyqIu+Evl5rsZEb8rIRwuyrw6bJ8rmkt7Rh5m4YO9cJmWCJDcPCH /8/VtyM03T2xXIsAgxLCOF4X0yMX1TULu4oVxIZ2tqpf2h69n7wxUoMHhPTVZr/CakqX Z/Kw== MIME-Version: 1.0 X-Received: by 10.60.79.3 with SMTP id f3mr43150415oex.50.1373885874548; Mon, 15 Jul 2013 03:57:54 -0700 (PDT) Received: by 10.182.144.226 with HTTP; Mon, 15 Jul 2013 03:57:54 -0700 (PDT) X-Originating-IP: [101.175.139.248] In-Reply-To: References: Date: Mon, 15 Jul 2013 20:57:54 +1000 Message-ID: Subject: Re: Re-add lost device entries without a reboot; troubleshoot RAID card From: Jason Birch To: "freebsd-questions@freebsd.org" X-Gm-Message-State: ALoCoQl/CcQRrjXEqbrSpJshVsREV3Qjcc3MvM2c68ewvJG9TezJasHE8NXUtS7rALWV3rg6ZkQk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 10:58:01 -0000 On Mon, Jul 15, 2013 at 7:18 PM, Jason Birch wrote: > > I should note that `camcontrol rescan 0` (Or `camcontrol rescan all`) > won't find da0. > For those who stumble upon this thread later looking for answers, I'm almost certain the problem I'm seeing is the same as described in http://forums.freebsd.org/showthread.php?t=28252. I'm going to work through some of that to see if I can fix my problem. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 12:10:46 2013 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3BED3606 for ; Mon, 15 Jul 2013 12:10:46 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id 182BC6EE for ; Mon, 15 Jul 2013 12:10:45 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by 28amen.org (8.14.5/8.13.6) with ESMTP id r6FCAXXq024212 for ; Mon, 15 Jul 2013 12:10:44 GMT Message-ID: <51E3E6B9.2030100@robinlea.com> Date: Mon, 15 Jul 2013 19:10:33 +0700 From: john francis lee User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: questions@FreeBSD.org Subject: WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 12:10:46 -0000 2.2.1.2. FreeBSD/amd64 There are two classes of processors capable of running FreeBSD/amd64. The first are AMD64 processors, including the AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors. The second class of processors that can use FreeBSD/amd64 includes those using the Intel® EM64T architecture. Examples of these processors include the Intel® Core™ 2 Duo, Quad, Extreme processor families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of processors, and the Intel® Core™ i3, i5 and i7 processors. /If you have a machine based on an nVidia nForce3 Pro-150, you ///must///use the BIOS setup to disable the IO APIC. If you do not have an option to do this, you will likely have to disable ACPI instead. There are bugs in the Pro-150 chipset for which we have not yet found a workaround./ I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 6100/nForce 430 chipset. Is that OK? Thanks. Answer : It seems to be OK. I downloaded the release 10 memstick image, put it on a memstick, booted from, ran it as a live cd and it worked OK. I looked at the messages and there were no complaints about ACPI. There was a WARNING : WITNESS option enabled, expect reduced performance. Don't know what that meant. So I downloaded a 9.1 iso and ... actually I had one I'd downloaded in March, i386, and tried to install that in a Virtual box under ubuntu. The installation seemed OK ... but I looked up and it was rebooting. It ran the installation again and I watched ... to see it drop out at the 3rd screen with a % of files installed. I'll try and download the 10.0 iso image, since it worked from the memstick. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 14:41:37 2013 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1AED833D for ; Mon, 15 Jul 2013 14:41:37 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id D7128F17 for ; Mon, 15 Jul 2013 14:41:36 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by 28amen.org (8.14.5/8.13.6) with ESMTP id r6FEfWRN054304 for ; Mon, 15 Jul 2013 14:41:34 GMT Message-ID: <51E40A1C.4060804@robinlea.com> Date: Mon, 15 Jul 2013 21:41:33 +0700 From: john francis lee User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: questions@FreeBSD.org Subject: Fwd: WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly References: <51E3E6B9.2030100@robinlea.com> In-Reply-To: <51E3E6B9.2030100@robinlea.com> X-Forwarded-Message-Id: <51E3E6B9.2030100@robinlea.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 14:41:37 -0000 That did it! Looks good now. The 10.0 installation completed ... but I forgot to umount the iso image, so the installation was offered again. I 'forcibly' unmounted the iso image, as Virtual Box put it, and booted again. Looks good. Thanks ! No I'll try to add X and some ports. -------- Original Message -------- Subject: WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly Date: Mon, 15 Jul 2013 19:10:33 +0700 From: john francis lee To: questions@FreeBSD.org 2.2.1.2. FreeBSD/amd64 There are two classes of processors capable of running FreeBSD/amd64. The first are AMD64 processors, including the AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors. The second class of processors that can use FreeBSD/amd64 includes those using the Intel® EM64T architecture. Examples of these processors include the Intel® Core™ 2 Duo, Quad, Extreme processor families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of processors, and the Intel® Core™ i3, i5 and i7 processors. /If you have a machine based on an nVidia nForce3 Pro-150, you ///must///use the BIOS setup to disable the IO APIC. If you do not have an option to do this, you will likely have to disable ACPI instead. There are bugs in the Pro-150 chipset for which we have not yet found a workaround./ I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 6100/nForce 430 chipset. Is that OK? Thanks. Answer : It seems to be OK. I downloaded the release 10 memstick image, put it on a memstick, booted from, ran it as a live cd and it worked OK. I looked at the messages and there were no complaints about ACPI. There was a WARNING : WITNESS option enabled, expect reduced performance. Don't know what that meant. So I downloaded a 9.1 iso and ... actually I had one I'd downloaded in March, i386, and tried to install that in a Virtual box under ubuntu. The installation seemed OK ... but I looked up and it was rebooting. It ran the installation again and I watched ... to see it drop out at the 3rd screen with a % of files installed. I'll try and download the 10.0 iso image, since it worked from the memstick. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 17:04:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 010F96E2 for ; Mon, 15 Jul 2013 17:04:42 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id AED03B67 for ; Mon, 15 Jul 2013 17:04:42 +0000 (UTC) Received: (qmail 59875 invoked from network); 15 Jul 2013 17:46:24 -0000 Received: from pool-71-167-229-123.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.229.123) by 199.4.235.5 with SMTP; 15 Jul 2013 17:46:24 -0000 Received: (qmail 2572 invoked by uid 103); 15 Jul 2013 16:23:26 -0000 Date: 15 Jul 2013 16:23:26 -0000 Message-ID: <20130715162326.2571.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org Subject: Adding another mirror to existing ZFS-root mirror? References: <20130629162457.95950.qmail@irelay.ssr.com> <20130629191109.cd9444c9.freebsd@edvax.de> <20130629202823.97250.qmail@irelay.ssr.com> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 17:04:43 -0000 Hi, I have the current situation: sdb@gigawattmomma$ zpool status zroot NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gpt/disk0 ONLINE 0 0 0 gpt/disk1 ONLINE 0 0 0 I boot directly from this. This article from Oracle: http://docs.oracle.com/cd/E19253-01/819-5461/gazgw/index.html implies I can add two more disks to the zroot pool with a zpool add zroot mirror disk2 disk3 to get zroot mirror-0 gpt/disk0 gpt/disk1 mirror-1 gpt/disk2 gpt/disk3 My questions: 1) Will booting still work? What do I need to do to make sure I can still boot up the system? Perhaps related: 2) How do I use gpart to prep these disks? The current mirror has the usual three partitions (freebsd-boot, freebsd-swap and freebsd-zfs), with boot code installed, obviously. Do I need to do that with the second mirror, or can I just use the whole thing for a freebsd-zfs filesystem? Sorry this was a bit long. Thanks in advance for any help. Best, Scott -- sdb@ssr.com From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 17:39:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFC3BB1F for ; Mon, 15 Jul 2013 17:39:01 +0000 (UTC) (envelope-from riesebie@lxtec.de) Received: from mailout3.hostsharing.net (mailout3.hostsharing.net [176.9.242.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A389CCE for ; Mon, 15 Jul 2013 17:39:01 +0000 (UTC) Received: from h06.hostsharing.net (h06.hostsharing.net [83.223.95.25]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout3.hostsharing.net (Postfix) with ESMTPS id 9B49470A6C for ; Mon, 15 Jul 2013 19:30:01 +0200 (CEST) Received: from mail.home.lxtec.de (HSI-KBW-46-223-54-203.hsi.kabel-badenwuerttemberg.de [46.223.54.203]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by h06.hostsharing.net (Postfix) with ESMTPSA id ACF8310B560F3 for ; Mon, 15 Jul 2013 19:29:59 +0200 (CEST) Received: from localhost ([127.0.0.1]) by mail.home.lxtec.de with esmtp (Exim 4.80 3 (LXTEC)) id 1Uymb2-00024m-Jc for ; Mon, 15 Jul 2013 19:30:00 +0200 X-Virus-Scanned: Debian amavisd-new at mail.home.lxtec.de Received: from mail.home.lxtec.de ([127.0.0.1]) by localhost (mail.home.lxtec.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j-wmCH3j62AS for ; Mon, 15 Jul 2013 19:29:42 +0200 (CEST) Received: from riesebie by mail.home.lxtec.de with local (Exim 4.80 3 (LXTEC)) id 1Uymak-00024R-KE for ; Mon, 15 Jul 2013 19:29:42 +0200 Date: Mon, 15 Jul 2013 19:29:42 +0200 From: Elimar Riesebieter To: freebsd-questions Subject: Firefox and nfs-home Message-ID: <20130715172942.GA7062@baumbart.home.lxtec.de> Mail-Followup-To: freebsd-questions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Organization: LXTEC User-Agent: Mutt/1.5.21+lxtec (2010-09-15) Sender: Elimar Riesebieter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 17:39:01 -0000 Hi, my setup: NFSv3 Server running linux /etc/exports: /export/users 192.168.200.0/24(rw,no_root_squash,sync,no_subtree_check,ins= ecure) FreeBSD 9.1 client /etc/fstab: server:/export/users /home/users nfs\ rw,tcp,nfsv3,hard,intr,rsize=3D32768,wsize=3D32768 0 0 /etc/rc.conf: #rpcbind_enable=3D"YES" #rpc_lockd_enable=3D"YES" #rpc_statd_enable=3D"YES" nfs_client_enable=3D"YES" nfs_client_flags=3D"-n 4" Firefox starts but no bookmarks, history, .... With rpc_lockd_enable=3D"YES" Firefox dosn't come up after 5 minutes With nolockd mountoption: Firefox dosn't come up after 5 minutes Can someone please enlighten me? Thanks Elimar --=20 >what IMHO then? IMHO - Inhalation of a Multi-leafed Herbal Opiate ;) --posting from alex in debian-user-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 19:08:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9721522 for ; Mon, 15 Jul 2013 19:08:53 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id 874E319E for ; Mon, 15 Jul 2013 19:08:53 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3bvDmh2t4Nz1DRc for ; Mon, 15 Jul 2013 15:08:52 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id 3bvDmg385hz1nYm for ; Mon, 15 Jul 2013 15:08:51 -0400 (EDT) Message-ID: <201307151508490269.006D6A67@smtp.24cl.home> In-Reply-To: <201307141145100081.00DCC832@smtp.24cl.home> References: <201307141145100081.00DCC832@smtp.24cl.home> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Mon, 15 Jul 2013 15:08:49 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: Re: resolvconf.conf in 9.1 Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 19:08:53 -0000 On 7/14/2013 at 11:45 AM Mike. wrote: |I am trying to figure out and understand the config file |resolvconf.conf. The man page is a bit on the sketchy side, and I see |no reference for resolvconf.conf in the Handbook. Most of what google |finds looks like it is Linux-oriented, and that seems to be an entirely |different config structure for resolvconf, i.e., a directory of files |instead of a file of variables. | | |For example, I would like to change the order in which the name servers |appear in resolv.conf. | | |There is one interface (fxp0) that is assigned both IPv4 and IPv6 |addresses. IPv4 uses DHCP to obtain the address and two nameservers. | IPv6 uses rtadvd to obtain the IP address and nameserver (RDNSS). | |The IPv4 nameservers appear before the IPv6 nameserver in resolv.conf, |and I would like the IPv6 nameserver to be first on the resolv.conf |list. | | |What parameter in resolvconf.conf controls the order in which |nameservers are placed in resolv.conf? | |Thanks. ============= I finally solved this. First, I ran resolvconf -l to list the interfaces it knew about. Then I added this line, based upon the interfaces in the above list, to resolvconf.conf: interface_order="fxp0:slaac fxp0" That puts the interface configured via rtadv before the interface configured via dchp, resulting in the IPv6 nameserver coming before the IPv4 nameservers in resolv.conf. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 15 19:57:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D4CE3F37 for ; Mon, 15 Jul 2013 19:57:46 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id B20F57CE for ; Mon, 15 Jul 2013 19:57:46 +0000 (UTC) Received: from 66-189-39-69.dhcp.oxfr.ma.charter.com ([66.189.39.69] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1UyoPN-000CTn-LQ; Mon, 15 Jul 2013 15:26:08 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id B9A0C227C0FE; Mon, 15 Jul 2013 15:26:04 -0400 (EDT) Message-ID: <51E44CCC.3050503@FreeBSD.org> Date: Mon, 15 Jul 2013 15:26:04 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: mexas@bristol.ac.uk References: <201307081048.r68AmOAl015323@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201307081048.r68AmOAl015323@mech-cluster241.men.bris.ac.uk> X-Enigmail-Version: 1.5.1 X-SA-Exim-Connect-IP: 66.189.39.69 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP,URIBL_BLOCKED autolearn=no version=3.3.1 Subject: Re: highest nice(1) -n increment value? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: Anton Shterenlikht , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2013 19:57:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/8/13 6:48 AM, Anton Shterenlikht wrote: > It is not clear from the nice(1) man page, i.e. for /usr/bin/nice, > not a shell built-in nice, what is the highest increment value nice > will accept. > > It seems it is limited to 20. I tried > > $ /usr/bin/nice -n 100 portmaster -a > > But all processes spawned by the portmaster have the nice value of > only 20, as in: > > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU > COMMAND 57586 root 1 52 20 13976K 4720K wait 0:00 > 0.39% sh 52729 root 1 40 20 13976K 4960K wait 0:02 > 0.00% sh 58239 root 1 92 20 35632K 8584K RUN 0:00 > 0.00% pkg 58237 root 1 52 20 9216K 1616K ppwait > 0:00 0.00% make > > The root shell priority was 0. > > So is 20 the upper increment limit? > > Thanks > > Anton Yes, please check the setpriority man page: http://www.freebsd.org/cgi/man.cgi?query=setpriority "The prio argument is a value in the range -20 to 20. The default priority is 0; lower priorities cause more favorable scheduling." Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHkTMwACgkQ0sRouByUApAzQACgvf8VJ8bO6Rld8UmOWRwNexmS 3FoAniQ0bdyu4DtNIXbKoP5ogasvFewk =/u88 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 04:01:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CAC29A4D for ; Tue, 16 Jul 2013 04:01:52 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 9B9ACCB4 for ; Tue, 16 Jul 2013 04:01:52 +0000 (UTC) Received: by mail-ob0-f170.google.com with SMTP id ef5so238156obb.1 for ; Mon, 15 Jul 2013 21:01:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=RA3GOUEyLnWVtyfHSQFdzvasBpazoltUhAF8v3Fd/BA=; b=z8ziHtU8+wEhWDIeRhaGA8DPvBzzNaJWTkA6AIHt4jgBh/P51ZR53WNulqzMlMe5wi JRrONyit5FclDfGw04zZ1h5U7dXac1miVB3O3pRH9GC/3t8LjKrEIvh/jpmPKgBvMDap VWDDuKwroBKNryAEjdOQE6jyG5KWWYXeCf9/IpBivHToaTJF175bDIz/sqOKRFa357/m r/CeEBJR3ZX3JVZPArZApH3fWrMcRoFO59xcWdHprYwg5dX8thm7+7X9UU70FcP2uGkc enAy/U+6GBgLtdVu9S6op+WowsFI2z/AropP7swrSLO4gxItAXa7ZK4qyuAxKfxBgbNA F06g== X-Received: by 10.60.97.1 with SMTP id dw1mr11930439oeb.1.1373947312105; Mon, 15 Jul 2013 21:01:52 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id mq1sm71327796obb.14.2013.07.15.21.01.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jul 2013 21:01:50 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: to gmirror or to ZFS Date: Mon, 15 Jul 2013 21:01:47 -0700 Message-Id: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 04:01:52 -0000 ... thats the question :) At any rate, I'm building a rather large 100+TB NAS using ZFS. However for my OS, should I also ZFS or simply gmirror as I've a = dedicated pair of 256GB SSD drives for it. I didn't ask for SSD sys = drives, this system just came with em. This is more of a best practices q. Thanks in advance, - aurf= From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 04:23:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 85CB3D16 for ; Tue, 16 Jul 2013 04:23:52 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 4B84AD51 for ; Tue, 16 Jul 2013 04:23:52 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6G4Npm2075800; Mon, 15 Jul 2013 22:23:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6G4NpWN075797; Mon, 15 Jul 2013 22:23:51 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 15 Jul 2013 22:23:51 -0600 (MDT) From: Warren Block To: aurfalien Subject: Re: to gmirror or to ZFS In-Reply-To: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> Message-ID: References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 15 Jul 2013 22:23:51 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 04:23:52 -0000 On Mon, 15 Jul 2013, aurfalien wrote: > ... thats the question :) > > At any rate, I'm building a rather large 100+TB NAS using ZFS. > > However for my OS, should I also ZFS or simply gmirror as I've a dedicated pair of 256GB SSD drives for it. I didn't ask for SSD sys drives, this system just came with em. > > This is more of a best practices q. ZFS has data integrity checking, gmirror has low RAM overhead. gmirror is, at present, restricted to MBR partitioning due to metadata conflicts with GPT, so 2TB is the maximum size. Best practices... depends on your use. gmirror for the system leaves more RAM for ZFS. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 05:11:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 148CD2F3 for ; Tue, 16 Jul 2013 05:11:21 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-oa0-x22b.google.com (mail-oa0-x22b.google.com [IPv6:2607:f8b0:4003:c02::22b]) by mx1.freebsd.org (Postfix) with ESMTP id D65F9E71 for ; Tue, 16 Jul 2013 05:11:20 +0000 (UTC) Received: by mail-oa0-f43.google.com with SMTP id i7so305437oag.16 for ; Mon, 15 Jul 2013 22:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=yY2XjnigAaVZw0qVykfEn4NjBz1sThv7w0OOpD6fGZ0=; b=XU/SjXUHK47uGHdl21nUrh5MHhfKGwkd80ovhhHo0o4pyQ7xGDiXPnFiJPddUHoFKW 2DU2GjWhHoFtu3VIjIfxiPfm7+SHH5Z9yuVBQQzqKdBvNjFYk6Wnoq54g0Pd/K9bQDwd rtZjhJiK3KNrw3K8SZRIu17uL6NAYMjVqn2iel3CWkeNy4uJY1MBfIj4HhNhoHPWInId xCgXRTzTdggLUbLtSZAG6XghAefAydTmWwNv7kUkWVbYkt7h1zLpbl3yMj2oRuAIwGac 4EkdbJZuk6W3gxOwtfPhX7Xmtg0r6JkikZ/MW74OZpDuvQpOWLm3q0aoGZLU8hcUNTm0 oo4w== X-Received: by 10.60.39.193 with SMTP id r1mr46197194oek.40.1373951480503; Mon, 15 Jul 2013 22:11:20 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id r4sm73158864oem.3.2013.07.15.22.11.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jul 2013 22:11:19 -0700 (PDT) Subject: Re: to gmirror or to ZFS Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Mon, 15 Jul 2013 22:11:16 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> To: Warren Block X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 05:11:21 -0000 On Jul 15, 2013, at 9:23 PM, Warren Block wrote: > On Mon, 15 Jul 2013, aurfalien wrote: >=20 >> ... thats the question :) >>=20 >> At any rate, I'm building a rather large 100+TB NAS using ZFS. >>=20 >> However for my OS, should I also ZFS or simply gmirror as I've a = dedicated pair of 256GB SSD drives for it. I didn't ask for SSD sys = drives, this system just came with em. >>=20 >> This is more of a best practices q. >=20 > ZFS has data integrity checking, gmirror has low RAM overhead. = gmirror is, at present, restricted to MBR partitioning due to metadata = conflicts with GPT, so 2TB is the maximum size. >=20 > Best practices... depends on your use. gmirror for the system leaves = more RAM for ZFS. Perfect, thanks Warren. Just what I was looking for. - aurf From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 07:37:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7E303232 for ; Tue, 16 Jul 2013 07:37:32 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog122.obsmtp.com (eu1sys200aog122.obsmtp.com [207.126.144.153]) by mx1.freebsd.org (Postfix) with ESMTP id DE70D34A for ; Tue, 16 Jul 2013 07:37:31 +0000 (UTC) Received: from mail-wg0-f45.google.com ([74.125.82.45]) (using TLSv1) by eu1sys200aob122.postini.com ([207.126.147.11]) with SMTP ID DSNKUeT4IXl3ZH/TlZx5PBhJwqlP4zNDa5ab@postini.com; Tue, 16 Jul 2013 07:37:31 UTC Received: by mail-wg0-f45.google.com with SMTP id j13so289742wgh.24 for ; Tue, 16 Jul 2013 00:37:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:reply-to:x-gm-message-state; bh=ewDAKdzhnTYM4vQWzGsKZsPjkqNdfbuyMf2/LShyONg=; b=hKMIsWfuvRrXoQrqZjKsoQybX/n3CBFnGOs6jX/7gBTXVL1a/2452IUmLIteQIOa42 n6tLfD+FZIvh7umXulMastLcmAH6xtNFwLi2RtHg5UrzvGpBisP3OBSSn0YOnN+8iFn8 xLWSU0TsMxUNpBYkf5iqSN4fp6qCrnjPhE/x3Jpg6il7IM9QM89L+Bk/Y0fDPWhDbcMm 5lSbeqvE7eRkUEB7IM51Us6yk0R/oywxSLIIhZweCd4fmId5IZ7OxzohgKVT97Ga2Qzh YRiU5REDpvVqakf11vd/IvdWcs5oIfS1HhVySMEN0pKcVYlWZ9msdfd6LARNNmSOfcnT G9OQ== X-Received: by 10.180.83.68 with SMTP id o4mr11535203wiy.5.1373960224976; Tue, 16 Jul 2013 00:37:04 -0700 (PDT) X-Received: by 10.180.83.68 with SMTP id o4mr11535196wiy.5.1373960224853; Tue, 16 Jul 2013 00:37:04 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id u9sm390032wif.6.2013.07.16.00.37.02 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 00:37:03 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r6G7b1su069412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 16 Jul 2013 08:37:01 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r6G7b1Zq069411 for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 08:37:01 +0100 (BST) (envelope-from mexas) Date: Tue, 16 Jul 2013 08:37:01 +0100 (BST) From: Anton Shterenlikht Message-Id: <201307160737.r6G7b1Zq069411@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: tor browser? X-Gm-Message-State: ALoCoQniF15aPYMNXJrCPL4ec/26ZYvBxGNGgeP/9r0m+1Ae/bbmUwL2J0neTdSxW9zbAxloq2mCo8qZiXKH8AncSLFZRDjLTwy97OI9s9uQwPyRWk9bCtEq1ePbjUtdHZWlYwztB85K9J4l7dI3wW4VAnJCUTp1jQF1rJ5trRr5CjpqNkdqD+157BjGpmd8RiJn3JvqVVOa X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 07:37:32 -0000 Anybody is using the "Tor Browser"? I started using security/tor. In addition to this, the tor folk insist on using the tor browser: https://www.torproject.org/download/download#warning which is a part of the tor bundle: https://www.torproject.org/projects/torbrowser-details.html.en#build Now, this tor browser seems to be a patched firefox. There is no port for it, and my previous experience of building firefox outside ports was not good. So I was wondering if anybody has built or used hte tor browser? Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 09:42:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0695DA0D for ; Tue, 16 Jul 2013 09:42:03 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 7194FA8D for ; Tue, 16 Jul 2013 09:42:02 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 16 Jul 2013 19:11:48 +0930 Message-ID: <51E51558.50302@ShaneWare.Biz> Date: Tue, 16 Jul 2013 19:11:44 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: aurfalien Subject: Re: to gmirror or to ZFS References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> In-Reply-To: <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 09:42:03 -0000 On 16/07/2013 14:41, aurfalien wrote: > > On Jul 15, 2013, at 9:23 PM, Warren Block wrote: > >> On Mon, 15 Jul 2013, aurfalien wrote: >> >>> ... thats the question :) >>> >>> At any rate, I'm building a rather large 100+TB NAS using ZFS. >>> >>> However for my OS, should I also ZFS or simply gmirror as I've a >>> dedicated pair of 256GB SSD drives for it. I didn't ask for SSD >>> sys drives, this system just came with em. >>> >>> This is more of a best practices q. >> >> ZFS has data integrity checking, gmirror has low RAM overhead. >> gmirror is, at present, restricted to MBR partitioning due to >> metadata conflicts with GPT, so 2TB is the maximum size. >> >> Best practices... depends on your use. gmirror for the system >> leaves more RAM for ZFS. > > Perfect, thanks Warren. > > Just what I was looking for. I doubt that you would save any ram having the os on a non-zfs drive as you will already be using zfs chances are that non-zfs drives would only increase ram usage by adding a second cache. zfs uses it's own cache system and isn't going to share it's cache with other system managed drives. I'm not actually certain if the system cache still sits above zfs cache or not, I think I read it bypasses the traditional drive cache. For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max that is a system wide setting and isn't going to increase if you have two zpools. Tip: set the arc_max value - by default zfs will use all physical ram for cache, set it to be sure you have enough ram left for any services you want running. Have you considered using one or both SSD drives with zfs? They can be added as cache or log devices to help performance. See man zpool under Intent Log and Cache Devices. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 10:34:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EF6D81A5 for ; Tue, 16 Jul 2013 10:34:06 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 66DD7CA0 for ; Tue, 16 Jul 2013 10:34:06 +0000 (UTC) Received: from [192.168.1.35] (mux.fjl.org.uk [62.3.120.246]) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r6GAXwRZ080493 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 16 Jul 2013 11:33:59 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <51E52190.7020008@fjl.co.uk> Date: Tue, 16 Jul 2013 11:33:52 +0100 From: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: to gmirror or to ZFS References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> In-Reply-To: <51E51558.50302@ShaneWare.Biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:34:07 -0000 On 16/07/2013 10:41, Shane Ambler wrote: > On 16/07/2013 14:41, aurfalien wrote: >> >> On Jul 15, 2013, at 9:23 PM, Warren Block wrote: >> >>> On Mon, 15 Jul 2013, aurfalien wrote: >>> >>>> ... thats the question :) >>>> >>>> At any rate, I'm building a rather large 100+TB NAS using ZFS. >>>> >>>> However for my OS, should I also ZFS or simply gmirror as I've a >>>> dedicated pair of 256GB SSD drives for it. I didn't ask for SSD >>>> sys drives, this system just came with em. >>>> >>>> This is more of a best practices q. >>> >>> ZFS has data integrity checking, gmirror has low RAM overhead. >>> gmirror is, at present, restricted to MBR partitioning due to >>> metadata conflicts with GPT, so 2TB is the maximum size. >>> >>> Best practices... depends on your use. gmirror for the system >>> leaves more RAM for ZFS. >> >> Perfect, thanks Warren. >> >> Just what I was looking for. > > I doubt that you would save any ram having the os on a non-zfs drive as > you will already be using zfs chances are that non-zfs drives would only > increase ram usage by adding a second cache. zfs uses it's own cache > system and isn't going to share it's cache with other system managed > drives. I'm not actually certain if the system cache still sits above > zfs cache or not, I think I read it bypasses the traditional drive cache. > > For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max > that is a system wide setting and isn't going to increase if you have > two zpools. > > Tip: set the arc_max value - by default zfs will use all physical ram > for cache, set it to be sure you have enough ram left for any services > you want running. > > Have you considered using one or both SSD drives with zfs? They can be > added as cache or log devices to help performance. > See man zpool under Intent Log and Cache Devices. > I agree with the sentiment of using the SSD as ZFS cache - it's possibly the only logical use for them. I guess that with 100Tb worth of Winchesters you're not on a very tight budget, and not too tight on RAM for the OS either. If I was going to do this I'd stick with the OS on UFS and a gmirror because I simply don't trust ZFS. This is based on pure prejudice and inexperience. I know how to arrange disks on a UNIX file system for performance - what to use for swap, where tmp files should go and so on. I also know where every file will be, physically, in the event of trouble. And here's the clincher: If the machine blows up I can simply take one of the mirrored drives, slap it in to some new hardware and I've got a very reasonable chance that it'll boot. Can I do this with ZFS? I get the feeling that the answer is an emphatic "maybe". So all things considered, I'd need a good reason not to stick with what I know works reliably and can be recovered in the event of a disaster (UFS), but I'm happy to watch and learn from everyone else's experience! From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 10:49:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A5FDE568 for ; Tue, 16 Jul 2013 10:49:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) by mx1.freebsd.org (Postfix) with ESMTP id 268B1D2D for ; Tue, 16 Jul 2013 10:49:22 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 0ypD1m004516WCc01ypEGS; Tue, 16 Jul 2013 11:49:15 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=CY8xutbl c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=c_CL04IYvTkA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=2u6-5V8MS20A:10 a=s9oXJcMGAAAA:8 a=FYgteOHCOf23AMey2QUA:9 a=wPNLvfGTeEIA:10 a=uLUL6ODoYCkA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1Uz2oj-0003L1-Ih for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 11:49:13 +0100 From: Mike Clarke To: FreeBSD questions Subject: Exim has stopped using SpamAssassin Date: Tue, 16 Jul 2013 11:49:11 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE-p4; KDE/4.10.5; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201307161149.11935.jmc-freebsd2@milibyte.co.uk> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 10:49:23 -0000 I've just noticed that for the last month Exim does not appear to have been using SpamAssassin to check incoming emails. Previously all my incoming emails contained the following headers: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: X-Spam-Checker-Version: X-Spam-Level: X-Spam-Status: But I'm not seeing any of them now. I've compared things with a ZFS snapshot from a time when it was working and both Exim and SpamAssassin are the same versions as before and there has been no changes in /usr/local/etc/exim/configure or /usr/local/etc/exim/sa-exim.conf. Current versions are: FreeBSD curlew.lan 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013 root@amd64 builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 exim-sa-exim-4.80.1+4.2_2 p5-Mail-SpamAssassin-3.3.2_8 perl-5.14.4 (was 5.14.2_3 when SpamAssassin was working) I've re-installed Exim and SpamAssassin using the same make options as before to see if that had any effect but still no joy. I've set SAEximDebug to 1 in sa-exim.conf but there's still nothing in the logs to help. Any suggestions where I should look next? -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 11:26:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F2B10D53; Tue, 16 Jul 2013 11:26:47 +0000 (UTC) (envelope-from rocky@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id AB7ECEC0; Tue, 16 Jul 2013 11:26:47 +0000 (UTC) Received: from laptop3.herveybayaustralia.com.au (laptop3.herveybayaustralia.com.au [192.168.0.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id 9B4172731D; Tue, 16 Jul 2013 21:26:46 +1000 (EST) Message-ID: <51E52DF6.4060109@herveybayaustralia.com.au> Date: Tue, 16 Jul 2013 21:26:46 +1000 From: R Skinner User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130530 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: linux-f10-hal-libs Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 11:26:48 -0000 I've discovered a fix for certain videos using flashplayer on websites. Apparently they require hal to access the DRM (?!), so I've just whipped up a port to fix this. It has been done in a real hurry; unfortunately I don't have any further time to spend on this as I'm way over my head at the moment, but I hope this helps fix some issues for some. If there are any problems with the way I've set this up, can you let me know via this address and advice on the error would be very appreciated. HTH :) From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 12:51:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 970CE5D3 for ; Tue, 16 Jul 2013 12:51:51 +0000 (UTC) (envelope-from feld@freebsd.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7129C375 for ; Tue, 16 Jul 2013 12:51:51 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id C93EE21746 for ; Tue, 16 Jul 2013 08:51:49 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Tue, 16 Jul 2013 08:51:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=SohyMk+g4JDVEcG2QRPB8DvaNhw=; b=hJMcO 7RtSUXv+l8B1b/yMRCf6Vcn2XuLmX4pxx+uUWey1+Y7zO4F3j7SR8De3KkAU5nws IqHJRCEGNQb9Mv/4y0eLkV3f5kLDd14q5VnRuKI3/AO2fpsMiBqpP+6D/yIKwH2v zqGamTSa1SqMarRWmpLnwF095LiPnrn+tlfY5I= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 6D18AB00005; Tue, 16 Jul 2013 08:51:49 -0400 (EDT) Message-Id: <1373979109.22453.140661256256121.647F312F@webmail.messagingengine.com> X-Sasl-Enc: GNeecnH2snAGdjTJxqYSB4acFESJSpDAe6r6PxAgdL7q 1373979109 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-bdcdd1cb Subject: Re: linux-f10-hal-libs Date: Tue, 16 Jul 2013 07:51:49 -0500 In-Reply-To: <51E52DF6.4060109@herveybayaustralia.com.au> References: <51E52DF6.4060109@herveybayaustralia.com.au> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 12:51:51 -0000 On Tue, Jul 16, 2013, at 6:26, R Skinner wrote: > I've discovered a fix for certain videos using flashplayer on websites. > Apparently they require hal to access the DRM (?!), so I've just whipped > up a port to fix this. > > It has been done in a real hurry; unfortunately I don't have any further > time to spend on this as I'm way over my head at the moment, but I hope > this helps fix some issues for some. > > If there are any problems with the way I've set this up, can you let me > know via this address and advice on the error would be very appreciated. > Can you provide a link to a video that is broken and requires this so we have a test case? Thanks! From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 16:58:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A1F8C298 for ; Tue, 16 Jul 2013 16:58:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6771C355 for ; Tue, 16 Jul 2013 16:58:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uz8ZY-0007zm-MB for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 18:57:56 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jul 2013 18:57:56 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jul 2013 18:57:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Purpose of /usr/local/lib/compat/pkg? Date: Tue, 16 Jul 2013 16:57:34 +0000 (UTC) Lines: 6 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 16:58:04 -0000 What is the purpose of /usr/local/lib/compat/pkg? As far as I can see, in a properly organised system, all the shared libraries in there should be redundant. If this is correct, is there an easy way to clear them out, or should I just rm? From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 17:03:05 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9F7CB391 for ; Tue, 16 Jul 2013 17:03:05 +0000 (UTC) (envelope-from chenjunbing1234@126.com) Received: from m15-15.126.com (m15-15.126.com [220.181.15.15]) by mx1.freebsd.org (Postfix) with ESMTP id AAAC4387 for ; Tue, 16 Jul 2013 17:03:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Received:Date:From:To:Subject:Content-Type: MIME-Version:Message-ID; bh=NNJ4yud54IsTHC6ccqOanpdEV7zbEEAt8jVq 2zSpgR4=; b=Rnd3A7/MQWMPoTm/jCtWi6AxSSJY4wqBLUWMkzfr5ZmyiyrX/PyV XoWy3B+Wr77bPDS7gBkU0q3hWwbMY7ENd92TIByKU6jrZI4x27m8E6SdeT9ywFS9 XlHHsg+BwwvrwvgNvPsf6AzzMwHQ1y3i49z33kZuQ4e/jjXRcT/KnTs= Received: from chenjunbing1234$126.com ( [221.225.187.134] ) by ajax-webmail-wmsvr15 (Coremail) ; Wed, 17 Jul 2013 00:32:28 +0800 (CST) X-Originating-IP: [221.225.187.134] Date: Wed, 17 Jul 2013 00:32:28 +0800 (CST) From: chenjunbing1234 To: questions@FreeBSD.org Subject: FreeBSD software installation problems X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20130613(22460.5432.5432) Copyright (c) 2002-2013 www.mailtech.cn 126com X-CM-CTRLDATA: NLw56GZvb3Rlcl9odG09MzA0OTo4MQ== MIME-Version: 1.0 Message-ID: <6a2798a0.1b306.13fe8536cbd.Coremail.chenjunbing1234@126.com> X-CM-TRANSID: D8qowGC5YEKcdeVRzduEAA--.1447W X-CM-SenderInfo: hfkh0ypxqex0jjrsjka6rslhhfrp/1tbiXBZcbU3mCdEH7QADsh X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 17:03:05 -0000 cXVlc3Rpb25zQEZyZWVCU0Qub3JnCklrbm93dmVyeSBsaXR0bGVFbmdsaXNoLCBhbmQgSXdhbnQg dG8gbGVhcm5mcmVlYnNkLEkgd2FzIHVuZGVyZnRwOi8vZnRwLmZyZWVic2Qub3JnL3B1Yi9GcmVl QlNEL2RvYy96aF9DTi5HQjIzMTIvYm9va3MvaGFuZGJvb2svYWJvdmUgdHV0b3JpYWx0byBpbnN0 YWxsYW5kIHByZXBhcmF0aW9uLCBhbmRtZXRhIGxvdCBvZiBwcm9ibGVtcyxJbWFkZSDigIvigIth dGhyZWVodHRwOi8vYmJzLmNoaW5hdW5peC5uZXQvZm9ydW0tNS0xLmh0bWxmb3J1bXBvc3Rpbmdz ZW50aXRsZWQ6bm92aWNlc3RlcCBieSBzdGVwaW5zdGFsbEZyZWVCU0QtOS4wLVJFTEVBU0Usbm90 IG1hbnkgcGVvcGxldG8gaGVscE15bWFpbnByb2JsZW1pcyB0aGUgc29mdHdhcmVpbnN0YWxsZWQs SSBob3BldG8gZ2V0IHlvdXIgaGVscC4= From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 17:33:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CE248A34 for ; Tue, 16 Jul 2013 17:33:19 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-vc0-x230.google.com (mail-vc0-x230.google.com [IPv6:2607:f8b0:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 917C26EA for ; Tue, 16 Jul 2013 17:33:19 +0000 (UTC) Received: by mail-vc0-f176.google.com with SMTP id ha12so658869vcb.7 for ; Tue, 16 Jul 2013 10:33:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AZpoXk0sWJnFIWSFloNvf8Y4TVOyI7PipjqhTlPyCes=; b=MmyS18DN9VBcKgUnRr4wRfAWiCkpeypBBrMpgNUzFLosVdjQaJeIrM6/VrVcxBb+gV 9n5Vnhj5YV01giC1L5z/3vk4c1sWfBhSyc/s/+0crQWOCEFsTHuIehcQG5aaby4J987l IOsK89/q7A1J5gKIEhlE46i9jLBSLSYv7QKapwX5ZM4LcxYo1C+7gpXzeIEmjYYw6bdD 1qOpKkIgHEdb9QpDDRGqksib3S8doR8DySO2cZHd3Be9fubIHmBePU/bTAPl/v0q/xip xdD2DnoTxxlSSBJaTruPoqyxMnWZgOwnolvw+uFbZ1Bi5xNOwe+1byeCfb5XVf/fbTGU Tfig== MIME-Version: 1.0 X-Received: by 10.52.186.129 with SMTP id fk1mr638269vdc.66.1373995999115; Tue, 16 Jul 2013 10:33:19 -0700 (PDT) Received: by 10.58.249.1 with HTTP; Tue, 16 Jul 2013 10:33:19 -0700 (PDT) In-Reply-To: <51E52190.7020008@fjl.co.uk> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> Date: Tue, 16 Jul 2013 19:33:19 +0200 Message-ID: Subject: Re: to gmirror or to ZFS From: Johan Hendriks To: Frank Leonhardt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 17:33:20 -0000 Op dinsdag 16 juli 2013 schreef Frank Leonhardt (frank2@fjl.co.uk) het volgende: > On 16/07/2013 10:41, Shane Ambler wrote: > >> On 16/07/2013 14:41, aurfalien wrote: >> >>> >>> On Jul 15, 2013, at 9:23 PM, Warren Block wrote: >>> >>> On Mon, 15 Jul 2013, aurfalien wrote: >>>> >>>> ... thats the question :) >>>>> >>>>> At any rate, I'm building a rather large 100+TB NAS using ZFS. >>>>> >>>>> However for my OS, should I also ZFS or simply gmirror as I've a >>>>> dedicated pair of 256GB SSD drives for it. I didn't ask for SSD >>>>> sys drives, this system just came with em. >>>>> >>>>> This is more of a best practices q. >>>>> >>>> >>>> ZFS has data integrity checking, gmirror has low RAM overhead. >>>> gmirror is, at present, restricted to MBR partitioning due to >>>> metadata conflicts with GPT, so 2TB is the maximum size. >>>> >>>> Best practices... depends on your use. gmirror for the system >>>> leaves more RAM for ZFS. >>>> >>> >>> Perfect, thanks Warren. >>> >>> Just what I was looking for. >>> >> >> I doubt that you would save any ram having the os on a non-zfs drive as >> you will already be using zfs chances are that non-zfs drives would only >> increase ram usage by adding a second cache. zfs uses it's own cache >> system and isn't going to share it's cache with other system managed >> drives. I'm not actually certain if the system cache still sits above >> zfs cache or not, I think I read it bypasses the traditional drive cache. >> >> For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max >> that is a system wide setting and isn't going to increase if you have >> two zpools. >> >> Tip: set the arc_max value - by default zfs will use all physical ram >> for cache, set it to be sure you have enough ram left for any services >> you want running. >> >> Have you considered using one or both SSD drives with zfs? They can be >> added as cache or log devices to help performance. >> See man zpool under Intent Log and Cache Devices. >> >> I agree with the sentiment of using the SSD as ZFS cache - it's possibly > the only logical use for them. > > I guess that with 100Tb worth of Winchesters you're not on a very tight > budget, and not too tight on RAM for the OS either. If I was going to do > this I'd stick with the OS on UFS and a gmirror because I simply don't > trust ZFS. This is based on pure prejudice and inexperience. > > I know how to arrange disks on a UNIX file system for performance - what > to use for swap, where tmp files should go and so on. I also know where > every file will be, physically, in the event of trouble. And here's the > clincher: If the machine blows up I can simply take one of the mirrored > drives, slap it in to some new hardware and I've got a very reasonable > chance that it'll boot. Can I do this with ZFS? I get the feeling that the > answer is an emphatic "maybe". > > So all things considered, I'd need a good reason not to stick with what I > know works reliably and can be recovered in the event of a disaster (UFS), > but I'm happy to watch and learn from everyone else's experience! > > I would us a zfs for the os. I have a couple of servers that did not survive a power failure with gmirror. The problems i had was when the power failed one disk was in a rebuilding state and then when the background fsck started or was busy for some time it would crash the whole server. Removing the disk that was rebuilding resolved the issue. This happened to me more than once. Most of the times it worked as advertised but not always. Before people tell me to use an UPS, i used a UPS but the damn thing gave way itself. Then after it came back from the warranty repair it gave way again. Some times it came back right away, leaving some servers survive and some in the state they where. It was hard to find the cause in the beginning because of the fact some servers did survive the power failure. We did not suspect the UPS at first. Anyway, gmirror did not work for me in all cases. I am now running a few servers with a zfs root. I did not have any problems with them till now (knock on wood). Since reading that swap on zfs root can cause trouble i have a separate freebsd-swap partition for the swap. Gr Johan > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 17:49:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 51545EED for ; Tue, 16 Jul 2013 17:49:47 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 2C0D3814 for ; Tue, 16 Jul 2013 17:49:47 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id xb12so940319pbc.40 for ; Tue, 16 Jul 2013 10:49:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=kqC0kVuth5ABtxd3YD9PcBtZ8WRb/3GGbNVgE59gp7c=; b=VIFp1a9DteiCwx238wzh/ojLm3ymPUbDyb7xmstfX1Qd1vH5xgcKbEM+XUfEjjEo5S xyQFuccmed8ARXOGhsGOJC80LG7vCODBrTyoTWKHEPDDOvK2Uw4pa0USZUPg/yZI6bLR z6Y3/DH6ummMyCjM9vfnoQlubRZ28igwCKZ8v+2eMkuCVoXjktvfHdDimWt+NL6D8qw6 UfdbNpu6M6jzcsJuHWCEfn76EpFu2E3HIf+FVQoBZAh7uu/WcFbqVY0YWgC5mU2aTXlD x06e1BMM+Cg9l0CHQeHcO+omEVQM+5aI7z6ngEms7eVNHYwvUv9J3eaDF8b7eK069b1m opvg== X-Received: by 10.66.145.4 with SMTP id sq4mr3819721pab.46.1373996986989; Tue, 16 Jul 2013 10:49:46 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id jb2sm3158087pbc.8.2013.07.16.10.49.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 10:49:45 -0700 (PDT) Subject: Re: to gmirror or to ZFS Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: <51E51558.50302@ShaneWare.Biz> Date: Tue, 16 Jul 2013 10:49:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> To: Shane Ambler X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 17:49:47 -0000 On Jul 16, 2013, at 2:41 AM, Shane Ambler wrote: > On 16/07/2013 14:41, aurfalien wrote: >>=20 >> On Jul 15, 2013, at 9:23 PM, Warren Block wrote: >>=20 >>> On Mon, 15 Jul 2013, aurfalien wrote: >>>=20 >>>> ... thats the question :) >>>>=20 >>>> At any rate, I'm building a rather large 100+TB NAS using ZFS. >>>>=20 >>>> However for my OS, should I also ZFS or simply gmirror as I've a >>>> dedicated pair of 256GB SSD drives for it. I didn't ask for SSD >>>> sys drives, this system just came with em. >>>>=20 >>>> This is more of a best practices q. >>>=20 >>> ZFS has data integrity checking, gmirror has low RAM overhead. >>> gmirror is, at present, restricted to MBR partitioning due to >>> metadata conflicts with GPT, so 2TB is the maximum size. >>>=20 >>> Best practices... depends on your use. gmirror for the system >>> leaves more RAM for ZFS. >>=20 >> Perfect, thanks Warren. >>=20 >> Just what I was looking for. >=20 > I doubt that you would save any ram having the os on a non-zfs drive = as > you will already be using zfs chances are that non-zfs drives would = only > increase ram usage by adding a second cache. zfs uses it's own cache > system and isn't going to share it's cache with other system managed > drives. I'm not actually certain if the system cache still sits above > zfs cache or not, I think I read it bypasses the traditional drive = cache. >=20 > For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max > that is a system wide setting and isn't going to increase if you have > two zpools. >=20 > Tip: set the arc_max value - by default zfs will use all physical ram > for cache, set it to be sure you have enough ram left for any services > you want running. >=20 > Have you considered using one or both SSD drives with zfs? They can be > added as cache or log devices to help performance. > See man zpool under Intent Log and Cache Devices. This is a very interesting point. In terms if SSDs for cache, I was planning on using a pair of Samsung = Pro 512GB SSDs for this purpose (which I haven't bought yet). But I tire of buying stuff, so I have a pair of 40GB Intel SSDs for use = as sys disks and several Intel 160GB SSDs lying around that I can = combine with the existing 256GB SSDs for a cache. Then use my 36x3TB for the beasty NAS. - aurf From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:05:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D136A893 for ; Tue, 16 Jul 2013 18:05:28 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp001.mac.com (st11p05mm-asmtpout004.mac.com [17.172.108.249]) by mx1.freebsd.org (Postfix) with ESMTP id AD9F890B for ; Tue, 16 Jul 2013 18:05:28 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.8.53]) by st11p05mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MQ100H8IGSW2K50@st11p05mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 17:05:21 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-07-16_07:2013-07-16,2013-07-16,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1307160133 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Purpose of /usr/local/lib/compat/pkg? From: Charles Swiger In-reply-to: Date: Tue, 16 Jul 2013 10:05:19 -0700 Content-transfer-encoding: quoted-printable Message-id: <186E6FB9-693F-40EA-BC93-5FE7457097FB@mac.com> References: To: Walter Hurry X-Mailer: Apple Mail (2.1508) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:05:28 -0000 Hi-- On Jul 16, 2013, at 9:57 AM, Walter Hurry wrote: > What is the purpose of /usr/local/lib/compat/pkg? It holds old versions of shared libraries which were once used by = installed ports. > As far as I can see, in a properly organised system, all the shared = libraries > in there should be redundant. True, assuming you've recompiled all of your ports to use the latest = versions. However, if you ever have to roll something back, it will continue to = work if these old shared libs are available. > If this is correct, is there an easy way to clear them out, or should = I just rm? If you're low on space, sure, you can just rm them. Don't bother = otherwise... Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:08:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 19409953 for ; Tue, 16 Jul 2013 18:08:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id CF18B92D for ; Tue, 16 Jul 2013 18:08:23 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uz9fg-00076x-7b for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 20:08:20 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jul 2013 20:08:20 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jul 2013 20:08:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Purpose of /usr/local/lib/compat/pkg? Date: Tue, 16 Jul 2013 18:08:02 +0000 (UTC) Lines: 25 Message-ID: References: < 186E6FB9-693F-40EA-BC93-5FE7457097FB@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:08:24 -0000 On Tue, 16 Jul 2013 10:05:19 -0700, Charles Swiger wrote: > Hi-- > > On Jul 16, 2013, at 9:57 AM, Walter Hurry wrote: >> What is the purpose of /usr/local/lib/compat/pkg? > > It holds old versions of shared libraries which were once used by > installed ports. > >> As far as I can see, in a properly organised system, all the shared >> libraries in there should be redundant. > > True, assuming you've recompiled all of your ports to use the latest > versions. However, if you ever have to roll something back, it will > continue to work if these old shared libs are available. > >> If this is correct, is there an easy way to clear them out, or should I >> just rm? > > If you're low on space, sure, you can just rm them. Don't bother > otherwise... > Thanks. No, I'm not desperately low on space; I just like to keep things tidy. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:09:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D59D6A0D for ; Tue, 16 Jul 2013 18:09:52 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr004msr.fastwebnet.it (mr004msr.fastwebnet.it [85.18.95.67]) by mx1.freebsd.org (Postfix) with ESMTP id 696AD946 for ; Tue, 16 Jul 2013 18:09:52 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr004msr.fastwebnet.it (8.5.140.03) (authenticated as secsec@fastwebnet.it) id 51CC06C00122C4F8 for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 20:32:50 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 424407590B0; Tue, 16 Jul 2013 20:09:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from seashell.org (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id 498B37590AF for ; Tue, 16 Jul 2013 20:09:42 +0200 (CEST) Message-ID: <51E58DA7.1040709@fuckaround.org> Date: Tue, 16 Jul 2013 20:15:03 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: openvpn routing Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:09:52 -0000 Hi all :-) This freebsd server in an internal lan server, IP 192.168.1.254. 192.168.1.212 is gateway on internet. I've an easy config: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.212 UGS 0 31807 em0 10.20.10.0/24 10.20.10.2 UGS 0 0 tun0 10.20.10.1 link#5 UHS 0 0 lo0 10.20.10.2 link#5 UH 0 0 tun0 127.0.0.1 link#4 UH 0 3478 lo0 192.168.1.0/24 link#2 U 0 46116 em0 192.168.1.254 link#2 UHS 0 0 lo0 ifconfig em0: flags=8843 metric 0 mtu 1500 inet 192.168.1.254 netmask 0xffffff00 broadcast 192.168.1.255 lo0: flags=8049 metric 0 mtu 16384 [...] tun0: flags=8051 metric 0 mtu 1500 inet 10.20.10.1 --> 10.20.10.2 netmask 0xffffffff Problem is: 10.20.10.2 is a gateway? why? On clients I've this error: OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options Tue Jul 16 19:28:30 2013 us=860975 OpenVPN ROUTE: failed to parse/resolve route for host/network: 10.20.10.0 Tue Jul 16 19:28:30 2013 us=861091 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options openvpn server config: port XXX proto udp dev tun ;dev-node tap0 ca /usr/local/etc/openvpn/XX.crt cert /usr/local/etc/openvpn/XX.crt key /usr/local/etc/openvpn/XX.key dh /usr/local/etc/openvpn/dh2048.pem server 10.20.10.0 255.255.255.0 push "route 10.20.10.0 255.255.255.0" ifconfig-pool-persist /usr/local/etc/openvpn/ipp.txt 0 ;duplicate-cn keepalive 10 120 ;cipher BF-CBC # Blowfish (default) ;cipher AES-256-CBC # AES cipher DES-EDE3-CBC # Triple-DES comp-lzo user nobody group nobody persist-key persist-tun ;status /var/log/openvpn-status.log ;log-append /var/log/openvpn.log verb 10 mute 20 client-to-client client-config-dir ccd "route 10.20.10.1 255.255.255.0" ping-restart 0 tls-auth /usr/local/etc/openvpn/ta.key 0 plugin /usr/local/lib/openvpn/plugins/openvpn-plugin-auth-pam.so login #tmp-dir /dev/shm Almost same config on linux openvpn server runs. It's the server that create correct route. But on freebsd I've 10.20.10.2 like automatic gw. Any idea? thanks! Pol From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:27:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3F382DEC for ; Tue, 16 Jul 2013 18:27:55 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-vc0-x22c.google.com (mail-vc0-x22c.google.com [IPv6:2607:f8b0:400c:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 02947A11 for ; Tue, 16 Jul 2013 18:27:54 +0000 (UTC) Received: by mail-vc0-f172.google.com with SMTP id ib11so701320vcb.31 for ; Tue, 16 Jul 2013 11:27:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cnUEwkqfLzEB4+n1pRXEtqV+0XuCBL2sre7QhiQLbQE=; b=rh7FnSYpEDLy9u0N34sE4349byQYpK3YTjsWfCHY7SzpuPPTud7SifyjwW00TZwGho cfy29tzzRliIa4WuD1OadCo1jFlj2cpC6snJet4clGR6AumMoMPTofKxTo9ftOkDfub6 OFMWvoYDLPHOFe/jgh2tp3rrruYqKhjSfrqN1k1vk2nKTaRVkYmeZwH1qNqW9L2rSGhj ncQ54FkzdCzeFfiPGvefV6ghJEdAIVAyYyJkPsDEgFy/AOjTWYMJ+OGGVJqtaPTJCcBy DqTWiA/d7N3YrHx4L6BgyzwjPOesoW9fzvGJDPrhb/xzetpfWNbPMleWhMNCJtFRlySo 0vZg== MIME-Version: 1.0 X-Received: by 10.58.181.225 with SMTP id dz1mr819296vec.95.1373999274590; Tue, 16 Jul 2013 11:27:54 -0700 (PDT) Received: by 10.58.249.1 with HTTP; Tue, 16 Jul 2013 11:27:54 -0700 (PDT) In-Reply-To: <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> Date: Tue, 16 Jul 2013 20:27:54 +0200 Message-ID: Subject: Re: to gmirror or to ZFS From: Johan Hendriks To: Charles Swiger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:27:55 -0000 Op dinsdag 16 juli 2013 schreef Charles Swiger (cswiger@mac.com) het volgende: > Hi-- > > On Jul 16, 2013, at 10:33 AM, Johan Hendriks > > wrote: > [ ... ] > > I would us a zfs for the os. > > I have a couple of servers that did not survive a power failure with > > gmirror. > > The problems i had was when the power failed one disk was in a rebuilding > > state and then when the background fsck started or was busy for some time > > it would crash the whole server. > > Well, "don't do that". :-) When the server reboots because of a powerfailure at night, then it boots. Then it starts to rebuild the mirror on its own, and later the fsck kicks in. Not much i can do about it. Maybe i should have done it without the automatic attachment for a new device. > > Seriously, bring up the box on one disk, force a foreground fsck if needed > to get the filesystem to known clean state, and then rebuild the mirror. > Mixing the mirror rebuild with something like an fsck will just thrash the > disks. > > [ ... ] > > Before people tell me to use an UPS, i used a UPS but the damn thing gave > > way itself. Then after it came back from the warranty repair it gave > way again. > > Grr. That's when you want find another UPS vendor. > > Is apc not the right choice? I think i got a monday morning model. Some times things fail! Regards, > -- > -Chuck > > From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:41:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2D346FB9 for ; Tue, 16 Jul 2013 18:41:47 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr005msr.fastwebnet.it (mr005msr.fastwebnet.it [85.18.95.68]) by mx1.freebsd.org (Postfix) with ESMTP id B3717AA8 for ; Tue, 16 Jul 2013 18:41:46 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr005msr.fastwebnet.it (8.5.140.03) (authenticated as secsec@fastwebnet.it) id 51CC0F2301222F83 for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 20:41:39 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 4376E7590B0; Tue, 16 Jul 2013 20:41:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from seashell.org (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id 679007590AF for ; Tue, 16 Jul 2013 20:41:37 +0200 (CEST) Message-ID: <51E59522.4060306@fuckaround.org> Date: Tue, 16 Jul 2013 20:46:58 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: openvpn routing References: <51E58DA7.1040709@fuckaround.org> In-Reply-To: <51E58DA7.1040709@fuckaround.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:41:47 -0000 > This freebsd server in an internal lan server, IP 192.168.1.254. > 192.168.1.212 is gateway on internet. [...] tap --> tun solved :-) Pol From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:42:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A9581D8 for ; Tue, 16 Jul 2013 18:42:15 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6C845AB3 for ; Tue, 16 Jul 2013 18:42:15 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6GIgEZ0082114; Tue, 16 Jul 2013 12:42:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6GIgEfY082111; Tue, 16 Jul 2013 12:42:14 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 16 Jul 2013 12:42:14 -0600 (MDT) From: Warren Block To: aurfalien Subject: Re: to gmirror or to ZFS In-Reply-To: Message-ID: References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 16 Jul 2013 12:42:14 -0600 (MDT) Cc: freebsd-questions@freebsd.org, Shane Ambler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:42:15 -0000 On Tue, 16 Jul 2013, aurfalien wrote: > On Jul 16, 2013, at 2:41 AM, Shane Ambler wrote: >> >> I doubt that you would save any ram having the os on a non-zfs drive as >> you will already be using zfs chances are that non-zfs drives would only >> increase ram usage by adding a second cache. zfs uses it's own cache >> system and isn't going to share it's cache with other system managed >> drives. I'm not actually certain if the system cache still sits above >> zfs cache or not, I think I read it bypasses the traditional drive cache. >> >> For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max >> that is a system wide setting and isn't going to increase if you have >> two zpools. >> >> Tip: set the arc_max value - by default zfs will use all physical ram >> for cache, set it to be sure you have enough ram left for any services >> you want running. >> >> Have you considered using one or both SSD drives with zfs? They can be >> added as cache or log devices to help performance. >> See man zpool under Intent Log and Cache Devices. > > This is a very interesting point. > > In terms if SSDs for cache, I was planning on using a pair of Samsung Pro 512GB SSDs for this purpose (which I haven't bought yet). > > But I tire of buying stuff, so I have a pair of 40GB Intel SSDs for use as sys disks and several Intel 160GB SSDs lying around that I can combine with the existing 256GB SSDs for a cache. > > Then use my 36x3TB for the beasty NAS. Agreed that 256G mirrored SSDs are kind of wasted as system drives. The 40G mirror sounds ideal. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 18:59:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 133CC48F for ; Tue, 16 Jul 2013 18:59:23 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id CCADBB6E for ; Tue, 16 Jul 2013 18:59:22 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6GIxMa8082169; Tue, 16 Jul 2013 12:59:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6GIxLdT082166; Tue, 16 Jul 2013 12:59:22 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 16 Jul 2013 12:59:21 -0600 (MDT) From: Warren Block To: Walter Hurry Subject: Re: Purpose of /usr/local/lib/compat/pkg? In-Reply-To: Message-ID: References: < 186E6FB9-693F-40EA-BC93-5FE7457097FB@mac.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 16 Jul 2013 12:59:22 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 18:59:23 -0000 On Tue, 16 Jul 2013, Walter Hurry wrote: > On Tue, 16 Jul 2013 10:05:19 -0700, Charles Swiger wrote: > >> Hi-- >> >> On Jul 16, 2013, at 9:57 AM, Walter Hurry wrote: >>> What is the purpose of /usr/local/lib/compat/pkg? >> >> It holds old versions of shared libraries which were once used by >> installed ports. >> >>> As far as I can see, in a properly organised system, all the shared >>> libraries in there should be redundant. >> >> True, assuming you've recompiled all of your ports to use the latest >> versions. However, if you ever have to roll something back, it will >> continue to work if these old shared libs are available. >> >>> If this is correct, is there an easy way to clear them out, or should I >>> just rm? >> >> If you're low on space, sure, you can just rm them. Don't bother >> otherwise... >> > Thanks. No, I'm not desperately low on space; I just like to keep things > tidy. Install the excellent sysutils/bsdadminscripts and run pkg_libchk to check for packages still depending on those libraries or missing ones. If it doesn't complain, it's safe to delete them. Otherwise, rebuild everything it complains about first. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 19:09:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32B23625 for ; Tue, 16 Jul 2013 19:09:01 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp002.mac.com (st11p05mm-asmtp005.mac.com [17.172.108.250]) by mx1.freebsd.org (Postfix) with ESMTP id 0C9E7BDF for ; Tue, 16 Jul 2013 19:09:00 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.8.53]) by st11p05mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MQ100714JQCVO50@st11p05mm-asmtp002.mac.com> for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 18:08:38 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-07-16_08:2013-07-16,2013-07-16,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1307160141 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: to gmirror or to ZFS From: Charles Swiger In-reply-to: Date: Tue, 16 Jul 2013 11:08:36 -0700 Content-transfer-encoding: quoted-printable Message-id: <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> To: Johan Hendriks X-Mailer: Apple Mail (2.1508) Cc: FreeBSD - X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 19:09:01 -0000 Hi-- On Jul 16, 2013, at 10:33 AM, Johan Hendriks = wrote: [ ... ] > I would us a zfs for the os. > I have a couple of servers that did not survive a power failure with > gmirror. > The problems i had was when the power failed one disk was in a = rebuilding > state and then when the background fsck started or was busy for some = time > it would crash the whole server. Well, "don't do that". :-) Seriously, bring up the box on one disk, force a foreground fsck if = needed to get the filesystem to known clean state, and then rebuild the mirror. Mixing the mirror rebuild with something like an fsck will just thrash = the disks. [ ... ] > Before people tell me to use an UPS, i used a UPS but the damn thing = gave > way itself. Then after it came back from the warranty repair it gave = way again. Grr. That's when you want find another UPS vendor. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 19:39:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AB72FE4F for ; Tue, 16 Jul 2013 19:39:53 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) by mx1.freebsd.org (Postfix) with ESMTP id 38C57D56 for ; Tue, 16 Jul 2013 19:39:53 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id r11so925093lbv.13 for ; Tue, 16 Jul 2013 12:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hPLYyFRxC3CR/DiFwXPvUjqe0erx4kTmgqWd7lSz18o=; b=KBzzmd4aushsctQ+YRv0mXzuDYblU9l7s0NWqM8pvUi/EIQi2lsUMh46tGikV68j63 +3PMcK2nFsMNnbvIDa3V6LTxLu7CKEqdAMKMzpoATd0D9ZoeLO3yESbOytLyJgQtWkjp tE6LrkRP4oKJW4dAbqsaxU5zVgHraKUn3eEjtRq/mYUnUqjIIsjM1dACt51Y6CLLCFRw SjB0O2XUU+4nVrpX7+2mxBBowDKk/K+KLJ/0a0PQazC00UPgKlyz8gpIigBK0wc95031 jkROwgyuetb5ZFJtaqImFXdULoTVB89qrbR8o0Waf1/AmYvofsUF2CvwZwlGgIzci45o YVZg== MIME-Version: 1.0 X-Received: by 10.112.73.210 with SMTP id n18mr1752787lbv.90.1374003592130; Tue, 16 Jul 2013 12:39:52 -0700 (PDT) Received: by 10.114.185.136 with HTTP; Tue, 16 Jul 2013 12:39:52 -0700 (PDT) Date: Tue, 16 Jul 2013 14:39:52 -0500 Message-ID: Subject: Automake won't build. From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 19:39:53 -0000 Hello all, I am configuring a new system to run FreeBSD. I was in the middle of installing lxde-meta which depends on automake. This is where the install bails, and I'll include my uname -ar. Any help is greatly appreciated. FreeBSD something.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r253377: Tue Jul 16 02:21:15 CDT 2013 root@something.com:/usr/obj/usr/src/sys/GENERIC amd64 install-info --quiet /usr/local/info/automake.info /usr/local/info/dir install-info: /usr/local/info/dir: empty file *** [add-plist-info] Error code 1 TIA, Jason From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 19:48:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B4349260 for ; Tue, 16 Jul 2013 19:48:24 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp001.mac.com (st11p05mm-asmtpout004.mac.com [17.172.108.249]) by mx1.freebsd.org (Postfix) with ESMTP id 8C594DCE for ; Tue, 16 Jul 2013 19:48:24 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.8.53]) by st11p05mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MQ10029NOCK7D70@st11p05mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 19:48:22 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-07-16_08:2013-07-16,2013-07-16,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1307160168 Content-type: text/plain; charset=iso-8859-1 MIME-version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: to gmirror or to ZFS From: Charles Swiger In-reply-to: Date: Tue, 16 Jul 2013 12:48:20 -0700 Content-transfer-encoding: quoted-printable Message-id: References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> To: Johan Hendriks X-Mailer: Apple Mail (2.1508) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 19:48:24 -0000 Hi-- On Jul 16, 2013, at 11:27 AM, Johan Hendriks = wrote: >> Well, "don't do that". :-) >=20 > When the server reboots because of a powerfailure at night, then it = boots. > Then it starts to rebuild the mirror on its own, and later the fsck = kicks in. >=20 > Not much i can do about it. >=20 > Maybe i should have done it without the automatic attachment for a new = device. It's normally the case that getting a hot spare automatically attached = should be fine, but not if you also have the box go down entirely and need to = fsck. I'm more used to needing to explicitly physically swap out a failed = mirror component, in which case one can make sure the system is OK before the replacement = drive goes in. > [ ... ] >>> Before people tell me to use an UPS, i used a UPS but the damn thing = gave >>> way itself. Then after it came back from the warranty repair it = gave way again. >>=20 >> Grr. That's when you want find another UPS vendor. >=20 > Is apc not the right choice? > I think i got a monday morning model. > Some times things fail! APC is decent for desktops, but I'm dubious about them when it comes to = entire racks or a DC. I like Leviton's PDUs/MDUs and TVSS; for a medium-sized UPS = (10-40 kVA) Liebert and PowerWare (now Eaton) were good. Liebert's PDUs are also = pretty good. Regards, --=20 -Chuck PS: I ran a small DC in NYC with a 20kVA PowerWare 9330 behind a Leviton = 57000 TVSS; the Cupertino locals have ~650kVA worth of Bloom boxes and a Cummins = diesel genset as a backup just for this building. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 19:48:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28DA02F0 for ; Tue, 16 Jul 2013 19:48:41 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id A7181DD7 for ; Tue, 16 Jul 2013 19:48:40 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id fr10so867505lab.32 for ; Tue, 16 Jul 2013 12:48:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=twuPP1isCsRNvCR2Uk9MUZ92BP2Tos+KVF1zF61JvrE=; b=lWMoGbyBNGbvkTc6fUF5TmxCB4F6/GWCN8QHX8ZU+LHivR7P9aSxLFjHcPF6QX3s4F r1phYIfkY7N8k8MjfLNoa6gpDIrfCt/RewAhsQu2kbImIXeGrN0sWem1PvecaisIludV OazGf0ShXc2V/jN9sCca00aJJp/S5s46u4PB4ve4iggLgqn2zVzGecrQ+eG+SWQw5xZ6 NlwjdMTUkwK/jO9r9J2keyIDOlxknaNF4pgcSX3fHSLQLXnu2mUA/4MpQhqhnlQHa++L TZAdRhNbhtbkzqH0sGhdz3Za4cbhOAKpQtVZT4TQfjykf+2m+03HZeN5yU6W4/uP9TQm TWyA== MIME-Version: 1.0 X-Received: by 10.112.159.66 with SMTP id xa2mr1745878lbb.60.1374004119417; Tue, 16 Jul 2013 12:48:39 -0700 (PDT) Received: by 10.114.185.136 with HTTP; Tue, 16 Jul 2013 12:48:39 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Jul 2013 14:48:39 -0500 Message-ID: Subject: Re: Automake won't build. From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 19:48:41 -0000 On Tue, Jul 16, 2013 at 2:39 PM, Jason Garrett wrote: > Hello all, > > I am configuring a new system to run FreeBSD. I was in the middle of > installing lxde-meta which depends on automake. This is where the install > bails, and I'll include my uname -ar. Any help is greatly appreciated. > > > > FreeBSD something.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r253377: > Tue Jul 16 02:21:15 CDT 2013 root@something.com:/usr/obj/usr/src/sys/GENERIC > amd64 > > > > install-info --quiet /usr/local/info/automake.info /usr/local/info/dir > install-info: /usr/local/info/dir: empty file > *** [add-plist-info] Error code 1 > > TIA, > > Jason > The solution for this was to remove /usr/local/info/dir and the port installed fine. Any ideas on why this happens? From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 19:58:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 93A4246A for ; Tue, 16 Jul 2013 19:58:47 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr005msr.fastwebnet.it (mr005msr.fastwebnet.it [85.18.95.68]) by mx1.freebsd.org (Postfix) with ESMTP id 53D08E2A for ; Tue, 16 Jul 2013 19:58:46 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr005msr.fastwebnet.it (8.5.140.03) (authenticated as secsec@fastwebnet.it) id 51CC0F23012336E4 for freebsd-questions@freebsd.org; Tue, 16 Jul 2013 21:58:46 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id D94987590B0; Tue, 16 Jul 2013 21:58:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from seashell.org (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id EF9DD7590AF for ; Tue, 16 Jul 2013 21:58:43 +0200 (CEST) Message-ID: <51E5A735.80209@fuckaround.org> Date: Tue, 16 Jul 2013 22:04:05 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: FreeBSD-Questions Subject: rsyslog Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 19:58:47 -0000 Hi all :-) I just installed rsyslog7 but there isn't any /usr/local/etc/rsyslog.conf Where I found a standard rsyslog.conf config file to put it to /usr/local/etc? thanks for help Pol From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 20:09:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 09F2D672 for ; Tue, 16 Jul 2013 20:09:21 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id DD313EA9 for ; Tue, 16 Jul 2013 20:09:20 +0000 (UTC) Received: by mail-pa0-f42.google.com with SMTP id rl6so1149870pac.29 for ; Tue, 16 Jul 2013 13:09:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=p7M56P0GBPABNfleyPo8NJl+kSKvNji8ocy/HXe/2lU=; b=U+D+kcm4d0rapoyuOriVwGtwlOeuqz7Sy+DFYsV34BMyWGWXbpn8KJ2xtFaFxbkdpl VlB6Fv9YuB+QnqH0XyFTmW7EMYmoCrk7uf0c9GKWA2Q0/dHeym4QBPvhX/JyGOfqJc5O RVNTNRSHz/lhIf5v3Pi/2EHOFrxTZI3jkbNVskswgfKTlHU39j+Fqeiq/MIygr2kAzPL l62Z7I7SULIrq6MIVYqNKz37R7D8jshf6bE36X9bW6mHhSnbLsawp2rmFauzr5cOW2LA rBilyjahRpg8p8HPwfDnBsIcFLLD2ZhLhqjT0VonWbt96kIgMq+phYC8yUtH8wqHxL4o oQeg== X-Received: by 10.68.228.201 with SMTP id sk9mr3279537pbc.4.1374005360691; Tue, 16 Jul 2013 13:09:20 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id y9sm3486899pbb.46.2013.07.16.13.09.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 13:09:19 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Odd behavior while booting off Install media for 9.1... Date: Tue, 16 Jul 2013 13:09:17 -0700 Message-Id: <16A6C659-0430-49F5-B706-85898CFC3051@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 20:09:21 -0000 ... sometimes I get a normal boot procedure were I can proceed to = install. Other times I get the mountroot prompt and upon pressing enter, the = system reboots. This seems random with the same hardware setup. I literally have to = stare at the screen for it to finally push through to the install = procedure. I'm clearly new to freeBSD and was wondering what is going on here? I'm happily installing now as I managed to find time and stare at the = screen long enough but would like some insight n this if possible. - aurf= From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 20:15:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EC759A60 for ; Tue, 16 Jul 2013 20:15:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B6488EF7 for ; Tue, 16 Jul 2013 20:15:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-76-18.dynamic.qsc.de [92.195.76.18]) by mx01.qsc.de (Postfix) with ESMTP id 89B8B3C608; Tue, 16 Jul 2013 22:08:53 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r6GK8w4S002843; Tue, 16 Jul 2013 22:08:58 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Jul 2013 22:08:58 +0200 From: Polytropon To: Pol Hallen Subject: Re: rsyslog Message-Id: <20130716220858.c2800417.freebsd@edvax.de> In-Reply-To: <51E5A735.80209@fuckaround.org> References: <51E5A735.80209@fuckaround.org> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 20:15:21 -0000 On Tue, 16 Jul 2013 22:04:05 +0200, Pol Hallen wrote: > Where I found a standard rsyslog.conf config file to put it to > /usr/local/etc? I think you can find a rsyslog-example.conf file in the directory for examples, probably /usr/local/share/examples or in a rsyslog/ or rsyslog7/ subdirectory thereof. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 20:44:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 37B4C12A for ; Tue, 16 Jul 2013 20:44:08 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id 171C1FF9 for ; Tue, 16 Jul 2013 20:44:08 +0000 (UTC) Received: by mail-pb0-f48.google.com with SMTP id ma3so1094783pbc.21 for ; Tue, 16 Jul 2013 13:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=fW3dLfZEcCGVppjGtOO1D0C1zjNkqfgnjs3aEbmq40Q=; b=pEADldQ0j0iKP8n9y4cfaSp67Q5XXzQDxFKUJDunHGN6IB+Cjf71CnHcoU6iAdwZZ4 n9HyE/ayI2Ui7av/hu9ZQfwC6gm3FfaiVHN28pHiVmwpyT/relccTxda/+yb6sIwsORp 2Cb0PyDowwy/VqP5Wzf/Gz080pFLbe8acoNfZLOAaIaZ0VNRVnsgEVC9weK7Juka3F9y BvYHxgonzYn3Vih3pvjQZ/kqhjeJ9kU9zOHPR8qbD9HamCLoaLzDXglWqDSRHsyYcoLS cexZ2aKPJqrgn+Vu1Aiav9UeyWKVI6SjR6h6xupr7NCoXUmJgFcTPT5JafFm8o+/xQ/g 7DJg== X-Received: by 10.68.131.168 with SMTP id on8mr3277902pbb.97.1374007447888; Tue, 16 Jul 2013 13:44:07 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id yj2sm3613809pbb.40.2013.07.16.13.44.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 13:44:06 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: gpart: table 'da0' is corrupt; operation not permitted Date: Tue, 16 Jul 2013 13:44:04 -0700 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 20:44:08 -0000 Hello again, Not happy to be posting so much lately especially being so new. I grabbed a few disks from a Mac and am using them for sys disks. Upon booting from an install CD into a shell, I type; gpart show and see several partitions; 34 78165293 da0 GPT (37G) [CORRUPT] 34 6 - free - (3.0k) 40 409600 1 efi (200M) 409640 77493536 2 !52414944-0000-11aa-aa11-00306543eacac (37G) 77903176 262144 3 apple-boot (128M) 78165320 7 - free- (3.5k) Upon doing; gpart destroy da0 I get; gpart: Device busy Upon doing; gpart delete -i 1 da0 I get; gpart: table "da0" is corrupt: Operation not permitted Any insight would be huge, thanks in advance, - aurf From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 20:50:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1938E326 for ; Tue, 16 Jul 2013 20:50:07 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by mx1.freebsd.org (Postfix) with ESMTP id DE933E3 for ; Tue, 16 Jul 2013 20:50:06 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id eh20so1320066obb.39 for ; Tue, 16 Jul 2013 13:50:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=nqdugyfL7BgtZbjqYBZqc274O3F24BLKeup+YNb3yhg=; b=HbVaz5gWTVTJAtEl7+cO2xn+S4j5N8D4SWupsrDGep5FB3BYR5qcCLnBLHNkCxFKB7 LDPJ7ZI9M+SM4y9U4OP1j9eq6pMmRRtlNU5fPOZ52NvXnQHgnHVj/X7hROJh2m4a0GtT 0guyuwUs2L6I2GzijETHOpO+dDBSASh/H9KFtFFNztTF2uOkNtwbMXVTcsj6PPZcwNlF B9Buqvny/sCcuFjIQBqXLlUadDJNE+awCORemUgw1YJDbMPDc5ibhIDS8v2OjCcCoUAH y1Ksm1QtN60xtwuthqbkphBgDIe7pXCxIN4HYN3NpecvPPr0+HZ58oA0MEFEj8TZzpCi PfQA== MIME-Version: 1.0 X-Received: by 10.60.42.174 with SMTP id p14mr4055055oel.73.1374007800678; Tue, 16 Jul 2013 13:50:00 -0700 (PDT) Received: by 10.60.123.77 with HTTP; Tue, 16 Jul 2013 13:50:00 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Jul 2013 13:50:00 -0700 Message-ID: Subject: Re: gpart: table 'da0' is corrupt; operation not permitted From: Michael Sierchio To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnNtDovAHnbZymJPDi70+iifAAIf5CXrgpxF1UrXE8rErKqcr62l45zw/EWrWdl9R8pSEXF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 20:50:07 -0000 On Tue, Jul 16, 2013 at 1:44 PM, aurfalien wrote: > Upon doing; > > gpart destroy da0 > > I get; > > gpart: Device busy crude but effective: DISK=da0 offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'` dd if=/dev/zero of=/dev/$DISK bs=64k count=1 dd if=/dev/zero of=/dev/$DISK bs=64k seek=$offset gpart create -s gpt ${DISK} From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 20:57:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C06C493 for ; Tue, 16 Jul 2013 20:57:10 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 17B82131 for ; Tue, 16 Jul 2013 20:57:10 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kl14so1185735pab.6 for ; Tue, 16 Jul 2013 13:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=ln6fegHYE/AwkgPYChrZLpLkFORt4Pb3tzlA5O00FKY=; b=NJOAQ9mNNQgE+WMko/tbdsUPaqdQlpT9IHPBqjmwYtmefRDWtNZzop3/J3M8hXfWGw 36Qc1hBRVmTT69vIKq+AJ6xYPsis1BzkUKSUjO6tDRVeOIIaqbFKWlwt3vUqgM1C8W+L UNZRIEZ5Za35xLgZf75fzlqdhOYjPXU/xHpjsMCeplvBLxwTEeqv9wgLFhvH94gre4Up NpRTDFhhGg/zUEDCflVv3d2BEYxhxwdzLWrpsUCqzyG+Z8mPNzymTxr+O7Jon7aLzYQx Rvq4olAObsm6YO4c8QIXF7zFNFSS8a9ki+q2mX29bqzJ1Jb25HuFv8u/3CifpqReTimI QsRA== X-Received: by 10.66.121.170 with SMTP id ll10mr4352745pab.126.1374008229898; Tue, 16 Jul 2013 13:57:09 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id qb15sm6158375pab.13.2013.07.16.13.57.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 13:57:08 -0700 (PDT) Subject: Re: gpart: table 'da0' is corrupt; operation not permitted Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Tue, 16 Jul 2013 13:57:06 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Michael Sierchio X-Mailer: Apple Mail (2.1085) Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 20:57:10 -0000 On Jul 16, 2013, at 1:50 PM, Michael Sierchio wrote: > On Tue, Jul 16, 2013 at 1:44 PM, aurfalien = wrote: >=20 >> Upon doing; >>=20 >> gpart destroy da0 >>=20 >> I get; >>=20 >> gpart: Device busy >=20 > crude but effective: >=20 >=20 > DISK=3Dda0 >=20 > offset=3D`diskinfo $DISK | awk '{ print $4 - 131072 }'` > dd if=3D/dev/zero of=3D/dev/$DISK bs=3D64k count=3D1 > dd if=3D/dev/zero of=3D/dev/$DISK bs=3D64k seek=3D$offset >=20 > gpart create -s gpt ${DISK} This is what I ended up doing. I unplugged it, waited a few, re plugged and then I was able to = delete/destroy. I will keep your method on hand though as I prefer not doing a hot plug. - aurf= From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 22:01:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5E6C646A for ; Tue, 16 Jul 2013 22:01:03 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 21F273DA for ; Tue, 16 Jul 2013 22:01:02 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6GM12uM083511; Tue, 16 Jul 2013 16:01:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6GM11BH083508; Tue, 16 Jul 2013 16:01:02 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 16 Jul 2013 16:01:01 -0600 (MDT) From: Warren Block To: aurfalien Subject: Re: gpart: table 'da0' is corrupt; operation not permitted In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 16 Jul 2013 16:01:02 -0600 (MDT) Cc: Michael Sierchio , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 22:01:03 -0000 On Tue, 16 Jul 2013, aurfalien wrote: > > On Jul 16, 2013, at 1:50 PM, Michael Sierchio wrote: > >> On Tue, Jul 16, 2013 at 1:44 PM, aurfalien wrote: >> >>> Upon doing; >>> >>> gpart destroy da0 >>> >>> I get; >>> >>> gpart: Device busy >> >> crude but effective: >> >> >> DISK=da0 >> >> offset=`diskinfo $DISK | awk '{ print $4 - 131072 }'` >> dd if=/dev/zero of=/dev/$DISK bs=64k count=1 >> dd if=/dev/zero of=/dev/$DISK bs=64k seek=$offset >> >> gpart create -s gpt ${DISK} > > This is what I ended up doing. > > I unplugged it, waited a few, re plugged and then I was able to delete/destroy. > > I will keep your method on hand though as I prefer not doing a hot plug. Hot plug? That just wipes the beginning and end of the disk. I would erase 1M just to be sure. The more elegant version is gpart destroy -F da0 If it gives an error when doing that, disabling the safety may be necessary: sysctl kern.geom.debugflags=16 Do that only when necessary. It usually is not. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 22:10:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7FFB0843 for ; Tue, 16 Jul 2013 22:10:41 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pa0-x235.google.com (mail-pa0-x235.google.com [IPv6:2607:f8b0:400e:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 5B72D60E for ; Tue, 16 Jul 2013 22:10:41 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id tj12so1249948pac.12 for ; Tue, 16 Jul 2013 15:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=t/w+A19G1jM+rdmSpqHTw38gnNTF0njOQL4rkT/MzbY=; b=tSs4sPm0tMwTAGboL2j2ma8VlFlAgIOIWNhgAss3g5fwV3w7wcvfnfDNcY0R6EzrmA 9GbDaiQhvlRVWENxW5eyLuYX+2V/z5mM7ptLaSVBI43CW8IHCbJizpilM4pWs+1SBKxb +Npczv/Z36qG+E26TiNVMgRRWfxKP+Q0mFCwiv5AyxZC8cH2EGkzIBbGqEoIf8bTmLI+ tcoEz0C1XjFHptwU/8k9nrN/VDrhenCTzvDP5AaadvWHeYp2OrsntsD3LMd36lUVKAl1 nZ4bHLwKdvGa9D4Uv4R97dPEwX0+TftoXBt2jL3tNrSauiFk3eQ64LCaZZgjz3xltFyi Upkw== X-Received: by 10.66.11.197 with SMTP id s5mr4593938pab.129.1374012641076; Tue, 16 Jul 2013 15:10:41 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id wg6sm3990298pbc.3.2013.07.16.15.10.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 15:10:39 -0700 (PDT) Subject: Re: gpart: table 'da0' is corrupt; operation not permitted Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Tue, 16 Jul 2013 15:10:37 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <706BDFA7-0C04-4C16-96A7-61C145997554@gmail.com> References: To: Warren Block X-Mailer: Apple Mail (2.1085) Cc: Michael Sierchio , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 22:10:41 -0000 On Jul 16, 2013, at 3:01 PM, Warren Block wrote: > On Tue, 16 Jul 2013, aurfalien wrote: >=20 >>=20 >> On Jul 16, 2013, at 1:50 PM, Michael Sierchio wrote: >>=20 >>> On Tue, Jul 16, 2013 at 1:44 PM, aurfalien = wrote: >>>=20 >>>> Upon doing; >>>>=20 >>>> gpart destroy da0 >>>>=20 >>>> I get; >>>>=20 >>>> gpart: Device busy >>>=20 >>> crude but effective: >>>=20 >>>=20 >>> DISK=3Dda0 >>>=20 >>> offset=3D`diskinfo $DISK | awk '{ print $4 - 131072 }'` >>> dd if=3D/dev/zero of=3D/dev/$DISK bs=3D64k count=3D1 >>> dd if=3D/dev/zero of=3D/dev/$DISK bs=3D64k seek=3D$offset >>>=20 >>> gpart create -s gpt ${DISK} >>=20 >> This is what I ended up doing. >>=20 >> I unplugged it, waited a few, re plugged and then I was able to = delete/destroy. >>=20 >> I will keep your method on hand though as I prefer not doing a hot = plug. >=20 > Hot plug? That just wipes the beginning and end of the disk. I would = erase 1M just to be sure. >=20 > The more elegant version is >=20 > gpart destroy -F da0 Oh for sure, I did that after the hotplug which finally allowed me to f = do it. I had to hot plug a few times though. > If it gives an error when doing that, disabling the safety may be = necessary: sysctl kern.geom.debugflags=3D16 > Do that only when necessary. It usually is not. Funny, I did that based on some googling but no dice. I booted in both regular shel and Live CD. - aurf= From owner-freebsd-questions@FreeBSD.ORG Tue Jul 16 23:08:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 78E61438 for ; Tue, 16 Jul 2013 23:08:44 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [74.208.4.201]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE747FF for ; Tue, 16 Jul 2013 23:08:44 +0000 (UTC) Received: from moby.local ([77.49.59.95]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0M7YR7-1UBmy90szv-00xL31; Wed, 17 Jul 2013 01:08:32 +0200 Message-ID: <51E5D256.5070507@gmx.com> Date: Wed, 17 Jul 2013 02:08:06 +0300 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130714 Thunderbird/17.0.7 MIME-Version: 1.0 To: Johan Hendriks Subject: Re: to gmirror or to ZFS References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:L0rwq/EaRdh2Tql04S+MVvTeDuuS9AFFTetv0YYEqmz1d5eCgyh d013WeDH3HtELBWqLnfDf1lybJIfl8CXYNmuxNlfdvF9ecNay3EEPU0uMr2GOur8Dl6br0e r38PiznT4zlqVb2lQJRE+IPy98iMdA8OC34v79RSlV81s7UlbbMy6z3VLaDdsZoawFyRrZA p2CAjzcsIXu18fqKorlCw== Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 23:08:44 -0000 On 07/16/13 21:27, Johan Hendriks wrote: > Op dinsdag 16 juli 2013 schreef Charles Swiger (cswiger@mac.com) het > volgende: > >> Hi-- >> >> On Jul 16, 2013, at 10:33 AM, Johan Hendriks > >> wrote: >> [ ... ] >>> I would us a zfs for the os. >>> I have a couple of servers that did not survive a power failure with >>> gmirror. >>> The problems i had was when the power failed one disk was in a rebuilding >>> state and then when the background fsck started or was busy for some time >>> it would crash the whole server. >> >> Well, "don't do that". :-) > > > When the server reboots because of a powerfailure at night, then it boots. > Then it starts to rebuild the mirror on its own, and later the fsck kicks > in. > > Not much i can do about it. You could add geom_journal which will minimize the time of fsck to a second or something like that. Then you don't have to use background fsck anymore. Actually geom_journal's manual page mentions an interesting side-effect of geom_journal over a geom_mirror: you can turn off component synchronization. Geom_journal will re-play last writes so whatever was changed just before the crash will be re-written to both disks. I haven't used this but it makes sense in theory. > Maybe i should have done it without the automatic attachment for a new > device. I always turn off automatic synchronization or stale components as well. It seems to me that people don't really use geom_journal or maybe they just don't talk about it like it's some sort of secret:) just my two cents, Nikos From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 08:22:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9D43716A for ; Wed, 17 Jul 2013 08:22:08 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm21-vm0.bullet.mail.ird.yahoo.com (nm21-vm0.bullet.mail.ird.yahoo.com [212.82.108.204]) by mx1.freebsd.org (Postfix) with ESMTP id D9143C40 for ; Wed, 17 Jul 2013 08:22:07 +0000 (UTC) Received: from [77.238.189.227] by nm21.bullet.mail.ird.yahoo.com with NNFMP; 17 Jul 2013 08:22:00 -0000 Received: from [46.228.39.108] by tm16.bullet.mail.ird.yahoo.com with NNFMP; 17 Jul 2013 08:22:00 -0000 Received: from [127.0.0.1] by smtp145.mail.ir2.yahoo.com with NNFMP; 17 Jul 2013 08:22:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1374049320; bh=F0ngAdvu/Nz3Z/8c3bNskSQKapfliutlZk92C+c9M8w=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=Mwqw/GtuFkNLuWYqmDNkpv6I1ErgZO5XbivFzmqJCUzrr0PISUwK1NJlqDieJ2JHqxNv8Qv8wTMMVLU5LpfQNfwHcRL1nATsOQ7UD2yvbwX/R9LiITm7urUkhcblOzvzUNDF826V+ymLH/3wn5nZbU9zGa9XZNxc1XB2BEunkig= X-Yahoo-Newman-Id: 520507.34420.bm@smtp145.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: GwLu7e0VM1kfpOdNOx4Ag3d8cbcViMBdWoP0GV8IDdsDO3Y Z2FZFk.YyDHQgkpfXoKKYpwAOCAPgKH56iR2ToBdq2km4fr42SiMWrjRFaxH zW1fjZARS7.Ts0cmWKIvDN_sPJCc8mYQEMLmgdGrJGy_serG2zSnOPfKXeXP MYmVtk4fOnOmudVtmOY3yWoWHC2AVDKeDfh9MvkBZkREQRDg2fj_jGXIZrkB pCXCL29.u9LEXlxe5A9lYXFkR3U1PdS1wA4ZxjXjsovIwGkcV7ct_ZjV6oOS 4y7uqoOeIOPJWJOkvjyhsuFX57HrD4qNEyqfDWO9yxGKol28TetpUngFZtrZ DvUWtAWE3mFGLda70KxNuEkFg0EiJcmhs7v0eqhZYA01SoAeYfsXseKD8uXa 9ydSLvrI18SC0t9dYdiJoJw6jROg9H0vbW5B.a5Q0x86Da0e.2QAmBZiAtZk OE8S_RhMT2vkojyT1at7F1MxFeGg- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with ) by smtp145.mail.ir2.yahoo.com with SMTP; 17 Jul 2013 08:22:00 +0000 UTC Date: Wed, 17 Jul 2013 10:22:09 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Does geom_raid1e support raid10e? Message-Id: <20130717102209.509c812e0753dcdeee635890@yahoo.es> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 08:22:08 -0000 Hello, I want to know if geom_raid1e support raid10e level too. The difference between them is that 1e duplicates the 32-64-128-whatever block data size in all n disks in the raid1e but raid10e only between n/2 and n (a try to show it below), making raid10e bigger and more flexible than plains raid1/raid1e or raid10 respectively. In raid1e: Disk D1 D2 D3 D4 D5 Block a1 a1 a1 a1 a1 Block a2 a2 a2 a2 a2 Block a3 a3 a3 a3 a3 In raid10e: Disk D1 D2 D3 D4 D5 Block a1 a1 a1 a2 a2 Block a2 a3 a3 a3 a4 Block a4 a4 a5 a5 a5 In these examples, with block size of 128KB, raid1e will survive to fail of 4 disks and stores 128*3 = 384 KB; raid10e will survive to fail of 2 disks and stores 128*5 = 640 KB. In some literature, raid10e duplicates between 2 and n disks. --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 08:35:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6D7055D3 for ; Wed, 17 Jul 2013 08:35:41 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm14-vm1.bullet.mail.ird.yahoo.com (nm14-vm1.bullet.mail.ird.yahoo.com [77.238.189.91]) by mx1.freebsd.org (Postfix) with ESMTP id A2388CFD for ; Wed, 17 Jul 2013 08:35:40 +0000 (UTC) Received: from [77.238.189.53] by nm14.bullet.mail.ird.yahoo.com with NNFMP; 17 Jul 2013 08:35:39 -0000 Received: from [46.228.39.90] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 17 Jul 2013 08:35:39 -0000 Received: from [127.0.0.1] by smtp127.mail.ir2.yahoo.com with NNFMP; 17 Jul 2013 08:35:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1374050139; bh=bfWEIFCTtKuoUnWmCtdMWtsAsJ3htljJK6d/urNOsGA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=drOC8Af1ZlAugXuN2fmLVyIroZwRlbCSi/CKP15c6JGBG7YF5+2WoD7u8xF1Q3LTyGiWIRRCjvJpwqt7mgyTSMOc3y/PwTczXjsMPaiME6oqc3sk2eDGycUNa4vG1+Li3YdBiuT2PGMuo/gGsr7IXDvlTwiaWPusVr89cCSOFzY= X-Yahoo-Newman-Id: 144539.13160.bm@smtp127.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 2Y4OzMQVM1n_yM7lamF_ZuUURgtzbd1AewtyMgsrEqgAu7b P5kVIGl3mPylhcyqJAgUxhH9NtbgQz3ZomaZbv8KdukJILCsAvcVDnP0Tw4c t2ascsoSggQtqUkcaaE8.rcwxKUHwu2cF4fbkJG7flgo0_iDhN2jhKDx52ac EVE6caoaNn0MFeiLN5ez6FJ.H4bmc_0OpyhmKgjtMEwg.4dRxdrIq2EKVVmq 6OS4ERzEH1ehndydiIDNWQBkmd.LH12CfSucp7TwrX96jLrtJXkZ6m_ylEPx d3tCu29V8HzYLc4w0JRUrsuyfBRGOFidc_GB1H3G_EMBCOlhgzO5KRD_i1Uz GDLSjDQzTVTOWesCQIfM5Rng7DE6Ils8nJnSJTBNLJrG.bp3RBO2C5UAR7x0 huCQoVNwe2O0eU16pdvcJBF9GjNGVTWCkDMVBdx6BI6birfuy0fJJZbHUwTQ PUQ_cp146TdyZongOY1VgHrsN2nSxwwFRIvYFvJOWR_JSGbW3XDE1FwRGWLo gSe26rM3mA3GCrXnzOByYlQ.fV0_h.KKTAd_jBbCigjsh5GhzGrdUKi68q.t TBsnb7w2vBVmrL1HDLWdwrGhUoSUg X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with ) by smtp127.mail.ir2.yahoo.com with SMTP; 17 Jul 2013 08:35:39 +0000 UTC Date: Wed, 17 Jul 2013 10:35:47 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: FreeBSD software installation problems Message-Id: <20130717103547.607658ac46a7f30045ec25fe@yahoo.es> In-Reply-To: <6a2798a0.1b306.13fe8536cbd.Coremail.chenjunbing1234@126.com> References: <6a2798a0.1b306.13fe8536cbd.Coremail.chenjunbing1234@126.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 08:35:41 -0000 On Wed, 17 Jul 2013 00:32:28 +0800 (CST) chenjunbing1234 wrote: > questions@FreeBSD.org > Iknowvery littleEnglish, and Iwant to learnfreebsd,I was underftp://ftp.freebsd.org/pub/FreeBSD/doc/zh_CN.GB2312/books/handbook/above tutorialto installand preparation, andmeta lot of problems,Imade ​​athreehttp://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novicestep by stepinstallFreeBSD-9.0-RELEASE,not many peopleto helpMymainproblemis the softwareinstalled,I hopeto get your help. What problems did you met? I don't understand chinese, sorry. What do you try to install? The page http://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novice doesn't exist. Perhaps PC-BSD may help you to install it. --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 09:47:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C76C648 for ; Wed, 17 Jul 2013 09:47:37 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) by mx1.freebsd.org (Postfix) with ESMTP id 27A22FEC for ; Wed, 17 Jul 2013 09:47:37 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id hj3so1713617wib.6 for ; Wed, 17 Jul 2013 02:47:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Wyc5RSdfv26topmOIMliGFll3ZM9CFSMWD88lUWM7v8=; b=x0rUidSH3mFBzX43GhW5/9gfnzsrTrMm/9OaUkTbyWFuEw8dsi/3u5YHIKVkGKcXDQ IO9fulWHXYNhvxZFD2TrQorKAIuqCG8svcUlyo+/8tNB8ol6Htf4m5Ezg1a8Pq6A5It9 0oIhGmelsE3gs5V3HbJ1Y4nwjkxDvCLXzqfqHUs5HhmuXRPS34kM4kAK7UnFTWf0D1Kp a+MFn3M6WqseEcwiwmlYlKtfc2yX3bM2cSkFK91S0cxxflML1zL5D5XeLhZdtcVI0gmg +RL4+bwAjd2VO0CXKudjnF0MY9uwWcZZP3ihGeS1b0bcNLgL0LEDpZ11Ndt6uhJ5fOtt 3SQA== MIME-Version: 1.0 X-Received: by 10.194.2.13 with SMTP id 13mr4261036wjq.74.1374054456249; Wed, 17 Jul 2013 02:47:36 -0700 (PDT) Received: by 10.216.68.137 with HTTP; Wed, 17 Jul 2013 02:47:36 -0700 (PDT) In-Reply-To: <20130715162326.2571.qmail@irelay.ssr.com> References: <20130629162457.95950.qmail@irelay.ssr.com> <20130629191109.cd9444c9.freebsd@edvax.de> <20130629202823.97250.qmail@irelay.ssr.com> <20130715162326.2571.qmail@irelay.ssr.com> Date: Wed, 17 Jul 2013 10:47:36 +0100 Message-ID: Subject: Re: Adding another mirror to existing ZFS-root mirror? From: krad To: Scott Ballantyne Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 09:47:37 -0000 It should boot, although i havent run that configuration myself so cant say for certain have a look at gpart backup and restore for the labels, as you might as well make them the same and expand any swap space across all four drives. DOnt forget to install the bootloader as well Alternatively you could just give the raw disks to zfs On 15 July 2013 17:23, Scott Ballantyne wrote: > Hi, > > I have the current situation: > > sdb@gigawattmomma$ zpool status zroot > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > gpt/disk0 ONLINE 0 0 0 > gpt/disk1 ONLINE 0 0 0 > > > I boot directly from this. > > This article from Oracle: > > http://docs.oracle.com/cd/E19253-01/819-5461/gazgw/index.html > > implies I can add two more disks to the zroot pool with a > > zpool add zroot mirror disk2 disk3 to get > > zroot > mirror-0 > gpt/disk0 > gpt/disk1 > mirror-1 > gpt/disk2 > gpt/disk3 > > My questions: > > 1) Will booting still work? What do I need to do to make sure I can > still boot up the system? > > Perhaps related: > > 2) How do I use gpart to prep these disks? > > The current mirror has the usual three partitions (freebsd-boot, > freebsd-swap and freebsd-zfs), with boot code installed, obviously. Do > I need to do that with the second mirror, or can I just use the whole > thing for a freebsd-zfs filesystem? > > Sorry this was a bit long. Thanks in advance for any help. > > Best, > Scott > -- > sdb@ssr.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 09:51:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 194D687A for ; Wed, 17 Jul 2013 09:51:20 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by mx1.freebsd.org (Postfix) with ESMTP id A3216C3 for ; Wed, 17 Jul 2013 09:51:19 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so1573833wgh.7 for ; Wed, 17 Jul 2013 02:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PMrZEhc7qnZwGFWNe/ncKDmf/rC4yvJ+jUV1JlJnOdc=; b=HTs+QH2HLTV+mWvNnLJxrIjMaiGWT2mfrVWqkt0uEDTHaJbl5bwrFh9JgC9PPAIsTj qFaxqdr5uuNJaX7JoKUfUFDj7WKtO7JiNgPEtvabSB55306iIWviMkdamCsdBSbqRdlP e7UsdnoWdi3t7qc9QuGci6oWdu1vNbo2Yaa4McYoCp+98mYA9UMCEgK3/61W8opOio8n HSZO5kJx+QsvhfGHYMEGtCcVk1jTy35sfpFsEzvwOgTXKC2EVlevIivhMAK9HfvcFmBg NrdNeWeypZOH3sEiO1IOMtBL2QPAaMNih/C83CHMPJEoOLnFW4RkX+r2x0g+nA/0n37e UKQA== MIME-Version: 1.0 X-Received: by 10.180.206.70 with SMTP id lm6mr15236870wic.50.1374054677899; Wed, 17 Jul 2013 02:51:17 -0700 (PDT) Received: by 10.216.68.137 with HTTP; Wed, 17 Jul 2013 02:51:17 -0700 (PDT) In-Reply-To: <51E51558.50302@ShaneWare.Biz> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> Date: Wed, 17 Jul 2013 10:51:17 +0100 Message-ID: Subject: Re: to gmirror or to ZFS From: krad To: Shane Ambler Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions , aurfalien X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 09:51:20 -0000 You would in theory as from what i remember every zfs filesystem takes up 64 kb of ram, so the savings could be massive 8) On 16 July 2013 10:41, Shane Ambler wrote: > On 16/07/2013 14:41, aurfalien wrote: > >> >> On Jul 15, 2013, at 9:23 PM, Warren Block wrote: >> >> On Mon, 15 Jul 2013, aurfalien wrote: >>> >>> ... thats the question :) >>>> >>>> At any rate, I'm building a rather large 100+TB NAS using ZFS. >>>> >>>> However for my OS, should I also ZFS or simply gmirror as I've a >>>> dedicated pair of 256GB SSD drives for it. I didn't ask for SSD >>>> sys drives, this system just came with em. >>>> >>>> This is more of a best practices q. >>>> >>> >>> ZFS has data integrity checking, gmirror has low RAM overhead. >>> gmirror is, at present, restricted to MBR partitioning due to >>> metadata conflicts with GPT, so 2TB is the maximum size. >>> >>> Best practices... depends on your use. gmirror for the system >>> leaves more RAM for ZFS. >>> >> >> Perfect, thanks Warren. >> >> Just what I was looking for. >> > > I doubt that you would save any ram having the os on a non-zfs drive as > you will already be using zfs chances are that non-zfs drives would only > increase ram usage by adding a second cache. zfs uses it's own cache > system and isn't going to share it's cache with other system managed > drives. I'm not actually certain if the system cache still sits above > zfs cache or not, I think I read it bypasses the traditional drive cache. > > For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max > that is a system wide setting and isn't going to increase if you have > two zpools. > > Tip: set the arc_max value - by default zfs will use all physical ram > for cache, set it to be sure you have enough ram left for any services > you want running. > > Have you considered using one or both SSD drives with zfs? They can be > added as cache or log devices to help performance. > See man zpool under Intent Log and Cache Devices. > > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 10:06:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D4A3F50C for ; Wed, 17 Jul 2013 10:06:11 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5E6690 for ; Wed, 17 Jul 2013 10:06:11 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so1587596wgh.7 for ; Wed, 17 Jul 2013 03:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sc/puSz2y8JggaVTI+mviU+qS9VuIzD/ZAxC2smGwEk=; b=O+iL+7hmG1Nmt9w6Rm3FqnaIFOnlF6+GUD93xZm/Y04wh3YKfH017GSu3Fm6RJrGxM gxp3HfGx/QIFHABFgZDmej2QYVcqE7nMLmoultpmBm98FAxPhVENmZ9piRfrz5MokJCl 7HUIVy1ktb11Ic7Mmf4Jb28KVmWw2GTI81B/+ALZns+l5YJvy8U89tzjqtipzmg/c39H X1YzaiHGgWWJLQabjvPQ73NXhYjpB1Q+SSpUs4Yc6MiFQNGy0bGdX0EVEt6zOdYWRNDP bfylgKU0WfLOESC4NPyPHWqi+o5zfG+hKZ6rq+beDu2IeeyjZNqph+Osm+Zjfz1gjpn8 Ic+A== MIME-Version: 1.0 X-Received: by 10.194.2.13 with SMTP id 13mr4317354wjq.74.1374055570632; Wed, 17 Jul 2013 03:06:10 -0700 (PDT) Received: by 10.216.68.137 with HTTP; Wed, 17 Jul 2013 03:06:10 -0700 (PDT) In-Reply-To: <51E5D256.5070507@gmx.com> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> <51E5D256.5070507@gmx.com> Date: Wed, 17 Jul 2013 11:06:10 +0100 Message-ID: Subject: Re: to gmirror or to ZFS From: krad To: Nikos Vassiliadis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Johan Hendriks , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 10:06:11 -0000 not recommended anymore you should run SU+J if your version supports it On 17 July 2013 00:08, Nikos Vassiliadis wrote: > On 07/16/13 21:27, Johan Hendriks wrote: > >> Op dinsdag 16 juli 2013 schreef Charles Swiger (cswiger@mac.com) het >> volgende: >> >> Hi-- >>> >>> On Jul 16, 2013, at 10:33 AM, Johan Hendriks >> javascript:;>> >>> wrote: >>> [ ... ] >>> >>>> I would us a zfs for the os. >>>> I have a couple of servers that did not survive a power failure with >>>> gmirror. >>>> The problems i had was when the power failed one disk was in a >>>> rebuilding >>>> state and then when the background fsck started or was busy for some >>>> time >>>> it would crash the whole server. >>>> >>> >>> Well, "don't do that". :-) >>> >> >> >> When the server reboots because of a powerfailure at night, then it boots. >> Then it starts to rebuild the mirror on its own, and later the fsck kicks >> in. >> >> Not much i can do about it. >> > > You could add geom_journal which will minimize the time of fsck to a > second or something like that. Then you don't have to use background fsck > anymore. > > Actually geom_journal's manual page mentions an interesting > side-effect of geom_journal over a geom_mirror: > > you can turn off component synchronization. > > Geom_journal will re-play last writes so whatever was > changed just before the crash will be re-written to both disks. > I haven't used this but it makes sense in theory. > > > Maybe i should have done it without the automatic attachment for a new >> device. >> > > I always turn off automatic synchronization or stale components > as well. > > It seems to me that people don't really use geom_journal > or maybe they just don't talk about it like it's some > sort of secret:) > > just my two cents, > > Nikos > > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 10:48:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 663BC1B4 for ; Wed, 17 Jul 2013 10:48:11 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr004msr.fastwebnet.it (mr004msr.fastwebnet.it [85.18.95.67]) by mx1.freebsd.org (Postfix) with ESMTP id ECAF48CF for ; Wed, 17 Jul 2013 10:48:10 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr004msr.fastwebnet.it (8.5.140.03) (authenticated as secsec@fastwebnet.it) id 51CC06C0012D556C for freebsd-questions@freebsd.org; Wed, 17 Jul 2013 13:11:17 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 566927590B0; Wed, 17 Jul 2013 12:48:09 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from seashell.org (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id 628D27590AF for ; Wed, 17 Jul 2013 12:48:07 +0200 (CEST) Message-ID: <51E677AB.2090209@fuckaround.org> Date: Wed, 17 Jul 2013 12:53:31 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: FreeBSD Questions Subject: Re: rsyslog References: <51E5A735.80209@fuckaround.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 10:48:11 -0000 > ls /usr/local/share/examples/rsyslog/ > rsyslog-example.conf thanks! Is there a pre-configured rsyslog.conf? That file missed all base config like /var/log/messages /var/log/maillog thanks Pol From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 12:03:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CB91D850 for ; Wed, 17 Jul 2013 12:03:54 +0000 (UTC) (envelope-from rosti.bsd@gmail.com) Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) by mx1.freebsd.org (Postfix) with ESMTP id 6AE89BF2 for ; Wed, 17 Jul 2013 12:03:54 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id f11so1670444wgh.15 for ; Wed, 17 Jul 2013 05:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=atwZDphgRnXfqSlrQ4TUiMwlDNMUrCO4bV6alMF7Zmk=; b=kK/11CuGg34fGYwl5pHZp1/6hzFmVfyESpARyCkyFwX1La9xpjJRY+pRGJy3FHiikM fSjK4O7bzxvjegvprZr/bW3nzbacFbwhs6YZqGYHgO28Tu0AtS62iHlSBb0YkQGTgCgc HsxprmNAkBN4oIoIw5BysW7jzv3dd4Iljkj3+IRCfmcNMPiZpIoPTmjFJV82CZq9S4Og qfyuvVUf57/J1aze90hH6tr1uwEySR+wXw4oU8priXkTarGY4+CnufHFo+w4GSyqZFwB t5I/ENeP9hqFKFQjy+yM1zGHPV15P0oHHwNiEU+QKeG0Nz/NMdp5XF43bAE81N5ge3Q0 3uLA== MIME-Version: 1.0 X-Received: by 10.180.21.229 with SMTP id y5mr15376070wie.17.1374062633030; Wed, 17 Jul 2013 05:03:53 -0700 (PDT) Received: by 10.194.134.69 with HTTP; Wed, 17 Jul 2013 05:03:52 -0700 (PDT) Date: Wed, 17 Jul 2013 15:03:52 +0300 Message-ID: Subject: [bsdinstall] Precise disk slicing From: Rostislav Krasny To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 12:03:54 -0000 Hi, Previously in the sysinstall there was possible to define the start and the end LBA addresses of the new slice (new MBR partition). I didn't find how to do that in the bsdinstall. Is it possible? Thank you From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 12:14:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8BE59A8E for ; Wed, 17 Jul 2013 12:14:51 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog101.obsmtp.com (eu1sys200aog101.obsmtp.com [207.126.144.111]) by mx1.freebsd.org (Postfix) with ESMTP id DC598C52 for ; Wed, 17 Jul 2013 12:14:50 +0000 (UTC) Received: from mail-wg0-f53.google.com ([74.125.82.53]) (using TLSv1) by eu1sys200aob101.postini.com ([207.126.147.11]) with SMTP ID DSNKUeaKoLM8Z973yWuwtBIqLdldKxXjF7GL@postini.com; Wed, 17 Jul 2013 12:14:50 UTC Received: by mail-wg0-f53.google.com with SMTP id y10so1682654wgg.8 for ; Wed, 17 Jul 2013 05:14:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:reply-to:x-gm-message-state; bh=XQPGFPcGqk/yuYDxr7vhFEPQOUynbekuBiplrFAV2aY=; b=kIgo/X7yllOdo0Gg6KAbGa7Wya/sQAn3dzZUXkf3S4O+4pM2EwJui6yfnufm3m7eZk yt5XA+llqHsNHVZgyq61oUceDz51OhqnES9j+C2Pz4kUxk/lLnblv57hzftTCjLfAyI5 2oZ8ubzadCRc/q4vekpjRvjV/QspeYG0Hj3FDiJtXXQr8m+2IUIhYkOXfprrtunZQhl8 sgkxhocAcADaRr+w3ZaRniUfdCydo79Bc2GUT0SPiGSqtdGKk3o8M4IZpwcUCEYZm0cf Py+a1PSQOhzXNtqebCxOObOrxygrN0vyGLP6sAlBbYFSAdRDpWE5kxdRUG7a61IonGgV eHVA== X-Received: by 10.180.185.101 with SMTP id fb5mr4446776wic.44.1374063264614; Wed, 17 Jul 2013 05:14:24 -0700 (PDT) X-Received: by 10.180.185.101 with SMTP id fb5mr4446769wic.44.1374063264533; Wed, 17 Jul 2013 05:14:24 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id a6sm9235734wib.10.2013.07.17.05.14.22 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 05:14:23 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r6HCELB1058011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 17 Jul 2013 13:14:21 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r6HCELjV058010 for freebsd-questions@freebsd.org; Wed, 17 Jul 2013 13:14:21 +0100 (BST) (envelope-from mexas) Date: Wed, 17 Jul 2013 13:14:21 +0100 (BST) From: Anton Shterenlikht Message-Id: <201307171214.r6HCELjV058010@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: LC_CTYPE=fr_FR.ISO8859-1 with xterm - still French accented characters are corrupted X-Gm-Message-State: ALoCoQl68NvnOry5gCzoeLqjgoeh4rFAdDBebSQgExUOmesZdkWAwL3x9DhZMLkAvmuO80Ly9POF/+Y2AiQ4YkYjJy3xvDOhw3D7JzpDxocUF++Dd5lluelPMxpMu6abtD8nli0fkServxhhoGPy+5o86ODWdiIcpM/nxZePgaoAHIacKjyxNEWEptBAYDF+is7P2+lxIQiB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 12:14:51 -0000 I tried, in tcsh: % setenv |grep FR XTERM_LOCALE=fr_FR.ISO8859-1 LC_CTYPE=fr_FR.ISO8859-1 but the accented French characters are corrupted, e.g. in /usr/ports/french/aster/pkg-descr. I built xterm with % make -C /usr/ports/x11/xterm showconfig ===> The following configuration options are available for xterm-296: 256COLOR=on: Enable 256-color support DABBREV=off: Enable support for dabbrev-expand DECTERM=off: Enable DECterm Locator support GNOME=off: GNOME desktop environment support LUIT=on: Use LUIT for locale convertion from/to UTF-8 PCRE=on: Use Perl Compatible Regular Expressions SIXEL=on: Enable Sixel graphics support WCHAR=on: Enable wide-character support ===> Use 'make config' to modify these settings I usually can read russian with either ru_RU.KOI8-R or en_US.UTF-8 in xterm, so I think the xterm is set up correctly to view 8-bit characters. Please advise Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 13:39:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E7BF2E0D for ; Wed, 17 Jul 2013 13:39:20 +0000 (UTC) (envelope-from riesebie@lxtec.de) Received: from mailout3.hostsharing.net (mailout3.hostsharing.net [176.9.242.54]) by mx1.freebsd.org (Postfix) with ESMTP id A10CEFDC for ; Wed, 17 Jul 2013 13:39:20 +0000 (UTC) Received: from h06.hostsharing.net (h06.hostsharing.net [83.223.95.25]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailout3.hostsharing.net (Postfix) with ESMTPS id 0411A729A5 for ; Wed, 17 Jul 2013 15:39:13 +0200 (CEST) Received: from mail.home.lxtec.de (HSI-KBW-46-223-54-203.hsi.kabel-badenwuerttemberg.de [46.223.54.203]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by h06.hostsharing.net (Postfix) with ESMTPSA id 1849F1049B1C7 for ; Wed, 17 Jul 2013 15:39:11 +0200 (CEST) Received: from localhost ([127.0.0.1]) by mail.home.lxtec.de with esmtp (Exim 4.80 3 (LXTEC)) id 1UzRwl-0005DW-Uu for ; Wed, 17 Jul 2013 15:39:11 +0200 X-Virus-Scanned: Debian amavisd-new at mail.home.lxtec.de Received: from mail.home.lxtec.de ([127.0.0.1]) by localhost (mail.home.lxtec.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1IeP5mULhxuv for ; Wed, 17 Jul 2013 15:38:53 +0200 (CEST) Received: from riesebie by mail.home.lxtec.de with local (Exim 4.80 3 (LXTEC)) id 1UzRwT-0005DB-3k for ; Wed, 17 Jul 2013 15:38:53 +0200 Date: Wed, 17 Jul 2013 15:38:53 +0200 From: Elimar Riesebieter To: freebsd-questions@freebsd.org Subject: Re: LC_CTYPE=fr_FR.ISO8859-1 with xterm - still French accented characters are corrupted Message-ID: <20130717133853.GB8391@baumbart.home.lxtec.de> Mail-Followup-To: freebsd-questions@freebsd.org References: <201307171214.r6HCELjV058010@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <201307171214.r6HCELjV058010@mech-cluster241.men.bris.ac.uk> Organization: LXTEC User-Agent: Mutt/1.5.21+lxtec (2010-09-15) Sender: Elimar Riesebieter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 13:39:21 -0000 * Anton Shterenlikht [2013-07-17 13:14 +0100]: > I tried, in tcsh:=20 >=20 > % setenv |grep FR > XTERM_LOCALE=3Dfr_FR.ISO8859-1 > LC_CTYPE=3Dfr_FR.ISO8859-1 >=20 > but the accented French characters are corrupted, e.g. in > /usr/ports/french/aster/pkg-descr. >=20 > I built xterm with=20 >=20 > % make -C /usr/ports/x11/xterm showconfig > =3D=3D=3D> The following configuration options are available for xterm-29= 6: > 256COLOR=3Don: Enable 256-color support > DABBREV=3Doff: Enable support for dabbrev-expand > DECTERM=3Doff: Enable DECterm Locator support > GNOME=3Doff: GNOME desktop environment support > LUIT=3Don: Use LUIT for locale convertion from/to UTF-8 > PCRE=3Don: Use Perl Compatible Regular Expressions > SIXEL=3Don: Enable Sixel graphics support > WCHAR=3Don: Enable wide-character support > =3D=3D=3D> Use 'make config' to modify these settings >=20 > I usually can read russian with either > ru_RU.KOI8-R or en_US.UTF-8 in xterm, so I think > the xterm is set up correctly to view 8-bit characters. Doesn't fr_FR.UTF8 work? Elimar --=20 Do you smell something burning or ist it me? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 13:45:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 52282B1 for ; Wed, 17 Jul 2013 13:45:00 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1642DAF for ; Wed, 17 Jul 2013 13:44:59 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UzS2L-0007Je-Nt for freebsd-questions@freebsd.org; Wed, 17 Jul 2013 15:44:57 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jul 2013 15:44:57 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Jul 2013 15:44:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Purpose of /usr/local/lib/compat/pkg? Date: Wed, 17 Jul 2013 13:44:40 +0000 (UTC) Lines: 8 Message-ID: References: < alpine.BSF.2.00.1307161257100.82091@wonkity.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 13:45:00 -0000 On Tue, 16 Jul 2013 12:59:21 -0600, Warren Block wrote: > Install the excellent sysutils/bsdadminscripts and run pkg_libchk to > check for packages still depending on those libraries or missing ones. > If it doesn't complain, it's safe to delete them. Otherwise, rebuild > everything it complains about first. > Useful tip. Thanks! From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 16:28:41 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 47632968 for ; Wed, 17 Jul 2013 16:28:41 +0000 (UTC) (envelope-from michelbehr@gmail.com) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id D8D9CBE0 for ; Wed, 17 Jul 2013 16:28:40 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id m19so1988502wev.36 for ; Wed, 17 Jul 2013 09:28:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=27Adsqs/KqPbCA64BcoG9TVePM9oeWjUlGj60BK0QQQ=; b=xmfOHngnDg8hz0aXBQj8YCv1ap6wq8KPYFe9wlZ1rl5dDzBozE3D2sCEQJeN7ypu2U N7EpcR4ij3/lXP6V+Qf3cs9r74C0yJfcR4JYeK6cMKVbMQ5weyBrP/7ZGL5YeV2wexbG PrvyEjumx6RP4/at+4LY5kx48fwXXkD0oHg3EuazZrTT0bLVL/IvwixcwnVueGQLAS44 CLgt8uUZKeIgiaYOUT2BVF8rdMLrfjHiwdZhIX4GiEZFkPKZRWcyhPzJf4Dp8tqGiPnT XcxKnVseBPflE+ZYDGYsqc7KchKll4eJGHYQjFIISYkfqOFZEJTcTdIYNhqRoiBmCmo+ lbTA== MIME-Version: 1.0 X-Received: by 10.194.243.226 with SMTP id xb2mr5617647wjc.67.1374078519923; Wed, 17 Jul 2013 09:28:39 -0700 (PDT) Received: by 10.216.70.19 with HTTP; Wed, 17 Jul 2013 09:28:39 -0700 (PDT) Date: Wed, 17 Jul 2013 13:28:39 -0300 Message-ID: Subject: Bill Paul's network drivers From: Michel Behr To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 16:28:41 -0000 Hi I'm considering learning how to build drivers, so I can make my Lenovo S400 wireless card get detected by FreeBSD. The Architecture Handbook cites these "Bill Paul's network drivers". 9.5 Network Drivers: Drivers for network devices do not use device nodes in order to be accessed. Their selection is based on other decisions made inside the kernel and instead of calling open(), use of a network device is generally introduced by using the system call socket(2). For more information see ifnet(9), the source of the loopback device, and Bill Paul's network drivers. Where can I find those Bill Paul's network drivers? Cheers, Michel. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 17:00:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9A972251 for ; Wed, 17 Jul 2013 17:00:58 +0000 (UTC) (envelope-from neweshot.bounce@vansdirect.co.uk) Received: from mail29.vsg02.co.uk (mail29.vsg02.co.uk [193.128.122.113]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFCCDAA for ; Wed, 17 Jul 2013 17:00:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=eshot; d=vansdirect.co.uk; h=From:To:Reply-To:Subject:Date:Message-ID:List-Unsubscribe:MIME-Version:Content-Type; i=neweshot.bounce@vansdirect.co.uk; bh=rU8wLNaf+4CQtoN6k+CQy4yvwEU=; b=KKeoNZ5Z5gLcnrFMsHde4+/oPxVe1MeeEChinxBbFVC2Puv7PYWkCWTxGOn9wf/IVpNHio8Iso2m PAtZyGIcq7+fOBIkS4p21k53wx1WJ4hhceATMdtIJE3RQIfmYPBfJbuyX1dObWJ8E5DuDDSsrVSy GGrcYE50GDajdlFfrrs= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=eshot; d=vansdirect.co.uk; b=eLJagUuAUgU2uwM1dc1kfTMPwuBE4esK2iYMRZqrptLxrN66C/OZhzbphIhCX33b5Kktm50qeNdf 7lqePYuisSc481IdJ3KycIkQKi/5IDedeNkPnK8F6kaPYDIew8gQ4T1bPG4G3KoP0/b54PO4O7IG feJ/16r1b1jP44OCybA=; Received: from eshotservices02 (192.168.50.24) by mail29.vsg02.co.uk id hsr6sk1973k0 for ; Wed, 17 Jul 2013 17:23:32 +0100 (envelope-from ) From: "VanMan - Mad about vans" To: "=?utf-8?B?ZnJlZWJzZC1xdWVzdGlvbnNAZnJl?= =?utf-8?B?ZWJzZC5vcmd=?=" Subject: =?utf-8?B?U2l6emxpbmcgU3VtbWVyIFNhbGUt?= =?utf-8?B?IDEzIHBsYXRl?= Date: Wed, 17 Jul 2013 17:23:30 +0100 Message-ID: <20130717-17232891-2498-5@eshotservices02> X-VirtualServerGroup: BHC2 X-eshot: 1475:165:601074 X-job: 1475:165:0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--=D69D564482F040E99243_3C96_F3CD_6932" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: trade@vansdirect.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 17:00:58 -0000 ----=D69D564482F040E99243_3C96_F3CD_6932 Content-Type: text/plain;charset="utf-8" Content-Transfer-Encoding: Quoted-Printable Visit Vanman: http://enews.vansdirect.co.uk/NLI/LE35.ashx?a=3DCFD089989= 17CF420AB80DD08B077146F&b=3DFBFBD3EA1310D30E0FC86061384EDB29=20 OR call 0845 021 1111 =20 Sizzling Summer Prices - Ask about Air Conditioning options for your van - Sale on 13 plate vans: - Peugeot Partner - 1.6 S - Free plus pack - =C2=A3115 per month=20 - Citroen Berlingo Enterprise - 1.6HDi - Only =C2=A3129 per month - Transit Custom - 270 SWB L/R 100ps - Only =C2=A3185 per month - Transit 280 SWB - Trend L/R 125ps - Only =C2=A3195 per month - Citroen Relay 35 - LWB 2200 Hdi - Only =C2=A3199 per month - Nissan Navara 2.5 dCi - From =C2=A3205 per month All of these vehicles are in stock on 13 plates - call us for more stock vehicles Also, Don't miss this exclusive offer:- - Vauxhall Vivaro - SWB Sportive - in Black - Free ply-lining (Exclusive offer - 13 plates in stock- MUST go now -=C2=A0=C2=A0click = here to view offer) VanMan is a trading name of Vansdirect | =20 Company Number. 6971144 =20 Vansdirect Ltd, 3 Links Court, Fortran Road, St Mellons, Cardiff, CF3 0= LT. Registered in England & Wales 6971144 This message was sent to freebsd-questions@freebsd.org; We hope you fou= nd it relevant. However, if you'd rather not receive future e-mails fro= m us, please visit the opt-out link by clicking http://enews.vansdirec= t.co.uk/NLI/ManageProfile.aspx?a=3D58B90E03A6649BB336431844D7CAA782&b=3D= FBFBD3EA1310D30E0FC86061384EDB29 ----=D69D564482F040E99243_3C96_F3CD_6932-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 18:07:14 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 00A353BC for ; Wed, 17 Jul 2013 18:07:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id BB11D15B for ; Wed, 17 Jul 2013 18:07:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6HI7DIw091890; Wed, 17 Jul 2013 12:07:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6HI7CVG091887; Wed, 17 Jul 2013 12:07:12 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 17 Jul 2013 12:07:12 -0600 (MDT) From: Warren Block To: Michel Behr Subject: Re: Bill Paul's network drivers In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 17 Jul 2013 12:07:13 -0600 (MDT) Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 18:07:14 -0000 On Wed, 17 Jul 2013, Michel Behr wrote: > Hi > > I'm considering learning how to build drivers, so I can make my Lenovo S400 > wireless card get detected by FreeBSD. > > The Architecture Handbook cites these "Bill Paul's network drivers". > > 9.5 Network Drivers: Drivers for network devices do not use device nodes in > order to be accessed. Their selection is based on other decisions made > inside the kernel and instead of calling open(), use of a network device is > generally introduced by using the system call socket(2). > > For more information see ifnet(9), the source of the loopback device, and > Bill Paul's network drivers. > > Where can I find those Bill Paul's network drivers? In the source tree, mostly: find /usr/src -path "*/sys/dev/*" -exec grep -l "Bill Paul" {} \+ Joseph Kong's book "FreeBSD Device Drivers" will likely be useful, too: http://nostarch.com/bsddrivers.htm From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 20:57:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9ADC1178 for ; Wed, 17 Jul 2013 20:57:37 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 60A34B3B for ; Wed, 17 Jul 2013 20:57:37 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-77.dynamic.qsc.de [92.195.92.77]) by mx01.qsc.de (Postfix) with ESMTP id 38CD73C7B4; Wed, 17 Jul 2013 22:57:29 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r6HKvYIs001999; Wed, 17 Jul 2013 22:57:34 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 17 Jul 2013 22:57:34 +0200 From: Polytropon To: Elimar Riesebieter Subject: Re: LC_CTYPE=fr_FR.ISO8859-1 with xterm - still French accented characters are corrupted Message-Id: <20130717225734.4afc1a35.freebsd@edvax.de> In-Reply-To: <20130717133853.GB8391@baumbart.home.lxtec.de> References: <201307171214.r6HCELjV058010@mech-cluster241.men.bris.ac.uk> <20130717133853.GB8391@baumbart.home.lxtec.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 20:57:37 -0000 On Wed, 17 Jul 2013 15:38:53 +0200, Elimar Riesebieter wrote: > * Anton Shterenlikht [2013-07-17 13:14 +0100]: > > > I tried, in tcsh: > > > > % setenv |grep FR > > XTERM_LOCALE=fr_FR.ISO8859-1 > > LC_CTYPE=fr_FR.ISO8859-1 > > > > but the accented French characters are corrupted, e.g. in > > /usr/ports/french/aster/pkg-descr. > > > > I built xterm with > > > > % make -C /usr/ports/x11/xterm showconfig > > ===> The following configuration options are available for xterm-296: > > 256COLOR=on: Enable 256-color support > > DABBREV=off: Enable support for dabbrev-expand > > DECTERM=off: Enable DECterm Locator support > > GNOME=off: GNOME desktop environment support > > LUIT=on: Use LUIT for locale convertion from/to UTF-8 > > PCRE=on: Use Perl Compatible Regular Expressions > > SIXEL=on: Enable Sixel graphics support > > WCHAR=on: Enable wide-character support > > ===> Use 'make config' to modify these settings > > > > I usually can read russian with either > > ru_RU.KOI8-R or en_US.UTF-8 in xterm, so I think > > the xterm is set up correctly to view 8-bit characters. > > Doesn't fr_FR.UTF8 work? That probably won't matter. The characters in that file are normal 1-byte characters (ISO), not 2-byte ones (UTF-8). I have built xterm with no special options and can see them properly. For comparison: % echo $XTERM_LOCALE en_US.ISO8859-1 % echo $LC_CTYPE de_DE.ISO8859-1 % make -C /usr/ports/x11/xterm showconfig ===> The following configuration options are available for xterm-282: DABBREV=off: Enable support for dabbrev-expand DECTERM=off: Enable DECterm Locator support GNOME=off: GNOME desktop environment support LUIT=on: Use LUIT for locale convertion from/to UTF-8 PCRE=off: Use Perl Compatible Regular Expressions WCHAR=on: Enable wide-character support ===> Use 'make config' to modify these settings I assume you have all neccessary _fonts_ installed? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 21:11:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 70F2946F for ; Wed, 17 Jul 2013 21:11:28 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-wg0-x233.google.com (mail-wg0-x233.google.com [IPv6:2a00:1450:400c:c00::233]) by mx1.freebsd.org (Postfix) with ESMTP id 0EF28BCD for ; Wed, 17 Jul 2013 21:11:27 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id e11so2202453wgh.18 for ; Wed, 17 Jul 2013 14:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wCU+KsVHUX080gQNIDlMhheRY25Ks0jtklnBc2kjkd8=; b=A4ShCvECvWYDVkt+OMJLHB6Izgu7vB6hXFvrqEC+ZjMlHzeIi0uNVexmuZzWDwTcV+ xFRGcRXzTgQ6Rcn/mecMZOSAeSCcDpiZ97NKFdSpTHMuZEo27LF0S3iI1Bb3rzLxYLfW LxacwiyAIdZ1aLpG/ToCHMP+rPgSOMQC6g9kxDuYQ+XtEjbUeJfxsvBVfdsWGged4BbS 2gu3NPEbbUjFO/1v5Z/xpdyZrHj0ljdBaLlEEDOZXRXx2C1wAmkRMlC0yOayFDiNGFKG 6j0/mnGoetz/fICgggyUpyzGOcCnjGz2HCtmKwTrbywb4IJTSZJgzfkRnqULZPKUGCVa zegQ== MIME-Version: 1.0 X-Received: by 10.180.11.146 with SMTP id q18mr5952578wib.50.1374095487283; Wed, 17 Jul 2013 14:11:27 -0700 (PDT) Received: by 10.194.87.199 with HTTP; Wed, 17 Jul 2013 14:11:27 -0700 (PDT) Date: Wed, 17 Jul 2013 23:11:27 +0200 Message-ID: Subject: Help to secure my FreeBSD/Apache installation From: Andy Wodfer To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 21:11:28 -0000 Hi everybody! I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, php 5.3.3) and I server some websites from it, most of them using Joomla or Wordpress CMS. I recently had a security breach where someone used a hole in an older Joomla version and was able to install a php script called webadmin.php. >From that the person was able to browse all folders and view all files - and change them... not nice! Apache runs using the www user (std installation) and all virtualhosts share the same user, but are placed in different directories. I need some help and pointers to what I can do to strengthen security and to atleast prevent someone from writing to the filesystem and browse all directories and files. (allthough joomla needs some folders to be chmod 777) I'm thinking about installing apache2-mpm-itk or similare to jail each site into its own directory and run each virtualhost as its own user. Is this a good idea? Thankful for answers and pointers! All the best - Andy From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 21:39:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91CCBCF8 for ; Wed, 17 Jul 2013 21:39:29 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) by mx1.freebsd.org (Postfix) with ESMTP id 0BF44CE3 for ; Wed, 17 Jul 2013 21:39:28 +0000 (UTC) Received: from park.js.berklix.net (p5DCBE0EC.dip0.t-ipconnect.de [93.203.224.236]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id r6HLdRaH098027; Wed, 17 Jul 2013 21:39:27 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.14.3/8.14.3) with ESMTP id r6HLdFqi005860; Wed, 17 Jul 2013 23:39:15 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r6HLcpPf016224; Wed, 17 Jul 2013 23:39:11 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201307172139.r6HLcpPf016224@fire.js.berklix.net> To: Andy Wodfer Subject: Re: Help to secure my FreeBSD/Apache installation From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 17 Jul 2013 23:11:27 +0200." Date: Wed, 17 Jul 2013 23:38:51 +0200 Sender: jhs@berklix.com Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 21:39:29 -0000 Hi, Reference: > From: Andy Wodfer > Date: Wed, 17 Jul 2013 23:11:27 +0200 Andy Wodfer wrote: > Hi everybody! > > I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, To quote front page of http://www.freebsd.org: * Production: 9.1 * Legacy: 8.4 My net. con. is too slow right now to check this for you, but look yourself, I bet FreeBSD-8.1 was long ago declared by security-officer@ as not supported as too old, > php 5.3.3) and I server some websites from it, most of them using Joomla or > Wordpress CMS. > > I recently had a security breach where someone used a hole in an older > Joomla version and was able to install a php script called webadmin.php. > From that the person was able to browse all folders and view all files - > and change them... not nice! > > Apache runs using the www user (std installation) and all virtualhosts > share the same user, but are placed in different directories. > > I need some help and pointers to what I can do to strengthen security and > to atleast prevent someone from writing to the filesystem and browse all > directories and files. (allthough joomla needs some folders to be chmod 777) > > I'm thinking about installing apache2-mpm-itk or similare to jail each site > into its own directory and run each virtualhost as its own user. Is this a > good idea? > > Thankful for answers and pointers! > > All the best - > Andy Upgrade to 8.4 or 9.1, Reinstall new versions of all ports, cd /usr/ports/ports-mgmt/portaudit ; make install ; rehash ; portaudit ; # (Which is in 9.1 & not in 8.2) port-audit Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 21:48:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 71BF725D for ; Wed, 17 Jul 2013 21:48:43 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) by mx1.freebsd.org (Postfix) with ESMTP id 07036D87 for ; Wed, 17 Jul 2013 21:48:42 +0000 (UTC) Received: from park.js.berklix.net (p5DCBD232.dip0.t-ipconnect.de [93.203.210.50]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id r6HLmfjH098122; Wed, 17 Jul 2013 21:48:41 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.14.3/8.14.3) with ESMTP id r6HLmUSg005919; Wed, 17 Jul 2013 23:48:30 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r6HLm6Xt016294; Wed, 17 Jul 2013 23:48:26 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201307172148.r6HLm6Xt016294@fire.js.berklix.net> Subject: Re: Help to secure my FreeBSD/Apache installation From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 17 Jul 2013 23:38:51 +0200." Date: Wed, 17 Jul 2013 23:48:06 +0200 Sender: jhs@berklix.com Cc: freebsd-questions , Andy Wodfer X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 21:48:43 -0000 Hi, Reference: > From: "Julian H. Stacey" > Date: Wed, 17 Jul 2013 23:38:51 +0200 "Julian H. Stacey" wrote: > Hi, Reference: > > From: Andy Wodfer > > Date: Wed, 17 Jul 2013 23:11:27 +0200 > > Andy Wodfer wrote: > > Hi everybody! > > > > I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, > > To quote front page of http://www.freebsd.org: > * Production: 9.1 > * Legacy: 8.4 > My net. con. is too slow right now to check this for you, but look > yourself, I bet FreeBSD-8.1 was long ago declared by security-officer@ > as not supported as too old, Re version numbers: Your 8.1 STABLE does not exist ! Only 8 Stable, 8.1-RELEASE, 8.2-RELEASE, etc. http://www.freebsd.org/security/unsupported.html 8.1 & 8.2 not supported. http://www.freebsd.org/security/index.html#sup 9.1-RELEASE has /usr/ports/www/apache22/work/httpd-2.2.23 > Upgrade to 8.4 or 9.1, > Reinstall new versions of all ports, > cd /usr/ports/ports-mgmt/portaudit ; make install ; rehash ; portaudit ; > # (Which is in 9.1 & not in 8.2) > port-audit Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 22:00:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 58C94B3D for ; Wed, 17 Jul 2013 22:00:25 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from eu1sys200aog111.obsmtp.com (eu1sys200aog111.obsmtp.com [207.126.144.131]) by mx1.freebsd.org (Postfix) with ESMTP id A2C0FE4B for ; Wed, 17 Jul 2013 22:00:24 +0000 (UTC) Received: from mail-wg0-f43.google.com ([74.125.82.43]) (using TLSv1) by eu1sys200aob111.postini.com ([207.126.147.11]) with SMTP ID DSNKUecT8sTO7JMlGJTeaqLk8IM2E5XfHZXA@postini.com; Wed, 17 Jul 2013 22:00:24 UTC Received: by mail-wg0-f43.google.com with SMTP id z11so2235594wgg.34 for ; Wed, 17 Jul 2013 15:00:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:message-id:to:subject:cc:reply-to:in-reply-to :x-gm-message-state; bh=G9aJfanq3XCEYwJ5hyIV95SzTsBdqchS0ZniLRhDWD0=; b=gFXqQzRGsftt+osDlsP9yrjLAsJhNKH3Z3upVjtsxRWEArcyGJp568uRv7UWcLUB7Q uogokUxno7W27rPM6FdSw+XnjXK61BdtmVEYi9it0u/Z+nV+KaNTdZQlpamWese6JXB3 G20iswdWntT5PwmFaCMLz00kw1JdXWABdof2Td4RLbqwtxxkrDL2RebvCKcdz7N60sNl Yq+JxfNmwGD9E2q5EdmtEgU90SOsDiCc988pyvi8JrOsc+1ZjpYKoPLXvdbppyJ15e16 3hxaK1F3Ze/yfDGzs7CpvSRzKGMLLAwy41y96uF/QiZ+KaFFm2kzH2Dm9vyKlKXqlTGJ K1Kg== X-Received: by 10.194.63.229 with SMTP id j5mr6236594wjs.79.1374098418134; Wed, 17 Jul 2013 15:00:18 -0700 (PDT) X-Received: by 10.194.63.229 with SMTP id j5mr6236591wjs.79.1374098418061; Wed, 17 Jul 2013 15:00:18 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id a6sm12562183wib.10.2013.07.17.15.00.16 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 17 Jul 2013 15:00:17 -0700 (PDT) Sender: Anton Shterenlikht Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6) with ESMTP id r6HM0EhV025191 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 17 Jul 2013 23:00:15 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.7/8.14.6/Submit) id r6HM0EAF025190; Wed, 17 Jul 2013 23:00:14 +0100 (BST) (envelope-from mexas) Date: Wed, 17 Jul 2013 23:00:14 +0100 (BST) From: Anton Shterenlikht Message-Id: <201307172200.r6HM0EAF025190@mech-cluster241.men.bris.ac.uk> To: freebsd@edvax.de Subject: SOLVED [WAS: Re: LC_CTYPE=fr_FR.ISO8859-1 with xterm - still French accented characters are corrupted In-Reply-To: <20130717225734.4afc1a35.freebsd@edvax.de> X-Gm-Message-State: ALoCoQlbdDwsp9o9I1KfE+5dDWEo8thf772UxmSm7e9mzvHUBATUWAXszgqFiczvookkJXwuEDeiJ2PdcbkJrG+WJPjHF1pvzKnDx4fcs8rVOqH2hfo/H5ACSdvxXFHt/SI5TwW6RfMZu0RkTVDgqf0oqrZuG/md9BLW2dFLqcNKTANsEzFnnTTDLnrN6emsT2McQRKWwtLG Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 22:00:25 -0000 >Date: Wed, 17 Jul 2013 22:57:34 +0200 >From: Polytropon >To: Elimar Riesebieter >Subject: Re: LC_CTYPE=fr_FR.ISO8859-1 with xterm - still French accented > characters are corrupted >On Wed, 17 Jul 2013 15:38:53 +0200, Elimar Riesebieter wrote: >> * Anton Shterenlikht [2013-07-17 13:14 +0100]: >> >> > I tried, in tcsh: >> > >> > % setenv |grep FR >> > XTERM_LOCALE=fr_FR.ISO8859-1 >> > LC_CTYPE=fr_FR.ISO8859-1 >> > >> > but the accented French characters are corrupted, e.g. in >> > /usr/ports/french/aster/pkg-descr. >> > >> > I built xterm with >> > >> > % make -C /usr/ports/x11/xterm showconfig >> > ===> The following configuration options are available for xterm-296: >> > 256COLOR=on: Enable 256-color support >> > DABBREV=off: Enable support for dabbrev-expand >> > DECTERM=off: Enable DECterm Locator support >> > GNOME=off: GNOME desktop environment support >> > LUIT=on: Use LUIT for locale convertion from/to UTF-8 >> > PCRE=on: Use Perl Compatible Regular Expressions >> > SIXEL=on: Enable Sixel graphics support >> > WCHAR=on: Enable wide-character support >> > ===> Use 'make config' to modify these settings >> > >> > I usually can read russian with either >> > ru_RU.KOI8-R or en_US.UTF-8 in xterm, so I think >> > the xterm is set up correctly to view 8-bit characters. >> >> Doesn't fr_FR.UTF8 work? > >That probably won't matter. The characters in that file are >normal 1-byte characters (ISO), not 2-byte ones (UTF-8). >I have built xterm with no special options and can see >them properly. *skip* >I assume you have all neccessary _fonts_ installed? oh.. fonts! I realised I have russian fonts in .Xdefaults. I removed those and now can see accented characters fine. Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Wed Jul 17 22:25:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CDE416FC for ; Wed, 17 Jul 2013 22:25:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7DDE8F72 for ; Wed, 17 Jul 2013 22:25:26 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-77.dynamic.qsc.de [92.195.92.77]) by mx02.qsc.de (Postfix) with ESMTP id 5D6C124CA9; Thu, 18 Jul 2013 00:17:11 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r6HMHGIr002309; Thu, 18 Jul 2013 00:17:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 18 Jul 2013 00:17:16 +0200 From: Polytropon To: Andy Wodfer Subject: Re: Help to secure my FreeBSD/Apache installation Message-Id: <20130718001716.a5f4994d.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 22:25:27 -0000 On Wed, 17 Jul 2013 23:11:27 +0200, Andy Wodfer wrote: > Hi everybody! > > I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, > php 5.3.3) and I server some websites from it, most of them using Joomla or > Wordpress CMS. Those are typical (and known) attack vectors. Make sure you're always up to date regarding fixes! > I recently had a security breach where someone used a hole in an older > Joomla version and was able to install a php script called webadmin.php. > From that the person was able to browse all folders and view all files - > and change them... not nice! This implies you cannot know in how far your system has been compromized. I'd suggest a new installation. Make backups of user files and configurations. Make sure you audit them (so you won't re-install a possible backdoor after a clean install). > I need some help and pointers to what I can do to strengthen security and > to atleast prevent someone from writing to the filesystem and browse all > directories and files. (allthough joomla needs some folders to be chmod 777) > I'm thinking about installing apache2-mpm-itk or similare to jail each site > into its own directory and run each virtualhost as its own user. Is this a > good idea? At least it is a _working_ idea. If it is actually a good idea depends on many different factors. Jails are a good means of separation. Sometimes, using "simple user accounts" is sufficient, but especially regarding complex web content (such as CMS, stuff that involves PHP and whatnot) the more security you can add, the better it is. Also install portaudit to check for security fixes that have been made available for the software you're running. Apply restrictions as hard as possible. If programs want write access to specific directories, try to make then writable per uer accounts, not within the global tree structure (or even within system directories). The "nobody" user can also be helpful (regarding on what you are running). If you can separate the different CMSs and sites, a possible security breach will be restricted to that only instance. It can be taken down without affecting the other sites. But also: Educate your users. In order to do that, use money. Make them pay. ;-) PS. Allow me a short addition, I know people will beat me with a pointed stick for mentioning it, but: There are no "folders". This term is wrong. What you mean are called directories. A folder is the name of one visual representation (among others) of a directory in a graphical user interface. It _is_ not a directory and it is not similar to one. It's comparable to the relation of the handbrake light in your car's dashboard vs. the real handbrake. Don't claim your handbrake light isn't working when in fact your handbrake is broken. :-) Bottom line: Directory correct, "folder" plain wrong. You don't call files "sheets of paper" either. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 09:20:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ED69C161; Thu, 18 Jul 2013 09:20:13 +0000 (UTC) (envelope-from tomek.cedro@gmail.com) Received: from mail-qc0-x236.google.com (mail-qc0-x236.google.com [IPv6:2607:f8b0:400d:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id A6AC2109; Thu, 18 Jul 2013 09:20:13 +0000 (UTC) Received: by mail-qc0-f182.google.com with SMTP id e10so1579276qcy.13 for ; Thu, 18 Jul 2013 02:20:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=kuUrbmJpJVptvE1ujVtaC8AHGetLR7j5S/GtEOiNzVQ=; b=yozMTWnOk79M80ES5lQ8auQj4npzVLHimh2plvGmkZ6EKAIUtz/tTspHD/NqpB64Fj y8hnxYKAadMAamI288o1RfY7rMjZv1pAH1v7WTX3JaU643ebGGr+betV7to3acKPWCSl vAiACN4MuPyk7xliiT2X8UbWMZYrXFrt71ahuwnOmXQSLnEddN8FVwKYFmfpzryoyA6Q L8eQDaW4T41plG7WRIthhaBrOidfPEXz2epyRN0RKzMhpMMVtetVE40jVnTigJd5/f0X iYyGFTgfUqM9HNa6gtVLZq+47id4lxDgkdykI88WRvHt7fM0z8bfnTGz3lXeWCkCIOfg u/mg== MIME-Version: 1.0 X-Received: by 10.224.74.212 with SMTP id v20mr12858811qaj.65.1374139213080; Thu, 18 Jul 2013 02:20:13 -0700 (PDT) Sender: tomek.cedro@gmail.com Received: by 10.49.35.84 with HTTP; Thu, 18 Jul 2013 02:20:13 -0700 (PDT) Date: Thu, 18 Jul 2013 11:20:13 +0200 X-Google-Sender-Auth: 8cZjA7vXElpCsMcFKfjtXZ81Gps Message-ID: Subject: usb wifi dongle for advanced testing - recommendation request From: CeDeROM To: "freebsd-usb@FreeBSD.org" , FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 09:20:14 -0000 Hello :-) I am looking for a really good and well supported WiFi USB dongle for advanced testing like network sniffing, packet injection, setting up access point, etc. I guess that would be Atheros based device? Can you recommend a solution that works for you? :-) Thank you! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 09:43:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 78AE66AD for ; Thu, 18 Jul 2013 09:43:01 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3D35B1D8 for ; Thu, 18 Jul 2013 09:43:01 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uzkjc-00057e-Lk for freebsd-questions@freebsd.org; Thu, 18 Jul 2013 11:42:52 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jul 2013 11:42:52 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Jul 2013 11:42:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: textproc/hunspell and readline? Date: Thu, 18 Jul 2013 09:42:35 +0000 (UTC) Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 09:43:01 -0000 I note that the Makefile for textproc/hunspell has '--with-readline' in the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe it is, but at any rate it isn't recorded as a dependency or a shlib). 9.1-RELEASE-p4 amd64 with pkgng. Is there a reason for this? From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 10:59:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AC2CB93D for ; Thu, 18 Jul 2013 10:59:14 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4B94F75B for ; Thu, 18 Jul 2013 10:59:14 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r6IAx0YY021963 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 18 Jul 2013 11:59:08 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r6IAx0YY021963 Authentication-Results: smtp.infracaninophile.co.uk/r6IAx0YY021963; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <51E7CA73.40708@freebsd.org> Date: Thu, 18 Jul 2013 11:58:59 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130715 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: textproc/hunspell and readline? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 10:59:14 -0000 On 18/07/2013 10:42, Walter Hurry wrote: > I note that the Makefile for textproc/hunspell has '--with-readline' in > the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe > it is, but at any rate it isn't recorded as a dependency or a shlib). > > 9.1-RELEASE-p4 amd64 with pkgng. > > Is there a reason for this? libreadline.so is in base Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 12:11:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 75C6F9F3 for ; Thu, 18 Jul 2013 12:11:07 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 31914A52 for ; Thu, 18 Jul 2013 12:11:06 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r6IBhKkK062779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2013 06:43:20 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Jul 2013 06:43:20 -0500 From: dweimer To: FreeBSD Questions Subject: Dell Latitude E6520 Xorg Problems Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 12:11:07 -0000 Is anyone out there running FreeBSD on a Dell Latitude E6520? I am struggling to Xorg to start, doing the Xorg -configure I get "number of created screens does not match number of detected devices" I have tried with an external monitor attached and laptop closed, with external monitor attached and laptop open, and with no external monitor. All same results, I did remember to disable the Optimus feature in the bios, even tried enabling it, no change. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 12:42:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 647DA366 for ; Thu, 18 Jul 2013 12:42:33 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 28C2BB91 for ; Thu, 18 Jul 2013 12:42:32 +0000 (UTC) Received: from steiner.cc.vt.edu (steiner.cc.vt.edu [198.82.163.51]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id r6ICXSqq014352 for ; Thu, 18 Jul 2013 08:42:02 -0400 Received: from auth3.smtp.vt.edu (auth3.smtp.vt.edu [198.82.161.152]) by steiner.cc.vt.edu (MOS 4.3.3-GA) with ESMTP id YGU32298; Thu, 18 Jul 2013 08:42:02 -0400 X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu 0 none Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id r6ICg1FO005145 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Thu, 18 Jul 2013 08:42:01 -0400 From: Paul Mather Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Is pkgng supposed to upgrade a dependency of a locked package? Message-Id: <6E003358-F64D-4AA7-9C5B-FAA2918389DC@gromit.dlib.vt.edu> Date: Thu, 18 Jul 2013 08:42:01 -0400 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 12:42:33 -0000 I am using pkgng 1.1.4_1 on RELENG_9 (r252725), operating on a local = repo I maintain using poudriere 3.0.4. Recently, I wanted to upgrade all packages on a client except two whose = update I want to defer for now as they potentially impact = locally-developed applications. I figured I would use the pkgng "lock" = functionality on those two packages (apache-solr and py27-Jinja2) to = prevent them from being updated. I ran "pkg upgrade" on the client and, = as expected, the locked packages weren't upgraded. However, I was = surprised to see that packages upon which the locked packages depended = were upgraded. Unless I'm misunderstanding something, the man page for = pkg-lock states this should not happen: =3D=3D=3D=3D=3D The impact of locking a package is wider than simply preventing = modifica- tions to the package itself. Any operation implying modification = of the locked package will be blocked. This includes: [[...]] o Deletion, up- or downgrade of any package the locked package = depends upon, either directly or as a consequence of installing or = upgrading some third package. =3D=3D=3D=3D=3D In my case, the following dependencies of apache-solr were updated, even = though apache-solr is locked: java-zoneinfo: 2013.c -> 2013.d; libXi: = 1.7.1_1,1 -> 1.7.2,1; libXrender: 0.9.7_1 -> 0.9.8; and openjdk: 7.21.11 = -> 7.25.15. In the case of the locked py27-Jinja2, these dependencies = were updated: gettext: 0.18.1.1_1 -> 0.18.3; and py27-MarkupSafe: 0.15 = -> 0.18. Dependency information in the two locked packages was updated = to reflect these new, upgraded dependencies. Is this a bug, or am I misreading the man page? Cheers, Paul.= From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 12:56:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 05225719 for ; Thu, 18 Jul 2013 12:56:31 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 7D57EC2B for ; Thu, 18 Jul 2013 12:56:30 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r6ICuPBU023868 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 18 Jul 2013 13:56:26 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r6ICuPBU023868 Authentication-Results: smtp.infracaninophile.co.uk/r6ICuPBU023868; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <51E7E5F9.50107@freebsd.org> Date: Thu, 18 Jul 2013 13:56:25 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130715 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Is pkgng supposed to upgrade a dependency of a locked package? References: <6E003358-F64D-4AA7-9C5B-FAA2918389DC@gromit.dlib.vt.edu> In-Reply-To: <6E003358-F64D-4AA7-9C5B-FAA2918389DC@gromit.dlib.vt.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 12:56:31 -0000 On 18/07/2013 13:42, Paul Mather wrote: > I am using pkgng 1.1.4_1 on RELENG_9 (r252725), operating on a local repo I maintain using poudriere 3.0.4. > > Recently, I wanted to upgrade all packages on a client except two whose update I want to defer for now as they potentially impact locally-developed applications. I figured I would use the pkgng "lock" functionality on those two packages (apache-solr and py27-Jinja2) to prevent them from being updated. I ran "pkg upgrade" on the client and, as expected, the locked packages weren't upgraded. However, I was surprised to see that packages upon which the locked packages depended were upgraded. Unless I'm misunderstanding something, the man page for pkg-lock states this should not happen: > > ===== > The impact of locking a package is wider than simply preventing modifica- > tions to the package itself. Any operation implying modification of the > locked package will be blocked. This includes: > [[...]] > o Deletion, up- or downgrade of any package the locked package depends > upon, either directly or as a consequence of installing or upgrading > some third package. > ===== > > In my case, the following dependencies of apache-solr were updated, even though apache-solr is locked: java-zoneinfo: 2013.c -> 2013.d; libXi: 1.7.1_1,1 -> 1.7.2,1; libXrender: 0.9.7_1 -> 0.9.8; and openjdk: 7.21.11 -> 7.25.15. In the case of the locked py27-Jinja2, these dependencies were updated: gettext: 0.18.1.1_1 -> 0.18.3; and py27-MarkupSafe: 0.15 -> 0.18. Dependency information in the two locked packages was updated to reflect these new, upgraded dependencies. > > Is this a bug, or am I misreading the man page? That's a bug, definitely. The way the man page describes the effect of locking is what should happen -- nothing a locked package depends on should be modified by pkg without some extra input from the administrator to allow the change to happen. Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 13:12:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EAB6FEB1 for ; Thu, 18 Jul 2013 13:12:09 +0000 (UTC) (envelope-from openslateproj@gmail.com) Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 82D8FD65 for ; Thu, 18 Jul 2013 13:12:09 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id hf12so2330900vcb.29 for ; Thu, 18 Jul 2013 06:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2Ycd5HUa37AxiSLXacTRLqaqBQ2ooI42k6sJmWrzVjg=; b=TIhOfRcMLFiMSXRZ/rXl+DNma2bY8ofqDc5EiWs27Gl+u1rDsLMszgTvNbuzdO6YZi 0AB4shQV8G6q11A57pMzpey+EUa32HupDVajOj2cvmOWbuLNbCute6yX2uFGlWL/D0UP blqCJzdQQxpvo2ACeQZ7hvKEYzpKVlgk8xXszS5pchzSyBfR24/V/Ppzkx007QX9Xxl+ qXfF3g8bjAGdyPqsgxP595AMzEeWjYnM/g946DTTv/9mo6L10/s0uI7IWTSUMmK/YZJW HVITY/PSBRv+sKVhinjof3ikgHxnSN06HNyXV2gYwCYAziLS4KyUvf6RwHgKsMvaWwVG UFLw== MIME-Version: 1.0 X-Received: by 10.220.198.133 with SMTP id eo5mr3992201vcb.24.1374153128987; Thu, 18 Jul 2013 06:12:08 -0700 (PDT) Received: by 10.220.47.69 with HTTP; Thu, 18 Jul 2013 06:12:08 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jul 2013 03:12:08 -1000 Message-ID: Subject: Re: Dell Latitude E6520 Xorg Problems From: OpenSlate ChalkDust To: dweimer@dweimer.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 13:12:10 -0000 Does it work with the lid open and no additional monitor attached? On Thu, Jul 18, 2013 at 1:43 AM, dweimer wrote: > Is anyone out there running FreeBSD on a Dell Latitude E6520? > > I am struggling to Xorg to start, doing the Xorg -configure I get "number > of created screens does not match number of detected devices" I have tried > with an external monitor attached and laptop closed, with external monitor > attached and laptop open, and with no external monitor. All same results, > I did remember to disable the Optimus feature in the bios, even tried > enabling it, no change. > > -- > Thanks, > Dean E. Weimer > http://www.dweimer.net/ > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > -- Gary Dunn Open Slate Project http://openslate.org/ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 13:38:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7C7C686B for ; Thu, 18 Jul 2013 13:38:11 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 415E0E8A for ; Thu, 18 Jul 2013 13:38:10 +0000 (UTC) Received: from [192.168.190.106] (97-87-202-242.static.stls.mo.charter.com [97.87.202.242] (may be forged)) (authenticated bits=0) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r6IDc9o9066212 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 18 Jul 2013 08:38:10 -0500 (CDT) (envelope-from dweimer@dweimer.net) References: Mime-Version: 1.0 (1.0) In-Reply-To: Message-Id: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> X-Mailer: iPad Mail (10B329) From: "Dean E. Weimer" Subject: Re: Dell Latitude E6520 Xorg Problems Date: Thu, 18 Jul 2013 08:38:08 -0500 To: OpenSlate ChalkDust Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 13:38:11 -0000 Nope, but perhaps I found some information, that has me in going in the righ= t direction, this has an integrated intel video card with the core i7, in pr= ocess of rebuilding world and kernel with Kim's and xorg_new set in make.con= f. Sent from my iPad On Jul 18, 2013, at 8:12 AM, OpenSlate ChalkDust w= rote: > Does it work with the lid open and no additional monitor attached? >=20 >=20 > On Thu, Jul 18, 2013 at 1:43 AM, dweimer wrote: >> Is anyone out there running FreeBSD on a Dell Latitude E6520? >>=20 >> I am struggling to Xorg to start, doing the Xorg -configure I get "number= of created screens does not match number of detected devices" I have tried w= ith an external monitor attached and laptop closed, with external monitor at= tached and laptop open, and with no external monitor. All same results, I d= id remember to disable the Optimus feature in the bios, even tried enabling i= t, no change. >>=20 >> --=20 >> Thanks, >> Dean E. Weimer >> http://www.dweimer.net/ >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >=20 >=20 >=20 > --=20 > Gary Dunn > Open Slate Project > http://openslate.org/ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 13:41:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AF57E94C for ; Thu, 18 Jul 2013 13:41:07 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 817DAEAB for ; Thu, 18 Jul 2013 13:41:07 +0000 (UTC) Received: from [192.168.190.106] (97-87-202-242.static.stls.mo.charter.com [97.87.202.242] (may be forged)) (authenticated bits=0) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r6IDf6V8066306 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 18 Jul 2013 08:41:07 -0500 (CDT) (envelope-from dweimer@dweimer.net) References: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> Mime-Version: 1.0 (1.0) In-Reply-To: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPad Mail (10B329) From: "Dean E. Weimer" Subject: Re: Dell Latitude E6520 Xorg Problems Date: Thu, 18 Jul 2013 08:41:06 -0500 To: OpenSlate ChalkDust Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 13:41:07 -0000 Oops stupid iPAD spell correct Kim's =3D KMS. Sent from my iPad On Jul 18, 2013, at 8:38 AM, "Dean E. Weimer" wrote: > Nope, but perhaps I found some information, that has me in going in the ri= ght direction, this has an integrated intel video card with the core i7, in p= rocess of rebuilding world and kernel with Kim's and xorg_new set in make.co= nf. >=20 > Sent from my iPad >=20 > On Jul 18, 2013, at 8:12 AM, OpenSlate ChalkDust = wrote: >=20 >> Does it work with the lid open and no additional monitor attached? >>=20 >>=20 >> On Thu, Jul 18, 2013 at 1:43 AM, dweimer wrote: >>> Is anyone out there running FreeBSD on a Dell Latitude E6520? >>>=20 >>> I am struggling to Xorg to start, doing the Xorg -configure I get "numbe= r of created screens does not match number of detected devices" I have tried= with an external monitor attached and laptop closed, with external monitor a= ttached and laptop open, and with no external monitor. All same results, I d= id remember to disable the Optimus feature in the bios, even tried enabling i= t, no change. >>>=20 >>> --=20 >>> Thanks, >>> Dean E. Weimer >>> http://www.dweimer.net/ >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.= org" >>=20 >>=20 >>=20 >> --=20 >> Gary Dunn >> Open Slate Project >> http://openslate.org/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" >=20 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 13:50:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 95CC1D09 for ; Thu, 18 Jul 2013 13:50:16 +0000 (UTC) (envelope-from openslateproj@gmail.com) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [IPv6:2607:f8b0:400c:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 57A04F17 for ; Thu, 18 Jul 2013 13:50:16 +0000 (UTC) Received: by mail-ve0-f173.google.com with SMTP id jw11so2518465veb.18 for ; Thu, 18 Jul 2013 06:50:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vg1bOfmP0alPfZTBpBChc73XKb3KB5wSqP2+OrthOoU=; b=Gd6BP9cdr/7YrH7Z8B0K50awdF8ke54YqPHwZX1Os/o9LKdn3748dvbcDJVfmMyjdx C0y6EZSyh2Pr3n/a/2SwA3kquc1igAox1cZ9308i1aylKe/8Vn3Bq003osvft3FgaX9g r+QkOCZ2ax13r6zCr3uGGAr9LiMd3YNnf+hou6vaDOv4cb3W1Z8qlpWxgLX74dHpmxY1 77xQE55CHrDQ5CiOGIglWalY5XEiJY1FINvcd2LVUzQ7rNy1ztuBv7Aij67LB7p94Erq WGmbO06/WEUTHE7Kbg+NwdRMimzGS7q+KrTA+9yzt9MPxYGxTdfR07qk4sijyD1DY5qr zElw== MIME-Version: 1.0 X-Received: by 10.58.227.198 with SMTP id sc6mr4055167vec.59.1374155415903; Thu, 18 Jul 2013 06:50:15 -0700 (PDT) Received: by 10.220.47.69 with HTTP; Thu, 18 Jul 2013 06:50:15 -0700 (PDT) Received: by 10.220.47.69 with HTTP; Thu, 18 Jul 2013 06:50:15 -0700 (PDT) In-Reply-To: References: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> Date: Thu, 18 Jul 2013 03:50:15 -1000 Message-ID: Subject: Re: Dell Latitude E6520 Xorg Problems From: OpenSlate ChalkDust To: "Dean E. Weimer" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 13:50:16 -0000 I am interested in your solution as I plan to more from my old desktop to a notebook, most likely the same Dell you have. Have you gotten as far as WiFi? Dell has a bad reputation for network drivers, especially WiFi. On Jul 18, 2013 3:41 AM, "Dean E. Weimer" wrote: > Oops stupid iPAD spell correct Kim's = KMS. > > Sent from my iPad > > On Jul 18, 2013, at 8:38 AM, "Dean E. Weimer" wrote: > > > Nope, but perhaps I found some information, that has me in going in the > right direction, this has an integrated intel video card with the core i7, > in process of rebuilding world and kernel with Kim's and xorg_new set in > make.conf. > > > > Sent from my iPad > > > > On Jul 18, 2013, at 8:12 AM, OpenSlate ChalkDust < > openslateproj@gmail.com> wrote: > > > >> Does it work with the lid open and no additional monitor attached? > >> > >> > >> On Thu, Jul 18, 2013 at 1:43 AM, dweimer wrote: > >>> Is anyone out there running FreeBSD on a Dell Latitude E6520? > >>> > >>> I am struggling to Xorg to start, doing the Xorg -configure I get > "number of created screens does not match number of detected devices" I > have tried with an external monitor attached and laptop closed, with > external monitor attached and laptop open, and with no external monitor. > All same results, I did remember to disable the Optimus feature in the > bios, even tried enabling it, no change. > >>> > >>> -- > >>> Thanks, > >>> Dean E. Weimer > >>> http://www.dweimer.net/ > >>> _______________________________________________ > >>> freebsd-questions@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>> To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > >> > >> > >> > >> -- > >> Gary Dunn > >> Open Slate Project > >> http://openslate.org/ > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 14:04:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 544D67C for ; Thu, 18 Jul 2013 14:04:12 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 06606FBE for ; Thu, 18 Jul 2013 14:04:11 +0000 (UTC) Received: from [192.168.190.106] (97-87-202-242.static.stls.mo.charter.com [97.87.202.242] (may be forged)) (authenticated bits=0) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r6IE4AT7067004 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 18 Jul 2013 09:04:10 -0500 (CDT) (envelope-from dweimer@dweimer.net) References: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> Mime-Version: 1.0 (1.0) In-Reply-To: Message-Id: X-Mailer: iPad Mail (10B329) From: "Dean E. Weimer" Subject: Re: Dell Latitude E6520 Xorg Problems Date: Thu, 18 Jul 2013 09:04:09 -0500 To: OpenSlate ChalkDust Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 14:04:12 -0000 I have only gone as far as scanning wifi and it did find all the ssids I exp= ected. System is now recompiling the xorg ports with new kernel and world i= n place. Sent from my iPad On Jul 18, 2013, at 8:50 AM, OpenSlate ChalkDust w= rote: > I am interested in your solution as I plan to more from my old desktop to a= notebook, most likely the same Dell you have. >=20 > Have you gotten as far as WiFi? Dell has a bad reputation for network driv= ers, especially WiFi. >=20 > On Jul 18, 2013 3:41 AM, "Dean E. Weimer" wrote: >> Oops stupid iPAD spell correct Kim's =3D KMS. >>=20 >> Sent from my iPad >>=20 >> On Jul 18, 2013, at 8:38 AM, "Dean E. Weimer" wrote= : >>=20 >> > Nope, but perhaps I found some information, that has me in going in the= right direction, this has an integrated intel video card with the core i7, i= n process of rebuilding world and kernel with Kim's and xorg_new set in make= .conf. >> > >> > Sent from my iPad >> > >> > On Jul 18, 2013, at 8:12 AM, OpenSlate ChalkDust wrote: >> > >> >> Does it work with the lid open and no additional monitor attached? >> >> >> >> >> >> On Thu, Jul 18, 2013 at 1:43 AM, dweimer wrote: >> >>> Is anyone out there running FreeBSD on a Dell Latitude E6520? >> >>> >> >>> I am struggling to Xorg to start, doing the Xorg -configure I get "nu= mber of created screens does not match number of detected devices" I have tr= ied with an external monitor attached and laptop closed, with external monit= or attached and laptop open, and with no external monitor. All same results= , I did remember to disable the Optimus feature in the bios, even tried enab= ling it, no change. >> >>> >> >>> -- >> >>> Thanks, >> >>> Dean E. Weimer >> >>> http://www.dweimer.net/ >> >>> _______________________________________________ >> >>> freebsd-questions@freebsd.org mailing list >> >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb= sd.org" >> >> >> >> >> >> >> >> -- >> >> Gary Dunn >> >> Open Slate Project >> >> http://openslate.org/ >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" >> > From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 14:18:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 41882625 for ; Thu, 18 Jul 2013 14:18:28 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 06459F5 for ; Thu, 18 Jul 2013 14:18:27 +0000 (UTC) Received: from [192.168.190.106] (97-87-202-242.static.stls.mo.charter.com [97.87.202.242] (may be forged)) (authenticated bits=0) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r6IEIQB3067425 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 18 Jul 2013 09:18:26 -0500 (CDT) (envelope-from dweimer@dweimer.net) References: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> Mime-Version: 1.0 (1.0) In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPad Mail (10B329) From: "Dean E. Weimer" Subject: Re: Dell Latitude E6520 Xorg Problems Date: Thu, 18 Jul 2013 09:18:25 -0500 To: OpenSlate ChalkDust Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 14:18:28 -0000 Success X is running after some more playing to verify what works and doesn'= t I will post back with full config, FYI I did have to re-enable Optimus aft= er rebuilding with KMS. Sent from my iPad On Jul 18, 2013, at 9:04 AM, "Dean E. Weimer" wrote: > I have only gone as far as scanning wifi and it did find all the ssids I e= xpected. System is now recompiling the xorg ports with new kernel and world= in place. >=20 > Sent from my iPad >=20 > On Jul 18, 2013, at 8:50 AM, OpenSlate ChalkDust = wrote: >=20 >> I am interested in your solution as I plan to more from my old desktop to= a notebook, most likely the same Dell you have. >>=20 >> Have you gotten as far as WiFi? Dell has a bad reputation for network dri= vers, especially WiFi. >>=20 >> On Jul 18, 2013 3:41 AM, "Dean E. Weimer" wrote: >>> Oops stupid iPAD spell correct Kim's =3D KMS. >>>=20 >>> Sent from my iPad >>>=20 >>> On Jul 18, 2013, at 8:38 AM, "Dean E. Weimer" wrot= e: >>>=20 >>>> Nope, but perhaps I found some information, that has me in going in the= right direction, this has an integrated intel video card with the core i7, i= n process of rebuilding world and kernel with Kim's and xorg_new set in make= .conf. >>>>=20 >>>> Sent from my iPad >>>>=20 >>>> On Jul 18, 2013, at 8:12 AM, OpenSlate ChalkDust wrote: >>>>=20 >>>>> Does it work with the lid open and no additional monitor attached? >>>>>=20 >>>>>=20 >>>>> On Thu, Jul 18, 2013 at 1:43 AM, dweimer wrote: >>>>>> Is anyone out there running FreeBSD on a Dell Latitude E6520? >>>>>>=20 >>>>>> I am struggling to Xorg to start, doing the Xorg -configure I get "nu= mber of created screens does not match number of detected devices" I have tr= ied with an external monitor attached and laptop closed, with external monit= or attached and laptop open, and with no external monitor. All same results= , I did remember to disable the Optimus feature in the bios, even tried enab= ling it, no change. >>>>>>=20 >>>>>> -- >>>>>> Thanks, >>>>>> Dean E. Weimer >>>>>> http://www.dweimer.net/ >>>>>> _______________________________________________ >>>>>> freebsd-questions@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freeb= sd.org" >>>>>=20 >>>>>=20 >>>>>=20 >>>>> -- >>>>> Gary Dunn >>>>> Open Slate Project >>>>> http://openslate.org/ >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" >>>>=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g" >=20 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 14:26:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D61857B1 for ; Thu, 18 Jul 2013 14:26:43 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-x22f.google.com (mail-lb0-x22f.google.com [IPv6:2a00:1450:4010:c04::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 63B4D14F for ; Thu, 18 Jul 2013 14:26:43 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id r10so2597145lbi.34 for ; Thu, 18 Jul 2013 07:26:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1VF/977yulBqA6OOERV343xVt05RqOgGAkRIvisoNIM=; b=DcGpO//OwN13xyuIcQhfWYv66gfE/Ffixn3POH17VNUuYbHMbwZOurGyd25gFTEFZU 1UFdKzKVvo2hpiDSBEO7ig4Fp/u07ViGiiLPRQAQkS/HKC9hWmZj13wpxQadZrjWSKGw Q4rxrJVUSdXPZJivZiEJh881DjDoBPvVuMIJx+81LcvuD9kWy9S2ZSPBG+ZTmVkGlSXG Vvf1PskBv+Mo/F3nazp4/Z5HJ1jq2RvNcOUoYEbW6S59EKVdKPdAxXpAGlDnn9WOjKxr fu7991sgk9WDYYQTmzlg6wmkSqx7u79CkemPAxpljk9nM0MaRLr7gU294MV5jtHrfS0z Rltw== MIME-Version: 1.0 X-Received: by 10.112.20.66 with SMTP id l2mr5576686lbe.48.1374157602194; Thu, 18 Jul 2013 07:26:42 -0700 (PDT) Received: by 10.112.67.135 with HTTP; Thu, 18 Jul 2013 07:26:42 -0700 (PDT) Date: Thu, 18 Jul 2013 18:56:42 +0430 Message-ID: Subject: does journaling cause DMA-WRITE failure? From: s m To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 14:26:43 -0000 hello all, i have freebsd8.2 on my system with journaled gpt partitions. occasionally, i see the below errors in startup and system doesn't boot correctly. if i restart system, it boot normally and every thing is ok. these errors are: ad3: WARNING - WRITE_DMA requeued due to channel reset LBA=635411 ad3: WARNING - READ_DMA requeued due to channel reset LBA=635411 ata1: FAILURE - already active DMA on this device ata1: setting up DMA failed ad3: WARNING - WRITE_DMA requeued due to channel reset LBA=635411 ata1: FAILURE - already active DMA on this device and these errors are shown repeatedly. i have two question: does journaling cause to happen these errors? and if i set hw.ata.ata_dma to 0, is it resolve the problem? if yes, has it any side effect or not? any comments or hints are really appreciated. SAM From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 14:29:33 2013 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9A288877 for ; Thu, 18 Jul 2013 14:29:33 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id E0BB016F for ; Thu, 18 Jul 2013 14:29:32 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by 28amen.org (8.14.5/8.13.6) with ESMTP id r6IETEuR014442 for ; Thu, 18 Jul 2013 14:29:24 GMT Message-ID: <51E7FBBA.4090709@robinlea.com> Date: Thu, 18 Jul 2013 21:29:14 +0700 From: john francis lee User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: questions@FreeBSD.org Subject: trashed installation ? Content-Type: multipart/mixed; boundary="------------030907050702090401020901" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 14:29:33 -0000 This is a multi-part message in MIME format. --------------030907050702090401020901 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, I got FreeBSD 10 CURRENT installed in a virtualbox on my ubuntu desktop, had installed x11, and was working on gnome (the 3rd day of compilation !) when I lost power ... twice in a row. The FreeBSD recovered the first time but it doesn't look good this second time. I attach a screenshot. I installed the guest editions as well (another day's compilation !) but mouse doesn't work in the FreeBSD terminal and there's no way I can copy text, or share anything via the clipboard. I'm afraid it's shot and I'll have to spend another week recreating a FreeBSD virtualbox guest ... unless you can tell me how to fix this one. Hope to hear from you, but if I haven't by tomorrow I'll just go ahead and wipe this machine and try again ... with pkgs instead of ports this time. Might not a take a week that way. I get the impression that there's no one reading my mails, or else no interest in my problems. Fair enough. What do I expect for free, right? Thanks for the software anyway. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand --------------030907050702090401020901-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 14:58:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 703133AB for ; Thu, 18 Jul 2013 14:58:38 +0000 (UTC) (envelope-from feld@freebsd.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 4A95F2D2 for ; Thu, 18 Jul 2013 14:58:37 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 399A820E33 for ; Thu, 18 Jul 2013 10:58:37 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Thu, 18 Jul 2013 10:58:37 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=gmywrPvvuFO36ADdAO8/T7EwRaE=; b=Ee8 yrI5mOOg6dVbsALvyMzRKYkFfeBk+Z2jELW2eQzeWWOGcFAbGi5Eub9hH0YhyuHe 2ieVJ+8t5BU6dsBzkEJFE/NaMKfbmc0Fvol84PCT0T0yNJCoF5fHS9u7E+keXaYg jVNBINcYj0QaPUyE/yUt+lXV59if8tYMtvBjnk/E= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id 1D173B00003; Thu, 18 Jul 2013 10:58:37 -0400 (EDT) Message-Id: <1374159517.31308.140661257169281.0AB70AA8@webmail.messagingengine.com> X-Sasl-Enc: 0lDbETbHrXQrDXCi4pnoyEVDpG19MzsLBD9ynyazNoie 1374159517 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-01299b66 In-Reply-To: <51E7FBBA.4090709@robinlea.com> References: <51E7FBBA.4090709@robinlea.com> Subject: Re: trashed installation ? Date: Thu, 18 Jul 2013 09:58:37 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 14:58:38 -0000 John, Can you link to the screenshots? They're stripped when you post to the mailing list. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 15:42:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CE38CF85 for ; Thu, 18 Jul 2013 15:42:01 +0000 (UTC) (envelope-from andy@balholm.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 992B56D3 for ; Thu, 18 Jul 2013 15:42:00 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=O6MA4nNW c=1 sm=0 tr=0 a=2AdnQ58rmhUdJrAIWwsKfQ==:117 a=2AdnQ58rmhUdJrAIWwsKfQ==:17 a=K-v-2zaBAAAA:8 a=c3c8EV7VYOkA:10 a=N659UExz7-8A:10 a=6d4CiLQ1AAAA:8 a=6I5d2MoRAAAA:8 a=veIvJii4UIIA:10 a=GXMa7k_sAAAA:8 a=tW3DqdBTeEvlcPJKb-MA:9 a=pILNOxqGKmIA:10 a=SZeMz2o1f9YA:10 a=JLDbO_X_RdcA:10 a=lAzXm-Q2DDoA:10 a=3_yY8EWNDhAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.embarq.synacor.com smtp.user=andybalholm@centurylink.net; auth=pass (LOGIN) Received: from [174.31.93.192] ([174.31.93.192:1828] helo=balholm.com) by smtp.centurylink.net (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPSA (cipher=AES256-SHA) id 87/24-12047-0CC08E15; Thu, 18 Jul 2013 11:41:53 -0400 Received: from andys-imac.lan (andys-imac.lan [10.1.10.203]) by balholm.com (8.14.7/8.14.7) with ESMTP id r6IFfnEI087095 for ; Thu, 18 Jul 2013 08:41:49 -0700 (PDT) (envelope-from andy@balholm.com) From: Andy Balholm Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: pppoe connection freezes Message-Id: Date: Thu, 18 Jul 2013 08:41:50 -0700 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 15:42:01 -0000 I have CenturyLink DSL, and I use the user-space ppp program in FreeBSD = 9.1 to make the PPPoE connection. =46rom time to time (every few days) = the connection freezes up=97no more data can be sent or received. No = error shows up in ppp.log; all I can see there is that there are no more = RecvEchoRequest and SendEchoReply entries after the connection freezes. = If I send SIGINT to the ppp program, it reconnects just fine. I talked to CenturyLink's tech support, and they said that one of the = times that I had a problem, the connection was dropped on their end, but = the others it was fine. My ppp command line is ppp -nat -ddial centurylink My ppp.conf: default: set log Phase Chat LCP IPCP CCP tun command disable ipv6cp centurylink: set device PPPoE:rl0 enable lqr set authname balholmandrew@qwest.net set authkey ######## set dial set login add default HISADDR Is there a setting I can add to ppp.conf to make it detect when the = connection freezes? Or is there something else that I need to fix? Andy Balholm (509) 276-2065 andy@balholm.com From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 20:10:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 71D2D134 for ; Thu, 18 Jul 2013 20:10:05 +0000 (UTC) (envelope-from sirgcal@gmail.com) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) by mx1.freebsd.org (Postfix) with ESMTP id 0F9526BA for ; Thu, 18 Jul 2013 20:10:04 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id n11so3224986wgh.21 for ; Thu, 18 Jul 2013 13:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=HbIN1Cntf50Eehvh8jEaZx56utTFwEMHhV3T747MWHg=; b=pNo/Ow1PwdQU2OxJpBcsP6Z3em8A5q7/w2PRqlpiHQcxTjPq/4cBsy8eN9hj7qecwy cPyZHy7Q3qXN23XGlZcQ1CAULF8U6YuA2Y0fnHSYWWa7sK+xfj3PcJd+IPS2hVOF0WVn Ezv/Al5PCrRd/Y+qmVBCZhg2VWWHrWCy02wJwEgsDcjLJUUQtQAyswvwkLNWm1w3wMPq KVYmUumDKCDTUYkQbkvefRgIfbOS9ksWxxZFGTlmjhtAcZf3W4nBjeIkrCbubg2ofLvL iY30rtRnlI4KhiwRqQbA3lf0xhJiohfPzxBakk6giV8b8ivQzP56Yaq5jDr9lvc5z01j qFVQ== MIME-Version: 1.0 X-Received: by 10.194.87.9 with SMTP id t9mr10208555wjz.39.1374178204243; Thu, 18 Jul 2013 13:10:04 -0700 (PDT) Sender: sirgcal@gmail.com Received: by 10.194.108.72 with HTTP; Thu, 18 Jul 2013 13:10:04 -0700 (PDT) Date: Thu, 18 Jul 2013 15:10:04 -0500 X-Google-Sender-Auth: 748vgFfcGA5ZgAQ9tU0hDEz9WcE Message-ID: Subject: FreeBSD/NAS Item Not Working From: Christopher Stiefel To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 20:10:05 -0000 Well, I've come to the determination that a simple SATA card driver isn't working in FreeBSD/NAS,etc. I've tried everything. CentOS/Ubuntu/Redhat, etc. all work no problems, but I wanted to use ZFS which I was finally able to do with Ubuntu but I wanted to do this setup with FreeBSD but the driver wasn't there. I have a much more detailed setup of the information here with the errors, the card, etc. and was sent to this mailing list by one of the moderators there: http://forums.FreeBSD.org/showthread.php?t=40894 The card is a 4-channel sata PCIe card model number SI-PEX40062. I plan to use three of them per system in another build to build two systems that mirror each other for a 12-drive RAIDZ3 mirrored storage test system. Hence the need for 4 ports per card, etc. It works great in the full 'nix flavors but I was hoping the BSD flavors would also favor it but it turns out for some reason this particular driver seems to be missing. Anyhow; here it is. There ya go. If there is anything else I can do to help. I'd be happy to use my hardware and a USB boot drive for testing for ya anytime... Christopher Stiefel Member of Technical Staff (MTS) From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 22:13:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C80626F9 for ; Thu, 18 Jul 2013 22:13:15 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 636A3C13 for ; Thu, 18 Jul 2013 22:13:15 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id m15so3359266wgh.23 for ; Thu, 18 Jul 2013 15:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RF+qu8nGSLRRJruAOkjTq4ZQY3hOof0aAl/ZgYeR2C4=; b=ZB/tQ35WhcJOfuyl8qSwn8JxaZBtyURfSukfujEPgchdrQvEL4hxNEu4WbKeRjmXBa Tj/h5Pd/U5+grDTW3hRJss8Gx0/2JWqpLb6Wgmk4jO3CMorqrlag2xfhRrlCbu5jDM6q dCjMsyHfxzFIWbnUKxbJwJB5kaIjiXotgH4djGCd3ZsvLZF0rtiDmBYvM+85roYjB/Mx VjPMLqgAkbb/OpqzJa07Qnj893RL/kO+hAU50VLeAS9+e7V+wyg5BY7a3zypuXk8UA1Q n+zRYCG2Qe6dpk+nnpDZc1cFXJk+ZVy0PraJWfPysqnieYe4WxPj8ckg9MEUuWMrVKJ7 is+A== MIME-Version: 1.0 X-Received: by 10.194.84.205 with SMTP id b13mr9759209wjz.92.1374185594476; Thu, 18 Jul 2013 15:13:14 -0700 (PDT) Received: by 10.194.103.41 with HTTP; Thu, 18 Jul 2013 15:13:14 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jul 2013 17:13:14 -0500 Message-ID: Subject: Re: does journaling cause DMA-WRITE failure? From: Adam Vande More To: s m Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 22:13:15 -0000 On Thu, Jul 18, 2013 at 9:26 AM, s m wrote: > i have two question: does journaling cause to happen these errors? Perhaps indirectly as increased load on a flaky disk/driver can cause these. Mostly likely you have a failing drive though. > and if i > set hw.ata.ata_dma to 0, is it resolve the problem? Not resolve, perhaps workaround > if yes, has it any side > effect or not? > As for the third question, yes it will dramatically decrease disk io speed unless it's already slow because it's failing. > > any comments or hints are really appreciated. > SAM > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Jul 18 22:34:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DA80DDBF for ; Thu, 18 Jul 2013 22:34:03 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-gh0-f173.google.com (mail-gh0-f173.google.com [209.85.160.173]) by mx1.freebsd.org (Postfix) with ESMTP id 9E576CF7 for ; Thu, 18 Jul 2013 22:34:03 +0000 (UTC) Received: by mail-gh0-f173.google.com with SMTP id g16so1115795ghb.32 for ; Thu, 18 Jul 2013 15:34:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=i2m9jUptM53xsryle0FnJb7HtcovU5hoe9+qHl6CIbE=; b=M+4jbX89SwTbq9RXf2kHZx5+OkLXaPRfcNCKHDx/2gnrGTLUvsyUa5KpInESFCrltv b9psQqhv+dwU1aNxbN3oaUtXQmXeboq07Bz/cidylE15mADpO5TtCa+oiuNNQhdOx3jx jdognEa657TqX6/nUHEJs0e9YGrL5WQuXe1xaXeSOlPmr+OZ65zagoKWmurdI8UeO0Ir LQIYA0SESjCYMP10Syl9EDTHsyqsUs3MqLgxB0w5WpYD86yNWlk6J6aVy7Z+n3OIrnM+ OOIRnn3wPyszv7PlFyp2pjhHfafAhKDvR9LD+svNMnWQ2pFl7ymQe+7SJX8dERnKbPUn NsnA== X-Received: by 10.236.92.7 with SMTP id i7mr6458545yhf.240.1374171839270; Thu, 18 Jul 2013 11:23:59 -0700 (PDT) Received: from mbp1.kraus-haus.org (mail.thecreativeadvantage.com. [96.236.16.109]) by mx.google.com with ESMTPSA id m63sm16257114yhb.10.2013.07.18.11.23.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Jul 2013 11:23:58 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: OT: rsync on Mac OSX From: Paul Kraus In-Reply-To: <20130712185701.GA10084@neutralgood.org> Date: Thu, 18 Jul 2013 14:23:57 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <67um8rd2r07ipc.fsf@saturn.laptop> <67um8r61wsei8l.fsf@saturn.laptop> <6EC7DF61-0243-4BB3-904B-7289F574B256@lafn.org> <20130712185701.GA10084@neutralgood.org> To: "freebsd-questions@freebsd.org FreeBSD" X-Mailer: Apple Mail (2.1508) X-Gm-Message-State: ALoCoQlm2i07gMTiTnFGaG0bJ9Amfly3SZS0W4t9uSsDBIr8nQs3+GzARf0CEqj+3e1gAeFggAig X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jul 2013 22:34:03 -0000 On Jul 12, 2013, at 2:57 PM, kpneal@pobox.com wrote: > I thought MacOS X's rsync did handle resource forks if you gave it the > proper option. The resource fork is reported by rsync in the usual > convention of having "._" prefixed to the filename. My understanding was that the files named ._ were plain files that = included the metadata that makes up the resource fork. The ._ file is = not really the resource fork, but a workaround for filesystems that do = not support resource forks. As such, they would be copied by rsync just fine. Now as to the Mac OS X rsync understanding resource forks, that I cannot = speak to, but it should be easy to test. Copy a directory from an HFS+ = volume to a non-Mac OS X volume (NFS for example) using rsync and see if = it creates the ._ files to go with the data. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 01:21:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 02A16B36 for ; Fri, 19 Jul 2013 01:21:23 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id C6D555E3 for ; Fri, 19 Jul 2013 01:21:21 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.local [192.168.5.2]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id r6J1LKtH098741 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Jul 2013 20:21:21 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Jul 2013 20:21:20 -0500 From: dweimer To: freebsd-questions@freebsd.org Subject: Re: Dell Latitude E6520 Xorg Problems Organization: dweimer.net Mail-Reply-To: dweimer@dweimer.net In-Reply-To: References: <64F5216B-A29B-478B-80E9-F5CB4DD39A46@dweimer.net> Message-ID: <1e308693088384055bbe2b4ea61956c4@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 01:21:23 -0000 On 07/18/2013 9:18 am, Dean E. Weimer wrote: > Success X is running after some more playing to verify what works and > doesn't I will post back with full config, FYI I did have to re-enable > Optimus after rebuilding with KMS. > So far I still haven't been able to get the external monitor working, I have rebuilt the system using options KMS and NEW_XORG, in the make.conf, here is the full make.conf file. # Port Options WITH_OPENSSL_PORT=YES WRKDIRPREFIX=/var/ports PACKAGES=/var/ports/packages WITH_PKGNG="YES" WITH_KMS="YES" WITH_NEW_XORG="YES" # Build Options NO_WERROR= WERROR= #${.CURDIR:M*/www/squid*} | \ # Use Clang instead of GCC .if target(index) | \ ${.CURDIR:M*/lang/gcc*} USE_GCC?=4.2 .endif .if !defined(USE_GCC) .if !defined(CC) || ${CC} == "cc" CC=clang .endif .if !defined(CXX) || ${CXX} == "c++" CXX=clang++ .endif .if !defined(CPP) || ${CPP} == "cpp" CPP=clang-cpp .endif .endif # added by use.perl 2013-07-18 17:54:32 PERL_VERSION=5.16.3 Here is the content of /etc/X11/xorg.conf: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" LeftOf "Screen0" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF/" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "dri2" Load "dbe" Load "dri" Load "record" Load "glx" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] Identifier "Card0" Driver "nv" BusID "PCI:1:0:0" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz", ### : "%" ### [arg]: arg optional #Option "NoAccel" # [] #Option "AccelMethod" # #Option "Backlight" # #Option "DRI" # #Option "ColorKey" # #Option "VideoKey" # #Option "Tiling" # [] #Option "LinearFramebuffer" # [] #Option "SwapbuffersWait" # [] #Option "TripleBuffer" # [] #Option "XvPreferOverlay" # [] #Option "HotPlug" # [] #Option "RelaxedFencing" # [] #Option "XvMC" # [] #Option "ZaphodHeads" # #Option "TearFree" # [] #Option "PerCrtcPixmaps" # [] #Option "FallbackDebug" # [] #Option "DebugFlushBatches" # [] #Option "DebugFlushCaches" # [] #Option "DebugWait" # [] #Option "BufferCache" # [] Identifier "Card1" Driver "intel" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card1" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "Monitor1" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection I have tried changing the second monitor to the nvidia card, but its still doesn't identify one being connected, I currently have the machine rebuilding all ports with the new make options set instead of just the Xorg related ports I did earlier to see if that makes a difference I don't expect that to be finished until well after I'm asleep. But if anyone has any ideas on how to get it to recognize an external monitor I am open to suggestions to try tomorrow. Kind of spoiled being use to two monitors when I am at my desk. Just can't fit everything on one display. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 08:30:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8E0422BD for ; Fri, 19 Jul 2013 08:30:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 52D5095D for ; Fri, 19 Jul 2013 08:30:42 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V065H-0003yO-H7 for freebsd-questions@freebsd.org; Fri, 19 Jul 2013 10:30:39 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 10:30:39 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 10:30:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: textproc/hunspell and readline? Date: Fri, 19 Jul 2013 08:30:21 +0000 (UTC) Lines: 15 Message-ID: References: <51E7CA73.40708@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 08:30:43 -0000 On Thu, 18 Jul 2013 11:58:59 +0100, Matthew Seaman wrote: > On 18/07/2013 10:42, Walter Hurry wrote: >> I note that the Makefile for textproc/hunspell has '--with-readline' in >> the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe >> it is, but at any rate it isn't recorded as a dependency or a shlib). >> >> 9.1-RELEASE-p4 amd64 with pkgng. >> >> Is there a reason for this? > > libreadline.so is in base > Thanks, Matthew. Noted. So why on 10.0-CURRENT does it insist on installing readline from the port? From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 09:29:50 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AE61144A; Fri, 19 Jul 2013 09:29:50 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 62944C2A; Fri, 19 Jul 2013 09:29:50 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 0E76EFEBD7; Fri, 19 Jul 2013 16:29:43 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date:from :from:subject:subject:received:received:received; s=selector1; t=1374226182; x=1376040583; bh=/2ENGVAFFUvJRqBL1Zh8UPag33FYhV8q tbcmPHelGno=; b=PcOUdm52M156ZGku8YNUrsAP0RlQ4YfCt3ZoaR4q1RjKIxo2 +7id4zbWspBK8yJmYjybA3Cdi7lNJojYf4H71dN/K68b4v/ZK3K3aFPIXKVuhiAk n03h3u+WbocJdqvkKaoZRtu09km+X+FxfG531+/8bbD3smDXCtiK2NroVb0= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JtvinY-FYQcz; Fri, 19 Jul 2013 16:29:42 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id C106BFEBCF; Fri, 19 Jul 2013 16:29:42 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id r6J9TgiS009335; Fri, 19 Jul 2013 16:29:42 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) To: questions@freebsd.org, freebsd-net@freebsd.org Subject: Same MAC address in 2 different VLANs From: Olivier Nicole Date: Fri, 19 Jul 2013 16:29:42 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 09:29:50 -0000 Hello, Could any one comment about the use of the same MAC address in 2 separate VLANs? All my machines are connected to 2 VLANs (one public and one private) with no routing in between the VLANs. I used to run a FLEX license manager to a physical machine. When I virtualized that service, I had to use the MAC address of that physical machine for the virtual machine (FLEX is linked to the MAc address and I coul dnot issue new license as licensed the pproduct is not supported anymore). The virtual NIC that has the old MAC address is connected to the public VLAN. Now I want to reuse the physical machine as a VMware server. Dell nor VMware offer a solution to change the MAC address (like ifconfig em0 link xx:xx:xx:xx:xx:xx would do). So I plan to connect the NIC with the incriminated MAC to the private VLAN. Most (if not all) my servers are FreeBSD. Most will access the virtual machine running FLEX and may access the VMware server also. The servers are not VLAN aware. Will this be an issue? Best regars, Olivier -- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 10:02:28 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DAD753E0; Fri, 19 Jul 2013 10:02:28 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-wg0-x22b.google.com (mail-wg0-x22b.google.com [IPv6:2a00:1450:400c:c00::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 4FDF2DE4; Fri, 19 Jul 2013 10:02:28 +0000 (UTC) Received: by mail-wg0-f43.google.com with SMTP id z11so3838492wgg.22 for ; Fri, 19 Jul 2013 03:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8ybb0axaNvUFBE3uYcyGFtFd0LXXMpCGHQl4gmsTKPU=; b=JuBG9LNHoIE8D1wWPPKvrRIT6bgtXAgvKUuP9BpSfkCHciYHdfxftbVmdPy/XufBjO uMl2ql0acE8cEQSJ2j+393rEypMEuXLGVoLxueJ14SYnQAzuzmqsl6ukD6EmKzA5oeYk qzOzCUyNhwP9vtJjyiB4fP6tvyw7EQlPMJKDPr/hYPXSIvCiStV+EtZIUUmgDduSDPoA 9b7EhY+VbZa/r4Us4wiSzzZXeWCtEItUHLp17rtsQVLN85NkeqVQOLx7GA3XZqQztjd7 Ab4kXYpKT4Wm0YP/kQsHUM7hH9I9E5z1xNkFWKbgqg3NJUbFz/lT/GMpye17d857glqh g+/w== MIME-Version: 1.0 X-Received: by 10.180.11.146 with SMTP id q18mr10906537wib.50.1374228147406; Fri, 19 Jul 2013 03:02:27 -0700 (PDT) Received: by 10.216.68.137 with HTTP; Fri, 19 Jul 2013 03:02:27 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 11:02:27 +0100 Message-ID: Subject: Re: Same MAC address in 2 different VLANs From: krad To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-net@freebsd.org, questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 10:02:28 -0000 I think you maybe ok. Ive just looked at my esx config and the esx management interfaces use their own generated macs, not the physical interfaces ones. All the vms obviously use generated macs as well. However I only looked over it at a superficial level. Have you considered using a tap or spare phyical interface on your flex box and not linking it to the network? On 19 July 2013 10:29, Olivier Nicole wrote: > Hello, > > Could any one comment about the use of the same MAC address in 2 > separate VLANs? > > All my machines are connected to 2 VLANs (one public and one private) > with no routing in between the VLANs. > > I used to run a FLEX license manager to a physical machine. When I > virtualized that service, I had to use the MAC address of that physical > machine for the virtual machine (FLEX is linked to the MAc address and I > coul dnot issue new license as licensed the pproduct is not supported > anymore). The virtual NIC that has the old MAC address is connected to > the public VLAN. > > Now I want to reuse the physical machine as a VMware server. Dell nor > VMware offer a solution to change the MAC address (like > ifconfig em0 link xx:xx:xx:xx:xx:xx would do). So I plan to connect the > NIC with the incriminated MAC to the private VLAN. > > Most (if not all) my servers are FreeBSD. Most will access the virtual > machine running FLEX and may access the VMware server also. The servers > are not VLAN aware. > > Will this be an issue? > > Best regars, > > Olivier > > -- > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 10:28:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C65E6C49 for ; Fri, 19 Jul 2013 10:28:46 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 649C7F1A for ; Fri, 19 Jul 2013 10:28:46 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r6JASYE6028075 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 19 Jul 2013 11:28:42 +0100 (BST) (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r6JASYE6028075 Authentication-Results: smtp.infracaninophile.co.uk/r6JASYE6028075; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <51E914D2.7040403@freebsd.org> Date: Fri, 19 Jul 2013 11:28:34 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130715 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: textproc/hunspell and readline? References: <51E7CA73.40708@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 10:28:46 -0000 On 19/07/2013 09:30, Walter Hurry wrote: > On Thu, 18 Jul 2013 11:58:59 +0100, Matthew Seaman wrote: > >> On 18/07/2013 10:42, Walter Hurry wrote: >>> I note that the Makefile for textproc/hunspell has '--with-readline' in >>> the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or maybe >>> it is, but at any rate it isn't recorded as a dependency or a shlib). >>> >>> 9.1-RELEASE-p4 amd64 with pkgng. >>> >>> Is there a reason for this? >> >> libreadline.so is in base >> > Thanks, Matthew. Noted. So why on 10.0-CURRENT does it insist on > installing readline from the port? I don't have a 10.x system handy to confirm this, but I'd guess the libreadline.so stuff was maybe dropped from current. Although it seems the libreadline code is still in head: http://svnweb.freebsd.org/base/head/contrib/libreadline/ Is there a /lib/libreadline.so.* shared library on your 10.0-CURRENT system? Cheers, Matthew From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 10:39:22 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6A4251B8; Fri, 19 Jul 2013 10:39:22 +0000 (UTC) (envelope-from joost@jodocus.org) Received: from fep23.mx.upcmail.net (fep23.mx.upcmail.net [62.179.121.43]) by mx1.freebsd.org (Postfix) with ESMTP id 85F8CFA0; Fri, 19 Jul 2013 10:39:19 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep23-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130719103912.WXC15242.viefep23-int.chello.at@edge03.upcmail.net>; Fri, 19 Jul 2013 12:39:12 +0200 Received: from vione.jodocus.org ([212.187.72.205]) by edge03.upcmail.net with edge id 2Af61m00X4RktKG03Af9eH; Fri, 19 Jul 2013 12:39:12 +0200 X-SourceIP: 212.187.72.205 Received: from jodocus.org (localhost [127.0.0.1]) by vione.jodocus.org (Postfix) with ESMTP id E612CA47; Fri, 19 Jul 2013 12:39:05 +0200 (CEST) Received: from 212.203.12.51 (SquirrelMail authenticated user joost) by jodocus.org with HTTP; Fri, 19 Jul 2013 12:39:06 +0200 Message-ID: In-Reply-To: References: Date: Fri, 19 Jul 2013 12:39:06 +0200 Subject: Re: Same MAC address in 2 different VLANs From: joost@jodocus.org To: questions@freebsd.org, freebsd-net@freebsd.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Olivier Nicole X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 10:39:22 -0000 > Hello, > > Could any one comment about the use of the same MAC address in 2 > separate VLANs? > [...] > > Will this be an issue? > You might run into problems if the two (virtual) systems are attached to a different port on your switch. Some switches don't take the vlan into account when learning on which port a mac address exists. These switches will see the mac address jumping between ports all the time. Joost. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 12:43:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8D6E9728 for ; Fri, 19 Jul 2013 12:43:08 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-vb0-x231.google.com (mail-vb0-x231.google.com [IPv6:2607:f8b0:400c:c02::231]) by mx1.freebsd.org (Postfix) with ESMTP id 48299823 for ; Fri, 19 Jul 2013 12:43:08 +0000 (UTC) Received: by mail-vb0-f49.google.com with SMTP id 12so3085323vbf.8 for ; Fri, 19 Jul 2013 05:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=U8R0CzPXXg8rBJJCQd3ZsZFnlgnS8QOwydsYyTs3g74=; b=kMGTyhomTMmkHKQzmw98yI3Lcxl74DHCWLWlouMdfjNRDYpTKDLF+IkqqvUM9M1RoU 7ebHI43BYnWh/FmOgJSC4NrjyIIbXryq+EDIcYWD8KGxfk48+KD+fuMIgCsBgZVV5QHw VnHrvM2ozV8onHfiNFJ79SF0VVCbwYyTLJSb6JcRW41iwstXrhS+bmQeu9f0cLNoLcXy sONN7i+7u5sCG1BJ4KliJFaqCgWvEU2P6LhOlREVkv4ksMRbq4/CD+7S+Igih4BU+O97 Uh+p83OoeJynl3FLh1/GZ5gL5dTF/JVbwMEP0dFS1ijIxfBTiR9Cx/DZYodJCjF/+Rxq hYGw== MIME-Version: 1.0 X-Received: by 10.52.0.52 with SMTP id 20mr4707134vdb.22.1374237787778; Fri, 19 Jul 2013 05:43:07 -0700 (PDT) Received: by 10.52.107.170 with HTTP; Fri, 19 Jul 2013 05:43:07 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Jul 2013 18:13:07 +0530 Message-ID: Subject: Re: Fresh installation 9.1 From: hrkesh sahu To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= , FreeBSD questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 12:43:08 -0000 Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Before this problem , i have enabled ftpd and provided root login for ftp server access. after that I am facing this problem . but i revert back this root access. and i stopped the ftpd service. mouse is working properly. but key board is not responding properly. Please help me on this. Regards On Fri, Jun 21, 2013 at 6:23 PM, Trond Endrest=F8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Thu, 20 Jun 2013 18:17+0530, hrkesh sahu wrote: > > > Hi Trond, > > One more help please, > > > > I was trying to install v6eval-3.3.2 which is used for IPv6 ready logo > self > > test within FreeBSD 9.1-RELEASE version for a IPv6 self test. But I am > > facing this compilation issue. > > > > Code: > > > > # make > > =3D=3D=3D> lib (depend) > > =3D=3D=3D> lib/Cm (depend) > > rm -f .depend GPATH GRTAGS GSYMS GTAGS > > rm -f .depend > > mkdep -f .depend -a -DYYDEBUG -I. -I/usr/local/include CmTypes.cc > > BtObject.cc BtArray.cc BtList.cc BtSet.cc CmQueue.cc CmAgent.cc > > CmMain.cc CmSocket.cc CmFdSet.cc CmFdMasks.cc CmString.cc > > PerfCollect.cc Timer.cc CmDispatch.cc CmReceiver.cc timeval.cc > > CmToken.cc CmMatch.cc CmLexer.cc > > > CmMain.cc:51:18: error: utmp.h: No such file or directory > > FreeBSD 9.1 uses utx, not utmp. Try to disable utmp during configure, > and possibly enable utx. > > Running ./configure --help might give some insight. > > > mkdep: compile failed > > *** [.depend] Error code 1 > > > > Stop in /root/Desktop/xxx/v6eval-3.3.2/lib/Cm. > > *** [depend] Error code 1 > > > > Stop in /root/Desktop/xxx/v6eval-3.3.2/lib. > > *** [depend] Error code 1 > > > > Stop in /root/Desktop/xxx/v6eval-3.3.2. > > > > Regards > > Hrisikesh > > > > > > On Fri, Jun 14, 2013 at 6:11 PM, Trond Endrest=F8l < > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > On Fri, 14 Jun 2013 17:31+0530, hrkesh sahu wrote: > > > > > > > Hi Trond, > > > > Thanks a lot. > > > > Sorry I am asking so many thinks. > > > > I am looking for a another help. > > > > > > > > What is static route for a IPV6 router? > > > > > > A static route is something I use for our IPv6 VPN clients in our net= . > > > > > > All packets destined to the VPN clients are routed to the inside > > > interface of the VPN router, the VPN router takes care of everything > > > else, including wrapping the packets in the encryption layer and > > > sending the resulting datagrams to the real clients somewhere out > > > there in the world, back through the main router. > > > > > > > How do i need to configure static route on FreeBSD router indicatin= g > > > > another router's link local address as next HOP? > > > > > > > > Now I have a another router which is connected in same network with > > > > FreeBSD router. > > > > > > If clients on the far end of each of the two routers needs to > > > communicate with one another, then the appropriate default gateway > > > settings on each host and router should suffice. > > > > > > If three or more routers are connected somehow, then they each need t= o > > > know about the prefixes on the other routers, and where to send the > > > packets, i.e. the next hop, and let the next hop decide each packet's > > > fate as the packets traverse each router link. > > > > > > This is where routing protocols such as RIP, OSPF, IS-IS, BGP, etc, > > > come into play. > > > > > > I haven't looked into route6d(8), RIP6 routing protocol, but I'm sure > > > it can be tamed to act as you please. Maybe you should look into > > > Quagga and/or GNU Zebra. > > > > > > My network is simple enough, and I only need directly connected and > > > static routes to make things happen. On the outside, towards our ISP, > > > things are much more complicated. > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 15:22:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1B832A73 for ; Fri, 19 Jul 2013 15:22:23 +0000 (UTC) (envelope-from david.i.noel@gmail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) by mx1.freebsd.org (Postfix) with ESMTP id A9F4AF8A for ; Fri, 19 Jul 2013 15:22:22 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id m6so4537173wiv.9 for ; Fri, 19 Jul 2013 08:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=NGdJsRSJ3mc+BzQrV5ESZq3UdqZRibrkp/ImPkDmY08=; b=qDNfb7pjMm2q7XnjymrhHiAFKOtkDtBBeAMJx4NK29WNYHclNA0BJg39V7jz+LC9Aa z9rgh1DeY+iFJJLgqXkzDGjAm/VKWZpVNajX3xNATDaQmX9sxj3Q4CARLThYPwfGW3uS HKge1sydvwvK+fDFsl4UCma9YEfahafINp2DUtfLjh89x0YhzDkLiDyigt/mBfKhYzEr mxIgLW9B8f6aU1ALyDSBTTAbSKY1XuXQ4wO4+Uv+iL7S5vSwH93XRMXDETVU0ikSRjmR XE/yIYnmmXNPboc12iFt0sxQAUS21y83APhv2sQA+rk+LDp/ZqQQQqKEhLbXiZiG2vxc Vu+w== MIME-Version: 1.0 X-Received: by 10.180.20.228 with SMTP id q4mr11974136wie.1.1374247341807; Fri, 19 Jul 2013 08:22:21 -0700 (PDT) Received: by 10.216.180.138 with HTTP; Fri, 19 Jul 2013 08:22:21 -0700 (PDT) In-Reply-To: <20130711120039.a99aeea20ecd078b9d29f18a@yahoo.es> References: <20130711120039.a99aeea20ecd078b9d29f18a@yahoo.es> Date: Fri, 19 Jul 2013 10:22:21 -0500 Message-ID: Subject: Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4) From: David Noel To: Eduardo Morras Content-Type: text/plain; charset=ISO-8859-1 Cc: feld@feld.me, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 15:22:23 -0000 > Perhaps make buildkernel was compiled with -j >1, it's known to create a > buggy kernel. Check your make configuration. Adding a -B, like make -B -j N > buildkernel may work and is fast if -j is set to number or processors, but > it's safer do a make -j 1 buildkernel, same for buildworld. I replaced the kernel with the one on the 8.4 memstick and it booted just fine. I then built and installed a kernel without using the j flag to test Eduardo's theory. It booted without problem. Maybe there's something to this -j >1 causing buggy kernels rumor. -David From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 15:51:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 96C077BE for ; Fri, 19 Jul 2013 15:51:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 56E6217F for ; Fri, 19 Jul 2013 15:51:00 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r6JFouFd022499; Fri, 19 Jul 2013 09:50:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r6JFousA022496; Fri, 19 Jul 2013 09:50:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 19 Jul 2013 09:50:56 -0600 (MDT) From: Warren Block To: David Noel Subject: Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4) In-Reply-To: Message-ID: References: <20130711120039.a99aeea20ecd078b9d29f18a@yahoo.es> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 19 Jul 2013 09:50:57 -0600 (MDT) Cc: feld@feld.me, freebsd-questions@freebsd.org, Eduardo Morras X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 15:51:00 -0000 On Fri, 19 Jul 2013, David Noel wrote: >> Perhaps make buildkernel was compiled with -j >1, it's known to create a >> buggy kernel. Check your make configuration. Adding a -B, like make -B -j N >> buildkernel may work and is fast if -j is set to number or processors, but >> it's safer do a make -j 1 buildkernel, same for buildworld. > > I replaced the kernel with the one on the 8.4 memstick and it booted > just fine. I then built and installed a kernel without using the j > flag to test Eduardo's theory. It booted without problem. Maybe > there's something to this -j >1 causing buggy kernels rumor. It's possible. But again, I've been using -j >1 for years on a variety of processors, mostly Intel, without problems. That's with buildworld and kernel (which is buildkernel plus installkernel), but not with installworld. Are you using clang instead of gcc? That could be very different. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 15:56:23 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2B78BB5A for ; Fri, 19 Jul 2013 15:56:23 +0000 (UTC) (envelope-from gkeramidas@gmail.com) Received: from tux-cave.hellug.gr (tux-cave.hellug.gr [195.134.99.74]) by mx1.freebsd.org (Postfix) with ESMTP id 135411C8 for ; Fri, 19 Jul 2013 15:56:20 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: gkeramidas@gmail.com X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: r6JFr9rL031383 Received: from giorgos.local (217-162-217-29.dynamic.hispeed.ch [217.162.217.29]) (authenticated bits=0) by tux-cave.hellug.gr (8.14.4/8.14.4/Debian-4) with ESMTP id r6JFr9rL031383 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 Jul 2013 18:53:16 +0300 Received: by giorgos.local (Postfix, from userid 1800799460) id D912D7E897D; Fri, 19 Jul 2013 17:52:59 +0200 (CEST) From: keramida@ceid.upatras.gr (Giorgos Keramidas) To: Michel Behr Subject: Re: Bill Paul's network drivers References: Date: Fri, 19 Jul 2013 17:52:59 +0200 In-Reply-To: (Michel Behr's message of "Wed, 17 Jul 2013 13:28:39 -0300") Message-ID: <67um8rd2qer1gk.fsf@saturn.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain Cc: questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 15:56:23 -0000 On Wed, 17 Jul 2013 13:28:39 -0300, Michel Behr wrote: > Hi > > I'm considering learning how to build drivers, so I can make my Lenovo S400 > wireless card get detected by FreeBSD. > > The Architecture Handbook cites these "Bill Paul's network drivers". > > 9.5 Network Drivers: Drivers for network devices do not use device nodes in > order to be accessed. Their selection is based on other decisions made > inside the kernel and instead of calling open(), use of a network device is > generally introduced by using the system call socket(2). > > For more information see ifnet(9), the source of the loopback device, and > Bill Paul's network drivers. > > Where can I find those Bill Paul's network drivers? All network drivers are part of the kernel sources. You should have them in your /usr/src/sys directory. Having said that, the networking stack is a large piece of software, with many parts and interactions between them. If you are planning to get into that sort of development, you should probably consider reading a _book_ about how things work. Two excellent books about drivers and networking are: "FreeBSD Device Drivers" by Joseph Kong (Stark Press) "The Design and Implementation of the FreeBSD Operating System" by Marshall Kirk Mc Kusick & George V. Neville-Neil (Addison-Wesley) From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 16:45:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B571484A for ; Fri, 19 Jul 2013 16:45:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 715993DB for ; Fri, 19 Jul 2013 16:45:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-77.dynamic.qsc.de [92.195.92.77]) by mx02.qsc.de (Postfix) with ESMTP id EA7522767E; Fri, 19 Jul 2013 18:45:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r6JGjH57003912; Fri, 19 Jul 2013 18:45:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 19 Jul 2013 18:45:17 +0200 From: Polytropon To: hrkesh sahu Subject: Re: Fresh installation 9.1 Message-Id: <20130719184517.30f96068.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 16:45:20 -0000 On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote: > Hi All, > after using freebsd for 10 to 20 mins, Key board is getting locked. Is that inside X? > Before this problem , i have enabled ftpd and provided root login for ftp > server access. That is something you should _not_ do, especially not within a network you don't trust (see also: The Internet). Usually FTP access can't be trusted (too much plaintext), and especially for root this is a threat to security. Better use scp (SSH) for transfering files in an "FTP-like way". > after that I am facing this problem . but i revert back > this root access. and i stopped the ftpd service. That is a good step regarding security. Still make sure your system hasn't been compromized. Also be sure to change your root password, because you _never_ know. :-) > mouse is working properly. but key board is not responding properly. When this happens inside X, it sounds a bit familiar. Does the keyboard "start working again" when you move the mouse? I'm not sure if _this_ is still an issue: http://www.wonkity.com/~wblock/docs/html/aei.html Make sure the keyboard is working as expected, for example by testing it in a non-X session (text mode terminal). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 18:25:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6A7DB52C for ; Fri, 19 Jul 2013 18:25:33 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 45A73A9A for ; Fri, 19 Jul 2013 18:25:33 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id xb12so4739805pbc.12 for ; Fri, 19 Jul 2013 11:25:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=tt3cdMbTd7EYQyJNDN9P028OelhlertT+np+YhQM+k8=; b=IcETJrt0OwCLKQh5FDvfk9I26sd0jhz1O2+KFT+tpdDZBrxUPUtLB+2wKwaaDbMLQy phwrqX0Iv4tcTFP6MIq3wzx1qNK4iVNQDsyngyd08WRkqCD25+rolVTZsp/r7006ZIVW W34QCm+QERhNv5HwpXaiG+Zo74PvtKfjY2aGZnG37vg+1jDksLKp2hjw3dhk3S/O/U3m CVofx3rFVGb+rVK9TTbReJAp3LwT+BsV2cC5DrfRCjjS/oIl4B+ly4qabRIHNexa8aki Gm6LMt7HxaxGk5pW8EyXnFqWS8irvipawEcbE27GnhK4Zt1lxkFiqSCPCbj76VXeDh24 jMoA== X-Received: by 10.68.224.228 with SMTP id rf4mr18588823pbc.50.1374258332993; Fri, 19 Jul 2013 11:25:32 -0700 (PDT) Received: from briankrusicw.logan.tv ([64.17.255.138]) by mx.google.com with ESMTPSA id ib9sm20801418pbc.43.2013.07.19.11.25.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Jul 2013 11:25:31 -0700 (PDT) Subject: Re: to gmirror or to ZFS Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: aurfalien In-Reply-To: Date: Fri, 19 Jul 2013 11:25:28 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <069F4A27-A7A2-4215-A815-468F436B331F@gmail.com> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> To: Warren Block X-Mailer: Apple Mail (2.1085) Cc: freebsd-questions@freebsd.org, Shane Ambler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 18:25:33 -0000 On Jul 16, 2013, at 11:42 AM, Warren Block wrote: > On Tue, 16 Jul 2013, aurfalien wrote: >> On Jul 16, 2013, at 2:41 AM, Shane Ambler wrote: >>>=20 >>> I doubt that you would save any ram having the os on a non-zfs drive = as >>> you will already be using zfs chances are that non-zfs drives would = only >>> increase ram usage by adding a second cache. zfs uses it's own cache >>> system and isn't going to share it's cache with other system managed >>> drives. I'm not actually certain if the system cache still sits = above >>> zfs cache or not, I think I read it bypasses the traditional drive = cache. >>>=20 >>> For zfs cache you can set the max usage by adjusting vfs.zfs.arc_max >>> that is a system wide setting and isn't going to increase if you = have >>> two zpools. >>>=20 >>> Tip: set the arc_max value - by default zfs will use all physical = ram >>> for cache, set it to be sure you have enough ram left for any = services >>> you want running. >>>=20 >>> Have you considered using one or both SSD drives with zfs? They can = be >>> added as cache or log devices to help performance. >>> See man zpool under Intent Log and Cache Devices. >>=20 >> This is a very interesting point. >>=20 >> In terms if SSDs for cache, I was planning on using a pair of Samsung = Pro 512GB SSDs for this purpose (which I haven't bought yet). >>=20 >> But I tire of buying stuff, so I have a pair of 40GB Intel SSDs for = use as sys disks and several Intel 160GB SSDs lying around that I can = combine with the existing 256GB SSDs for a cache. >>=20 >> Then use my 36x3TB for the beasty NAS. >=20 > Agreed that 256G mirrored SSDs are kind of wasted as system drives. = The 40G mirror sounds ideal. Update; I went with ZFS as I didn't want to confuse the toolset needed to = support this server. Although gmirror is not hard to figure out, I = wanted consistency in systems. So I've a booted 9.1 rel using a mirrored ZFS system disk. The drives do support TRIM but am unsure how this plays with ZFS. I did = the standard partition scheme of; root@kronos:/root # gpart show =3D> 34 78165293 da0 GPT (37G) 34 128 1 freebsd-boot (64k) 162 6 - free - (3.0k) 168 8388608 2 freebsd-swap (4.0G) 8388776 69776544 3 freebsd-zfs (33G) 78165320 7 - free - (3.5k) =3D> 34 78165293 da1 GPT (37G) 34 128 1 freebsd-boot (64k) 162 6 - free - (3.0k) 168 8388608 2 freebsd-swap (4.0G) 8388776 69776544 3 freebsd-zfs (33G) 78165320 7 - free - (3.5k) At any rate, thank you for the replies, very much appreciate it. Especially since building a rather large production worthy NAS not = knowing a lick of freeBSD. The reasons going with freeBSD are 2 fold; ZFS stability,seems a better marriage then ZOL. Correctly provides NFS pre attributes on write reply; mtime. Linux does = not. While its a steep learning curve, the 2 points above require the use of = freeBSD or alike. - aurf= From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 19:31:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2937858F for ; Fri, 19 Jul 2013 19:31:29 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id E126BD33 for ; Fri, 19 Jul 2013 19:31:28 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V0GOg-0002En-61 for freebsd-questions@freebsd.org; Fri, 19 Jul 2013 21:31:22 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 21:31:22 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Jul 2013 21:31:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: textproc/hunspell and readline? Date: Fri, 19 Jul 2013 19:31:05 +0000 (UTC) Lines: 30 Message-ID: References: <51E7CA73.40708@freebsd.org> < ksatet$veq$1@ger.gmane.org> <51E914D2.7040403@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 19:31:29 -0000 On Fri, 19 Jul 2013 11:28:34 +0100, Matthew Seaman wrote: > On 19/07/2013 09:30, Walter Hurry wrote: >> On Thu, 18 Jul 2013 11:58:59 +0100, Matthew Seaman wrote: >> >>> On 18/07/2013 10:42, Walter Hurry wrote: >>>> I note that the Makefile for textproc/hunspell has '--with-readline' >>>> in the CONFIGURE_ARGS, but on 9.1 it doesn't seem to be honoured (or >>>> maybe it is, but at any rate it isn't recorded as a dependency or a >>>> shlib). >>>> >>>> 9.1-RELEASE-p4 amd64 with pkgng. >>>> >>>> Is there a reason for this? >>> >>> libreadline.so is in base >>> >> Thanks, Matthew. Noted. So why on 10.0-CURRENT does it insist on >> installing readline from the port? > > I don't have a 10.x system handy to confirm this, but I'd guess the > libreadline.so stuff was maybe dropped from current. Although it seems > the libreadline code is still in head: > > http://svnweb.freebsd.org/base/head/contrib/libreadline/ > > Is there a /lib/libreadline.so.* shared library on your 10.0-CURRENT > system? > Yes, there's /lib/libreadline.so.8 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 20:05:22 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4DA76ED2 for ; Fri, 19 Jul 2013 20:05:22 +0000 (UTC) (envelope-from david.i.noel@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id DC0EFE90 for ; Fri, 19 Jul 2013 20:05:21 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id m15so4349219wgh.35 for ; Fri, 19 Jul 2013 13:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=blRR8Kn4chyKH34krIeIkJm52FBZN6Bl1QQah3YPcH8=; b=m1QUR0VRnBbFTCN+t0JDp3uJUUkfNVhTlYfIXKDJGmaZBHZ/lH66JhwjRVC4q7+8T1 j3F55dSkfyld17liu/ZKJ7wcVIiYwnn7X3F9wjjwVbSW3JAJHgI28A111/QXmkrr2lDV z2fdh19CeTaiWxQTIX38oEZppvN7Huh55iCzOEJixJ7shFyS48bihkjhliOVlcOLNESR jMcTFeJBdov1QBvD7ghRyfp048ylL+OWIWKYrWsDJi5AvwRyj5/tMXyZO3jwAJcscWKS kA2r0rVW67m/D9k06f9NHjcpre0BbkInIGboSmL0OI8uZTAUIm96fJBfRxkE7e4f+rnE I4VA== MIME-Version: 1.0 X-Received: by 10.194.19.130 with SMTP id f2mr13036933wje.22.1374264321039; Fri, 19 Jul 2013 13:05:21 -0700 (PDT) Received: by 10.216.180.138 with HTTP; Fri, 19 Jul 2013 13:05:20 -0700 (PDT) In-Reply-To: References: <20130711120039.a99aeea20ecd078b9d29f18a@yahoo.es> Date: Fri, 19 Jul 2013 15:05:20 -0500 Message-ID: Subject: Re: [Bulk] FreeBSD upgrade woes (8.3 -> 8.4) From: David Noel To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Cc: feld@feld.me, freebsd-questions@freebsd.org, Eduardo Morras X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: David.I.Noel@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 20:05:22 -0000 > It's possible. But again, I've been using -j >1 for years on a variety > of processors, mostly Intel, without problems. That's with buildworld > and kernel (which is buildkernel plus installkernel), but not with > installworld. > > Are you using clang instead of gcc? That could be very different. These are Intel's too. I'm using the default compiler for 8.4. I believe that's gcc? From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 20:33:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8F8BB595 for ; Fri, 19 Jul 2013 20:33:42 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) by mx1.freebsd.org (Postfix) with ESMTP id 3340CF99 for ; Fri, 19 Jul 2013 20:33:41 +0000 (UTC) Received: from park.js.berklix.net (pD9FBED49.dip0.t-ipconnect.de [217.251.237.73]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id r6JKXXuv002631; Fri, 19 Jul 2013 20:33:34 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.14.3/8.14.3) with ESMTP id r6JKXMvP005511; Fri, 19 Jul 2013 22:33:23 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r6JKX59V082734; Fri, 19 Jul 2013 22:33:11 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201307192033.r6JKX59V082734@fire.js.berklix.net> to: hrkesh sahu Subject: Re: Fresh installation 9.1 From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Fri, 19 Jul 2013 18:45:17 +0200." <20130719184517.30f96068.freebsd@edvax.de> Date: Fri, 19 Jul 2013 22:33:05 +0200 Sender: jhs@berklix.com Cc: Polytropon , FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 20:33:42 -0000 > On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote: > > Hi All, > > after using freebsd for 10 to 20 mins, Key board is getting locked. Apart from Polytopon's good questions & observations, such as "Is that inside X?" I'd also add 1 more question: Is that A) a PS2 [or older] direct keyboard ? eg on 8.1 dmesg: kbd1 at kbdmux0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 eg on 9.1 dmesg kbd: new array size 4 kbd1 at kbdmux0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000 eg on 9.1 devinfo atkbdc0 atkbd0 Or B) a PS2 keyboard on a USB converter ? eg on 9.1 dmesg ugen1.2: at usbus1 ukbd0: on usbus1 kbd2 at ukbd0 kbd2: ukbd0, generic (0), config:0x0, flags:0x3d0000 eg on 9.1 devinfo uhci1 usbus1 uhub1 ukbd0 Just yesterday I had a case (B) lock up on me on 8.2-Release it needed a reboot (or power off unplug) to reset it. It might or not even be a FreeBSD problem & has an easy hardware solution, Hrkesh Sahu you dont say how many keyboards you tried, or on how many if any other op systems, You know keyboards use wildly different amounts of mA ? Could be your's is greedy & near the limit ? (ive had some PCs dont like some keyboards) was room was hotter than normal (I had 2/3 pieces of hardware dies in hot spell here lately) Might be software or harsdware, we dont know. Hrkesh Sahu & all others asking free advice should realise: The more you tell readers on a self help list, the more we readers can deduce, but we can't, don't & not interested to mind read ;-) & The less people tell us, the less likley readers are to bother to guess or ask questions to deduce answers. We're not paid support, we require people to work to help us help them. eg telling us what interesting bits of dmesg might show, which kernel you ran, if modified or generic, & what /var/log/messages shows etc (which you can see via ssh to host from another PC, or after reboot, so you dont need keyboard to see why keyboard has failed, no Catch 22 ;-) What extras you might have installed later ? eg on an 8.2 I installed in /boot/loader.conf vboxdrv_load=YES & /etc/rc.conf vboxnet_enable="YES" & that laptop worked just fine from remote, again just yesterday I neededto use acual keyboard (in X) & noted respons was abysmal, maybe 5 or 10 seconds to echo. Theres so much you havent told us, we really dont know what youve done that may have been the problem. Even a beginner should ask "what commands should I do to produce more diagnostics to help you help me ?" Those that don't try hard to help us don't tend to get so much help. Not a particular personal criticism, just really obvious ! Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. Facebook Insecurity: http://www.bbc.co.uk/news/technology-23027643 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 22:03:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A7DD8EA for ; Fri, 19 Jul 2013 22:03:15 +0000 (UTC) (envelope-from mt2magic@outlook.com) Received: from dub0-omc4-s16.dub0.hotmail.com (dub0-omc4-s16.dub0.hotmail.com [157.55.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id D5323339 for ; Fri, 19 Jul 2013 22:03:14 +0000 (UTC) Received: from DUB110-W7 ([157.55.2.71]) by dub0-omc4-s16.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 19 Jul 2013 15:02:07 -0700 X-TMN: [TRHVi4mrcgD0zWCrd1XIKNiz1/G2lIIA] X-Originating-Email: [mt2magic@outlook.com] Message-ID: From: mt2 magic To: "freebsd-questions@freebsd.org" Subject: hey some questions Date: Sat, 20 Jul 2013 01:02:07 +0300 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 19 Jul 2013 22:02:07.0110 (UTC) FILETIME=[9C04A260:01CE84CB] Content-Type: text/plain; charset="windows-1256" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 22:03:15 -0000 aGV5IGJybw0KYnJvIGNhbiB5b3UgaGVscCBtZSB0byBlbmFibGUgcmVtb3RlIGFjY2VzcyB0byBt eXNxbCBzZXJ2ZXINCmkgYW0gdXNpbmcgRnJlZUJTRCA5LjANCiAJCSAJICAgCQkgIA== From owner-freebsd-questions@FreeBSD.ORG Fri Jul 19 22:49:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A52A5D76 for ; Fri, 19 Jul 2013 22:49:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECC56DD for ; Fri, 19 Jul 2013 22:49:26 +0000 (UTC) Received: from r56.edvax.de (port-92-195-92-77.dynamic.qsc.de [92.195.92.77]) by mx01.qsc.de (Postfix) with ESMTP id 31DBE3C9D3; Sat, 20 Jul 2013 00:49:18 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r6JMnNmX008281; Sat, 20 Jul 2013 00:49:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 20 Jul 2013 00:49:23 +0200 From: Polytropon To: mt2 magic Subject: Re: hey some questions Message-Id: <20130720004923.0936ccc7.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2013 22:49:26 -0000 On Sat, 20 Jul 2013 01:02:07 +0300, mt2 magic wrote: > hey bro > bro can you help me to enable remote access to mysql server > i am using FreeBSD 9.0 Yo bro, L33T help ahead. :-) http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html http://forums.freebsd.org/showthread.php?t=19940 Does this provide some help for you? If not, you might need to be less un-bro-like and instead more specific in regards of your problem description. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 05:25:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9450438E for ; Sat, 20 Jul 2013 05:25:33 +0000 (UTC) (envelope-from aurfalien@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 65E222CF for ; Sat, 20 Jul 2013 05:25:33 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j1so7081783oag.32 for ; Fri, 19 Jul 2013 22:25:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=J2TEdC7g7aYtsqweK8QH2kAhIQXrGBELJMneVFSdSUw=; b=K2ZXR0idv55wwYVb/3Vin0QXEsxvhiXXm1eCS7+lmbPlwwWsZCfN/UIFb6xGtPLv0D ratHHmz+yCfx2g/y3qGYVUxzdTZdPRHHbxKcGaOlwJTw/sbgmQhmW6ZVo6GdxkEstkCA OHPN6axgZ2j+5hd/IuDudE9tra/jvxKXQHs+vdfqGLFP05YNQJrTg2Xnfaj8BfbEa83c jyyWpXPSDb5Wz7gyzm7utIx3B7RDlW4gpfcAPy5j+tU6yuAQLtLx+WxFV9W7XZseYLIZ J53aUVsStLiozgqaZcRMwam1RSlceBaRK9P+h0UjF8bBeITjYDBQjbjrKEH7jZQEVIFD 3TWA== X-Received: by 10.60.45.38 with SMTP id j6mr20315752oem.56.1374297932762; Fri, 19 Jul 2013 22:25:32 -0700 (PDT) Received: from [192.168.1.74] (75-63-29-182.lightspeed.irvnca.sbcglobal.net. [75.63.29.182]) by mx.google.com with ESMTPSA id mt3sm25335149oeb.1.2013.07.19.22.25.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Jul 2013 22:25:31 -0700 (PDT) From: aurfalien Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: ZFS trim patches Date: Fri, 19 Jul 2013 22:25:28 -0700 Message-Id: <6BB846C4-0D41-4CD4-81C4-A0A44FA40FE5@gmail.com> To: FreeBSD Questions Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 05:25:33 -0000 Hi, Is this; http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036777.html ... available in the form of a patch for stable rels? Its ZFS TRIM support. - aurf From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 10:31:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B9941157 for ; Sat, 20 Jul 2013 10:31:33 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 80F27CB6 for ; Sat, 20 Jul 2013 10:31:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <51EA65C8.8060607@intersonic.se> Date: Sat, 20 Jul 2013 12:26:16 +0200 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130630 Thunderbird/17.0.7 MIME-Version: 1.0 To: aurfalien Subject: Re: ZFS trim patches References: <6BB846C4-0D41-4CD4-81C4-A0A44FA40FE5@gmail.com> In-Reply-To: <6BB846C4-0D41-4CD4-81C4-A0A44FA40FE5@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 10:31:33 -0000 On 2013-07-20 07:25, aurfalien wrote: > Hi, > > Is this; > > http://lists.freebsd.org/pipermail/freebsd-current/2012-September/036777.html > > ... available in the form of a patch for stable rels? > > Its ZFS TRIM support. > According to /usr/src/UPDATING, yes: 20130605: Added ZFS TRIM support which is enabled by default. To disable ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf. Creating new ZFS pools and adding new devices to existing pools first performs a full device level TRIM which can take a significant amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0 to disable this behaviour. ZFS TRIM requires the underlying device support BIO_DELETE which is currently provided by methods such as ATA TRIM and SCSI UNMAP via CAM, which are typically supported by SSD's. Stats for ZFS TRIM can be monitored by looking at the sysctl's under kstat.zfs.misc.zio_trim. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 11:09:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 34F784FF for ; Sat, 20 Jul 2013 11:09:36 +0000 (UTC) (envelope-from trashcan@odo.in-berlin.de) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.60.26]) by mx1.freebsd.org (Postfix) with ESMTP id 02665D81 for ; Sat, 20 Jul 2013 11:09:35 +0000 (UTC) Received: from sulu.fritz.box (p3EE2F8CF.dip0.t-ipconnect.de [62.226.248.207]) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 3by5vM2PSyzLH6 for ; Sat, 20 Jul 2013 13:09:35 +0200 (CEST) From: Michael Grimm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: HOWTO monitor changes in installed packages within jails? Message-Id: Date: Sat, 20 Jul 2013 13:09:34 +0200 To: FreeBSD Questions Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 11:09:36 -0000 Hi -- I did migrate to pkgng some month ago, and ever since I am curious how = to monitor changes in installed packages within jails. I am looking for = a functionality/port that works like 490.status-pkg-changes for my host. Question: is there any functionality within the periodic system or a = port that I might have missed to find? Thanks in advance and with kind regards, Michael= From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 12:53:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 65DB7105 for ; Sat, 20 Jul 2013 12:53:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id ECF54CA for ; Sat, 20 Jul 2013 12:53:55 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r6KCrn1n060998 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 20 Jul 2013 13:53:50 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r6KCrn1n060998 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1374324830; bh=VfPiFpzbnHzPvPfhP52KHzLR4sru7eB80llWO517btE=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2020=20Jul=202013=2013:53:41=20+0100|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20HOWTO=20monitor=20changes=20in=20 installed=20packages=20within=20jails?|References:=20|In-Reply-To:=20; b=gyGiTkRSGohWZ7pzVnAhPVBEqAqnLAjonNYZJp+jOK0Ei5WMcueowFHSNgwy03/k5 lNNchE5v7xuDIpdioaMlWF9Lsqg1zdBxWddMpvTh0CUq8qLn7DOunRE5ZMouUmyz7F 3TBDSnEnUm82xoP279BsQiZ9Nws5FYJ4cM7X43hw= Message-ID: <51EA8855.7070109@infracaninophile.co.uk> Date: Sat, 20 Jul 2013 13:53:41 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: HOWTO monitor changes in installed packages within jails? References: In-Reply-To: X-Enigmail-Version: 1.5.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2EMWEAXMRBMTLDOVLKIOG" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL,SPF_HELO_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 12:53:56 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2EMWEAXMRBMTLDOVLKIOG Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 20/07/2013 12:09, Michael Grimm wrote: > I did migrate to pkgng some month ago, and ever since I am curious > how to monitor changes in installed packages within jails. I am > looking for a functionality/port that works like 490.status- > pkg-changes for my host. >=20 > Question: is there any functionality within the periodic system or a > port that I might have missed to find? You can't just run 490.status-pkg-changes directly in your jail? Try this patch: lucid-nonsense:/tmp:% diff -u 490.status-pkg-changes{.orig,} --- 490.status-pkg-changes.orig 2013-07-20 13:43:44.306303775 +0100 +++ 490.status-pkg-changes 2013-07-20 13:44:42.055327506 +0100 @@ -10,7 +10,7 @@ case "$daily_status_pkg_changes_enable" in [Yy][Ee][Ss]) - pkgcmd=3D/usr/local/sbin/pkg + pkgcmd=3D/usr/local/sbin/pkg $daily_status_pkg_changes_flags echo echo 'Changes in installed packages:' Then add something like the following to /etc/periodic.conf: daily_status_pkg_changes_flags=3D'-j jailname' Of course, this only lets you monitor changes in one jail at a time. You can cover more by copying the script and changing its name eg. sed -e 's/daily_status_pkg_changes/daily_status_pkg_changes2/g' \ < 490.status-pkg-changes > 490.status-pkg-changes2 Then add appropriate "daily_status_pkg_changes2_flags=3D'-j otherjail'" settings to periodic.conf Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk ------enig2EMWEAXMRBMTLDOVLKIOG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlHqiF0ACgkQ8Mjk52CukIwYvgCgjo+wLDfS9WLQrRJ1R5F5DxpG Sk4AnjIpFN1gkszZ9q+VCsocYhTyxdkM =oPHv -----END PGP SIGNATURE----- ------enig2EMWEAXMRBMTLDOVLKIOG-- From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 16:34:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B77FA948 for ; Sat, 20 Jul 2013 16:34:45 +0000 (UTC) (envelope-from trashcan@odo.in-berlin.de) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [91.121.60.26]) by mx1.freebsd.org (Postfix) with ESMTP id 859C9ACB for ; Sat, 20 Jul 2013 16:34:45 +0000 (UTC) Received: from sulu.fritz.box (p3EE2F8CF.dip0.t-ipconnect.de [62.226.248.207]) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 3byF6X3368zLQX for ; Sat, 20 Jul 2013 18:34:44 +0200 (CEST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: HOWTO monitor changes in installed packages within jails? From: Michael Grimm In-Reply-To: <51EA8855.7070109@infracaninophile.co.uk> Date: Sat, 20 Jul 2013 18:34:43 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <51EA8855.7070109@infracaninophile.co.uk> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 16:34:45 -0000 On 20.07.2013, at 14:53, Matthew Seaman = wrote: > On 20/07/2013 12:09, Michael Grimm wrote: >> I did migrate to pkgng some month ago, and ever since I am curious >> how to monitor changes in installed packages within jails. I am >> looking for a functionality/port that works like 490.status- >> pkg-changes for my host. >>=20 >> Question: is there any functionality within the periodic system or a >> port that I might have missed to find? >=20 > You can't just run 490.status-pkg-changes directly in your jail? Yes, I can ;-)=20 But! I do have a lot of service jails running at my host, thus I would = like to omit modifying every jail's /etc/periodic.conf adding: | daily_status_pkg_changes_enable=3D"YES" # Show package changes | pkg_info=3D"pkg info" # Use this program > Try this patch: Thanks for that approach, namely adding "pkg -j jailname info" for every = jail running. Due to my amount of jails I might need to add some looping = over "jls -N" output instead of adding a lot of = $daily_status_pkg_changes_flags. I was hoping that I could omit programming that functionality myself, = but I might need to do so. Thanks for your input and with kind regards, Michael From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 17:14:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F259933D for ; Sat, 20 Jul 2013 17:14:15 +0000 (UTC) (envelope-from frank2@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) by mx1.freebsd.org (Postfix) with ESMTP id 6715BBFD for ; Sat, 20 Jul 2013 17:14:15 +0000 (UTC) Received: from [10.0.0.40] (87.114.92.178.plusnet.thn-ag2.dyn.plus.net [87.114.92.178] (may be forged)) (authenticated bits=0) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id r6KHE7eU084606 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 20 Jul 2013 18:14:07 +0100 (BST) (envelope-from frank2@fjl.co.uk) Message-ID: <51EAC56C.4030801@fjl.co.uk> Date: Sat, 20 Jul 2013 18:14:20 +0100 From: Frank Leonhardt Organization: Frank Leonhardt User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: to gmirror or to ZFS References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: frank2@fjl.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 17:14:16 -0000 On 16/07/2013 20:48, Charles Swiger wrote: > Hi-- > > On Jul 16, 2013, at 11:27 AM, Johan Hendriks wrote: >>> Well, "don't do that". :-) >> When the server reboots because of a powerfailure at night, then it boots. >> Then it starts to rebuild the mirror on its own, and later the fsck kicks in. >> >> Not much i can do about it. >> >> Maybe i should have done it without the automatic attachment for a new device. > It's normally the case that getting a hot spare automatically attached should be > fine, but not if you also have the box go down entirely and need to fsck. > > I'm more used to needing to explicitly physically swap out a failed mirror component, > in which case one can make sure the system is OK before the replacement drive goes in. > Agreed. Blaming gmirror for this kind of thing overlooks the overall design and operating procedures of the system, and assuming ZFS would have been any better may be wishful thinking. I've had plenty of gmirror crashes over the years, and they have all been recoverable. One thing I never allow it to do is to rebuild automatically. That's something for a human to initiate once the problem has been identified, and if it's flaky power in the data centre the job is postponed until I'm satisfied it's not going to drop during the rebuild. IME, one power failure is normally followed by several more. It's worth noting, as a warning for anyone who hasn't been there, that the number of times a second drive in a RAID system fails during a rebuild is higher than would be expected. During a rebuild the remaining drives get thrashed, hot, and if they're on the edge, that's when they're going to go. And at the most inconvenient time. Okay - obvious when you think about it, but this tends to be too late. Regards, Frank. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 19:12:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6264BE38 for ; Sat, 20 Jul 2013 19:12:24 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6DCC5 for ; Sat, 20 Jul 2013 19:12:23 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1V0cZ5-0000YD-JY; Sat, 20 Jul 2013 20:11:35 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1V0cZj-000EY1-8F; Sat, 20 Jul 2013 19:12:15 +0000 Date: Sat, 20 Jul 2013 20:12:14 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: to gmirror or to ZFS Message-Id: <20130720201214.90206565e00675611996176d@sohara.org> In-Reply-To: <51EAC56C.4030801@fjl.co.uk> References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> <51EAC56C.4030801@fjl.co.uk> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.19; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: frank2@fjl.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 19:12:24 -0000 On Sat, 20 Jul 2013 18:14:20 +0100 Frank Leonhardt wrote: > It's worth noting, as a warning for anyone who hasn't been there, that > the number of times a second drive in a RAID system fails during a > rebuild is higher than would be expected. During a rebuild the remaining > drives get thrashed, hot, and if they're on the edge, that's when > they're going to go. And at the most inconvenient time. Okay - obvious > when you think about it, but this tends to be too late. Having the cabinet stuffed full of nominally identical drives bought at the same time from the same supplier tends to add to the probability that more than one drive is on the edge when one goes. It's a pity there are now only two manufacturers of spinning rust. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 19:17:19 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B1857EF6 for ; Sat, 20 Jul 2013 19:17:19 +0000 (UTC) (envelope-from signup-mc.us6_14035787.22889-questions=freebsd.org@mail3.mcsignup.com) Received: from mail3.mcsignup.com (mail3.mcsignup.com [173.231.184.51]) by mx1.freebsd.org (Postfix) with ESMTP id 727C2E3 for ; Sat, 20 Jul 2013 19:17:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=k1; d=mail3.mcsignup.com; h=Sender:From:To:Subject:Date:Content-Type:MIME-Version:Message-ID; i=signup-mc.us6_14035787.22889-questions=3Dfreebsd.org@mail3.mcsignup.com; bh=4BMRJSqxa3hs9o18XMGe/rU5w3o=; b=GbWYvo6O2XtsDKenPHVkkd3riB79CttZp7Bpp4aSUUNBro9dlNQ0JuQJIvOQCnY4TBJlCgHGeSv3 fTeZNsIYCd1YXeJyzwSV9jf3+9u8A70S7X24uwuf++899LogkqSHnE4nJJ54VwPjAOhXWCxNUOcm glvg9qHW16J1Eoy4FRE= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=k1; d=mail3.mcsignup.com; b=iibN21l1mnZYm2k52ANTWdy9ZVv7qprQGCkn3dCmhRd0PEYlXSEcIKMKiTh9wmwfQ0+vR3uIedFV UDLEOgo2HaWU0qgxSrmKQeKolH7V86qTHt2dmrZ6+Yj2GzXOeUnkd04HBXv9agEaVCQpE+NCnero dI8d+Fg5X/2QKzewSok=; Received: by mail3.mcsignup.com id htbg5m14i1se for ; Sat, 20 Jul 2013 18:54:09 +0000 (envelope-from ) Sender: signup-mc.us6_14035787.22889-questions=freebsd.org@mail3.mcsignup.com From: =?utf-8?Q?The=20merchant=20Solution?= To: =?utf-8?Q?questions=40freebsd.org?= Subject: themerchantsolutions.com: You are now unsubscribed Date: Sat, 20 Jul 2013 19:02:12 +0000 Content-Type: multipart/mixed; boundary="=_38428da003e9591319e2b7b7cfc70f1c" MIME-Version: 1.0 Message-ID: <0.0.1.5BB.1CE857A84528736.0@mail3.mcsignup.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 19:17:19 -0000 This is a message in Mime Format. If you see this, your mail reader does not support this format. --=_38428da003e9591319e2b7b7cfc70f1c Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ** We have removed your email address from our list. ------------------------------------------------------------ We're sorry to see you go. Was this a mistake? Did you forward one of our emails to a friend, and they clicked the unsubscribe link not realizing they were in fact unsubscribing you from this list? If this was a mistake, you can re-subscribe at: Subscribe (http://blogspot.us6.list-manage1.com/subscribe?u=37964f600b3d95d5cb34024a4&id=1bd9b49122) For questions or comments, please contact us at: cuttabi@gmail.com (mailto:cuttabi@gmail.com) --=_38428da003e9591319e2b7b7cfc70f1c-- From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 19:18:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 16386F90 for ; Sat, 20 Jul 2013 19:18:23 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com [IPv6:2607:f8b0:4002:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id C313AF3 for ; Sat, 20 Jul 2013 19:18:22 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id f10so1925248yha.39 for ; Sat, 20 Jul 2013 12:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:x-mailer:face :mime-version:content-type:content-transfer-encoding; bh=yAoELFUkOVlLWso/LuRfDta1R397epXNFAI7qMgQARw=; b=OST/5E76vAKheEcvGpS8krGu09CYnIWM4WzPxDoLGlAHSdNn85Dnf0oNCYUI8ixnJx 47X4UMz5Y/LIisrtdZgvus/hB9dh82sttZq1gn5xij/dZReKgTBkM2W3tQpEesE9yQEB aHjr4JJPsgiazqBo4/rlQPJSyE7id/4+Ym9tw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:reply-to:organization:x-mailer:face :mime-version:content-type:content-transfer-encoding :x-gm-message-state; bh=yAoELFUkOVlLWso/LuRfDta1R397epXNFAI7qMgQARw=; b=kM1bnvi2823V65gwgA7YDurpMMY28Hc/CpawnnO+Pm25iA2ujePaTxPCO2r3AStQXj /IkfKc/54VF6tv5oAblSkFQwirY45+LXuQU+LP7vZmWdta05L+G9bProuH0H48tpSt4y jJ0q3V7QaPdH53onIWCIISOldTKS/5BRFUkDPOmnqrNXkAnlEIlPCh5Lh/PnB4Xmtqd5 llQq1SqWBPV1KyjF33u+fKnrbXymKm4NT9EsASf1wR9IclRLBOLHzIi3vw6M8z87r9iR 3TwdHGqVpV6G8hazr58jFWRz56WUbkGKjCN4R0mMKolugFH+SeGaAd+R+pSC4CNbViQ/ fPYA== X-Received: by 10.236.38.6 with SMTP id z6mr11135489yha.230.1374347901857; Sat, 20 Jul 2013 12:18:21 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id b50sm29373082yhl.1.2013.07.20.12.18.20 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 20 Jul 2013 12:18:21 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3byJlJ0jfzz2CG4M for ; Sat, 20 Jul 2013 15:18:20 -0400 (EDT) Date: Sat, 20 Jul 2013 15:18:19 -0400 From: Jerry To: FreeBSD Subject: Convert flat PDF to interactive PDF Message-ID: <20130720151819.7a1fec15@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQnGBo7GEhsUPPhZZIF2kVC912YQD6/g9xElO6S9yr2km1g9Xuzatsbb78a8VP6KV4efvtmW X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 19:18:23 -0000 I am looking for an application that can convert a standard "flat" PDF file into an "interactive" PDF. I can locate several that work under MS Windows, including Acrobat XI; however, I was trying to find one that will work under KDE on FreeBSD. -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Sat Jul 20 20:26:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E6C33695 for ; Sat, 20 Jul 2013 20:26:40 +0000 (UTC) (envelope-from feenberg@nber.org) Received: from mail2.nber.org (mail2.nber.org [66.251.72.79]) by mx1.freebsd.org (Postfix) with ESMTP id 8D484286 for ; Sat, 20 Jul 2013 20:26:40 +0000 (UTC) Received: from nber6 (nber6.nber.org [66.251.72.76]) by mail2.nber.org (8.14.4/8.14.4) with ESMTP id r6KKNtm0057534; Sat, 20 Jul 2013 16:23:55 -0400 (EDT) (envelope-from feenberg@nber.org) Date: Sat, 20 Jul 2013 16:07:40 -0400 (EDT) From: Daniel Feenberg X-X-Sender: feenberg@nber6 To: "Steve O'Hara-Smith" Subject: Re: to gmirror or to ZFS In-Reply-To: <20130720201214.90206565e00675611996176d@sohara.org> Message-ID: References: <4DFBC539-3CCC-4B9B-AB62-7BB846F18530@gmail.com> <976836C5-F790-4D55-A80C-5944E8BC2575@gmail.com> <51E51558.50302@ShaneWare.Biz> <51E52190.7020008@fjl.co.uk> <6CE5718E-2646-4D8C-AF98-37384B8851C5@mac.com> <51EAC56C.4030801@fjl.co.uk> <20130720201214.90206565e00675611996176d@sohara.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Anti-Virus: Kaspersky Anti-Virus for Linux Mail Server 5.6.39/RELEASE, bases: 20130720 #10639694, check: 20130720 clean Cc: frank2@fjl.co.uk, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jul 2013 20:26:41 -0000 On Sat, 20 Jul 2013, Steve O'Hara-Smith wrote: > On Sat, 20 Jul 2013 18:14:20 +0100 > Frank Leonhardt wrote: > >> It's worth noting, as a warning for anyone who hasn't been there, that >> the number of times a second drive in a RAID system fails during a >> rebuild is higher than would be expected. During a rebuild the remaining >> drives get thrashed, hot, and if they're on the edge, that's when >> they're going to go. And at the most inconvenient time. Okay - obvious >> when you think about it, but this tends to be too late. > > Having the cabinet stuffed full of nominally identical drives > bought at the same time from the same supplier tends to add to the > probability that more than one drive is on the edge when one goes. It's a > pity there are now only two manufacturers of spinning rust. Often this is presummed to be the reason for double failures close in time, also common mode failures such as environment, a defective power supply or excess voltage can be blamed. I have to think that the most common "cause" for a second failure soon after the first is that a failed drive often isn't detected until a particular sector is read or written. Since the resilvering reads and writes every sector on multiple disks, including unused sectors, it can "detect" latent problems that may have existed since the drive was new but which haven't been used for data yet, or have gone bad since the last write, but haven't been read since. The ZFS scrub processes only sectors with data, so it provides only partial protection against double failures. Daniel Feenberg NBER > > -- > Steve O'Hara-Smith > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >